harnessed 4.5.1 → 4.7.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 CHANGED
@@ -2,8 +2,9 @@
2
2
 
3
3
  **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
4
 
5
- > AI coding harness package manager + composition orchestrator
6
- > Machine-executes the three-layer-stack collaboration methodology (gstack governance + GSD project manager + superpowers senior engineer + karpathy principles + mattpocock moves) as a runnable engine
5
+ > **Turn raw Claude Code into a disciplined senior engineering team.** One install wires governance, planning, TDD, and review into a single Discuss→Ship workflow where progress and evidence persist on disk, not in chat.
6
+
7
+ > _AI coding harness package manager + composition orchestrator_ — machine-executes the three-layer-stack collaboration methodology (gstack governance + GSD project manager + superpowers senior engineer + karpathy principles + mattpocock moves) as a runnable engine
7
8
 
8
9
  [![npm](https://img.shields.io/npm/v/harnessed?label=npm&color=blue)](https://npmjs.com/package/harnessed)
9
10
  [![License: Apache-2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](./LICENSE)
@@ -17,7 +18,7 @@
17
18
 
18
19
  ## ✨ TL;DR
19
20
 
20
- **Best-practice orchestration for Harness Engineering on Claude Code**assembles the best open-source Claude Code ecosystem components, weaving them into a unified workflow via opinionated composition skills; does not vendor upstream code — manifests describe install/check, and composition skills orchestrate multi-upstream collaboration.
21
+ **How it works**: harnessed **assembles** the best open-source Claude Code agents (gstack, GSD, superpowers, planning-with-files) and **orchestrates** them into one workflow via opinionated composition skills. It does **not** vendor upstream code — manifests describe install/check, and composition skills conduct the multi-upstream collaboration (so an upstream upgrade is just a re-install, never a manual code sync).
21
22
 
22
23
  ### 🔁 The operating loop
23
24
 
@@ -76,6 +77,38 @@ The AI will auto-fetch the doc + run the install, handling OS / permissions / PA
76
77
 
77
78
  ---
78
79
 
80
+ ## ⏱️ First 5 Minutes
81
+
82
+ The shortest path from zero to a running workflow:
83
+
84
+ ```bash
85
+ # 1. Install (one line)
86
+ npm install -g harnessed && harnessed setup
87
+ ```
88
+
89
+ ```
90
+ # 2. Inside Claude Code — kick off your first workflow
91
+ /auto "your first requirement" # newcomer default: runs all stages end-to-end
92
+ ```
93
+
94
+ ```bash
95
+ # 3. Lost? Run harnessed with no arguments — it tells you where you are + what's next
96
+ harnessed
97
+ # → you-are-here dashboard (active phase + per-step status) + a NEXT: auto|manual|done line
98
+ # no need to remember status / next / resume — one command (comet `/comet` analog, read-only)
99
+ # add --json for machine-readable output
100
+ ```
101
+
102
+ ```bash
103
+ # 4. Resume any time after an interruption
104
+ harnessed # same you-are-here view
105
+ harnessed resume # continue from the latest checkpoint
106
+ ```
107
+
108
+ > Want finer control over which stage runs and when? See the 3 modes below.
109
+
110
+ ---
111
+
79
112
  ## 🚀 Quick Start — 3 Options
80
113
 
81
114
  In order of increasing user intervention:
@@ -405,6 +438,7 @@ planning-with-files /plan (cross-cutting tool) → write artifacts to .planning/
405
438
  | `harnessed gates <master>` | Evaluate which sub-workflows fire for a master stage (JSON: fire/skip/parallelism). Used by slash commands to orchestrate native spawns. |
406
439
  | `harnessed prompt <sub>` | Output a spawn-ready prompt (role + checklist + disciplines + completion/clarification protocols) for a sub-workflow. |
407
440
  | `harnessed checkpoint <action> <sub>` | Record sub-workflow start/complete/fail to `~/.claude/harnessed/checkpoints/`. |
441
+ | `harnessed` (no args) | Zero-arg you-are-here: active-workflow dashboard + `NEXT: auto\|manual\|done` + run hint; `--json` machine-readable; no active workflow → onboarding hint (comet `/comet` analog, read-only). |
408
442
  | `harnessed next` | Deterministic next-step contract (`NEXT: auto\|manual\|done`) for the active workflow. |
409
443
  | `harnessed reject <sub>` | Mark a sub as user-rejected (terminal, distinct from `failed`). |
410
444
  | `harnessed compact [--tokens <n>]` | Summarize+evict resolved ledger entries (G6-safe: `fail_count>0` never evicted); auto-triggers on `checkpoint complete --tokens`. |
@@ -416,6 +450,7 @@ planning-with-files /plan (cross-cutting tool) → write artifacts to .planning/
416
450
  | `harnessed doctor` | 14-check health check (Node / MCP / jq / Win bash / routing / token budget / mattpocock / CodeGraph / update-available, etc.) |
417
451
  | `harnessed update [--check\|--upstreams\|--migration-report]` | Self-update (`npm i -g harnessed@latest`); `--check` reports the latest version; `--upstreams` re-runs the base manifests; `--migration-report` is a read-only stale-state inventory |
418
452
  | `harnessed release-preflight` | Read-only release-readiness gate (CHANGELOG `[Unreleased]` / version / git-clean / tag-absent); exits 1 if not ready. The Ship-stage gate. |
453
+ | `harnessed retro --done` | Reset the retro-reminder phase counter after running `/retro` (clears the per-turn RETRO-DUE nudge). |
419
454
  | `harnessed install <name>` | Install an upstream manifest |
420
455
  | `harnessed uninstall [name]` | Reverse uninstall |
421
456
  | `harnessed backup` | Snapshot backup management |
@@ -65,6 +65,17 @@ function workflowStateBlock(wf) {
65
65
  `BREAK-LOOP: sub '${e.sub}' failed ${e.fail_count}x — stop retrying, run break-loop skill`,
66
66
  )
67
67
  }
68
+ // Phase 22 — smart-reminder lines from envelope flags (parity with injectState.ts).
69
+ if (wf.ship_ready) {
70
+ lines.push(
71
+ `SHIP-READY: ${wf.ship_commits ?? 0} commit(s) since the last release tag — consider shipping (harnessed release-preflight, then /ship)`,
72
+ )
73
+ }
74
+ if (wf.retro_due) {
75
+ lines.push(
76
+ 'RETRO-DUE: enough phases completed since the last retro — run /retro, then `harnessed retro --done`',
77
+ )
78
+ }
68
79
  lines.push('</workflow-state>')
69
80
  return lines.join('\n')
70
81
  }