oc-harness-setup 0.4.3 → 0.4.5

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
@@ -1,18 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.4.5] - 2026-10-23
4
+
5
+ - npm front door split into a short `README.md`; full documentation moved to `docs/GUIDE.md`; no functional change.
6
+
7
+ ## [0.4.4] - 2026-10-22
8
+
9
+ - Version bump for the monorepo release; no runtime change.
10
+
3
11
  All notable changes to this project will be documented in this file.
4
12
 
5
13
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
14
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
15
 
8
- ## [Unreleased]
16
+ ## [0.4.3] - 2026-10-20
9
17
 
10
18
  ### Changed
11
19
 
12
20
  - README uses the house centered header, public “agents” wording, and Releases/Issues links; no shipped behavior change.
13
21
 
14
- ## [0.4.3] - 2026-10-20
15
-
16
22
  ### Fixed
17
23
 
18
24
  - Fresh installs from the registry no longer fail the doctor: npm renames a
package/README.md CHANGED
@@ -1,5 +1,6 @@
1
- <h1 align="center">oc-harness-setup</h1>
2
- <p align="center"><strong>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.</strong></p>
1
+ # oc-harness-setup
2
+
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.
3
4
 
4
5
  ## Install
5
6
 
@@ -7,73 +8,23 @@
7
8
  npx --yes oc-harness-setup setup
8
9
  ```
9
10
 
10
- First run prints a manifest of everything it will touch and waits for you to type `y`. It then lays the agents, commands, skills, references, doctor gate, and merged base config into your OpenCode config dir, seeds your `state/` dir, and ends on the harness doctor gate.
11
-
12
- ## Why this starter
13
-
14
- - Small on purpose: 9 agents, 6 skills, 12 on-demand references; the primary loads one, the rest wait for a trigger.
15
- - A loop that closes: goal -> worker -> verifier -> historian -> cleaner -> close; no self-verdicts.
16
- - Research that cites: researcher + search + canon; claims arrive sourced or `UNVERIFIED`.
17
- - Memory that survives: historian writes session state; `state/` is seeded and preserved on upgrade.
18
- - Cleanup that ships: cleaner removes this session's scratch; hygiene proves the tree clean.
19
- - Grows with you: `evolve` turns a repeated workflow, a user request, or an upstream feature into a skill, command, reference, seat, or config change — 1:1 and doctor-checked.
20
- - Reversible and fail-closed: manifest first, SHA-256 journal, uninstall restores originals, hard denies last.
21
-
22
- ## What you get
23
-
24
- - 9 agents with bounded reach: one coordinator, one verdict, and seven specialists that each own exactly one surface.
25
- - 6 skills behind 6 commands: close, evolve, fast, goal, search, and swarm.
26
- - 12 on-demand references behind a single index; load only the file a rule names.
27
- - 18-law doctor gate: every setup run ends on it, and failures name the check and the fix.
28
- - Consent-first install: the full manifest prints before anything moves, and `--dry-run` changes nothing.
29
- - Your settings and state survive: your model, provider, and keys are preserved while the pack owns runtime policy, and your state dir survives upgrades untouched.
30
- - No plugin, no model pins, no credentials.
31
-
32
- ## Commands
33
-
34
- ```bash
35
- npx --yes oc-harness-setup setup # full install (default when you pass no args)
36
- npx --yes oc-harness-setup setup --dry-run # print the manifest, touch nothing
37
- npx --yes oc-harness-setup setup --ci # print-only, refuse to mutate
38
- npx --yes oc-harness-setup setup --uninstall # remove exactly the manifest-listed files
39
- npx --yes oc-harness-setup --help # print usage
40
- ```
41
-
42
- Set `OPENCODE_CONFIG_DIR` to override the config dir when the OpenCode CLI cannot report a path; otherwise setup uses the path from the CLI first, then the platform default under your config home. Restart OpenCode after install so the new agents, commands, and skills load.
43
-
44
- ## Safe upgrade
45
-
46
- - Your `opencode.jsonc` settings, providers, MCP servers, plugins, and state survive.
47
- - `default_agent` stays `orchestrator`, so an existing 0.3.x config keeps resolving.
48
- - Unmodified 0.3.x agents, commands, skills, references, and scripts are retired.
49
- - Files you edited are archived under `state/archive/legacy-0.3.x/` instead of deleted, and reported.
50
- - Stale `skill` allow entries for retired skills are pruned; custom skills are left alone.
51
- - `setup --dry-run` previews it; `--uninstall` restores the pre-upgrade snapshot.
11
+ First run prints a manifest of everything it will touch and waits for you to type `y`. It then lays the agents, commands, skills, references, doctor gate, and merged base config into your OpenCode config dir, seeds your state dir, and ends on the harness doctor gate. `setup --dry-run` prints the same manifest and touches nothing.
52
12
 
53
- ## Grow it
13
+ ## What it does
54
14
 
55
- This starter grows through `evolve`: the smallest deliberate extension — one skill, command, reference, seat, or config change at a time, always 1:1 and doctor-checked. Repeat something twice, and `evolve` is how it earns a place.
15
+ - Lays down a working OpenCode setup: 9 agents, 6 skills, and 12 on-demand references.
16
+ - Closes the loop: goal, worker, verifier, historian, cleaner, close, with no self-verdicts.
17
+ - Researches before it claims: a finding arrives sourced or marked unverified.
18
+ - Keeps your model, provider, keys, and state across upgrades, and reverses cleanly on uninstall.
19
+ - Grows with you: one skill, command, reference, seat, or config change at a time.
56
20
 
57
21
  ## Requirements
58
22
 
59
- - Windows 10/11 only; macOS and Linux are not supported.
60
- - Node.js 22 or newer, the only runtime requirement with zero runtime dependencies.
61
- - OpenCode CLI installed and runnable; setup refuses without it.
62
- - PowerShell 7 for the doctor gate; without it the doctor reports skipped, never passed.
23
+ Windows 10/11 only, with Node.js 22 or newer plus the OpenCode CLI installed and runnable.
63
24
 
64
- ## Links
25
+ ## Full documentation
65
26
 
66
- - [Source](https://github.com/nathwn12/oc-harness-setup)
67
- - [Published package](https://www.npmjs.com/package/oc-harness-setup)
68
- - [Changelog](https://github.com/nathwn12/oc-harness-setup/blob/main/CHANGELOG.md)
69
- - [Releases](https://github.com/nathwn12/oc-harness-setup/releases/latest)
70
- - [Issues](https://github.com/nathwn12/oc-harness-setup/issues)
71
- - [License](LICENSE)
27
+ - Guide: <https://github.com/nathwn12/oc-collections/blob/main/packages/oc-harness-setup/docs/GUIDE.md>
28
+ - Package: <https://www.npmjs.com/package/oc-harness-setup>
72
29
 
73
- <!-- nathwn12 house footer: identical in every repo. Do not edit. -->
74
- <p align="center">
75
- <a href="https://github.com/nathwn12"><img src="assets/signature.svg" width="96" alt="nathwn12" /></a>
76
- </p>
77
- <p align="center">
78
- <sub>Built by <a href="https://github.com/nathwn12">nathwn12</a> · <a href="https://github.com/nathwn12?tab=repositories">All projects</a></sub>
79
- </p>
30
+ The guide covers the full command list, the safe upgrade path, what the doctor gate checks, and how `evolve` grows the setup. It also links the changelog, the licence, and the issue tracker.
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
2
+ <rect x="16" y="16" width="480" height="480" rx="112" fill="#12102A"/>
3
+ <path d="M160,152 H240 V200 H208 V312 H240 V360 H160 Z" fill="#A78BFA"/>
4
+ <path d="M352,152 H272 V200 H304 V312 H272 V360 H352 Z" fill="#A78BFA"/>
5
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
2
+ <style>html,body{margin:0;padding:0}svg{display:block;width:100vw;height:100vh}</style>
3
+ <!-- Direction A: "cursor-n" — rounded lowercase n + terminal block cursor, near-black ground -->
4
+ <rect x="16" y="16" width="480" height="480" rx="112" fill="#0B0F14"/>
5
+ <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"/>
6
+ <rect x="352" y="312" width="52" height="72" rx="8" fill="#4DD4E8"/>
7
+ </svg>
package/docs/GUIDE.md ADDED
@@ -0,0 +1,79 @@
1
+ <h1 align="center">oc-harness-setup</h1>
2
+ <p align="center"><strong>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.</strong></p>
3
+
4
+ ## Install
5
+
6
+ ```bash
7
+ npx --yes oc-harness-setup setup
8
+ ```
9
+
10
+ First run prints a manifest of everything it will touch and waits for you to type `y`. It then lays the agents, commands, skills, references, doctor gate, and merged base config into your OpenCode config dir, seeds your `state/` dir, and ends on the harness doctor gate.
11
+
12
+ ## Why this starter
13
+
14
+ - Small on purpose: 9 agents, 6 skills, 12 on-demand references; the primary loads one, the rest wait for a trigger.
15
+ - A loop that closes: goal -> worker -> verifier -> historian -> cleaner -> close; no self-verdicts.
16
+ - Research that cites: researcher + search + canon; claims arrive sourced or `UNVERIFIED`.
17
+ - Memory that survives: historian writes session state; `state/` is seeded and preserved on upgrade.
18
+ - Cleanup that ships: cleaner removes this session's scratch; hygiene proves the tree clean.
19
+ - Grows with you: `evolve` turns a repeated workflow, a user request, or an upstream feature into a skill, command, reference, seat, or config change — 1:1 and doctor-checked.
20
+ - Reversible and fail-closed: manifest first, SHA-256 journal, uninstall restores originals, hard denies last.
21
+
22
+ ## What you get
23
+
24
+ - 9 agents with bounded reach: one coordinator, one verdict, and seven specialists that each own exactly one surface.
25
+ - 6 skills behind 6 commands: close, evolve, fast, goal, search, and swarm.
26
+ - 12 on-demand references behind a single index; load only the file a rule names.
27
+ - 18-law doctor gate: every setup run ends on it, and failures name the check and the fix.
28
+ - Consent-first install: the full manifest prints before anything moves, and `--dry-run` changes nothing.
29
+ - Your settings and state survive: your model, provider, and keys are preserved while the pack owns runtime policy, and your state dir survives upgrades untouched.
30
+ - No plugin, no model pins, no credentials.
31
+
32
+ ## Commands
33
+
34
+ ```bash
35
+ npx --yes oc-harness-setup setup # full install (default when you pass no args)
36
+ npx --yes oc-harness-setup setup --dry-run # print the manifest, touch nothing
37
+ npx --yes oc-harness-setup setup --ci # print-only, refuse to mutate
38
+ npx --yes oc-harness-setup setup --uninstall # remove exactly the manifest-listed files
39
+ npx --yes oc-harness-setup --help # print usage
40
+ ```
41
+
42
+ Set `OPENCODE_CONFIG_DIR` to override the config dir when the OpenCode CLI cannot report a path; otherwise setup uses the path from the CLI first, then the platform default under your config home. Restart OpenCode after install so the new agents, commands, and skills load.
43
+
44
+ ## Safe upgrade
45
+
46
+ - Your `opencode.jsonc` settings, providers, MCP servers, plugins, and state survive.
47
+ - `default_agent` stays `orchestrator`, so an existing 0.3.x config keeps resolving.
48
+ - Unmodified 0.3.x agents, commands, skills, references, and scripts are retired.
49
+ - Files you edited are archived under `state/archive/legacy-0.3.x/` instead of deleted, and reported.
50
+ - Stale `skill` allow entries for retired skills are pruned; custom skills are left alone.
51
+ - `setup --dry-run` previews it; `--uninstall` restores the pre-upgrade snapshot.
52
+
53
+ ## Grow it
54
+
55
+ This starter grows through `evolve`: the smallest deliberate extension — one skill, command, reference, seat, or config change at a time, always 1:1 and doctor-checked. Repeat something twice, and `evolve` is how it earns a place.
56
+
57
+ ## Requirements
58
+
59
+ - Windows 10/11 only; macOS and Linux are not supported.
60
+ - Node.js 22 or newer, the only runtime requirement with zero runtime dependencies.
61
+ - OpenCode CLI installed and runnable; setup refuses without it.
62
+ - PowerShell 7 for the doctor gate; without it the doctor reports skipped, never passed.
63
+
64
+ ## Links
65
+
66
+ - Source: [nathwn12/oc-collections](https://github.com/nathwn12/oc-collections/tree/main/packages/oc-harness-setup) — the npm package remains individually installable.
67
+ - [Published package](https://www.npmjs.com/package/oc-harness-setup)
68
+ - [Changelog](../CHANGELOG.md)
69
+ - [Releases](https://github.com/nathwn12/oc-collections/releases)
70
+ - [Issues](https://github.com/nathwn12/oc-collections/issues)
71
+ - [License](../LICENSE)
72
+
73
+ <!-- nathwn12 house footer: identical in every repo. Do not edit. -->
74
+ <p align="center">
75
+ <a href="https://github.com/nathwn12"><img src="../assets/signature.svg" width="96" alt="nathwn12" /></a>
76
+ </p>
77
+ <p align="center">
78
+ <sub>Built by <a href="https://github.com/nathwn12">nathwn12</a> · <a href="https://github.com/nathwn12?tab=repositories">All projects</a></sub>
79
+ </p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oc-harness-setup",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "oc-harness-setup": "bin/cli.js"
@@ -20,7 +20,9 @@
20
20
  "gitignore.template",
21
21
  "opencode.jsonc",
22
22
  "README.md",
23
- "LICENSE"
23
+ "LICENSE",
24
+ "assets",
25
+ "docs/GUIDE.md"
24
26
  ],
25
27
  "engines": {
26
28
  "node": ">=22"
@@ -37,7 +39,8 @@
37
39
  "author": "nathwn12",
38
40
  "repository": {
39
41
  "type": "git",
40
- "url": "git+https://github.com/nathwn12/oc-harness-setup.git"
42
+ "url": "git+https://github.com/nathwn12/oc-collections.git",
43
+ "directory": "packages/oc-harness-setup"
41
44
  },
42
45
  "description": "A general OpenCode starter for Windows: 9 agents on a dispatch loop, 6 skills, fresh-verdict research, state memory, cleanup crew, and self-extension tooling - installed by one explicit command.",
43
46
  "keywords": [
@@ -51,5 +54,7 @@
51
54
  "self-extension",
52
55
  "starter",
53
56
  "oc-harness-setup"
54
- ]
57
+ ],
58
+ "bugs": "https://github.com/nathwn12/oc-collections/issues",
59
+ "homepage": "https://github.com/nathwn12/oc-collections/tree/main/packages/oc-harness-setup"
55
60
  }