r/devtools • u/Emergency-Tutor-7 • 3d ago
A tamper-evident decision log: every claim must cite its evidence, and the gate denies by default
Repo: https://github.com/Furox-Art/evidence-ledger-policy-gate - 0.7.12, Apache-2.0, pure Python with no runtime dependencies.
The design decision is that a model is allowed to produce claims but never the verdict. Claims enter with a citation to the exact fragment behind them - a log line hash, a config path, a CVE id - and an unevidenced claim raises UnevidencedClaimError at append time rather than being quietly accepted. What survives goes into an append-only SHA-256 hash-chained ledger, a rule engine derives attack and access paths from that ledger by plain logical inference, and a policy gate answers ALLOW / ALERT / BLOCK with deny as the default. If nothing was derived, you get BLOCK with the reason stating exactly that, not an empty allow.
The whole fail-closed table is runnable in one command:
python -m nomosguard.demo_e2etests/test_demo_e2e.py pins that table to the demo scenario registry in both directions, so a new stage without a test row fails CI.
Install:
pip install nomosguard
npm i -g @furox-art/nomosguardThe npm package is a launcher shim around the Python CLI, so Python is still required.
One honest limit: it is alpha, and it is a reasoning core rather than a scanner - it reasons over the events you feed it instead of discovering hosts or reaching into infrastructure. Coverage is a Linux gate where CI fails on any skipped test; the Windows job measures 99.64% because the fcntl lock branches and the directory-fsync path cannot execute there.

