interplane.Get Omega
Read in your language

aien-protocols-mv

Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem

Brought by drakestapleton

branch main Branches Tags History

aien-protocols-mv / specs / execution-transcript / tools / README.md

36 lines · 2453 bytes Raw Blame History Rendered
1# TRN1 tools
2
3All scripts here are host-only (no hardware, no QEMU) and use shell plus
4coreutils and a C99 compiler. No Python.
5
6**Run them with bash.** `make-corpus.sh`, `check-corpus.sh` and
7`mutate-verifier.sh` are bash scripts (`#!/bin/bash`; `make-corpus.sh` uses bash arrays and C-style `for` loops,
8`check-corpus.sh` uses `${PIPESTATUS[0]}`). On systems where `/bin/sh` is
9dash, `sh check-corpus.sh` fails with a syntax error that says nothing about
10the corpus. `test-check-corpus.sh` is POSIX sh and calls `bash` itself, so
11either `sh` or `bash` works for it.
12
13| Script | Run as | What it does |
14|---|---|---|
15| `make-corpus.sh OUT_DIR` | `bash tools/make-corpus.sh vectors` | regenerates every vector and manifest (`expected.txt`, `compare.txt`, `join.txt`, `.gitattributes`) from the spec tables |
16| `check-corpus.sh [CC]` | `bash tools/check-corpus.sh` | regenerates into a temp dir, requires it byte-identical to `vectors/`, builds `trn1_verify.c` (warnings as errors, plus ASan/UBSan when available) and checks every `expected.txt` and `compare.txt` line |
17| `test-check-corpus.sh [CC]` | `sh tools/test-check-corpus.sh` | proves `check-corpus.sh` ignores only the crumb tool's `.crumb` and `.crumb.local` files |
18| `mutate-verifier.sh [CC]` | `bash tools/mutate-verifier.sh` | builds one verifier per check with that check disabled; any mutant the corpus does not catch is a SURVIVOR and fails the run |
19| `trn1_verify.c` | `cc -std=c99 -o trn1_verify tools/trn1_verify.c` | reference verifier: `FILE`, `--compare EXP ACT`, `--corpus DIR` |
20
21`vectors/join.txt` is not read by any tool here. It lists the causal-join
22refusals a joiner must produce (spec section 5.5) and stays NOT_RUN until
23one exists.
24
25## Human-Directed Agentic Engineering
26
27Development follows Human-Directed Agentic Engineering (HDAE): humans define goals,
28architecture, constraints, acceptance criteria, and stopping points; agents implement,
29execute checks, diagnose failures, and revise within those boundaries. Human review
30retains responsibility for claims, acceptance, and release decisions. This describes
31the development method, not a change to runtime autonomy or historical evidence.
32
33For the documented method and a systems-software case study, see Gregory M. Kurtzer
34(2026), *Ginux: Building an Independent Kernel That Runs Linux Userspace through
35Human-Directed Agentic Engineering*, technical report, v1, Zenodo,
36<https://doi.org/10.5281/zenodo.23682548>.