harnessed 4.12.0 → 4.14.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 +17 -11
- package/dist/cli.mjs +532 -196
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/schemas/index.mjs +16 -1
- package/dist/schemas/index.mjs.map +1 -1
- package/manifests/SCHEMA.md +2 -0
- package/manifests/skill-packs/design-taste-frontend.yaml +6 -2
- package/manifests/skill-packs/gsd.yaml +12 -0
- package/manifests/skill-packs/karpathy-skills.yaml +13 -0
- package/manifests/skill-packs/mattpocock-skills.yaml +10 -3
- package/manifests/skill-packs/planning-with-files.yaml +12 -0
- package/manifests/skill-packs/ui-ux-pro-max.yaml +12 -0
- package/manifests/tools/playwright-test.yaml +6 -3
- package/manifests/tools/superpowers.yaml +13 -0
- package/messages/en.json +1 -0
- package/messages/zh-Hans.json +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="./assets/logo.svg" alt="harnessed" width="440">
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
5
|
**English** | [简体中文](./README-cn.md) | [繁體中文](./README-tw.md) | [日本語](./README-ja.md) | [한국어](./README-ko.md) | [Português (Brasil)](./README-pt-BR.md) | [Türkçe](./README-tr.md) | [Русский](./README-ru.md) | [Tiếng Việt](./README-vi.md) | [ไทย](./README-th.md)
|
|
4
6
|
|
|
5
|
-
>
|
|
7
|
+
> _AI coding harness package manager + composition orchestrator_ — it assembles the best of the open-source ecosystem into one executable engine, wired by the three-layer **BDD → SDD → TDD** methodology.
|
|
6
8
|
|
|
7
|
-
>
|
|
9
|
+
> **harnessed is an orchestration brain + prompt library**, driving native subagent spawn through three fast, pure-function CLIs — `harnessed gates` (which sub-workflows fire), `harnessed prompt` (spawn-ready prompt for a sub), and `harnessed checkpoint` (record progress).
|
|
8
10
|
|
|
9
11
|
[](https://npmjs.com/package/harnessed)
|
|
10
12
|
[](./LICENSE)
|
|
@@ -66,7 +68,7 @@ Mapped to the runtime loop above: **Discuss = Behavior (BDD) · Plan = Spec (SDD
|
|
|
66
68
|
|
|
67
69
|
- **Three-layer stack machine-executed** — the **BDD→SDD→TDD nested triple-loop** ([what's that?](#-what-is-the-three-layer-stack)), composed from `gstack` + `GSD` + `superpowers` (overlapping, GSD as the backbone) with `karpathy 4 principles` + `mattpocock 23 moves` as cross-cutting disciplines
|
|
68
70
|
- **No vendoring of upstream** — manifests describe install/check; on upstream upgrade users just re-install to get the latest version
|
|
69
|
-
- **Composition Skill** — in-house workflow skills act as the conductor's baton, orchestrating multiple upstreams in concert. **1 super-master `/auto` + 5 stage masters +
|
|
71
|
+
- **Composition Skill** — in-house workflow skills act as the conductor's baton, orchestrating multiple upstreams in concert. **1 super-master `/auto` + 5 stage masters + 20 sub-workflows + 2 standalones = 28 namespace-layered workflows**, full 5-stage machine-execution (`/auto` one-shot across stages / `/discuss /plan /task /verify /ship` single stage / 20 three-layer-stack subs / `/research /retro` 2 standalones)
|
|
70
72
|
- **L0 Discipline Substrate** — global cross-stage behavior baseline (karpathy principles + output-style + language + operational + priority + protocols), applied universally
|
|
71
73
|
- **Package manager mindset** — install dependency graph auto-resolves, doctor health check, install-base one-shot full install
|
|
72
74
|
- **Unified entry point** — users face `/discuss /plan /task /verify /ship` master slash commands without learning each upstream's terminology; sub commands explicitly invoke a single stage (e.g. `/discuss-strategic` runs only the strategic-layer clarification)
|
|
@@ -167,7 +169,7 @@ In order of increasing user intervention:
|
|
|
167
169
|
/discuss "requirement X" # Strategic + Phase + Subtask 3-layer clarification
|
|
168
170
|
/plan "requirement X" # Architecture (conditional) + plan persistence
|
|
169
171
|
/task "subtask-1" # 4 subs serial (clarify → code → test → deliver)
|
|
170
|
-
/verify "phase-1" #
|
|
172
|
+
/verify "phase-1" # 10 subs conditional verification
|
|
171
173
|
```
|
|
172
174
|
|
|
173
175
|
> Want to decide which stage to start from / review intermediate outputs — 5 masters callable independently, and each master still auto-fans-out all of that stage's subs internally.
|
|
@@ -178,7 +180,7 @@ In order of increasing user intervention:
|
|
|
178
180
|
/discuss-phase "..." # Run only Phase-layer clarification
|
|
179
181
|
/plan-architecture "..." # Run only architecture review
|
|
180
182
|
/verify-paranoid "..." # Run only the Paranoid Staff Engineer review
|
|
181
|
-
# ... pick any of the other
|
|
183
|
+
# ... pick any of the other 20 sub-workflows
|
|
182
184
|
```
|
|
183
185
|
|
|
184
186
|
> "I'm an expert, I'll decide myself" — skip the master, invoke a sub-workflow directly. Suits advanced users who know exactly which sub they need, or reuse of a single step.
|
|
@@ -219,9 +221,11 @@ graph TD
|
|
|
219
221
|
VQ[verify-qa]
|
|
220
222
|
VS[verify-security]
|
|
221
223
|
VD[verify-design]
|
|
224
|
+
VE[verify-eval-review]
|
|
225
|
+
VV[verify-validate-phase]
|
|
222
226
|
VSi[verify-simplify]
|
|
223
227
|
VM[verify-multispec]
|
|
224
|
-
VMs --> VP & VC & VPa & VQ & VS & VD & VSi & VM
|
|
228
|
+
VMs --> VP & VC & VPa & VQ & VS & VD & VE & VV & VSi & VM
|
|
225
229
|
end
|
|
226
230
|
subgraph Ship[⑤ Ship — Release]
|
|
227
231
|
SMs[/ship master/]
|
|
@@ -237,7 +241,7 @@ graph TD
|
|
|
237
241
|
|
|
238
242
|
> Dashed boxes = optional standalones (`/research` pre-strategic investigation / `/retro` post-milestone summary); solid boxes = main 5-stage cadence (Ship stops at tag-ready; `publish.yml` CI does the actual publish).
|
|
239
243
|
|
|
240
|
-
###
|
|
244
|
+
### 28-Workflow Overview Table
|
|
241
245
|
|
|
242
246
|
| Slash cmd | Stage | Type | Capability / Upstream | Brief |
|
|
243
247
|
|-----------|-------|------|----------------------|-------|
|
|
@@ -254,13 +258,15 @@ graph TD
|
|
|
254
258
|
| `/task-code` | ③ Task | Sub | karpathy 4 principles + `/zoom-out` / `/improve-codebase-architecture` / `/diagnose` conditional | Subtask coding + cross-session progress.md sync |
|
|
255
259
|
| `/task-test` | ③ Task | Sub | superpowers TDD red-green-refactor + `/diagnose` conditional | TDD mandatory for core logic (alias mattpocock `/tdd`) |
|
|
256
260
|
| `/task-deliver` | ③ Task | Sub | `ralph-loop` SDK wrapper + Agent Teams conditional | Until verbatim `COMPLETE` + R20.10 max_iter fallback |
|
|
257
|
-
| `/verify` | ④ Verify | Master | masterOrchestrator |
|
|
261
|
+
| `/verify` | ④ Verify | Master | masterOrchestrator | 10 subs conditional dispatch by scenario |
|
|
258
262
|
| `/verify-progress` | ④ Verify | Sub | GSD `/gsd-verify-work` + `/gsd-progress` | Mandatory serial starting point — UAT acceptance + state sync |
|
|
259
263
|
| `/verify-code-review` | ④ Verify | Sub | `code-review` multi-subagent fan-out | High-confidence findings in parallel |
|
|
260
264
|
| `/verify-paranoid` | ④ Verify | Sub | gstack `/review` (Paranoid Staff Engineer) | Mandatory for critical-module pre-PR |
|
|
261
265
|
| `/verify-qa` | ④ Verify | Sub | gstack `/qa` + playwright-cli / `@playwright/test` / webapp-testing | End-to-end QA (has_ui_changes conditional) |
|
|
262
266
|
| `/verify-security` | ④ Verify | Sub | gstack `/cso` | OWASP / auth / secrets (has_auth_or_secrets conditional) |
|
|
263
267
|
| `/verify-design` | ④ Verify | Sub | gstack `/design-review` + ui-ux-pro-max + design-taste-frontend | Design system consistency (has_design_changes conditional) |
|
|
268
|
+
| `/verify-eval-review` | ④ Verify | Sub | GSD `/gsd-eval-review` | AI phase eval coverage audit (has_ai_phase conditional; pairs with plan-side gsd-ai-integration-phase) |
|
|
269
|
+
| `/verify-validate-phase` | ④ Verify | Sub | GSD `/gsd-validate-phase` | Nyquist requirement→test coverage backfill (requires_coverage_audit conditional) |
|
|
264
270
|
| `/verify-simplify` | ④ Verify | Sub | `code-simplifier` | Final serial simplification |
|
|
265
271
|
| `/verify-multispec` | ④ Verify | Sub | 4-specialist Agent Team Pattern C | Critical release / large refactor PR escalation (mutual SendMessage cross-examination) |
|
|
266
272
|
| `/ship` | ⑤ Ship | Master | masterOrchestrator | Release stage after Verify — preflight → delegate PR/deploy to gstack `/ship` → publish via CI (tag-ready boundary) |
|
|
@@ -300,7 +306,7 @@ harnessed setup
|
|
|
300
306
|
/discuss "new feature X" # Strategic + Phase + Subtask 3-layer clarification
|
|
301
307
|
/plan "new feature X" # Architecture (conditional) + plan (task graph persisted)
|
|
302
308
|
/task "subtask-1: API contract" # 4 subs serial per subtask
|
|
303
|
-
/verify "phase-1" #
|
|
309
|
+
/verify "phase-1" # 10 subs conditional
|
|
304
310
|
/ship # release-preflight gate → PR/deploy (tag-ready; publish via CI)
|
|
305
311
|
|
|
306
312
|
# 3. Resume after interruption (any time)
|
|
@@ -366,7 +372,7 @@ harnessed/
|
|
|
366
372
|
```
|
|
367
373
|
┌────────────────────────────────────────────────────────────┐
|
|
368
374
|
│ L7 User-facing slash cmd + harnessed CLI │
|
|
369
|
-
│ /discuss /plan /task /verify /ship (master) +
|
|
375
|
+
│ /discuss /plan /task /verify /ship (master) + 20 sub + /research /retro + /auto super-master
|
|
370
376
|
│ + direct gstack invoke (30+ optional): /office-hours /review /qa /...
|
|
371
377
|
├────────────────────────────────────────────────────────────┤
|
|
372
378
|
│ L6 Workflow orchestration (workflows/<stage>/<sub>/) │
|