oc-harness-setup 1.1.0 → 1.1.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +12 -16
  3. package/package.json +10 -9
package/CHANGELOG.md CHANGED
@@ -2,8 +2,49 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [1.1.1] - 2026-11-26
6
+
7
+
8
+ - npm metadata alignment: README wording and keywords refreshed (cosmetic).
5
9
  ## [1.1.0] - 2026-11-24
6
10
 
11
+ ### Added
12
+
13
+ - Setup runs six ordered stages — preflight, resolve, plan, write, verify and
14
+ report — and records its progress in `state/setup-state.yaml`. Plain `setup`
15
+ still runs every stage and stays the upgrade path. `--list-stages` prints the
16
+ order and exits without writing, `--stage <id>` runs up to and including that
17
+ stage, `--from <id>` starts there and runs to the end, and `--ask` asks
18
+ whether to keep existing config values when an install-owned key collides and
19
+ whether to install the playbooks and templates; both default to yes.
20
+ - The pack ships five playbooks — investigate, bug-fix, feature, refactor and
21
+ ship — behind the `/playbook` router. The router matches one playbook to a
22
+ task and copies its numbered steps into the todo before work starts. The
23
+ doctor grades the playbooks and the router.
24
+
25
+ ### Changed
26
+
27
+ - `evolve` is now a generator command. It writes a skill, command, agent or
28
+ playbook from its template and adds the companions the doctor requires: a
29
+ skill also gets its paired command and a skill allowlist entry, and a
30
+ playbook also gets a row in the router. It then runs the doctor and reports
31
+ the verdict.
32
+
33
+ ### Fixed
34
+
35
+ - V2 plugin objects (`{package, options}`) survive the config merge with their
36
+ options intact. Entries dedupe on the package id, so a string and an object
37
+ naming the same plugin collapse to one, and an adopter entry wins when it
38
+ collides with a shipped one. Entries the host cannot represent are reported,
39
+ not written.
40
+ - The doctor reads a V2 plugin object's `package` as its identity instead of
41
+ stringifying it, and strips the disabled marker from an MCP server name
42
+ before grading it, so a config that agrees with the registry no longer fails
43
+ those two checks.
44
+ - A `--from` start that skipped the plan stage no longer crashes during the
45
+ write; the inputs are now derived the same way for planned and skipped-plan
46
+ starts.
47
+
7
48
  ## [1.0.0] - 2026-10-31
8
49
 
9
50
  ### Breaking
package/README.md CHANGED
@@ -4,20 +4,14 @@
4
4
 
5
5
  <h1 align="center">oc-harness-setup</h1>
6
6
 
7
- <p align="center"><strong>A consent-first OpenCode starter for Windows: ten seats, seven skills, five playbooks and a doctor gate in one command.</strong></p>
7
+ <p align="center"><strong>A consent-first OpenCode starter for Windows with skills and a doctor gate in one command.</strong></p>
8
8
 
9
9
  <p align="center">
10
- <a href="https://www.npmjs.com/package/oc-harness-setup"><img src="https://img.shields.io/npm/v/oc-harness-setup" alt="npm version"></a>
11
- <img src="https://img.shields.io/badge/platform-windows--64bit-2b3137?logo=windows&amp;logoColor=white" alt="platform">
12
- <a href="https://github.com/nathwn12/oc-collections/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-green" alt="MIT"></a>
10
+ <a href="https://www.npmjs.com/package/oc-harness-setup"><img src="https://img.shields.io/npm/v/oc-harness-setup" alt="npm version" /></a>
11
+ <img src="https://img.shields.io/badge/platform-windows--64bit-2b3137" alt="Windows x64" />
12
+ <a href="https://github.com/nathwn12/oc-collections/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-green" alt="MIT licence" /></a>
13
13
  </p>
14
14
 
15
- ## Why
16
-
17
- A starter that writes files is only safe if you can see and undo what it does. `oc-harness-setup` prints a full manifest before anything moves and waits for you to type `y`. It gives every agent a trigger, an owned path set and a check, so a verdict never comes from the author. Each run ends on the doctor gate: a 19-law check names the failing law and its fix, and a summary reports the result.
18
-
19
- The install is reversible by journal: SHA-256 per file, so `--uninstall` restores what was there and removes exactly what it added.
20
-
21
15
  ## Install
22
16
 
23
17
  ```bash
@@ -26,18 +20,18 @@ npx --yes oc-harness-setup setup
26
20
 
27
21
  Setup checks your host, finds your config dir, collects the files and prints a plan before it writes anything. It waits for your `y` at the plan, then backs up what it replaces, merges your config, runs the doctor and prints a summary. `--dry-run` changes nothing at all.
28
22
 
29
- ## Use
23
+ ## Use it
30
24
 
31
- Run `setup` to install the starter, then answer `y` at the plan. The pack puts ten seats on one routing table, seven skills behind seven commands, five playbooks behind `/playbook`, and twelve on-demand references loaded one at a time from an index.
25
+ Run `setup` to install the starter, then answer `y` at the plan. The pack puts ten agents on one routing table, seven skills behind seven commands, five playbooks behind `/playbook`, and twelve on-demand references loaded one at a time from an index.
32
26
 
33
- Afterwards:
27
+ Every agent gets a trigger, an owned path set and a check, so a verdict never comes from the author. Each run ends on the doctor gate: a 19-law check names the failing law and its fix. The install is reversible by journal: SHA-256 per file, so `--uninstall` restores what was there and removes exactly what it added.
34
28
 
35
29
  - `/playbook` matches a task to one of five procedures and copies its steps into the todo before work starts.
36
30
  - `evolve` turns a repeated workflow into a skill, command, agent or playbook.
37
31
  - `--uninstall` restores the pre-install state from the journal.
38
32
  - `--dry-run` shows the plan without writing.
39
33
 
40
- ## Configure
34
+ ### Configure it
41
35
 
42
36
  There is no config file to edit by hand. Your model, provider, keys, plugins and state are kept while the pack owns runtime policy. The command line is the surface:
43
37
 
@@ -60,11 +54,13 @@ Setup records progress in `state/setup-state.yaml` in the config dir. Plain `set
60
54
  - Node.js 22 or newer.
61
55
  - OpenCode 2.2.0 or newer. A 2.0/2.1 host warns before installing; a 1.x host is refused before anything is written.
62
56
 
57
+ ## Status
58
+
59
+ **Unverified** — as-is, use at your own risk.
60
+
63
61
  ## Links
64
62
 
65
63
  - [Issues](https://github.com/nathwn12/oc-collections/issues)
66
64
  - [Releases](https://github.com/nathwn12/oc-collections/releases)
67
65
  - [Guide](https://github.com/nathwn12/oc-collections/blob/main/packages/oc-harness-setup/docs/GUIDE.md)
68
66
  - [MIT licence](https://github.com/nathwn12/oc-collections/blob/main/LICENSE)
69
-
70
- <p align="center"><sub>Built by nathwn12</sub></p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oc-harness-setup",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "oc-harness-setup": "bin/cli.js"
@@ -45,18 +45,19 @@
45
45
  "url": "git+https://github.com/nathwn12/oc-collections.git",
46
46
  "directory": "packages/oc-harness-setup"
47
47
  },
48
- "description": "A general OpenCode starter for Windows: 10 seats on a dispatch loop, 6 skills, fresh-verdict research, lesson memory, leave-no-trail hygiene, and self-extension tooling - installed by one explicit command.",
48
+ "description": "A consent-first OpenCode starter for Windows with skills and a doctor gate in one command.",
49
49
  "keywords": [
50
50
  "opencode",
51
+ "plugin",
52
+ "starter",
51
53
  "agents",
52
54
  "skills",
53
- "loop",
54
- "research",
55
- "memory",
56
- "cleanup",
57
- "self-extension",
58
- "starter",
59
- "oc-harness-setup"
55
+ "playbooks",
56
+ "doctor",
57
+ "setup",
58
+ "typescript",
59
+ "tooling",
60
+ "windows"
60
61
  ],
61
62
  "bugs": "https://github.com/nathwn12/oc-collections/issues",
62
63
  "homepage": "https://github.com/nathwn12/oc-collections/tree/main/packages/oc-harness-setup"