@staff0rd/assist 0.1210.0 → 0.1212.0
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/agent/commands/add-rule.md +4 -2
- package/dist/.build-files +20 -20
- package/dist/{askCheck-ETFFQ7T6.js → askCheck-7BV7TOU4.js} +4 -2
- package/dist/built-version +1 -1
- package/dist/{chunk-LLQO3JJG.js → chunk-7RXWUGFS.js} +1 -1
- package/dist/{chunk-6QNME3FE.js → chunk-7ZPDPCA6.js} +1 -1
- package/dist/{chunk-YUAQJOI5.js → chunk-APWG3CPP.js} +1 -1
- package/dist/{chunk-H4DELWDI.js → chunk-BZOFSMYK.js} +1 -1
- package/dist/{chunk-BQUP273D.js → chunk-CEF7DU26.js} +1 -1
- package/dist/{chunk-6FA5JUHF.js → chunk-GJWUEPPD.js} +1 -1
- package/dist/{chunk-VRMG73TV.js → chunk-O4PLJ67D.js} +1 -1
- package/dist/{chunk-2VZZ543N.js → chunk-QK3AYGT3.js} +1 -1
- package/dist/{chunk-DJBOFXG4.js → chunk-XESSK667.js} +4 -4
- package/dist/commands/sessions/web/bundle.js +461 -459
- package/dist/{configGet-Q35KGCZM.js → configGet-5L6N7VKH.js} +3 -3
- package/dist/{configKeys-ESFJJL6F.js → configKeys-G6OXD42P.js} +3 -3
- package/dist/{configKeys-KHVWILYT.js → configKeys-WPCJK4PQ.js} +2 -2
- package/dist/{doctorNodes-FXSEEKEC.js → doctorNodes-DSFOQ4WP.js} +3 -3
- package/dist/index.js +16 -16
- package/dist/{restartNode-ZXJ4UA4Z.js → restartNode-7GSDKNZS.js} +5 -5
- package/dist/{runDaemon-QAXTUNQF.js → runDaemon-NL3C4A3H.js} +23 -5
- package/dist/{signExtension-JBAE53X5.js → signExtension-7KEECCPE.js} +1 -1
- package/dist/{updateNode-SGIL3YQS.js → updateNode-G2XDGAW5.js} +5 -5
- package/dist/{web-YEGRBX62.js → web-OWU6NXW7.js} +8 -8
- package/dist/{web-5WPSAA4O.js → web-QCWQYUZ6.js} +8 -8
- package/package.json +1 -1
|
@@ -3,14 +3,14 @@ description: Capture a new CLAUDE.md rule from a review comment
|
|
|
3
3
|
allowed_args: "[quoted text, file and note from the comment pane] [--repo [name] | --user | --node]"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
You are turning a review comment into a written rule in a `CLAUDE.md` file, so the same mistake is caught next time. `$ARGUMENTS` carries what the comment pane sent: an optional `File:` line, the quoted text in a fenced block, and the reviewer's note.
|
|
6
|
+
You are turning a review comment into a written rule in a `CLAUDE.md` file, so the same mistake is caught next time. `$ARGUMENTS` carries what the comment pane sent: an optional `File:` line, the quoted text in a fenced block, and the reviewer's note. A request from the Rules page's Add rule box carries only a scope flag and a note, with no quote.
|
|
7
7
|
|
|
8
8
|
## Step 1: Read what you were given
|
|
9
9
|
|
|
10
10
|
Pull these out of `$ARGUMENTS`:
|
|
11
11
|
|
|
12
12
|
- **File** — the path the selection came from, if a `File:` line is present. The document preview pane has no path, so it may be missing.
|
|
13
|
-
- **Quote** — the selected text, the concrete example of the rule being broken.
|
|
13
|
+
- **Quote** — the selected text, the concrete example of the rule being broken. Absent when only a note was sent.
|
|
14
14
|
- **Note** — the reviewer's words, the substance of the rule.
|
|
15
15
|
- **Scope flag** — a `--repo` (optionally followed by a repo name), `--user` or `--node` in the arguments. It is an instruction about where the rule goes, not part of the note: strip it from the note before wording the rule.
|
|
16
16
|
|
|
@@ -69,6 +69,8 @@ Outside a web session it writes immediately and exits 0.
|
|
|
69
69
|
|
|
70
70
|
## Step 5: Fix what broke it
|
|
71
71
|
|
|
72
|
+
If Step 1 found no quote, there is no violation to fix: stop after Step 4.
|
|
73
|
+
|
|
72
74
|
The rule exists because something broke it, so the quoted text is now a live violation. Rectify it in the same pass, without being asked: edit the quoted text in the file the `File:` line named, so it follows the rule you just wrote. Where there was no `File:` line, fix the draft or the text the quote came from. An `advice.rules` rule (`repo (db)`, `user (db)` or `user (node)`) is no exception: the quoted violation still gets fixed, even though the rule went to `advice.rules` rather than a file in this repo.
|
|
73
75
|
|
|
74
76
|
Fix the instance you were given. Do not sweep the rest of the repo for other violations of the new rule unless the user asks for that.
|
package/dist/.build-files
CHANGED
|
@@ -11,7 +11,7 @@ allowed.cli-reads
|
|
|
11
11
|
allowed.cli-writes
|
|
12
12
|
analyze-Z7PBB7GH.js
|
|
13
13
|
ask-OPUZZIE3.js
|
|
14
|
-
askCheck-
|
|
14
|
+
askCheck-7BV7TOU4.js
|
|
15
15
|
askDesign-LX33IIVG.js
|
|
16
16
|
askQuestion-EM27OQSM.js
|
|
17
17
|
associateGithub-T5H2W22C.js
|
|
@@ -42,7 +42,6 @@ chunk-2KKIQUZ2.js
|
|
|
42
42
|
chunk-2MG2THMQ.js
|
|
43
43
|
chunk-2R4VODAU.js
|
|
44
44
|
chunk-2T5HRFWP.js
|
|
45
|
-
chunk-2VZZ543N.js
|
|
46
45
|
chunk-3DNFNT2L.js
|
|
47
46
|
chunk-3HNTLFII.js
|
|
48
47
|
chunk-3JXMQFUS.js
|
|
@@ -80,10 +79,8 @@ chunk-65DQSH6Y.js
|
|
|
80
79
|
chunk-67DONCGH.js
|
|
81
80
|
chunk-6CMLXDMS.js
|
|
82
81
|
chunk-6DGPQ67E.js
|
|
83
|
-
chunk-6FA5JUHF.js
|
|
84
82
|
chunk-6G2ADBNV.js
|
|
85
83
|
chunk-6MYNVHWM.js
|
|
86
|
-
chunk-6QNME3FE.js
|
|
87
84
|
chunk-6T53CG7D.js
|
|
88
85
|
chunk-6Z7XJJNZ.js
|
|
89
86
|
chunk-74UX65VL.js
|
|
@@ -93,6 +90,8 @@ chunk-7GSALENY.js
|
|
|
93
90
|
chunk-7HNRCA3N.js
|
|
94
91
|
chunk-7KDF6H4R.js
|
|
95
92
|
chunk-7NZOH4LN.js
|
|
93
|
+
chunk-7RXWUGFS.js
|
|
94
|
+
chunk-7ZPDPCA6.js
|
|
96
95
|
chunk-A2XSU5K6.js
|
|
97
96
|
chunk-A73N4XCX.js
|
|
98
97
|
chunk-A7ONLVZD.js
|
|
@@ -102,6 +101,7 @@ chunk-ADLCDG2V.js
|
|
|
102
101
|
chunk-AEDF2LCO.js
|
|
103
102
|
chunk-ALAS5LZJ.js
|
|
104
103
|
chunk-APM22DBI.js
|
|
104
|
+
chunk-APWG3CPP.js
|
|
105
105
|
chunk-APZ6ZTDA.js
|
|
106
106
|
chunk-AVLELL42.js
|
|
107
107
|
chunk-AXIXL47Y.js
|
|
@@ -114,9 +114,9 @@ chunk-B7VOTF5Q.js
|
|
|
114
114
|
chunk-BGQTKLYD.js
|
|
115
115
|
chunk-BHB7X7F2.js
|
|
116
116
|
chunk-BO5JCCC5.js
|
|
117
|
-
chunk-BQUP273D.js
|
|
118
117
|
chunk-BVHK2VVT.js
|
|
119
118
|
chunk-BXGPF3TG.js
|
|
119
|
+
chunk-BZOFSMYK.js
|
|
120
120
|
chunk-C3MGHR3N.js
|
|
121
121
|
chunk-C3PMHXR5.js
|
|
122
122
|
chunk-C42HQYEM.js
|
|
@@ -124,6 +124,7 @@ chunk-CBPF2T7Q.js
|
|
|
124
124
|
chunk-CDD4ZTG7.js
|
|
125
125
|
chunk-CDDJAXEJ.js
|
|
126
126
|
chunk-CDU6M5IX.js
|
|
127
|
+
chunk-CEF7DU26.js
|
|
127
128
|
chunk-CGYVYHMM.js
|
|
128
129
|
chunk-CIDPTAUE.js
|
|
129
130
|
chunk-CV72PJ76.js
|
|
@@ -131,7 +132,6 @@ chunk-D6WBUFXT.js
|
|
|
131
132
|
chunk-D7UZLH36.js
|
|
132
133
|
chunk-DCQVGAEU.js
|
|
133
134
|
chunk-DJAV6URQ.js
|
|
134
|
-
chunk-DJBOFXG4.js
|
|
135
135
|
chunk-DMUJXQMN.js
|
|
136
136
|
chunk-DPHNPX75.js
|
|
137
137
|
chunk-DS2YJZZY.js
|
|
@@ -168,6 +168,7 @@ chunk-FXIJIVYO.js
|
|
|
168
168
|
chunk-G3ROBZ4I.js
|
|
169
169
|
chunk-GIHVMELY.js
|
|
170
170
|
chunk-GINJQIVR.js
|
|
171
|
+
chunk-GJWUEPPD.js
|
|
171
172
|
chunk-GL5GKF5A.js
|
|
172
173
|
chunk-GNGJN74L.js
|
|
173
174
|
chunk-GQF23TWI.js
|
|
@@ -175,7 +176,6 @@ chunk-GQQVK6FQ.js
|
|
|
175
176
|
chunk-GRXFWFGP.js
|
|
176
177
|
chunk-GVI4JSG7.js
|
|
177
178
|
chunk-GVVK5XFZ.js
|
|
178
|
-
chunk-H4DELWDI.js
|
|
179
179
|
chunk-H63MI5HI.js
|
|
180
180
|
chunk-HB2TXZX4.js
|
|
181
181
|
chunk-HKGCLAZ7.js
|
|
@@ -228,7 +228,6 @@ chunk-LDVATRUW.js
|
|
|
228
228
|
chunk-LEZEMQLA.js
|
|
229
229
|
chunk-LKDW2GWH.js
|
|
230
230
|
chunk-LKZ7J5AK.js
|
|
231
|
-
chunk-LLQO3JJG.js
|
|
232
231
|
chunk-LMHILP5H.js
|
|
233
232
|
chunk-LOP6Y256.js
|
|
234
233
|
chunk-LQMU4BUO.js
|
|
@@ -257,6 +256,7 @@ chunk-NT7WJQ6X.js
|
|
|
257
256
|
chunk-NUFL54RI.js
|
|
258
257
|
chunk-NW2JSDY6.js
|
|
259
258
|
chunk-NZYSENRR.js
|
|
259
|
+
chunk-O4PLJ67D.js
|
|
260
260
|
chunk-O6HFT23O.js
|
|
261
261
|
chunk-O7L27TQP.js
|
|
262
262
|
chunk-OB555FEP.js
|
|
@@ -287,6 +287,7 @@ chunk-QBMFBNEG.js
|
|
|
287
287
|
chunk-QFSTYYD5.js
|
|
288
288
|
chunk-QGOHPST5.js
|
|
289
289
|
chunk-QJRCKXTM.js
|
|
290
|
+
chunk-QK3AYGT3.js
|
|
290
291
|
chunk-QNVYNVAM.js
|
|
291
292
|
chunk-QO2XCM66.js
|
|
292
293
|
chunk-QOEANTK2.js
|
|
@@ -346,7 +347,6 @@ chunk-VEZ3FL5H.js
|
|
|
346
347
|
chunk-VFJK5XMC.js
|
|
347
348
|
chunk-VHRROHRC.js
|
|
348
349
|
chunk-VPMI4LV2.js
|
|
349
|
-
chunk-VRMG73TV.js
|
|
350
350
|
chunk-VUFTZGRE.js
|
|
351
351
|
chunk-VVUYBY6D.js
|
|
352
352
|
chunk-W23SGDCN.js
|
|
@@ -372,6 +372,7 @@ chunk-XA3VSUG6.js
|
|
|
372
372
|
chunk-XADYGSUA.js
|
|
373
373
|
chunk-XCMXBJ67.js
|
|
374
374
|
chunk-XEJODD6D.js
|
|
375
|
+
chunk-XESSK667.js
|
|
375
376
|
chunk-XJTXAL22.js
|
|
376
377
|
chunk-XSJGIJEE.js
|
|
377
378
|
chunk-XT3AOF2P.js
|
|
@@ -397,7 +398,6 @@ chunk-YR3NOIK4.js
|
|
|
397
398
|
chunk-YRA6OXG2.js
|
|
398
399
|
chunk-YS3HSXSJ.js
|
|
399
400
|
chunk-YSNIMCKC.js
|
|
400
|
-
chunk-YUAQJOI5.js
|
|
401
401
|
chunk-YVL3NXEB.js
|
|
402
402
|
chunk-YZ5KJFYU.js
|
|
403
403
|
chunk-Z2YQQYCQ.js
|
|
@@ -453,11 +453,11 @@ commentIssue-DTZMXY2Y.js
|
|
|
453
453
|
comments-PJZGOEPS.js
|
|
454
454
|
commit-YNA2EJJI.js
|
|
455
455
|
commits-QFWMYJC5.js
|
|
456
|
-
configGet-
|
|
456
|
+
configGet-5L6N7VKH.js
|
|
457
457
|
configImportRepos-DS6VOZ24.js
|
|
458
458
|
configImportUser-W7D2TEUE.js
|
|
459
|
-
configKeys-
|
|
460
|
-
configKeys-
|
|
459
|
+
configKeys-G6OXD42P.js
|
|
460
|
+
configKeys-WPCJK4PQ.js
|
|
461
461
|
configList-F5YD5RCL.js
|
|
462
462
|
configSet-DW44W5GI.js
|
|
463
463
|
configUnset-W6GYH4N6.js
|
|
@@ -475,7 +475,7 @@ deps-RSUOIZPE.js
|
|
|
475
475
|
docsConfirm-5JSC4BVS.js
|
|
476
476
|
docsScreenshots-3L3QEB5C.js
|
|
477
477
|
docsUnlock-QBON2H3L.js
|
|
478
|
-
doctorNodes-
|
|
478
|
+
doctorNodes-DSFOQ4WP.js
|
|
479
479
|
done-ZOYCIYHZ.js
|
|
480
480
|
drainDaemon-AJVBJMP2.js
|
|
481
481
|
dropRetiredTables-JBLALSG5.js
|
|
@@ -582,7 +582,7 @@ repos-PPGMWO4B.js
|
|
|
582
582
|
resolveHarness-Z6C4LH4B.js
|
|
583
583
|
resolveModel-NJHWCN2G.js
|
|
584
584
|
restartDaemon-SGNXXO6H.js
|
|
585
|
-
restartNode-
|
|
585
|
+
restartNode-7GSDKNZS.js
|
|
586
586
|
restructure-NBVT3EZS.js
|
|
587
587
|
review-QHTHJU72.js
|
|
588
588
|
reviewPrComments-JNBOGJ4F.js
|
|
@@ -590,7 +590,7 @@ rewindPhase-RVQRUWBX.js
|
|
|
590
590
|
rulesAdd-S5UCL6JD.js
|
|
591
591
|
run-MS2PKO4R.js
|
|
592
592
|
run-V3TNDPDS.js
|
|
593
|
-
runDaemon-
|
|
593
|
+
runDaemon-NL3C4A3H.js
|
|
594
594
|
runExtract-56HKDZWD.js
|
|
595
595
|
runParallelPhase-EKM4GLK7.js
|
|
596
596
|
runRefine-CU3PMW3K.js
|
|
@@ -612,7 +612,7 @@ show-MPF2IFMM.js
|
|
|
612
612
|
show-WFS5UHAP.js
|
|
613
613
|
showClaudeCodeIcon-E4SAM3GN.js
|
|
614
614
|
showCodexIcon-YUAKV4NI.js
|
|
615
|
-
signExtension-
|
|
615
|
+
signExtension-7KEECCPE.js
|
|
616
616
|
simulateDivergence-VB4UL4UR.js
|
|
617
617
|
skip-XAOPATAT.js
|
|
618
618
|
slack-ST3UGGWU.js
|
|
@@ -640,7 +640,7 @@ unlinkNode-GKFA7U4W.js
|
|
|
640
640
|
unstar-TTWHIOYO.js
|
|
641
641
|
update-5G42A5LW.js
|
|
642
642
|
update-KD2UWY63.js
|
|
643
|
-
updateNode-
|
|
643
|
+
updateNode-G2XDGAW5.js
|
|
644
644
|
updatePhase-FN4ZV2ER.js
|
|
645
645
|
updatePlan-4L6P4TON.js
|
|
646
646
|
version-SD3HTBJ2.js
|
|
@@ -648,8 +648,8 @@ viewIssue-N6W53LSK.js
|
|
|
648
648
|
watchLoop-MV7DVGC6.js
|
|
649
649
|
watchReport-A4W7UOAJ.js
|
|
650
650
|
watchWait-YYMDQTOI.js
|
|
651
|
-
web-
|
|
652
|
-
web-
|
|
651
|
+
web-OWU6NXW7.js
|
|
652
|
+
web-QCWQYUZ6.js
|
|
653
653
|
withPool-OXM4WN4L.js
|
|
654
654
|
wontdo-BVSLYH3M.js
|
|
655
655
|
wontfix-RNUMSQJU.js
|
|
@@ -163,7 +163,9 @@ async function applyCheckBump(bump, title, answers) {
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
// src/commands/askCheck/formatAskCheckAnswer.ts
|
|
166
|
-
function formatAskCheckAnswer(title, answers) {
|
|
166
|
+
function formatAskCheckAnswer(title, answers, yolo = false) {
|
|
167
|
+
if (yolo)
|
|
168
|
+
return `Manual check "${title}": works (marked Works by yolo mode; the user did not see it)`;
|
|
167
169
|
const result = answers[CHECK_RESULT_KEY] ?? "";
|
|
168
170
|
const note = answers[CHECK_NOTE_KEY]?.trim();
|
|
169
171
|
const line = `Manual check "${title}": ${result}`;
|
|
@@ -320,7 +322,7 @@ async function askCheck(options) {
|
|
|
320
322
|
}
|
|
321
323
|
const answers = decision.answers ?? {};
|
|
322
324
|
console.log(
|
|
323
|
-
bump && answers[CHECK_RESULT_KEY] === "later" ? await applyCheckBump(bump, check.title, answers) : formatAskCheckAnswer(check.title, answers)
|
|
325
|
+
bump && answers[CHECK_RESULT_KEY] === "later" ? await applyCheckBump(bump, check.title, answers) : formatAskCheckAnswer(check.title, answers, decision.yolo === true)
|
|
324
326
|
);
|
|
325
327
|
}
|
|
326
328
|
export {
|
package/dist/built-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.1212.0
|
|
@@ -608,7 +608,7 @@ var sessionsConfigHelp = [
|
|
|
608
608
|
{
|
|
609
609
|
key: "sessions.yolo",
|
|
610
610
|
setter: "assist config set sessions.yolo true",
|
|
611
|
-
note: "default off: the daemon answers an ask-question form itself, without showing it, when every question is single-select with a (Recommended) option, picking those options. Set globally or per repo (--repo)"
|
|
611
|
+
note: "default off: the daemon answers an ask-question form itself, without showing it, when every question is single-select with a (Recommended) option, picking those options, and marks a manual check raised in a backlog phase with later phases Works. Set globally or per repo (--repo)"
|
|
612
612
|
},
|
|
613
613
|
{
|
|
614
614
|
key: "worktree.enabled",
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-JM57BCD6.js";
|
|
11
11
|
import {
|
|
12
12
|
firstBrokenHop
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-O4PLJ67D.js";
|
|
14
14
|
import {
|
|
15
15
|
describePeerError,
|
|
16
16
|
fetchPeerJson
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
import {
|
|
48
48
|
ASSIST_VERSION,
|
|
49
49
|
PROTOCOL_VERSION
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-7RXWUGFS.js";
|
|
51
51
|
import {
|
|
52
52
|
findLinkSpec
|
|
53
53
|
} from "./chunk-JWMBBFAS.js";
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
} from "./chunk-NPX2RC46.js";
|
|
207
207
|
import {
|
|
208
208
|
configHelpForKey
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-7ZPDPCA6.js";
|
|
210
210
|
import {
|
|
211
211
|
describeConfigLeaves
|
|
212
212
|
} from "./chunk-4VCL6RJV.js";
|
|
@@ -338,7 +338,7 @@ import {
|
|
|
338
338
|
} from "./chunk-FXIJIVYO.js";
|
|
339
339
|
import {
|
|
340
340
|
defaultHotkeys
|
|
341
|
-
} from "./chunk-
|
|
341
|
+
} from "./chunk-QK3AYGT3.js";
|
|
342
342
|
import {
|
|
343
343
|
harnessFeatures
|
|
344
344
|
} from "./chunk-LKZ7J5AK.js";
|