# Stage 121: 4-Rung OKF Automorph (aq121_evolve_4rung_okf_schema / DB-UNIT-04)

Graduates data shapes from Rung 1 zero-DDL OKF envelopes to Rung 4 columnar projections only when query-savings ROIC exceeds DDL cost with 20% hysteresis.

- Atomic micro-queue: `aq121_evolve_4rung_okf_schema` (visibility: `public_commons`)
- Backing database unit: `DB-UNIT-04` (`48-Cell Hybrid Search, LSH & Retrieval Core`)
- Database cell: `lsh-db.teleon.dev` (`teleon_core.teleon_lsh_signatures_256`, `teleon_core.bm25f_seven_field_postings`, `teleon_core.roaring_trigram_inverted_index`, `teleon_core.markov_l0_prefetch_transitions`)
- Claim row hydration: `single_self_contained_flat_task_row` (100% context inline, normalized writeback)
- Track 2 Sister queue (`SISTER-04`): `sq04-improve-search-queue.teleon.dev` (Tune BM25F field weights, MMR diversity, synonym rings, multilingual stemmers, and 0..N retrieval steps.)
- Lanes: Rung 1..4 Ladder, ROIC Amortization Gate, Affine Unit + CRDT

## Execution engines & AI Agent freedom contract

- **Deterministic (0 model calls)**: `bm25f_roaring_lsh_zero_model_v1` (Shape fingerprinter, ROIC gate calculator & affine/CRDT normalizer (0 calls))
- **Hybrid (<=1 model call)**: `query_intent_expansion_hybrid_v1`
- **AI Agent & Bot Fleet (1..6 calls)**: `multi_hop_federated_scout_v1` (Domain ontology & canonical unit curator)
  - Contract: **Instructions + Resources + Freedom to search for new resources and new ways not bound by instructions**

## Database invariants

- Retrieval stays deterministic at 0 model calls when optimize_mode=zero_model_deterministic.
- Return compact contract cards first; defer source bytes until inspect_or_stream.

## External & internal bot fleet actions

- Keep novel tail shapes at Rung 1 zero-DDL while promoting >100k-row hot clusters to Rung 4
- Mount only Tier 0 + Tier 2 columns for Wasm 0-call slices to cut claim hydration bytes >75%
- Canonicalize usd/ms/bytes/bps units affinely and merge concurrent edits via OR-Set and PN-Counter CRDTs

## Sister self-tuning areas

- Tune 7-field BM25F weights and MMR diversity_floor on frozen retrieval benchmarks
- Expand multilingual query synonym tables and domain aspect boosters
- Add pre-retrieval / post-retrieval deterministic reranking steps and code_blocks
