Prepare compatible audit receiver with verified container lifecycle
All checks were successful
CI Smoke / host-smoke (push) Successful in 1s
CI Smoke / container-smoke (push) Successful in 1s

Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a07ff8-19d0-7820-b4d0-1353833cb7fc
This commit is contained in:
tegwick 2026-09-11 06:46:15 +02:00
parent f1b0577095
commit cb23dc82fd
8 changed files with 426 additions and 17 deletions

View file

@ -177,3 +177,31 @@ resolution: 'Assent. The split is right: approval-engine owns the operative stat
recorded_in: history/2026-08-28-approval-evidence-assent.md
state_hub_intake_id: "01a04d8f-be67-75ed-a221-d50f99dbb78e"
```
## AUDIT-IN-0004 — Repair SQLite import into chained PostgreSQL custody
```yaml
id: AUDIT-IN-0004
kind: intake
title: Repair SQLite import into chained PostgreSQL custody
status: open
origin: residual
origin_ref: AUDIT-WP-0005
priority: medium
owner: audit-core
requested_by: codex
created: '2026-09-11'
updated: '2026-09-11'
description: >
The 2026-09-11 receiver release rehearsal enables real PostgreSQL tests.
Five tests in tests/test_migrate_store.py fail because _import_event omits
chain_hash/chain_prev, now NOT NULL. This predates the receiver release and
is not used by the native PostgreSQL receiver or its unchanged schema.
Design the historic accepted_at versus chain ordering rule before fixing
the importer: do not disable append-only protection or rewrite existing
event timestamps to make tests pass. Cover empty and populated destinations,
concurrency with live append, idempotent replay, conflict preservation, and
an intact chain. Also evaluate repeated dead-letter/finding import counting.
Run the full PostgreSQL suite with no migration exclusions for closure.
No native import is authorized or attempted by this release.
```