Skip to content

fix(id-web): seitan admission lands in the live world directory - #11485

Merged
dezren39 merged 1 commit into
mainfrom
claude/seitan-live-world-directory-8538
Nov 18, 2026
Merged

dezren39 merged 1 commit into
mainfrom
claude/seitan-live-world-directory-8538

Conversation

@dezren39

@dezren39 dezren39 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Before: Seitan invite admission only knew the server-config directory. An account that lived in a running world's directory got a 403 unknown_account, and a verification written to the server-config directory never reached the live world.

After: Admission checks the invite's world directory first and the server-config directory second. When the world holds the account, AccountVerified is appended to the world's directory, so the live world sees it right away. Otherwise the server-config directory is verified as before.

How: A new WorldCommand::DirectoryAccount / WorldHandle::directory_account reports whether a world's directory holds an account (and whether it is verified). seitan_admit_handler leases the invite's world, asks it, then admits and writes to whichever directory holds the account. Busy or unavailable worlds return 503; an unknown world falls back to the server-config path.

Testing: cargo test -p id-web (719 passed), including two new tests: admission lands in the live world directory, and an account present in both directories is verified only in the world. Clippy on id-web and id-worlds with --all-targets --all-features shows no errors.

Closes #8538


Generated by Claude Code


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

Admission now checks the world's own directory first and the
server-config directory second. AccountVerified is appended to the world
directory when it holds the account, so a live world sees the
verification without a restart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • 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

@dezren39
dezren39 marked this pull request as ready for review November 18, 2026 04:10
@dezren39
dezren39 requested a review from a team as a code owner November 18, 2026 04:10
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 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-18T04:11:40.605670Z 51ecfaa Draft marked ready
ℹ️ 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 70c19c2 into main Nov 18, 2026
@dezren39
dezren39 deleted the claude/seitan-live-world-directory-8538 branch November 18, 2026 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants