noskills 4.5.1 → 5.0.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/README.md +497 -18
- package/noskills.js +145 -1
- package/package.json +14 -1
- package/{chunks/ajan-bridge-T5M4DPDT.js → ts/chunks/ajan-bridge-6UUIUFAV.js} +1 -1
- package/ts/chunks/anthropic-ICVQ5GK6.js +1 -0
- package/ts/chunks/approve-R7MCYHCS.js +1 -0
- package/ts/chunks/ask-GBLFPNFX.js +2 -0
- package/ts/chunks/block-YEKLMXHR.js +1 -0
- package/ts/chunks/cancel-7NS4WM2N.js +1 -0
- package/ts/chunks/chunk-2CLD527I.js +1 -0
- package/ts/chunks/chunk-34AWV7DB.js +1 -0
- package/ts/chunks/chunk-3M26Y3NG.js +27 -0
- package/{chunks/chunk-KM64FL2X.js → ts/chunks/chunk-3QVRJO3V.js} +1 -1
- package/ts/chunks/chunk-5ALJRBMW.js +22 -0
- package/ts/chunks/chunk-5NMDE2VZ.js +4 -0
- package/ts/chunks/chunk-6BKTY7SA.js +4 -0
- package/ts/chunks/chunk-6M7PCVUR.js +1 -0
- package/ts/chunks/chunk-6O2RXYTM.js +3 -0
- package/ts/chunks/chunk-7DIQYKPL.js +3 -0
- package/ts/chunks/chunk-7J6R2D2K.js +2 -0
- package/ts/chunks/chunk-ATNTR7M5.js +1 -0
- package/ts/chunks/chunk-AW3XJGEP.js +1 -0
- package/ts/chunks/chunk-BRC46A3N.js +39 -0
- package/ts/chunks/chunk-C5LYQDQH.js +368 -0
- package/ts/chunks/chunk-CCYWFSXR.js +3 -0
- package/{chunks/chunk-OAWYVETM.js → ts/chunks/chunk-CL55MNGD.js} +1 -1
- package/ts/chunks/chunk-CSP2GUD4.js +29 -0
- package/{chunks/chunk-EROZRDGT.js → ts/chunks/chunk-D2UKX2VW.js} +1 -1
- package/ts/chunks/chunk-DGYDUGTM.js +1 -0
- package/ts/chunks/chunk-FB3Z7XYQ.js +1 -0
- package/ts/chunks/chunk-FLLYK5FU.js +1 -0
- package/{chunks/chunk-EJYSOUEA.js → ts/chunks/chunk-GCPGG4YB.js} +1 -1
- package/{chunks/chunk-LN4NDYT6.js → ts/chunks/chunk-HLDPASM6.js} +1 -1
- package/ts/chunks/chunk-HNQA5O2S.js +2 -0
- package/ts/chunks/chunk-HUP7XWW6.js +1 -0
- package/ts/chunks/chunk-J3XNDEMU.js +4 -0
- package/ts/chunks/chunk-K6FVY52W.js +5 -0
- package/ts/chunks/chunk-KQJGXVWX.js +91 -0
- package/ts/chunks/chunk-M4U4Y3XQ.js +7 -0
- package/ts/chunks/chunk-M6CAJL36.js +1 -0
- package/ts/chunks/chunk-MPHTBN7E.js +1 -0
- package/ts/chunks/chunk-NYIFCLEG.js +1 -0
- package/ts/chunks/chunk-RRDWQKZY.js +1 -0
- package/ts/chunks/chunk-RVNSKPFL.js +1 -0
- package/ts/chunks/chunk-S5F2DAAG.js +5 -0
- package/ts/chunks/chunk-SCYP2G2T.js +3 -0
- package/ts/chunks/chunk-SWP6BJR6.js +147 -0
- package/{chunks/chunk-XDRX4ZBJ.js → ts/chunks/chunk-SWRVSRYY.js} +1 -1
- package/ts/chunks/chunk-T2X4E35X.js +1 -0
- package/ts/chunks/chunk-TDLTCTV4.js +1 -0
- package/ts/chunks/chunk-TKBGNLNV.js +1 -0
- package/ts/chunks/chunk-UY4YFVSW.js +3 -0
- package/ts/chunks/chunk-V5ZXCJPI.js +2 -0
- package/ts/chunks/chunk-W46BJM2F.js +1 -0
- package/ts/chunks/chunk-W7KQFMHV.js +1 -0
- package/ts/chunks/chunk-XGRZPTAD.js +24 -0
- package/ts/chunks/chunk-XTQFSF6C.js +1 -0
- package/ts/chunks/chunk-YN3SHWBR.js +1 -0
- package/ts/chunks/chunk-ZAY6LSJD.js +2 -0
- package/ts/chunks/chunk-ZGVXR3EC.js +8 -0
- package/ts/chunks/chunk-ZW5C5IGT.js +32 -0
- package/ts/chunks/claude-code-J2V5WSGZ.js +1 -0
- package/ts/chunks/concern-EDWQHU4H.js +1 -0
- package/ts/chunks/config-E7BDBHPK.js +1 -0
- package/ts/chunks/decision-ledger-5QXKZSV2.js +1 -0
- package/ts/chunks/delegate-LVQQ3GCV.js +1 -0
- package/ts/chunks/diagrams-2F5ZYXA7.js +1 -0
- package/ts/chunks/diagrams-H62JGTIS.js +1 -0
- package/ts/chunks/done-U3TOSZIX.js +1 -0
- package/ts/chunks/followup-J2HJU3ZT.js +1 -0
- package/ts/chunks/free-73WMLMCT.js +1 -0
- package/ts/chunks/gemini-GA6P4M7D.js +1 -0
- package/ts/chunks/init-6CVDGRY2.js +1 -0
- package/ts/chunks/invoke-hook-2TMKWL7I.js +15 -0
- package/ts/chunks/kiro-BJSKSAUC.js +1 -0
- package/ts/chunks/learn-7Q2VWZMI.js +7 -0
- package/ts/chunks/ledger-XR4AHZRX.js +2 -0
- package/ts/chunks/list-CUQCPXZH.js +1 -0
- package/ts/chunks/manager-WTLJ5C2I.js +3 -0
- package/ts/chunks/mod-BZA5TFW7.js +1 -0
- package/ts/chunks/mod-RWA5ZPYH.js +1 -0
- package/ts/chunks/mod-X372UNSQ.js +1 -0
- package/ts/chunks/mod-XVE4ZWPY.js +1 -0
- package/ts/chunks/next-CEYZSYGB.js +20 -0
- package/ts/chunks/node-33JV5VS3.js +15 -0
- package/ts/chunks/node-XYP2DQHR.js +74 -0
- package/ts/chunks/node-ZSGIX7K3.js +1 -0
- package/ts/chunks/ollama-X6OGN5BW.js +1 -0
- package/ts/chunks/openai-TV7KLQ2C.js +1 -0
- package/ts/chunks/openai-YPM2E7QS.js +30 -0
- package/ts/chunks/opencode-AK6WWZRF.js +1 -0
- package/ts/chunks/pack-EOUSZGJT.js +5 -0
- package/ts/chunks/plan-export-ZBINRAAS.js +3 -0
- package/ts/chunks/purge-GPMC5A6Y.js +5 -0
- package/ts/chunks/reopen-LPVNZN5I.js +1 -0
- package/ts/chunks/reset-RNLPXGWQ.js +1 -0
- package/ts/chunks/review-ZGAY5XCN.js +1 -0
- package/ts/chunks/rule-SNBQ4VZD.js +6 -0
- package/ts/chunks/run-4TDP4C7Z.js +3 -0
- package/ts/chunks/sdk-MEVPL5WT.js +1 -0
- package/ts/chunks/session-J7TSLNEH.js +1 -0
- package/ts/chunks/spec-3NSPFDIC.js +1 -0
- package/ts/chunks/status-DIEA2OGR.js +1 -0
- package/ts/chunks/sync-HZNKILSP.js +1 -0
- package/ts/chunks/validate-MWHDOF2F.js +1 -0
- package/ts/chunks/vertexai-ARXI4AMJ.js +1 -0
- package/ts/chunks/watch-P6HABMAS.js +7 -0
- package/ts/chunks/web-BMIC3VJQ.js +1 -0
- package/ts/chunks/wontfix-6UKEYTVB.js +1 -0
- package/ts/noskills.js +2 -0
- package/chunks/anthropic-TS7EMQML.js +0 -1
- package/chunks/approve-HEW3VFYH.js +0 -1
- package/chunks/ask-AXHTCVD6.js +0 -2
- package/chunks/block-VN76CXZW.js +0 -1
- package/chunks/browser-BGFD24RX.js +0 -1
- package/chunks/bun-WZ7BVR7Y.js +0 -1
- package/chunks/cancel-7WRAST62.js +0 -1
- package/chunks/chunk-3ZJ3UGQL.js +0 -48
- package/chunks/chunk-4PF2MT7S.js +0 -29
- package/chunks/chunk-575Y3OEG.js +0 -1
- package/chunks/chunk-5DZHAHXW.js +0 -110
- package/chunks/chunk-5PBNUBBY.js +0 -3
- package/chunks/chunk-5RLCKUIF.js +0 -2
- package/chunks/chunk-6YSS6PEL.js +0 -3
- package/chunks/chunk-7GC46XEU.js +0 -1
- package/chunks/chunk-7PPUGTKL.js +0 -4
- package/chunks/chunk-AUZWXMWA.js +0 -27
- package/chunks/chunk-CH6A3LES.js +0 -91
- package/chunks/chunk-CML74SNT.js +0 -3
- package/chunks/chunk-CTTMQSHF.js +0 -1
- package/chunks/chunk-DBKXMYLF.js +0 -4
- package/chunks/chunk-DEHRWREM.js +0 -1
- package/chunks/chunk-EIGFDYGQ.js +0 -1
- package/chunks/chunk-EIMBEXUJ.js +0 -1
- package/chunks/chunk-ENP4P2YH.js +0 -0
- package/chunks/chunk-FE4MKOI4.js +0 -1
- package/chunks/chunk-GQTHILPL.js +0 -5
- package/chunks/chunk-IFE5SYGK.js +0 -1
- package/chunks/chunk-IGDFEGCH.js +0 -2
- package/chunks/chunk-JL3MAFYQ.js +0 -1
- package/chunks/chunk-JYVB6UAV.js +0 -1
- package/chunks/chunk-KJLEPI7T.js +0 -1
- package/chunks/chunk-KMLNG3EC.js +0 -1
- package/chunks/chunk-KRKOWSYW.js +0 -148
- package/chunks/chunk-KRRPOVQG.js +0 -1
- package/chunks/chunk-LJEWPIEI.js +0 -1
- package/chunks/chunk-NGCBWJML.js +0 -2
- package/chunks/chunk-O4KKKYCH.js +0 -1
- package/chunks/chunk-PKEQKXZW.js +0 -23
- package/chunks/chunk-PRQ5CRIG.js +0 -1
- package/chunks/chunk-PSX63TYP.js +0 -2
- package/chunks/chunk-Q4TI7EYT.js +0 -5
- package/chunks/chunk-QKWJ72HI.js +0 -3
- package/chunks/chunk-RAQY37P6.js +0 -1
- package/chunks/chunk-S4MUTKHT.js +0 -4
- package/chunks/chunk-SLO22P65.js +0 -1
- package/chunks/chunk-UE56BMAW.js +0 -21
- package/chunks/chunk-VJRCTYGL.js +0 -1
- package/chunks/chunk-VXU6XZ66.js +0 -39
- package/chunks/chunk-W4TQLLUK.js +0 -7
- package/chunks/chunk-Y5E7ZCCX.js +0 -1
- package/chunks/chunk-Z7OYXH3J.js +0 -1
- package/chunks/claude-code-DIWRQKZA.js +0 -1
- package/chunks/cmd-46ZIHXLB.js +0 -1
- package/chunks/concern-QSENGU6C.js +0 -1
- package/chunks/config-S3UXTJN2.js +0 -1
- package/chunks/decision-ledger-GY2W6VWL.js +0 -1
- package/chunks/delegate-WKXIER7E.js +0 -1
- package/chunks/deno-YM5PW6ZM.js +0 -1
- package/chunks/diagrams-A7W2EBYV.js +0 -1
- package/chunks/diagrams-CBCUA47B.js +0 -1
- package/chunks/done-WR3UFYJT.js +0 -1
- package/chunks/followup-5EGZEF5Q.js +0 -1
- package/chunks/free-KJQHRYZA.js +0 -1
- package/chunks/gemini-IWP24T63.js +0 -1
- package/chunks/init-437SU6XH.js +0 -1
- package/chunks/invoke-hook-LMCWNF65.js +0 -13
- package/chunks/kiro-THWCXS5L.js +0 -1
- package/chunks/learn-ZTYKBZER.js +0 -7
- package/chunks/ledger-FOOPJ2UO.js +0 -1
- package/chunks/list-HNGIOVBK.js +0 -1
- package/chunks/loader-command-3A5FK2RF.js +0 -1
- package/chunks/loader-reactor-YZM7HO4G.js +0 -1
- package/chunks/manager-2MOLEJ4Q.js +0 -3
- package/chunks/mod-6EZYRKWV.js +0 -1
- package/chunks/mod-7VTKN6Q5.js +0 -1
- package/chunks/mod-7X5TKHKC.js +0 -1
- package/chunks/mod-AJIRKRAH.js +0 -1
- package/chunks/mod-SFSUQWSB.js +0 -8
- package/chunks/mod-TGOMO3CJ.js +0 -1
- package/chunks/next-Y6FOPM4Z.js +0 -15
- package/chunks/node-AZK2C657.js +0 -12
- package/chunks/node-GQQ42DT2.js +0 -68
- package/chunks/node-J4GTOSL2.js +0 -1
- package/chunks/ollama-2KAMCXVL.js +0 -1
- package/chunks/openai-HHE35TAX.js +0 -31
- package/chunks/openai-YES2XJDU.js +0 -1
- package/chunks/opencode-S4M7WJTO.js +0 -1
- package/chunks/pack-KUT53Z24.js +0 -5
- package/chunks/plan-export-PG2BVRQZ.js +0 -3
- package/chunks/purge-JGNJNEET.js +0 -4
- package/chunks/reopen-RPDXN3CF.js +0 -1
- package/chunks/reset-RBCQO2RF.js +0 -1
- package/chunks/review-VMS5MYOV.js +0 -1
- package/chunks/rule-IB4VKSBC.js +0 -6
- package/chunks/run-62PWXVII.js +0 -3
- package/chunks/sdk-FR7Z4YSC.js +0 -1
- package/chunks/session-Q43KMFL2.js +0 -1
- package/chunks/spec-4RKLPOEM.js +0 -1
- package/chunks/status-OGLFEFF7.js +0 -1
- package/chunks/sync-H35O5DN5.js +0 -1
- package/chunks/unstable_chmod-44MCKF3B.js +0 -1
- package/chunks/validate-JX7UTAK5.js +0 -1
- package/chunks/vertexai-WF5CKMYI.js +0 -1
- package/chunks/watch-SOZDHLSC.js +0 -8
- package/chunks/web-3VGRM3W4.js +0 -1
- package/chunks/wontfix-RBOGLLWJ.js +0 -1
- package/chunks/workerd-I7MLRCLJ.js +0 -1
- /package/{chunks → ts/chunks}/chunk-HISXAZ4Y.js +0 -0
- /package/{chunks → ts/chunks}/chunk-I4Z2RF7L.js +0 -0
- /package/{chunks → ts/chunks}/dist-3MH5UCQU.js +0 -0
- /package/{chunks → ts/chunks}/multipart-parser-DKDFOZKD.js +0 -0
- /package/{chunks → ts/chunks}/src-HXQVVTGQ.js +0 -0
package/README.md
CHANGED
|
@@ -1,14 +1,24 @@
|
|
|
1
|
-
# [@eserstack/noskills](./)
|
|
1
|
+
# 🚦 [@eserstack/noskills](./)
|
|
2
|
+
|
|
3
|
+
> **Note:** JSR is frozen at 4.5.x. From 5.0.0, `@eserstack/noskills` is
|
|
4
|
+
> published on npm under the same name, and the `noskills` command as the npm
|
|
5
|
+
> package `noskills` (`npm install -g noskills`); the JSR versions stay
|
|
6
|
+
> available but get no updates.
|
|
2
7
|
|
|
3
8
|
> **eserstack Product** — AI development orchestrator ·
|
|
4
9
|
> [eser/stack](https://github.com/eser/stack) **Install:**
|
|
5
10
|
> `curl -fsSL https://raw.githubusercontent.com/eser/stack/main/etc/scripts/install.sh | sh -s noskills`
|
|
6
11
|
|
|
7
12
|
`noskills` is a command, so install it as a binary — the line above, or
|
|
8
|
-
`brew install eser/tap/noskills`,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
`brew install eser/tap/noskills`,
|
|
14
|
+
`nix profile install github:eser/stack#noskills` or `npm i -g noskills`. On
|
|
15
|
+
Windows use `install.ps1 -Product noskills`. Every one of them installs the Go
|
|
16
|
+
build of the CLI ([cmd/noskills](../../../cmd/noskills)): the npm package is a
|
|
17
|
+
launcher that runs the binary of its `@eserstack/noskills-<platform>`
|
|
18
|
+
dependency, and carries this TypeScript CLI for the commands the binary hands
|
|
19
|
+
over to it.
|
|
20
|
+
|
|
21
|
+
Adding this package as a dependency (`pnpm add @eserstack/noskills`) gets
|
|
12
22
|
you the modules, not the command: the source package declares no `bin`, which is
|
|
13
23
|
generated at publish time by `scripts/npm-build.ts`. Depend on it when embedding
|
|
14
24
|
the orchestrator in your own program; install the binary when you want to run
|
|
@@ -179,6 +189,12 @@ tracking. Not a plan the agent ignores — a contract it's held to.
|
|
|
179
189
|
tasks in fresh context. Verifier checks the work. Test-writer ensures coverage.
|
|
180
190
|
No context rot.
|
|
181
191
|
|
|
192
|
+
**Transition validation** (opt-in): at the end of discovery and at the spec
|
|
193
|
+
proposal, a second agent that sees only the spec, the answers and the transition
|
|
194
|
+
reports findings before you approve. The findings are advice and never block.
|
|
195
|
+
Turn it on with `next --validate` or a `validate` entry in the manifest; see
|
|
196
|
+
[The transition validator](./README-HOW.md#the-transition-validator).
|
|
197
|
+
|
|
182
198
|
**Verification backpressure** — tests must pass before a task is accepted.
|
|
183
199
|
Unfinished items become debt that follows the agent around with increasing
|
|
184
200
|
urgency.
|
|
@@ -205,6 +221,16 @@ Before the six questions, noskills asks which discovery mode to use:
|
|
|
205
221
|
|
|
206
222
|
The mode shapes how questions are asked and which concern extras appear.
|
|
207
223
|
|
|
224
|
+
The agent asks the six questions together and submits your answers in one call.
|
|
225
|
+
Follow-ups come after them, one at a time: when an answer is vague or risky, the
|
|
226
|
+
agent registers a follow-up, and `noskills next` hands each one out on its own
|
|
227
|
+
until you answer or skip it.
|
|
228
|
+
|
|
229
|
+
```bash
|
|
230
|
+
noskills spec upload followup reversibility "What's the rollback plan?"
|
|
231
|
+
noskills spec upload followup reversibilitya --answer="Feature flag, off by default"
|
|
232
|
+
```
|
|
233
|
+
|
|
208
234
|
### Listen-first merged entry
|
|
209
235
|
|
|
210
236
|
When you run `noskills spec <name> next` for the first time on a new spec,
|
|
@@ -339,6 +365,10 @@ eser noskills next -o text # Shows all 6 questions at once
|
|
|
339
365
|
eser noskills next --answer='{"status_quo":"...","ambition":"...","reversibility":"...","user_impact":"...","verification":"...","scope_boundary":"..."}' -o text
|
|
340
366
|
# Classification: what does this spec involve?
|
|
341
367
|
eser noskills next --answer='{"involvesWebUI":true,"involvesCLI":false,"involvesPublicAPI":false,"involvesMigration":false,"involvesDataHandling":false}' -o text
|
|
368
|
+
# Resolve the sections no discovery answer fills, or approve refuses
|
|
369
|
+
eser noskills spec photo-upload section list
|
|
370
|
+
eser noskills spec photo-upload section summary fill "Users upload photos from the app"
|
|
371
|
+
eser noskills spec photo-upload section premises na "The premises step already recorded them"
|
|
342
372
|
eser noskills approve
|
|
343
373
|
eser noskills next --answer="start" -o text # Begin execution
|
|
344
374
|
eser noskills next --answer="task-1 done" -o text
|
|
@@ -377,12 +407,18 @@ and performance degrades. The Ralph loop solves this by restarting the agent
|
|
|
377
407
|
every iteration with fresh context while persisting state in files. noskills IS
|
|
378
408
|
the Ralph loop — no separate bash script needed.
|
|
379
409
|
|
|
410
|
+
Nobody answers the agent during a run, so the loop compiles its prompt without
|
|
411
|
+
the rules that wait for you, such as AskUserQuestion prompts. When a decision
|
|
412
|
+
needs you, the agent runs `block` and the loop stops at BLOCKED. The loop always
|
|
413
|
+
runs Claude Code, so the prompt follows Claude Code's tool set whatever tools
|
|
414
|
+
`manifest.yml` lists first.
|
|
415
|
+
|
|
380
416
|
State persists in `.eser/.state/progresses/state.json` between iterations. The
|
|
381
417
|
Stop hook snapshots git state automatically. Verification backpressure prevents
|
|
382
|
-
advancing past broken tests. When `autoCommit: true` in `manifest.yml`,
|
|
383
|
-
`noskills run`
|
|
384
|
-
|
|
385
|
-
agent's.
|
|
418
|
+
advancing past broken tests. When `autoCommit: true` is set in `manifest.yml`,
|
|
419
|
+
the `noskills run` loop commits between iterations, whatever `allowGit` says:
|
|
420
|
+
`allowGit` governs the agent's git, and the loop runs its commits outside the
|
|
421
|
+
agent's git wrapper. Git writes are the CLI's responsibility, never the agent's.
|
|
386
422
|
|
|
387
423
|
### Behavioral Guardrails
|
|
388
424
|
|
|
@@ -400,14 +436,185 @@ rules. These tell the agent HOW to behave, not just WHAT to do:
|
|
|
400
436
|
| BLOCKED | "Brief. Decision time." | Present decision as-is, don't suggest preferences |
|
|
401
437
|
| COMPLETED | "Celebrate briefly, then stop" | Don't start new work (done, cancelled, or wontfix) |
|
|
402
438
|
|
|
439
|
+
The rules name only what the agent's tool has. Claude Code gets AskUserQuestion
|
|
440
|
+
and the plan-mode key (Shift+Tab); Cursor, Windsurf, Copilot, Kiro, Codex CLI
|
|
441
|
+
and OpenCode get numbered lists and plain questions instead. `noskills next`
|
|
442
|
+
takes these from the first tool in the manifest's `tools` list.
|
|
443
|
+
|
|
403
444
|
**Git is read-only** for agents (configurable via `allowGit: true` in manifest).
|
|
404
445
|
Agents may read (`git log`, `git diff`, `git status`) but never write
|
|
405
|
-
(`git commit`, `git push`, `git checkout`).
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
446
|
+
(`git commit`, `git push`, `git checkout`). Four layers apply this: behavioral
|
|
447
|
+
rules, the AGENTS.md instruction, the PreToolUse hook and a git wrapper.
|
|
448
|
+
|
|
449
|
+
The hook classifies the Bash command text. It catches git however it is quoted,
|
|
450
|
+
cased or prefixed (`"git"`, `g''it`, `GIT`, `env X=1 git`), inside `sh -c`,
|
|
451
|
+
`eval`, pipes and `$(…)`, in a script piped or heredoc-fed to a shell, and in a
|
|
452
|
+
script file it can read before the command runs (`bash run.sh`). A script the
|
|
453
|
+
same command writes and then runs is denied. What the hook cannot decide from
|
|
454
|
+
text is a program an interpreter assembles at run time, such as
|
|
455
|
+
`python -c "subprocess.run(['g'+'it','push'])"`.
|
|
456
|
+
|
|
457
|
+
The git wrapper covers that case. While `allowGit` is false, the SessionStart
|
|
458
|
+
hook writes a `git` script to `.eser/.state/bin/` and puts that directory first
|
|
459
|
+
on the PATH of the session's Bash commands through Claude Code's
|
|
460
|
+
`CLAUDE_ENV_FILE`, and `noskills run` puts it first on the PATH of the agent it
|
|
461
|
+
starts. Every git process the agent starts then runs through the script,
|
|
462
|
+
whatever built the command:
|
|
463
|
+
|
|
464
|
+
- Reads and clones run directly.
|
|
465
|
+
- A push is refused from any repository, since a clone anywhere can push to the
|
|
466
|
+
project's remote.
|
|
467
|
+
- Any other write is refused when it acts on the project's repository, however
|
|
468
|
+
the repository is named (`-C`, `--git-dir`, `GIT_DIR`). A command that starts
|
|
469
|
+
with a git option the wrapper does not know is refused too, since that option
|
|
470
|
+
may hide which repository it names.
|
|
471
|
+
- Writes to other repositories run, so tests that commit to temporary
|
|
472
|
+
repositories still pass inside an agent session.
|
|
473
|
+
|
|
474
|
+
The wrapper asks `noskills invoke-hook git-exec` about each command it does not
|
|
475
|
+
run directly, and that check reads `allowGit` every time, so setting it to true
|
|
476
|
+
takes effect at once. Setting it to false takes effect in the next session. The
|
|
477
|
+
check has 30 seconds to answer. When it does not, the wrapper stops it and
|
|
478
|
+
refuses the command, so a slow registry cannot hang the agent's git call. The
|
|
479
|
+
default `command`, `npx eser@latest noskills`, can wait on the npm registry
|
|
480
|
+
before the check starts; set `command` to an installed noskills to keep the
|
|
481
|
+
check off the network. The Go binary is one: it answers the check in a few
|
|
482
|
+
milliseconds.
|
|
483
|
+
|
|
484
|
+
The PreToolUse hook also keeps the agent away from the settings these layers
|
|
485
|
+
read. In every phase and session mode, it refuses an edit or a Bash command that
|
|
486
|
+
would change the `noskills` section of `.eser/manifest.yml` (`allowGit`,
|
|
487
|
+
`command` and the other settings) or anything in `.eser/.state/bin/`, including
|
|
488
|
+
a command that moves or removes `.eser` or `.eser/.state` as a whole. Edits to
|
|
489
|
+
the manifest's other sections and to rules, concerns and specs under `.eser/` go
|
|
490
|
+
through, and so do noskills commands that update the manifest themselves
|
|
491
|
+
(`concern add`, `concern remove`). Change the `noskills` section yourself.
|
|
492
|
+
|
|
493
|
+
Which tools get the wrapper:
|
|
494
|
+
|
|
495
|
+
- Claude Code: the SessionStart hook writes it and puts it on PATH through
|
|
496
|
+
`CLAUDE_ENV_FILE`. Claude Code does not always run that hook for a new
|
|
497
|
+
conversation
|
|
498
|
+
([anthropics/claude-code#10373](https://github.com/anthropics/claude-code/issues/10373)).
|
|
499
|
+
When `command -v git` in the session does not print the wrapper's path, run
|
|
500
|
+
`/clear`, which runs the hook again, and check once more.
|
|
501
|
+
- `noskills run`: puts it on the PATH of the agent it starts.
|
|
502
|
+
- Codex, OpenCode, Copilot CLI and Kiro: their session-start hook writes the
|
|
503
|
+
wrapper, but a hook in these tools cannot change the PATH of the commands that
|
|
504
|
+
follow. Start the tool with the wrapper directory first on PATH, and check
|
|
505
|
+
that `command -v git` inside the tool prints the wrapper's path:
|
|
506
|
+
|
|
507
|
+
```bash
|
|
508
|
+
PATH="$PWD/.eser/.state/bin:$PATH" codex
|
|
509
|
+
```
|
|
510
|
+
|
|
511
|
+
- Cursor, Windsurf and GitHub Copilot in the editor run no noskills hooks, so
|
|
512
|
+
neither the PreToolUse hook nor the wrapper applies. Only the generated rules
|
|
513
|
+
ask the agent to leave git alone.
|
|
514
|
+
|
|
515
|
+
On Windows nothing is installed. The wrapper is a POSIX shell script, and a
|
|
516
|
+
`git.cmd` shim would not take its place: programs that start git without a
|
|
517
|
+
shell, such as Python's `subprocess` and Node's `child_process`, look up
|
|
518
|
+
`git.exe` and never run a `.cmd` file. The PreToolUse hook is then the
|
|
519
|
+
only noskills check on git.
|
|
520
|
+
|
|
521
|
+
These layers are guards against mistakes, not a sandbox. A program that starts
|
|
522
|
+
git by its absolute path, such as
|
|
523
|
+
`python -c "subprocess.run(['/usr/bin/g'+'it','push'])"`, or that sets its own
|
|
524
|
+
PATH, skips both the hook and the wrapper, and noskills cannot see it. Two
|
|
525
|
+
things stop it:
|
|
526
|
+
|
|
527
|
+
- Claude Code's sandbox, which the operating system enforces for every Bash
|
|
528
|
+
command and the programs it starts. With `.git` in
|
|
529
|
+
`sandbox.filesystem.denyWrite`, no sandboxed command can write the repository,
|
|
530
|
+
whichever git binary it runs, and the sandbox's network proxy only lets a
|
|
531
|
+
command reach the hosts you allow, so keep your git host off that list.
|
|
532
|
+
noskills does not turn the sandbox on for you, because it changes how every
|
|
533
|
+
command in your sessions runs. To turn it on, add this to
|
|
534
|
+
`.claude/settings.json`:
|
|
535
|
+
|
|
536
|
+
```json
|
|
537
|
+
{
|
|
538
|
+
"sandbox": {
|
|
539
|
+
"enabled": true,
|
|
540
|
+
"allowUnsandboxedCommands": false,
|
|
541
|
+
"filesystem": {
|
|
542
|
+
"denyWrite": ["./.git", "./.eser/manifest.yml", "./.eser/.state/bin"]
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
```
|
|
547
|
+
|
|
548
|
+
`allowUnsandboxedCommands: false` stops the agent from asking to run a command
|
|
549
|
+
outside the sandbox. With the manifest in `denyWrite`, the noskills commands
|
|
550
|
+
that update it fail when the agent runs them; run those yourself.
|
|
551
|
+
|
|
552
|
+
- Branch protection on the remote: require pull requests for your main branch,
|
|
553
|
+
block force pushes (GitHub branch protection rules or rulesets, GitLab
|
|
554
|
+
protected branches), and do not give agent sessions credentials that can push.
|
|
555
|
+
|
|
556
|
+
#### The PreToolUse hook in each tool
|
|
557
|
+
|
|
558
|
+
`noskills init` writes the hook config each tool reads, and each config runs
|
|
559
|
+
`noskills invoke-hook pre-tool-use` before the tool's shell and file tools run:
|
|
560
|
+
|
|
561
|
+
| Tool | Config | Guarded tools |
|
|
562
|
+
| ----------- | ------------------------------- | ----------------------------------------------------------------------------------------------- |
|
|
563
|
+
| Claude Code | `.claude/settings.json` | Bash, Write, Edit, MultiEdit |
|
|
564
|
+
| Codex | `.codex/hooks.json` | Bash (shell commands and exec_command), apply_patch |
|
|
565
|
+
| Copilot CLI | `.github/hooks/noskills.json` | bash, powershell, create, edit, str_replace_editor, apply_patch |
|
|
566
|
+
| Kiro | `.kiro/hooks/noskills.json` | write, fs_write, fsWrite, fs_append, str_replace, delete_file, shell, execute_bash, execute_cmd |
|
|
567
|
+
| OpenCode | `.opencode/plugins/noskills.ts` | bash, edit, write, apply_patch |
|
|
568
|
+
|
|
569
|
+
The hook reads each tool's own tool names and input fields. It refuses a call by
|
|
570
|
+
exiting with code 2 and writing the reason to stderr, which all five tools take
|
|
571
|
+
as a denial. Codex runs a project's hooks only after you trust them: after
|
|
572
|
+
`noskills init`, open `/hooks` in Codex and trust the noskills entries. Kiro
|
|
573
|
+
reads `.kiro/hooks/` from IDE 1.0 and CLI 3.0 on. Copilot CLI also runs the
|
|
574
|
+
hooks in `.claude/settings.json`, so with Claude Code set up as well it runs the
|
|
575
|
+
check twice, and both runs refuse the same calls.
|
|
576
|
+
|
|
577
|
+
The tools' documentation leaves two gaps:
|
|
578
|
+
|
|
579
|
+
- Copilot CLI documents the `command` argument of its shell tools but not the
|
|
580
|
+
arguments of `create` and `edit`. noskills reads `path`, and `file_text` or
|
|
581
|
+
`old_str` and `new_str` when the call has them.
|
|
582
|
+
- Kiro documents its hook payload and tool names but not the fields of each
|
|
583
|
+
tool's input. noskills reads `command` for the shell tools and `path` or
|
|
584
|
+
`file_path` for the write tools, with `file_text`, `content` or `old_str` and
|
|
585
|
+
`new_str` when the call has them.
|
|
586
|
+
|
|
587
|
+
When a file tool's input does not show what the file holds afterwards (a patch,
|
|
588
|
+
an append, a delete or an input of another shape), the phase gate still applies
|
|
589
|
+
to the file's path, and a change to `.eser/manifest.yml` is refused as a whole,
|
|
590
|
+
since noskills cannot tell whether it leaves the `noskills` section alone. A
|
|
591
|
+
shell call whose input has no `command` field goes unchecked.
|
|
592
|
+
|
|
593
|
+
**When the hook is slow.** Each config gives the PreToolUse hook 30 seconds, as
|
|
594
|
+
long as the git wrapper's check. Claude Code, Codex, Copilot CLI and Kiro treat
|
|
595
|
+
a hook that does not answer in time as a failed hook and let the tool call go
|
|
596
|
+
ahead, so the git guard and the protected-file check do not apply to that call.
|
|
597
|
+
The git wrapper, where it is on PATH, still refuses a git write whose own check
|
|
598
|
+
times out, and the OpenCode plugin refuses the call and says why. The default
|
|
599
|
+
`command`, `npx eser@latest noskills`, can wait on the npm registry before
|
|
600
|
+
noskills starts, and `noskills init` warns when `command` runs through npx,
|
|
601
|
+
`npm exec` or another runner that downloads a package or a remote module first.
|
|
602
|
+
To keep the hook off the network, install the eser CLI (`npm install -g eser`)
|
|
603
|
+
and run `eser noskills init`, which sets `command` to `eser noskills`.
|
|
604
|
+
|
|
605
|
+
The Go build of noskills (`cmd/noskills`, which `make build` builds until the
|
|
606
|
+
release channels ship it) makes the 30-second timeout and the warning
|
|
607
|
+
unnecessary. It runs every hook and the git wrapper's check itself, answers a
|
|
608
|
+
PreToolUse call in about 4 ms, and needs neither Node nor the network. Running
|
|
609
|
+
`noskills init` through it sets `command` to the binary, so every hook and the
|
|
610
|
+
git wrapper it generates call the binary; run it again in a project that the npx
|
|
611
|
+
command set up. The timeout stays at 30 seconds only for configs that still
|
|
612
|
+
start noskills through npx, such as the ones v4.5.x wrote.
|
|
613
|
+
|
|
614
|
+
When a spec's iteration count reaches `maxIterationsBeforeRestart` (default 15),
|
|
615
|
+
the Stop hook prints a notice for you on stderr and `noskills next` sets
|
|
616
|
+
`restartRecommended: true`. The agent gets no countdown, because the count runs
|
|
617
|
+
over the spec's whole life rather than one session.
|
|
411
618
|
|
|
412
619
|
### Concerns — The Project's DNA
|
|
413
620
|
|
|
@@ -432,9 +639,10 @@ data at once:
|
|
|
432
639
|
- **DISCOVERY** — extra sub-questions, dream state prompts
|
|
433
640
|
- **REFINEMENT** — review dimension checklist (scope-filtered by classification
|
|
434
641
|
— UI dimensions only appear for UI specs)
|
|
435
|
-
- **PROPOSAL** — spec sections
|
|
436
|
-
|
|
437
|
-
|
|
642
|
+
- **PROPOSAL** — spec sections (a section with a `scope` waits for a matching
|
|
643
|
+
classification), registry table skeletons
|
|
644
|
+
- **EXECUTING** — reminders (tier 1 at compile-time, tier 2 per-file via hooks;
|
|
645
|
+
a reminder's `scope` puts it in tier 2), acceptance criteria, tension gates
|
|
438
646
|
- **COMPLETED** — learning prompts (done, cancelled, or wontfix)
|
|
439
647
|
|
|
440
648
|
When concerns conflict (e.g., move-fast + compliance), noskills surfaces the
|
|
@@ -467,6 +675,82 @@ like CSS specificity. A rule at `pkg/` applies to all files under `pkg/`, while
|
|
|
467
675
|
a rule at `pkg/@eserstack/streams/` applies only to that package. Zero token
|
|
468
676
|
cost — derived from filesystem, not LLM.
|
|
469
677
|
|
|
678
|
+
### Removing noskills and restoring it
|
|
679
|
+
|
|
680
|
+
`noskills purge` takes noskills out of a project and leaves the rest of the
|
|
681
|
+
project alone. It asks about each category; pass `--force` to take every
|
|
682
|
+
category without asking, which agent mode requires:
|
|
683
|
+
|
|
684
|
+
```bash
|
|
685
|
+
eser noskills purge # asks about each category
|
|
686
|
+
eser noskills purge --force # takes every category
|
|
687
|
+
eser noskills purge --no-history # deletes without keeping a copy
|
|
688
|
+
```
|
|
689
|
+
|
|
690
|
+
| Category | What purge takes |
|
|
691
|
+
| ------------------- | ---------------------------------------------------------------------------------- |
|
|
692
|
+
| `concerns` | `.eser/concerns/` |
|
|
693
|
+
| `specs` | `.eser/specs/` and the workflow state in `.eser/.state/progresses/` |
|
|
694
|
+
| `rules` | `.eser/rules/` |
|
|
695
|
+
| `manifest` | The `noskills` section of `.eser/manifest.yml`, which goes with any other category |
|
|
696
|
+
| `agent-integration` | What sync writes for each tool, and noskills' part of the files it shares with you |
|
|
697
|
+
|
|
698
|
+
For the agent integration, purge removes the files only noskills uses: the agent
|
|
699
|
+
definitions (`.claude/agents/`, `.codex/agents/`, `.github/agents/`,
|
|
700
|
+
`.kiro/agents/`, `.opencode/agents/`, all named `noskills-*`), the hook files
|
|
701
|
+
`.kiro/hooks/noskills.json`, `.github/hooks/noskills.json` and
|
|
702
|
+
`.opencode/plugins/noskills.ts`, the rule files `.cursorrules`,
|
|
703
|
+
`.windsurfrules`, `.github/copilot-instructions.md` and the `noskills-*` files
|
|
704
|
+
in `.kiro/steering/`, and the Kiro and OpenCode copies of each spec
|
|
705
|
+
(`.kiro/specs/spec_name/` and `.opencode/skills/spec_name.md`). From the files
|
|
706
|
+
you share with noskills it removes only noskills' part: the section in CLAUDE.md
|
|
707
|
+
and AGENTS.md, the hooks in `.claude/settings.json` and `.codex/hooks.json`, and
|
|
708
|
+
the noskills MCP server in `.codex/config.toml`, `.copilot/mcp.json`,
|
|
709
|
+
`.kiro/settings/mcp.json` and `opencode.json`. A shared file with nothing else
|
|
710
|
+
left in it, and a folder purge leaves empty, goes too. Sessions and the event
|
|
711
|
+
log in `.eser/.state/` stay.
|
|
712
|
+
|
|
713
|
+
#### Purge history
|
|
714
|
+
|
|
715
|
+
Purge moves what it removes into a history entry instead of deleting it. An
|
|
716
|
+
entry is a folder named after the UTC time of the purge, such as
|
|
717
|
+
`.eser/.state/purge-history/2026-10-05T14-03-12-345Z/`, with one folder per
|
|
718
|
+
category. Each category folder holds the removed paths at the place they had in
|
|
719
|
+
the project, and `manifest/noskills.yml` holds the manifest section. The history
|
|
720
|
+
keeps the 5 newest entries, and each purge drops the oldest beyond that.
|
|
721
|
+
`.eser/.state/` is git-ignored, so the history stays out of your repository.
|
|
722
|
+
|
|
723
|
+
If you purge to remove the content from disk, pass `--no-history`: purge then
|
|
724
|
+
deletes it without a copy. Entries from earlier purges stay in
|
|
725
|
+
`.eser/.state/purge-history/`; delete that folder to remove those copies too.
|
|
726
|
+
|
|
727
|
+
#### Restoring
|
|
728
|
+
|
|
729
|
+
`noskills purge restore` lists the history, newest first. In a terminal it then
|
|
730
|
+
asks which entry and which categories to restore. Name an entry, or `latest` for
|
|
731
|
+
the newest, to restore without questions:
|
|
732
|
+
|
|
733
|
+
```bash
|
|
734
|
+
eser noskills purge restore # lists the entries
|
|
735
|
+
eser noskills purge restore latest # every category of the newest entry
|
|
736
|
+
eser noskills purge restore entry_id specs rules # two categories of one entry
|
|
737
|
+
eser noskills purge restore latest concerns --overwrite
|
|
738
|
+
```
|
|
739
|
+
|
|
740
|
+
Restore copies, so the entry stays in the history and you can restore from it
|
|
741
|
+
again. When a file the entry holds already exists in the project, or the
|
|
742
|
+
manifest already has a `noskills` section, restore leaves that category alone,
|
|
743
|
+
names the paths and exits with code 1. Pass `--overwrite` to replace them; files
|
|
744
|
+
the entry does not hold stay as they are.
|
|
745
|
+
|
|
746
|
+
The agent integration comes back through sync, the step `noskills init` runs.
|
|
747
|
+
Restore copies the tool files back, then sync writes noskills' part of the
|
|
748
|
+
shared files (the CLAUDE.md and AGENTS.md sections, the hooks and the MCP
|
|
749
|
+
server) for the tools the manifest lists. Sync reads the `noskills` section of
|
|
750
|
+
the manifest, so restore `manifest` together with `agent-integration`, or run
|
|
751
|
+
`noskills init` first. Restore puts categories back in the order of the table
|
|
752
|
+
above, so sync also writes the rules restored in the same run.
|
|
753
|
+
|
|
470
754
|
## How noskills differs
|
|
471
755
|
|
|
472
756
|
| | Sequential Thinking | gstack | Superpowers | agent-skills | Skills / Rules | Ralph Loops | noskills |
|
|
@@ -650,6 +934,201 @@ State machine internals, JSON output format, hook implementation, CLI reference,
|
|
|
650
934
|
directory structure, configuration, and library API — see
|
|
651
935
|
**[README-HOW.md](./README-HOW.md)**.
|
|
652
936
|
|
|
937
|
+
## Upgrading from 4.x
|
|
938
|
+
|
|
939
|
+
These changes since 4.5.2 need a change in code, commands or files that use this
|
|
940
|
+
package. The [changelog](https://github.com/eser/stack/blob/main/CHANGELOG.md)
|
|
941
|
+
lists the changes in every package.
|
|
942
|
+
|
|
943
|
+
Run `noskills init` (or `eser noskills init`) once after upgrading. It rewrites
|
|
944
|
+
the hook files, the generated rule files and the copies of the built-in concerns
|
|
945
|
+
in `.eser/concerns/`, which several entries below depend on.
|
|
946
|
+
|
|
947
|
+
- `noskills invoke-hook pre-tool-use` refuses a call with exit code 2 and writes
|
|
948
|
+
`noskills: <reason>` to stderr. It used to exit 0 with JSON only; the JSON is
|
|
949
|
+
still on stdout for Claude Code, Codex and Copilot CLI. A script that calls
|
|
950
|
+
the hook treats 2 as a denial:
|
|
951
|
+
|
|
952
|
+
```bash
|
|
953
|
+
noskills invoke-hook pre-tool-use < tool_call.json
|
|
954
|
+
# Before: any non-zero exit meant the hook crashed
|
|
955
|
+
# After: 0 allows the call, 2 refuses it, anything else is a failure
|
|
956
|
+
```
|
|
957
|
+
|
|
958
|
+
- Kiro hooks moved from `.kiro/settings/hooks.json`, which Kiro does not read,
|
|
959
|
+
to `.kiro/hooks/noskills.json` in Kiro's v1 format. `noskills init` writes the
|
|
960
|
+
new file and removes noskills' `_noskills` entries from the old one, deleting
|
|
961
|
+
it when nothing else is left. Kiro IDE 1.0 or CLI 3.0 is needed.
|
|
962
|
+
- `.codex/hooks.json` uses Codex's event-to-matcher-group format. Codex no
|
|
963
|
+
longer gets a post-ask-user-question hook and now gets a post-bash hook. Run
|
|
964
|
+
`noskills init`, which also converts your own entries, then open `/hooks` in
|
|
965
|
+
Codex and trust the noskills hooks:
|
|
966
|
+
|
|
967
|
+
```jsonc
|
|
968
|
+
// Before: a list of entries
|
|
969
|
+
{
|
|
970
|
+
"hooks": [
|
|
971
|
+
{ "event": "PreToolUse", "command": "noskills invoke-hook pre-tool-use" }
|
|
972
|
+
]
|
|
973
|
+
}
|
|
974
|
+
// After: events map to matcher groups
|
|
975
|
+
{
|
|
976
|
+
"hooks": {
|
|
977
|
+
"PreToolUse": [{
|
|
978
|
+
"matcher": "^(Bash|apply_patch)$",
|
|
979
|
+
"hooks": [{
|
|
980
|
+
"type": "command",
|
|
981
|
+
"command": "noskills invoke-hook pre-tool-use",
|
|
982
|
+
"timeout": 30
|
|
983
|
+
}]
|
|
984
|
+
}]
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
```
|
|
988
|
+
|
|
989
|
+
- `.github/hooks/noskills.json` uses Copilot CLI's camelCase event lists
|
|
990
|
+
(`"preToolUse": [{ "type": "command", "matcher": "...", "command": "...", "timeoutSec": 30 }]`)
|
|
991
|
+
instead of named objects such as `"noskills:preToolUse"` with a `command`
|
|
992
|
+
array, which Copilot CLI rejected. `noskills init` drops the old keys.
|
|
993
|
+
- The OpenCode plugin `.opencode/plugins/noskills.ts` exports `NoskillsPlugin`
|
|
994
|
+
instead of `export default`, runs the stop hook on `session.idle` instead of
|
|
995
|
+
`session.deleted`, and refuses a guarded tool call when the PreToolUse check
|
|
996
|
+
times out, fails or cannot start. Run `noskills init`. If the noskills command
|
|
997
|
+
can be missing on a machine, install it there, or remove the plugin file
|
|
998
|
+
(`noskills purge` now removes it).
|
|
999
|
+
- In agent mode, `noskills next` in DISCOVERY returns every unanswered base
|
|
1000
|
+
question in `questions`, and `currentQuestion` is gone from the output and
|
|
1001
|
+
from the `compiler.DiscoveryOutput` type. Send the answers as one JSON object
|
|
1002
|
+
keyed by question id; plain text still answers the first open question. Run
|
|
1003
|
+
`noskills init` (or sync) so the generated rule files state the new rule:
|
|
1004
|
+
|
|
1005
|
+
```bash
|
|
1006
|
+
# Before: one call per question, read from currentQuestion
|
|
1007
|
+
noskills spec checkout-flow next --answer="Orders are copied by hand"
|
|
1008
|
+
# After: one call with every answer
|
|
1009
|
+
noskills spec checkout-flow next --answer='{"status_quo":"Orders are copied by hand","ambition":"..."}'
|
|
1010
|
+
```
|
|
1011
|
+
|
|
1012
|
+
- A JSON answer that holds only some base question ids records those answers; it
|
|
1013
|
+
used to be stored, as a whole string, as the answer to the current question. A
|
|
1014
|
+
JSON answer whose key is not a base question id, whose value is not a string,
|
|
1015
|
+
or that holds no answer is refused with `{error}` and exit code 1. Key each
|
|
1016
|
+
answer by `status_quo`, `ambition`, `reversibility`, `user_impact`,
|
|
1017
|
+
`verification` or `scope_boundary`.
|
|
1018
|
+
- Pending follow-ups now keep the base answers from completing discovery. `next`
|
|
1019
|
+
hands them out one at a time, and settling the last one moves the spec to
|
|
1020
|
+
DISCOVERY_REFINEMENT. `followup <id> --answer` and `--skip` on an id that is
|
|
1021
|
+
not a pending follow-up fail with exit code 1 instead of reporting success.
|
|
1022
|
+
Register follow-ups before you submit the base answers, then run the command
|
|
1023
|
+
`next` gives for each one:
|
|
1024
|
+
|
|
1025
|
+
```bash
|
|
1026
|
+
noskills spec checkout-flow followup status_quo "Which teams copy orders?"
|
|
1027
|
+
noskills spec checkout-flow next --answer='{"status_quo":"...",...}'
|
|
1028
|
+
noskills spec checkout-flow followup followup_id --answer="Support and sales"
|
|
1029
|
+
```
|
|
1030
|
+
|
|
1031
|
+
- noskills no longer guesses where a reminder applies from words in its text
|
|
1032
|
+
("slop", "ui element", "api doc", "migration", "rollback" and others). A
|
|
1033
|
+
custom concern that relied on those words now puts those reminders in every
|
|
1034
|
+
spec's EXECUTING instruction, and nothing is file-specific without a `scope`.
|
|
1035
|
+
Add the scope (`ui`, `api`, `data` or `migration`) to those reminders, and run
|
|
1036
|
+
`noskills init` to rewrite the built-in concern copies in `.eser/concerns/`,
|
|
1037
|
+
or beautiful-product's UI reminders reach every spec:
|
|
1038
|
+
|
|
1039
|
+
```jsonc
|
|
1040
|
+
// Before
|
|
1041
|
+
"reminders": ["Every UI element has an empty state"]
|
|
1042
|
+
// After
|
|
1043
|
+
"reminders": [
|
|
1044
|
+
{ "text": "Every UI element has an empty state", "scope": ["ui"] }
|
|
1045
|
+
]
|
|
1046
|
+
```
|
|
1047
|
+
|
|
1048
|
+
- Built-in concerns changed where their content applies. Three beautiful-product
|
|
1049
|
+
reminders (empty states, landing page rules, design rating rubric) and
|
|
1050
|
+
qa-tested's Health Score Rubric now need a `ui` spec, and compliance's three
|
|
1051
|
+
PII and data reminders a `data` spec. developer-experience DX Principle 1 and
|
|
1052
|
+
documented's migration-guide reminder need `involvesMigration`. peer-reviewed
|
|
1053
|
+
Suppressions, ship-ready CHANGELOG, deploy-ready Rollback plan and
|
|
1054
|
+
production-ready Runbook moved from the per-edit hook into the EXECUTING
|
|
1055
|
+
instruction. The sections compliance data-handling and retention-policy
|
|
1056
|
+
(`data`), documented api-documentation (`api`) and long-lived
|
|
1057
|
+
migration-deprecation (`migration`) stay hidden until the classification has
|
|
1058
|
+
the flag. A spec already in flight shows the change when its classification is
|
|
1059
|
+
next applied. Run `noskills init` to refresh the copies in `.eser/concerns/`.
|
|
1060
|
+
- A concern file with an unknown or malformed `scope`, such as `"UI"` or a value
|
|
1061
|
+
that is not a list, is refused: `persistence.listConcerns` skips it with a
|
|
1062
|
+
stderr warning naming the file and entry, `concerns.loadConcerns` throws, and
|
|
1063
|
+
`noskills pack install` of a remote pack stops. Before: `"scope": "UI"`.
|
|
1064
|
+
After: `"scope": ["ui"]`, with values from `ui`, `api`, `data` and
|
|
1065
|
+
`migration`.
|
|
1066
|
+
- `noskills purge` moves what it removes into
|
|
1067
|
+
`.eser/.state/purge-history/<entry_id>/` and keeps the 5 newest entries,
|
|
1068
|
+
instead of deleting it. To remove the content from disk, pass `--no-history`,
|
|
1069
|
+
and delete `.eser/.state/purge-history/` to drop copies from earlier purges.
|
|
1070
|
+
Before: `noskills purge --force`. After:
|
|
1071
|
+
`noskills purge --force --no-history`.
|
|
1072
|
+
- `noskills purge` refuses arguments it does not know, with exit code 1; it used
|
|
1073
|
+
to ignore them. Only `--force`, `--no-history`, the mode flags and the
|
|
1074
|
+
`restore` subcommand are accepted. Drop any other argument.
|
|
1075
|
+
- `noskills purge` exits with code 1 when a category could not be fully removed,
|
|
1076
|
+
and names each path and the reason; it used to exit 0 and say nothing. A
|
|
1077
|
+
script treats exit 1 as a partial purge and reads the output.
|
|
1078
|
+
- Purge's `agent-integration` category takes more files: the agent files for
|
|
1079
|
+
Codex, Copilot CLI, Kiro and OpenCode, Kiro's `noskills-*` steering files, the
|
|
1080
|
+
`.kiro/specs/<spec>/` and `.opencode/skills/<spec>.md` copies of each spec,
|
|
1081
|
+
noskills' section of AGENTS.md, and the noskills MCP server in
|
|
1082
|
+
`.codex/config.toml`, `.copilot/mcp.json`, `.kiro/settings/mcp.json` and
|
|
1083
|
+
`opencode.json`. A shared file left empty, such as a CLAUDE.md that only held
|
|
1084
|
+
the noskills section, is deleted, and so is a folder purge leaves empty. To
|
|
1085
|
+
get a file back, run
|
|
1086
|
+
`noskills purge restore latest manifest agent-integration`.
|
|
1087
|
+
- The PreToolUse hook refuses agent edits and Bash commands that change the
|
|
1088
|
+
`noskills` section of `.eser/manifest.yml`, leave the manifest unparseable,
|
|
1089
|
+
write under `.eser/.state/bin/`, or move or remove `.eser` or `.eser/.state`
|
|
1090
|
+
as a whole (`rm -rf .eser/.state`, `mv .eser x`), in every phase and session
|
|
1091
|
+
mode. Change that section yourself, run `noskills concern add` or
|
|
1092
|
+
`concern remove`, and use `noskills purge` for cleanup.
|
|
1093
|
+
- With `allowGit` false, agent sessions (Claude Code through the SessionStart
|
|
1094
|
+
hook, and `noskills run`) refuse at exec time every git write to the project's
|
|
1095
|
+
repository and every push from any repository. That includes writes started by
|
|
1096
|
+
tools, such as `gh pr create`, `npm version` or lint-staged. A git command
|
|
1097
|
+
whose first argument is a global option the guard does not know (such as
|
|
1098
|
+
`--list-cmds=...`) is refused too. Set `allowGit: true` in
|
|
1099
|
+
`.eser/manifest.yml`, or run those commands outside the agent session.
|
|
1100
|
+
- `allowGit` counts as on only when it is the boolean `true`, in the hooks,
|
|
1101
|
+
`noskills run` and `noskills sync`. Before: `allowGit: "yes"` turned the guard
|
|
1102
|
+
off. After: write `allowGit: true`.
|
|
1103
|
+
- The git wrapper refuses a command when the noskills check does not answer
|
|
1104
|
+
within 30 seconds; it used to wait with no limit. If the check is slow because
|
|
1105
|
+
`command` is `npx eser@latest noskills`, set `command` in `.eser/manifest.yml`
|
|
1106
|
+
to an installed noskills, such as `eser noskills`.
|
|
1107
|
+
- `noskills run` commits whenever `autoCommit: true` is set, also when
|
|
1108
|
+
`allowGit` is false. Its commits include untracked files, run at the project
|
|
1109
|
+
root and use the message `noskills: iteration N: <progress>`. Set
|
|
1110
|
+
`autoCommit: false` (or remove it) to keep the loop from committing.
|
|
1111
|
+
- Generated `.cursorrules`, `.windsurfrules` and
|
|
1112
|
+
`.github/copilot-instructions.md` use `<prefix> spec <name> next` forms. Run
|
|
1113
|
+
sync again instead of editing the generated files.
|
|
1114
|
+
- `noskills next` JSON no longer has `behavioral.urgency` or
|
|
1115
|
+
`restartInstruction`, and the TypeScript types `compiler.BehavioralBlock` and
|
|
1116
|
+
`compiler.ExecutionOutput` lost the fields. Read `restartRecommended` on the
|
|
1117
|
+
EXECUTING output and show your own notice. `behavioral.modeOverride` for
|
|
1118
|
+
DISCOVERY, DISCOVERY_REFINEMENT and SPEC_PROPOSAL is "plan mode", and the
|
|
1119
|
+
read-only rule appears once in `behavioral.rules`.
|
|
1120
|
+
|
|
653
1121
|
## License
|
|
654
1122
|
|
|
655
1123
|
Apache-2.0
|
|
1124
|
+
|
|
1125
|
+
## 🔗 Links
|
|
1126
|
+
|
|
1127
|
+
- [README-HOW.md](./README-HOW.md): the state machine, JSON output, hooks, CLI
|
|
1128
|
+
reference and library API
|
|
1129
|
+
- [`@eserstack/noskills-web`](https://github.com/eser/stack/tree/main/pkg/@eserstack/noskills-web):
|
|
1130
|
+
the web dashboard for noskills specs and agent tabs
|
|
1131
|
+
- [`@eserstack/agents`](https://github.com/eser/stack/tree/main/pkg/@eserstack/agents):
|
|
1132
|
+
coding-agent discovery and the read-only git guard the hooks use
|
|
1133
|
+
- [npm package](https://www.npmjs.com/package/@eserstack/noskills)
|
|
1134
|
+
- [eser/stack on GitHub](https://github.com/eser/stack)
|