Skip to content

Make auto-capture default ON, and make the surfaces honest about the cost #380

Done

Description

@abogartz

Problem

Auto-capture is the mechanism the whole store depends on, and on the shipped default it never runs.

Verified on main @ f8f42fd today:

  • src/capture/runtime.ts:185 — if (ctx.options?.autoCapture === true). Anything other than an explicit true registers no subscription, so a default install writes nothing automatically.
  • README.md:71 documents the default as false, with the rationale "the install stays zero-token".
  • README.md:93 still says auto-capture "has never been observed firing on a live opencode 2.x store". That is no longer true: the chain harness has watched it fire on real stores, and FINDINGS-2026-11-08-rules-ab.md records 5/5 guided rows stored across five sessions.
  • The benchmark profiles already run it on. benchmark-tests/ocsi/profiles/chain-on.jsonc and chain-f-main.jsonc both set "autoCapture": true plus a captureModel.

Consequence: every measured benefit of this plugin is measured on a configuration the plugin does not ship. That is #325's finding, and it stays true until the default moves.

What this ticket is

Flip autoCapture to default ON, and make the surfaces honest about it. Precedent for the shape: #352 did exactly this for contradictionSurface — default-ON decision gated on merged-main confidence runs.

Acceptance

  • The default is ON and a test proves it: with no options at all, the capture subscription registers and a turn-end event runs a pass. Today's tests that assert "off unless autoCapture: true" are inverted deliberately, not left to rot.
  • captureModel still resolves per capture (per-session ref → host default, captureModel should default to the session's model — event.model is already delivered to every hook and never read #139). A default-ON install must not require the user to type a model.
  • One explicit kill switch keeps the old behaviour: autoCapture: false registers nothing and costs zero tokens, and the startup log says so once.
  • README changes together: the option table row, and the "Auto-capture is experimental" section, which must stop claiming it has never fired while stating what it now costs.
  • The cost is stated in the reply, not buried: capture is measured at roughly 2k prompt tokens and 20–35 s of model time per session (#317 wire evidence, FINDINGS-2026-11-07-chat.md §23). Default-ON spends that on every session, including ones that store nothing.
  • bun run gate green.

Open decisions the bench should settle first

  1. Do the two cost levers ship ON with it — captureOnSignal and captureDelta (Cheaper auto-capture: measure the cost and add the two switches #365, both currently OFF "until the benchmark says which way to set them")? Default-ON capture without them re-reads the whole transcript every turn.
  2. Does default-ON replace the "zero-token install" claim in the README, or is the claim kept by scoping it to the write gate only?

The merged-main confidence runs (#347) and the #365 cost table are the evidence for both. Do not merge this ticket before they land.

Part of #325 (the default-configuration finding) and #335 (guidance precision and cache economics).

Activity

  1. added
    enhancement
    capture
    severity:medium
    on Nov 9, 2026
  2. added
    tier:full
    on Nov 23, 2026
  3. ocsi-architect commented on Nov 25, 2026

    @ocsi-architect

    Closing: default flipped. src/capture/runtime.ts:201 arms auto-capture unless autoCapture: false, and the README states on-by-default with live-receipts evidence (README lines 35 and 54, verified this session).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    captureenhancementseverity:mediumtier:full

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions