Skip to content

v0.15.0

Latest

Choose a tag to compare

@lazy9sascha lazy9sascha released this 01 Dec 23:13
fff8f4f

Feature map

  • Command evidence adapter. Set target to "command" to run Python, Node.js, or another test command. CAAC passes the argument list directly in a private checkout copy without shell expansion. Command adapter
  • Zero-trust execution and replay. Add --zero-trust to caac evidence run or caac evidence check. CAAC rejects dirty checkouts and clears the inherited environment with env_clear() before setting a fresh HOME and TMPDIR. The check replays the case from a clean snapshot. Isolated verification
  • Negative control. Declare negative_control to require a passing baseline and a test that detects a controlled change. A test that still passes after the change fails with false-green-test. Negative controls
  • Independent review follow-up. Read verification_mode to distinguish receipt-only checks from reverified checks. See verified_cases and total_cases in caac map. Use caac init to generate a runnable Python example from contract to evidence and map. Feature map · Runnable starter

Workflow

flowchart LR
    Bind["Bind the case to a test command"] --> Baseline["Run the baseline"]
    Baseline -->|Passes| Mutation["Run the declared mutation in a separate copy"]
    Baseline -->|Fails| Blocked["Block the run"]
    Mutation -->|Test detects the change| Detected["Record detected-regression"]
    Mutation -->|Test still passes| FalseGreen["Block false-green-test"]