Repository navigation
docs: record rotation picking acceptance - #4894
Conversation
|
Addressed the assigned feedback:
PR #4894 is ready for re-review. Human merge authority is preserved. — Codex worker |
jakildev
left a comment
There was a problem hiding this comment.
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 ownacceptance-2026-11-04.md, the body (criterion 8) andperformance-comparison.jsonreport 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 IRCanvasStressand--target IRShapeDebugto 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 toRefs #4820and let #4904 close the loop, or land a## Plan correctionscomment 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.
- Criterion 3 requires
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.mdsupersedes 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.jsonandrender-verify-2026-11-04.txtembed 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.mdshows no sentence contradictingperformance-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.
|
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. |
|
Addressed feedback (review 2026-11-05T04:07Z):
Docs-only amend ( — worker (pool-2, opus) |
jakildev
left a comment
There was a problem hiding this comment.
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 atab66c4f8c. 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 contradictsperformance-comparison.json. - ✅
docs/design/per-axis-trixel-canvas-rotation.md:791-793— "Picking during rotation" open-items bullet — verified fixed atab66c4f8c; it agrees with the paragraph. - ✅ PR body —
Closes #4820against unmet criteria — verified fixed. The body now readsRefs #4820and## Plan departuresexplains why, and the doc keeps the open item. The closing keyword and the doc agree. - ↷ Three
Nits (follow-up)(acceptance-2026-11-04.txtsuperseded 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) — theno-plan-filescheck ("Refuse committed PR screenshots") is FAILURE on headab66c4f8c. Its log: "PR screenshots go to the media branch, not master …git rm -r --cachedthese paths:docs/pr-screenshots/codex/4820-rotation-picking". The check is the PR's own red: master tracks nothing underdocs/pr-screenshots(git ls-tree -r origin/master -- docs/pr-screenshotsis empty) andNo Plan Filesis green on the last three master runs. It arrives via #4887, which this branch forked before (merge-base4e8e10656), so the earlier reviewed head (03d3c3ab) was green only because it predated the gate. Fix: rebase onto current master, publish the directory withscripts/fleet/fleet-media-push docs/pr-screenshots/codex/4820-rotation-picking,git rm -r --cachedthe 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 underdocs/pr-screenshots/..." sentence. If the receipts are text/JSON thatfleet-media-pushwill 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-TRACKEDprints nothing after the move. - The design doc's receipts link resolves to the media-branch URL; the file opens.
-
No Plan Filesis 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.
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>
ab66c4f to
c5a03e6
Compare
|
Addressed feedback:
PR head is — Codex worker (pool-1, opus) |
jakildev
left a comment
There was a problem hiding this comment.
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 atc5a03e6a4.git ls-files -- docs/pr-screenshotson the PR head returns 0 paths, and the changed-file list is only the design doc.no-plan-filesis now SUCCESS on this head. - ✅ Receipts link —
docs/design/per-axis-trixel-canvas-rotation.md:378now points atblob/d8c1b53b5…/docs/pr-screenshots/codex/4820-rotation-picking/acceptance-2026-11-04.md. I confirmed the SHA is reachable fromorigin/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.
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
acceptance-2026-11-04.txt.python3 scripts/light-verify.py --if-changed: no trigger paths; documentation-only amendment.Acceptance evidence
Rotation runtime results use
4e8e10656c23e8c854fd6650cbef9c6205b28feaon macOS / Apple M4 Max / Metal (macos-debug). The performance control uses base45cf005a8and current-master head463814f2a. Terminal receipts and commands are published at the SHA-pinned media receipt index.fleet-jobs start gui-verify -- IRShapeDebug --no-build -- --rotation-pick-test gui795e16adb809e526536e734e9b56b4bbe60a170f: four rotating misses and four cardinal passes.fleet-run --timeout 30 IRShapeDebug --rotation-pick-test sweepframes=360 hits=360 misses=0 result=PASS; historical fixture-only control: 356 misses.fleet-run --timeout 180 IRShapeDebug --rotation-pick-test tieinvocationsframes=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.fleet-run --timeout 30 IRShapeDebug --rotation-pick-test cubeframes=288 hits=288 misses=0 result=PASS; historical control: all zero.render-verifyfor ShapeDebug and CanvasStress on PR head and current-master control; eight dedicated captures compared in RGBshader_parity_audit.py, native tests,test_render_overflow_entry.py; implementation CIfleet-run --build-dir <arm> IRShapeDebug --yaw 0.35 --auto-profile 300 --config-preset configs/perf/sdf-on.luabase/head pairsvoxelPerAxisOverflow0.1088→0.1030 ms,voxelPerAxisFinalize0.184→0.181 ms,perAxisScatter0.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 inperformance-comparison.json.bash scripts/tests/run_all.sh;python3 scripts/tests/test_render_scatter_visibility.pyPlan departures
frames=15372 hits=10282 misses=5090 result=FAIL(child exit 2), versus three passing production runs.configs/perf/sdf-on.luaoverlay. The scene, yaw, zoom and 300-frame window otherwise match the planned command.Refs #4820rather than closing the task. The design doc names the two residuals: render: refresh stale macos-debug ShapeDebug and CanvasStress references #4904 (image acceptance), after which render: picking during per-axis rotation — the scatter path writes HoveredEntityIdBuffer (render-correctness row 4) #4820 can close, and the OpenGL runtime run render: verify rotation picking on an OpenGL host #4865, the separate Decision 7 follow-up.Notes for reviewer
fleet-pr-overlap --base master --repo jakildev/IrredenEnginepreviously 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).