8000 Reconcile Claude Code Stop observations with documented per-session behaviour · Issue #46 · simon-inkie/inkie-the-brain · GitHub
[go: up one dir, main page]

Skip to content

Reconcile Claude Code Stop observations with documented per-session behaviour #46

Open

Description

@simon-inkie

Original Linear description

Found while verifying the brain-in-Deck demo (2026-08-16): the Stop hook can never trigger an observation by itself, it needs a pointer that only runObservation creates, and Stop never calls it. Every observation in that demo actually came from PreCompact instead, not Stop, despite Stop being documented as observing once per session.

adapters/claude-code/src/on-stop.ts. Worth fixing so Stop-triggered observations actually fire as intended.

Origin

Migrated from Linear: INK-775. The original wording is retained except the disclosed privacy and rendering edits below.

Current scope and qualifications

The description above is the original Linear account, including its historical findings and scope. It is not a fresh claim that every described defect still exists.
Current Linear state is Backlog. Prior source review recorded uncertain, with this remaining scope:

  • Reconcile documentation and owner disposition against accepted absent-pointer no-bootstrap and per-session behaviour. Do not require first-Stop initialisation.

Preserve the accepted absent-pointer/no-bootstrap contract. Investigate the documented per-session behaviour before treating first Stop initialisation as required.

Publication transfers the task; it does not authorise live recovery, deployment, spending or configuration changes.

Activity

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0