feat: tool hardening, Futhark FFI, F* extraction linkage#7
Merged
Jesssullivan merged 3 commits intomainfrom Feb 26, 2026
Merged
feat: tool hardening, Futhark FFI, F* extraction linkage#7Jesssullivan merged 3 commits intomainfrom
Jesssullivan merged 3 commits intomainfrom
Conversation
- Separate stdout/stderr via Unix.open_process_full (subprocess.ml) - Add required_binary field to tool_def with startup availability check - Standardized JSON output envelope via tool_output.ml - Migrate all 42 tools to wrap_result/wrap_json/wrap_lines/wrap_error
- Ctypes bindings for scan_analysis, pattern_match, network_graph kernels - Lazy dlopen with automatic fallback to pure-OCaml stubs - Add ctypes/ctypes-foreign to dune and flake.nix - justfile recipe for compiling Futhark C to shared libraries
- Commit F*-extracted modules (Types, Policy, Sanitize, Audit, Dispatch) - Implement sha256 extern via Hexstrike_Extern - Wire verified backends into sanitize.ml, audit.ml, policy.ml - CI artifact upload for F* extraction output - Add 10 new tests (subprocess, binary check, output envelope, FFI, F* parity)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
open_process_full,required_binaryfield on all 42 tools with startup availability check, standardized JSON output envelope (tool_output.ml)Dl.dlopen, lazy init with automatic fallback to pure-OCaml stubssha256extern, wired verified backends intosanitize.ml,audit.ml,policy.ml; CI artifact upload for drift detectionTest plan
dune buildclean with ctypes integration