opencode-agent-orchestration-kit 1.0.28 → 1.0.29

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
@@ -273,7 +273,7 @@ You can use one model for every role or assign different models depending on cos
273
273
  ### 3. Install local plugin dependencies
274
274
 
275
275
  ```bash
276
- (cd opencode && npm install)
276
+ (cd opencode && npm ci --ignore-scripts)
277
277
  ```
278
278
 
279
279
  ### 4. Load the kit without global installation
@@ -352,9 +352,14 @@ It never authorizes directory or symlink replacement, unsafe paths, state repair
352
352
  After global installation, install the OpenCode config dependencies:
353
353
 
354
354
  ```bash
355
- (cd "${OPENCODE_CONFIG_DIR:-$HOME/.config/opencode}" && npm install)
355
+ (cd "${OPENCODE_CONFIG_DIR:-$HOME/.config/opencode}" && npm ci --ignore-scripts)
356
356
  ```
357
357
 
358
+ Use that frozen command only when the installed `package.json` and
359
+ `package-lock.json` still match the shipped manifests. If installation
360
+ preserved differing manifests, review and merge the required dependencies
361
+ first, then choose the install command for that user-owned dependency graph.
362
+
358
363
  ## Upgrade, diagnose, uninstall, and rollback
359
364
 
360
365
  Preview an ownership-safe upgrade, then apply it:
@@ -510,17 +515,18 @@ When plugins are supported and network access is available, the kit can referenc
510
515
  ```json
511
516
  {
512
517
  "plugin": [
513
- "superpowers@git+https://github.com/obra/superpowers.git"
518
+ "superpowers@git+https://github.com/obra/superpowers.git#d884ae04edebef577e82ff7c4e143debd0bbec99"
514
519
  ]
515
520
  }
516
521
  ```
517
522
 
518
- For reproducibility, pin a version:
523
+ The human-readable upstream release is `v6.1.1`; the configuration uses the
524
+ full reviewed commit because the label alone is not immutable:
519
525
 
520
526
  ```json
521
527
  {
522
528
  "plugin": [
523
- "superpowers@git+https://github.com/obra/superpowers.git#v5.0.5"
529
+ "superpowers@git+https://github.com/obra/superpowers.git#d884ae04edebef577e82ff7c4e143debd0bbec99"
524
530
  ]
525
531
  }
526
532
  ```
@@ -563,14 +569,16 @@ npm run check
563
569
  This runs the fast contract checker and every bundled `node:test` suite. For a
564
570
  fast structural check while editing documentation or contracts, use
565
571
  `npm run check:quick`. Before a release, use `npm run check:release`; it performs
566
- a clean dependency install and also runs typechecking, the dependency audit, and
567
- an installation smoke test.
572
+ a frozen dependency install and also runs typechecking, dependency integrity,
573
+ audit/signature checks, installation smoke, and the exact package smoke.
574
+ Publication remains separately authorized; follow the reviewed artifact and
575
+ checksum procedure in [the supply-chain policy](docs/supply-chain.md).
568
576
 
569
577
  Validate only the canonical identity and current release note with:
570
578
 
571
579
  ```bash
572
580
  npm run check:version
573
- node scripts/version.mjs --check-tag v1.0.28
581
+ node scripts/version.mjs --check-tag v1.0.29
574
582
  ```
575
583
 
576
584
  Tag validation compares an explicitly supplied tag with the package identity.
@@ -719,7 +727,9 @@ Restart OpenCode and verify that the Superpowers plugin entry is present in `ope
719
727
  Verify:
720
728
 
721
729
  1. `tui.json` contains the bundled plugin entry.
722
- 2. `npm install` was run in the OpenCode config directory.
730
+ 2. `npm ci --ignore-scripts` was run in the OpenCode config directory while
731
+ its shipped manifests were intact (or preserved manifests were reviewed and
732
+ merged before selecting another install command).
723
733
  3. OpenCode was restarted.
724
734
  4. The current OpenCode TUI exposes child-session information to plugins.
725
735
 
@@ -1,4 +1,4 @@
1
- FROM node:24-bookworm-slim
1
+ FROM node:24-bookworm-slim@sha256:6f7b03f7c2c8e2e784dcf9295400527b9b1270fd37b7e9a7285cf83b6951452d
2
2
 
3
3
  RUN apt-get update \
4
4
  && apt-get install -y --no-install-recommends git curl ca-certificates python3 make g++ \
@@ -17,7 +17,7 @@ WORKDIR /app/open-design
17
17
 
18
18
  RUN corepack enable \
19
19
  && corepack prepare pnpm@10.33.2 --activate \
20
- && pnpm install --frozen-lockfile=false \
20
+ && pnpm install --frozen-lockfile \
21
21
  && npm install -g "opencode-ai@$OPENCODE_AI_VERSION"
22
22
 
23
23
  # Make the daemon listen on OD_HOST when upstream exposes host/port constants.
@@ -40,6 +40,13 @@ while `supported` describes the maintained promise derived from that evidence.
40
40
  | Impeccable | experimental | optional externally installed skill |
41
41
  <!-- compatibility-matrix:end -->
42
42
 
43
+ The default-config smoke checks the exact reviewed Superpowers commit because
44
+ the starter enables it. This does not change any integration status: Open
45
+ Design, Superpowers, Impeccable, and the token plugin remain experimental. The
46
+ smaller supported core contract excludes all four. Current immutable external
47
+ identifiers and their release labels live in
48
+ [the supply-chain policy](supply-chain.md).
49
+
43
50
  ## Exact dependency pins
44
51
 
45
52
  | Dependency | Exact pin |
@@ -48,7 +55,7 @@ while `supported` describes the maintained promise derived from that evidence.
48
55
  | `@opentui/core` | `0.2.5` |
49
56
  | `@opentui/solid` | `0.2.5` |
50
57
 
51
- ## Evidence as of 2026-07-21
58
+ ## Evidence as of 2026-07-22
52
59
 
53
60
  ### Local evidence
54
61
 
@@ -60,15 +67,28 @@ not evidence that every remote runner combination passed.
60
67
  ### Blocking CI policy
61
68
 
62
69
  The release-blocking policy requires Ubuntu jobs on Node.js 22 and 24, a macOS
63
- job on Node.js 24, and core OpenCode smokes at both `1.14.41` and `1.18.4`.
64
- Those combinations remain policy statements until their remote jobs record
70
+ job on Node.js 24, core OpenCode smokes at both `1.14.41` and `1.18.4`, and a
71
+ default-config smoke at `1.18.4`. Core evidence loads the working-tree harness
72
+ from an isolated copy with its external plugin list empty and its local token
73
+ plugin absent. It therefore covers the maintained OpenCode boundary without
74
+ Superpowers, Open Design service access, Impeccable, or the token plugin.
75
+
76
+ The default-config smoke instead packs the npm artifact, extracts that local
77
+ tarball, installs its frozen dependencies, and loads the unmodified starter
78
+ configuration. It proves that the exact pinned Superpowers commit and bundled
79
+ token plugin can load at the stable boundary. This release-blocking default
80
+ check preserves the shipped starter behavior; it does not promote
81
+ Superpowers or the token plugin from `experimental` and does not extend the
82
+ core compatibility promise to either integration.
83
+
84
+ These combinations remain policy statements until their remote jobs record
65
85
  results. This document does not claim that the remote matrix has passed.
66
86
 
67
- Node.js 26 and OpenCode `latest` are non-blocking canaries. A failed canary is
68
- an early warning, not proof that the supported range has failed and not a
69
- release blocker by itself. Maintainers must inspect the failure and decide
70
- whether to fix the kit, revise this contract through review, or wait for an
71
- upstream correction.
87
+ Node.js 26 and OpenCode `latest` run in core mode as non-blocking canaries. A
88
+ failed canary is an early warning, not proof that the supported range has
89
+ failed and not a release blocker by itself. Maintainers must inspect the
90
+ failure and decide whether to fix the kit, revise this contract through review,
91
+ or wait for an upstream correction.
72
92
 
73
93
  ## Promoting a stable boundary
74
94
 
@@ -8,8 +8,10 @@ docker compose up -d --build
8
8
 
9
9
  The Docker image pins upstream build inputs by default:
10
10
 
11
+ - `node:24-bookworm-slim@sha256:6f7b03f7c2c8e2e784dcf9295400527b9b1270fd37b7e9a7285cf83b6951452d`
11
12
  - `OPEN_DESIGN_REF=1592beb96134f9d49b8a90dc6a359b94a69af57e`
12
13
  - `OPENCODE_AI_VERSION=1.14.31`
14
+ - `pnpm@10.33.2` with `pnpm install --frozen-lockfile`
13
15
 
14
16
  Update them intentionally when you want a newer Open Design or OpenCode CLI build:
15
17
 
@@ -20,6 +22,12 @@ docker compose build \
20
22
  docker compose up -d
21
23
  ```
22
24
 
25
+ Treat changes to any of these values as reviewed supply-chain updates and
26
+ follow [the per-surface checklist](supply-chain.md). The image digest,
27
+ upstream commit, tool versions, and JavaScript lockfile are fixed. Debian APT
28
+ repository state and BuildKit metadata are not fixed, so this experimental
29
+ adapter does not promise a bit-for-bit Docker rebuild.
30
+
23
31
  Authenticate OpenCode inside the container:
24
32
 
25
33
  ```bash
@@ -11,7 +11,7 @@ git clone https://github.com/<owner>/opencode-agent-orchestration-kit.git
11
11
  cd opencode-agent-orchestration-kit
12
12
  export OPENCODE_CONFIG_DIR="$PWD/opencode"
13
13
  source env.example
14
- (cd opencode && npm install)
14
+ (cd opencode && npm ci --ignore-scripts)
15
15
  opencode
16
16
  ```
17
17
 
@@ -72,7 +72,7 @@ Use these read-only checks from the repository root:
72
72
  ```bash
73
73
  node scripts/version.mjs
74
74
  npm run check:version
75
- node scripts/version.mjs --check-tag v1.0.28
75
+ node scripts/version.mjs --check-tag v1.0.29
76
76
  ```
77
77
 
78
78
  The tag check validates only the supplied value. It does not inspect the
@@ -172,9 +172,15 @@ you intentionally want the kit to own.
172
172
  ## After installation
173
173
 
174
174
  ```bash
175
- (cd "${OPENCODE_CONFIG_DIR:-$HOME/.config/opencode}" && npm install)
175
+ (cd "${OPENCODE_CONFIG_DIR:-$HOME/.config/opencode}" && npm ci --ignore-scripts)
176
176
  opencode auth login
177
177
  opencode models openai --refresh
178
178
  ```
179
179
 
180
+ Use `npm ci --ignore-scripts` only when the target's shipped `package.json` and
181
+ `package-lock.json` remain intact. If either protected manifest was preserved
182
+ because it differs, review and merge required dependencies into the user-owned
183
+ manifests before choosing an install command; the kit lockfile does not control
184
+ that target.
185
+
180
186
  If a protected `opencode.json` or `tui.json` was preserved, merge the relevant plugin entries manually and use `doctor --accept-preserved` only after reviewing the complete tuple.
@@ -5,7 +5,7 @@
5
5
  ```bash
6
6
  cp env.example .env
7
7
  source .env
8
- (cd opencode && npm install)
8
+ (cd opencode && npm ci --ignore-scripts)
9
9
  ```
10
10
 
11
11
  ## 2. Configure Open Design
@@ -67,8 +67,11 @@ npm run check
67
67
  The check validates the contracts and runs every bundled `node:test` suite. Use
68
68
  `npm run check:quick` for the contract-only path or `npm run check:release` for
69
69
  the dependency install, typecheck, audit, and installation smoke used for
70
- release readiness.
70
+ release readiness. It verifies dependency audits/signatures and smokes the
71
+ exact package artifact; it never publishes. Artifact publication and GitHub
72
+ Release upload require separate authorization and follow
73
+ [the supply-chain runbook](supply-chain.md).
71
74
 
72
75
  For an explicitly planned release tag, validate it locally with
73
- `node scripts/version.mjs --check-tag v1.0.28`. This check does not create,
76
+ `node scripts/version.mjs --check-tag v1.0.29`. This check does not create,
74
77
  push, or publish the tag or a hosted release.
@@ -0,0 +1,78 @@
1
+ # v1.0.29 - Safe lifecycle and canonical release identity
2
+
3
+ This release adds a reviewed reproducibility and supply-chain contract for the
4
+ public OpenCode orchestration kit while preserving the existing installation,
5
+ upgrade, rollback, and compatibility guarantees.
6
+
7
+ ## Highlights
8
+
9
+ - A canonical `supply-chain.json` inventory ties every active external plugin,
10
+ GitHub Action, Docker image, npm override, and tool version to an immutable
11
+ reviewed identifier.
12
+ - Automated npm installs are frozen with `npm ci --ignore-scripts`; the complete
13
+ lockfile is checked for canonical registry URLs and SHA-512 integrity, and the
14
+ release gate now requires both vulnerability and registry-signature audits.
15
+ - The publishable npm surface is explicit. A new package smoke validates
16
+ checksums, archive paths and entry types, forbidden local state, package
17
+ installation, lifecycle behavior, and SDK import before release.
18
+ - OpenCode compatibility evidence is separated into core mode without optional
19
+ integrations and default mode using the exact packed starter configuration.
20
+ - Blocking CI uses immutable Action commits and runs signature and package
21
+ verification on the canonical Ubuntu/Node.js 24 lane without publishing or
22
+ granting write permissions.
23
+ - The public supply-chain runbook documents reviewed pin updates and requires
24
+ publishing the exact tarball that passed checksum and package smoke checks.
25
+
26
+ ## Installation or upgrade
27
+
28
+ For a new installation, preview the complete ownership plan before applying it:
29
+
30
+ ```bash
31
+ ./install.sh --dry-run
32
+ ./install.sh
33
+ ```
34
+
35
+ For an existing manifest-owned installation, preview and apply the upgrade:
36
+
37
+ ```bash
38
+ ./upgrade.sh --dry-run
39
+ ./upgrade.sh
40
+ ./doctor.sh
41
+ ```
42
+
43
+ The supported runtime contract remains Node.js `^22.9.0 || ^24.0.0` with
44
+ OpenCode `>=1.14.41 <2.0.0`. See `docs/compatibility.md` for the complete
45
+ evidence and status matrix.
46
+
47
+ ## Migration
48
+
49
+ No ownership-manifest or configuration migration is required. Existing
50
+ manifest-owned installations retain their current lifecycle semantics and can
51
+ follow the normal version-aware upgrade path.
52
+
53
+ Operators preserving a locally modified managed file should continue to review
54
+ the dry-run merge state before acknowledging or applying an upgrade.
55
+
56
+ ## Validation performed
57
+
58
+ Release readiness was validated with 612 bundled tests, the version,
59
+ compatibility, and supply-chain contracts, TypeScript typechecking, zero known
60
+ dependency vulnerabilities at the configured low threshold, 128 verified
61
+ registry signatures, 29 verified attestations, installation smoke, and the
62
+ exact npm package smoke.
63
+
64
+ Core compatibility smokes pass against OpenCode 1.14.41 and 1.18.4. The default
65
+ packed configuration smoke passes against OpenCode 1.18.4. The moving
66
+ OpenCode-latest canary remains separate and non-blocking.
67
+
68
+ The Docker adapter uses an immutable Node image digest, but Debian APT metadata
69
+ and BuildKit frontend behavior remain documented external reproducibility
70
+ limits.
71
+
72
+ ## Public safety boundary
73
+
74
+ The public release excludes private OpenCode configuration, local provider and
75
+ MCP wiring, credentials, authentication files, raw transcripts, private
76
+ evidence, user-specific absolute paths, machine-local state, and internal Slice
77
+ 1.5 planning artifacts. In particular, the local SearXNG research integration
78
+ is not part of this release.
package/docs/security.md CHANGED
@@ -6,3 +6,12 @@
6
6
  - Open Design can execute agent CLIs and write files in project workspaces.
7
7
  - Prefer localhost, LAN, VPN, Tailscale, WireGuard, or authenticated HTTPS reverse proxy.
8
8
  - Review generated files before copying them into application code.
9
+ - Keep shipped npm manifests together and use `npm ci --ignore-scripts` for
10
+ automated installs. Review every lockfile `resolved` URL, integrity change,
11
+ lifecycle script, and non-registry dependency when updating it.
12
+ - Run the low-threshold dependency audit and `npm audit signatures` before a
13
+ release. A registry or network failure blocks that release attempt.
14
+ - Publish only the exact package-smoked tarball after verifying its canonical
15
+ SHA-256 checksum. Checks never publish; npm publication and GitHub Release
16
+ upload each require separate explicit authorization. See
17
+ [the supply-chain policy](supply-chain.md).
@@ -6,11 +6,14 @@ The starter config references it through the upstream OpenCode plugin:
6
6
 
7
7
  ```json
8
8
  {
9
- "plugin": ["superpowers@git+https://github.com/obra/superpowers.git"]
9
+ "plugin": ["superpowers@git+https://github.com/obra/superpowers.git#d884ae04edebef577e82ff7c4e143debd0bbec99"]
10
10
  }
11
11
  ```
12
12
 
13
- When OpenCode starts, the plugin is resolved from upstream if plugin support and network access are available. If you keep an existing `opencode.json`, you must add the plugin entry yourself.
13
+ The commit is the immutable identifier reviewed for upstream release `v6.1.1`.
14
+ When OpenCode starts, the plugin is resolved from upstream if plugin support
15
+ and network access are available. If you keep an existing `opencode.json`, you
16
+ must add this exact plugin entry yourself.
14
17
 
15
18
  It provides workflow skills for:
16
19
 
@@ -25,10 +28,14 @@ It provides workflow skills for:
25
28
 
26
29
  The kit uses Superpowers as discipline for the orchestrator, developer, and reviewer. It is not used by `designer`, which is intentionally restricted to `open-design` and `impeccable`.
27
30
 
28
- To pin a version:
31
+ Do not replace the commit with a tag-only reference. Updates follow the
32
+ [reviewed supply-chain checklist](supply-chain.md):
29
33
 
30
34
  ```json
31
35
  {
32
- "plugin": ["superpowers@git+https://github.com/obra/superpowers.git#v5.0.5"]
36
+ "plugin": ["superpowers@git+https://github.com/obra/superpowers.git#d884ae04edebef577e82ff7c4e143debd0bbec99"]
33
37
  }
34
38
  ```
39
+
40
+ Superpowers remains experimental. The default-config smoke proves this exact
41
+ starter pin loads, while the supported core smoke runs without it.
@@ -0,0 +1,145 @@
1
+ # Supply-chain policy
2
+
3
+ `supply-chain.json` is the machine-readable source of truth for reviewed
4
+ external inputs used by the shipped kit. A release label helps a reviewer find
5
+ the upstream change; only the full commit, digest, or exact package version is
6
+ the immutable identifier consumed by the repository.
7
+
8
+ <!-- supply-chain-pins:start -->
9
+ | Surface | Reviewed label | Immutable identifier |
10
+ |---|---|---|
11
+ | Superpowers | v6.1.1 | `d884ae04edebef577e82ff7c4e143debd0bbec99` |
12
+ | actions/checkout | v6 | `d23441a48e516b6c34aea4fa41551a30e30af803` |
13
+ | actions/setup-node | v6 | `249970729cb0ef3589644e2896645e5dc5ba9c38` |
14
+ | Open Design | reviewed commit | `1592beb96134f9d49b8a90dc6a359b94a69af57e` |
15
+ | Node image | 24-bookworm-slim | `sha256:6f7b03f7c2c8e2e784dcf9295400527b9b1270fd37b7e9a7285cf83b6951452d` |
16
+ | pnpm | 10.33.2 | exact version |
17
+ | opencode-ai | 1.14.31 | exact version |
18
+ | @babel/core override | 7.29.7 | exact version |
19
+ | uuid override | 14.0.0 | exact version |
20
+ <!-- supply-chain-pins:end -->
21
+
22
+ ## npm install and review contract
23
+
24
+ The committed `opencode/package-lock.json` carries the registry URL and
25
+ SHA-512 integrity for every installed package. Automated installs with intact
26
+ shipped manifests use `npm ci --ignore-scripts`; release readiness also runs
27
+ the low-threshold production audit and `npm audit signatures`. A lifecycle
28
+ script exception requires a named dependency, a documented reason, and a
29
+ focused test. There is currently no exception.
30
+
31
+ The exact overrides exist for reviewable reasons: `@babel/core` 7.29.7 removes
32
+ the audited low-severity findings without an incompatible downgrade, and
33
+ `uuid` 14.0.0 preserves the already tested lockfile resolution. Change an
34
+ override and regenerate the lockfile in the same reviewed diff. Review every
35
+ changed version, `resolved` URL, integrity value, lifecycle script, and Git or
36
+ non-registry dependency.
37
+
38
+ If installation preserves a target's differing `package.json` or
39
+ `package-lock.json`, the kit lockfile does not control that target. Review and
40
+ merge the required dependencies into the preserved manifests before choosing
41
+ an install command; do not blindly run the kit's frozen-install command there.
42
+
43
+ ## Contract boundary and limitations
44
+
45
+ The release-blocking core smoke removes external plugins and the local token
46
+ plugin and runs without the Open Design service or Impeccable. The separate
47
+ default-config smoke proves that the packed starter configuration loads with
48
+ the reviewed Superpowers commit. Superpowers, Open Design, Impeccable, and the
49
+ token plugin remain experimental; default smoke evidence does not promote
50
+ them into the supported core contract.
51
+
52
+ The Open Design image fixes the Node image digest, Open Design commit, pnpm
53
+ version, JavaScript lockfile, and OpenCode CLI version. It does not guarantee a
54
+ bit-for-bit Docker rebuild: Debian APT repository state and BuildKit metadata
55
+ remain outside this slice's reproducibility boundary.
56
+
57
+ ## Reviewed update checklists
58
+
59
+ Every update records the old and new release label and immutable identifier,
60
+ the upstream source used to resolve it, relevant release notes or advisory,
61
+ the files changed, focused smoke results, the complete
62
+ `npm run check:release` result, and any compatibility-matrix implication. No
63
+ normal check fetches or rewrites a pin.
64
+
65
+ For each surface, also record:
66
+
67
+ - Superpowers: tag and peeled commit evidence; update starter config and every
68
+ active copy-paste example; run core and default smokes.
69
+ - `actions/checkout`: the full commit behind the reviewed release; update all
70
+ blocking and canary uses while retaining the release comment.
71
+ - `actions/setup-node`: the full commit behind the reviewed release; update all
72
+ blocking and canary uses while retaining the release comment.
73
+ - Open Design: source commit evidence, frozen pnpm installation, and Docker
74
+ smoke evidence.
75
+ - Node image: multi-platform digest resolution and architecture inspection.
76
+ - pnpm: exact-version release evidence and successful frozen upstream lockfile
77
+ installation.
78
+ - `opencode-ai`: exact-version release evidence and a successful container
79
+ build/load smoke.
80
+ - `@babel/core` override: advisory rationale, manifest/lockfile diff, low audit,
81
+ signature audit, import, and typecheck evidence.
82
+ - `uuid` override: compatibility rationale, manifest/lockfile diff, signature
83
+ audit, import, and typecheck evidence.
84
+
85
+ Run installation, core/default, and package smokes wherever a changed surface
86
+ can affect them.
87
+
88
+ ## Separately authorized release procedure
89
+
90
+ Publication is never performed by checks and requires separate explicit authorization.
91
+ Run the following only after the reviewed implementation is merged and release
92
+ publication has been authorized:
93
+
94
+ ```bash
95
+ npm run check:release
96
+ VERSION="$(node -p "require('./package.json').version")"
97
+ mkdir -p dist
98
+ npm pack --pack-destination dist
99
+ node -e 'const fs=require("node:fs"),crypto=require("node:crypto"),path=require("node:path");const f=process.argv[1];process.stdout.write(`${crypto.createHash("sha256").update(fs.readFileSync(f)).digest("hex")} ${path.basename(f)}\n`)' "dist/opencode-agent-orchestration-kit-${VERSION}.tgz" > dist/SHA256SUMS
100
+ bash scripts/package-smoke.sh --checksum dist/SHA256SUMS "dist/opencode-agent-orchestration-kit-${VERSION}.tgz"
101
+ git diff --check
102
+ test -z "$(git status --porcelain)"
103
+ TAG="$(git describe --tags --exact-match)"
104
+ node scripts/version.mjs --check-tag "$TAG"
105
+ npm publish "dist/opencode-agent-orchestration-kit-${VERSION}.tgz"
106
+ ```
107
+
108
+ The Node checksum command is canonical on macOS and Linux; neither `shasum`
109
+ nor `sha256sum` is required. `dist/` is ignored, so its artifacts do not make
110
+ the tracked checkout dirty. The clean-state check still rejects tracked or
111
+ untracked non-ignored drift. Tag/version identity is checked immediately after
112
+ artifact smoke and immediately before publishing the exact tested tarball.
113
+
114
+ `SHA256SUMS` contains exactly one line in this format, using the tarball
115
+ basename rather than an absolute path:
116
+
117
+ ```text
118
+ <64 lowercase hexadecimal characters> opencode-agent-orchestration-kit-<version>.tgz
119
+ ```
120
+
121
+ After npm publication, compare the local tarball's SHA-1 and SHA-512 values
122
+ with npm using read-only registry queries. Any mismatch stops the release:
123
+
124
+ ```bash
125
+ TARBALL="dist/opencode-agent-orchestration-kit-${VERSION}.tgz"
126
+ LOCAL_SHA1="$(node -e 'const fs=require("node:fs"),crypto=require("node:crypto");process.stdout.write(crypto.createHash("sha1").update(fs.readFileSync(process.argv[1])).digest("hex"))' "$TARBALL")"
127
+ NPM_SHA1="$(npm view "opencode-agent-orchestration-kit@$VERSION" dist.shasum)"
128
+ test "$LOCAL_SHA1" = "$NPM_SHA1"
129
+ LOCAL_SHA512="$(node -e 'const fs=require("node:fs"),crypto=require("node:crypto");process.stdout.write(`sha512-${crypto.createHash("sha512").update(fs.readFileSync(process.argv[1])).digest("base64")}`)' "$TARBALL")"
130
+ NPM_SHA512="$(npm view "opencode-agent-orchestration-kit@$VERSION" dist.integrity)"
131
+ test "$LOCAL_SHA512" = "$NPM_SHA512"
132
+ ```
133
+
134
+ Uploading the same tarball and `SHA256SUMS` with the exact command below is
135
+ another remote mutation and therefore needs its own separate authorization:
136
+
137
+ ```bash
138
+ gh release upload "$TAG" \
139
+ "dist/opencode-agent-orchestration-kit-${VERSION}.tgz" \
140
+ dist/SHA256SUMS
141
+ ```
142
+
143
+ Do not replace or delete an existing remote asset automatically. A version
144
+ conflict, checksum mismatch, tag mismatch, dirty tracked tree, audit failure,
145
+ or package-smoke failure stops publication.
package/docs/workflows.md CHANGED
@@ -36,6 +36,21 @@ Designer reads product/design docs, optionally uses Impeccable, then creates or
36
36
 
37
37
  Only for improving the harness itself.
38
38
 
39
+ ## Core and default release evidence
40
+
41
+ The release-blocking core smoke loads an isolated configuration without
42
+ Superpowers, the token plugin, an Open Design service, or Impeccable at both
43
+ supported OpenCode boundaries. A separate default-config smoke loads the
44
+ packed starter at the stable boundary with the full reviewed Superpowers
45
+ commit. The latter proves the default can load; it does not make optional
46
+ integrations part of the supported core contract or promote them from
47
+ experimental.
48
+
49
+ Release readiness prepares and checks the package artifact but does not
50
+ publish it. Exact checksum, publication, and post-publication verification
51
+ steps are in [the supply-chain runbook](supply-chain.md), and every remote
52
+ mutation requires separate authorization.
53
+
39
54
  Harness-evolution evidence is classified in `opencode/docs/ai/harness/evidence.md`:
40
55
 
41
56
  - `static_contract`: file and contract inspection.
@@ -3,7 +3,7 @@
3
3
  "model": "{env:OPENCODE_MODEL}",
4
4
  "small_model": "{env:OPENCODE_SMALL_MODEL}",
5
5
  "default_agent": "lead",
6
- "plugin": ["superpowers@git+https://github.com/obra/superpowers.git"],
6
+ "plugin": ["superpowers@git+https://github.com/obra/superpowers.git#d884ae04edebef577e82ff7c4e143debd0bbec99"],
7
7
  "share": "disabled",
8
8
  "compaction": {
9
9
  "auto": true,