Repository navigation
fix(gates): scaffold-symbols in the report shape; the main-tree reviewer gets its contract (run 19) - #32
Merged
Conversation
…wer gets its contract; run 19
Live run 19 (run-18 fixes): 13/13, 15m24s, $1.01, 1 supervisor wake, 3 host-run
blocks, and run 18's two block classes did not recur. The remaining two:
- gate-scaffold-verify read `.aladdin/scaffold-symbols` lines written in the
"### Scaffold" report shape ("+ create fn crate::count_words @ src/lib.rs") and
took `create` as a symbol, "defined 0 times" twice (also once in run 18). Markers,
verbs and keywords are skipped, a crate path is reduced to its name (ctx-symbols
counts by name), and a zero-count block names the file's expected shape. Two new
conformance cases; `case()` checks must_say against every line on an accept.
- The structural reviewer was dispatched without a worktree and its self-check found
no contract in the main tree. `budget hook` copies the contract into the main
tree's marker dir for an observed role with no worktree and removes it at stop.
budget-roles test case 7 (7/7).
- symbol_count's grep fallback printed "0\n0" under pipefail on a no-match, so the
block text broke mid-sentence on hosts without ctx-symbols (found by the
fallback-mode conformance run); it prints one number.
ROADMAP M0.8 records run 19; OVERVIEW and CHANGELOG updated. make ci: 60/60, also
60/60 in CI fallback mode.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
adeelahmad
pushed a commit
that referenced
this pull request
Oct 18, 2026
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: live run 19 (on #29's fixes) passed 13/13 in 15m24s for $1.01 with one supervisor wake, and run 18's two block classes did not recur. Three host-run blocks remained: the scaffolder wrote its
### Scaffoldreport shape (+ create fn crate::count_words @ src/lib.rs) into.aladdin/scaffold-symbolsand the gate readcreateas a symbol "defined 0 times" twice (once in run 18 too); the structural reviewer was dispatched without a worktree and its ownselfcheckfound no contract in the main tree ("STORY_DIR unset"). On hosts withoutctx-symbols, the grep fallback printed a second0underpipefail, so that block's text broke mid-sentence.After:
gate-scaffold-verifyskips markers, verbs and keywords, reduces a crate path to its name, and a zero-count block names the file's expected shape.budget hookcopies the contract into the main tree's marker dir for an observed role with no worktree and removes it when that agent stops.symbol_count's fallback prints one number. ROADMAP M0.8 records run 19; OVERVIEW and CHANGELOG updated.How: test-first. Two new conformance cases (the report-shape file is accepted with exactly one symbol; an undefined symbol is still rejected with the shape hint), with
case()now checkingmust_sayagainst every line on an accept; budget-roles test case 7 (main-tree copy written on pre, removed on stop).make ci: 60/60, and 60/60 again in CI fallback mode (noctx-symbolson PATH).Generated by Claude Code