All 6 probes re-run post-restart for today's verification: validator(6/6) + extract_json(12/12) + session_log(4/4) + materializer(2/2) + embed(8/8) + subject_audit(6/6) = 38/38
1.6 KiB
1.6 KiB
subject_audit_parity
Generated: 2026-05-03 10:22:58 UTC
Spec: /home/profit/lakehouse/docs/specs/SUBJECT_MANIFESTS_ON_CATALOGD.md §5 Step 8
Rust helper: /home/profit/lakehouse/target/release/parity_subject_audit
Go helper: ./bin/subject_audit_helper
Audit dir: /home/profit/lakehouse/data/_catalog/subjects
Phase 1 — Known-answer vector
Hardcoded fixture row, identical inputs, byte-compare canonical-JSON + HMAC.
MATCH ✓
{"mode":"known_answer","canonical":"{\"accessor\":{\"daemon\":\"gateway\",\"kind\":\"gateway_lookup\",\"purpose\":\"parity_test\",\"trace_id\":\"trace-fixed\"},\"candidate_id\":\"WORKER-FIXED\",\"fields_accessed\":[\"name\"],\"prev_chain_hash\":\"GENESIS\",\"result\":\"success\",\"schema\":\"subject_audit.v1\",\"ts\":\"2026-05-03T12:00:00Z\"}","hmac":"f730fa038c847c27386b92eb1939ec64c62086c0a92617ac0bdf9f650c390b96","canonical_bytes_len":266}
Phase 2 — Real production audit logs
Every *.audit.jsonl in /home/profit/lakehouse/data/_catalog/subjects verified by both runtimes.
| Audit log | Rust verified | Go verified | Result |
|---|---|---|---|
WORKER-1.audit.jsonl |
1 rows (true) | 1 rows (true) | MATCH ✓ |
WORKER-2.audit.jsonl |
4 rows (true) | 4 rows (true) | MATCH ✓ |
WORKER-3.audit.jsonl |
1 rows (true) | 1 rows (true) | MATCH ✓ |
WORKER-4.audit.jsonl |
1 rows (true) | 1 rows (true) | MATCH ✓ |
WORKER-5.audit.jsonl |
1 rows (true) | 1 rows (true) | MATCH ✓ |
Summary
6 / 6 parity assertions passed.
Status: PARITY — every Rust assertion matches Go byte-for-byte.