8000 Count self-check catches apart; order worker finish as block, commit, selfcheck by adeelahmad · Pull Request #46 · adeelahmad/aloop · GitHub
[go: up one dir, main page]

Skip to content

Count self-check catches apart; order worker finish as block, commit, selfcheck - #46

Merged
adeelahmad merged 1 commit into
masterfrom
claude/project-thread-vm6wyr
Oct 18, 2026
Merged

adeelahmad merged 1 commit into
masterfrom
claude/project-thread-vm6wyr

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Before: run-summary counted every exit: 2 line in gates.jsonl as a gate block. That included a worker's own selfcheck run, which never reaches the supervisor. Run 27 reported 3 blocks, but all 3 were self-check catches. Two of them came from scaffolders that ran selfcheck before committing, because the worker prompts put "commit" and "block first, then selfcheck" in two separate sentences.

After: summary.json gains selfcheck_blocks, and the summary prints "N blocks, M caught by the worker's own self-check". The ledger's gate-blocks column is unchanged, so rows stay comparable. The RED, GREEN and SCAFFOLD prompts now give the finish order in one sentence: append the block, commit, then run selfcheck.

How: run-summary parses each verdict line as JSON. I also added a test in evidence.test.py and a prompt-order check in dispatch.test.py (14 checks). Re-running run-summary on run 27's directory gives 3 blocks, all 3 self-check catches. Local checks pass: test-hosts, conformance 63/63, site, check-tracking and plugin validate --strict.


Generated by Claude Code

…mit, selfcheck

All 3 of live run 27's gate blocks were workers' own selfcheck runs (two
scaffolders before committing), which never reach the supervisor.
run-summary now reports them as selfcheck_blocks, and the RED/GREEN/SCAFFOLD
prompts state the finish order in one sentence.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014j4wLin3oJTtnvjE9Lq2VV
@adeelahmad adeelahmad self-assigned this Oct 18, 2026
@adeelahmad
adeelahmad merged commit 8c3c07e into master Oct 18, 2026
4 checks passed
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