opencode-agent-orchestration-kit 1.0.28 → 1.0.30
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 +32 -9
- package/docker/open-design/Dockerfile +2 -2
- package/docs/compatibility.md +28 -8
- package/docs/docker-open-design.md +8 -0
- package/docs/installation.md +9 -3
- package/docs/quickstart.md +6 -3
- package/docs/releases/v1.0.29.md +78 -0
- package/docs/releases/v1.0.30.md +64 -0
- package/docs/security.md +9 -0
- package/docs/superpowers.md +11 -4
- package/docs/supply-chain.md +145 -0
- package/docs/workflows.md +15 -0
- package/opencode/docs/ai/evolution/README.md +15 -2
- package/opencode/docs/ai/evolution/benchmarks/replay-fixtures.jsonl +14 -0
- package/opencode/docs/ai/evolution/benchmarks/router-scenarios.jsonl +14 -8
- package/opencode/docs/ai/harness/checks.md +29 -2
- package/opencode/docs/ai/harness/evidence.md +29 -0
- package/opencode/opencode.json +1 -1
- package/opencode/package-lock.json +92 -95
- package/opencode/package.json +2 -1
- package/opencode/scripts/check-harness.mjs +369 -29
- package/opencode/scripts/check-harness.test.mjs +377 -14
- package/opencode/scripts/collect-session-evidence.mjs +14 -0
- package/opencode/scripts/collect-session-evidence.test.mjs +142 -6
- package/opencode/scripts/replay-routing.mjs +1012 -0
- package/opencode/scripts/replay-routing.test.mjs +1454 -0
- package/opencode/scripts/run-routing-live-replay.mjs +1180 -0
- package/opencode/scripts/run-routing-live-replay.test.mjs +1906 -0
- package/package.json +25 -3
- package/scripts/check-compatibility.mjs +65 -12
- package/scripts/check-compatibility.test.mjs +228 -32
- package/scripts/check-supply-chain.mjs +635 -0
- package/scripts/check-supply-chain.test.mjs +944 -0
- package/scripts/check.sh +9 -5
- package/scripts/install-smoke.sh +1 -1
- package/scripts/opencode-compat-smoke.sh +97 -7
- package/scripts/package-smoke.mjs +357 -0
- package/scripts/package-smoke.sh +5 -0
- package/scripts/package-smoke.test.mjs +256 -0
- package/scripts/version.test.mjs +2 -2
- package/supply-chain.json +34 -0
- package/.github/CODEOWNERS +0 -1
- package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -65
- package/.github/ISSUE_TEMPLATE/config.yml +0 -11
- package/.github/ISSUE_TEMPLATE/documentation.yml +0 -22
- package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -43
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -25
- package/.github/workflows/check.yml +0 -92
- package/.github/workflows/compatibility-canary.yml +0 -28
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import assert from "node:assert/strict";
|
|
2
|
+
import crypto from "node:crypto";
|
|
3
|
+
import fs from "node:fs";
|
|
4
|
+
import os from "node:os";
|
|
5
|
+
import path from "node:path";
|
|
6
|
+
import test from "node:test";
|
|
7
|
+
import { spawnSync } from "node:child_process";
|
|
8
|
+
import { fileURLToPath } from "node:url";
|
|
9
|
+
|
|
10
|
+
import {
|
|
11
|
+
parseChecksumFile,
|
|
12
|
+
smokeTarball,
|
|
13
|
+
validateArchiveEntries,
|
|
14
|
+
validatePackedFileSet,
|
|
15
|
+
} from "./package-smoke.mjs";
|
|
16
|
+
|
|
17
|
+
const ROOT = path.dirname(path.dirname(fileURLToPath(import.meta.url)));
|
|
18
|
+
const HASH = "a".repeat(64);
|
|
19
|
+
const BASENAME = "opencode-agent-orchestration-kit-1.0.30.tgz";
|
|
20
|
+
const REQUIRED = [
|
|
21
|
+
"package/package.json",
|
|
22
|
+
"package/supply-chain.json",
|
|
23
|
+
"package/install.sh",
|
|
24
|
+
"package/scripts/manage-installation.mjs",
|
|
25
|
+
"package/scripts/package-smoke.sh",
|
|
26
|
+
"package/scripts/package-smoke.mjs",
|
|
27
|
+
"package/opencode/opencode.json",
|
|
28
|
+
"package/opencode/package.json",
|
|
29
|
+
"package/opencode/package-lock.json",
|
|
30
|
+
"package/opencode/agents/lead.md",
|
|
31
|
+
"package/docs/installation.md",
|
|
32
|
+
"package/LICENSE",
|
|
33
|
+
"package/NOTICE.md",
|
|
34
|
+
];
|
|
35
|
+
|
|
36
|
+
test("parseChecksumFile accepts one canonical lowercase SHA-256 line", () => {
|
|
37
|
+
assert.equal(parseChecksumFile(`${HASH} ${BASENAME}\n`, BASENAME), HASH);
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
for (const [label, contents] of [
|
|
41
|
+
["malformed", `SHA256 (${BASENAME}) = ${HASH}\n`],
|
|
42
|
+
["uppercase", `${HASH.toUpperCase()} ${BASENAME}\n`],
|
|
43
|
+
["single separator", `${HASH} ${BASENAME}\n`],
|
|
44
|
+
["multiple", `${HASH} ${BASENAME}\n${HASH} other.tgz\n`],
|
|
45
|
+
["pathful", `${HASH} dist/${BASENAME}\n`],
|
|
46
|
+
]) {
|
|
47
|
+
test(`parseChecksumFile rejects ${label} checksum content`, () => {
|
|
48
|
+
assert.throws(() => parseChecksumFile(contents, BASENAME), /checksum/i);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
test("parseChecksumFile rejects a checksum for a different basename", () => {
|
|
53
|
+
assert.throws(() => parseChecksumFile(`${HASH} other.tgz\n`, BASENAME), /basename/i);
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
test("validateArchiveEntries accepts regular files and directories below package root", () => {
|
|
57
|
+
validateArchiveEntries(
|
|
58
|
+
["package/", "package/package.json"],
|
|
59
|
+
["drwxr-xr-x fixture", "-rw-r--r-- fixture"],
|
|
60
|
+
);
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
for (const [label, name] of [
|
|
64
|
+
["absolute paths", "/package/package.json"],
|
|
65
|
+
["traversal", "package/../escape"],
|
|
66
|
+
["wrong roots", "other/package.json"],
|
|
67
|
+
]) {
|
|
68
|
+
test(`validateArchiveEntries rejects ${label}`, () => {
|
|
69
|
+
assert.throws(() => validateArchiveEntries([name], ["-rw-r--r-- fixture"]), /archive/i);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
for (const [label, type] of [
|
|
74
|
+
["symbolic links", "l"],
|
|
75
|
+
["hard links", "h"],
|
|
76
|
+
["character devices", "c"],
|
|
77
|
+
["block devices", "b"],
|
|
78
|
+
]) {
|
|
79
|
+
test(`validateArchiveEntries rejects ${label}`, () => {
|
|
80
|
+
assert.throws(
|
|
81
|
+
() => validateArchiveEntries(["package/unsafe"], [`${type}rw-r--r-- fixture`]),
|
|
82
|
+
/archive entry type/i,
|
|
83
|
+
);
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
test("validateArchiveEntries rejects a name without a corresponding verbose type", () => {
|
|
88
|
+
assert.throws(
|
|
89
|
+
() => validateArchiveEntries(["package/package.json"], []),
|
|
90
|
+
/listing.*disagree/i,
|
|
91
|
+
);
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
test("validatePackedFileSet accepts representative public package files", () => {
|
|
95
|
+
validatePackedFileSet(REQUIRED);
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
test("validatePackedFileSet reports a missing required representative", () => {
|
|
99
|
+
assert.throws(
|
|
100
|
+
() => validatePackedFileSet(REQUIRED.filter((name) => name !== "package/opencode/package-lock.json")),
|
|
101
|
+
/opencode\/package-lock\.json/,
|
|
102
|
+
);
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
for (const forbidden of [
|
|
106
|
+
"package/.env",
|
|
107
|
+
"package/config/.env.production",
|
|
108
|
+
"package/npm-token.credentials",
|
|
109
|
+
"package/.git/config",
|
|
110
|
+
"package/.github/workflows/publish.yml",
|
|
111
|
+
"package/.oak/manifest.json",
|
|
112
|
+
"package/opencode/node_modules/module/index.js",
|
|
113
|
+
"package/.cache/result",
|
|
114
|
+
"package/cache/result",
|
|
115
|
+
"package/dist/release.tgz",
|
|
116
|
+
]) {
|
|
117
|
+
test(`validatePackedFileSet rejects forbidden state ${forbidden}`, () => {
|
|
118
|
+
assert.throws(() => validatePackedFileSet([...REQUIRED, forbidden]), /forbidden/i);
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
for (const ignoredMetadata of [
|
|
123
|
+
"package/.gitignore",
|
|
124
|
+
"package/nested/.gitignore",
|
|
125
|
+
"package/.npmignore",
|
|
126
|
+
"package/nested/.npmignore",
|
|
127
|
+
]) {
|
|
128
|
+
test(`validatePackedFileSet rejects ignored package metadata ${ignoredMetadata}`, () => {
|
|
129
|
+
assert.throws(() => validatePackedFileSet([...REQUIRED, ignoredMetadata]), /forbidden/i);
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
test("smokeTarball validates both archive listings before extraction", async () => {
|
|
134
|
+
const calls = [];
|
|
135
|
+
await assert.rejects(
|
|
136
|
+
smokeTarball({
|
|
137
|
+
repositoryRoot: ROOT,
|
|
138
|
+
tarball: "/public/opencode-agent-orchestration-kit-1.0.30.tgz",
|
|
139
|
+
captureTarball(_source, destination) {
|
|
140
|
+
fs.writeFileSync(destination, "fixture");
|
|
141
|
+
return { size: 1 };
|
|
142
|
+
},
|
|
143
|
+
hashFile: () => ({ sha256: HASH, sha1: "b".repeat(40), sha512: "c".repeat(128) }),
|
|
144
|
+
run(command, args) {
|
|
145
|
+
calls.push([command, ...args]);
|
|
146
|
+
if (args.includes("-tzf")) return { stdout: "package/../escape\n" };
|
|
147
|
+
if (args.includes("-tvzf")) return { stdout: "-rw-r--r-- fixture\n" };
|
|
148
|
+
throw new Error("extraction must not run");
|
|
149
|
+
},
|
|
150
|
+
}),
|
|
151
|
+
/archive/i,
|
|
152
|
+
);
|
|
153
|
+
assert.deepEqual(calls.map((call) => call.slice(0, 2)), [["tar", "-tzf"], ["tar", "-tvzf"]]);
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
test("the wrapper smokes a packed tarball and verifies checksum before extraction", { timeout: 180_000 }, () => {
|
|
157
|
+
const temp = fs.mkdtempSync(path.join(os.tmpdir(), "package-smoke-integration-"));
|
|
158
|
+
try {
|
|
159
|
+
const packed = spawnSync("npm", ["pack", "--json", "--pack-destination", temp], {
|
|
160
|
+
cwd: ROOT,
|
|
161
|
+
encoding: "utf8",
|
|
162
|
+
});
|
|
163
|
+
assert.equal(packed.status, 0, packed.stderr);
|
|
164
|
+
const entries = JSON.parse(packed.stdout);
|
|
165
|
+
assert.equal(entries.length, 1);
|
|
166
|
+
const tarball = path.join(temp, entries[0].filename);
|
|
167
|
+
|
|
168
|
+
const direct = spawnSync("bash", ["scripts/package-smoke.sh", tarball], {
|
|
169
|
+
cwd: ROOT,
|
|
170
|
+
encoding: "utf8",
|
|
171
|
+
timeout: 120_000,
|
|
172
|
+
});
|
|
173
|
+
assert.equal(direct.status, 0, direct.stderr);
|
|
174
|
+
const evidence = JSON.parse(direct.stdout);
|
|
175
|
+
assert.equal(evidence.basename, path.basename(tarball));
|
|
176
|
+
assert.match(evidence.sha256, /^[0-9a-f]{64}$/);
|
|
177
|
+
|
|
178
|
+
const checksum = path.join(temp, "SHA256SUMS");
|
|
179
|
+
fs.writeFileSync(checksum, `${evidence.sha256} ${path.basename(tarball)}\n`);
|
|
180
|
+
const verified = spawnSync("bash", ["scripts/package-smoke.sh", "--checksum", checksum, tarball], {
|
|
181
|
+
cwd: ROOT,
|
|
182
|
+
encoding: "utf8",
|
|
183
|
+
timeout: 120_000,
|
|
184
|
+
});
|
|
185
|
+
assert.equal(verified.status, 0, verified.stderr);
|
|
186
|
+
|
|
187
|
+
const corruptHash = `${evidence.sha256[0] === "0" ? "1" : "0"}${evidence.sha256.slice(1)}`;
|
|
188
|
+
fs.writeFileSync(checksum, `${corruptHash} ${path.basename(tarball)}\n`);
|
|
189
|
+
const rejected = spawnSync("bash", ["scripts/package-smoke.sh", "--checksum", checksum, tarball], {
|
|
190
|
+
cwd: ROOT,
|
|
191
|
+
encoding: "utf8",
|
|
192
|
+
timeout: 120_000,
|
|
193
|
+
});
|
|
194
|
+
assert.notEqual(rejected.status, 0);
|
|
195
|
+
assert.match(rejected.stderr, /checksum mismatch/i);
|
|
196
|
+
assert.equal(rejected.stdout, "");
|
|
197
|
+
} finally {
|
|
198
|
+
fs.rmSync(temp, { recursive: true, force: true });
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
test("smokeTarball is unaffected when the original tarball changes between validation phases", { timeout: 180_000 }, async () => {
|
|
203
|
+
const temp = fs.mkdtempSync(path.join(os.tmpdir(), "package-smoke-snapshot-test-"));
|
|
204
|
+
try {
|
|
205
|
+
const packed = spawnSync("npm", ["pack", "--json", "--pack-destination", temp], {
|
|
206
|
+
cwd: ROOT,
|
|
207
|
+
encoding: "utf8",
|
|
208
|
+
});
|
|
209
|
+
assert.equal(packed.status, 0, packed.stderr);
|
|
210
|
+
const entries = JSON.parse(packed.stdout);
|
|
211
|
+
assert.equal(entries.length, 1);
|
|
212
|
+
const tarball = path.join(temp, entries[0].filename);
|
|
213
|
+
const originalHash = crypto.createHash("sha256").update(fs.readFileSync(tarball)).digest("hex");
|
|
214
|
+
const tarInputs = [];
|
|
215
|
+
|
|
216
|
+
const evidence = await smokeTarball({
|
|
217
|
+
repositoryRoot: ROOT,
|
|
218
|
+
tarball,
|
|
219
|
+
run(command, args, options = {}) {
|
|
220
|
+
const result = spawnSync(command, args, {
|
|
221
|
+
cwd: options.cwd,
|
|
222
|
+
env: options.env,
|
|
223
|
+
encoding: "utf8",
|
|
224
|
+
maxBuffer: 16 * 1024 * 1024,
|
|
225
|
+
});
|
|
226
|
+
if (result.status !== 0) throw new Error(options.label ?? `${command} failed`);
|
|
227
|
+
if (command === "tar") {
|
|
228
|
+
tarInputs.push(args[1]);
|
|
229
|
+
if (args.includes("-tvzf")) fs.writeFileSync(tarball, "replaced after verbose listing\n");
|
|
230
|
+
}
|
|
231
|
+
return { stdout: result.stdout, stderr: result.stderr };
|
|
232
|
+
},
|
|
233
|
+
});
|
|
234
|
+
|
|
235
|
+
assert.equal(evidence.sha256, originalHash);
|
|
236
|
+
assert.notEqual(
|
|
237
|
+
crypto.createHash("sha256").update(fs.readFileSync(tarball)).digest("hex"),
|
|
238
|
+
originalHash,
|
|
239
|
+
);
|
|
240
|
+
assert.equal(tarInputs.length, 3);
|
|
241
|
+
assert.ok(tarInputs.every((input) => input !== tarball));
|
|
242
|
+
} finally {
|
|
243
|
+
fs.rmSync(temp, { recursive: true, force: true });
|
|
244
|
+
}
|
|
245
|
+
});
|
|
246
|
+
|
|
247
|
+
test("smokeTarball rejects archive listing failure without extracting", async () => {
|
|
248
|
+
const temp = fs.mkdtempSync(path.join(os.tmpdir(), "package-smoke-broken-"));
|
|
249
|
+
try {
|
|
250
|
+
const tarball = path.join(temp, BASENAME);
|
|
251
|
+
fs.writeFileSync(tarball, crypto.randomBytes(32));
|
|
252
|
+
await assert.rejects(smokeTarball({ repositoryRoot: ROOT, tarball }), /archive listing failed/i);
|
|
253
|
+
} finally {
|
|
254
|
+
fs.rmSync(temp, { recursive: true, force: true });
|
|
255
|
+
}
|
|
256
|
+
});
|
package/scripts/version.test.mjs
CHANGED
|
@@ -108,7 +108,7 @@ test("[V004] direct version entrypoints are exact and mutation-free", (t) => {
|
|
|
108
108
|
for (const args of [["scripts/version.mjs"], ["scripts/manage-installation.mjs", "--version"]]) {
|
|
109
109
|
const result = run(process.execPath, args, { HOME: home });
|
|
110
110
|
assert.equal(result.status, 0, result.stderr);
|
|
111
|
-
assert.equal(result.stdout, "opencode-agent-orchestration-kit 1.0.
|
|
111
|
+
assert.equal(result.stdout, "opencode-agent-orchestration-kit 1.0.30\n");
|
|
112
112
|
assert.equal(fs.existsSync(target), false);
|
|
113
113
|
}
|
|
114
114
|
});
|
|
@@ -117,7 +117,7 @@ test("[V005] all lifecycle wrappers expose the canonical version", () => {
|
|
|
117
117
|
for (const wrapper of ["install.sh", "upgrade.sh", "doctor.sh", "uninstall.sh", "rollback.sh"]) {
|
|
118
118
|
const result = run(path.join(REPOSITORY_ROOT, wrapper), ["--version"]);
|
|
119
119
|
assert.equal(result.status, 0, `${wrapper}: ${result.stderr}`);
|
|
120
|
-
assert.equal(result.stdout, "opencode-agent-orchestration-kit 1.0.
|
|
120
|
+
assert.equal(result.stdout, "opencode-agent-orchestration-kit 1.0.30\n", wrapper);
|
|
121
121
|
}
|
|
122
122
|
});
|
|
123
123
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"external_refs": {
|
|
4
|
+
"superpowers": {
|
|
5
|
+
"release": "v6.1.1",
|
|
6
|
+
"commit": "d884ae04edebef577e82ff7c4e143debd0bbec99"
|
|
7
|
+
},
|
|
8
|
+
"actions_checkout": {
|
|
9
|
+
"release": "v6",
|
|
10
|
+
"commit": "d23441a48e516b6c34aea4fa41551a30e30af803"
|
|
11
|
+
},
|
|
12
|
+
"actions_setup_node": {
|
|
13
|
+
"release": "v6",
|
|
14
|
+
"commit": "249970729cb0ef3589644e2896645e5dc5ba9c38"
|
|
15
|
+
},
|
|
16
|
+
"open_design": {
|
|
17
|
+
"commit": "1592beb96134f9d49b8a90dc6a359b94a69af57e"
|
|
18
|
+
},
|
|
19
|
+
"node_image": {
|
|
20
|
+
"tag": "24-bookworm-slim",
|
|
21
|
+
"digest": "sha256:6f7b03f7c2c8e2e784dcf9295400527b9b1270fd37b7e9a7285cf83b6951452d"
|
|
22
|
+
},
|
|
23
|
+
"pnpm": {
|
|
24
|
+
"version": "10.33.2"
|
|
25
|
+
},
|
|
26
|
+
"opencode_ai": {
|
|
27
|
+
"version": "1.14.31"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"npm_overrides": {
|
|
31
|
+
"@babel/core": "7.29.7",
|
|
32
|
+
"uuid": "14.0.0"
|
|
33
|
+
}
|
|
34
|
+
}
|
package/.github/CODEOWNERS
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
* @jcarlosrodicio
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
name: Bug report
|
|
2
|
-
description: Report something broken in the kit configuration, installer, docs, Docker setup, agents, commands, skills, or tools.
|
|
3
|
-
title: "[Bug]: "
|
|
4
|
-
labels: ["bug"]
|
|
5
|
-
body:
|
|
6
|
-
- type: markdown
|
|
7
|
-
attributes:
|
|
8
|
-
value: |
|
|
9
|
-
Thanks for reporting a bug. Please do not include secrets, auth files, private logs, or private product data.
|
|
10
|
-
- type: textarea
|
|
11
|
-
id: summary
|
|
12
|
-
attributes:
|
|
13
|
-
label: Summary
|
|
14
|
-
description: What is broken?
|
|
15
|
-
validations:
|
|
16
|
-
required: true
|
|
17
|
-
- type: textarea
|
|
18
|
-
id: steps
|
|
19
|
-
attributes:
|
|
20
|
-
label: Reproduction steps
|
|
21
|
-
description: List the exact steps, commands, or OpenCode prompts needed to reproduce the issue.
|
|
22
|
-
placeholder: |
|
|
23
|
-
1. Run ...
|
|
24
|
-
2. Configure ...
|
|
25
|
-
3. See ...
|
|
26
|
-
validations:
|
|
27
|
-
required: true
|
|
28
|
-
- type: textarea
|
|
29
|
-
id: expected
|
|
30
|
-
attributes:
|
|
31
|
-
label: Expected behavior
|
|
32
|
-
validations:
|
|
33
|
-
required: true
|
|
34
|
-
- type: textarea
|
|
35
|
-
id: actual
|
|
36
|
-
attributes:
|
|
37
|
-
label: Actual behavior
|
|
38
|
-
validations:
|
|
39
|
-
required: true
|
|
40
|
-
- type: dropdown
|
|
41
|
-
id: area
|
|
42
|
-
attributes:
|
|
43
|
-
label: Area
|
|
44
|
-
options:
|
|
45
|
-
- agents
|
|
46
|
-
- commands
|
|
47
|
-
- open-design skill/tool
|
|
48
|
-
- Superpowers integration
|
|
49
|
-
- Impeccable documentation
|
|
50
|
-
- Docker Open Design
|
|
51
|
-
- install/uninstall scripts
|
|
52
|
-
- documentation
|
|
53
|
-
- other
|
|
54
|
-
validations:
|
|
55
|
-
required: true
|
|
56
|
-
- type: textarea
|
|
57
|
-
id: environment
|
|
58
|
-
attributes:
|
|
59
|
-
label: Environment
|
|
60
|
-
description: OS, OpenCode version, Docker version if relevant, and any safe non-secret config details.
|
|
61
|
-
- type: textarea
|
|
62
|
-
id: logs
|
|
63
|
-
attributes:
|
|
64
|
-
label: Logs or screenshots
|
|
65
|
-
description: Paste only sanitized logs or screenshots.
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
blank_issues_enabled: true
|
|
2
|
-
contact_links:
|
|
3
|
-
- name: OpenCode
|
|
4
|
-
url: https://github.com/anomalyco/opencode
|
|
5
|
-
about: Use OpenCode upstream for runtime bugs unrelated to this kit.
|
|
6
|
-
- name: Open Design
|
|
7
|
-
url: https://github.com/nexu-io/open-design
|
|
8
|
-
about: Use Open Design upstream for workbench bugs unrelated to this integration.
|
|
9
|
-
- name: Superpowers
|
|
10
|
-
url: https://github.com/obra/superpowers
|
|
11
|
-
about: Use Superpowers upstream for plugin or skill behavior unrelated to this kit.
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
name: Documentation issue
|
|
2
|
-
description: Report unclear, missing, or incorrect documentation.
|
|
3
|
-
title: "[Docs]: "
|
|
4
|
-
labels: ["documentation"]
|
|
5
|
-
body:
|
|
6
|
-
- type: textarea
|
|
7
|
-
id: page
|
|
8
|
-
attributes:
|
|
9
|
-
label: Page or section
|
|
10
|
-
description: Which README/docs section needs work?
|
|
11
|
-
validations:
|
|
12
|
-
required: true
|
|
13
|
-
- type: textarea
|
|
14
|
-
id: issue
|
|
15
|
-
attributes:
|
|
16
|
-
label: What is unclear or missing?
|
|
17
|
-
validations:
|
|
18
|
-
required: true
|
|
19
|
-
- type: textarea
|
|
20
|
-
id: suggestion
|
|
21
|
-
attributes:
|
|
22
|
-
label: Suggested wording or fix
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
name: Feature request
|
|
2
|
-
description: Suggest a focused improvement to the kit.
|
|
3
|
-
title: "[Feature]: "
|
|
4
|
-
labels: ["enhancement"]
|
|
5
|
-
body:
|
|
6
|
-
- type: textarea
|
|
7
|
-
id: problem
|
|
8
|
-
attributes:
|
|
9
|
-
label: Problem
|
|
10
|
-
description: What developer pain or workflow gap would this solve?
|
|
11
|
-
validations:
|
|
12
|
-
required: true
|
|
13
|
-
- type: textarea
|
|
14
|
-
id: proposal
|
|
15
|
-
attributes:
|
|
16
|
-
label: Proposed solution
|
|
17
|
-
description: What should change?
|
|
18
|
-
validations:
|
|
19
|
-
required: true
|
|
20
|
-
- type: textarea
|
|
21
|
-
id: alternatives
|
|
22
|
-
attributes:
|
|
23
|
-
label: Alternatives considered
|
|
24
|
-
- type: dropdown
|
|
25
|
-
id: area
|
|
26
|
-
attributes:
|
|
27
|
-
label: Area
|
|
28
|
-
options:
|
|
29
|
-
- agents
|
|
30
|
-
- commands
|
|
31
|
-
- skills
|
|
32
|
-
- tools
|
|
33
|
-
- Docker
|
|
34
|
-
- docs
|
|
35
|
-
- AHE sidecars
|
|
36
|
-
- other
|
|
37
|
-
validations:
|
|
38
|
-
required: true
|
|
39
|
-
- type: textarea
|
|
40
|
-
id: compatibility
|
|
41
|
-
attributes:
|
|
42
|
-
label: Compatibility notes
|
|
43
|
-
description: Could this change affect existing installs, commands, or public behavior?
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
## Summary
|
|
2
|
-
|
|
3
|
-
What changed and why?
|
|
4
|
-
|
|
5
|
-
## Type of change
|
|
6
|
-
|
|
7
|
-
- [ ] Documentation
|
|
8
|
-
- [ ] Agent/command prompt
|
|
9
|
-
- [ ] Skill/tool integration
|
|
10
|
-
- [ ] Docker/Open Design setup
|
|
11
|
-
- [ ] Install/uninstall scripts
|
|
12
|
-
- [ ] Validation/checks
|
|
13
|
-
- [ ] Other
|
|
14
|
-
|
|
15
|
-
## Checklist
|
|
16
|
-
|
|
17
|
-
- [ ] I ran `npm run check`.
|
|
18
|
-
- [ ] I updated README/docs for any public behavior changes.
|
|
19
|
-
- [ ] I did not commit secrets, auth files, sessions, logs, private product docs, or local paths.
|
|
20
|
-
- [ ] I preserved the distinction between bundled local skills, upstream plugins, and optional user-installed skills.
|
|
21
|
-
- [ ] I kept normal free-form requests separate from slash-command orchestration flows.
|
|
22
|
-
|
|
23
|
-
## Notes for reviewers
|
|
24
|
-
|
|
25
|
-
Anything that deserves extra attention?
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
name: Check
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
push:
|
|
6
|
-
branches:
|
|
7
|
-
- master
|
|
8
|
-
tags:
|
|
9
|
-
- "v*"
|
|
10
|
-
|
|
11
|
-
permissions:
|
|
12
|
-
contents: read
|
|
13
|
-
|
|
14
|
-
jobs:
|
|
15
|
-
check:
|
|
16
|
-
# compatibility-blocking:start
|
|
17
|
-
strategy:
|
|
18
|
-
fail-fast: false
|
|
19
|
-
matrix:
|
|
20
|
-
include:
|
|
21
|
-
- os: ubuntu-latest
|
|
22
|
-
node: 22
|
|
23
|
-
canonical: false
|
|
24
|
-
- os: ubuntu-latest
|
|
25
|
-
node: 24
|
|
26
|
-
canonical: true
|
|
27
|
-
- os: macos-latest
|
|
28
|
-
node: 24
|
|
29
|
-
canonical: false
|
|
30
|
-
# compatibility-blocking:end
|
|
31
|
-
runs-on: ${{ matrix.os }}
|
|
32
|
-
steps:
|
|
33
|
-
- name: Checkout
|
|
34
|
-
uses: actions/checkout@v4
|
|
35
|
-
|
|
36
|
-
- name: Setup Node
|
|
37
|
-
uses: actions/setup-node@v4
|
|
38
|
-
with:
|
|
39
|
-
node-version: ${{ matrix.node }}
|
|
40
|
-
|
|
41
|
-
- name: Record runner evidence
|
|
42
|
-
run: |
|
|
43
|
-
uname -a || true
|
|
44
|
-
node --version
|
|
45
|
-
npm --version
|
|
46
|
-
node -e 'const p=require("./opencode/package.json"); console.log(JSON.stringify({arch:process.arch,platform:process.platform,plugin:p.dependencies["@opencode-ai/plugin"],opentuiCore:p.dependencies["@opentui/core"],opentuiSolid:p.dependencies["@opentui/solid"]}))'
|
|
47
|
-
|
|
48
|
-
- name: Validate release tag
|
|
49
|
-
if: matrix.canonical && startsWith(github.ref, 'refs/tags/')
|
|
50
|
-
run: node scripts/version.mjs --check-tag "$GITHUB_REF_NAME"
|
|
51
|
-
|
|
52
|
-
- name: Contract check
|
|
53
|
-
run: npm run contract-check
|
|
54
|
-
|
|
55
|
-
- name: Unit and script tests
|
|
56
|
-
run: npm run unit-and-script-tests
|
|
57
|
-
|
|
58
|
-
- name: Install OpenCode tool dependencies
|
|
59
|
-
working-directory: opencode
|
|
60
|
-
run: npm ci
|
|
61
|
-
|
|
62
|
-
- name: Audit OpenCode tool dependencies
|
|
63
|
-
if: matrix.canonical
|
|
64
|
-
run: npm run dependency-audit
|
|
65
|
-
|
|
66
|
-
- name: Typecheck TUI token plugin
|
|
67
|
-
run: npm run typecheck
|
|
68
|
-
|
|
69
|
-
- name: Installation smoke
|
|
70
|
-
run: npm run installation-smoke
|
|
71
|
-
|
|
72
|
-
# opencode-boundaries:start
|
|
73
|
-
opencode-compatibility:
|
|
74
|
-
runs-on: ubuntu-latest
|
|
75
|
-
strategy:
|
|
76
|
-
fail-fast: false
|
|
77
|
-
matrix:
|
|
78
|
-
opencode:
|
|
79
|
-
- "1.14.41"
|
|
80
|
-
- "1.18.4"
|
|
81
|
-
steps:
|
|
82
|
-
- name: Checkout
|
|
83
|
-
uses: actions/checkout@v4
|
|
84
|
-
|
|
85
|
-
- name: Setup Node
|
|
86
|
-
uses: actions/setup-node@v4
|
|
87
|
-
with:
|
|
88
|
-
node-version: 24
|
|
89
|
-
|
|
90
|
-
- name: Smoke OpenCode boundary
|
|
91
|
-
run: bash scripts/opencode-compat-smoke.sh "${{ matrix.opencode }}"
|
|
92
|
-
# opencode-boundaries:end
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
name: Compatibility Canary
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
schedule:
|
|
6
|
-
- cron: "17 6 * * 1"
|
|
7
|
-
|
|
8
|
-
permissions:
|
|
9
|
-
contents: read
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
# compatibility-canary:start
|
|
13
|
-
latest:
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
steps:
|
|
16
|
-
- name: Checkout
|
|
17
|
-
uses: actions/checkout@v4
|
|
18
|
-
with:
|
|
19
|
-
persist-credentials: false
|
|
20
|
-
|
|
21
|
-
- name: Setup Node
|
|
22
|
-
uses: actions/setup-node@v4
|
|
23
|
-
with:
|
|
24
|
-
node-version: 26
|
|
25
|
-
|
|
26
|
-
- name: Smoke latest OpenCode
|
|
27
|
-
run: bash scripts/opencode-compat-smoke.sh latest
|
|
28
|
-
# compatibility-canary:end
|