From b554108eb7c5f39d5ef278ac64f57c2b4c08973a Mon Sep 17 00:00:00 2001 From: Youssef Aitousarrah Date: Wed, 8 Apr 2026 10:11:16 -0700 Subject: [PATCH] fix(research-command): add bash commands for existing PR update path --- .claude/commands/research-strategy.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.claude/commands/research-strategy.md b/.claude/commands/research-strategy.md index 19988f74..5563f2f0 100644 --- a/.claude/commands/research-strategy.md +++ b/.claude/commands/research-strategy.md @@ -163,7 +163,13 @@ Then check for an existing open PR on branch `research/current`: EXISTING=$(gh pr list --head research/current --state open --json number --jq '.[0].number // empty') ``` -If one exists: push to that branch and update PR description with new findings. +If one exists: +```bash +git push origin HEAD:research/current +gh pr edit "$EXISTING" \ + --body "$(cat docs/iterations/LEARNINGS.md | head -30)" +``` + If none exists: ```bash git checkout -b research/current