Skip to content

design(id): modes & configuration surface — modes, link kinds, storages, tiering as config #9111

Todo
4 of 5 issues completed

Description

@dezren39

Program #9106 (extensible primitives / federation / namespaces), Drew directive 2026-11-12 18:29 CST.
Parent: #9106.

§7. Specify the configuration model: different modes, kinds of links, storages, and built-in tiering expressed as config where behavior, primitives where mechanism. Includes the peer/trust knobs Part B defines and the per-server namespace knobs Part A defines, in one config schema story. Acceptance: design section merged under doc/ (or folded into a named existing design by amendment with the link recorded on the parent epic); open questions recorded with chosen defaults; granular implementation issues filed for anything implementable.

Acceptance criteria

  • A design section covering modes, link kinds, storages, and built-in tiering as one configuration schema story is merged under doc/, or folded into a named existing design by amendment with the link recorded on parent epic: ID/Atlas extensible primitives, federation, namespaces — major design iteration (2026-11-12 directive) #9106.
  • The peer/trust knobs (Part B) and per-server namespace knobs (Part A) named in the body are all accounted for in the schema story.
  • Open questions are recorded with chosen defaults.
  • Granular implementation issues are filed for anything implementable that the design settles.

Sub-issues

Sub-issues

4 of 5 Issues completed
Loading 5 sub-issues

Activity

  1. added
    app/id
    kind/design
    epic/id-program
    on Nov 13, 2026
  2. developing-today commented on Nov 13, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    state: triaged
    lane: any-b, worker: repo-worker-code, task 18855

    Triage verdict for #9111 (checked fresh this shift, 2026-11-17): real design work, deliberately sequenced later by the program's own plan — not yet actionable, and not lane work.

  4. added
    priority/normal
    effort/m
    status/triaged
    on Nov 17, 2026
  5. 23 remaining items

  6. dezren39 commented on Nov 25, 2026

    @dezren39
    MemberAuthor

    Progress on slice 9111-03: the link plane (record §3.3) landed in #15226.

    • links.sync, links.query and links.send_only hold per-kind defaults: enabled, adapter, retention_class, plus sync_scope on sync and timeout_ms on query.
    • Without links, every configurable kind is off on the iroh adapter; the digest of existing documents is unchanged.
    • links.control is always on and takes no keys. An unadvertised adapter (this build advertises only iroh) is a load error.

    Per-operation peers[].overrides is up next as a separate PR. After that, the namespaces registry reference (§7.4) is the last open part of 9111-03.


    Generated by Claude Code

  7. added a commit that references this issue on Nov 26, 2026
  8. dezren39 commented on Nov 26, 2026

    @dezren39
    MemberAuthor

    Progress (lane 3): per-operation peer overrides landed in #15274 (5637fbf).

    • peers[].overrides maps a non-relay operation (sync.send, sync.receive, query.in, query.out) to { adapter, timeout_ms }.
    • Rejected: overrides on relay, on an operation the peer isn't granted, an unadvertised adapter, or an out-of-range timeout.
    • id config explain lists each override with source document; the schema has $defs.operation_override.

    Remaining from slice 03: the namespaces reference (§7.4), which still needs a concrete shape for the server-local registry reference.


    Generated by Claude Code

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

    @dezren39
    MemberAuthor

    Progress (lane 3): the namespaces reference landed in #15379 (8e98a18). That was the last open part of slice 9111-03.

    • namespaces.registry names the server-local namespace registry (design(id): namespace model + per-server namespace registry #9116) that names resolve in: builtin (the default, the built-in registry only), server:<id> or handle:<handle>, with the ID or handle 1 to 255 visible ASCII characters.
    • Absent or null takes the default, a malformed reference is InvalidNamespaceRegistry, unknown keys fail closed, and a document without the section keeps its digest.
    • id config explain lists namespaces.registry with its source; the schema has $defs.namespaces. The registry's records stay design(id): namespace model + per-server namespace registry #9116's signed data and are never written in config.

    Slices 9111-04 (negotiation and downgrade rejection) and 9111-05 (staged activation and rollback) already have their own code and tests on main (config_downgrade, config_rollout).


    Generated by Claude Code

  11. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    Contributor

    code-h triage — 2026-11-26 (Fleet task 24748)

    Fresh review confirms #9111 remains an active, open implementation tracker, not a resolved design issue. The design record landed in PR #13759, and the issue comments document shipped slices F1, F2, most of 9111-03, plus 9111-04/05. The remaining 9111-03 tracker #10194 is blocked on its native dependency #9084 (fresh status OPEN); its queue task 17042 is formally dependency-blocked, so no duplicate work was started here.

    One separate design acceptance item is still missing: §10 names 9111-F3 (canonical JSON loader rejecting duplicate keys), while id-config::ConfigDocument::parse currently calls serde_json::from_str directly. The existing duplicate-key helper is in id-core, but id-config is deliberately a leaf crate, so the dependency boundary needs to be preserved or explicitly justified. I routed this narrow gap as live Fleet task 25299 in repo-health-code-pilot.

    Verdict: leave #9111 open; task 25299 owns F3, and #10194 remains blocked on #9084. No code was changed in this triage pass.

  12. developing-today commented on Nov 27, 2026

    @developing-today
    Contributor

    Implemented narrow 9111-F3 slice in draft PR #15858: ConfigDocument::parse now validates duplicate keys at every nesting depth before deserializing, without adding id-core or changing id-config's leaf-crate dependency boundary. Tests cover duplicate root/nested keys, valid JSON, and continued unknown-field rejection. Local verification: cargo test -p id-config (4 passed); cargo fmt --check -p id-config. PR awaits remote Fleet run and review; #9111 remains open for other design/implementation scope.

  13. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    9111-F3 implementation evidence (task 25299, lane oc-code-03): PR #15858 implements duplicate-key rejection in ConfigDocument::parse (pkgs/id/crates/id-config/src/lib.rs) via a local serde pre-pass — no new dependencies, leaf-crate boundary preserved. Exact-head (eec31f77) verification: cargo test -p id-config 4 passed; 11 config integration suites 115 passed / 0 failed; fmt clean; trial merge into current main clean. PR comment #15858 (comment) has the full report. Merging #15858 now; this tracker stays open for the remaining design/implementation scope.

  14. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    🤖 Census note · lane CEN-C07, 2026-11-29 full issue census (firsthand recheck)

    Verdict: blocked — active tracker; the one remaining tracked slice is dep-blocked on #9084.

    State: design record landed (PR #13759). Implementation slices landed on main: F1 (#14813), F2 explain output (#14878), 9111-03 planes — peers (#14905), storage (#15195), tier map (#15204), fanout.remotes (#15210), link plane (#15226), per-operation peer overrides (#15274), namespaces reference (#15379, last open part of 03) — plus 9111-04 (downgrade rejection) and 9111-05 (staged activation/rollback). F3 (duplicate-key rejection in ConfigDocument::parse, leaf-crate boundary preserved) was implemented in PR #15858 with exact-head verification (id-config 4 passed, 115 integration tests passed) and merged per the 2026-11-27 oc-code-03 note.

    Blocker: remaining tracker #10194 is dependency-blocked on #9084 (which itself waits only on #12808 — see that issue's census note). When #9084 closes, #10194 unblocks and this tracker's remaining scope should be re-checked for closure.

    Strengths: the comment thread is a model progress log — every slice landed with its PR, semantics, and test evidence; the body's acceptance maps directly to the design record.

    Census actions: removed stale status/triaged (live state is in-review/active, per the slice traffic). Kept priority/normal, status:in-review, kind/design, app/id, epic/id-program.

  15. removed
    status/triaged
    on Nov 29, 2026
  16. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Second-pass census note (group code-09101-09459 audit). A first census note from lane CEN-C07/CEN-C08 is already on this issue today; this pass re-verified the live state, labels, body, and newest comments firsthand and applied the residual fixes below — it does not repeat the earlier note's verdict or blocker record, which stand.

    Gaps found: Acceptance present only as a prose sentence; no ## Acceptance criteria section.

    Strengths found: Detailed, self-contained body with named parent/source and scope; a first census note from lane CEN-C07/CEN-C08 is already on this issue today (2026-11-29) with a firsthand verdict and blocker record, re-verified live by this pass.

    What this pass did: Appended a ## Acceptance criteria section to the body (original text unchanged), formalising the acceptance seed/scope already stated in the body.

  17. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): full recheck of this issue — body, all 20 comments, labels, and native blocked_by edges read firsthand; blocker states verified live today. A census note from lane CEN-C07 is already on this issue today; per Drewry's order I rechecked everything firsthand anyway — this comment is my own record and lists only what I verified or changed.

    STRENGTHS

    GAPS

    • no explicit acceptance criteria in the body (tracker/starter pattern — see REMAINS).

    FIXES I APPLIED

    • None needed from me: a sibling census lane's fixes today were verified in place, and my recheck found the labels/edges consistent.

    REMAINS

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/ideffort/mepic/id-programkind/designpriority/normalstatus/in-review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions