harnessed 4.32.20 → 4.32.21
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 +9 -8
- package/dist/cli.mjs +11 -10
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/manifests/optional/ecc.yaml +20 -0
- package/manifests/skill-packs/ui-ux-pro-max.yaml +37 -24
- package/manifests/tools/chrome-devtools-mcp.yaml +33 -13
- package/manifests/tools/tavily-mcp.yaml +4 -1
- package/package.json +1 -1
- package/workflows/capabilities.yaml +5 -1
- package/workflows/judgments/web-search-routing.yaml +3 -0
- package/workflows/task/test/SKILL.md +1 -1
- package/workflows/task/test/SKILL.zh-Hans.md +1 -1
- package/workflows/task/test/workflow.yaml +1 -1
- package/manifests/tools/exa-mcp.yaml +0 -39
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ harnessed's three-layer stack is a software-engineering implementation of the es
|
|
|
51
51
|
|
|
52
52
|
The loops are **nested lenses, not phases** — the classic Cucumber BDD-outer + TDD-inner double-loop, extended with a GenAI-era SDD spec ring into a triple-loop. harnessed runs the default outer→inner traversal as its 5-stage cadence, plus the **back-edges it ships today**: Verify kicks failing work back to Task, a subagent that hits a gray area round-trips to clarification before continuing, and every shipped cycle feeds learnings back into the next Discuss. (Finer-grained structured back-edges — e.g. a contract contradiction routing straight to Spec, an ambiguous requirement to Behavior — are on the roadmap, not shipped. harnessed is the linear-cadence realization of the triple-loop; the full routed graph is its evolution path.)
|
|
53
53
|
|
|
54
|
-
**The components overlap — that's the point.** **GSD** threads through all three loops as the orchestration backbone, **gstack** spans Behavior + Review, **superpowers** spans Behavior (brainstorm) + Implementation (TDD). harnessed wires them — and arbitrates the overlap — into one engine. Two **cross-cutting disciplines** run through every layer: **karpathy principles** (*how* to code — simplicity-first, surgical diffs) + **mattpocock moves** (on-demand tactical tools like `/
|
|
54
|
+
**The components overlap — that's the point.** **GSD** threads through all three loops as the orchestration backbone, **gstack** spans Behavior + Review, **superpowers** spans Behavior (brainstorm) + Implementation (TDD). harnessed wires them — and arbitrates the overlap — into one engine. Two **cross-cutting disciplines** run through every layer: **karpathy principles** (*how* to code — simplicity-first, surgical diffs) + **mattpocock moves** (on-demand tactical tools like `/diagnosing-bugs`, `/grill-with-docs`).
|
|
55
55
|
|
|
56
56
|
Mapped to the runtime loop above: **Discuss = Behavior (BDD) · Plan = Spec (SDD) · Build = Implementation (TDD)**, then **Verify + Ship** close it with evidence gates.
|
|
57
57
|
|
|
@@ -84,7 +84,7 @@ Native agents give you primitives; harnessed wires them into a methodology. Wher
|
|
|
84
84
|
|---|---|---|---|
|
|
85
85
|
| **Workflow / methodology** | Primitives only — you design the flow each time | Fewer primitives — freestyle per prompt | Codified **Discuss→Ship** 5-stage three-layer-stack engine — BDD + SDD + TDD loops + 2 cross-cutting (Review + Ship) |
|
|
86
86
|
| **Instruction injection** | `CLAUDE.md` + skills + hooks exist, but static & wired by hand | `AGENTS.md` only — no skills/hooks | Per-turn breadcrumb hook + task-scoped routing + learnings injected each cycle |
|
|
87
|
-
| **State / progress** | Chat context — lost on `/clear` / compaction | Chat context — no persistence layer | On-disk `.planning/` + `
|
|
87
|
+
| **State / progress** | Chat context — lost on `/clear` / compaction | Chat context — no persistence layer | On-disk `.planning/` + `workflows.json` per-repo ledger + checkpoint evidence |
|
|
88
88
|
| **Cross-session recovery** | Re-explain the context by hand | Re-explain the context by hand | `harnessed status --recover`: you-are-here + next step |
|
|
89
89
|
| **Verification / "done"** | Agent self-reports "done" | Agent self-reports "done" | Independent review subagents + **fail-CLOSED evidence guard** (missing artifact = not done) |
|
|
90
90
|
| **Subagent orchestration** | Subagents + Agent Teams available, but orchestrated by hand | No subagent/team primitive | `gates → prompt → spawn → checkpoint`; Agent Teams auto-enabled per task |
|
|
@@ -266,8 +266,8 @@ graph TD
|
|
|
266
266
|
| `/plan-phase` | ② Plan | Sub | GSD `/gsd-plan-phase` + planning-with-files `/plan` | Plan layer — persists `task_plan.md` + `progress.md` |
|
|
267
267
|
| `/task` | ③ Task | Master | masterOrchestrator | Serial invoke of 4 subs per subtask (clarify → code → test → deliver) |
|
|
268
268
|
| `/task-clarify` | ③ Task | Sub | superpowers brainstorming + `/grill-with-docs` conditional | Subtask startup clarification gate |
|
|
269
|
-
| `/task-code` | ③ Task | Sub | karpathy 4 principles + `/
|
|
270
|
-
| `/task-test` | ③ Task | Sub | superpowers TDD red-green-refactor + `/
|
|
269
|
+
| `/task-code` | ③ Task | Sub | karpathy 4 principles + `/improve-codebase-architecture` / `/diagnosing-bugs` conditional | Subtask coding + cross-session progress.md sync |
|
|
270
|
+
| `/task-test` | ③ Task | Sub | superpowers TDD red-green-refactor + `/diagnosing-bugs` conditional | TDD mandatory for core logic (alias mattpocock `/tdd`) |
|
|
271
271
|
| `/task-deliver` | ③ Task | Sub | `ralph-loop` SDK wrapper + Agent Teams conditional | Until verbatim `COMPLETE` + R20.10 max_iter fallback |
|
|
272
272
|
| `/verify` | ④ Verify | Master | masterOrchestrator | 10 subs conditional dispatch by scenario |
|
|
273
273
|
| `/verify-progress` | ④ Verify | Sub | GSD `/gsd-verify-work` + `/gsd-progress` | Mandatory serial starting point — UAT acceptance + state sync |
|
|
@@ -371,7 +371,7 @@ harnessed/
|
|
|
371
371
|
│ └── protocols.yaml # cc-handoff design doc self-contained
|
|
372
372
|
├── routing/ # L4: routing engine SSOT (decision_rules.yaml)
|
|
373
373
|
├── schemas/ # L3: JSON Schema (IDE / CI consume)
|
|
374
|
-
├── src/ # L4: TS engine (workflow + routing + cli + installers + checkpoint + audit + state)
|
|
374
|
+
├── src/ # L4: TS engine (platform + workflow + routing + cli + installers + checkpoint + audit + state)
|
|
375
375
|
├── tests/ # vitest unit + integration + dogfood (R8.1 dogfood-first)
|
|
376
376
|
├── scripts/ # CI gate (check-workflow-schema, transparency-verdict, state-archive)
|
|
377
377
|
├── .planning/ # project memory (STATE + ROADMAP + REQUIREMENTS + per-phase + milestones)
|
|
@@ -502,13 +502,13 @@ planning-with-files /plan (cross-cutting tool) → write artifacts to .planning/
|
|
|
502
502
|
| `harnessed resume` | Resume from the most recent checkpoint after a session interruption |
|
|
503
503
|
| `harnessed status` | Current phase + lock holder |
|
|
504
504
|
| `harnessed doctor` | Health check (Node / MCP / jq / Win bash / routing / token budget / skill integrity / GateGuard conflict / update-available / stale hooks, etc.). The **stale hooks** check flags orphaned harnessed `Stop`/`UserPromptSubmit` entries in `~/.claude/settings.json` that point at a deleted `bin/*.mjs` — the cause of a `MODULE_NOT_FOUND` error on every prompt after a raw `npm uninstall -g harnessed`. Fix: run `harnessed uninstall` (it strips them) **before** removing the package. |
|
|
505
|
-
| `harnessed update [--check\|--upstreams\|--migration-report]` | Self-update, channel-aware: binary installs replace themselves in place from GitHub releases (sha256-verified
|
|
505
|
+
| `harnessed update [--check\|--rollback [version]\|--upstreams\|--migration-report]` | Self-update, channel-aware: binary installs replace themselves in place from GitHub releases (sha256 + ed25519-signature verified — releases ship `<asset>.sha256.sig`, signed-release contract since 4.32.19; the replaced version is banked for rollback); npm installs run `npm i -g harnessed@latest`. `--check` reports the latest version; `--rollback [version]` (binary installs only) atomically restores a banked previous binary — npm installs are pointed at `npm i -g harnessed@<version>`; `--upstreams` re-runs the base manifests; `--migration-report` is a read-only stale-state inventory |
|
|
506
506
|
| `harnessed release-preflight` | Read-only release-readiness gate (CHANGELOG `[Unreleased]` / version / git-clean / tag-absent); exits 1 if not ready. The Ship-stage gate. |
|
|
507
507
|
| `harnessed retro --done` | Reset the retro-reminder phase counter after running `/retro` (clears the per-turn RETRO-DUE nudge). |
|
|
508
508
|
| `harnessed install <name>` | Install an upstream manifest |
|
|
509
|
-
| `harnessed uninstall [name]` | Reverse uninstall |
|
|
509
|
+
| `harnessed uninstall [name]` | Reverse uninstall — runs the manifest's declared `spec.uninstall` teardown (cmd + `$HOME`-confined, idempotent `cleanup_paths`) for the skill-installing methods (`npm-cli` / `git-clone-with-setup` / `npx-skill-installer`); other methods keep their per-method reverse |
|
|
510
510
|
| `harnessed backup` | Snapshot backup management |
|
|
511
|
-
| `harnessed rollback <timestamp>` | One-line rollback (EOL preserve + sha1 verify) |
|
|
511
|
+
| `harnessed rollback <timestamp>` | One-line rollback of a **backup snapshot** (EOL preserve + sha1 verify) — distinct from `update --rollback`, which restores a previous **compiled binary** |
|
|
512
512
|
| `harnessed gc` | Clean up expired backups |
|
|
513
513
|
| `harnessed audit-log` | Routing transparency log query (supports `--filter` jq expression) |
|
|
514
514
|
|
|
@@ -522,6 +522,7 @@ planning-with-files /plan (cross-cutting tool) → write artifacts to .planning/
|
|
|
522
522
|
| `--non-interactive` | CI / scripted scenarios |
|
|
523
523
|
| `--system` | Allow L4 global install (otherwise downgrade to L1 npx ephemeral) |
|
|
524
524
|
| `--yes` | Skip interactive confirm on uninstall |
|
|
525
|
+
| `--json` | Machine-readable stdout (zero-arg dashboard / `next` / `advance`, etc.); errors that escape to the process root also emit a single-line `{"error":{"message":…}}` envelope on stdout, so `JSON.parse(stdout).error` is a reliable failure probe |
|
|
525
526
|
| `--full-diff` | Expand diffs folded above 200 lines |
|
|
526
527
|
| `--no-color` | Force nocolor (even on TTY) |
|
|
527
528
|
| `--task <text>` | `run` — task description (passed as workflow `gateContext.task`) |
|
package/dist/cli.mjs
CHANGED
|
@@ -38,7 +38,7 @@ var init_package = __esm({
|
|
|
38
38
|
"package.json"() {
|
|
39
39
|
package_default = {
|
|
40
40
|
name: "harnessed",
|
|
41
|
-
version: "4.32.
|
|
41
|
+
version: "4.32.21",
|
|
42
42
|
description: "AI coding harness package manager + composition orchestrator",
|
|
43
43
|
type: "module",
|
|
44
44
|
license: "Apache-2.0",
|
|
@@ -4218,31 +4218,32 @@ async function checkMcpAvailability() {
|
|
|
4218
4218
|
}
|
|
4219
4219
|
if (missing.length === 0) {
|
|
4220
4220
|
return {
|
|
4221
|
-
name:
|
|
4221
|
+
name: CHECK_NAME,
|
|
4222
4222
|
status: "pass",
|
|
4223
|
-
message: `
|
|
4223
|
+
message: `installed: ${installed.join(", ")}`
|
|
4224
4224
|
};
|
|
4225
4225
|
}
|
|
4226
4226
|
if (installed.length === 0) {
|
|
4227
4227
|
return {
|
|
4228
|
-
name:
|
|
4228
|
+
name: CHECK_NAME,
|
|
4229
4229
|
status: "warn",
|
|
4230
|
-
message:
|
|
4231
|
-
fix: "run `harnessed setup` to install via Step B (manifests/tools/
|
|
4230
|
+
message: `not registered in ~/.claude.json: ${missing.join(", ")}`,
|
|
4231
|
+
fix: "run `harnessed setup` to install via Step B (manifests/tools/tavily-mcp.yaml)"
|
|
4232
4232
|
};
|
|
4233
4233
|
}
|
|
4234
4234
|
return {
|
|
4235
|
-
name:
|
|
4235
|
+
name: CHECK_NAME,
|
|
4236
4236
|
status: "warn",
|
|
4237
|
-
message: `${installed.length}
|
|
4237
|
+
message: `${installed.length}/${TARGET_SERVERS.length} installed: ${installed.join(", ")}; missing: ${missing.join(", ")}`,
|
|
4238
4238
|
fix: "run `harnessed setup` to install missing MCPs via Step B"
|
|
4239
4239
|
};
|
|
4240
4240
|
}
|
|
4241
|
-
var TARGET_SERVERS;
|
|
4241
|
+
var TARGET_SERVERS, CHECK_NAME;
|
|
4242
4242
|
var init_check_mcp_availability = __esm({
|
|
4243
4243
|
"src/cli/lib/check-mcp-availability.ts"() {
|
|
4244
4244
|
init_readClaudeConfig();
|
|
4245
|
-
TARGET_SERVERS = ["tavily-mcp"
|
|
4245
|
+
TARGET_SERVERS = ["tavily-mcp"];
|
|
4246
|
+
CHECK_NAME = "MCP servers (tavily)";
|
|
4246
4247
|
}
|
|
4247
4248
|
});
|
|
4248
4249
|
|