mirror of
https://github.com/obra/superpowers.git
synced 2026-07-23 10:44:01 +08:00
Responds to maintainer review of this branch: the dispatch-hint lines were hardcoded Codex strings inside shared skill tooling that every harness runs. The per-role hint lines now live in a platform-owned data file, skills/using-superpowers/references/codex-dispatch.hints, and the task-brief/review-package scripts only relay the current role's line. The relay is suppressed when CLAUDECODE is set (Claude Code's dispatch templates already carry model selection) and on any harness with no hints file; unknown harnesses fail toward printing, because a silent no-op in the environment that needs the hint is the failure mode this mechanism exists to prevent. Printing at the moment of dispatch is load-bearing: skill text loaded at session start does not survive context compaction, but script output reprints every round. codex-tools.md's SDD dispatch section shrinks to the behavioral rules (fork_turns: "none" always; copy the printed hint verbatim; reviewer tier never exceeds implementer tier; no effort bumps; the <=0.144 inheritance fallback) and points at the hints file for values. Tests cover the relay path, the per-role efforts, and the new CLAUDECODE suppression case. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
12 lines
836 B
Plaintext
12 lines
836 B
Plaintext
# Per-role dispatch lines for Codex spawn_agent, relayed by the
|
|
# subagent-driven-development task-brief and review-package scripts at the
|
|
# moment of dispatch (skill text loaded at session start does not survive
|
|
# context compaction; these lines reprint every round).
|
|
# Model names track Codex's spawn_agent allowlist (currently gpt-5.6-sol
|
|
# and gpt-5.6-terra) — update this file when the allowlist changes.
|
|
# Format: <role>: <line printed verbatim>
|
|
implementer: dispatch (spawn_agent): fork_turns=none model=gpt-5.6-terra reasoning_effort=high
|
|
task-review: dispatch (spawn_agent): fork_turns=none model=gpt-5.6-terra reasoning_effort=high
|
|
fix-review: dispatch (spawn_agent): fork_turns=none model=gpt-5.6-terra reasoning_effort=medium
|
|
final-review: dispatch (spawn_agent): fork_turns=none model=gpt-5.6-terra reasoning_effort=high
|