oc-harness-setup 1.0.1 → 1.1.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/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ## [1.0.1] - 2026-11-01
5
+ ## [1.1.0] - 2026-11-24
6
6
 
7
7
  ## [1.0.0] - 2026-10-31
8
8
 
package/README.md CHANGED
@@ -1,6 +1,22 @@
1
- # oc-harness-setup
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/nathwn12/oc-collections/main/packages/oc-harness-setup/assets/icon.svg" width="120" height="120" alt="oc-harness-setup icon" />
3
+ </p>
4
+
5
+ <h1 align="center">oc-harness-setup</h1>
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>
8
+
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>
13
+ </p>
14
+
15
+ ## Why
2
16
 
3
- A compact OpenCode starter that runs a real loop, researches before it claims, keeps a ledger, cleans up after itself, and grows the next skill you need.
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.
4
20
 
5
21
  ## Install
6
22
 
@@ -8,33 +24,47 @@ A compact OpenCode starter that runs a real loop, researches before it claims, k
8
24
  npx --yes oc-harness-setup setup
9
25
  ```
10
26
 
11
- First run prints a manifest of everything it will touch and waits for you to type `y`.
27
+ 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
+
29
+ ## Use
12
30
 
13
- ## What you get
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.
14
32
 
15
- | Capability | What it does for you |
33
+ Afterwards:
34
+
35
+ - `/playbook` matches a task to one of five procedures and copies its steps into the todo before work starts.
36
+ - `evolve` turns a repeated workflow into a skill, command, agent or playbook.
37
+ - `--uninstall` restores the pre-install state from the journal.
38
+ - `--dry-run` shows the plan without writing.
39
+
40
+ ## Configure
41
+
42
+ 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
+
44
+ | Command | Effect |
16
45
  | --- | --- |
17
- | Ten seats on one routing table | Gives every agent a trigger, an owned path set, and a check, so the verdict never comes from the author. |
18
- | Six skills behind six commands | Ships close, evolve, fast, loop, search and swarm, each loadable on its own trigger. |
19
- | Twelve on-demand references | Loads one index and then only the file a rule names, instead of a wall of standing instructions. |
20
- | Doctor gate | Ends every setup run on an 18-law check that names the failing law and the fix. |
21
- | Consent-first install | Prints the full manifest before anything moves, and `--dry-run` changes nothing at all. |
22
- | Settings that survive | Keeps your model, provider, keys, plugins and state while the pack owns runtime policy. |
23
- | Reversible by journal | Records SHA-256 per file, so `--uninstall` restores what was there and removes exactly what it added. |
24
- | Grows with you | `evolve` turns a repeated workflow into one skill, command, reference, seat, or config change. |
46
+ | `setup` | Install the starter in six ordered stages, then report the doctor verdict. |
47
+ | `setup --list-stages` | Print the ordered stage list and exit without writing. |
48
+ | `setup --stage <id>` | Run up to and including that stage, then stop. |
49
+ | `setup --from <id>` | Start at that stage and run to the end. |
50
+ | `setup --ask` | Ask whether to keep your existing config values when an install-owned key collides, then ask "Install the playbooks?"; both default to yes. |
51
+ | `evolve <kind> <id>` | Write an artifact from its template, add its required companions, run the doctor and report the verdict. |
52
+ | `--dry-run` | Print the plan without writing. |
53
+ | `--uninstall` | Restore files from the journal. |
54
+
55
+ Setup records progress in `state/setup-state.yaml` in the config dir. Plain `setup` still runs every stage and remains the upgrade path; recorded progress never makes it skip work.
25
56
 
26
57
  ## Requirements
27
58
 
28
- Windows 10/11 with Node.js 22 or newer and OpenCode 2.2.0 or newer: a 2.0/2.1 host warns before installing, and a 1.x host is refused before anything is written.
59
+ - Windows 10 or 11.
60
+ - Node.js 22 or newer.
61
+ - 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.
29
62
 
30
- ## Going deeper
63
+ ## Links
31
64
 
32
- The manual at <https://github.com/nathwn12/oc-collections/blob/main/packages/oc-harness-setup/docs/GUIDE.md> covers the full command list and its exit codes, every environment variable, what the doctor gate checks, the safe upgrade path, and how `evolve` grows the setup.
65
+ - [Issues](https://github.com/nathwn12/oc-collections/issues)
66
+ - [Releases](https://github.com/nathwn12/oc-collections/releases)
67
+ - [Guide](https://github.com/nathwn12/oc-collections/blob/main/packages/oc-harness-setup/docs/GUIDE.md)
68
+ - [MIT licence](https://github.com/nathwn12/oc-collections/blob/main/LICENSE)
33
69
 
34
- <!-- nathwn12 house footer: identical in every repo. Do not edit. -->
35
- <p align="center">
36
- <a href="https://github.com/nathwn12"><img src="assets/signature.svg" width="96" alt="nathwn12" /></a>
37
- </p>
38
- <p align="center">
39
- <sub>Built by <a href="https://github.com/nathwn12">nathwn12</a> · <a href="https://github.com/nathwn12?tab=repositories">All projects</a></sub>
40
- </p>
70
+ <p align="center"><sub>Built by nathwn12</sub></p>
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="120 148 300 252">
2
+ <!-- Glyph variant: strokes identical to the canonical signature.svg; ground tile removed, viewBox tightened to the glyph. Fits any background. -->
3
+ <path d="M136 384 L136 264 C136 196 180 164 234 164 C288 164 328 198 328 264 L328 384 L264 384 L264 270 C264 242 250 230 234 230 C218 230 200 242 200 270 L200 384 Z" fill="#EEF3F6"/>
4
+ <rect x="352" y="312" width="52" height="72" rx="8" fill="#4DD4E8"/>
5
+ </svg>