Deterministic decisions
action-gate
Evaluate checks into explicit allow, deny or degrade outcomes.
Observed 2026-11-07 ยท Producer spec-spine 0.31.0
d0f73232b99e6896104ce1a2e18a82606d3c6339 โ5 specifications. Verification and deployment qualification are unknown in this export.
action-gate bootstrap (pure decision gate over a check registry)
Bootstrap spec for the action-gate repository: a two-crate pure, deterministic decision gate that evaluates an ActionContext against an ordered, pluggable Check registry and returns Allow/Deny/Degrade. Extracted (relicensed Apache-2.0 by the sole copyright holder) from the Open Agentic Platform's crates/policy-kernel/lib.rs (the Case-B extraction: OAP's hardcoded six-gate evaluate becomes a Check registry over a domain-neutral context). Depends on canonical-keysort-json for reproducible decision hashing. This spec establishes the workspace skeleton and seeds this repo's own spec corpus, governed by the pinned spec-spine library.
Secret detector parity: a regex-free detector registry with ids and offsets, and an opt-in deny-by-default terminal check
Converges the family's secret detection upward into action-gate-core. aicortex-gate's detectors (aicortex spec 013 B-4: 24 published-prefix rules, 7 private-key armour markers including the PGP block, a URL credential detector, a JWT detector, and a Q16 fixed-point entropy detector) move here with their stable detector ids and byte offsets, joined by action-gate's own `api_key =` style assignment rule, as one pure, regex-free registry. A new `SecretScanCheck` reports which detector fired and where without echoing the value. The published `SecretsCheck` and the gate's allow-when-silent default are unchanged; a documented, opt-in `DenyByDefault` terminal check lets a consumer close the gate. Golden vectors ported from aicortex's corpus ship with the crate so aicortex spec 047 can assert parity by vector id. Semver-minor (0.2.0).
Adopt Statecraft profile revision 14 with the ordinary Rust code gate
Authorizes the narrow migration from Statecraft github-actions-rust revision 13 to revision 14 after the spec-spine 0.28.0 bridge and pin sequence. Action Gate keeps its exact engine pin, ordinary Rust code gate and all-features job. The managed authority files are regenerated by the revision 14 producer using the retained setup parameters.
Move spec-spine's committed derived artifacts to .statecraft/derived
Moves the committed spec registry and codebase index from the legacy repository-root `.derived/` to `.statecraft/derived/`, the location the adopted Statecraft profile revision 14 and its managed instructions, ignores and AI review exclusion already name. Only the layout changes: the shard contents, the spec-spine pin, the CI profile and every managed file stay as they are.
Closed evaluation mode: deny by default, required checks, and every deny in order
Adds a second, opt-in evaluation mode to the Gate. A closed gate denies when no check decides, denies when a required check id names no registered check or a required check abstains, and does not stop at an allow or a degrade, so a later deny still decides. The gate's own denies carry stable reason codes and are blocking. An exhaustive evaluation returns every deny in registration order for consumers that report all of their reasons. The mode is part of the config hash, so a closed gate never hashes like an open one, while every open gate keeps its 0.2.0 hash and decision bytes. Written so statecraft-envelope's admission evaluator (statecraft-cli spec 007, the hosted platform's specs 003 and 004) and aicortex-gate (aicortex specs 013 and 051) can replace their hand-written evaluators with action-gate. Semver-minor (0.3.0).