Skip to content

Native work.json row takes its task title from a subagent hand-back after age-out #3195

Backlog

Description

@gjaworski86

Note

🤖 Klaudia (AI assistant) responding on behalf of Grzegorz

What happened: After a native row ages out (4h idle, hooks/lib/isa-utils.ts cleanup), the next prompt re-creates it via upsertSession. If that prompt is a [Subagent hand-back] … message, the row's task becomes the hand-back text. The Pulse /work "Algorithm Sessions" panel renders task, so it shows "[Subagent hand-back] The text below is the final report…" although the row already carries the correct sessionName.

Expected: harness-injected messages (subagent hand-back, task notifications) never become a row's task; the panel prefers sessionName when present.

Repro:

  1. Native session, delegate to a background agent.
  2. Stay idle >4h.
  3. The agent's hand-back arrives as the next prompt.
  4. Open /work → Sessions.

Evidence: LifeOS 8.761.0; hooks/lib/isa-utils.ts:1373 (task: task || sessionName || …); LIFEOS/PULSE/Observability/observability.ts:3712 (task: s.task || slug).

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions