hitl-side-effects
Skill2 starsChanged 4 months agoMITView on GitHub
Add human-in-the-loop gates for irreversible actions: LangGraph interrupt_before, AegisAI approval queue, UI approve/resume endpoints. Use when shipping, publishing, notifying, or merging agent-generated changes.
Files
HITL for Side Effects
LangGraph pattern
graph.compile(checkpointer=MemorySaver(), interrupt_before=["hitl"])
# First invoke stops before hitl node
# After human approval:
await graph.ainvoke({"hitl_approved": True}, config)AegisAI pattern
POST /api/gateway/tool-request→pending|approved|denied- UI polls or webhook; agent resumes on approval
Content Factory
- Draft → review queue → human edit → publish (gateway-wrapped)
LoopForge repo-fix
interrupt_before=["hitl"]before push/PR whencreate_pr=truePOST /api/repo-fix/{run_id}/approveresumes graph
UX requirements
- Show what will happen (diff, channel, recipient)
- Show why agent chose this action (trace excerpt)
- Approve / Reject / Edit-and-approve
Never
- Auto-approve production side effects without explicit env flag
- Skip audit log on approval/denial
Other versions4 projects use a version of this.
Word for word · 4
- vpeetla-ai/aegisai-enterprise-agent-platform★ 2100% same
- vpeetla-ai/multi-agent-system-pattern★ 2100% same
- vpeetla-ai/reflection-agent-pattern★ 2100% same
- vpeetla-ai/swarm-agent-pattern★ 2100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- aegis-gatewaySkill
- agentic-engineeringSkill
- deploy-vercel-renderSkill
- governed-ai-stackSkill
- grill-with-contextSkill
- langgraph-orchestrationSkill
- loop-engineeringSkill
- portfolio-adrSkill
- rag-governanceSkill
- repo-fix-prSkill
- setup-vpeetla-skillsSkill
- tdd-agent-loopsSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

