Repository navigation
Closed
Labels
agent:readyHuman-approved for autonomous work by ocsi-fixerreleasedretrievalRetrieval ranking, use telemetry, negative evals, consolidation
Description
Part of #349.
Context (measured)
Arm F, real path, local quantized capture model (results-conflict-real ×2 + results-conflict-real2 ×3): the capture model emitted ref/claim/klass on the guided row 5/6 times. The one miss degraded gracefully — the plain guided row still carried the spec and pass 2 passed the task anyway (results-conflict-real2 run 2.3). So the feature never breaks on a miss, but a miss silently downgrades a code-checked verdict to the coin-flip framing (#345 arm D: 2 harms in 5).
Change
- Add ONE worked example of a guided conflict candidate to
buildCapturePrompt(src/capture/prompt.ts) — models follow an example object better than a rule sentence. Example: user says the tax constant must be 0.0825 →{"type":"context","scope":"pricing","content":"The constant TAX_RATE in src/pricing.ts must be 0.0825.","kw":[...],"guided":true,"ref":"TAX_RATE","claim":"0.0825","klass":"spec"}. Keep the existing contract lines; the example must not reintroduce the forbidden authority claim ("the suite encodes that" stays banned). - Evidence: extend the capture-promoted evidence line with
conflict=full|partial|absentfor the guided rows so emission rate is auditable without reading the store. - Do NOT build a deterministic fallback extractor for ref/claim from user text: without
klassthere is no verdict, and auto-assigning the class is exactly the undecidable decision this epic refuses to make silently. If emission stays below 5/6 after the example, reopen this ticket with the numbers.
Acceptance
buildCapturePromptcontains the worked example; capture tests assert it and assert the suite-authority ban is still present.- A promoted guided row's evidence line carries
conflict=full|partial|absent; tests cover all three shapes. - Bench: over a fresh 6-run arm F window on the seat model, field emission ≥5/6; the per-run table is posted here.
- Junk in any field still drops THAT field, never the row (existing
candidates.tstests keep passing).
Footguns
- The example is also a template for junk: keep the parse strict (identifier regex for
ref, ≤32-char flattenedclaim, enumklass) — the example must not tempt a proseclaim. - Emission is measured on
evo/Qwen3.8-Flash-Next-UD-Q4_K_XL; a different capture model needs its own window, do not quote 5/6 for it.
Metadata
Metadata
Assignees
Labels
agent:readyHuman-approved for autonomous work by ocsi-fixerreleasedretrievalRetrieval ranking, use telemetry, negative evals, consolidation
Activity
abogartz commentedon Nov 8, 2026
Code portion landed on main @ 0.20.0 (via the #343 split + #357): worked example present in buildCapturePrompt; promoted guided rows carry conflict=full|partial|absent on the evidence line. NOT closed — the bench acceptance remains: a fresh 6-run arm F window on the seat model, field emission >=5/6, per-run table posted here. No such window exists in the bench folder as of 2026-11-08 (latest arm F data is the pre-example results-conflict-real2, 5/6). Related: branch retrieval-fix-20261107 adds captureGuidedRules (deterministic guided+quote emission, default OFF); its A/B (results-rules-t3x5, t3 x5) measures guided/orig emission, not ref/claim/klass — it does not satisfy this ticket's window.
abogartz commentedon Nov 8, 2026
Window stopped early by maintainer decision (2 iterations of 6, seat released for the port). Data (results-f-main-x6, plugin main @ d0929a6, bench @ 4a6f316, seat evo/Qwen3.8-Flash-Next):
Emission 1/2 — the coin flip, as predicted from the pre-example 5/6. Maintainer call: the >=5/6 gate is replaced by shipping the deterministic fix. The branch's captureGuidedRules pre-pass measured 5/5 guided+quote emission with 50/50 links and one validator refusal caught live (FINDINGS-2026-11-08-rules-ab.md, bench@2911482). Port PR to follow; this ticket closes when the port lands with the deterministic path on.
abogartz-opencode-self-improvement commentedon Nov 9, 2026
🎉 This issue has been resolved in version 0.21.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
abogartz commentedon Nov 9, 2026
Landed on
maininaac3fe9(PR #364, approved atd0e1ee6; merged after resolving a conflict against #367/#373, gates green atfe73e64).