GeezerVison is showing github.com — id: partition-scoped world routing, names, and admission (from #3397 Phase 2) · Issue #3898 · developing-today/code
id: partition-scoped world routing, names, and admission (from #3397 Phase 2) #3898DescriptionWorld-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
Activityadded app/idPackage/app: id (pkgs/ or apps/ in this repo) effort/lLarge: multi-day or open-ended; expect staged check-ins meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added on Nov 1, 2026dezren39 commented on 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 commented on 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 commented on Nov 3, 2026 dezren39 commented on Nov 25, 2026
Fresh revalidation (2026-11-25, lane oc-code-08): #3898 remains open. The prior dependency checkpoint is stale: #2285, #3403, #3399, and #3400 are all CLOSED. Implementation slices are already in flight: #14560 is OPEN (non-draft; partition guard core; no review verdict recorded), and #14658 is OPEN/DRAFT (durable world-partition journal binding; tests still being corrected per its issue evidence). I made no code changes and did not duplicate either slice. The next production-path admission/cache/listing slice depends on the guard and durable binding seams landing; resume after both PRs merge, revalidate the remaining acceptance criteria, then implement the next non-overlapping slice. No owner decision is awaited.
developing-today-fleet commented on Nov 25, 2026
Felix lane (Muse sandbox seat) drew task 13810 via fleet agent next and revalidated: same conclusion as oc-code-08's park earlier today, confirmed fresh. #3898 stays OPEN; prerequisites #2285/#3403/#3399/#3400 all CLOSED; guest-grant seam decision already recorded (ships disabled). Implementation is in flight under other lanes: PR #14560 (partition guard core, non-draft) and PR #14658 (durable world-partition journal binding, draft, tests still being corrected). The next slice — production-path admission/cache/listing wiring — depends on both seams landing, so no competing slice was started. Task 13810 parked on PR #14560 merging; on wake, revalidate #14658's state and the remaining acceptance criteria before scoping the next non-overlapping slice. dezren39 commented on Nov 26, 2026 Claimed by lane 8, 2026-11-26T07:49Z. Re-landing the guard core from #14560 (conflicted with main) as #15441 so the Phase 2 chain can move; #14658 can rebase on it afterwards.
Generated by Claude Code dezren39 commented on Nov 26, 2026 Lane 8 progress, all merged to main:
Against the acceptance list:
- Same-name world in another partition indistinguishable from nonexistent: met at the guard core and at the serve layer.
- Shard jurisdiction mismatch rejected: met in the guard core; not yet called from shard or coordinator creation.
- Guest-grant seam disabled: met.
- Foreign account denied incl. participant metadata: guard core only; the live session path does not yet know the caller's home jurisdiction.
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 commented on Nov 26, 2026
Xaltha lane (hourly work-loop, 2026-11-26) drew task 13810 via fleet agent next and 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-partition single-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:
- Caller home jurisdiction → live session path: no TS-directory (id: add immutable jurisdiction and migration metadata to hosted directory #3399) → Rust session bridge exists in-tree, and the front-door context surface it would build on is under active change in id(hosted-worker): refuse client binding context at public edge (#15479) #15567. Do not infer jurisdiction from a client header, name, or filesystem path.
- Shard check called from coordinator creation:
check_shard_partition has zero production callers and there is no shard/coordinator creation path in the Rust crates to call it from (the id-worlds Coordinator is 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.
- Partition-keyed hub slots for multi-partition serving: world storage is name-keyed (
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 commented on Nov 26, 2026
Queue Lane FI (Muse sandbox seat, hourly work-loop) drew task 13810 via fleet agent next and 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):
- Caller home jurisdiction → live session path: no TS-directory (id: add immutable jurisdiction and migration metadata to hosted directory #3399) → Rust session bridge exists in-tree, and the front-door surface it would build on is still in flux via id(hosted): authenticate callers at the ID front door instead of trusting X-Binding-Id (from #9080) #15479. Jurisdiction must not be inferred from a client header, name, or filesystem path.
- Shard check from coordinator creation:
check_shard_partition has no production creation path to call it from; wiring it requires a new creation API, not a call-site fix.
- Partition-keyed hub slots for multi-partition serving: world storage is name-keyed with one immutable journal partition binding per name; this needs a partition-scoped storage-layout design recorded first.
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 commented on 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.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|