# Stage 06: 1-Up Efficiency Compete (aq06_compete_one_up / DB-UNIT-13)

Takes an already-working incumbent SWHID and baseline scorecard, competing to cut token cost, latency, or model calls with zero regression.

- Atomic micro-queue: `aq06_compete_one_up` (visibility: `public_commons`)
- Backing database unit: `DB-UNIT-13` (`Polymorphic Solutioning, Harness Packages & 1-Up Efficiency Core`)
- Database cell: `entities-db.teleon.dev` (`teleon_core.solution_artifacts`, `teleon_core.competitive_one_up_challenges`, `teleon_core.faceted_worker_subscriptions`)
- Claim row hydration: `single_self_contained_flat_task_row` (100% context inline, normalized writeback)
- Track 2 Sister queue (`SISTER-13`): `sq13-improve-solutioning-queue.teleon.dev` (Improve working-directory package templates, reward 1-up token reductions, and automate agent-to-code demotion.)
- Lanes: Incumbent SWHID, Beat Cost / Latency, 0-Call Demotion

## Execution engines & AI Agent freedom contract

- **Deterministic (0 model calls)**: `openapi_schema_and_rule_factory_solver_v1` (AST dead-path & 0-call demotion compiler)
- **Hybrid (<=1 model call)**: `guided_harness_package_synthesizer_v1`
- **AI Agent & Bot Fleet (1..6 calls)**: `polymorphic_solver_and_one_up_challenger_v1` (Pareto challenger & algorithm optimizer)
  - Contract: **Instructions + Resources + Freedom to search for new resources and new ways not bound by instructions**

## Database invariants

- Competitive 1-up challengers preserve the incumbent typed input/output contract while lowering token or compute cost.
- Solutions returning further_research_needed atomically enqueue targeted acquisition tasks back to Stage 01.

## External & internal bot fleet actions

- Replace multi-call agent steps with 0-call deterministic code or cheaper cascades
- Prove strict Pareto improvement against the incumbent SWHID on identical oracles
- Bank winning 0-call implementations into Persistent Store S1

## Sister self-tuning areas

- Expand drop-in working-directory package templates across coding harnesses (DIM-03, DIM-07)
- Tune bounty multipliers for 1-upping high-token solutions into 0-call deterministic nodes (DIM-06, DIM-08)
- Add faceted routing labels for humanitarian goals, countries, ML competitions, math, and physics (DIM-01, DIM-04)
