Repository navigation
Description
World-specific implementation follow-on from the #3397 design (doc/2026-11-01_design_id3397.md, PR #3853), Phase 2 of its phased plan.
Scope: partition-scoped world lookup (jurisdiction, name) with no cross-partition existence oracle; fail-closed admission guards for reads/writes/invites/WebSocket/background/admin operations against the world's stored jurisdiction; participant-list and membership-metadata authorization equal to world reads; shard/coordinator jurisdiction inheritance (creation rejects a different jurisdiction); the explicit guest-grant seam, disabled until Drew settles the guest-membership policy (open question 1 on #3397).
Not this issue: #3400 covers account/user-store routing and object entry guards — this issue is the world-specific routing/admission layer that #3400 does not fully represent (per the #3397 doc, Phase 2 note).
Authority boundary: #3397 is design-only and is not an implementation authorization. Implementation ordering follows the doc: this phase depends on Phase 0 (#3403 provisioning gate evidence via #2285) and Phase 1 (#3399 authoritative jurisdiction records), and on #3400's routing foundation.
Acceptance: negative tests from the #3397 doc's matrix pass for this slice — wrong-jurisdiction read/write/invite uniformly denied with no existence signal; foreign account with no/expired/revoked guest grant denied incl. participant metadata; same-name world in another partition indistinguishable from nonexistent; shard assignment naming a different jurisdiction rejected.
Acceptance criteria
- Wrong-jurisdiction read/write/invite is uniformly denied with no existence signal (same-name world in another partition is indistinguishable from nonexistent).
- A foreign account with no, expired, or revoked guest grant is denied, including participant-list and membership metadata.
- Shard/coordinator creation naming a different jurisdiction than the world's stored jurisdiction is rejected.
- The guest-grant seam ships disabled until the guest-membership policy (open question 1 on code issue id: design: jurisdiction-partitioned hosted worlds and world blobs #3397) is settled.
- Dependencies hold: Phase 0 (id: gate hosted jurisdiction provisioning on verified DO and R2 support #3403 via id: PoC: verify DO jurisdiction mechanics and confirm vendor residency guarantees #2285) and Phase 1 (id: add immutable jurisdiction and migration metadata to hosted directory #3399) evidence has landed, and id: enforce restricted jurisdiction routing and object entry guards #3400's routing foundation is in place.
Activity
dezren39 commentedon Nov 1, 2026
Intake review
Related: design code issue #3397 (PR #3853) Phase 2; depends on #3403/#2285 (Phase 0 provisioning gate evidence), #3399 (Phase 1 jurisdiction records), and #3400 (account routing foundation — adjacent, not a substitute).
Notes: The issue body already carries this slice's acceptance in prose (the #3397 doc's negative-test matrix); the appended section restates it as the canonical checklist. The guest-grant seam ships disabled: the guest-membership policy is open question 1 on code issue #3397, which sits in Drew's lane — nothing in this slice should guess it.
Risks: The no-existence-oracle requirement is subtle: uniform denial must be indistinguishable across read/write/invite/WebSocket/background/admin paths, including participant metadata — one leaky path defeats the partition boundary.
Suggested approach: Build after Phase 0/1 land; implement admission as a single fail-closed guard consumed by every operation path, and write the wrong-jurisdiction tests against each path separately.
— fleet monitor intake enrichment, 2026-11-01 run (protocol §5). Acceptance criteria appended to the body where missing; labels normalized.
developing-today commentedon Nov 3, 2026
agent-note:v1
state: triaged (coverage pass)
Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
Found via: coverage pass 2026-11-03
dezren39 commentedon Nov 3, 2026
🤖 Agent note · picked up
124 remaining items
feat(id): partition-scoped world routing guard core (#3898 slice 1) (#…
feat(id): fence durable world journals by immutable partition (#3898 …
feat(id-worlds): partition-scoped world open and discovery peek (#3898 …
feat(id): serve worlds inside one partition with --world-partition (#…
dezren39 commentedon Nov 26, 2026
Lane 8 progress, all merged to main:
open_world_in_partitionandworld_bound_to_partition, so the fence covers the whole world open and discovery can treat foreign, legacy and malformed worlds as absent.id serve --world --world-partition <label>keeps a server's worlds in one partition: binds new worlds, opens through the fence, and hides other worlds from exists, list and admin create.Against the acceptance list:
Still open: supplying the caller's home jurisdiction from the #3399 directory to the session path, partition-keyed hub slots for a server serving more than one partition, and calling the shard check from coordinator creation.
Generated by Claude Code
dezren39 commentedon Nov 26, 2026
Xaltha lane (hourly work-loop, 2026-11-26) drew task 13810 via
fleet agent nextand revalidated fresh — the dependency picture in the task packet is stale, and the earlier parks are superseded:Landed: prerequisites #2285, #3403, #3399, #3400 are all CLOSED. Phase 2 slices 1–4 are MERGED to main today (2026-11-26, Lane 8): #15441 (partition guard core: wrong partition resolves like a missing name, guest-grant seam disabled,
check_shard_partition), #15460 (durable journal fence), #15466 (open_world_in_partition/world_bound_to_partition), #15476 (id serve --world-partitionsingle-partition serving: exists/list/admin-create all partition-scoped).Claim check: no open PR references #3898. Adjacent in-flight work: PR #15567 (oc-code-04, #15479) is changing the hosted-worker front-door binding-context surface — the same surface a caller-home-jurisdiction bridge would touch.
Remaining acceptance items, and why none is a safe independent slice right now:
check_shard_partitionhas zero production callers and there is no shard/coordinator creation path in the Rust crates to call it from (the id-worldsCoordinatoris the id: implement: journaled region-seam export/import #3870 region-handoff machine, not shard creation). Wiring it requires a new creation API, not a call-site fix.worlds/<name>, one immutable journal partition binding per name), so a single server cannot yet hold the same name in two partitions; this needs a partition-scoped storage-layout decision before hub keying means anything.No code changed this run; no owner decision is awaited (the guest-membership policy is already settled: seam ships disabled). Resume when #15567 lands (for item 1) or a storage-layout / shard-creation design is recorded (items 2–3), then scope the next slice against the remaining criteria above.
developing-today-fleet commentedon Nov 26, 2026
Queue Lane FI (Muse sandbox seat, hourly work-loop) drew task 13810 via
fleet agent nextand revalidated fresh — premise and ownership check passed (issue OPEN, no held/user/do-not labels, no open PR references #3898, no competing claim on this issue), but no safe independent slice exists this run. One fact changed since the Xaltha park at 16:45Z:Changed: PR #15567 (oc-code-04, #15479 front-door binding-context) is now CLOSED unmerged (closed 2026-11-26T21:46:38Z, merged=false, no merge commit). Its issue #15479 remains OPEN (updated 22:14Z). So the resume trigger named in the last park — "#15567 lands" — did not happen; the front-door caller-auth surface is still unsettled, not landed.
Remaining acceptance items (unchanged, verified against the last two evidence comments 7186549521 and 7198060653):
check_shard_partitionhas no production creation path to call it from; wiring it requires a new creation API, not a call-site fix.Slices 1–4 remain merged (#15441, #15460, #15466, #15476); prerequisites #2285/#3403/#3399/#3400 all CLOSED; guest-grant seam ships disabled (policy settled, no Drew decision awaited). No code changed this run.
Park condition (non-person): resume task 13810 when a PR for #15479 merges to main (front-door caller-auth surface landed), OR a partition-scoped storage-layout / shard-creation design is recorded on this issue — then scope the next slice against the remaining criteria above.
developing-today commentedon Nov 27, 2026
Revalidation — queue task 13810 (2026-11-27, code-f): #3898 remains open and active. The four independent implementation slices are merged: #15441, #15460, #15466 and #15476. No open PR currently references #3898.
The remaining caller-home-jurisdiction/session criterion overlaps #15479, still open; #15567 was closed as superseded after registry slice #15579 merged, and task 24165 is the parked follow-up for authenticated-caller wiring against the registry-authoritative front door. I will not infer jurisdiction from a client header, world name or filesystem path. The shard/coordinator criterion still has no production creation API to call the existing partition check from. Multi-partition same-name serving still needs a partition-scoped storage-layout decision because world storage is name-keyed.
No production-safe independent slice is available without duplicating #15479’s caller-auth work or inventing a new API/storage contract. Task 13810 is parked for recheck after the authenticated-caller slice lands or a shard-creation/storage-layout design is recorded; then the next non-overlapping criterion will be scoped. No owner decision is awaited.
dezren39 commentedon Nov 29, 2026
🤖 Agent note · census 2026-11-29 (lane CEN-C03)
Label fix: this issue carried two priority labels (priority/high and priority/normal). Removed priority/normal; priority/high stands (in-progress, security-sensitive admission slice). Acceptance is complete. One sub-piece is Drew-gated by design: the guest-grant seam stays disabled until Drew settles the guest-membership policy (open question 1 on #3397) — the rest of the slice is not gated.
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full recheck of this issue (body, all 40 comments, labels, dependency edges).
STRENGTHS: Strong body — scope, an explicit "not this issue" boundary (#3400), the authority boundary with the dependency ordering, and acceptance criteria drawn from the #3397 negative-test matrix. The comment trail documents the dependency chain honestly at every stage, including the long claimant-handoff loop and each revalidation.
GAPS: (1) The issue carried TWO priority labels at once (priority/high and priority/normal) — a cold reader could not tell which band governs. (2) It also carried two status labels (status/in-progress and status/in-review) although no PR for this issue is currently open. (3) The body text names dependencies (#3403 via #2285, #3399, #3400) but no native blocked_by edges were ever recorded; that gap is now moot — all four prerequisites are CLOSED (verified in the 2026-11-25/26 revalidations on this issue). (4) The acceptance checklist's "Dependencies hold" criterion is in fact now satisfied, and Phase 2 slices 1-4 are MERGED to main (2026-11-26: #15441 partition guard core, #15460 durable journal fence, #15466 partition-bound open API, #15476) — the body's checkboxes do not reflect that progress.
FIXES I APPLIED: Removed priority/normal (priority/high stands — this phase unblocks #3899 and is actively landing) and removed the stale status/in-review, leaving status/in-progress as the single status. No edges added: the named dependencies are all closed, so a blocked_by edge would misstate the graph.
REMAINS: One acceptance thread is still open — the caller-home-jurisdiction/session criterion, which overlaps #15479 (still open); its wiring follow-up is queue task 24165 (parked, registry-authoritative front door). When that lands, this issue's criteria should be re-audited end-to-end and the issue closed with the slice list above as evidence. Nothing needs Drewry.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Gaps found: none material. (The enumeration snapshot showed two priority labels; the live set now carries only priority/high — already resolved before this pass.)
Strengths: exact scope with an explicit "Not this issue" boundary (#3400), authority boundary stated (#3397 is design-only), implementation ordering and dependencies named in the body (Phase 0 #3403 via #2285, Phase 1 #3399, #3400 routing foundation),
## Acceptance criteriapresent, labels complete (kind/enhancement, priority/high, status/in-progress, work/assigned, effort/l, app/id).Actions: Verified complete — no changes needed.
developing-today-fleet commentedon Dec 1, 2026
🤖 Agent note · stale-claim takeover — lane 2007-G (charlie ADVANCE 2026-11-30 20:07 CST)
Claim-scan firsthand this lane: body + all 43 comments re-read live. The claim history is a long handoff loop (queue task 13810 parked/revalidated by oc-code-08, felix, xaltha, lane FI and code-f between 2026-11-25 and 2026-11-27); last activity 2026-11-29T15:08:33Z is census-only (>24h, no live lane, no open PR referencing this issue). Lane 2007-G takes over ownership of the record.
State confirmed: Phase 2 slices 1–4 merged 2026-11-26 (PR #15441 partition guard core, #15460 durable journal fence, #15466 partition-bound open API, #15476); all named prerequisites (#2285, #3403, #3399, #3400) CLOSED. One acceptance thread remains open — the caller-home-jurisdiction/session criterion, which overlaps #15479 (still open); its wiring follow-up is queue task 24165 (parked, registry-authoritative front door). The guest-grant seam stays disabled by design until Drew settles the guest-membership policy (open question 1 on #3397) — that sub-piece is Drew-gated and is not part of this takeover's work.
Wake (machine-checkable): #15479 lands / task 24165 unparks and completes the authenticated-caller wiring — then this issue's criteria are re-audited end-to-end and it closes with the slice list above as evidence.