Testing bench: build_admission_front

The build-admission decider: may this build be admitted to the factory queue? Six boolean facts in, one verdict out. The judgement is a proven SPARK conjunction (Build_Admission_Pkg.May_Build) with no other path to admission; this front is its forged argv shell. Every admission the portal ever makes crosses this exact binary.

Binary: wired (named by BUILD_ADMISSION_DECIDER; the path comes only from the server's environment, never from this page)

Theorems the proven core carries

Run it yourself

Space-separated tokens, at most 8, each at most 32 characters of [A-Za-z0-9_]. Malformed tokens are allowed through on purpose: the front's own refusal of them — exit status 3 — is part of what this bench exists to show you.

The truth table — worked examples, re-runnable

These are the rows the forge's harness graded before this artifact was admitted. Running them here re-executes each one against the wired binary, live, and grades the match in front of you.

Exampleargvexpected stdoutexpected exit
prepaid, all facts good — admitted true true true false true false true 0
arrears, meter writable — admitted true true false true false true true 0
NO-ACCOUNT-NEVER-BUILDS — no account attached false true true false true false false 0
BAD-STANDING-NEVER-BUILDS — standing not good true false true false true false false 0
UNKNOWN-MODE-NEVER-BUILDS — both modes asserted true true true true true true false 0
UNKNOWN-MODE-NEVER-BUILDS — neither mode asserted true true false false true true false 0
PREPAID-WITHOUT-CREDIT-NEVER-BUILDS true true true false false false false 0
ARREARS-UNMETERED-NEVER-BUILDS — blind meter refuses true true false true false false false 0
prepaid admitted — meter fact does not bear on prepaid true true true false true true true 0
arrears admitted — credit fact does not bear on arrears true true false true true true true 0
malformed token — the front itself refuses (exit 3); the core never sees it bogus true true false true false (no output) 3
wrong arity — the front itself refuses (exit 3) true true true (no output) 3

The inspector's note

Authored by the seat, 2026-08-13 — grades from evidence, narrated not invented.

Proof inventory — proven

Proof inventory — NOT proven

Open issues — raised, standing until closed

Security checklist — graded from evidence

ItemGradeEvidence
Memory safety by constructioncore: yes, by construction; front shell: not establishedthe core is a SPARK expression function with no IO and no state, absence-of-runtime-error obligations discharged (ledger 162); the .adb shell is Ada with runtime checks, compile-gated only
Proof coveragecore: all obligations discharged; front shell: nonegnatprove run recorded in the wu-build-admission prove logs; the shell carries zero proof obligations because it was never brought under SPARK_Mode
Fail-closed doors witnessedwitnessedexit-3 refusals on malformed tokens and wrong arity graded in the 12/12 truth table and re-runnable on this bench; the unwired-decider refusal (unset BUILD_ADMISSION_DECIDER refuses every admission) is exercised by the portal's own tests
Adversarial passnot yetno adversarial pass recorded against this artifact — stated, not hidden
Dependency surface0 external modules beyond the GNAT runtimethe front's with-clauses are Ada.Command_Line, Ada.Text_IO and the core package; no third-party code anywhere in the artifact
Provenance chainintactprose spec -> forged spec -> prove logs -> provenance JSONs in wu-build-admission/edge -> admitted via signed receipt (ledger 162); the chain's weakest link is the receipt's own Post-weaker-than-body caveat, named above

The fitting bench

fitting evidence: none yet — no artifact has been fitted to a customer environment

Back to the zone