Skip to content

id: enforce restricted jurisdiction routing and object entry guards #3400

Open

Description

@dezren39

Follow-up to #2283. Implement the single jurisdiction-required user ID/stub routing module, confined raw binding, restricted namespace selection and fail-closed identity guard at all identity-touching entry points. Both unrestricted and legacy pre-2026-03-15 alarm undefined jurisdiction cases must be safe.

Acceptance: missing jurisdiction cannot create a second empty store; mismatch and missing context reject without side effects; tests cover all entry paths, alarms and raw binding bypass. Depends on directory signup and the hosted Durable Object interface; use #2285 for deployed PoC.

Activity

  1. developing-today commented on Nov 1, 2026

    @developing-today
    Contributor
  2. added
    kind/infrastructureInfrastructure / host-portability work
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    source/humanFiled directly by a human
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 1, 2026
  3. dezren39 commented on Nov 1, 2026

    @dezren39
    MemberAuthor

    Intake review

    Related: #2283 (parent), #2285 (deployed PoC evidence), #3399 (directory signup — dependency), siblings #3401–#3404.

    Notes: Inline Acceptance present (no second empty store on missing jurisdiction; mismatch/missing context reject without side effects; all entry paths incl. alarms and raw-binding bypass tested). Fail-closed identity guard at all entry points is the crux — partial coverage is the known failure mode for this kind of change.

    Risks: The legacy pre-2026-03-15 alarm cases with undefined jurisdiction are easy to miss; the acceptance section names them explicitly.

    Suggested approach: Single routing module first, then entry-point inventory driven by grep for identity-touching handlers, each wired or explicitly exempted with a test.

    — fleet monitor intake (2026-11-01)

  4. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Nov 1, 2026
  5. 184 remaining items

  6. added
    epic/id-programReprioritization program epic (2026-11-12)
    and removed
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    on Nov 12, 2026
  7. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Released to the queue under Drew's 2026-11-13 unblock-all order (main chat, 23:53 CT). Task(s) 5801 moved from blocked/parked to queued in the fleet unblock-all pass (worker main-unblock-all-2026-11-13). Dependency gates still recorded on a task remain recorded — the dependency checker will re-block it if a gate is genuinely unmet.

  8. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · blocked

    • Agent: queue worker (repo-worker-code), lane any-d shift
    • Session / ID: queue task 5801 · repo-queue-worker-shift-any-d 2026-11-14 04:42 CST
    • Found via: queue claim (small_fix packet for issue id: enforce restricted jurisdiction routing and object entry guards #3400, Phase 2 restricted jurisdiction routing)
    • Task: Revalidate the packet's phase gates fresh, then declare them structurally instead of park-rechecking
    • Expectation: Task 5801 auto-releases when both gate issues close; a lane then revalidates and implements Phase 2

    Fresh gate check (2026-11-14T10:52Z, gh)

    Action

    Task 5801 is dep-blocked (fleet queue block --reason-class dependency) on issues #3399 and #2285, max TTL 7 days, per runbook §5b: the broker rechecks the gates itself and returns task 5801 to the pool when both clear — no lane park-recheck loop. No code changed, no worktree created; resume from stage verified in the task progress.

  9. added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed on Nov 14, 2026
  10. removed their assignment
    on Nov 20, 2026
  11. dezren39 commented on Nov 21, 2026

    @dezren39
    MemberAuthor

    Task 5801 was claimed and freshly revalidated on 2026-11-21. Issue #3400 remains OPEN; no implementation PR exists. The design PR #3406 is merged. Phase 1 issue #3399 is still OPEN and remains blocked on gate #3403. Important correction to the stale packet history: #2285 now has Half-1 PoC findings and cleanup recorded (2026-11-16); Drew cancelled the vendor ask, so it must not be treated as pending. However #3403 remains OPEN with user/escalated, and its latest note (2026-11-19) asks Drew to disposition the cancelled vendor-residency evidence. This lane did not infer that decision or make source/worktree changes. Task 5801 is blocked escalated-to-user; resume after Drew records the #3403 disposition and phase 1 #3399 lands, then revalidate #3400.

  12. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Decided: #3400 does not require a vendor residency response; it must use the published #2285 Half-1 mechanics evidence without claiming vendor residency guarantees, and remain fail-closed on unverified jurisdiction/bucket configuration.
    Why: #2285 records the deployed-account DO/R2 PoC results; #3403 explicitly says not to infer vendor residency guarantees from a probe. The remaining prerequisite for this phase is the technical Phase 1 issue #3399.
    Undo: Revise this if new verified evidence changes the supported-runtime or bucket-verification contract.
    By: OpenChamber scheduled lane oc-code-04

    Fresh revalidation: #3400 is OPEN with no implementation PR; #3399 remains OPEN, so this phase cannot start before its Phase 1 dependency lands. #2285's PoC evidence is published, and the vendor-residency question is no longer a gate under this decision. No source or worktree changes in this task. The task is dependency-blocked on #3399; resume after #3399 closes/lands, then revalidate all acceptance gates and PR state.

  13. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Dependency revalidation (oc-code-07, 2026-11-23): The earlier owner-decision gate is discharged; the recorded decision on this thread says to use #2285 Half-1 mechanics evidence without claiming vendor residency. Current remaining gate is technical: #3399 is still OPEN and its latest checkpoint says it is dependency-blocked on #3403. The jurisdiction design at pkgs/id/docs/2026-11-01_jurisdiction_aware_user_store_design.md places restricted routing/guards after the directory metadata and hosted DO interface. Current hosted-worker source has no alarm() handler; safely adding the legacy-alarm path requires the persisted identity/migration contract, so there is no independent acceptance slice to land from #3400 yet. No code or branch was created.

    Next slice: once #3399 lands, add the alarm entry-point guard/quarantine with a test proving undefined legacy jurisdiction causes no reads, writes, external effects, or rescheduling unless persisted restricted identity and the migration fence prove safe handling. #3400 remains dependency-blocked on #3399; no owner response is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)kind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivequeue/blockedQueue or user escalation statesource/humanFiled directly by a humantask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions