Declare what may advance
Bind the subject path and digest, required evidence, lifecycle state, age limit, deny markers, and allowed verifier tuple.
Inspect policy contractRepository & release governance / 02
Turn repository evidence into an explicit admit-or-deny decision before an implementation artifact enters a governed stage.
Subject, evidence, verifier source, and selected receipt are bound by SHA-256.
Missing, malformed, stale, future, ambiguous, mismatched, or escaping inputs deny admission.
A deterministic decision records the policy result and exact selected-receipt byte digest.
Use it when
Artifact Admission is for teams that need a repeatable local gate between “the checks ran” and “this exact implementation may advance.” A declarative policy names the subject, evidence, allowed lifecycle state, freshness window, and verifier identity. The evaluator either admits the exact combination or records why it does not.
Workflow
Bind the subject path and digest, required evidence, lifecycle state, age limit, deny markers, and allowed verifier tuple.
Inspect policy contractSelect exactly one bounded receipt matching the subject, stage, policy, evidence digests, and approved verifier source.
Inspect receipt contractWrite a structured create-only result with evaluation checks and the SHA-256 of the exact selected receipt bytes.
Inspect decision contractQuick start
npm install https://kaldenframelabs.com/downloads/kaldenframe-labs-artifact-admission-0.1.1.tgz
node src/cli.mjs verify \
--policy examples/valid/policy.json \
--root examples/valid/workspace
Exit status 0 means ADMIT, 1 means policy denial, and 2 means invalid invocation or an unexpected runtime failure.
Included
Earlier or later in the workflow