DEMO BUILD STATE — self-healing loop tracker

Branch: demo/build-claude Orchestrator: CLAUDE (solo fallback) Base: d1f2a2c3 (origin/main 2026-08-25) Governing plan: docs/product/DEMO_PLAN_r2.1.md

D-Register

Item Description Wave Status Attempts Notes
D-1 SIG-042 harness → demo surface (Tier 1 replay; Tier 2 live cells) 1 VERIFIED 0 10/10 tests; scripts/demo/sig042_demo.py
D-2 Three rejection paths (O-1, consent-off, sensitive bridge) 1 VERIFIED 0 5/5 tests; scripts/demo/rejection_scenarios.py
D-3 Dosage-curve + DEL-curve render views (read-only) 1 VERIFIED 0 11/11 tests; scripts/demo/curve_views.py
D-4 L1/L5 report views from ledger stores 1 VERIFIED 0 13/13 tests; scripts/demo/report_views.py
D-5 F4 live-demo runbook (sandbox tenant, zero-spend caps) 2 VERIFIED 0 24/24 tests; scripts/demo/f4_demo.py + docs/product/F4_DEMO_RUNBOOK_v1.md
D-6 Shopify install run-through on dev store (Part D steps 1–6) 1 VERIFIED 0 14/15 pass, 1 skip (live commerce sync blocked on owner: dev-store creds)
D-7 Demo-tenant isolation proof (config + test) 1 VERIFIED 0 16/16 tests; config/demo_tenant.yaml + tests/demo/test_demo_tenant_isolation.py

Self-Healing Protocol

Fix Log

D-8 (Wave 3)

Item Description Wave Status Attempts Notes
D-8 Full demo script + provenance chain (five-act arc) 3 VERIFIED 1 38/38 tests; scripts/demo/demo_script.py

Wave 2 Summary

D-5: 24/24 tests. Three-gate halt: flag gate + approval gate + two-key gate.

Wave 3 Summary

D-8: 38/38 tests. Five-act orchestration + provenance chain covering all D-items.

Adversarial Verification

Verifier found 3 HIGH, 4 MEDIUM, 3 LOW findings. All resolved: - HIGH: render_text tag → reason field mismatch (fixed) - HIGH: consent scenario fabricated "consent_required" reason (now honest: fail_closed_missing_taxonomy) - MEDIUM: provenance chain cited passport_assembly.py (→ passport_package.py) - MEDIUM: tautological assert found or True in erasure test (→ pytest.skip) - MEDIUM: bare return in F4 isolation tests (→ pytest.skip) - MEDIUM: WIF runbook §1d accidentally deleted in STEP0 (restored from main) - LOW: 3 unused imports removed

Full Build Summary

130 passed, 2 skipped (both honest: dev-store creds + erasure endpoint unverifiable). Full suite: MIZOKI_STORE=memory python3 -m pytest tests/demo/ -v

← All docsView source on GitHub →