pi-graphite 0.3.3 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -4
- package/package.json +1 -1
- package/skills/graphite/SKILL.md +4 -3
package/README.md
CHANGED
|
@@ -8,9 +8,12 @@ graphite_status → (graphite_setup if needed) → graphite_sync → graphite_na
|
|
|
8
8
|
→ graphite_change → graphite_submit_stack (dry-run) → graphite_submit_stack (apply)
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
The extension wraps `gt` only. It deliberately does **not** call `gh`, edit
|
|
12
|
-
titles/bodies, fetch review comments, or perform stack surgery
|
|
13
|
-
|
|
11
|
+
The extension wraps `gt` only. It deliberately does **not** call `gh`, edit
|
|
12
|
+
PR titles/bodies, fetch review comments, or perform stack surgery (split /
|
|
13
|
+
fold / move / squash / reorder). For those flows, run the underlying `gt`
|
|
14
|
+
or `gh` command yourself in your own terminal; the agent should not invoke
|
|
15
|
+
them from bash, as their defaults open interactive prompts, hunk pickers,
|
|
16
|
+
or editors that will hang non-interactive sessions.
|
|
14
17
|
|
|
15
18
|
## Requirements
|
|
16
19
|
|
|
@@ -64,7 +67,7 @@ graphite_submit_stack apply=true confirmRemote=true
|
|
|
64
67
|
Conflict path:
|
|
65
68
|
|
|
66
69
|
```text
|
|
67
|
-
# resolve files, git add
|
|
70
|
+
# resolve files, then: git add -- <paths>
|
|
68
71
|
graphite_recover action=continue
|
|
69
72
|
```
|
|
70
73
|
|
package/package.json
CHANGED
package/skills/graphite/SKILL.md
CHANGED
|
@@ -22,8 +22,9 @@ Use this skill whenever the user wants to:
|
|
|
22
22
|
|
|
23
23
|
Do not use it for:
|
|
24
24
|
|
|
25
|
-
- editing PR titles / bodies / labels / reviewers metadata
|
|
26
|
-
|
|
25
|
+
- editing PR titles / bodies / labels / reviewers metadata — prefer a
|
|
26
|
+
dedicated `gh` tool/extension; see the `gh` rule below
|
|
27
|
+
- reading PR review comments or CI status — same
|
|
27
28
|
- rewriting history beyond create/amend (split / fold / move / squash /
|
|
28
29
|
reorder). The extension does not expose stack surgery. Do not invoke
|
|
29
30
|
`gt` directly from bash for these — those subcommands prompt
|
|
@@ -68,7 +69,7 @@ graphite_submit_stack apply=true (push, with confirmRemote=true)
|
|
|
68
69
|
When a `gt` command halts on conflict:
|
|
69
70
|
|
|
70
71
|
```
|
|
71
|
-
resolve files in editor → git add <
|
|
72
|
+
resolve files in editor → git add -- <paths> → graphite_recover action="continue"
|
|
72
73
|
```
|
|
73
74
|
|
|
74
75
|
Never run `git rebase --continue` after a Graphite-initiated rebase; use
|