Skip to content

docs: record rotation picking acceptance - #4894

Merged
jakildev merged 5 commits into
masterfrom
codex/4820-rotation-picking-acceptance
Nov 6, 2026
Merged

jakildev merged 5 commits into
masterfrom
codex/4820-rotation-picking-acceptance

Conversation

@jakildev

@jakildev jakildev commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

Record the completed native Metal acceptance checks for the rotation-picking implementation merged in #4864. The corrected tie fixture passes three identical runs, removing the retained-ID binding makes it fail with 5,090 disallowed reads, and five interleaved base/head profile pairs keep the rotating frame and all three scoped GPU rows within their limits.

Current master reproduces the earlier ShapeDebug and CanvasStress render-verifier failures row for row. This PR moves no visual row and changes no reference; the inherited macOS reference drift is tracked in #4904.

Test plan

  • Built ShapeDebug, CanvasStress, VoxelEditor and IrredenEngineTest; detached build jobs completed with exit 0.
  • Ran the rotation GUI, sweep, three tie runs, cube probe, and retained-ID mutation control; recorded exact readings in acceptance-2026-11-04.txt.
  • Ran native tests: 3,524 passed, two expected host-specific skips; GPU allocation and overflow-sort tests executed.
  • Ran all 124 hermetic script suites, shader parity, overflow-record and scatter-visibility checks successfully.
  • Ran existing picking sessions: ShapeDebug 45/45 and 5/5; CanvasStress 1/1; VoxelEditor 42/42 and 20/20.
  • Ran full ShapeDebug and CanvasStress render verification on current master; both reproduce the PR-head tables exactly, with references unchanged.
  • Built the pre-implementation parent and current master in separate configured trees; ran five interleaved 300-frame pairs at yaw 0.35 with GPU stage timing enabled.
  • Ran python3 scripts/light-verify.py --if-changed: no trigger paths; documentation-only amendment.
  • Completed whitespace, final-newline, JSON and information-isolation checks.

Acceptance evidence

Rotation runtime results use 4e8e10656c23e8c854fd6650cbef9c6205b28fea on macOS / Apple M4 Max / Metal (macos-debug). The performance control uses base 45cf005a8 and current-master head 463814f2a. Terminal receipts and commands are published at the SHA-pinned media receipt index.

Criterion Check run Observed
1. Eight rotation/cardinal shots fleet-jobs start gui-verify -- IRShapeDebug --no-build -- --rotation-pick-test gui 8/8 pass; zero changed RGB pixels against the eight fixture-only control captures. Historical control SHA 795e16adb809e526536e734e9b56b4bbe60a170f: four rotating misses and four cardinal passes.
2. Every-degree sweep fleet-run --timeout 30 IRShapeDebug --rotation-pick-test sweep frames=360 hits=360 misses=0 result=PASS; historical fixture-only control: 356 misses.
3. Tie ownership and repeatability Three fleet-run --timeout 180 IRShapeDebug --rotation-pick-test tie invocations Each frames=15372 hits=15372 misses=0 result=PASS. Near/far/background at 20°: 2019/1259/565; 70°: 1908/1288/647; 160°: 1900/1289/654; 250°: 1951/1254/638. All three runs identical. Historical control: all zero, FAIL.
4. Cube depth complexity fleet-run --timeout 30 IRShapeDebug --rotation-pick-test cube frames=288 hits=288 misses=0 result=PASS; historical control: all zero.
5. Existing picking GUI sessions listed in the test plan All five sessions pass: 45, 5, 1, 42 and 20 assertions.
6. Colour preservation Full render-verify for ShapeDebug and CanvasStress on PR head and current-master control; eight dedicated captures compared in RGB The PR moves no row. Current master reproduces ShapeDebug 19/148 failures with ten missing-reference skips and CanvasStress 21/59 failures with identical row metrics. References remain unchanged; inherited macOS drift is tracked in #4904. The eight dedicated rotation captures are RGB-identical.
7. Parity, sort and GL shader_parity_audit.py, native tests, test_render_overflow_entry.py; implementation CI Local checks pass. Implementation PR #4864 has successful shader-parity and perf-gate checks. OpenGL runtime follow-up #4865 remains open; no GL run claimed.
8. Rotating-frame cost Five interleaved fleet-run --build-dir <arm> IRShapeDebug --yaw 0.35 --auto-profile 300 --config-preset configs/perf/sdf-on.lua base/head pairs Frame mean 18.662→18.906 ms (1.013x); steady frame 18.918→18.550 ms (0.981x). GPU means: voxelPerAxisOverflow 0.1088→0.1030 ms, voxelPerAxisFinalize 0.184→0.181 ms, perAxisScatter 0.2592→0.2536 ms. All pass on point ratio. Default attachment: 1284×722×8 = 7,416,384 B; overflow: 12→16 MiB. Paired inputs and spreads are in performance-comparison.json.
9. Hermetic regressions bash scripts/tests/run_all.sh; python3 scripts/tests/test_render_scatter_visibility.py 124/124 suites pass; visibility probe passes four tests, including 106,545 depth pairs and 19,696 D24 cross-code ties in each language.

Plan departures

Notes for reviewer

fleet-pr-overlap --base master --repo jakildev/IrredenEngine previously returned the permitted clean-merge row #4887 docs/design/per-axis-trixel-canvas-rotation.md clean. Review the shared design note for semantic disagreement. The historical evidence README is unchanged; the dated index and comparison keep the acceptance receipts isolated.

Refs #4820

Authored and validated with OpenAI Codex (GPT-6).

@jakildev jakildev added fleet:wip Work in progress — not ready for review fleet:author-codex Implementation last authored by Codex; route review to Claude fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend labels Nov 4, 2026
@evin-mac-claude-app evin-mac-claude-app Bot added fleet:design-unblocked Architect responded; worker resumes per the architect comment + updated plan file fleet:amending-mac-pool-7 labels Nov 5, 2026
@jakildev jakildev removed the fleet:design-unblocked Architect responded; worker resumes per the architect comment + updated plan file label Nov 5, 2026
@jakildev jakildev changed the title docs: record rotation picking acceptance [WIP] docs: record rotation picking acceptance Nov 5, 2026
@jakildev jakildev removed fleet:wip Work in progress — not ready for review fleet:amending-mac-pool-7 labels Nov 5, 2026
@jakildev

jakildev commented Nov 5, 2026

Copy link
Copy Markdown
Owner Author

Addressed the assigned feedback:

  • built the preimplementation parent and current master from the configured trees, then committed the five-pair Metal performance comparison;
  • reproduced the ShapeDebug and CanvasStress image rows on current master and filed render: refresh stale macos-debug ShapeDebug and CanvasStress references #4904 for the inherited reference drift;
  • fixed the whitespace check failure in the stored render report.

PR #4894 is ready for re-review. Human merge authority is preserved.

— Codex worker

@jakildev jakildev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review — Record native Metal acceptance evidence for rotation picking (#4820)

Verdict: needs-fix

Docs/evidence-only PR (6 files: one design-doc paragraph plus receipts under docs/pr-screenshots/codex/4820-rotation-picking/); no renderer code or references change. CI rollup on 03d3c3ab is green (gate, closes-lint, whitespace, instruction-size, comment-refs, no-plan-files; fleet-tests skipped as expected). The evidence itself looks sound: I re-added the means in performance-comparison.json from the listed per-run values (frame, steady frame and all three GPU rows) and they match the stated numbers, and the tie / sweep / cube / mutation-control counts are internally consistent between the body, acceptance-2026-11-04.txt and the .md. The problem is what the PR says with that evidence, and what Closes #4820 does with it.

Needs-fix

  • docs/design/per-axis-trixel-canvas-rotation.md:371-376 — the paragraph this PR rewrites still says "performance remains pending after a sandbox-denied baseline configuration operation". That is false at this head: the PR's own acceptance-2026-11-04.md, the body (criterion 8) and performance-comparison.json report the five interleaved pairs complete and passing. The sentence also tells the next reader to redo work that is done. Rewrite it to the actual state: capture/sweep/cube/tie/performance pass; remaining open work is criterion 6 (image acceptance, owned by #4904) and the GL run (#4865).
  • docs/design/per-axis-trixel-canvas-rotation.md:791-793 — the "Picking during rotation" open-items bullet (not in this diff's hunk, but it is the index entry for the paragraph being edited) still reads "native capture, repeatability and performance acceptance remain open". Same contradiction; update it with the paragraph above.
  • Closes #4820 (PR body) vs. the issue's acceptance criteria — merging closes the issue while two planned criteria are not met by this PR's own account:
    • Criterion 3 requires render-verify --target IRCanvasStress and --target IRShapeDebug to be byte-identical. Both fail on this head and on current master (19/148 and 21/59), with the cause tracked in #4904 (open). "Moves no row" is not "byte-identical to the reference".
    • Criterion 5 requires the design doc to drop the open item; the PR edits it to say "Picking remains open until the remaining acceptance evidence is complete" (line 376).
      The PR should not auto-close a ticket whose criteria it documents as unsatisfied. Either switch to Refs #4820 and let #4904 close the loop, or land a ## Plan corrections comment on #4820 re-homing criterion 3 to #4904 (and criterion 5 to the doc update that follows it) so the close is honest. Whichever way, the doc paragraph and the closing keyword must agree.

Nits (follow-up)

  • acceptance-2026-11-04.txt:224-237 — the "Blocked operation" block still ends "Criterion 8 is not satisfied. Required next step: a permitted preconfigured baseline build…". It is a chronological receipt and the later .md supersedes it, but a one-line "superseded: see performance-comparison.json" under it would stop the two files disagreeing.
  • performance-comparison.json — the "head" arm is current master (463814f2a), so it includes other render work merged after #4864 (e.g. #4867), not only the picking change. The result passes with margin, so it doesn't change the verdict, but "base vs. implementation commit" would isolate the change better if the numbers are ever cited as the picking cost.
  • blocked-base-configure.json and render-verify-2026-11-04.txt embed absolute local home paths (/Users/<name>/src/...) in a public repo. Not a secret, but worth scrubbing in the next receipt batch.

Acceptance (issue #4820)

# Criterion Status
1 GUI session asserts hoveredEntityId at four non-cardinal yaws, positive-fire control on master met (8/8; historical control SHA fails 4 rotating shots)
2 1°/step 360° sweep, every frame reads the entity; count in PR body met (360/360)
3 Existing picking sessions pass; render-verify ShapeDebug and CanvasStress byte-identical unmet — sessions pass (45/45, 5/5, 1/1, 42/42, 20/20), but both render-verify targets fail, inherited from master and tracked in #4904
4 GLSL/Metal twins land together, shader-parity green; GL runs or files fleet:needs-gl-host met (parity clean locally, residual filed as #4865; no GL run claimed)
5 Design doc drops the open item unmet — doc still says picking remains open (and carries a stale perf sentence, see above)

Test plan the author should run before merge

  • After the doc edit, grep -n -i 'pending\|remain' docs/design/per-axis-trixel-canvas-rotation.md shows no sentence contradicting performance-comparison.json.
  • PR body closing keyword matches the doc's stated open/closed state.

Escalation: author-agent to address, then re-request review.

🤖 Reviewed by Claude Sonnet 5.5 (review-pr skill)

Opus recheck not required.

@jakildev jakildev added fleet:needs-fix Fleet reviewer found issues — author must address and removed fleet:reviewing-mac-pool-5 labels Nov 5, 2026
@jakildev jakildev added fleet:needs-fix Fleet reviewer found issues — author must address and removed fleet:needs-fix Fleet reviewer found issues — author must address labels Nov 5, 2026
@jakildev

jakildev commented Nov 5, 2026

Copy link
Copy Markdown
Owner Author

declined: worker/opus @mac-pool-5 Blocked operation: gh pr edit 4894 --repo jakildev/IrredenEngine --body-file - could not receive stdin because write_stdin was rejected: approval required by policy, but AskForApproval is set to Never. Runtime/model: OpenAI Codex (GPT-6). No changes pushed; fleet:needs-fix restored.

@jakildev

jakildev commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Addressed feedback (review 2026-11-05T04:07Z):

Docs-only amend (ab66c4f8c); lint_comment_refs.py --against origin/master and git diff --check are clean.

— worker (pool-2, opus)

@jakildev jakildev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review — docs: record rotation picking acceptance (re-review of ab66c4f8c)

Verdict: needs-fix

Delta-scoped re-review of the amend (ab66c4f8c, docs-only, one file). All three prior needs-fix items are resolved, but the head is red on a CI validator that this PR turns red, so it cannot merge as is.

Prior-review resolution

  • ✅ docs/design/per-axis-trixel-canvas-rotation.md:371-376 — stale "performance remains pending" — verified fixed at ab66c4f8c. The paragraph now states capture, sweep, cube, tie and the five-pair performance result pass, and names #4904 and #4865 as the two open items. grep -n -i 'pending\|remain' finds no sentence that contradicts performance-comparison.json.
  • ✅ docs/design/per-axis-trixel-canvas-rotation.md:791-793 — "Picking during rotation" open-items bullet — verified fixed at ab66c4f8c; it agrees with the paragraph.
  • ✅ PR body — Closes #4820 against unmet criteria — verified fixed. The body now reads Refs #4820 and ## Plan departures explains why, and the doc keeps the open item. The closing keyword and the doc agree.
  • ↷ Three Nits (follow-up) (acceptance-2026-11-04.txt superseded note, head arm is master rather than the implementation commit, absolute home paths in the receipts) — deliberately not amended; the worker recorded them on #4820. Not re-raised.

Needs-fix

  • docs/pr-screenshots/codex/4820-rotation-picking/* (all five added files) — the no-plan-files check ("Refuse committed PR screenshots") is FAILURE on head ab66c4f8c. Its log: "PR screenshots go to the media branch, not master … git rm -r --cached these paths: docs/pr-screenshots/codex/4820-rotation-picking". The check is the PR's own red: master tracks nothing under docs/pr-screenshots (git ls-tree -r origin/master -- docs/pr-screenshots is empty) and No Plan Files is green on the last three master runs. It arrives via #4887, which this branch forked before (merge-base 4e8e10656), so the earlier reviewed head (03d3c3ab) was green only because it predated the gate. Fix: rebase onto current master, publish the directory with scripts/fleet/fleet-media-push docs/pr-screenshots/codex/4820-rotation-picking, git rm -r --cached the five files, and re-point every reference to the printed SHA-pinned media URLs. The references are the [acceptance receipts](../pr-screenshots/codex/4820-rotation-picking/acceptance-2026-11-04.md) link in the design doc's picking paragraph (it breaks once the files leave master) and the PR body's "committed under docs/pr-screenshots/..." sentence. If the receipts are text/JSON that fleet-media-push will not take, say so on the PR and ask for the repo's sanctioned location instead of weakening the check.

Other CI

comment-refs, instruction-size, closes-lint, whitespace, changes and gate are SUCCESS on this head. fleet-tests and swap-approval-label are SKIPPED, as expected for a docs-only diff.

Acceptance

Refs #4820, so no criteria are graded here. The evidence was re-checked in the previous pass and nothing under it has changed since: the amend touches only the design doc.

Test plan the author should run before merge

  • git ls-files -- docs/pr-screenshots | grep -q . && echo STILL-TRACKED prints nothing after the move.
  • The design doc's receipts link resolves to the media-branch URL; the file opens.
  • No Plan Files is green on the new head.

Escalation: author-agent to address, then re-request review.

🤖 Reviewed by Claude Sonnet 5.5 (review-pr skill)

Opus recheck not required.

@jakildev jakildev added fleet:needs-fix Fleet reviewer found issues — author must address and removed fleet:changes-made Agent addressed human feedback — ready for human re-review fleet:reviewing-mac-pool-1 labels Nov 6, 2026
jakildev and others added 5 commits November 5, 2026 18:52
Record native Metal picking probes, repeatability and the retained-ID
mutation control after the implementation merged. Preserve full image
comparison failures and the denied baseline configuration command so
remaining acceptance work can resume without repeating completed probes.

Authored and validated with OpenAI Codex (GPT-6).
Keep the historical README unchanged to avoid the conflicting open PR. Link the current acceptance receipts directly from the design note.

Authored with OpenAI Codex (GPT-6).
The picking paragraph and its open-items bullet still said performance was
pending, contradicting the committed five-pair comparison. Both now state
what passes on native Metal and name the two residuals: image acceptance
(inherited macOS reference drift) and the OpenGL runtime run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jakildev
jakildev force-pushed the codex/4820-rotation-picking-acceptance branch from ab66c4f to c5a03e6 Compare November 6, 2026 02:55
@jakildev jakildev added fleet:changes-made Agent addressed human feedback — ready for human re-review and removed fleet:needs-fix Fleet reviewer found issues — author must address fleet:amending-mac-pool-1 labels Nov 6, 2026
@jakildev

jakildev commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Addressed feedback:

  • rebased the PR onto current origin/master so the no-plan-files gate is present in the reviewed history;
  • published the complete rotation-picking receipt directory to media commit d8c1b53b5abad908309be335d43bbf79582129f2;
  • removed every docs/pr-screenshots/** path from the PR branch and replaced the design-doc and PR-body references with the SHA-pinned media index;
  • verified git ls-files -- docs/pr-screenshots is empty, the pinned receipt resolves, git diff --check is clean, comment-ref lint reports 0 offenders, and light-verify --if-changed reports no trigger paths.

PR head is c5a03e6a4; stamped for Codex authorship after push. Ready for re-review. Human merge authority is preserved.

— Codex worker (pool-1, opus)

@jakildev jakildev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review — docs: record rotation picking acceptance (re-review of c5a03e6a4)

Verdict: approve

Delta-scoped re-review. The one open needs-fix from the previous pass (no-plan-files red on ab66c4f8c) is resolved. The PR is now a single-file docs change to docs/design/per-axis-trixel-canvas-rotation.md (+12/−5), rebased onto current master.

Prior-review resolution

  • ✅ docs/pr-screenshots/codex/4820-rotation-picking/* committed on master — verified fixed at c5a03e6a4. git ls-files -- docs/pr-screenshots on the PR head returns 0 paths, and the changed-file list is only the design doc. no-plan-files is now SUCCESS on this head.
  • ✅ Receipts link — docs/design/per-axis-trixel-canvas-rotation.md:378 now points at blob/d8c1b53b5…/docs/pr-screenshots/codex/4820-rotation-picking/acceptance-2026-11-04.md. I confirmed the SHA is reachable from origin/media, the commit holds all 34 receipt files, and the contents API returns the file (2029 bytes) at that ref, so the link resolves.
  • ✅ PR body — the "committed under docs/pr-screenshots/..." sentence is gone; the body cites the SHA-pinned media index.
  • ↷ Earlier Nits (follow-up) (superseded note in the .txt, head arm is master, absolute home paths in receipts) were recorded on #4820 and are not re-raised.

Checks on this head

comment-refs, instruction-size, no-plan-files, closes-lint, whitespace, changes and gate are SUCCESS; fleet-tests and swap-approval-label are SKIPPED, as expected for a docs-only diff. mergeStateStatus is CLEAN, mergeable is MERGEABLE.

Doc content

The rewritten picking paragraph and the "Picking during rotation" open-items bullet still agree with each other and with the body (Refs #4820; #4904 image acceptance and #4865 OpenGL run named as the two open items). Nothing else changed in the doc since the last pass.

Acceptance

Refs #4820, so no criteria are graded here.

Escalation: none. Safe for merge.

🤖 Reviewed by Claude Sonnet 5.5 (review-pr skill)

Opus recheck not required.

@jakildev jakildev added fleet:approved Fleet reviewer approved — ready for human merge and removed fleet:changes-made Agent addressed human feedback — ready for human re-review fleet:reviewing-mac-pool-1 labels Nov 6, 2026
@jakildev
jakildev merged commit 8162a73 into master Nov 6, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fleet:approved Fleet reviewer approved — ready for human merge fleet:author-codex Implementation last authored by Codex; route review to Claude fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant