用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/nirecom/agents --skill sweep-supervisor-state命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Edit source code for the current task. Delegates editing and lint/typecheck/self-repair to a subagent.
Plan and write test cases with high reasoning effort. Test iteration runs in a subagent to minimize confirmations.
Conduct a decision-tree interview with the user to lock in requirements, motivation, scope, and non-goals before planning.
| name | sweep-supervisor-state |
| description | Remove test-contamination records from supervisor state files |
| user-invocable | true |
| model | sonnet |
| context | fork |
Remove the escape-hatch records that leaking test suites wrote into real supervisor state files under ~/.workflow-plans/.
Invoke bin/sweep-supervisor-state.sh with forwarded arguments.
Nothing is written unless --apply is passed — this member of the /sweep family is deliberately non-destructive by default, because it edits a governance audit trail rather than a regenerable derivative.
| Flag | Effect |
|---|---|
--apply | Write the changes; the pre-modification files and a manifest.json are copied to a timestamped backup directory first. |
--ci-mode | Emit a single-line JSON summary instead of prose. |
--list-signatures | Print the reason allowlist and exit. |
--session <SID> | Narrow the target set to one session. |
Run after a test suite is found writing into the live plans dir, or when bin/check-plans-dir-isolation.sh reports W-candidates that already ran.
Preview with a flagless run first, confirm the reported records are test fixtures, then re-run with --apply.
Sessions still in flight (alert_phase=pending, audit_phase pending or in progress, updated within 24h, or the current session) are always skipped. There is no override flag; --session narrows the target set but never relaxes the guard.
基于 SOC 职业分类