You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ The MVP is Codex-first:
7
7
- reads Codex hook JSON from stdin;
8
8
- captures only explicit plan blocks such as `<proposed_plan>...</proposed_plan>`, `<proposed_plan title="...">...</proposed_plan>`, or `## Accepted Plan`;
9
9
- stores captured plans and planning Q/A decisions in `.agent-plan.json`;
10
-
- posts a new PR comment with newly captured current-branch items when an open PR exists;
11
-
- leaves the local stack queued when no open PR exists yet.
10
+
- posts a new PR comment with newly captured current-branch items when a valid (open, non-draft) PR exists;
11
+
- leaves the local stack queued when no valid PR exists yet.
12
12
13
13
## CLI
14
14
@@ -46,15 +46,15 @@ If an agent emits known XML-style plan sections (`summary`, `flow`, `test_plan`,
46
46
47
47
## Pull Request Comments
48
48
49
-
When `gh pr view` finds an open PR for the current branch, `plan-to-git` creates a new issue comment on that PR containing items that have not been posted before:
49
+
When `gh pr view` finds an open, non-draft PR for the current branch, `plan-to-git` creates a new issue comment on that PR containing items that have not been posted before:
50
50
51
51
```markdown
52
52
## Agent Plan Update
53
53
54
54
...
55
55
```
56
56
57
-
The PR description is not edited. Closedor merged pull requests are not commented on; new items stay queued until an open PR exists. After a comment is created, `.agent-plan.json` records the posted item hashes and GitHub comment id so repeated `sync`, `hook`, or `import-codex` runs do not post the same plan again, including on a later PR.
57
+
The PR description is not edited. Closed, merged, or still-draft pull requests are not commented on; new items stay queued until the PR is valid (open and marked ready for review). After a comment is created, `.agent-plan.json` records the posted item hashes and GitHub comment id so repeated `sync`, `hook`, or `import-codex` runs do not post the same plan again, including on a later PR.
- Kept captured plan updates queued instead of posting comments to draft pull requests, so plans stay on the upload stack until the PR is valid (open and ready for review).
0 commit comments