You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add clearer clap help text and CLI help assertions.\nDocument the full fmt/clippy/test verification flow in the project docs.\nRefactor STARK and runtime support code to satisfy rustfmt and clippy without changing behavior.
- rejected: softmax and hard-softmax proof paths, bitwise instructions, compare instructions, non-halted public claims, public claims with `carry_flag = true`
| Run strict lint pass |`cargo clippy --all-targets --all-features -- -D warnings`| Keep the full tree warning-free |
79
+
| Run full engine suite |`cargo test --all-features`| Burn + ONNX + Python validator + CLI workflow |
78
80
| Run a program |`cargo run --bin tvm -- programs/fibonacci.tvm`| Shortcut for `tvm run`|
79
81
| Trace execution |`cargo run --bin tvm -- run programs/counter.tvm --trace`| Emits trace and summary |
80
82
| Verify transformer vs native |`cargo run --bin tvm -- run programs/fibonacci.tvm --verify-native`| Lockstep comparison |
81
83
| Verify all engines |`cargo run --features full --bin tvm -- run programs/fibonacci.tvm --verify-all`| Transformer + native + Burn + ONNX |
82
84
| Create a proof |`cargo run --bin tvm -- prove-stark programs/fibonacci.tvm -o /tmp/fib.proof.json`| Uses current vanilla STARK path |
83
85
| Verify a proof |`cargo run --bin tvm -- verify-stark /tmp/fib.proof.json`| Re-checks a saved proof |
84
-
| Review doc drift |`git diff -- README.md SPEC.md IMPLEMENTATION_PLAN.md CLAUDE.md`| Use before finishing doc/context work |
86
+
| Review doc drift |`git diff -- README.md CLAUDE.md docs/`| Use before finishing doc/context work |
85
87
</commands>
86
88
87
89
<workflows>
@@ -94,8 +96,8 @@ scripts/
94
96
95
97
<proof_change>
96
98
1. Read `src/proof.rs` and `src/vanillastark/**`.
97
-
2. Update support and limitation language in `SPEC.md` and `README.md`.
98
-
3. Re-run at least `cargo test` and, when Burn or ONNX paths are affected, `cargo test --features full`.
99
+
2. Update support and limitation language in `README.md`, `CLAUDE.md`, and matching files under `docs/`.
100
+
3. Re-run at least `cargo test` and, when Burn or ONNX paths are affected, `cargo test --all-features`.
99
101
</proof_change>
100
102
101
103
<engine_change>
@@ -123,7 +125,7 @@ scripts/
123
125
|---------|--------------|-----|
124
126
|`prove-stark` rejects a program | Unsupported instruction, attention mode, or claim shape | Check `src/proof.rs::validate_proof_inputs` and the carry/halted restrictions |
125
127
| Burn or ONNX commands are unavailable | Missing feature flag | Re-run with `--features burn-model`, `--features onnx-export`, or `--features full`|
126
-
| Docs mention WASM compilation as current behavior | Stale pre-implementation text | Prefer `SPEC.md` and the source tree over old planning language |
128
+
| Docs mention WASM compilation as current behavior | Stale pre-implementation text | Prefer `README.md`, `CLAUDE.md`, and the source tree over old planning language |
127
129
| An engine mismatch appears during verification | Trace divergence across runtimes | Inspect `ExecutionTraceEntry` output and compare instruction/state pairs |
0 commit comments