feat: add --branch/--prompt to spawn CLI + file-based prompt delivery#102
feat: add --branch/--prompt to spawn CLI + file-based prompt delivery#102AgentWrapper wants to merge 1 commit intomainfrom
Conversation
b89e1c3 to
a04c6d0
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
e84a435 to
c50fd01
Compare
Addressing review commentsAll 4 bugbot comments reference code from old commits that were removed during rebase. After the rebase onto main:
|
- Add --branch and --prompt options to `ao spawn` CLI command - Write long prompts to file and use $(cat ...) to avoid tmux truncation - Add promptFile field to AgentLaunchConfig, handled by all 4 agent plugins - Extract shared parsePrUrl() helper to deduplicate PR URL parsing - Fix duplicate React keys in CIBadge when CI checks share names Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
c50fd01 to
6d1f05f
Compare
Summary
-pget mangled by tmux/zsh (same root cause as orchestrator system prompt fix in feat: first-class orchestrator session + file-based system prompt #101)promptFiletoAgentLaunchConfig—spawn()writes prompts to{sessionId}-prompt.mdfiles, and all agent plugins use$(cat ...)shell substitution--branchand--promptCLI options toao spawn, enabling revival of sessions on existing branches:ao spawn project --branch feat/existing-branchTest plan
pnpm typecheckpassespnpm lintpasses (0 errors)pnpm testpasses (129/129)--branchfor existing PRs on integrator project — all launched correctly with prompts delivered via file🤖 Generated with Claude Code