The project's README from github.com/MORTEN-BUUR/nordef-matrix-open-control. As one markdown file: README.md.
A model-independent safety belt for AI agents.
NORDEF Matrix Open Control places deterministic policy, cryptographic human approval, replay protection, shared-channel controls, and hash-chained evidence outside the language model.
A model can propose. The control plane decides what may proceed. Human authority lives outside model text.
The 2026 OpenAI–Hugging Face incident showed that capable agents can:
A system prompt alone is not an enforcement boundary. This project provides a small reference control plane that does not depend on a particular model or model provider.
0 / 1 / 2 decisions;execute=false for every path in this LAB candidate;This is a LAB reference implementation, not a claim of general AI safety.
It does not:
Real enforcement must be placed in components the agent cannot modify: network policy, identity systems, executor permissions, evidence storage, and human approval hardware/processes.
cd /path/to/nordef-matrix-open-control-v3
PYTHONPATH=src python3 -m unittest discover -s tests -v
PYTHONPATH=src python3 scripts/run_eval.py \
--bank evals/openai_hf_incident_patterns.jsonl \
--state-dir /tmp/nordef-open-control-eval
Expected result:
29 tests: PASS
10 eval cases: PASS
0 actions executed
| Code | Meaning | Default result |
|---|---|---|
0 |
read-only / controlled | may reach model transport; no action execution |
1 |
review / side effect requested | held for human root or authorized dry-run only |
2 |
blocked | does not reach model transport when blocked at input boundary |
A valid mandate proves authorization only. It does not mean an action ran. This candidate emits an immutable dry-run manifest with execute=false.
A signed mandate binds:
The verifier rejects stale, future, overlong, mismatched, replayed, malformed, unknown-key, invalid-signature, and test-only mandates.
src/nordef_open_control/
policy.py deterministic input/action policy
channels.py cross-agent shared-channel boundary
root_gate.py Ed25519 mandate verification
replay.py persistent one-time nonce registry
evidence.py sanitized append-only hash chain
control.py model-independent orchestration gate
eval.py deterministic eval-bank runner
evals/ incident-pattern JSONL bank
scripts/ command-line verifier
tests/ unit and integration tests
This repository is intended to be the safety belt, not a release of proprietary models, routing systems, private infrastructure, credentials, customer data, or internal connectors.
3.0.0-labCreated by Morten Büür / Nordlys Datacenter with Eirik / NORDEF Matrix.