KB-5CD8

FIX3 10 — Safety Audit

2 min read Revision 1

SUPERTRACK J. All checks verified live (MCP read-only and ssh psql), before == after the COMMIT.

No QT-001 apply: the apply writer fn_dot_birth_qt001_apply was not executed; readiness BLOCKED; no-bypass all_blocked true. No permit: open execute permits 0. No done ledgers: birth_backfill_ledger_v2 done 0. QT-001-origin births: 0 (birth_registry net-neutral; the writer never ran). Tier1 target births: unchanged (machine TIER1 = 0). Gateway md5 unchanged: fn_birth_registry_auto norm-md5 c022f849c2c7d57a720c4cc172789d70; gateway integrity all_ok true. trigger_guard_alerts unchanged: 129 == 129 (the event-trigger guard reacts only to trigger DDL; FIX3 created only tables/functions/views and ran one UPDATE). apr_approved unchanged: 2. Dangerous DOT freeze enforced: v_birth_stage0_freeze_no_go_guard PASS 2/2. No trigger or gateway-body change. No event / REALRUN / UI mutation. OOM safe (PG16 healthy; statement_timeout raised only for the apply transaction via ssh psql, not the MCP path). Rollback staged: 99_rollback.sql, rehearsed inside a transaction — all FIX3 views/functions drop, qt001_capability_contract drops, fn_qt001_machine_tier restored to delegate to v2, the two patched FIX2 guards restored, and the eleven rule_checksum values restored to their pre-FIX3 originals.

Birth anchor: birth_registry 1,211,019 == 1,211,019. DDL footprint: 20 new views, 8 new functions, 1 new table, 1 repointed function, 2 patched FIX2 guard views, 1 UPDATE of 11 rows. Zero ALTER TABLE. Zero CREATE TRIGGER.

Method notes for the next operator: writes go via ssh contabo then cat host-file piped into docker exec -i postgres psql (the container cannot see host paths); MCP query_pg is read-only with a 5s timeout and 500-row cap, so heavy fingerprint/snapshot scans run via ssh psql with statement_timeout raised; the write allowlist is /opt/incomex/docs/mcp-writes and a subdirectory must be created with mkdir+chmod before write_file; the KB WAF rejects fenced code blocks.

Back to Knowledge Hub knowledge/dev/reports/architecture/birth-stage2-6a-fix3-qt001-exact-control-contract-authority-lockdown-2026-06-06/10-safety-audit.md