-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
Kaizen Finding: KZ-9
Source: /kaizen aprender run 2026-03-18
Severity: Medium
Gate: K8 (contract lint)
Problem
7 contracts have equations but are missing proof infrastructure (proof_obligations, falsification_tests, kani_harnesses). pv lint fails: 0/3 gates passed.
Affected Contracts
apr-cpu-q4k-routing-v1— missing proof_obligations, falsification_tests, kani_harnesseselement-wise-ops-v1— missing proof_obligations, falsification_tests, kani_harnessesmatvec-kernel-v1— missing proof_obligations, falsification_tests, kani_harnessesnormalization-kernel-v1— missing proof_obligations, falsification_tests, kani_harnessesrope-kernel-v1— missing proof_obligations, falsification_tests, kani_harnessessoftmax-kernel-v1— missing proof_obligations, falsification_tests, kani_harnessestranspose-kernel-v1— missing proof_obligations, falsification_tests, kani_harnesses
Five-Whys
- Why no proof infrastructure? Contracts were scaffolded with equations only.
- Why equations only?
pv scaffoldgenerates stubs but obligations require domain knowledge. - Why weren't they filled in? Time pressure — equations were prioritized over proofs.
- Why not caught earlier? No kaizen cycle existed to lint contracts.
- Why not? This is the first kaizen run.
Fix
For each contract, add:
proof_obligationsmatching each equation's invariantsfalsification_testswithif_failsdescriptionskani_harnesseswith bounded model checking stubs
Use the provable-contracts softmax-kernel-v1 contract as a reference template.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels