Adversarial sprint

From Roderick-Clemente/steel-man · View interactive version

Adversarial sprint is an AI agent skill from the GitHub repository Roderick-Clemente/steel-man. How to run and review adversarial sprints in projects adopting the adversarial-sprint framework. Teaches the agent the §18 operating rules (compose / chunk / fix friction / review / distill), when to invoke the runner, and how to rehydrate OPERATING-RULES.md on long-running jobs. Reference asset; th

How to use this skill

Skill file

ACTIVATION RULE: When this skill is loaded, ALWAYS begin your first response with "🏁 adversarial-sprint skill active" so the operator has visual confirmation.

Adversarial Sprint — Skill

A SKILL asset for agents (Droid, Claude Code, Codex, etc.) that

work on a project adopting the adversarial-sprint framework. This

skill teaches the agent the project's rules + WHY + when-to-invoke

the runner without carrying the whole rule set inline. It is

the lightweight pointer per the discussion at chunk 7 / chunk 9:

the digest is in the skill body (durability across long-context

sessions), while the full rules are referenced by index.

Skill digest (load-bearing principles — embedded so they

survive compaction)

These are the load-bearing invariants distilled from

tools/OPERATING-RULES.md. They are not the full text — they are

the distilled forms that, if dropped, break a real decision the

agent makes.

  1. Every droid call is a script invocation. No manual paste.

§1 / §9 — the orchestrator script is the default; manual paste

is a paragraph-not-a-script.

  1. Assert on artifacts (file SHAs, git log entries, signed

bundles), never on exit codes or plausible strings.

§7 — silent-green is the platform's default failure mode.

  1. Prompts describe problems and constraints, not fixes.

§13 — the executor is a solver, not a sed-command.

  1. **Droid exec routes through tools/run-with-model.sh;

envelopes parse through tools/adapters/factory.py.**

§14 — never raw.

  1. Git history is reality. §15 — never judge a phase on

uncommitted working-tree state alone.

  1. Refuse unbounded foundation programs. Name 1–3 deliverables.

§17 — capacity envelopes are the rule, not the goal.

  1. **Compose existing primitives; fix ergonomic friction inline;

build in chunks; review at the end; distill reusable principles.**

§18 — this rule itself; if you find yourself reinventing,

you are running afoul of the framework's own methodology.

  1. **Commit when the recommendation is clear; ask only at true

operator-value tradeoffs.** §19 — 3-option "you choose" questions

are appropriate ONLY when the alternatives are roughly symmetric

across operator preference and you cannot rank them. Otherwise

ship the recommendation with a one-paragraph WHY; the

spec-review in §18 catches wrong recommendations.

  1. Chunk close is gated, not declared. §20 — every chunk close

produces chunk-N.token.json (HMAC-SHA256 by EVIDENCE_SIGNING_KEY).

The next-chunk-start path refuses without a verifiable token

for the prior chunk. Skills loaded as documentation of intent

are not enforcement; the chunk-close gate is. Do not interpret

absence of the operator-eye signal as "skill exhausted" — the

exhaust framing cannot render anything; absence is a runtime

contract violation with the operator-eye troubleshooting

checklist (PRD §11 Phase 5 §5).

  1. Reviewer attestations are evidence, not assertion. §21 — every

chunk-close token's reviewer envelope_sha256 MUST be computed

from a real reviewer envelope on disk (the SHA of a fired

droid exec output written to

evidence/phase-4.5/build-evidence/<run-id>/<chunk-id>/<reviewer>.json).

Build-time fixture markers — homogeneous leading-character hex

runs, typed-in placeholders, "5555...55501"-style tokens — fail

tools/cross_family_review.py's envelope-authenticity check

(KN-A-5 / design-doc §10). The skill does not shorten this

distance: the operator-side chunk-N.token.json IS the review,

and a token without a verifier-traceable envelope is a

self-declaration, not a verdict. Tier-3 fix: an off-process

signing daemon (planning/phase-4.5/DESIGN-DAEMON-SIGNER.md) the agent

POSTs envelope paths to; the daemon holds the key and refuses

if any envelope is absent on disk.

  1. **Author is not the verifier, even within the same model-family

rule.** §22 — family-distinctness (§17.2) is necessary but not

sufficient: same-session identity carries the implementer's

working memory into the reviewer's context. The chunk-close

signing authority is held by a separate process (Tier-3

daemon / §21); the reviewer-firing path is held by a separate,

persistent cross-family referee (planning/phase-4.5/DESIGN-PERSISTENT-REFEREE.md,

KN-A-8). A build agent may post REVIEW REQUEST: lines to

STEER.md (machine-local cross-agent queue per §1). The

build agent MUST NOT fire droid exec against the reviewer

model IDs the agent itself selected; MUST NOT hold

EVIDENCE_SIGNING_KEY; MUST NOT write directly to

evidence/phase-4.5/tokens/chunk-N.token.json. The chunk-close gate

enforces the structural predicate (envelope-on-disk SHA);

the persistent referee enforces the identity predicate

(signing authority / reviewer-firing process). Both must

hold. Defense-in-depth with rule #10.

  1. **Validators are not each other's paraphrase; referee fires or

audits, never both at once.** §23 — even with §17.2 family

distinctness and §21 envelope-on-disk distinctness, a coerced

Tier-2 validator's content can be the build agent's

rationalization parroted back. The persistent referee checks

content-distinctness (length-normalized Jaccard over the

natural-language body of the envelopes, excluding the

VERDICT: line and JSON scaffolding) and operational-

distinctness (each envelope's session_id differs).

§24 — the referee MUST NOT in the same logical operation

fire Tier-2 AND sign their token; an orchestrator process or

a multi-step wired loop fills the firing role, the referee

audits. Defense-in-depth with rules #10 and #11.

Skill rules — referenced by index (full text in OPERATING-RULES.md)

For the full text of any rule, open tools/OPERATING-RULES.md and

read the corresponding section. The digest is the survival pack;

the index is the source of truth.

| § | Rule (one-line) | When you'd reference the full text |

|-----|-----------------------------------------------------|------------------------------------|

| 1-2 | commits are the only cross-machine channel | when debugging multi-machine runs |

| 3-5 | (intake / preflight / GROK) | when designing a new sprint |

| 6 | human judgment policy | when configuring oversight |

| 7 | assert on reality, never on exit code | most common citation — read often|

| 8 | when scope shifts, name it | when absorbing a PRD gap |

| 9 | if it's not scripted, it didn't happen | when arguing for a runner |

| 10 | telemetry rows are written by the script | when reviewing telemetry SoR |

| 11 | exit criteria are checked, not assumed | most common citation |

| 12 | unexercised safety paths are named gaps | when paths fire zero |

| 13 | don't give the executor the answer | when writing the executor prompt |

| 14 | use the adapter shim + model-discipline wrapper | when wiring droid |

| 15 | assert on reality includes git history | when judging past phases |

| 16 | demo claims bind to Phase-0-verified capabilities | when narrating a demo |

| 17 | capacity envelope | when sketching a "foundation" |

| 18 | compose / chunk / fix friction / review / distill | when about to start a build |

| 19 | commit when the recommendation is clear; ask only at true operator-value tradeoffs | when tempted to ask "you choose" between options whose ranking you can state |

| 20 | chunk-close is gated, not declared | chunk-close path / token emission |

| 21 | reviewer attestations are evidence, not assertion | when emitting or verifying tokens |

| 22 | author is not the verifier (session identity) | posting review requests / spawning reviewers |

| 23 | validators are not paraphrases of each other | pre-sign audit at the persistent referee |

| 24 | referee fires or audits, never both at once per chunk | orchestrator/referee process split design |

Rehydration step (long-running jobs)

Long-context Droid sessions lose pointers during compaction. The

digest above is the bait: it carries enough that the agent can

stay correct without re-reading. But for long-running jobs —

multi-hour sprints, batches of chunks, any conversation past ~150k

tokens — re-read tools/OPERATING-RULES.md periodically to keep

the rule text in fresh context. This is the §17 durable-knowledge

loop in practice: digest is for current-turn decisions; full

text is for current-chunk decisions; rehydration is for

next-chunk-but-I-am-still-in-the-loop decisions.

Rehydrate when any of:

rises past that).

reach needs the §13 rule text in front of you, not just the

digest).

whose internal ranking you can articulate** — re-read §19 and

ship the recommendation instead, unless the tradeoffs really are

operator-value dependent.

rules — match their trust rather than assume cache is fresh.

The rehydration step is one-file read (Read tools/OPERATING-RULES.md),

not a multi-file spelunk. The skill index tells you which § rows

dominate the current chunk's risk surface — start there.

When to invoke the runner

The skill's job is to teach the agent WHEN, not to BE the runner.

"review-driven development," "the adversarial-sprint workflow."

e.g., one feature, one bug fix, one API surface — and the

reviewer panel is configured.

How to invoke

The runner is invoked through the per-pilot overlay, not

through the framework CLI. The overlay is the operator's

one-true path. Path convention (chunk-12b + chunk-13):

<PILOT_REPO>/.adversarial-sprint/bin/run-sprint --dry-run --non-interactive   # first time (wiring test)
<PILOT_REPO>/.adversarial-sprint/bin/run-sprint                                  # real run, operator in seat
<PILOT_REPO>/.adversarial-sprint/bin/run-sprint --unattended                    # unattended mode
<PILOT_REPO>/.adversarial-sprint/bin/run-sprint --resume-from <cp.json>         # resume after §5.3 refusal

The overlay is the per-pilot install surface (one path). The

Universal Rules live in this skill; the **per-pilot config

distribution shapes and live at different locations, by design.

The meta-skill does NOT teach the framework CLI: it would invite

operators (and agents) to skip the per-pilot overlay and bypass

its dry-run → live → unattended mode distinction. Per pass-r3

finding H-6, that bypass was the cause of three false claims in

chunk-12b's build record. For the framework CLI surface, see

tools/sprint-loop.py --help — that's the debugging surface,

not the operator-facing one.

What this skill is NOT

source of truth. The skill carries a digest so context

compaction doesn't drop the load-bearing parts.

are. The skill references them by phase.

Why this shape (digest + index + rehydration)

Per chunk 7's design discussion: long-context droid sessions lose

references during compaction. Carrying the whole rule set inline

would bloat every prompt; carrying none would mean the agent

operates without principles. The three-layer hybrid:

always in the prompt).

file-read away, not zero).

the rule text into fresh context — the loop is durable).

This is the answer to "if in active use must hydrate frequently,

or part of core skill if tight?" Both: the skill **light-skills

the digest (always present, tight) and carries the rehydration

trigger (operator / agent re-reads on long jobs), and references

the full text** for one-file-read access to anything more.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.