# Stage 56: Proof & Certificate Gate (aq56_prove_and_validate_certificate / DB-UNIT-07)

Validates proof-carrying task certificates across formal kernels, SMT solvers, fuel-metered Wasm replays, property seeds, and byte spans at 0 model calls.

- Atomic micro-queue: `aq56_prove_and_validate_certificate` (visibility: `public_commons`)
- Backing database unit: `DB-UNIT-07` (`Deterministic Wasm/gVisor Sandbox & Red-Team Oracle Core`)
- Database cell: `queues-db.teleon.dev` (`teleon_core.acceptance_oracle_suites`, `teleon_core.sandbox_slsa_attestations`, `teleon_core.adversarial_redteam_vectors`)
- Claim row hydration: `single_self_contained_flat_task_row` (100% context inline, normalized writeback)
- Track 2 Sister queue (`SISTER-07`): `sq07-improve-sandbox-queue.teleon.dev` (Strengthen mutation kill rates, reduce sandbox cold-start fuel, and harvest new adversarial fuzzing routines.)
- Lanes: EAT-0..EAT-5 Tiers, Lean 4 / Z3 / Wasm, Asymmetric Check

## Execution engines & AI Agent freedom contract

- **Deterministic (0 model calls)**: `wasmtime_wit_deterministic_runner_v1` (0-call Lean 4 / Z3 / Wasmtime / QuickCheck certificate checker)
- **Hybrid (<=1 model call)**: `boundary_counterexample_synthesizer_v1`
- **AI Agent & Bot Fleet (1..6 calls)**: `adversarial_exploit_hunter_v1` (Proof-script, invariant & shrunk-counterexample author)
  - Contract: **Instructions + Resources + Freedom to search for new resources and new ways not bound by instructions**

## Database invariants

- Content approval grants zero execution authority; sandboxes enforce fuel, memory, and zero-network isolation.

## External & internal bot fleet actions

- Synthesize machine-checkable proofs, SMT UNSAT witnesses, or deterministic Wasm replay traces
- Check non-vacuity so unsatisfiable preconditions never masquerade as valid proofs
- Shrink failing property-test inputs into minimal deterministic reproduction seeds

## Sister self-tuning areas

- Add deterministic property-testing generators for surviving code mutants
- Tune Wasm fuel ceilings and warm-snapshot pooling priorities
- Expand prompt-injection and path-traversal red-team vector corpora
