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
The kani CI workflow (`.github/workflows/kani.yml`) and local target (`just verify`) are both wired up and running — the nightly cron succeeded on 2026-04-16. But there are currently zero `#[kani::proof]` annotations in the codebase, so the kani step is effectively a no-op wiring check (it relies on `continue-on-error: true` to stay green).
CLAUDE.md says kani targets "a curated set of `#[kani::proof]` invariants (hashing, path normalization)".
MediaPath forward-slash invariant — no backslash appears in a normalized `MediaPath` on any input.
BlakeHash hex round-trip — `parse_hex(to_hex(h)) == h` for all 32-byte hashes (mostly serde sanity, but kani proves it across all inputs).
FileSize arithmetic non-overflow — if we end up with checked arithmetic on `FileSize`, prove it never silently wraps.
When
Phase 9 (hardening + perf) is the natural home. Can be pulled forward if we find a subtle bug kani would catch. No rush — the CI plumbing is ready whenever proofs land.
Acceptance
At least one `#[kani::proof]` in `crates/core` passes locally via `just verify`.
Remove `continue-on-error: true` from `.github/workflows/kani.yml` once proofs are reliable (so proof regressions actually fail CI).
Activity
fix(db): v0.6.4 — FTS5 soft-delete correctness round-2