Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them.
Page: /drakestapleton/aien-harness
# aien-harness
Autonomous agent verification and benchmark test harness
Brought by drakestapleton
Unfinished: not checked yet
There is no published receipt of a rebuild from its source yet. What a receipt is
Get this repository
Git over HTTPS
`git clone --no-checkout https://interplane.io/projects/aien-harness/repo.git aien-harness && git -C aien-harness checkout --detach 15948e23e7330dca88e122fb019db75eaf6df6ff`
Source archive of `15948e23e7330dca88e122fb019db75eaf6df6ff`
Download ZIP · tar.gz
Sign in to star 0 stars 0 watching
About Files History Releases Proposed changes Issues For developers
README.md
# aien-harness
Autonomous Change-Management, Schema Validation, and Eval Reliability Harness for AI Agents.
## Doctrine
The model does not own the standard. The harness does. Changing GPT, GLM, Lightning, or any other underlying model must not change what the agent accepts or delivers.
Based on Simon Høiberg’s 5-layer change-management framework, `aien-harness` enforces software-owned boundaries around autonomous agents:
- Layer 1: Eval Classifiers — Splits producing work from judging work. Deterministic checks (syntax, slop phrases, test suites) are regular code. Subjective judgment calls a dedicated classifier judge (e.g. Qwen3-8B on port 18088).
- Layer 2: Schema Contracts — "Done" is a validated JSON schema, not a conversational agreement. Required fields, evidence formats, and reproduction steps are checked by code.
- Layer 3: Least Privilege Tools — Single-purpose actions with permissions lived in software, never in the system prompt.
- Layer 4: Deterministic Workflows — Software owns the state sequence (`workflow_start`, `workflow_advance`, `deliver`). The model cannot skip tests or declare victory prematurely.
- Layer 5: Failure Replay — Every painful failure is recorded with its task, bad output, and the eval that caught it. Changes cannot ship if old failure cases regress.
## Tools (MCP Stdio & FastMCP)
The harness exposes the following tools to Claude Code, Codex, Antigravity, and AIEN:
- `schema_validate`: Validate arbitrary payloads against strict JSON schemas.
- `eval_run`: Run deterministic or model-judged evaluations against work artifacts.
- `workflow_start` / `workflow_status` / `workflow_advance`: Enforce multi-step execution graphs.
- `deliver`: Verify all prerequisite schemas and evals have passed before output delivery.
- `failure_record` / `failure_list` / `failure_replay`: Regression test suite preserving past hurts.
## Quickstart
```
# Run standalone test
spark-harness --test
# Run MCP server on stdio
spark-harness
```
## Structure
- `schemas/`: JSON schemas defining finished states.
- `evals.json`: Classification rules and validation boundaries.
- `workflows.json`: Valid state transition graphs.
- `failures/`: Replay catalog of past regressions.
- `kb/`: Knowledge base lessons tied to failures.
## License
MIT OR Apache-2.0
## For developers: proof and records
The full record of this project. Words that are used only here are explained once:
ID
The project's permanent id on Interplane: the SHA-256 of its first signed record. This one is `git:c4dd1dc0e60876572fb59ad7afb863a276d8b967934054405f0bc9442a70085e`. Its old id, kept only so that old links still work: `z3tjNacwmefzXhmChFjfp6jssEzmK`.
Owner
The key that signs every record of the project. This forge lists the project under drakestapleton; its key is `SHA256:qg3vxoE9ul3Cgk5heosQvPmO9pqIJNsdcsGJ2cHghTs`.
Refs and HEAD
Refs are the names that point at versions: branches and tags. HEAD is the version a fresh copy starts from, the newest commit of the default branch.
Patch
A proposed change, reviewed before it is merged. This forge does not show proposed changes from its own store yet. The list is under Proposed changes .
Receipt
A public record that someone checked a claim, with the fingerprint of its evidence file. The state at the top of this page is read from the list at interplane.io/receipts . This project has no receipt in that list yet.
Clones and fetches over HTTPS: 0 by visitors (git smart-HTTP `info/refs` requests answered 200 in the front-door download log; our own addresses and bots left out; since 2026-11-08) · not measured `git-upload-pack` requests from all clients (the source of this count is retired)
Downloads: 1 by visitors (1 source archives, 0 release assets; forged access log; our own addresses left out; since 2026-11-07)
commit `15948e23e7330dca88e122fb019db75eaf6df6ff` Branches Tags History
`15948e2` feat: inaugural genesis release under Sovereign Resource Commons License (SRCL-1.0) Drake Stapleton committed 2026-09-19
```
.github/
assets/
failures/
kb/
schemas/
src/
.gitignore 136
AGENTS.md 3973
AGENT_CODE_OF_CONDUCT.md 3493
CONSTITUTION.md 8420
CONTRIBUTING.md 1451
Cargo.toml 849
LICENSE 17335
PHILOSOPHY.md 3159
README.md 2516
SECURITY.md 1338
agent.json 602
evals.json 1137
llms.txt 1380
workflows.json 2171
```
Every record: History (commits) · Branches · Tags · Releases, with the SHA-256 of each download · Patches · Issues · This project as JSON