Skip to content

docs: mark auto-capture experimental; label README number provenance - #182

Merged
abogartz merged 1 commit into
mainfrom
fix/140-readme-autocapture-experimental
Oct 29, 2026
Merged

abogartz merged 1 commit into
mainfrom
fix/140-readme-autocapture-experimental

Conversation

@abogartz

Copy link
Copy Markdown
Owner

What this changes

#140: the README presented auto-capture as a working feature and quoted capture lag p50 42 s / p95 6 min in a sample panel — percentiles no store has ever produced. Verified before touching anything: zero auto_capture_* lines and zero capture_lag lines exist in the entire evidence history (checked 2026-10-26 → 2026-10-29), and src/status.ts:524 prints that segment only when at least one capture_lag sample exists.

Auto-capture is now marked experimental and stated as not working yet, item by item against the issue:

Issue item Where
1. Say plainly it does not fire; mark the option experimental New section Auto-capture is experimental; the feature bullet in What you get; the autoCapture options row
2. Remove/label the capture-lag percentiles Dropped from the sample panel; the Capture lag bullet now says the line prints only once capture has actually fired
3. Annotate bench/capture-trigger-results.md The section states what the doc shows: a scripted-extractor simulation of trigger timing, compaction arm 0 rows, 4 of 6 controls FAIL. Link made inline code, matching how the README cites bench/recall-results.md (and bench/ is not in files, so a relative link would 404 on npm)
4. Service-vs-app restart Quick start step 2, the Stale plugin after an update row, the auto-capture troubleshooting row, and the new section
5. Provenance markers on every number Convention stated under the intro (measured / bench / illustrative) and applied: the four bench tables tagged, the STORE panel and footer badge marked illustrative

The new section is deliberately two-sided — it says what is established, not just that the feature is broken:

  • the trigger events (session.execution.succeeded, session.execution.interrupted) are present in the live-host recording test/fixtures/host-events.jsonl, and test/event-fidelity.test.ts fails any trigger that is merely declared;
  • the capture path lands rows through the write gate under simulated envelopes, with conservation;
  • what is not established is that a live host emits those events in the shape the subscription reads end to end, and anything about quality/cost. It also states the uncomfortable part: no terminal e2e scenario covers the trigger, and fabricating the envelope is exactly what passed while the feature was dead (Auto-capture subscribes to session.idle, which opencode 2.x never emits — the feature has never run #136).

Troubleshooting now answers the real question instead of blaming the user: the plugin_load evidence line reports capture=off|invalid_model|no_capabilities|on plus subscribed=[…], so capture=on with no auto_capture_* line afterward is identifiable as the open bug rather than bad config.

Corrections to the issue's own premise

#140's root cause — "the plugin subscribes to an event the host does not emit" — is stale: the 2.x envelope fix landed and the trigger now uses recorded-and-confirmed events. The honest statement is "never verified firing on a live store", which is what the README says. Its claims about the README itself were all still true at 7e72e2f.

One adjacent clause (flagging, not sneaking)

The footer badge bullet now also says cache share stays — on a provider that reports no cache usage (src/tui.tsx:167), which is the case on the maintainer's host. Same defect class, one clause; revert it if you want the PR strictly in scope.

Found while verifying, not changed here

Memory-aware compaction has the same evidence gap: the durable-memory anchor is pushed onto the host's session.compaction hook (src/index.ts:1372) and nothing records the hook firing, so no store can distinguish "works" from "silent" — unlike capture, where the plugin_load heartbeat made absence interpretable. The fix is one evidence line (e.g. ev=compaction_anchor with how many memories rode the summarizer). Happy to file that as an issue; not filing it unsolicited.

Test plan

Docs-only; no source or test changed. Full merge gate locally (typecheck, lint, unit, terminal smoke + BDD) — results in the PR checks. CI lint/test/smoke are the authoritative gate.

Auto-capture is described as a working feature while no store has ever
produced an auto_capture_* or capture_lag evidence line. State plainly
that it does not fire yet, mark the option experimental, drop the
unproduced capture-lag percentiles from the sample panel, annotate the
trigger bench with what it actually measures, and distinguish a desktop
service restart from relaunching the app.

Every figure now carries a provenance marker (measured / bench /
illustrative) so an unlabelled claim is visible as one.
@abogartz
abogartz merged commit a9d2fbf into main Oct 29, 2026
4 checks passed
@abogartz-opencode-self-improvement

Copy link
Copy Markdown

🎉 This PR is included in version 0.14.20 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant