Skip to content

docs: split the validator index into a short index and area pages (#4977) - #5069

Merged
jakildev merged 1 commit into
masterfrom
claude/4977-validation-index-split
Nov 17, 2026
Merged

jakildev merged 1 commit into
masterfrom
claude/4977-validation-index-split

Conversation

@jakildev

@jakildev jakildev commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • docs/agents/VALIDATION.md becomes a short index: the introduction, the 21 cross-cutting rows and 3 perf rows, a new ## Area pages table, the rules for citing a validator, the two cited section headings as short stubs, and "Adding a validator". 128 lines / 35,614 bytes → 82 lines / 11,644 bytes.
  • Four pages beside it, each row moved verbatim: VALIDATION-RENDER.md (7 render gates, plus the full "Harness dependency contract" and "Default-off features…" sections), VALIDATION-RENDER-FEATURES.md (34 feature validators), VALIDATION-EDITOR-GUI.md (7), VALIDATION-PACKAGING.md (3). Each page says when to open it. The area table lists every moved validator's first-column name verbatim, so a name cited in an issue is still found from the index.
  • New suite scripts/fleet/tests/test_validation_index.py. It fails when a page row is missing from the area table, when the area table names a validator no page has, when a name appears twice, when a VALIDATION-*.md page is not listed, when the index is over 12,000 bytes, or when either cited heading leaves the index.
  • engine/render/CLAUDE.md: the validator link now points at the render page and the feature page. Edited in place on the same line (199 lines before and after).

Test plan

  • bash scripts/fleet/tests/run_all.sh --only validation_index: 1 suite(s) — 1 passed, 0 failed, 0 skipped
  • Positive fire: I deleted ; Floor continuity from the area table and the suite failed with VALIDATION-RENDER-FEATURES.md row 'Floor continuity' is missing from the index's area table. After restoring the file (cmp identical) it passed again.
  • fleet-positive-control scripts/fleet/tests/test_validation_index.py origin/master --include docs/agents: MEANINGFUL: 4 of 5 assertions fail against origin/master (c207747f1)
  • python3 scripts/lint_instruction_size.py --against origin/master: introduced: is empty, only inherited offenders remain
  • python3 scripts/lint_instruction_refs.py: ok: 167 instruction file(s), 2894 reference(s), 12 accepted dead reference(s) in the baseline, none new
  • python3 scripts/fleet/lint_rules_commands.py: exit 0
  • python3 scripts/perf/tests/test_baseline_layouts.py: PASS AC: the perf and validation docs name the grading rule, all arms passed
  • python3 scripts/fleet/fleet_test_subjects.py: exit 0. The suite's subjects fall under the existing docs/agents/** path entry, so nothing new needs registering.
  • ruff check scripts/: All checks passed!
  • git diff --check: clean
  • fleet-pr-overlap: VERDICT: block on render: size per-axis stores from content height (#4960) #5101 / fleet: schedule macOS render control sweeps (#4986) #5110 / lighting: one sun-shadow receiver model on voxel faces across cardinal camera yaws (#4965) #5119 / docs: capture overflow-rejection camera ordering in docs/design/per-axis-trixel-canvas-rotation.md (#5086) #5124 (row edits to moved rows; this split lands first per the architect ruling), see § Open-PR overlap

Acceptance evidence

Criterion Check run Observed
1. Instruction size: index ≤ 150 lines and 12,000 bytes; each page within 400 lines / 32,000 bytes; no introduced offender wc -lc docs/agents/VALIDATION*.md; python3 scripts/lint_instruction_size.py --against origin/master index 82 lines / 11,644 B; RENDER 44 / 5,217; RENDER-FEATURES 44 / 17,573; EDITOR-GUI 16 / 3,586; PACKAGING 12 / 2,280. Lint introduced: is empty
2. No validator lost or renamed: sorted first-column names on base and branch identical sorted first-column names of every validator table, base VALIDATION.md vs branch VALIDATION*.md, then diff 75 names on each side, diff empty, against origin/master (c207747) after the rebase; all 75 master rows found verbatim (whole-line match) in the branch's VALIDATION*.md
3. Fleet tool tests, positive fire: suite passes; removing one name from the area table fails naming it bash scripts/fleet/tests/run_all.sh --only validation_index, before and after deleting Floor continuity from the area table passes: 1 passed, 0 failed. With the name deleted: AssertionError: … VALIDATION-RENDER-FEATURES.md row 'Floor continuity' is missing from the index's area table. Restored, passes again
4. Positive control: suite fails before the split fleet-positive-control scripts/fleet/tests/test_validation_index.py origin/master --include docs/agents MEANINGFUL: 4 of 5 assertions fail against origin/master (c207747f1). On master, expected one area table (header \| Page |`), found 0`
5. Rules sweep, citations resolve: 2 heading matches and 1 Positive control row fleet-rules-sweep --pattern '^## (Harness dependency contract|Default-off features need a positive enabled-path test)$' docs/agents/VALIDATION.md; fleet-rules-sweep --pattern '^| Positive control |' docs/agents/VALIDATION.md -- swept 1 file(s) (1 walked in scope), 2 match(es) in 1 file(s) (:64, :71); 1 match(es) (:18)
6. Perf gate suite passes unchanged python3 scripts/perf/tests/test_baseline_layouts.py PASS AC: the perf and validation docs name the grading rule, all arms passed. calibration-scaled is still in the index's Perf gate row
7. Rows are moved, not rewritten git diff --color-moved=plain parsed for moved colours; base rows checked for byte-identical lines on the branch all 75 base rows appear byte-identical on the branch. Every removed index line, both sections included, is coloured as moved. The only added lines not coloured as moved are the new prose and the area table
8. Fleet-test subjects and Python lint python3 scripts/fleet/fleet_test_subjects.py; ruff check scripts/ exit 0 (95 literal subject(s) … 90 registered subject(s)); All checks passed!
9. PR body lists the three .claude/ citations this body, § Notes for reviewer listed below

Plan departures

Open-PR overlap

fleet-pr-overlap --self-pr 5069 (head e551852, rebased onto c207747):

#5084 engine/render/CLAUDE.md clean
#5101 docs/agents/VALIDATION.md conflicts
#5101 engine/render/CLAUDE.md clean
#5110 docs/agents/VALIDATION.md conflicts
#5119 docs/agents/VALIDATION.md conflicts
#5121 docs/agents/VALIDATION.md sequenced (Parked-until: #4977)
#5124 docs/agents/VALIDATION.md conflicts
#5124 engine/render/CLAUDE.md clean
VERDICT: block

#5041 merged first after all (c207747). Its one-cell change to the Run column of the Render regression row is now applied to the moved row in VALIDATION-RENDER.md, so that row matches master byte-for-byte.

Every remaining conflict comes from a competitor editing a row that this PR moves. On 2026-11-15 the architect ruled that this split lands first. Each competitor then re-applies its row edit to the area page when it rebases:

Notes for reviewer

For the repository owner (.claude/ is outside worker scope): three citations of the index live under .claude/. All three still resolve, because the index keeps its path and both section headings.

  • .claude/skills/render-verify/SKILL.md:18 links the index for render validators. It would be better pointed at docs/agents/VALIDATION-RENDER.md.
  • .claude/skills/render-debug-loop/references/capture-and-evaluation.md:37: same as above. Better pointed at VALIDATION-RENDER.md, or at VALIDATION-RENDER-FEATURES.md for per-feature metrics.
  • .claude/skills/review-pr/SKILL.md:72 cites the "Default-off features need a positive enabled-path test" section by name. The heading is still in the index, as a stub linking to the full text in VALIDATION-RENDER.md.

The index has 356 bytes of headroom under the 12,000-byte cap that the suite enforces. A new cross-cutting row will usually fit, but a long one may need the citing rules tightened.

Closes #4977

🤖 Generated with Claude Code

@jakildev jakildev added fleet:wip Work in progress — not ready for review fleet:author-claude Implementation last authored by Claude; route review to Codex labels Nov 12, 2026
@jakildev
jakildev force-pushed the claude/4977-validation-index-split branch from 0bcc57d to 76e4f18 Compare November 12, 2026 09:23
@jakildev
jakildev changed the base branch from claude/4976-docs-correct-contradicted-statements to claude/4974-split-agent-baseline November 12, 2026 09:23
@jakildev
jakildev added this pull request to stack #5067 November 12, 2026 09:23
@jakildev jakildev added fleet:awaiting-infra Complete-but-unverifiable PR parked until an infra blocker lands; body carries Parked-until: #N fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend labels Nov 12, 2026
@jakildev

Copy link
Copy Markdown
Owner Author

Parked fleet:awaiting-infra (Parked-until: #4983). The work is complete and verified, but fleet-pr-overlap returns VERDICT: block on one row:

#5041 docs/agents/VALIDATION.md conflicts

#5041 (Refs #4983) edits the Run cell of the Render regression row, and this PR moves that row verbatim to docs/agents/VALIDATION-RENDER.md. #5041 merges clean with master by itself, so the conflict comes only from this move and is unavoidable here. Resolving it is one cell for whichever PR lands second. #4983 is fleet:needs-human. A human who wants this split to land first can lift the park, and #5041 then resolves against VALIDATION-RENDER.md. Otherwise reconcile un-parks this PR when #4983 closes, and the next pass re-applies that cell on the page. — worker

Base automatically changed from claude/4974-split-agent-baseline to master November 15, 2026 23:47
@jakildev
jakildev force-pushed the claude/4977-validation-index-split branch from 76e4f18 to 702a042 Compare November 15, 2026 23:47
@jakildev

Copy link
Copy Markdown
Owner Author

Park lifted — owner-cued fleet health check, 2026-11-15

Decision: this split lands first. PR #5041 has been waiting on a live macOS reading since 2026-11-11, and its conflict with this PR is one table cell, so holding a finished docs split behind it buys nothing. The Parked-until: #4983 line is removed from the body, fleet:awaiting-infra is off and fleet:design-unblocked is on. #5041 resolves its Run cell against docs/agents/VALIDATION-RENDER.md when it rebases; that is noted on #4983. This also releases #4970, which waits on this PR's issue.

— opus-architect

@jakildev jakildev added fleet:design-unblocked Architect responded; worker resumes per the architect comment + updated plan file and removed fleet:awaiting-infra Complete-but-unverifiable PR parked until an infra blocker lands; body carries Parked-until: #N labels Nov 16, 2026
@jakildev jakildev removed the fleet:design-unblocked Architect responded; worker resumes per the architect comment + updated plan file label Nov 16, 2026
@jakildev
jakildev force-pushed the claude/4977-validation-index-split branch from 702a042 to 51aa2e3 Compare November 16, 2026 01:58
@jakildev jakildev added fleet:changes-made Agent addressed human feedback — ready for human re-review and removed fleet:wip Work in progress — not ready for review fleet:amending-mac-pool-7 labels Nov 16, 2026
@jakildev

Copy link
Copy Markdown
Owner Author

Addressed feedback (architect park-lift, 2026-11-15):

— worker

@github-actions

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-xeon-6975p-c-03-0-vga

Perf gate — seeding new baseline

No baseline at /home/runner/work/_temp/perf-baseline/docs/perf/baseline_latest/linux-x86_64-xeon-6975p-c-03-0-vga/. The next master push from this host will seed one. Gate is informational this PR.

@jakildev

Copy link
Copy Markdown
Owner Author

declined: sonnet-reviewer/opus @mac-pool-8 blocked checkout: git fetch origin claude/4977-validation-index-split failed: ssh: Could not resolve hostname github.com: nodename nor servname provided, or not known

@jakildev jakildev added the fleet:needs-windows-smoke PR needs windows-debug build + smoke-run validation label Nov 16, 2026
@evin-mac-claude-app evin-mac-claude-app Bot added the fleet:checks-red Info only: approved PR whose head has a failed check of its own; reconcile R12 adds and removes it label Nov 16, 2026
@jakildev

Copy link
Copy Markdown
Owner Author

Merger: cannot auto-resolve mechanically. The PR has
semantic conflicts with current master that need
judgement-level resolution.

Conflicted files:

  • docs/agents/VALIDATION.md — master: c207747f1 render: cache render-verify control records (#5041); PR: 51aa2e358 docs: split the validator index into a short index and area pages

The PR moves a block of validator-index rows out to the new area pages; master edited rows in that same block, so the moved copies in VALIDATION-RENDER*.md / VALIDATION-EDITOR-GUI.md / VALIDATION-PACKAGING.md need master's row changes carried over by hand.

Labeled fleet:semantic-conflict — a worker will
attempt resolution on its next iteration (rebase,
manually resolve, build, push). If the worker also
can't resolve (truly ambiguous, design decision needed),
it will escalate to human:needs-fix.

The fleet:approved label has been removed if it was set
— the PR no longer represents a reviewed state.

SHA pair: master=c207747f13063c82cd64f495987634bc56450e47 × PR=51aa2e3586bd3951968f01f64401d31b8af422b7

— fleet merger

@jakildev jakildev added fleet:semantic-conflict Merger hit non-mechanical conflict; opus-worker resolves or escalates fleet:merger-cooldown Merger touched this PR this iteration; skip next iteration and removed fleet:approved Fleet reviewer approved — ready for human merge labels Nov 17, 2026
@evin-mac-claude-app evin-mac-claude-app Bot added fleet:resolving-mac-pool-1 and removed fleet:checks-red Info only: approved PR whose head has a failed check of its own; reconcile R12 adds and removes it labels Nov 17, 2026
VALIDATION.md is read on most tasks and had grown to one row per render
feature (128 lines, 35.6 KB). It now keeps the cross-cutting and perf
rows, the citing rules and an area table naming every other validator;
the render gates, render feature validators, editor/GUI and packaging
rows move verbatim to four pages beside it. The two section headings
cited by name stay in the index as short pointers to the render page.

test_validation_index.py keeps the area table and the pages in step,
holds the index to 12,000 bytes and keeps the cited headings in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jakildev
jakildev force-pushed the claude/4977-validation-index-split branch from 51aa2e3 to e551852 Compare November 17, 2026 01:41
@jakildev jakildev added fleet:changes-made Agent addressed human feedback — ready for human re-review and removed fleet:semantic-conflict Merger hit non-mechanical conflict; opus-worker resolves or escalates labels Nov 17, 2026
@jakildev

Copy link
Copy Markdown
Owner Author

Resolved semantic conflict: #5041 (c207747) edited the Run cell of the Render regression row, which this PR moves. The PR side of VALIDATION.md was kept, and #5041's cell (--all [--json-out <path> \| --record-control \| --against-control]) is carried onto that row in VALIDATION-RENDER.md. The VALIDATION.md diff from the fork point (2455e32) to master was that one line only. All 75 master validator rows now appear verbatim in the index or an area page.

The diff is docs plus one Python test, with no C++ touched, so no fleet-build was run. These checks were re-run on head e551852:

  • test_validation_index.py: 5/5 OK.
  • fleet-positive-control ... origin/master --include docs/agents: MEANINGFUL, 4 of 5 fail against c207747.
  • lint_instruction_size --against origin/master: none introduced.
  • lint_instruction_refs --against origin/master: none new.
  • test_baseline_layouts.py: all arms passed.
  • ruff and git diff --check: clean.

The PR body's overlap section is updated. #5101, #5110, #5119 and #5124 now edit rows this PR moves. Per the architect ruling, they re-apply those edits on the area pages when they rebase.

Reviewer, please re-evaluate the rebased diff. — worker

@jakildev jakildev removed fleet:merger-cooldown Merger touched this PR this iteration; skip next iteration fleet:resolving-mac-pool-1 labels Nov 17, 2026
@github-actions

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-xeon-6975p-c-03-0-vga

Perf gate — seeding new baseline

No baseline at /home/runner/work/_temp/perf-baseline/docs/perf/baseline_latest/linux-x86_64-xeon-6975p-c-03-0-vga/. The next master push from this host will seed one. Gate is informational this PR.

@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.

Re-review — docs: split the validator index into a short index and area pages (#4977)

Verdict: approve

The semantic-conflict resolution preserves the previously reviewed patch. A range-diff from the reviewed head 51aa2e358 to current head e55185261 shows only the intended Render regression command-cell update from #5041; the PR remains a standalone one-commit change on master.

Acceptance (issue #4977)

All nine criteria remain met on the rebased head. The index is 82 lines / 11,644 bytes; every area page stays below its budget; all 75 validator rows from the current base occur byte-for-byte in the index or an area page; the five index tests pass; the positive control fails 4/5 assertions on HEAD^; instruction reference and size lints introduce nothing; and the perf baseline-layout suite passes all arms.

CI note

Completed checks are green, including Fleet Tests, instruction references, instruction size, Python lint, whitespace, format, header checks, closes lint, and the informational perf gate. At review time linux-build, the Fleet Tests aggregate gate, and all-checks are still pending, so this review does not claim that the full rollup has completed.

Nits (follow-up)

  • PR body § Acceptance evidence — VALIDATION-RENDER.md is still reported as 5,217 bytes; after carrying forward #5041's longer command cell it is 5,278 bytes. The criterion is still comfortably met, so this is evidence bookkeeping only.

Review validation

  • python3 scripts/fleet/tests/test_validation_index.py — 5/5 passed.
  • fleet-positive-control scripts/fleet/tests/test_validation_index.py HEAD^ --include docs/agents — meaningful; 4/5 assertions fail on c207747f1.
  • python3 scripts/lint_instruction_refs.py --against HEAD^ — no introduced findings.
  • python3 scripts/lint_instruction_size.py --against HEAD^ — no introduced offenders.
  • python3 scripts/perf/tests/test_baseline_layouts.py — all arms passed.
  • git diff --check HEAD^ HEAD — clean.

🤖 Reviewed by Codex GPT-5 (review-pr skill, opus review class)

Opus recheck not required (reviewed at opus class).

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 fleet:needs-windows-smoke PR needs windows-debug build + smoke-run validation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: split the validator index into a short index and area pages

1 participant