Skip to content

Phase 8: open design items, retention, multi-device, and views - #206

Merged
dezren39 merged 17 commits into
mainfrom
phase-8
Oct 14, 2026
Merged

dezren39 merged 17 commits into
mainfrom
phase-8

Conversation

@dezren39

Copy link
Copy Markdown
Member

Phase 8 of the id design (open design items, retention, multi-device, and views).

  • P8.2 Retention & pruning: EventStore::prune_behind_cut respects open removals (needed for membership voidness check) and open frontiers, pruning unneeded events behind a causal cut while maintaining invariants and query fold outcomes. (4 new integration tests in tests/retention_pruning.rs).
  • P8.3 Multi-device: account keys authorize device keys via signed device.add and device.revoke capability delegations. Removing an account severs all its device authorizations under cascade rules. Device counting helpers active_device_count and group_device_count. (6 new integration tests in tests/multidevice.rs).
  • P8.4 Views: extended DirectoryView and render_text to render waiting events, voided events, and frozen chains with their typed rejection reasons (Reason::{Voided, Waiting, Frozen}), keeping HTTP JSON and SSH text in step. (6 new integration tests in tests/views_explorer.rs).
  • P8.5 Cross-world rules: verified and completed in src/groups/worlds.rs (9 unit tests in groups::worlds).
  • P8.6 Warnings UI: wired group size tier (tier=0, 96, 128, 1000) and churn warnings into id group policy and id group list views using Evaluator. (3 new integration tests in tests/cli_warnings.rs).
  • Explicitly skipped/deferred: P8.1 time & witnesses (deferred per task 09); P8.7 BeeKEM (skipped per owner confirmation); P8.8 lint sweeps (deferred per plan).

Targeted tests: all pass. Lib suite: 1259 passed, 0 failed, 4 ignored.

@dezren39
dezren39 requested a review from a team as a code owner October 14, 2026 00:19
@dezren39
dezren39 merged commit 292d3c7 into main Oct 14, 2026
3 of 5 checks passed
@dezren39
dezren39 deleted the phase-8 branch October 14, 2026 00:20
@coderabbitai

coderabbitai Bot commented Oct 14, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 450f063a-05af-49e1-b6cc-9d52d40ed35a
📥 Commits

Reviewing files that changed from the base of the PR and between e6a5123 and acf0d94.

📒 Files selected for processing: 13
  • doc/2026-10-13T23-44-27Z_phase_8_open_design_items/2026-10-13T23-44-27Z_phase_8_open_design_items.md
  • pkgs/id/src/commands/group.rs
  • pkgs/id/src/directory_view.rs
  • pkgs/id/src/encryption/warnings.rs
  • pkgs/id/src/event_store/mod.rs
  • pkgs/id/src/groups/actions.rs
  • pkgs/id/src/groups/delegation.rs
  • pkgs/id/src/groups/fold.rs
  • pkgs/id/src/groups/mod.rs
  • pkgs/id/tests/cli_warnings.rs
  • pkgs/id/tests/multidevice.rs
  • pkgs/id/tests/retention_pruning.rs
  • pkgs/id/tests/views_explorer.rs
 ____________________________________________
< Let's git serious about your code quality. >
 --------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

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