Open
Description
Epic Goal
Turn the March 8 real-pattern benchmark from a one-off diagnostic into a sustained root-fix lane for Cortex.
This epic is not about making the benchmark look greener by watering it down.
It is about using the cleaner real-pattern harness to drive the actual product fixes that matter for operator-style prompts.
Why Now
The final live Gemini rerun on March 8, 2026 gave us the cleanest read so far:
- Gemini 3 Flash Preview is working correctly enough to remain the cheap eval lane
- the harness is materially less distorted by prompt-shape noise
- the remaining failures are now useful product signal, not just benchmark noise
Final live read
- Retrieval: 5/12 passed, avg precision@k 0.4167, noisy top-3 hits 0
- Reason: 3/5 gated passed, 5 report-only cases, avg overall 0.6367
- Remaining gate failures:
- pass_rate
- actionability
- hard_failure_rate
Root Problem Statement
Cortex is still weak on long operator-style prompts in two places:
- retrieval quality — the wrong doc/section is still ranked too high too often
- reason actionability — answers are often grounded enough but not operationally decisive enough
Scope
This epic tracks the product-side fixes that should come after the benchmark truth-hardening pass already landed in repo docs/tests.
It is parallel to feature epics like #267 / #274 / #275, not a replacement for them.
Ordered Child Issues
- search: operator-intent query shaping for long workflow prompts #303
- search: top-1 ranking hardening for operator-style retrieval #304
- reason: actionability hardening for operator-style prompts #305
- benchmark: rehydrate clipped telemetry prompts and keep the real-pattern pack fresh #306
Operating Rules
- Keep slices bounded and PR-reviewable.
- Do not hide real failures by loosening expectations without justification.
- Preserve the benchmark as a truth surface.
- Every slice must end with:
- targeted tests
- updated benchmark/docs if interpretation changes
- a clear before/after explanation
Success Criteria
We should be able to say all of this honestly:
- real-pattern retrieval got materially better on top-1 relevance
- reason outputs became more actionable without fake scoring inflation
- fewer cases need
report_only - agents can keep using the GitHub queue as a real operating lane instead of a dead note pile
Activity
hurttlocker commentedon Mar 8, 2026
Locking this epic in as the operating lane for benchmark-root-fix work.
Execution order
Current safe sequence:
PR slicing rules
Acceptance criteria by lane
#303 — query shaping
#304 — ranking hardening
#305 — actionability hardening
#306 — telemetry / fixture quality
report_onlybecause prompt retention / rehydration improvedHawk gate expectations
Every PR from this epic should get:
gh pr checksgo test ./...when scope warrantsNon-negotiable rule
This epic exists to fix the real product gaps the cleaned March 8 benchmark exposed:
If a change makes the benchmark look prettier without making Cortex better, it is the wrong change.
hurttlocker commentedon Mar 8, 2026
Opened #309 to add the repo-level agent operating contract:
Purpose:
AGENTS.mdthe durable repo-wide contract for all agent work