Skip to content

Pi: goal support with session resume #3836

Done

Description

@integry

Let goals run on Pi.

Acceptance:

  • goalCapabilities reports Pi as goal-capable with launch: 'goal-prompt' and resume: 'whole-session', at minimum.
  • Pi sessions for goals are persisted per goal (outside the disposable runtime) and resumed with --session <id|path>, so a resumed goal keeps its conversation. Session files stay owner-only and are cleaned up with the goal.
  • Checkpoints, model change at boundary, pause and input at boundary behave as for the other non-native goal agents.
  • Optional, only if it fits cleanly: Pi's RPC mode (--mode rpc, with steering and follow-up queues) could provide live steering. If you don't implement it, document it as a follow-up.
  • Tests: goal capability, session persistence and resume args, and resume after a checkpoint.

Implementation

Reuse the whole-session resume path used by the other goal-prompt agents; see packages/core/src/agents/goalCapabilities.ts and the goal runners.

Notes

Pi 1.6.1 session flags: --session <path|id>, --session-id <id> (creates the session if missing), --session-dir <dir>, --continue, --fork, --no-session. See docs/sessions.md and docs/rpc.md in the package.

Activity

  1. propr-dev commented on Nov 27, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3836/claude-opus-5-5-pi-goal-support-with-sess-20261127-2116-7kz
    • Base Branch: 3831-epic-pi-coding-jml
    • Worktree: issue-3836-20261127-2116-claude-opus-5-5-7kz

    🔍 Track Task Execution

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions