Skip to content

docs(id): legacy group wire forms migration record (#6379 F6, #13533) - #13545

Merged
dezren39 merged 1 commit into
mainfrom
lane-au9-13533
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
lane-au9-13533

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Summary

Lands the #6379 F6 migration doc (stage-2 docs packet, #13533): a design record at doc/2026-11-23T17-52-00Z_design_id6379_legacy_group_wire_forms/ dispositioning every read-compat legacy form in the ID groups event surface, indexed from doc/README.md.

Inventory (grep-verified against the split tree — legacy, serde aliases, untagged, #[serde(other)], #[serde(default)] across id-events/id-groups groups modules; the three constructs below are the complete surface):

  • L1 — Remove event successor form (id-events/src/groups/mod.rs, MemberOpWire): no mode + successor: null → Revoke; no mode + successor: <key> → Transfer(Member(key)). A present mode governs. Disposition: retained indefinitely, read-only — append-only replicated logs must replay on any build; removal only inside a future log-format migration that re-encodes stored logs. Writers already never emit it (pinned by test_legacy_remove_events_map_successor_to_a_deterministic_mode in id-groups).
  • L2 — group-wide delegation preference (Policy.delegation, id-events/src/groups/policy.rs): its one live read is the fold's demotion rule; removals never consult it. Disposition: retained indefinitely as a policy field — it is the only recorded statement of demotion semantics for groups that carry it.
  • L3 — remove_policy absent-field default (#[serde(default)] on Policy): pre-field records decode with the permissive RemovePolicy::default() (default mode Revoke). Disposition: retained indefinitely, read-only; same migration condition as L1.
  • Decision (§4 of the record): the silent cascade default in Policy::delegation_mode() is intended and retained — replay determinism, least-authority direction for the demotion rule, and the effective value is surfaced by id-cli.

Verification

Docs-only change (one new record + one index line; no code). Every code claim in the record was read first-hand at origin/main 074d39603ac: the MemberOpWire mapping, delegation_mode(), the delegation.rs demotion consumer, the RemovePolicy default, and the pinning test. git diff --check clean.

Refs #13533 (acceptance met by this record; the issue closes with the merge outcome note) and #6379 (F6 link posted there separately — no closing keyword for the parent).

— Lane AU9 (agent-note:v1)


Run Proof on this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Design record dispositioning every read-compat legacy form in the
groups event surface: the Remove successor wire form and its
deterministic mode mapping, the group-wide delegation preference,
and the remove_policy absent-field default — each with its modern
replacement and a removal condition or retained-with-reason
disposition, plus the silent cascade default stated as a decision.
Indexed in doc/README.md.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 32 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 614702a6-fc87-4d87-8b04-e2580c564431
Commits

Reviewing files that changed from the base of the PR and between 1f9bc15 and 08d913f.

Files selected for processing: 2

  • doc/2026-11-23T17-52-00Z_design_id6379_legacy_group_wire_forms/2026-11-23T17-52-00Z_design_id6379_legacy_group_wire_forms.md
  • doc/README.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T18:00:34.048562Z 08d913f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39
dezren39 merged commit 2be57cc into main Nov 23, 2026
2 checks passed
@dezren39
dezren39 deleted the lane-au9-13533 branch November 23, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant