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 — id: gate hosted jurisdiction provisioning on verified DO and R2 support · Issue #3403 · developing-today/code

id: gate hosted jurisdiction provisioning on verified DO and R2 support #3403

New issue
Copy link
New issue
Copy link
Done
#13753
Done
id: gate hosted jurisdiction provisioning on verified DO and R2 support#3403
#13753
Copy link
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-sensitivesource/humanFiled directly by a humanstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Nov 1, 2026
Issue body actions

Follow-up to #2283. Implement fail-closed hosted signup/deployment configuration validation for configured jurisdiction and its restricted Durable Object namespace and R2 bucket. Consume deployed-account evidence from #2285; do not duplicate that PoC or imply a probe proves vendor residency guarantees.

Acceptance: production cannot enable signup or migration with missing/unverified jurisdiction, unsupported runtime/types, or missing mismatched bucket; explicit diagnostics and configuration tests cover unavailable US and no unrestricted fallback. Coordinate with the design doc on the #2283 branch.

Activity

Next
  1. developing-today commented on Nov 1, 2026

    @developing-today
    developing-todayBot
    on Nov 1, 2026 – with developing.today
    Contributor
    More actions

    CODE-1298

  2. dezren39
    added
    kind/infrastructureInfrastructure / host-portability work
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    status/needs-triageNot yet triaged; needs a first look
    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
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    Intake review

    Related: #2283 (parent, design doc on its branch), #2285 (deployed-account evidence — consumed, not duplicated), siblings #3399–#3402, #3404.

    Notes: Inline Acceptance present (production cannot enable signup/migration with missing/unverified jurisdiction, unsupported runtime/types, or missing/mismatched bucket; diagnostics + config tests incl. unavailable-US and no unrestricted fallback). This is the gate that makes the rest of the set safe to ship — priority/high for sequencing.

    Risks: Do not let the validation imply vendor residency guarantees beyond what #2285's PoC actually proves — the filing is explicit about that boundary.

    Suggested approach: Config validation with explicit diagnostics per failure class; tests enumerated from the acceptance list one-to-one.

    — fleet monitor intake (2026-11-01)

  4. github-actions
    assigned
    dezren39
    on Nov 1, 2026
  5. dezren39
    added
    queue/queuedHas a queued queue task
    work/assignedQueue worker lifecycle state
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 1, 2026
  6. 145 remaining items

  7. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · progress — Lane HP

    PR open: #12985 — the fail-closed provisioning gate (pkgs/id/hosted-worker/src/provisioning.ts + 17 configuration tests).

    The validator grants a production signup/migration enablement plan only when the deployment configuration checks out against deployed-account evidence (#2285 canary + R2 API read-backs): explicit supported jurisdiction (no silent policy default), restricted DO namespace required (no unrestricted fallback), proven DO + runtime/types support on the actual account (unavailable US refuses as jurisdiction_unavailable), and the bucket's actual API-reported jurisdiction matching — a binding's declared jurisdiction field is consistency-checked only, never accepted as verification (the #2285 Half 1 lesson).

    Verification on the branch: new tests 17 passed / 0 failed; full hosted-worker suite 94 passed / 0 failed; tsc --noEmit clean.

    Deliberately not closing #3403 with this PR: the validator consumes evidence only. Next slice: wire it into the provisioning/deployment surface — the API provisioning path that produces the evidence (bucket creation via the API route #2285 established, read-back of actual jurisdiction, canary result capture) and calls this gate before any production enablement.

  8. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #12985 from developing-today/lane-hp/3403-provisio…

    662beb7
  9. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · slice landed — Lane HP

    PR #12985 merged (662beb71ed7f, head-SHA guarded at 2279dc933f6). Verified present on main: src/provisioning.ts (8,182 B) and test/provisioning.test.ts (7,057 B).

    • New tests: 17 passed / 0 failed; full hosted-worker suite: 94 passed / 0 failed; tsc --noEmit clean.
    • Acceptance coverage now in tree: missing/unverified jurisdiction, unsupported jurisdiction, unavailable US (jurisdiction_unavailable), unsupported/unverified runtime/types, missing DO binding, missing bucket, bucket jurisdiction mismatch by API read-back, and no unrestricted fallback — each refuses with an explicit diagnostic, and a declared binding jurisdiction field never substitutes for the API read-back.

    #3403 stays open. Next slice (unchanged from the progress note): the provisioning/deployment surface that produces the evidence — API-route bucket provisioning + actual-jurisdiction read-back + canary result capture — calling this gate before any production signup/migration enablement. The gate itself authorizes no deployment and makes no residency claim.

  10. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked (scheduled lane code-g)

    Fresh recheck after claim: prerequisite #2285 is now CLOSED with reconciled PoC evidence (DO mechanics 1–4 confirmed; R2 binding jurisdiction is not an isolation control; Wrangler jurisdiction flag was ignored; API provisioning/read-back is required; vendor-residency ask was explicitly voided). The fail-closed validator slice has already landed as PR #12985 and is present on main (17 targeted tests; 94 hosted-worker tests; TypeScript check clean).

    No duplicate validator work started. The remaining slice is the API provisioning/deployment surface: create the bucket through the verified API route, read back actual bucket jurisdiction, capture the DO/runtime canary evidence, and invoke the gate before any production signup/migration enablement. The deployment surface is currently local-only per the #3403 decision record; this is the next distinct implementation slice, not a reason to enable production or make a residency claim. Resume with that exact scope.

  11. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up — Lane PS (sandbox fix lane, archer)

    Fresh premise check 2026-11-23 ~03:24Z: #3403 OPEN, no live claim on the remaining slice (Lane HP's validator slice landed via PR #12985; the code-g note parked the task naming this exact remainder as the resume scope). Taking the named next slice: the provisioning/deployment surface that produces the gate's evidence — API-route bucket provisioning + actual-jurisdiction read-back + canary result capture — invoking the landed gate before any production signup/migration enablement. Code + tests only; no live deployment, no production enablement, no residency claim. Will post a progress note when the PR is open.

  12. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #13162 from developing-today/lane-ps-3403

    8fec594
  13. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · slice landed — Lane PS

    PR #13162 merged (8fec59474d96, head-SHA guarded at ab86cf50ca7b). Verified present on main: src/provisioning-surface.ts (10,421 B) + test/provisioning-surface.test.ts; package.json test script now runs the new file.

    This is the provisioning/deployment surface both prior records named as the remainder — the evidence-producing half of the gate from PR #12985:

    • Buckets are provisioned only through the Cloudflare API route with the cf-r2-jurisdiction header (never wrangler, whose flag id: PoC: verify DO jurisdiction mechanics and confirm vendor residency guarantees #2285 showed can be silently ignored); creation is idempotent (409 → read-back).
    • A bucket's jurisdiction comes only from the API read-back: jurisdiction-less probe first (sees default buckets only), then one header-scoped probe per supported jurisdiction; a default bucket records as default, an unverifiable one as null — the gate fails closed on both.
    • Canary results are captured into the gate's evidence shape verbatim (undetermined → unverified; unsupported jurisdictions dropped); provisionAndValidate invokes the gate and returns its plan or its FailClosed refusal, and creates nothing under an unsupported jurisdiction.

    Verification: new tests 14 passed / 0 failed; full hosted-worker suite 116 passed / 0 failed; tsc --noEmit clean. A remote dispatch of the two provisioning test files was attempted (run 45147697038) — the fleet-build container has no Node.js (node: command not found, exit 127), so that leg is environmental, not a test result.

    #3403 stays open. Remaining: run this surface against the real account — the live provisioning/canary evidence run that feeds the gate for an actual enablement decision. That is a production action (creates a real bucket on the fleet account) and is outside this slice; the gate still authorizes no deployment and this surface makes no residency claim. Unblocking note for the chain: with the validator (PR #12985) and now the evidence surface both on main, #3399's recorded gate narrows to that live evidence run plus its own directory implementation.

  14. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triage verdict — lane code-f (queue task 18261, 2026-11-23)

    Fresh state this run: #3403 OPEN, no hold labels (held / user/owned / do-not-merge / do-not-auto-edit absent); prerequisite #2285 CLOSED (completed). Both named slices are on current main (ab82a4d76c0) — no duplicate work started:

    • Validator (acceptance half 1): src/provisioning.ts (validateEnablement) from PR feat(id): fail-closed provisioning gate for hosted enablement (#3403) #12985 / 662beb71ed7f — explicit supported jurisdiction, restricted namespace required, no unrestricted fallback, diagnostics per refusal.
    • Evidence-producing surface (acceptance half 2): src/provisioning-surface.ts (provisionAndValidate, provisionAndValidate API-route bucket provisioning + actual-jurisdiction read-back + canary capture) from PR feat(id): provisioning surface producing the #3403 gate's evidence #13162 / 8fec59474d96.
    • Re-verified this run on main: node --experimental-transform-types --test test/provisioning.test.ts test/provisioning-surface.test.ts → 31 tests, 31 pass, 0 fail (covers missing/unverified jurisdiction, unavailable US, unsupported runtime/types, missing DO binding, missing bucket, API-read-back mismatch, declared-jurisdiction-not-verification, no unrestricted fallback).

    Remaining gap, stated plainly: nothing in the worker calls provisionAndValidate/validateEnablement today — there is no production signup/migration enablement surface to gate (the deployment surface is local-only per the decision record in this issue's first comment). So the criterion "production cannot enable signup or migration …" holds vacuously today and is not yet proven through a real enablement path.

    Routing: no runnable code slice exists until such a surface is added; a follow-on packet now would be phantom work. The queue task is parked with the exact resume condition: when a hosted-worker production signup/migration enablement surface lands, it must call provisionAndValidate before enabling, and this issue is revisited then. Issue stays open as the design/decision record.

  15. dezren39
    removed
    status:in-review
    status/needs-triageNot yet triaged; needs a first look
    on Nov 23, 2026
  16. dezren39
    added a commit that references this issue on Nov 23, 2026

    id: production enablement point gated on the provisioning verdict (#3403

    1fb1f4f
  17. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · progress — OpenChamber scheduled lane oc-code-05

    PR open: #13753 (branch queue/3403-production-enablement, head 1fb1f4f64ee).

    Slice: the production enablement point. src/enablement.ts creates enablement only from a plan issued by validateEnablement, and requireProductionEnablement gates the signup and migration modes. Forged look-alike plans and absent enablement both refuse with explicit codes.

    Evidence: laptop run of the hosted-worker suite, 134 pass / 0 fail, and typecheck clean. Not built in CI.

    Still open for #3403: the live provisioning evidence run against the real account, and the first production signup/migration caller that must call requireProductionEnablement. Issue stays open.

  18. dezren39
    added a commit that references this issue on Nov 24, 2026

    Merge pull request #13753 from developing-today/queue/3403-production…

    cec643b
  19. dezren39
    closed this as completedin #13753on Nov 24, 2026
  20. developing-today
    added
    status:done
    on Nov 24, 2026
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-sensitivesource/humanFiled directly by a humanstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      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.