Repository navigation
Done
Labels
captureAuto-capture pipeline: envelope compatibility, trigger coverage, trigger economicsenhancementNew feature or requestseverity:highReal defect on a boundary or documented claim; MVP-relevant, bounded blast radiustier:fullNew predicate or policy: full loop with blind architecture review
Description
Why
Auto-capture was silently dead on the live host, and when it did run it stored the session's own brief back as durable preferences. Both were found by the headless benchmark (epic #315), not by any unit test: the store looked identical whether capture never fired or fired and skipped.
Measured facts this epic must keep true:
- The 2.2.5 host returns session context as
{type:"user"|"assistant"|"idle", text|content[]}— norole, noparts. Reading only the old keys rendered every live session as a 0-character transcript, which the 200-char floor skipped in silence. - Framing rows: Auto-capture stores the current request as durable preference: 7 of 14 captured rows were task framing #329 measured 7 of 14 captured rows restating the task. Work-block-only capture stores zero framing rows but also zero real preferences; the labelled REQUESTS block (branch
capture-input-shape, commit29268ef) keeps preferences without framing. - Redaction order matters (security: auto-capture truncates before redaction and sends private-key fragments (medium) #132): redact the COMPLETE transcript, THEN apply the character budget. Cropping first can start the window inside a credential.
State
- PR fix(capture): read the 2.2.5 session context shape so auto-capture can fire #328 (
fix-capture-transcript-shape): 2.2.5 shape read + recorded throwing capture +auto_capture_skippedevidence. Open, mergeable, bench-validated (every 30/30 chain run since depends on it). - PR fix(capture): stop storing the session's own brief as a durable memory (#329) #331 (
329-capture-precision): prompt-rules-only fix for Auto-capture stores the current request as durable preference: 7 of 14 captured rows were task framing #329, with ablation data. - Branch
capture-input-shape(pushed): the labelled REQUESTS split implementation of Auto-capture stores the current request as durable preference: 7 of 14 captured rows were task framing #329, validated end-to-end by the hint-chain benchmark.
Two competing implementations of #329 exist. This epic decides between them and lands everything.
Success
Merged to main, CI green, and the capture-precision re-measurement recorded on #329 showing zero framing rows on the reproducing fixture.
Part of the retrieval workstream; see the hint-channel epic for what builds on this.
Tickets
- Land PR #328: 2.2.5 session-context shape read + recorded capture skips #336 Land PR fix(capture): read the 2.2.5 session context shape so auto-capture can fire #328 (2.2.5 shape read + recorded skips)
- Decide #329: prompt-rules (PR #331) vs labelled REQUESTS split; land one, close the other #337 Decide Auto-capture stores the current request as durable preference: 7 of 14 captured rows were task framing #329 implementation, land one, close the other
- Re-measure capture precision on main after the #329 fix lands #338 Re-measure capture precision on main
Metadata
Metadata
Assignees
Labels
captureAuto-capture pipeline: envelope compatibility, trigger coverage, trigger economicsenhancementNew feature or requestseverity:highReal defect on a boundary or documented claim; MVP-relevant, bounded blast radiustier:fullNew predicate or policy: full loop with blind architecture review
Activity
chore(release): 0.16.0 [skip ci]
abogartz commentedon Nov 8, 2026
Status 2026-11-08: fix landed via #354 (2.2.5 hosts, facts not briefs); #336 and #337 closed. Only #338 remains — the precision re-measurement on main. Evidence-comment protocol (#349) applies; the results-f-main-x6 window on main is the first sample.
ocsi-architect commentedon Nov 25, 2026
Closing: capture input shape shipped. The capture prompt carries the labelled REQUESTS block discipline (src/capture/prompt.ts lines 88 and 100, opened this session), transcript role/shape compatibility is in
src/capture/transcript.ts, and the skip path is documented with evidence.