docs(claude): foxhunt agents & skills rollout — phase 1 close-out

Phase 1 of the foxhunt specialized agents/skills rollout is complete: 14
commits, 5 auditor agents, 7 workflow/maintenance skills, 2 helper scripts,
warn-only PostToolUse hook router. All 8 acceptance criteria from the spec
verified. Hook latency 11-13 ms per call (target <200 ms). Memory-write
invariant held: only pearl-distiller and memory-curator are authorized
writers, no agent-driven memory edits during rollout.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-05-10 21:04:54 +02:00
parent 7f065e4d02
commit fb01906ddc

View File

@@ -0,0 +1,37 @@
# Foxhunt Specialized Agents — Rollout Close-out
**Date:** 2026-05-10
**Branch:** sp15-trader-discipline-recovery
**Plan:** `docs/superpowers/plans/2026-05-10-foxhunt-specialized-agents.md`
## What was built (Tasks 113, 14 commits)
### Infrastructure
- `.claude/helpers/foxhunt-audit-router.sh` — warn-only PostToolUse hook router (~13 ms per invocation, deduped via state file)
- `.claude/helpers/foxhunt-audit-session-start.sh` — session-start banner
- `.claude/settings.json` — additive merge: preserved all claude-flow hooks, added foxhunt PostToolUse + SessionStart hooks
- `.claude/.foxhunt-audit-state` — dedup state file (gitignored)
### 5 Agents (`/.claude/agents/foxhunt/`)
| Agent | Fires on |
|-------|----------|
| `gpu-contract-auditor` | `*.cu`, `build.rs` in CUDA crates |
| `isv-discipline-auditor` | `isv_slots.rs`, `sp*_isv*.rs` |
| `reward-controller-auditor` | `experience_kernels.cu`, reward-related paths |
| `code-hygiene-auditor` | General crate `.rs` files |
| `sp-critical-reviewer` | Specs + plans under `docs/superpowers/` |
### 7 Skills (`/.claude/skills/foxhunt/`)
`sp-spec-writer`, `isv-slot-scaffolder`, `pearl-distiller`, `argo-deploy-helper`, `smoke-pilot`, `memory-curator`, `stale-worktree-cleaner`
## Acceptance results (Task 14)
All 8 acceptance steps passed:
- Hook router: 1113 ms per call (well under 200 ms target)
- All 9 routing rules fire correct agent or emit empty output
- 5 agent YAML files valid, names match
- 7 skill YAML files valid, names match
- Memory directory untouched (invariant held)
- `settings.json` additive merge verified
- State file gitignored, working tree clean (only pre-existing `.claude/scheduled_tasks.lock` modified)
- 14 commits, 5 agents, 7 skills, 2 helper scripts — all present and executable