|
1 | 1 | ;; SPDX-License-Identifier: PMPL-1.0-or-later |
2 | | -(state (metadata (version "0.1.0") (last-updated "2026-02-08") (status active)) |
3 | | - (project-context (name "language-bridges") (purpose "FFI bridges between languages via Zig") (completion-percentage 20)) |
4 | | - (components (component "ada-zig-ffi") (component "gleam-zig-ffi") (component "idris2-zig-ffi") (component "julia-zig-ffi") (component "ocaml-zig-ffi") (component "rescript-zig-ffi") (component "rust-zig-ffi") (component "swift-zig-ffi") (component "zig-c-ffi") (component "zig-container-ffi") (component "zig-fuse-ext") (component "zig-libgit2-ffi") (component "zig-nickel-ffi") (component "zig-systemd-ffi") (component "zig-wireguard"))) |
| 2 | +;; Ochrance - Neurosymbolic Filesystem Verification Framework |
| 3 | +;; STATE.scm - Current project state |
| 4 | + |
| 5 | +(state |
| 6 | + (metadata |
| 7 | + (version "0.2.0") |
| 8 | + (last-updated "2026-03-10") |
| 9 | + (status active)) |
| 10 | + |
| 11 | + (project-context |
| 12 | + (name "ochrance") |
| 13 | + (purpose "Neurosymbolic filesystem verification framework using Idris2 dependent types") |
| 14 | + (completion-percentage 77)) |
| 15 | + |
| 16 | + (components |
| 17 | + (component |
| 18 | + (name "a2ml") |
| 19 | + (description "Attestation & Audit Markup Language") |
| 20 | + (completion-percentage 95) |
| 21 | + (subcomponents |
| 22 | + (subcomponent (name "Lexer") (status "complete") (percentage 100)) |
| 23 | + (subcomponent (name "Parser") (status "complete") (percentage 100)) |
| 24 | + (subcomponent (name "Validator") (status "complete") (percentage 95)) |
| 25 | + (subcomponent (name "Serializer") (status "complete") (percentage 85)))) |
| 26 | + |
| 27 | + (component |
| 28 | + (name "framework") |
| 29 | + (description "Verification framework core") |
| 30 | + (completion-percentage 100) |
| 31 | + (subcomponents |
| 32 | + (subcomponent (name "Interface") (status "complete") (percentage 100)) |
| 33 | + (subcomponent (name "Proof") (status "complete") (percentage 100)) |
| 34 | + (subcomponent (name "Error") (status "complete") (percentage 100)))) |
| 35 | + |
| 36 | + (component |
| 37 | + (name "filesystem") |
| 38 | + (description "Reference VerifiedSubsystem implementation") |
| 39 | + (completion-percentage 75) |
| 40 | + (subcomponents |
| 41 | + (subcomponent (name "Types") (status "complete") (percentage 100)) |
| 42 | + (subcomponent (name "Merkle") (status "active") (percentage 80)) |
| 43 | + (subcomponent (name "Verify") (status "active") (percentage 75)) |
| 44 | + (subcomponent (name "Repair") (status "active") (percentage 65)))) |
| 45 | + |
| 46 | + (component |
| 47 | + (name "ffi-crypto") |
| 48 | + (description "Zig FFI cryptographic bindings via libochrance.so") |
| 49 | + (completion-percentage 30) |
| 50 | + (notes "FFI declarations present, buffer management needs real implementation")) |
| 51 | + |
| 52 | + (component |
| 53 | + (name "abi") |
| 54 | + (description "Idris2 ABI definitions with formal proofs") |
| 55 | + (completion-percentage 80) |
| 56 | + (subcomponents |
| 57 | + (subcomponent (name "Types") (status "complete") (percentage 95)) |
| 58 | + (subcomponent (name "Layout") (status "complete") (percentage 85)) |
| 59 | + (subcomponent (name "Foreign") (status "active") (percentage 60)))) |
| 60 | + |
| 61 | + (component |
| 62 | + (name "echidna-ffi") |
| 63 | + (description "FFI bindings to libechidna.so for neural proof synthesis") |
| 64 | + (completion-percentage 5) |
| 65 | + (notes "Stub only, awaiting libechidna.so stabilization"))) |
| 66 | + |
| 67 | + (blockers-and-issues |
| 68 | + (blocker "FFI buffer management in Crypto.idr uses placeholder cast operations") |
| 69 | + (blocker "Merkle powerTwoSucc arithmetic lemma is postulated, not proven") |
| 70 | + (issue "Verify.idr toHex uses assert_total - needs provably total rewrite") |
| 71 | + (issue "ECHIDNA FFI is stub-only, blocked on libechidna.so API")) |
| 72 | + |
| 73 | + (critical-next-actions |
| 74 | + (action "Replace Crypto.idr placeholder stubs with real FFI buffer calls") |
| 75 | + (action "Prove powerTwoSucc lemma") |
| 76 | + (action "Rewrite toHex as provably total") |
| 77 | + (action "Complete ABI Foreign module with full FFI coverage"))) |
0 commit comments