Skip to content

Implementer: impl/weapons-1338 - #89

Merged
ozgb merged 12 commits into
mainfrom
impl/weapons-1338
Nov 30, 2026
Merged

ozgb merged 12 commits into
mainfrom
impl/weapons-1338

Conversation

@ozgb

@ozgb ozgb commented Nov 30, 2026

Copy link
Copy Markdown
Owner

Opened by the clean-room broker.

ozgb and others added 12 commits November 29, 2026 21:28
A cycle of noExplode interceptors is outside the contract, the sweep
may be bounded only above every chain the reference ends, a module
clears a sweep's work at its start, source is 0 or a pool unit, and a
feature index at or above featureCount has no case. The pin moves to
the kit that holds ai-antinuke-pair, a two-level chain.

Assisted-by: Claude:claude-sonnet-5-5
Assisted-by: Claude:claude-sonnet-5-5
The kit holds ai-antinuke-pair, the two-level interceptor chain.

Assisted-by: Claude:claude-sonnet-5-5
The second announcement names the projectile whose sweep it is, the
reach arithmetic is exact, the contract covers chains of up to 300
levels, nested sweeps share one work state cleared at the outermost
sweep, and the feature and source cases are stated.

Assisted-by: Claude:claude-sonnet-5-5
Assisted-by: Claude Code:claude-sonnet-5-5
The recording ai-antinuke-pair showed that a feature not above the
projectile's whole y must not detonate it, which step 7 left open.

Assisted-by: Claude:claude-sonnet-5-5
Assisted-by: Claude Code:claude-sonnet-5-5
A detonation an event starts passes 0 as the second announced
projectile, and a lineOfSight turret's heading subtracts the unit's.

Assisted-by: Claude:claude-sonnet-5-5
Assisted-by: Claude Code:claude-sonnet-5-5
Assisted-by: Claude Code:claude-sonnet-5-5
@ozgb

ozgb commented Nov 30, 2026

Copy link
Copy Markdown
Owner Author

Lead: Hand-over of the clean-room part of #1338. Spec: #88 (spec-weapons-1338, head 6af2d36). Module: #89 (impl/weapons-1338, head 9a3c764, CI green, files specs/weapons.md, weapons/IMPLEMENTATION-NOTES.md, weapons/src/lib.rs only). The implementer branch came through the clean-room broker's push (broker.log of sessions s1 to s4 shows the pushes and the pull request); I pushed none of it by hand. Kit: interfaces-v102 and reference-traces-v64, exported from the tag. Merge #88 first (#89 contains the spec branch).

Phase verdicts. Phase 2 (leakage), always a fresh reviewer, before every btm push, posted on #88 with commit ranges: 74b54e9 (first push, one must-fix applied), 74b54e9..3711b0e (pin), 3711b0e..1bd197a (answers to phase 1; the first reviewer asked for two must-fixes, applied, a fresh one approved), 1bd197a..203f94b (collision step 7), 203f94b..6af2d36 (event announcement, aim heading): all approve. Phase 1 (completeness, session p1 in the VM, spec head 3711b0e): changes, five points, each answered in 1bd197a (the second announced projectile, clearing at the outermost sweep, the contract narrowed to chains of up to 300 levels, the exact reach arithmetic and the 0xfffe and source cases, the "may" licences moved to "outside the contract").

Implementer sessions (all in the microVM, oraclegate recordings-only, 10 recordings incl. the new ai-antinuke-pair):

  • s1: req1 to req3 differs (the new recording exposed that a feature not above the projectile's y must not detonate it; probes for the cause), req4 equal 10 of 10.
  • s2 (review report r1): req1 equal 10 of 10. s3 (r2): req1 equal 10 of 10 at 98e04ff. s4 (r3): notes-only change, no submission: the module source is byte-identical to 98e04ff, which was equal.
  • The root IMPLEMENTATION-NOTES.md and SPEC-QUESTIONS.md equal btm main on Implementer: impl/weapons-1338 #89; no .wasm or target/ in it.

Code review rounds (sandbox, /code-review high):

  • Round 1 (base 1bd197a): 1 bug, 1 risk, 2 nit. Bug: a DETONATE event passed a module-stack address as the announced projectile (fixed in cb78b99's successor eb33e72); risk: the radius square relied on an overflow-checks-off profile (fixed with a wrapping product); nit: notes said the 300-entry table bounds the depth (corrected); nit: step 7's wording (fixed in the spec 203f94b).
  • Round 2 (base cb78b99, head eb33e72): 0 bug, 2 risk, 4 nit. Risks: the chase test took 64-bit differences where the spec says 32-bit wrapping (fixed in 98e04ff); the event-started announcement argument was no block (spec settled: the module passes 0, fixed in 6af2d36 and 98e04ff). Nits: the turret heading text omitted minus u.heading (spec fixed), stale notes (fixed), the table anchor and g_extTdf read (answered: ABI-required), the raw frame array (answered).
  • Round 3 (base eb33e72, head 98e04ff): Findings: 0 bug, 0 risk, 1 nit = clean. The nit (two stale lines in the notes) is fixed in 9a3c764 (docs only). Every finding of every round is fixed or answered on the head.

Spec changes and what asked for each: the sweep rules and source and feature cases (the #1338 decision, then phase 1); step 7 height test (implementer s1, from ai-antinuke-pair); the event announcement argument 0 and the lineOfSight turret heading (review round 2). Note for the maintainer: phase 1 showed the reference's stack depth is not computable, so the contract is now "every chain of up to 300 levels" (the table's size); a longer chain, which only a noExplode interceptor can make and no game weapon is, is outside it like the cycle. That narrows the "to any depth short of a cycle" of the decision; the module's 304-level work list covers the contract exactly.

Kit gaps worked around: none new. Refused requests: none; every session's check-log.txt ends check-log: pass (p1, s1 to s4, r1 to r3).

@ozgb
ozgb merged commit bae9424 into main Nov 30, 2026
1 check 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.

1 participant