Repository navigation
Description
Phase 4 (audit) of design #4113 — closing kind-by-gate inventory for pkgs/id boards
Parent design: #4113 ("one signed set, one meaning — BoardGraph's gates hold at insert, projection and replication"). Design doc: files/designs/code-id-boardgraph-one-signed-set.md in the keep-the-four-repos-healthy goal workspace. Audit baseline: origin/main d9636237.
Gated on Phases 1–3 of the design: Phase 1 = #3963 + #4109 (insert gates: embed_ref validation; second-first BoardListing refused), Phase 2 = #4003 + #3964 (projection determinism: active-only attestation edges; deterministic Rules resolution), Phase 3 = #4081 (fork record in the fork board's replication set + closure). Do not start the inventory before all three land.
Scope
A kind-by-gate inventory for pkgs/id/src/boards.rs: for every BoardObject variant (Board, Rules, Forum, Thread, Post, Attachment, Membership, RoleAttestation, ModerationAction, BoardFork, Supersede, Theme, BoardListing, Tombstone), disposition each of the design's five gates, with the code site or test that proves it:
- Shape —
validate_shapeconstrains every field that carries a rule (bounds, uniqueness inside the object, text rules). - References at insert — every reference field the object carries is validated by
validate_links(existence + board scope viarequire_scoped/require_board, kind checked where a kind rule exists). List each variant's reference fields explicitly; a field with no validation is a finding, not an oversight to leave silent. - Chain / resolution posture — one of: chain head unique at insert (listings) / competing versions resolved by a stated deterministic rule (rules) / not versioned, with the reason.
- Projection effect — the variant's effect in
compose_view(andlatest_listingswhere relevant) under the active-records rule: a record contributes edges/effects only while itself active, or the deliberate exception with its reason (cf. thehas_roleexistence-based acceptance note — deliberate, documented divergences are dispositions, not findings). - Replication membership + closure — the variant's
board_ref()posture and whetherboard_object_set's closure pulls in everythingvalidate_linksneeds for a fresh graph to accept it (the Board/Theme/BoardFork dependency pattern).
Record the inventory as a table in the boards.rs module header doc (the checklist the next object kind is reviewed against), and post a summary on design #4113.
Acceptance criteria
- The inventory table is in the
boards.rsmodule header doc, covering every variant × the five gates above, each cell dispositioned (holds / fixed here / filed follow-up / deliberately different with reason). - A summary with any findings is posted on design Design: one signed set, one meaning — BoardGraph's gates hold at insert, projection and replication (pkgs/id) #4113.
- Any confirmed same-shape gap (an unvalidated reference field, an undispositioned versioned kind, a variant missing from its board's replication set) is either fixed under this issue — only if small and within one variant — or filed as a named follow-up issue linked from Design: one signed set, one meaning — BoardGraph's gates hold at insert, projection and replication (pkgs/id) #4113. Never left as a comment-only finding.
- No behaviour changes beyond the dispositions taken; existing boards tests still pass (CI).
🤖 Filed by the design architect (pass 35, 2026-11-01) as Phase 4 (audit) of design #4113.
Activity
dezren39 commentedon Nov 2, 2026
🤖 Agent note · filed as Phase 4 (audit) of design #4113
status/blockedon Phases 1–3 landing — Phase 1 = id(boards): Post embed_ref is never validated — dangling and cross-board game-post references are accepted into BoardGraph #3963 + id(boards): a second 'first' BoardListing (v1, supersedes=None) is accepted for the same host — publication state falls to the content-hash tie-break #4109, Phase 2 = id(boards): compose_view applies supersedes edges from superseded attestations — a nullified revocation still revokes #4003 + id(boards): Rules revision numbers are not unique per board — two different revision-1 rule texts coexist in one graph #3964, Phase 3 = id(boards): BoardFork records are in no board's replication set — fork provenance never replicates and replicas still report Complete #4081. Do not start the inventory before all three land.BoardObjectvariant against the five gates (shape / references at insert / chain-or-resolution posture / projection effect under the active-records rule / replication membership + closure); deliberate documented divergences (e.g. thehas_roleexistence-based acceptance note) are dispositions with reasons, not findings; a confirmed same-shape gap is fixed here only if small and within one variant, else filed as a named follow-up linked from Design: one signed set, one meaning — BoardGraph's gates hold at insert, projection and replication (pkgs/id) #4113.dezren39 commentedon Nov 2, 2026
🤖 Agent note · picked up
372 remaining items
dezren39 commentedon Nov 11, 2026
Transition: parked
Task: 6019 · Worker: repo-worker-code · Lane: any-o
Reason: PR #8374 still has 10 pending checks; no failures reported. Recheck after 20 minutes, review and merge only once checks are green, then verify issue closure.
dezren39 commentedon Nov 11, 2026
agent-note:v1 — state: parked (CI wait) — lane any-b, task 6019.
Fresh revalidation 2026-11-11: gate issue #4109 is now CLOSED (all five prerequisites #3963/#4003/#3964/#4081/#4109 closed), so the earlier do-not-start gate no longer binds. PR #8374 (docs(id/boards): kind-by-gate inventory + resolve_rules active-records fix) is OPEN with CI pending and no Codex findings; prior lane recorded boards tests 37/37 local pass. Parked on CI: merge when green, verify issue #4114 closure, then complete task 6019.
dezren39 commentedon Nov 11, 2026
🤖 Agent note · picked up
direct(lane row 299)resolve_rulesactive-records fix) to merge and close out task 6019.4a8584094f(1 file,pkgs/id/src/boards.rs, +161/−39); Codex review on that head completed with no findings; checks: 1 success, CodeRabbit neutral, rest queued in the runner stall, 0 failed.4a8584094fin the existing worktree~/git/fleet/queue-6019-4114, then merge PR docs(id/boards): kind-by-gate inventory (#4114) + resolve_rules active-records fix #8374 under the standing merge authority, verify issue Phase 4 (audit) of #4113 — closing kind-by-gate inventory for pkgs/id boards #4114 closes, and complete task 6019.fixed_merged.Merge pull request #8374 from developing-today/queue/6019-4114-boards…
dezren39 commentedon Nov 11, 2026
🤖 Agent note · done
directpkgs/idboards (issue Phase 4 (audit) of #4113 — closing kind-by-gate inventory for pkgs/id boards #4114).1670d42827b298d963fd11923be8fdd9a3f973db(now the head ofmain). The PR carries the kind-by-gate inventory in thepkgs/id/src/boards.rsmodule header (all 15BoardObjectvariants against the five gates) and the one audit finding's fix:resolve_rulesnow excludes actively-supersededRulesobjects via the sharedsuperseded_objectsfrontier, with the regression testsuperseded_rules_are_not_resolved.cargo test --lib boards::in the PR worktree at head4a8584094f: 37 passed, 0 failed (including the rules-resolution proptest), andsuperseded_rules_are_not_resolvedpasses by name. Codex review on head4a8584094fcompleted with no findings. PR checks at merge: 1 success, CodeRabbit neutral, the rest queued in the fleet runner stall with 0 failures — merged under the standing merge authority (CI runs on main). Fix verified present onmainafter the merge (7 matches for the new helper/test inpkgs/id/src/boards.rsvia the API).