Skip to content

refactor: use PI_CODING_AGENT_DIR env var and remove unused subagent infrastructure#52

Merged
kostyay merged 4 commits into
mainfrom
refactor/use-agent-dir-env-var
Mar 18, 2026
Merged

refactor: use PI_CODING_AGENT_DIR env var and remove unused subagent infrastructure#52
kostyay merged 4 commits into
mainfrom
refactor/use-agent-dir-env-var

Conversation

@kostyay
Copy link
Copy Markdown
Owner

@kostyay kostyay commented Mar 16, 2026

  • Replace hardcoded ~/.pi/agent paths with PI_CODING_AGENT_DIR environment variable throughout extensions, with fallback to $HOME/.pi/agent when unset
  • Update control socket path from ~/.pi/session-control to $PI_CODING_AGENT_DIR/../session-control for consistent storage hierarchy
  • Update stash, sandbox, and session-breakdown storage paths to use PI_CODING_AGENT_DIR instead of hardcoded home directory paths
  • Remove unused subagent infrastructure: agent definitions (planner, researcher, reviewer, scout, worker), cmux session management, and associated test suites (~2,200 lines)
  • Simplify brainstorm skill documentation to focus on ask_question tool patterns, removing batched question guidance and redundant examples
  • Remove closed ticket references (.tickets/as-0673.md, .tickets/as-5a68.md) and update CHANGELOG with refactor summary

@kostyay kostyay changed the title WIP refactor: use PI_CODING_AGENT_DIR env var for agent configuration paths Mar 16, 2026
@kostyay kostyay changed the title refactor: use PI_CODING_AGENT_DIR env var for agent configuration paths refactor: use PI_CODING_AGENT_DIR env var and remove unused subagent infrastructure Mar 18, 2026
@kostyay kostyay merged commit df2914b into main Mar 18, 2026
@kostyay kostyay deleted the refactor/use-agent-dir-env-var branch March 18, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant