carlos / platform Public

db-region-forward-2

db region forward, plan 2: console and CLI for carlos db query and query --at

Plan docs/superpowers/plans/2026-10-22-db-region-forward-plan-2-query.md, spec rev 6. Dark behind CARLOS_DB_FORWARD (off unless exactly 1; off answers byte-identically to main).

OWED after merge

  • Task 1, copy review: every DBF sentence in code is the copy record's PENDING text, wired only behind CARLOSDBFORWARD (the moves D13 rule) and pinned by the copy gate's dbForwardCopyWired. The review moves each id to dbForwardCopyBuilt with Paul's edits. Do not turn CARLOSDBFORWARD on anywhere before it.
  • Task 9, DBF-30 (docs/site/cli.md): not written; waits for the copy review.
  • The db-reads/ lifecycle rule is prepared only (docs/superpowers/notes/db-reads-lifecycle-approval.md); it needs Paul's approval and must be applied before any console forwards. Then the dev roll and LIST-rate check (plan step 9).

What it adds

The list door's additive forward marker; POST .../db/{host}/reads (gate once, admission held by the request, audit first, signed request and queue entry, serial on the request's context, NDJSON relay with result before listing, flushed lines, cancel on every end); console.NewHTTPServer; the CLI's buffered, checked forwarded query; the deployment-buckets lifecycle rules.

Review and census

Astra round 1 BLOCKED d094a4a0 (body tail read under the extended deadline; serial written after cancel); both fixed with failing-first tests; Astra round 2 ACCEPTED 68281cef. Census: census-ruling-db-region-forward-2, accepted in full on #280; overlay loads after s3-change-index; seal bd4cc1909225cd574c2c609f0cd02177076ddb5c1476d9cf5e178be05acccae1.

Tests

T1/T16 against MinIO in CI; T6, T7 (edge, backhaul, and the unscaled 21-minute read once: PASS), T8, T11, T14, T15, T17, T18; 31 mutations all red (table in the build report). Flakes in untouched packages filed as #348 and #349.

Commits 21
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity