Repository navigation
v0.0.5 — MAGI interactive-only contract
v0.0.5 — MAGI interactive-only contract
Documents /magi:magi as an interactive-only Claude Code skill in the SBTDD references and forbids headless invocation via claude -p captured-pipe subprocess. Addresses the MAGI-Hang Windows stdio-chain incident by ensuring future runtimes read an explicit contract before invoking the review gate.
What's new
- New §7 "MAGI Invocation Contract" in
skills/sbtdd/references/review-gates.md. Self-contained: names the forbidden transport (claude -p "/magi:magi …"), enumerates the Windows failure mechanisms (pipe-buffer deadlock,asyncio.ProactorEventLoophang oncreate_subprocess_execunder inherited non-TTY stdin, stdin reads against closed pipes), and lists the two supported alternatives (interactive handoff; directmagi-runnerCLI invocation if/when published). interactive-onlypointers at 6 documentation surfaces so a reader entering at any entry point encounters the contract before building a headless dispatcher:SKILL.mddelegation-table Plan-gate row + Pre-merge review row + §4 Gates blockquotereferences/routing.mdplan-gate row Action cellreferences/review-gates.md§0 Plan Gate + §4 Final Gate blockquotesREADME.mdphase table
- 5 new presence/lint tests plus Loop 1/Loop 2 hardenings:
- §7 polarity guard — no line presents
claude -pco-located withpermitted/acceptable/now allowed/is supported/no longer applies - Supported-alternative bullet anchors (
- **Interactive handoff.**,- **Direct runner invocation.**) - §0/§4 first-line header cross-check (
Plan Gate/Final Gate) guarding against silent wrong-section matches - SKILL.md per-surface row anchors with
>=2count fallback
- §7 polarity guard — no line presents
- Tightened
.gitignorefrom a broaddocs/MAGI-Hang*pattern to explicit filenames (docs/MAGI-Hang.txt,docs/MAGI-Hang-Handoff.md), so future tracked post-mortems aren't silently hidden.
Quality gates
pytest51/51 passing- Loop 1 (
superpowers:requesting-code-review) clean-to-go after 3refactor:mini-cycles - Loop 2 (
magi:magiinteractive gate) verdict GO WITH CAVEATS (3-0) — all Caspar conditions applied as low-risk doc/test fixes perCLAUDE.local.md§6
Scope
This release is documentation only. The MAGI-Hang runtime fix itself lands in a separate SBTDD-runtime repository; the contract here ensures any future headless runtime reads the prohibition before invoking the review gate.
Install
/plugin install BolivarTech/SBTDD@v0.0.5