Neurosymbolic CI/CD intelligence layer. Coordinates gitbot-fleet via a safety triangle pipeline with 5 neural networks, VCL queries, Bayesian confidence, and Logtalk pattern detection.
| Tool | Version | Install |
|---|---|---|
Elixir |
>= 1.14 |
|
Erlang/OTP |
>= 25 |
|
Rust |
nightly (>= 1.80) |
|
just |
>= 1.0 |
|
pkg-config + openssl-devel |
system |
|
Optional (for ABI/FFI layers):
-
Idris2 >= 0.7.0 (for the ABI definitions in
src/Hypatia/ABI/) -
Zig >= 0.13.0 (for FFI bridge in
ffi/zig/)
cd ~/Documents/hyperpolymath-repos
git clone https://github.com/hyperpolymath/hypatia.git
cd hypatia
# Build everything (Rust workspace + Elixir)
just build-allExpected output:
Compiling hypatia-cli v0.1.0
Compiling hypatia-data v0.1.0
...
Finished `release` profile [optimized] target(s) in 30s
Resolving Hex packages...
...
Compiling 15 files (.ex)
Generated hypatia app
# Rust workspace tests
just test
# Elixir tests
just test-elixirExpected:
running 42 tests test result: ok. 42 passed; 0 failed .. Finished in 1.2 seconds 15 tests, 0 failures
# Scan a local repository
just scan /path/to/some-repo
# Or via cargo directly
cargo run --bin hyper -- scan ../proven --verboseExpected:
[hypatia] Scanning ../proven ... Found 3 weak points (0 critical, 1 high, 2 medium) Patterns matched: PA003, PA007, PA012 Triangle routing: 1 eliminate, 1 substitute, 1 control
# Compile Idris2 ABI type definitions
just compile-abi
# Build Zig FFI bridge (7 exported C functions)
just build-ffi| Command | Purpose |
|---|---|
|
Build Rust workspace (release) |
|
Build Rust + Elixir |
|
Run Rust tests |
|
Run Elixir tests |
|
Format Rust + Elixir code |
|
Run clippy lints |
|
Scan a repo for weak points |
|
Compile Idris2 ABI definitions |
|
Build Zig FFI bridge |
|
Run panic-attacker analysis |
|
Run panic-attacker pre-commit scan |
|
Check all required tools are installed |
|
Guided walkthrough of the repo |
openssl-sys build failure-
Install
openssl-devel(Fedora) orlibssl-dev(Debian/Ubuntu). mix: command not found-
Install Elixir via asdf:
asdf plugin add elixir && asdf install elixir latest. ** (Mix) Could not find Hex-
Run
mix local.hex --force && mix local.rebar --force. - Elixir tests hang
-
The OTP supervision tree starts GenServers. Set
MIX_ENV=testand ensure no other Hypatia instance is running. idris2 not found(for ABI work)-
Install via pack: https://github.com/stefan-hoeck/idris2-pack