Skip to content

Detect and attribute file modifications made by subagents #7

@jcleira

Description

@jcleira

Description

Partio currently captures file changes made by the primary agent session. Extend session tracking to also detect and attribute file modifications made by subagents spawned during a session (e.g., Claude Code spawning sub-agents via the Agent tool). Changes made by subagents should be included in the parent session's checkpoint with appropriate attribution.

Source

Target Repos

  • cli

Acceptance Criteria

  • File modifications from subagent processes are detected and included in the parent session checkpoint
  • Subagent contributions are attributed distinctly (e.g., tagged in metadata) from primary agent changes
  • No duplicate attribution when the primary agent and subagent modify the same file
  • Existing checkpoint attribution tests pass; add test for subagent scenario

Context Hints

  • cli/internal/session/
  • cli/internal/checkpoint/
  • cli/internal/agent/

Comment /minion build or add the minion-approved label to begin implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions