Skip to content

Land PR #328: 2.2.5 session-context shape read + recorded capture skips #336

Closed

Description

@abogartz

Part of #333.

Change

Merge PR #328 (fix-capture-transcript-shape, head 694a6c5). Three commits' worth of behavior:

  1. Read the 2.2.5 session-context shape (type as role, content[] as parts, non-conversation idle records filtered by a CONVERSATION_ROLES whitelist). Without this, session.context() renders a 0-character transcript on every live host and auto-capture never fires.
  2. Record a throwing capture (auto_capture_refused reason=capture_threw) instead of swallowing the error in the idle hook.
  3. Record thin-transcript skips (auto_capture_skipped with chars) so "host never emitted the event" and "transcript too thin" are distinguishable from the evidence file alone.

Acceptance

  • CI green, merged to main.
  • Unit tests cover: idle records never render; a throwing generate.text lands auto_capture_refused reason=capture_threw; a <200-char transcript lands auto_capture_skipped.

Footguns

Activity

  1. added
    capture
    severity:high
    agent:ready
    on Nov 7, 2026
  2. abogartz commented on Nov 8, 2026

    @abogartz
    OwnerAuthor

    Do not work this ticket separately. PR #328 is closed as superseded by #354, which carries both of its commits (295d0f5, 694a6c5) unchanged.

    Everything this ticket asks for is in #354: the 2.2.5 context shape read with the CONVERSATION_ROLES whitelist, auto_capture_refused reason=capture_threw, and auto_capture_skipped with chars. The three acceptance tests named here are in #354's test/capture.test.ts, and #354 additionally fixes the attribution finding that review raised on #328 (frozen entry-time evidence context, f908e92).

    Acceptance for this ticket is met when #354 merges to main with CI green.

  3. abogartz-opencode-self-improvement commented on Nov 8, 2026

    @abogartz-opencode-self-improvement

    🎉 This issue has been resolved in version 0.16.0 🎉

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent:readycapturereleasedseverity:high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions