Skip to content

docs(ledger): back-fill refuel_log migrations + record FDQ-56 id=207 scrub - #26

Merged
Mayakovsky merged 1 commit into
mainfrom
phase-f-ledger-refuel-scrub
Jul 19, 2026
Merged

docs(ledger): back-fill refuel_log migrations + record FDQ-56 id=207 scrub#26
Mayakovsky merged 1 commit into
mainfrom
phase-f-ledger-refuel-scrub

Conversation

@Mayakovsky

Copy link
Copy Markdown
Owner

Back-fill refuel_log migrations + record the FDQ-56 id=207 scrub

supabase/applied_migrations.md was missing the two grey_two.refuel_log migrations (applied Forces-lane during Phase F but never ledgered), and the FDQ-56 single-row security scrub needed recording. Docs-only; no code, no tag. Independent of #25.

Entries added

Entry sha256 Applied
20260715120000_create_refuel_log 344c34fc…c1bed ~2026-07-16 (before first row 23:38:46Z)
20260716090000_refuel_log_append_only (FDQ-52) 1241bb7e…c9a21 ~2026-07-16 (same session)
id=207 error_detail scrub (FDQ-56) — (one-off UPDATE) 2026-07-17 ~20:5x

The scrub, for the record

Owner-cred UPDATE redacting a keyed Alchemy RPC URL that row 207 persisted before the FDQ-56 redactError() sink-layer choke point landed (#24, e6b3279):

  • UPDATE 1 — 1 of 208 rows; has_url_after = f; error_class = TransactionExecutionError retained; marker in place.
  • Owner cred required — runtime role grey_pipeline_rw is INSERT/SELECT-only (FDQ-52).
  • Scope: grey_two.refuel_log only; zero contact with any other grey_two table or any wpv_*. The 52 cosmetic public-URL rows (no key) left as-is per Forces ruling.

supabase_migrations.schema_migrations untouched throughout (psql apply, not CLI push). Timestamps anchored to DB-derived bounds; exact apply times were not separately recorded.

🤖 Generated with Claude Code

…scrub

supabase/applied_migrations.md was missing the two grey_two.refuel_log
migrations (applied Forces-lane during Phase F but never ledgered) and needed
the FDQ-56 single-row security scrub recorded. Adds three entries:

- 20260715120000_create_refuel_log  (sha256 344c34fc…c1bed) — the audit table
  (15 cols, 3 indices); notes the append-only-omission caught by grant verify.
- 20260716090000_refuel_log_append_only (sha256 1241bb7e…c9a21) — FDQ-52
  corrective: REVOKE UPDATE/DELETE/TRUNCATE from grey_pipeline_rw.
- id=207 error_detail scrub (FDQ-56) — owner-cred UPDATE redacting a keyed RPC
  URL persisted before the redactError() choke point; UPDATE 1 (1 of 208 rows),
  has_url_after=f, error_class retained, marker in place.

Timestamps anchored to DB-derived bounds (first refuel_log row 2026-07-16
23:38:46Z; row 207 ticked_at 2026-07-17 20:47:13.756845+00). schema_migrations
untouched throughout (psql apply, not CLI push). Docs-only; no code, no tag.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Mayakovsky
Mayakovsky merged commit f094e49 into main Jul 19, 2026
3 checks passed
@Mayakovsky
Mayakovsky deleted the phase-f-ledger-refuel-scrub branch August 14, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant