fix(research-command): add bash commands for existing PR update path

This commit is contained in:
Youssef Aitousarrah 2026-04-08 10:11:16 -07:00
parent ae46bd4c89
commit b554108eb7
1 changed files with 7 additions and 1 deletions

View File

@ -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