Skip to content

docs: capture voxel feeder accounting contract - #5128

Merged
jakildev merged 1 commit into
masterfrom
claude/5085-voxel-feeder-accounting
Nov 17, 2026
Merged

jakildev merged 1 commit into
masterfrom
claude/5085-voxel-feeder-accounting

Conversation

@jakildev

Copy link
Copy Markdown
Owner

Summary

Adds docs/design/voxel-feeder-accounting.md: the reusable measurement contract for the voxel feeder path, written against the merged #5009 / PR #5073 tree. It names each boundary (producer notification, deduplicated pending ranges, submitted upload, cardinal/world cache work), the implementing symbol, the positive-control test, and what each zero does and does not prove. static-residents.md keeps the thresholds and gains one reciprocal link. Docs only; no semantics or gate change.

Acceptance evidence

Criterion Check run Observed
1. Diff lists only files under docs/ git diff --stat origin/master...HEAD 2 files, both under docs/design/
2. Page covers every listed boundary and the bytes-vs-time addition reviewer read of the page Sections: boundaries 1–4, simultaneous causes, warm-up, reset on read, per-frame attribution, observation without scanning, what each zero proves, bytes vs time
3. Cited positive-control tests exist git grep -l -w <TestName> -- test/ for all 13 cited names each name hits chunk_bounds_eviction_test.cpp or voxel_position_queue_test.cpp
4. No dead references introduced python3 scripts/lint_instruction_refs.py --against origin/master none new
5. No size offenders introduced python3 scripts/lint_instruction_size.py --against origin/master introduced: empty; 9 inherited
6. No Gate threshold copied fleet-rules-sweep --pattern '160,000|16 times|3,907' docs/design/voxel-feeder-accounting.md exit 1, 0 matches in 1 file swept
Reviewer notes

Plan departures

  • The plan listed writeProfileReport as the subtraction site from the issue body. On the merged tree the report subtracts nothing: it carries a separate write-notification count (cullWriteNotifications_). The page describes the merged behavior.

Notes for reviewer

  • No test was run; tests are cited as existing, as the plan directs.
  • fleet-pr-overlap: VERDICT: overlap, one row: #5118 docs/design/static-residents.md clean (trial merge clean; my edit is one added paragraph after the Gate 3 "Reason for the replacement" paragraph).

Closes #5085

🤖 Generated with Claude Code

Add docs/design/voxel-feeder-accounting.md: what each count along the
voxel feeder path measures (producer notifications, deduplicated pending
ranges, submitted upload bytes, cardinal/world cache work), simultaneous
write and camera causes, warm-up, reset-on-read distribution, per-frame
attribution, what each zero does and does not prove, and why submitted
bytes are not upload time. Cites the implementing symbols and the
positive-control tests; thresholds stay in static-residents.md, which
gains one reciprocal link.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@jakildev jakildev added fleet:author-claude Implementation last authored by Claude; route review to Codex fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend labels Nov 17, 2026

@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: capture voxel feeder accounting contract

Verdict: approve

The documentation accurately records the implemented accounting boundaries and satisfies the linked issue's documentation-only contract.

Acceptance (issue #5085)

4 of 4 met.

Checked

  • Read the full PR and issue threads, complete diff, and changed documents against #5085's planned acceptance criteria.
  • Verified all cited positive-control test symbols in test/ecs/chunk_bounds_eviction_test.cpp and test/ecs/voxel_position_queue_test.cpp.
  • Cross-checked the measurement boundaries and reset-on-read attribution against C_VoxelPool and system_voxel_to_trixel.hpp.
  • CI checks are green; python3 scripts/lint_instruction_refs.py --against origin/master passed with no new dead references, and python3 scripts/lint_instruction_size.py --against origin/master reported no introduced offenders.

Escalation: none. Safe for merge.
🤖 Reviewed by Codex (GPT-5; runtime codex) (review-pr skill)
Opus recheck not required.

@jakildev jakildev added fleet:approved Fleet reviewer approved — ready for human merge and removed fleet:reviewing-mac-pool-5 labels Nov 17, 2026
@jakildev
jakildev merged commit e5c0ce7 into master Nov 17, 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-claude Implementation last authored by Claude; route review to Codex 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.

docs: capture voxel feeder accounting in docs/design/voxel-feeder-accounting.md

1 participant