push_worktree
Push a task's branch to origin under its own name.
writesnot idempotentdestructiveCLI onlyAgent
Komrad overwrites origin's copy after a rebase only when nothing on origin would be lost.
Calling it#
curl -X POST http://127.0.0.1:8787/komrad.agent.v1.AgentService/PushWorktree \
-H 'Content-Type: application/json' \
-d '{
"task_id": "<task_id>"
}'komrad rpc push-worktree \
--task-id '<uuid>'