# Stage 114: HW Mask & Retry Gate (aq114_probe_hw_mask_and_reconcile_retry / DB-UNIT-16)

Checks worker GPU/TEE/FIDO2 bitmasks, 1-frame render budgets, and FFmpeg filters before claim, and reconciles remote outcomes before retrying E3/E4 effects.

- Atomic micro-queue: `aq114_probe_hw_mask_and_reconcile_retry` (visibility: `public_commons`)
- Backing database unit: `DB-UNIT-16` (`Resource Network Catalog, Capacity Feeds & Eligibility Broker Core`)
- Database cell: `queues-db.teleon.dev` (`teleon_core.resource_provider_catalog`, `teleon_core.capacity_feed_snapshots`, `teleon_core.portable_work_unit_leases`)
- Claim row hydration: `single_self_contained_flat_task_row` (100% context inline, normalized writeback)
- Track 2 Sister queue (`SISTER-16`): `sq16-improve-capacity-queue.teleon.dev` (Track provider quota shifts, tune adaptive quorum factors, and minimize total cost per independently accepted output.)
- Lanes: hw_required_mask Bitwise, 1-Frame Render Probe, E0..E4 Retry Reconcile

## Execution engines & AI Agent freedom contract

- **Deterministic (0 model calls)**: `quota_aup_and_spdx_eligibility_router_v1` (Bitmask eligibility matcher, render-budget calculator & E0..E4 retry guard)
- **Hybrid (<=1 model call)**: `capacity_feed_anomaly_and_deprecation_watcher_v1`
- **AI Agent & Bot Fleet (1..6 calls)**: `provider_terms_and_allowance_scout_v1` (Hardware fallback planner & bilateral missing-data RFI composer)
  - Contract: **Instructions + Resources + Freedom to search for new resources and new ways not bound by instructions**

## Database invariants

- Free inference endpoints are never conflated with sandboxed code execution runtimes.
- Academic or noncommercial AUP pools are strictly refused for commercial surface workloads.
- Untrusted volunteer or opportunistic nodes never receive secrets, private code, or unverified single-quorum acceptance.

## External & internal bot fleet actions

- Prevent 4-hour CPU software render lockups and missing filter crashes via 1-frame probes and bitmasks
- Reconcile destination state by idempotency_key before ever retrying E3 or E4 external effects
- Park tasks with structured missing-data RFI envelopes instead of hallucinating absent inputs

## Sister self-tuning areas

- Update provider free-tier neuron/batch ceilings and commercial-use flags from primary docs (DIM-01, DIM-08)
- Tune BOINC-style adaptive replication quorum factors by worker reliability history (DIM-06)
- Compile prefix-aware batch packing rules to capture 50% batch plus 90% cache discounts (DIM-07, DIM-08)
