GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pkgs/id crate split step 6b: extract id-directory (#4409) by dezren39 · Pull Request #9181 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 13, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Step 6b of #4409 (umbrella #3447), sequenced after 6a (PR #9153, merged). The directory cluster moves into a new workspace member crates/id-directory:

  • From id-worlds: directory, directory_auth, directory_mail, directory_view
  • From the facade: directory_log, invite, invites, seitan

The facade and id-worlds re-export every module at its historical path (id::directory*, id_worlds::directory*), so no call site changed.

Dependency direction (design seam 10): id-directory depends only downward — id-core (petname, hex, test forgeries), id-caps (the WorldScopes vocabulary; step 6a moved it there for this), id-events (groups::Role), id-sync (artifact, envelope outbox). It never depends on id-worlds. The reverse edge is the one deliberate deviation from the design map, already flagged in the id-worlds manifest as step 6s owed re-homing: id-worlds depends on id-directory, because WorldCore holds a Directory as its own persisted state and world_store opens/replays it beside the journal — the same pattern by which WorldCore holds id-core state types (petname). The alternative, a trait-object inversion of the whole Directory surface, is not the fleet pattern and would churn every world actor path for no behavioural gain.

Orphan-rule move: impl ArtifactSink for Directory moves from id-worlds session_host into directory.rs (the crate that owns the type); session_host keeps SessionHost for WorldHub. Two widenings: Directory::apply_replica_fact → pub (world/replica.rs calls it); directory_view::level_name → pub (needed by id-web in 6c; one of the pre-existing suite-B breakage sites).

Verification (laptop, rebased on current main af5bffbe44):

  • Members chunk (cargo test --workspace --exclude id --no-fail-fast): 2186 passed / 1 failed — the failure is only the pre-existing id: frames byte-refusal test fails on main (RequestTooLarge vs BudgetExhausted) — blocks id build + nixos-integration check #8354 frames test in id-core.
  • Facade (cargo test -p id): 1668 passed / 0 failed / 19 ignored. Baseline facade was 1704/0/19; the delta is exactly the 37 directory-log/invite/seitan tests that moved into id-directory (counted in the members chunk now) plus upstream test additions from trains that landed during the step.
  • Fuel canary: FUEL_BUDGETS byte-identical to the step-0 baseline snapshot (diff empty).
  • Nix id-lib build: checked for parity with main (main itself fails that build on the Roc-cache sandbox test; see PR #9153s note).

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
repo-worker-tmp-code-b
pkgs/id crate split step 6b: extract id-directory (#4409)
2124020
The directory cluster moves into a new crates/id-directory member:
directory, directory_auth, directory_mail, directory_view (from
id-worlds) and directory_log, invite, invites, seitan (from the
facade). The facade and id-worlds re-export every module at its
historical path, so no call site changed.

Dependencies point one way down (design seam 10): id-directory
depends on id-core (petname, hex, forgeries), id-caps (the
WorldScopes vocabulary, moved in 6a), id-events (groups::Role) and
id-sync (artifact, envelope_outbox) - never on id-worlds. The
relationship inverts the other way: id-worlds now depends on
id-directory, because WorldCore holds a Directory as its own
persisted state (world_store opens/replays it beside the journal) -
the petnames pattern, and the re-homing the id-worlds manifest
already said step 6 owed. The ArtifactSink-for-Directory impl moves
with the type (orphan rule) from session_host into directory.rs;
session_host keeps the SessionHost-for-WorldHub impl. One widening:
Directory::apply_replica_fact becomes pub (world/replica.rs calls
it), and directory_view::level_name becomes pub ahead of step 6c.

Behaviour-preserving throughout.
@dezren39
dezren39 requested a review from a team as a code owner November 13, 2026 02:52
@coderabbitai

coderabbitai Bot commented Nov 13, 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 25 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: 20e7a6e9-7125-4d82-a453-25f9e2487d9a
Commits

Reviewing files that changed from the base of the PR and between af5bffb and 2124020.

Files ignored due to path filters: 1

  • pkgs/id/Cargo.lock is excluded by !**/*.lock
Files selected for processing: 23

  • pkgs/id/Cargo.toml
  • pkgs/id/crates/id-directory/Cargo.toml
  • pkgs/id/crates/id-directory/src/directory.rs
  • pkgs/id/crates/id-directory/src/directory_auth.rs
  • pkgs/id/crates/id-directory/src/directory_log.rs
  • pkgs/id/crates/id-directory/src/directory_mail.rs
  • pkgs/id/crates/id-directory/src/directory_view.rs
  • pkgs/id/crates/id-directory/src/invite.rs
  • pkgs/id/crates/id-directory/src/invites/event.rs
  • pkgs/id/crates/id-directory/src/invites/invitation.rs
  • pkgs/id/crates/id-directory/src/invites/mod.rs
  • pkgs/id/crates/id-directory/src/lib.rs
  • pkgs/id/crates/id-directory/src/seitan/accept.rs
  • pkgs/id/crates/id-directory/src/seitan/admit.rs
  • pkgs/id/crates/id-directory/src/seitan/derive.rs
  • pkgs/id/crates/id-directory/src/seitan/freshness.rs
  • pkgs/id/crates/id-directory/src/seitan/mod.rs
  • pkgs/id/crates/id-directory/src/seitan/tests.rs
  • pkgs/id/crates/id-directory/src/seitan/token.rs
  • pkgs/id/crates/id-worlds/Cargo.toml
  • pkgs/id/crates/id-worlds/src/lib.rs
  • pkgs/id/crates/id-worlds/src/session_host.rs
  • pkgs/id/src/lib.rs
  • 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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

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-13T02:55:41.531939Z 2124020 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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 13, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 21240208b4

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pkgs/id/Cargo.lock
Comment on lines +4017 to +4018
"id-sync",
"iroh-tickets",

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 13, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Regenerate the lockfile with all id-directory dependencies

The new manifest declares iroh, iroh-base, and serde_bytes as dev-dependencies, but the id-directory package entry in Cargo.lock omits all three. Cargo therefore needs to rewrite the lockfile, causing locked/frozen builds to reject this checkout before compilation, including the lock-enforced Nix packaging configured in pkgs/id/flake.nix. Cargo's metadata --help confirms that --locked means “Assert that Cargo.lock will remain unchanged.” Regenerate and commit the lockfile against the final manifest.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39

dezren39 commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

Nix gate: nix build .#id-lib on this branch compiles the full workspace and its check phase fails on exactly the same single pre-existing test as pristine main (cli_tests::world_new_scaffold_compiles_with_pinned_roc, Roc cache AccessDenied in the sandbox; 93 passed / 1 failed in cli_integration, zero compile errors) — parity with main, as with 6a.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit 0e68fb4 into main Nov 13, 2026
14 of 15 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the split/step6b-id-directory branch November 13, 2026 03:10
This was referenced Nov 13, 2026
id: extract id-web crate (split step 6c, #4409) #9298
Merged
pkgs/id crate split — step 6: extract id-directory, then id-web #4409
Closed
pkgs/id: split the monolith crate into sub-crates along module seams (prioritized by Drew 2026-11-01) #3447
Closed
[Architecture] Refactor Web UI into Separate Crate #6382
Closed
@dezren39 dezren39 mentioned this pull request Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
@dezren39 dezren39 added the audit:completed-later Gap completed by later merged PR label Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:completed-later Gap completed by later merged PR

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.