Repository navigation
fix(e2e-live): Claude's prompt back on stdin; final-gate persona defers to the gate's suppression check (run 22) - #40
Merged
Conversation
…rs to the gate's suppression check (run 22) e2e-live.sh (#38) passed the Claude prompt as an argument after --allowedTools, which takes every following word, so `claude -p` got no prompt and exited in 2s ("Input must be provided"). The prompt goes on stdin again; --dry-run says so (test: e2e-live-hosts). Live run 22 (wordfreq, 361f8d7): 13/13, 16m18s, $1.14, 2 wakes, 0 plugin reads, 3 blocks. The final-gate persona failed the sprint on RED's #![allow(dead_code)] in tests/common/mod.rs by its own open-ended grep, costing a GREEN re-dispatch. The persona now names exactly assert_no_suppression's patterns and defers to `selfcheck final-gate` (test: suppression-contract.test.py; eval final-gate #4). Ledger, ROADMAP M0.8, TRACKING, CHANGELOG. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
adeelahmad
pushed a commit
that referenced
this pull request
Oct 18, 2026
…s run 23 The other thread's run 22 (wordfreq before the gate: $1.14, 16m18s, 3 blocks) landed first; both rows are kept and the comparison now reads against it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014j4wLin3oJTtnvjE9Lq2VV
This was referenced Oct 18, 2026
adeelahmad
pushed a commit
that referenced
this pull request
Oct 18, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
adeelahmad
pushed a commit
that referenced
this pull request
Oct 18, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Adeel · project thread
Before: since #38,
make e2e-live YES=1on Claude Code exits in 2 seconds with "Input must be provided": the prompt was passed after--allowedTools, which takes every following word as a tool name. Separately, live run 22 showed the final-gate persona failing a sprint on#[allow(dead_code)]intests/common/mod.rs, a pattern the deterministic gate accepts, which cost a second GREEN dispatch and a final-gate retry.After: the Claude prompt goes on stdin again (
--dry-runprintsprompt: stdin). The final-gate persona names exactlyassert_no_suppression's patterns, defers toselfcheck final-gate, and says a dead-code allow in shared test helpers is not a suppression.How: both fixes test-first.
e2e-live-hosts.test.pynow asserts the Claude command carries no prompt argument. The newsuppression-contract.test.pyparses the gate's pattern list from_gatelib.shand fails if the persona drifts from it. A final-gate eval case covers run 22's situation. Run 22 is recorded in the evidence ledger and ROADMAP M0.8 (13/13, 16m18s, $1.14, 2 wakes, 0 plugin reads, 3 blocks). TRACKING and CHANGELOG are updated.make ciis green locally. Live run 23 (wordfreq under the model gate) is running on this head.Generated by Claude Code