Skip to content

feat(pi_agent): make Pi Agent default for HEARTBEAT#3

Open
ryaneggz wants to merge 3 commits intomainfrom
feat/pi-agent-default-heartbeat
Open

feat(pi_agent): make Pi Agent default for HEARTBEAT#3
ryaneggz wants to merge 3 commits intomainfrom
feat/pi-agent-default-heartbeat

Conversation

@ryaneggz
Copy link
Copy Markdown
Owner

Summary

Closes #1

  • Change default HEARTBEAT_AGENT from claude to pi across all configuration (heartbeat.sh, Makefile, docker-compose.yml)
  • Add dedicated pi) dispatch case in heartbeat.sh with --dangerously-skip-permissions flag
  • Promote Pi Agent from optional to default installation in setup.sh
  • Add bats test suite validating default configuration values

Test plan

  • bats tests/ passes all tests
  • HEARTBEAT_AGENT defaults to pi in heartbeat.sh, Makefile, docker-compose.yml
  • Pi Agent has dedicated case in heartbeat.sh switch
  • INSTALL_PI_AGENT defaults to true in setup.sh
  • Existing HEARTBEAT_AGENT=claude override still works

🤖 Generated with Claude Code

ryaneggz and others added 2 commits March 27, 2026 21:33
Closes #1 - Plan to make Pi Agent the default HEARTBEAT_AGENT
across heartbeat.sh, Makefile, docker-compose.yml, and setup.sh.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Change HEARTBEAT_AGENT default from "claude" to "pi" in heartbeat.sh,
  Makefile, and docker-compose.yml
- Add dedicated pi) case in heartbeat.sh dispatch with
  --dangerously-skip-permissions flag
- Promote Pi Agent to default installation in setup.sh (INSTALL_PI_AGENT=true)
- Update README to reflect new default

Closes #1

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ryaneggz ryaneggz marked this pull request as ready for review March 28, 2026 03:35
If the primary agent fails or times out, the heartbeat runner now
tries each fallback in order before giving up. Extracted agent
invocation into invoke_agent() helper.

New env var HEARTBEAT_FALLBACK (default: "claude codex") controls
the fallback order.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

feat(pi_agent): Make Pi Agent Default for HEARTBEAT

1 participant