Skip to content

Epic: Auto-capture — dead on 2.x today; make it run, then make triggers earn their tokens #82

Closed
2 of 2 issues completed

Description

@abogartz

Why

Auto-capture is the only path that writes memories nobody asked for. Its correctness and its token economics are both load-bearing, and today it fails the first silently: on opencode 2.x the session.idle envelope read misses event.data, so the feature is dead with no error anywhere (live stores contain zero auto_capture_* rows). Nothing expands the pipeline until it provably runs.

Children, in order

  1. Auto-capture is silently dead on opencode 2.x: session.idle envelope read misses event.data #78 — Auto-capture is silently dead on 2.x. The envelope fix; PR fix(capture): read session.idle and message.updated from the 2.x data envelope #79 is already open and does exactly what the issue specifies (both the session.idle and the audited message.updated reads). Needs review and merge.
  2. P2: Capture on compaction — consolidation pass at the context-death moment #41 — Capture on compaction. The context-death trigger (Compaction Cliff: one compaction retains 53% of exact-wording rules). Must come after Auto-capture is silently dead on opencode 2.x: session.idle envelope read misses event.data #78: a dead pipeline cannot report which trigger earns its tokens, and P2: Capture on compaction — consolidation pass at the context-death moment #41's acceptance is a measured comparison of capture-at-idle vs capture-at-compaction retrieval hit-rate.

Explicitly NOT here

Sub-issues

Sub-issues

2 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added
    capture
    on Oct 24, 2026
  2. WhollyMindless commented on Oct 25, 2026

    @WhollyMindless
    Contributor

    Happy to take #41 (capture on compaction) whenever you want it moved, since #98/#99 don't touch the compaction path. The acceptance is a measured capture-at-idle vs capture-at-compaction hit-rate comparison, which we'd run on the existing bench harness with a negative control per the #68 meta-lesson (a harness that can't fail doesn't count). If #78's fix is verified live before you get to it, we'll fold that check into the PR's evidence. Let us know when to start.

  3. added
    severity:low
    on Oct 30, 2026
  4. ocsi-triager commented on Nov 3, 2026

    @ocsi-triager

    All 2 sub-issues closed as completed: #78, #41. Closing the epic.

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

    captureseverity:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions