Skip to content

Commit a04b539

Browse files
hyperpolymathclaude
andcommitted
feat(cli): add Zig CLI consumer (subprocess architecture)
Adds the verisim standalone CLI — the agreed-upon CLI-first consumer target, chosen for OS process isolation (dependability + security over priority order). Architecture: - src/Abi/VCLProtocol.idr — Idris2 formal ABI for the stdio wire protocol (VCLQuery, VerdictResult, WellFormedExchange + A2ML framing constants) - src/vcl_server.jl — Julia server script; spawned as child process, reads VCL from stdin, proves via Verisim package, emits A2ML [vcl-verdict] - ffi/zig/src/verisim_cli.zig — Zig binary; resolves package path, spawns Julia, pipes queries/verdicts (4/4 unit tests: Pass, ParseError, empty, multi) - ffi/zig/build.zig + build.zig.zon — Zig 0.15 build config - justfile: cli-build, cli-build-release, cli-test, cli-query recipes No libjulia embedding — subprocess boundary is the isolation mechanism. VERISIM_PACKAGE_PATH env var overrides package location; fallback: ../../../.. relative to binary. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cc38b06 commit a04b539

26 files changed

Lines changed: 3154 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0
2+
13532472 568521687 1775936988767152939 e46f1c19190e7ab7c9990a9f1254254a 1 .zig-cache/o/327829e0a82728c9c7e5a38887a68037/test
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0
2+
13532472 568521687 1775936988767152939 e46f1c19190e7ab7c9990a9f1254254a 1 .zig-cache/o/327829e0a82728c9c7e5a38887a68037/test

verisim-modular-experiment/ffi/zig/.zig-cache/h/3fab9fecec7da505b407065f6f1b3c34.txt

Lines changed: 837 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0
2+
13532472 568521687 1775936988767152939 e46f1c19190e7ab7c9990a9f1254254a 1 .zig-cache/o/327829e0a82728c9c7e5a38887a68037/test
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0
2+
13532472 568521687 1775936988767152939 e46f1c19190e7ab7c9990a9f1254254a 1 .zig-cache/o/327829e0a82728c9c7e5a38887a68037/test
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0
2+
13532472 568521687 1775936988767152939 e46f1c19190e7ab7c9990a9f1254254a 1 .zig-cache/o/327829e0a82728c9c7e5a38887a68037/test

verisim-modular-experiment/ffi/zig/.zig-cache/h/68a2d0ec7ae0d7c363ddb07ce3e3ac44.txt

Lines changed: 835 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0
2+
13532472 568521687 1775936988767152939 e46f1c19190e7ab7c9990a9f1254254a 1 .zig-cache/o/327829e0a82728c9c7e5a38887a68037/test
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0
2+
13532472 568521687 1775936988767152939 e46f1c19190e7ab7c9990a9f1254254a 1 .zig-cache/o/327829e0a82728c9c7e5a38887a68037/test

verisim-modular-experiment/ffi/zig/.zig-cache/h/a429212b5cbb08e6ec1982bb389a4e00.txt

Lines changed: 838 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)