FORGE-495: Rehearse stage-scoped shadow copies against the upstream OpenBao Worker #1315

Merged
gmackie merged 1 commit from FORGE-495-llavero-stage-shadow into main 2026-11-29 03:49:23 +00:00
Owner

The private stage adapter binds a ForgeGraph workspace, app, stage, scope and row name to a KV v2 path. Writes use CAS. After a lost reply it reconciles the specific historical version and immutable operation contents. A repeatable baseline reads a PostgreSQL statement snapshot, copies only absent entries and reports counts for matching or divergent rows.

The paired-repository rehearsal runs a real OpenBao v2.7.3 Worker and disposable PostgreSQL-compatible database. It preserved developer and shared entries, denied a sibling stage, reconciled a lost reply after a later update, admitted exactly one concurrent writer, and replayed a pinned update and deletion into the isolated source. Four targeted unit tests, the paired database / Worker rehearsal, changed-file lint and API typecheck passed.

The operator command verifies the built module hashes and accepts local artifact paths. Live routing, a stage-wide epoch fence, remaining callers and hardware-compliant rollback are separate gates. The existing ForgeGraph writer still serves Llavero staging. Related work: LLAV-35 and FORGE-494.

The private stage adapter binds a ForgeGraph workspace, app, stage, scope and row name to a KV v2 path. Writes use CAS. After a lost reply it reconciles the specific historical version and immutable operation contents. A repeatable baseline reads a PostgreSQL statement snapshot, copies only absent entries and reports counts for matching or divergent rows. The paired-repository rehearsal runs a real OpenBao v2.7.3 Worker and disposable PostgreSQL-compatible database. It preserved developer and shared entries, denied a sibling stage, reconciled a lost reply after a later update, admitted exactly one concurrent writer, and replayed a pinned update and deletion into the isolated source. Four targeted unit tests, the paired database / Worker rehearsal, changed-file lint and API typecheck passed. The operator command verifies the built module hashes and accepts local artifact paths. Live routing, a stage-wide epoch fence, remaining callers and hardware-compliant rollback are separate gates. The existing ForgeGraph writer still serves Llavero staging. Related work: LLAV-35 and FORGE-494.
FORGE-495: Shadow scoped stage secrets in the upstream OpenBao Worker
All checks were successful
CI / superseded (pull_request) Successful in 3s
CI / storybook (pull_request) Has been skipped
CI / database-d1 (pull_request) Has been skipped
CI / go (pull_request) Has been skipped
CI / gitleaks (pull_request) Successful in 20s
CI / unit-api (pull_request) Successful in 3m4s
CI / database (pull_request) Successful in 3m22s
CI / checks (pull_request) Successful in 3m48s
CI / unit-web (pull_request) Successful in 4m0s
forgegraph/ci CI passed
CI / ci (pull_request) Successful in 14s
CI / web-build (pull_request) Successful in 4m59s
Preview / deploy (pull_request) Has been skipped
Preview / cleanup (pull_request) Has been skipped
Preview / e2e (pull_request) Has been skipped
Preview / release (pull_request) Has been skipped
afec1c0829
Sign in to join this conversation.
No description provided.