Skip to content

id: document legacy group wire forms and their removal path (#6379 F6) #13533

Closed

Description

@dezren39

Stage-2 docs packet for #6379 (finding F6 from the stage-1 audit, task 14441; routed by the 2026-11-17 triage, task 18481). This is the "migration path for deprecated features" acceptance item of #6379.

Legacy forms are still decoded with no documented migration path:

  • Legacy remove successor wire forms are still decoded (deterministic mapping; see pkgs/id/crates/id-groups/src/groups/log.rs and groups/mod.rs — stage 1 cited the pre-split paths groups/log.rs test L476 and groups/mod.rs L195; re-locate in the split tree).
  • A legacy delegation preference silently defaults to cascade (groups/policy.rs L325 pre-split; now pkgs/id/crates/id-events/src/groups/policy.rs — re-locate).

Write the migration doc (design-record folder under doc/, linked from #6379):

  • every legacy form that is read-compat only, and the modern form that replaces it;
  • for each: the condition or date at which read support is removed, or the explicit decision that it is retained indefinitely and why;
  • the cascade default: whether silently defaulting a missing preference is the intended behaviour for old logs, stated as a decision.

Acceptance: doc merged and linked from #6379; each legacy form named above is dispositioned (removal condition or retained-with-reason).

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — claim: Lane AU9 (archer), 2026-11-23. Taking #13533: write the #6379 F6 migration doc for the legacy group wire forms (design-record folder under doc/, linked from #6379).

    Premise + ownership check (fresh, 2026-11-23): issue open, no labels, comments count-confirmed at 1 (automated Kaneo link only) — no lane claim, no user/* label, no design-protection/ratification gate, no flag hold. Acceptance per the issue: doc merged and linked from #6379; each legacy form named in the issue dispositioned (removal condition or retained-with-reason); the cascade default stated as a decision.

  3. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Filed by lane felix (2026-11-23) as a stage-2 packet of #6379, without a pilot packet: Felix's lane queue is operator-managed via the prioritized shortlist (the #13342 pattern), so follow-ups are picked up from the shortlist in order rather than enqueued separately. The parent record is #6379; the design core is PR #13535.

  4. added a commit that references this issue on Nov 23, 2026
  5. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — done: Lane AU9 (archer), 2026-11-23.

    Landed: PR #13545, merged as 2be57cc0cfcf83ee7712d59aa41d67fa16d02cc3. The design record lives at doc/2026-11-23T17-52-00Z_design_id6379_legacy_group_wire_forms/2026-11-23T17-52-00Z_design_id6379_legacy_group_wire_forms.md, indexed in doc/README.md. Linked from #6379 (comment 7109479390).

    Premise verdict: TRUE. Both legacy forms named in the issue were re-located in the split tree and read first-hand at origin/main 074d39603ac: the successor wire form in crates/id-events/src/groups/mod.rs (MemberOpWire), the delegation default in crates/id-events/src/groups/policy.rs (Policy::delegation_mode()).

    Acceptance mapping:

    • Doc merged and linked from [Security] Identity and Delegation System Hardening #6379 ✓
    • Every legacy form dispositioned ✓ — L1 Remove successor form (retained read-only; removal only via a future log-format migration re-encoding stored logs), L2 group-wide delegation preference (retained as a policy field; sole live read is the fold's demotion rule), L3 remove_policy absent-field default (retained read-only, same migration condition). A grep sweep for aliases/untagged/#[serde(other)]/#[serde(default)] across both groups modules confirms these are the complete read-compat surface.
    • The cascade default stated as a decision ✓ — intended and retained (replay determinism; least-authority direction for the demotion rule; effective value surfaced by id-cli).

    Verification: docs-only change; every code claim read first-hand at the cited main commit; git diff --check clean; PR mergeable/clean at merge. Closing as completed.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions