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-protocols-mv/patches/efd1184cd9597de3 # aien-protocols-mv Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/aien-protocols-mv#35 (code only) closed derived `efd1184cd9597de3` #35 Imported from GitHub aien-dev/aien-protocols-mv#35 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `73b1068cfd3b469c50a720c820506be372ec7950` · Head `24d3ef439496c21ece4d874381bb795934f363ce` ### Fetch it A git bundle of the pull request's head, 4616 bytes. ``` curl -fsSL https://interplane.io/drakestapleton/aien-protocols-mv/patches/efd1184cd9597de3.bundle -o efd1184cd9597de3.bundle git fetch efd1184cd9597de3.bundle refs/pull/35/head ``` Raw bundle · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/aien-protocols-mv 35 24d3ef439496c21ece4d874381bb795934f363ce ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"aien-protocols-mv","number":35,"url":"https://github.com/aien-dev/aien-protocols-mv/pull/35","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:44Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/.crumb b/.crumb index f7347a9..9aa0f09 100644 --- a/.crumb +++ b/.crumb @@ -26,14 +26,14 @@ } ], "children_root": "sha256:772219c4d552f80fe973032e5e9e4e006a2c1ef26f5db0228c80f53c2a49987e", - "compiled_at": "2026-10-18T11:43:15Z", + "compiled_at": "2026-10-18T17:04:17Z", "compiler": "crumb-compile/1", - "digest": "sha256:9e3afae82befb2398dc19377c83c25a75c1f0147535993e8b31dcc14632424d9", + "digest": "sha256:c9867dc638a90a717a8d40b633960502ac30a3c601d595070d430d5f205e17b4", "evidence_files": 1, "evidence_root": "sha256:87c36bf8ed7be61c064552ebf141834707770b75d070ea49328a3e06d510afba", - "files": 473, - "generated_at_commit": "b9b17ff1cec3e04ddc804598edadef6151fefdd0", - "source_tree": "sha256:406e521ee66ecfc6e2d7a25bd31e596d64f10a30f03372f8c7b31798f18098f5" + "files": 474, + "generated_at_commit": "1c3fef59d373a05c5b61f5208b4614e95e518a68", + "source_tree": "sha256:f0f7bcb2a825dbd6f4ada1965d96baac1e465e7eb134bf3235e1393ac800e89f" }, "owner_lane": "", "seed": { diff --git a/README.md b/README.md index a956af4..a8922fe 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ cargo check --workspace --all-targets cargo test --workspace ``` -The C-checked specs ship conformance vectors with shell checkers that need only a C compiler and standard tools: `specs/verified-crumb/tools/check-golden.sh`, `specs/osc-unit-artifact/tools/check-vectors.sh` and `specs/execution-transcript/tools/check-corpus.sh`. `tests/gates/run.sh ` is the entry point for the local gates (steps: `crumb-verify`, `fmt`, `check`, `clippy`, `test`, `zero-disk-secrets`, `anti-slop`). +The C-checked specs ship conformance vectors with shell checkers that need only a C compiler and standard tools: `specs/verified-crumb/tools/check-golden.sh`, `specs/osc-unit-artifact/tools/check-vectors.sh` and `specs/execution-transcript/tools/check-corpus.sh`. `tests/gates/run.sh ` is the entry point for the local gates (steps: `crumb-verify`, `fmt`, `check`, `clippy`, `test`, `zero-disk-secrets`, `anti-slop`, `c-vectors`). `c-vectors` runs every `specs/*/tools/check-*.sh` checker and passes only when all of them pass. Since 2026-10-16 the DGX Spark is the only test judge for pull requests (aien-architecture ADR 0033). It runs the manifests in `tests/gates/` and signs the result; [docs/PIPELINE.md](docs/PIPELINE.md) explains the flow. The verdict of record is the commit status "AIEN Verification (Spark)". diff --git a/tests/gates/proto-c-vectors.gate b/tests/gates/proto-c-vectors.gate new file mode 100644 index 0000000..a9bce59 --- /dev/null +++ b/tests/gates/proto-c-vectors.gate @@ -0,0 +1,21 @@ +# tests/gates/proto-c-vectors.gate +# Runs every spec C checker matching specs/*/tools/check-*.sh with bash (aien-protocols-mv#29). +# No hosted step mirrors this one: before this gate the checkers were never judged. +gate: PROTO-C-VECTORS +manifest_version: 2 +owner: aien-protocols +requires: + - host +inputs: + - specs/ + - tests/gates/ +run: + exec: tests/gates/run.sh + args: ["c-vectors"] +expects: + exit: 0 + observe: ["c_checkers_failed == 0"] + verdict: PASS +timeout: 30m +exactness: EXACT +cache_scope: machine diff --git a/tests/gates/run.sh b/tests/gates/run.sh index 0cee6b2..5eea126 100755 --- a/tests/gates/run.sh +++ b/tests/gates/run.sh @@ -52,6 +52,38 @@ case "$step" in obs dash_hits 0 echo "Sovereign voice compliance verified." ;; + c-vectors) + # Runs every spec checker that matches specs/*/tools/check-*.sh, each with + # bash (two of them use bash-only syntax). PASS only if every one passes; + # FAIL if any fails or if none is found. A new spec checker named + # check-*.sh is picked up with no change here. + shopt -s nullglob + checkers=(specs/*/tools/check-*.sh) + shopt -u nullglob + found=${#checkers[@]} + failed=0 + obs c_checkers_found "$found" + if [ "$found" -eq 0 ]; then + echo "::error::No spec checker matches specs/*/tools/check-*.sh" + obs c_checkers_failed 0 + exit 1 + fi + for c in "${checkers[@]}"; do + echo "== $c" + if bash "$c"; then + echo "CHECKER_PASS $c" + else + echo "::error::CHECKER_FAIL $c" + failed=$((failed + 1)) + fi + done + obs c_checkers_failed "$failed" + if [ "$failed" -ne 0 ]; then + echo "PROTO_C_VECTORS FAIL found=$found failed=$failed" + exit 1 + fi + echo "PROTO_C_VECTORS PASS found=$found failed=0" + ;; *) echo "run.sh: unknown step '$step'" >&2 exit 2 ```