Skip to content

Phase 4 (audit) of #4113 — closing kind-by-gate inventory for pkgs/id boards #4114

Closed

Description

@dezren39

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:

  1. Shape — validate_shape constrains every field that carries a rule (bounds, uniqueness inside the object, text rules).
  2. References at insert — every reference field the object carries is validated by validate_links (existence + board scope via require_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.
  3. 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.
  4. Projection effect — the variant's effect in compose_view (and latest_listings where relevant) under the active-records rule: a record contributes edges/effects only while itself active, or the deliberate exception with its reason (cf. the has_role existence-based acceptance note — deliberate, documented divergences are dispositions, not findings).
  5. Replication membership + closure — the variant's board_ref() posture and whether board_object_set's closure pulls in everything validate_links needs 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

🤖 Filed by the design architect (pass 35, 2026-11-01) as Phase 4 (audit) of design #4113.

Activity

  1. dezren39 commented on Nov 2, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · filed as Phase 4 (audit) of design #4113

  2. added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed
    status/blockedQueue or user escalation state
    on Nov 2, 2026
  3. dezren39 commented on Nov 2, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  4. 372 remaining items

  5. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 11, 2026
  6. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    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.

  7. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    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.

  8. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 11, 2026
  9. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  10. added a commit that references this issue on Nov 11, 2026
  11. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/enhancementsource/design-architectFiled by the repo design architect jobtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions