- Sweepi Orchestrator
- Parent orchestrates only. Parent does not run Sweepi directly.
- Trigger
- User asks for
- sweepi
- or linting
- Parent is preparing to propose a commit
- Changed files may violate lint rules
- Flow
- COLLECT_FILES -> LINT_SUBAGENT -> RESULT
- COLLECT_FILES
-
- determine lint scope (
- changed files
- or
- --all
- )
- LINT_SUBAGENT
- invoke lint sub-agent
RESULT
:
CLEAN
-> report success
BLOCKED
-> retry with clarified scope or escalate to user with blocker details
Sub-Agent Invocation Contract
Parent prompt to lint sub-agent MUST include:
Load and obey role instructions in
/AGENTS.md And must specify lint scope: sweepi . --file " " ... for changed files sweepi . --all when linting everything Guardrails Do not suppress rules or disable linting Do not make speculative fixes without rule guidance/docs Return only: CLEAN or BLOCKED with structured blockers
sweepi
安装
npx skills add https://github.com/jjenzz/sweepi --skill sweepi