Gate Decision Flow — Deterministic Validation

Gate Decision Flow — Deterministic Validation A workflow diagram generated by Archify. 01 / Input 02 / 7 Checks 03 / Decision 04 / Outcome Validate Decide Worker Output · artifact + manifest · Input › Validate Worker Output artifact + manifest gate.py · 7 checks · 7 Checks › Validate · deterministic gate.py 7 checks deterministic PASS · all 7 checks · Decision › Validate PASS all 7 checks FAIL · any check failed · Decision › Decide FAIL any check failed committer.py · acceptance policy · Outcome › Validate committer.py acceptance policy Cognition OS · visible state · Outcome › Decide Cognition OS visible state PI Escalation · human decision · Outcome PI Escalation human decision Retry · fix + resubmit · Outcome Retry fix + resubmit Legend Agent logic Policy Context / trace External system

7 Checks

  • • 1. filesystem — required outputs exist
  • • 2. provenance — produced by THIS run
  • • 3. schema — frontmatter fields valid
  • • 4. transition — legal state change
  • • 5. gate_ledger — content if mandated
  • • 6. heavy_products — MANIFEST.sha256
  • • 7. match_records — pairwise integrity

Deterministic Rule

  • • Code enforces, not LLM judgment
  • • PASS = commit allowed
  • • FAIL = retry or escalate
  • • No partial credit