Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/access-preparation-coordinator.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ A unique contract claim is inserted before any provider mutation. The prepared r
A recovery record or stale running claim must be investigated using provider state and consumer binding metadata, then resolved by a separately approved recovery procedure. No automatic token rotation, deletion, or manual unlock is supplied here. A prepared receipt is historical evidence of preparation, not proof of current credential possession or authorization.

Before exposing a route: resolve an enabled server-owned contract, enforce exact OIDC repo/ref/workflow/event, qualify an isolated Studio staging consumer and target vertical, verify the target's deny rules, use atomic conditional pair storage under the claim, and separately qualify policy grant and live read-only proof. The Radar contract remains planned. SQLite tests exercise the actual uniqueness/transition constraints; real D1 migration and runtime qualification remain release gates.

## Staging inventory — 2026-12-04

Provider readback: Editorial OS staging Worker `trigenys-editorial-os-staging-api` is active at 100% on version `32c7b473-6dfc-434a-a5e5-ddd04fba1cfa` (deployment `7247751e-18b2-4721-b934-848789371c96`). Workers Builds associates this version with main commit `e6711ede7cff223953b089e41635d219a5cc4572` (Editorial OS #102, success). The Worker subdomain is enabled; canonical origin is the fixed HTTPS origin in the planned registry, and the built-in vertical is `trigenys-insight`. Access application Trigenys Editorial OS - Staging has the exact Worker destination; its current policies are the staging owner and the existing Insight VPS service token, not Studio. The dedicated Radar identity and vertical bindings are absent. Worker previews are enabled; their protection must be verified before an Access grant. The 23-worker account inventory contains only the Editorial OS staging Worker and Studio production Worker among these names; no isolated Studio staging Worker or Editorial OS production Worker was found. Studio #128 main CI/build evidence/release succeeded, but offline build evidence is not a deployed isolated consumer.

The contract remains planned, the preparation broker remains unmounted, and no new token/policy/secret is authorized. Reuse the existing preparation coordinator and pair storage; do not bind the production Studio Worker to staging. Next gate: deploy isolated Studio staging via the reviewed recipe; verify Access protection for every reachable target origin and the server-side restrictions; then qualify the dedicated caller and credential lifecycle under #211. No changes to provider configuration or existing editorial automations were made by the inventory.
8 changes: 6 additions & 2 deletions src/interservice-contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ export const INTERSERVICE_CONTRACTS = {
kind: "access-service-token",
repository: "Trigenys/trigenys-studio",
targetWorker: "trigenys-editorial-os-staging-api",
targetOrigin: "https://trigenys-editorial-os-staging-api.lawrynnjennifer.workers.dev",
vertical: "trigenys-insight",
consumerWorker: "trigenys-studio-staging-api",
method: "GET",
path: "/api/operator/radar/proposals",
clientIdBinding: "EDITORIAL_OS_RADAR_ACCESS_CLIENT_ID",
clientSecretBinding: "EDITORIAL_OS_RADAR_ACCESS_CLIENT_SECRET",
verticalBinding: "EDITORIAL_OS_RADAR_VERTICAL",
// Consumer staging deployment, canonical Access domain, vertical and
// approved workflow are not yet qualified. No live provisioning grant.
// Target origin and vertical are inventoried. Consumer Worker is the
// planned name, not a deployed resource. Access policy, exact caller and
// actual read-only acceptance remain unqualified. No provisioning grant.
},
} as const;

Expand Down