@eliya-oss/agent-diff 0.1.0-alpha.147 → 0.1.0-alpha.149
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/CHANGELOG.md +35 -0
- package/dist/main.js +1053 -92
- package/package.json +1 -1
- package/skills/adiff/SKILL.md +10 -2
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"bin": {
|
|
24
24
|
"adiff": "./bin/adiff.js"
|
|
25
25
|
},
|
|
26
|
-
"version": "0.1.0-alpha.
|
|
26
|
+
"version": "0.1.0-alpha.149",
|
|
27
27
|
"description": "Review the work an agent left you without losing the thread: comments live on the lines, the agent answers them, and each point stays open until you settle it.",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"repository": {
|
package/skills/adiff/SKILL.md
CHANGED
|
@@ -28,6 +28,14 @@ A comment keeps coming back until it is answered. A second `take` returns it aga
|
|
|
28
28
|
you take. Settling or removing it also retires it: those are the reviewer saying they no longer
|
|
29
29
|
need one.
|
|
30
30
|
|
|
31
|
+
## A remark is context, a comment is work
|
|
32
|
+
|
|
33
|
+
`adiff remark list --repo . --branch <branch>` reads the remarks left on the branch's pull request.
|
|
34
|
+
They are not yours to act on. A remark is somebody's point about the code, and the reviewer decides
|
|
35
|
+
what happens to it: accepting one writes a comment, and that comment is what reaches you through
|
|
36
|
+
`comment take`. Read remarks when the reviewer asks you to, or to understand a comment that answers
|
|
37
|
+
one. Never act on a remark that has not been accepted, and never accept one yourself.
|
|
38
|
+
|
|
31
39
|
## Wait for the next one
|
|
32
40
|
|
|
33
41
|
```bash
|
|
@@ -294,8 +302,8 @@ adiff draft drop --repo . --branch their-change --id d1
|
|
|
294
302
|
|
|
295
303
|
Rules for drafting on somebody else's behalf:
|
|
296
304
|
|
|
297
|
-
- **You never send.**
|
|
298
|
-
review, so the reviewer sends it.
|
|
305
|
+
- **You never send.** `draft send` exists and it is the reviewer's, not yours. The reviewer signs
|
|
306
|
+
the review, so the reviewer sends it.
|
|
299
307
|
- **Write what the reviewer meant, not what you would say.** They told you the point; your job is
|
|
300
308
|
the wording. If you are not sure what the point is, ask rather than inventing one.
|
|
301
309
|
- **One draft per point.** A held comment that covers three things cannot be dropped in part.
|