net-kingdom/tools/bounded-execution-admission
tegwick d1cf754222 NK-WP-0056-T11 done: bounded executor core runner
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
2026-10-31 16:00:52 +01:00
..
fixtures/invalid NK-WP-0056-T11 done: bounded executor core runner 2026-10-31 16:00:52 +01:00
tests NK-WP-0056: founder decisions folded in; runtime split into T11 and T12 2026-10-31 15:42:30 +01:00
generate_examples.py NK-WP-0056-T11 done: bounded executor core runner 2026-10-31 16:00:52 +01:00
README.md NK-WP-0056-T01 done: Bounded Execution Admission v0.1 (proposed) 2026-10-31 13:55:18 +01:00
validate.py NK-WP-0056-T11 done: bounded executor core runner 2026-10-31 16:00:52 +01:00

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.