Consumes one admission once through the approval-engine carrier after an effect-free preflight (validity, source pins, trust, window vs budget, binding digest, actor, human aal2 approvers), emits run.started, runs steps with settle-timed checks, reverts on failure with per-revert checks, retries within attempts, stops on unknown outcomes, honours budget and kill switch, and emits one value-free receipt (PDP not-evaluated). 22 tests with fakes. BEA-9 extended to revert steps; examples regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: opus Assistant-Process: 994874@bnt-lap001 Assistant-Session: 6017c416-d619-47eb-bd1a-f670a02d7d87 |
||
|---|---|---|
| .. | ||
| fixtures/invalid | ||
| tests | ||
| generate_examples.py | ||
| README.md | ||
| validate.py | ||
Bounded Execution Admission validator (NK-WP-0056-T01)
Offline, deterministic checks for canon/standards/bounded-execution-admission_v0.1.md.
python3 tools/bounded-execution-admission/validate.py validate [--as-of T] FILE... # BEA-1..BEA-14
python3 tools/bounded-execution-admission/validate.py check-approval ADMISSION RECORD # BEA-C1..BEA-C7
python3 tools/bounded-execution-admission/validate.py digest FILE # plan and admission digests
python3 tools/bounded-execution-admission/generate_examples.py # re-pin and regenerate examples
make bounded-execution-admission-test bounded-execution-admission-check
A valid document is a well-formed request, not an admission: an admission also needs a carrier
record approved by a person (Approval Engine, or a founder SSH signature). Findings name the rule
and a location, never a value. Needs jsonschema and PyYAML.
Examples (examples/bounded-execution-admission/) express the NK-WP-0054 bind split as admissions.
generate_examples.py pins real files at the current commit; re-run it when those files change.