8000 fix(gates): scaffold-symbols in the report shape; the main-tree reviewer gets its contract (run 19) by adeelahmad · Pull Request #32 · adeelahmad/aloop · GitHub
[go: up one dir, main page]

Skip to content

fix(gates): scaffold-symbols in the report shape; the main-tree reviewer gets its contract (run 19) - #32

Merged
adeelahmad merged 2 commits into
masterfrom
claude/project-thread-qerfr9
Oct 18, 2026
Merged

adeelahmad merged 2 commits into
masterfrom
claude/project-thread-qerfr9

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

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 ### Scaffold report shape (+ create fn crate::count_words @ src/lib.rs) into .aladdin/scaffold-symbols and the gate read create as a symbol "defined 0 times" twice (once in run 18 too); the structural reviewer was dispatched without a worktree and its own selfcheck found no contract in the main tree ("STORY_DIR unset"). On hosts without ctx-symbols, the grep fallback printed a second 0 under pipefail, so that block's text broke mid-sentence.

After: gate-scaffold-verify skips markers, verbs and keywords, reduces a crate path to its name, and a zero-count block names the file's expected shape. budget hook copies 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 checking must_say against 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 (no ctx-symbols on PATH).


Generated by Claude Code

…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
adeelahmad merged commit d485ed0 into master Oct 18, 2026
4 checks passed
adeelahmad pushed a commit that referenced this pull request Oct 18, 2026
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.

2 participants

0