-
Rust — CLI implementation (
impl/rust-cli/), Cargo cratevsh -
Idris2 — ABI definitions with formal proofs (
src/abi/,proofs/idris2/) -
Zig — C-compatible FFI layer (
ffi/zig/, exportsvalence_shell_*) -
Coq / Lean4 / Agda / Isabelle / Mizar — 6-system polyglot proofs (
proofs/) -
Elixir — NIF daemon + MCP server (
impl/elixir/) -
OCaml — Lean-extraction FFI wrapper (
impl/ocaml/)
just build-everything # Build proofs + FFI + CLI + Elixir + MCP
# or one layer at a time:
just build-coq # Coq proofs
just build-lean4 # Lean4 proofs
just build-cli # Rust CLI (vsh)
just build-ffi # Zig + OCaml FFIjust verify-all # Verify all proof systems
just test-cli # Cargo test for impl/rust-cli/
just test-ffi-zig # Zig FFI integration tests
just test-ffi-ocaml # OCaml FFI tests
just test-elixir # Elixir NIF testsvalence-shell/
├── src/ # Source code
├── src/abi/ # Idris2 ABI definitions (if applicable)
├── ffi/zig/ # Zig FFI bridge (if applicable)
├── tests/ # Test suite
├── docs/ # Documentation
├── .machine_readable/ # Checkpoint files (STATE, META, ECOSYSTEM)
├── Justfile # Task runner recipes
├── guix.scm # Guix environment
├── flake.nix # Nix environment (fallback)
└── 0-AI-MANIFEST.a2ml # AI agent entry pointjust build # Build the project
just test # Run tests
just doctor # Self-diagnostic
just lint # Lint and format
just panic-scan # Security scan via panic-attacker
just tour # Guided tour of the codebasejust lint # Format and lint
just test # All tests pass
just panic-scan # No new security issuesRead .machine_readable/MUST.contractile before making changes.
Key invariants that must never be violated:
-
No hardcoded absolute paths (
/home/,/mnt/); use env vars, XDG dirs, or relative references -
No new TypeScript / Python / Go files; no npm/bun/yarn/pnpm dependencies (Deno only)
-
No
believe_meorassert_total(Idris2); no newAdmitted.(Coq); nosorry(Lean); nounsafeCoerce(Haskell); noObj.magic(OCaml) -
No
unsafe {}blocks without an inline safety comment (Rust) -
No template placeholders (
{{…}},<…>) in shipped files — see.machine_readable/bot_directives/methodology.a2ml -
All commits MUST be GPG-signed
-
Full machine-checked list lives at
.machine_readable/MUST.contractile; K9 validators incontractiles/k9/enforce it on every PR
If using an AI assistant, load the warmup context first:
just llm-context # Outputs role-appropriate contextOr read 0-AI-MANIFEST.a2ml and .claude/CLAUDE.md directly.
-
Architecture: EXPLAINME.adoc
-
Report issue:
just help-me