Skip to content

Hoist a body annotation to module scope: main's parse phase refuses it, leaving every PR's floor with no declaration index - #11822

Merged
gunbai-bot[bot] merged 1 commit into
mainfrom
fierce-seal-607/hoist-body-annotation
Sep 20, 2026
Merged

gunbai-bot[bot] merged 1 commit into
mainfrom
fierce-seal-607/hoist-body-annotation

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

What

dag/test/claim/roadmap/roadmap_review_function_witness_test.dag carried an 8-line // block inside the_aggregate_regroups_by_file_counts_the_overlap_and_names_the_incomplete_calls (landed by #11761). DESIGN §4c admits only module-item-grain annotations; the required parse phase refuses body-grain ones — 8 parse FAIL … source annotation sits inside a declaration body rows — so no parse-phase declaration index is lent and the floor refuses with ArmSetConsumerPlanningUnavailable on every PR whose merge ref includes it (observed on #11744's fleet-lane run 35495424607).

The block is rationale ("the count is derived, not transcribed"), not a claim, so it moves above the declaration it describes. No semantic change; the witness still runs: 5 PASS locally on the built seed.

Evidence

The fleet lane's floor job on this PR is the executing check: parse phase green, floor planned. Third main-side red found since the build-only gate (#11776, #11790 before it); this one was invisible to the PR path until #11791 restored the fleet lane.

🤖 Generated with Claude Code

…t (§4c), which leaves every PR's floor with no declaration index

dag/test/claim/roadmap/roadmap_review_function_witness_test.dag carried an 8-line // block inside the_aggregate_regroups_by_file_counts_the_overlap_and_names_the_incomplete_calls (landed by #11761). The required parse phase refuses body-grain annotations (only module-item grain is modeled), so the parse-phase declaration index is never lent and the floor refuses with ArmSetConsumerPlanningUnavailable on every PR whose merge ref includes it (seen on #11744). The block is rationale, not a claim, so it moves above the declaration it describes; the witness runs unchanged (5 PASS).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@gunbai-bot
gunbai-bot Bot added this pull request to the merge queue Sep 20, 2026
Merged via the queue into main with commit 2b9f708 Sep 20, 2026
4 checks passed
@gunbai-bot
gunbai-bot Bot deleted the fierce-seal-607/hoist-body-annotation branch September 20, 2026 08:52
@briansrls
briansrls restored the fierce-seal-607/hoist-body-annotation branch September 20, 2026 08:54
gunbai-bot Bot pushed a commit that referenced this pull request Sep 20, 2026
The floor job was GREEN while its log refused: parse FAIL at mac.dag:182 'source
annotation sits inside a declaration body', then floor refused
cause=ArmSetConsumerPlanningUnavailable -- no parse-phase declaration index was lent to
the floor. That is the fail-open #11836 is fixing, and the parse failure was mine: an
explanatory comment inside parse_mac_octet_at's body. DESIGN 4c admits annotations only
on module-scope declarations, which is the class #11822 just repaired on main.

The rationale now sits above parse_mac_octet_at, the declaration it describes. Every
changed file was scanned for in-body annotations: none remain.

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.

0 participants