Repository navigation
Done
Labels
captureAuto-capture pipeline: envelope compatibility, trigger coverage, trigger economicsenhancementNew feature or requestseverity:mediumReal but narrow: robustness, hygiene, or gated behind multiple preconditionsspec:incompleteNot executable: missing repro or no measurable acceptance criterion. Author: add it, or close.tier:fullNew predicate or policy: full loop with blind architecture review
Description
Problem
With the shipped defaults, nothing in the plugin tells a model to write a memory, so an interactive session stores close to nothing — and every measured benefit of the store therefore depends on a nudge that comes from somewhere else.
What the code actually says:
src/inject/digest.ts:66— the only injected memory sentence is a read instruction: "Durable memories exist for this repository. Check memory_recall BEFORE grepping or reading." No write nudge.src/capture/runtime.ts:117— auto-capture is gated onctx.options?.autoCapture === true, an explicit opt-in. The live config sets"autoCapture": false.- Tool descriptions describe the write pipeline; they never ask for a write.
Evidence that writes are instruction-driven rather than plugin-driven:
- In the benchmark (
~/Documents/benchmark-tests/ocsi), the harness prompt ends with "Before you finish, use the memory tools if available to record what you learned...". The B chain produced 54 writes across 24 runs. Remove that sentence and the mechanism that produced them is gone. - In this repository, 320 of the 440 rows written 2026-11-03..05 are
pr-watch/pr-claimwatermark rows (scope=review, 322 of 440 by scope). They come from the dispatch automation, whose design puts the watermark in agent memory (~/.t3/bin/osi-work:30: "the watermark lives in the agent's memory, not in GitHub"). Instructed agents write a lot; interactive sessions with no such instruction write almost nothing.
Consequence for the results: the coalescence benefit measured in the dark run — median wall-clock 177.5 s without the plugin against 103.2 s once the store has coalesced — only accrues where writes were elicited or instructed. A default user may never build a store large enough to get it.
Work
- Decide the default posture: a write nudge in the injected block, or
autoCaptureon by default, or explicit "this plugin is opt-in capture" in the README. - If a nudge is added, it must stay cache-safe and must not push writes on every turn — the cold-write cost is measured at ~1,250 tokens of per-call overhead beyond the memory text itself.
- Re-run the benchmark arm
B1P(plugin on, plain prompt, cold store, full budget) and report rows stored per run, so the claim is quantified rather than inferred.
Metadata
Metadata
Assignees
Labels
captureAuto-capture pipeline: envelope compatibility, trigger coverage, trigger economicsenhancementNew feature or requestseverity:mediumReal but narrow: robustness, hygiene, or gated behind multiple preconditionsspec:incompleteNot executable: missing repro or no measurable acceptance criterion. Author: add it, or close.tier:fullNew predicate or policy: full loop with blind architecture review
Activity
abogartz commentedon Nov 7, 2026
Update from the benchmark work: this issue's premise changed. With #328 fixed, auto-capture is a working mechanism, and it stores as much as an eliciting prompt without spending any in-session tokens.
Same instances I1–I6, same blind grading, one variable per row:
Read it as three postures:
autoCapture: false, no nudge): 0.5–0.7 rows/run. Nothing coalesces, so no re-entry benefit is reachable. That is the original finding, and it stands.memory_remembercalls per run, and that is where most of the measured cold tax came from.autoCapture: true): 2.8 rows/run, 14 of 17 rows mined after turn end, gate promoted all of them, and in-session writes stay at the plain arm's level. The cost moves out of band: one model call, ~2,430 tokens, ~25 s.So the choice in this issue is not "nudge or stay silent" — it is where to pay. A nudge buys rows with the user's own turn; capture buys the same rows asynchronously.
Two conditions before capture can be the default:
generate.textexposes no way to turn it off.Neither blocks the decision that capture is the better mechanism. Full data and caveats (n = 6 per arm, one local model, cross-host token totals not comparable):
~/Documents/benchmark-tests/ocsi/results9/CAPTURE-ANALYSIS.md.abogartz commentedon Nov 11, 2026
The cold-write figure referenced here is bad-metric.
Cost retraction (#392). The token figure above came from
runSession().tokens = input + output + reasoning, with cache excluded and capture excluded. On this providerinputis only the uncached remainder: one run reported 13,393 of 187,856 tokens that actually moved — 7%. A metric that undercounts by 93% still produces a plausible number, and a plausible number gets quoted.Disposition: retracted as a cost claim. Do not quote it as tokens moved, saved, or spent. The stored wire logs for this run carry no provider
usageobject, so no recomputed figure exists.Corrected metric, in force:
work = session generation + capture generation, with cache read/write reported separately and never folded in. Two results survive it, both with n and seat named on #386: transport 0/5 to 5/5 (leak-checked, one seat) and reuse median 0.98x (n=6, no measurable effect).Rules now written down where contributors hit them: no cost claim below n=6 pairs per arm; a ratio at 6 <= n < 21 is labelled "20% resolution"; the word "cheaper" does not appear without an n, a seat and a metric named on the same line; no dollar figure without a hosted-provider measurement.
ocsi-architect commentedon Nov 25, 2026
Closing: the ticket's own remedy shipped. Default config now writes — auto-capture is armed out of the box (
src/capture/runtime.ts:201, PR #436), so measured store value no longer depends on the harness nudge sentence. The B1P re-quantification belongs to the external bench.