Skip to content

Widen the recorded-gate-lifecycle build-count bar past strict 1/1 - #732

Merged
clkao merged 1 commit into
spacedock-ensign/filing-recognizer-newline-terminatorfrom
spacedock-ensign/decide-dispatch-build-count-bar
Aug 18, 2026
Merged

Widen the recorded-gate-lifecycle build-count bar past strict 1/1#732
clkao merged 1 commit into
spacedock-ensign/filing-recognizer-newline-terminatorfrom
spacedock-ensign/decide-dispatch-build-count-bar

Conversation

@clkao

@clkao clkao commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

An agent that corrected a bad dispatch build was graded as if it had flailed. This stops the recorded-gate-lifecycle journey from punishing a single corrective rebuild.

What changed

  • Replace the strict one-build check with a corrective-rebuild rule.
  • Record per-attempt build commands and outcomes instead of two counters.
  • Retain each begin/exit pair in the live observation loop.
  • Add a seven-row table pinning both real occurrences and five controls.

Evidence

  • go test ./internal/ensigncycle/... -race: full package passed; 7/7 build-count rows correct.
  • Adversarial matrix: 12/12 shapes graded correctly; waste, flailing, and final failure all stay red.

6ht

Two live occurrences (claude run 32105482382: --stamp then reconsidered
--bare-mode; codex run 30754109029: identical command, exit 1 then 0) were
benign self-corrections that the strict 1/1 assertion misgraded red.
recordedGateBuildAttemptsAcceptable now tolerates exactly one corrective
rebuild — last attempt succeeded and it corrects the one before it, either
because that one failed or its command differed — while an identical
successful rebuild, three-plus attempts, and a final failed attempt still
grade red. Adds a table-driven unit test replaying the ideation spike's
seven shapes (both real occurrences plus five control shapes) and two new
positive log-mutation controls in the real-CLI-replay integration test.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant