opencode-agent-orchestration-kit 1.0.27 → 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 +27 -14
- package/compatibility.json +19 -0
- package/docker/open-design/Dockerfile +2 -2
- package/docs/compatibility.md +104 -0
- package/docs/docker-open-design.md +8 -0
- package/docs/installation.md +13 -3
- package/docs/quickstart.md +6 -3
- package/docs/releases/v1.0.28.md +71 -0
- package/docs/releases/v1.0.29.md +78 -0
- package/docs/security.md +9 -0
- package/docs/superpowers/plans/2026-07-21-compatibility-matrix.md +1286 -0
- package/docs/superpowers/specs/2026-07-21-compatibility-matrix-design.md +452 -0
- package/docs/superpowers.md +11 -4
- package/docs/supply-chain.md +145 -0
- package/docs/workflows.md +15 -0
- package/opencode/opencode.json +1 -1
- package/opencode/package-lock.json +96 -96
- package/opencode/package.json +5 -1
- package/package.json +29 -3
- package/scripts/check-compatibility.mjs +676 -0
- package/scripts/check-compatibility.test.mjs +1467 -0
- package/scripts/check-supply-chain.mjs +635 -0
- package/scripts/check-supply-chain.test.mjs +944 -0
- package/scripts/check.sh +15 -5
- package/scripts/install-smoke.sh +1 -1
- package/scripts/opencode-compat-smoke.sh +264 -0
- 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.mjs +18 -5
- package/scripts/version.test.mjs +53 -3
- 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 -47
|
@@ -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.29.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.29.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.mjs
CHANGED
|
@@ -98,6 +98,18 @@ function isDeclaredNonKitVersion(relative, line) {
|
|
|
98
98
|
|| /opencode\/package\.json must (?:pin|override)/.test(line));
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
+
function excludeOpenCodeBoundarySection(relative, contents) {
|
|
102
|
+
if (relative !== ".github/workflows/check.yml") return contents;
|
|
103
|
+
const start = "# opencode-boundaries:start";
|
|
104
|
+
const end = "# opencode-boundaries:end";
|
|
105
|
+
const startCount = contents.split(start).length - 1;
|
|
106
|
+
const endCount = contents.split(end).length - 1;
|
|
107
|
+
const startIndex = contents.indexOf(start);
|
|
108
|
+
const endIndex = contents.indexOf(end);
|
|
109
|
+
if (startCount !== 1 || endCount !== 1 || endIndex <= startIndex) return contents;
|
|
110
|
+
return `${contents.slice(0, startIndex)}${contents.slice(endIndex + end.length)}`;
|
|
111
|
+
}
|
|
112
|
+
|
|
101
113
|
export function checkVersionContract(options = {}) {
|
|
102
114
|
const repositoryRoot = options.repositoryRoot;
|
|
103
115
|
const fsOps = options.fsOps ?? fs;
|
|
@@ -122,11 +134,12 @@ export function checkVersionContract(options = {}) {
|
|
|
122
134
|
|
|
123
135
|
for (const relative of OPERATIONAL_VERSION_SURFACES) {
|
|
124
136
|
const contents = readRegularFile(path.join(repositoryRoot, relative), relative, fsOps);
|
|
125
|
-
const competing = contents
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
137
|
+
const competing = excludeOpenCodeBoundarySection(relative, contents)
|
|
138
|
+
.split(/\r?\n/).flatMap((line) => (
|
|
139
|
+
isDeclaredNonKitVersion(relative, line)
|
|
140
|
+
? []
|
|
141
|
+
: [...line.matchAll(CONCRETE_STABLE_VERSION)].map((match) => match[0])
|
|
142
|
+
));
|
|
130
143
|
if (competing.length > 0) {
|
|
131
144
|
throw invalid(`${relative} contains a competing stable version declaration`);
|
|
132
145
|
}
|
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.29\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.29\n", wrapper);
|
|
121
121
|
}
|
|
122
122
|
});
|
|
123
123
|
|
|
@@ -191,5 +191,55 @@ test("[V011] workflow remains non-publishing and scenario IDs are unique", () =>
|
|
|
191
191
|
.map((relative) => fs.readFileSync(path.join(REPOSITORY_ROOT, relative), "utf8"))
|
|
192
192
|
.join("\n");
|
|
193
193
|
const ids = [...sources.matchAll(/\[V(\d{3})\]/g)].map((match) => Number(match[1]));
|
|
194
|
-
assert.deepEqual(ids.sort((left, right) => left - right), Array.from({ length:
|
|
194
|
+
assert.deepEqual(ids.sort((left, right) => left - right), Array.from({ length: 28 }, (_, index) => index + 1));
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
test("[V028] only the marked OpenCode boundary section may declare non-kit stable versions", async (t) => {
|
|
198
|
+
const workflow = `name: Check
|
|
199
|
+
jobs:
|
|
200
|
+
# opencode-boundaries:start
|
|
201
|
+
opencode-compatibility:
|
|
202
|
+
strategy:
|
|
203
|
+
matrix:
|
|
204
|
+
opencode:
|
|
205
|
+
- "1.14.41"
|
|
206
|
+
- "1.18.4"
|
|
207
|
+
# opencode-boundaries:end
|
|
208
|
+
`;
|
|
209
|
+
|
|
210
|
+
assert.doesNotThrow(() => checkVersionContract({
|
|
211
|
+
repositoryRoot: makeContractRepository(t, { ".github/workflows/check.yml": workflow }),
|
|
212
|
+
}));
|
|
213
|
+
|
|
214
|
+
for (const [label, contents] of [
|
|
215
|
+
["outside the section", `${workflow}env:\n OTHER_VERSION: "9.8.7"\n`],
|
|
216
|
+
[
|
|
217
|
+
"without markers",
|
|
218
|
+
workflow
|
|
219
|
+
.replace(" # opencode-boundaries:start\n", "")
|
|
220
|
+
.replace(" # opencode-boundaries:end\n", ""),
|
|
221
|
+
],
|
|
222
|
+
[
|
|
223
|
+
"with a duplicated marker",
|
|
224
|
+
workflow.replace(
|
|
225
|
+
" # opencode-boundaries:start",
|
|
226
|
+
" # opencode-boundaries:start\n # opencode-boundaries:start",
|
|
227
|
+
),
|
|
228
|
+
],
|
|
229
|
+
[
|
|
230
|
+
"with markers out of order",
|
|
231
|
+
workflow
|
|
232
|
+
.replace("# opencode-boundaries:start", "# opencode-boundaries:temporary")
|
|
233
|
+
.replace("# opencode-boundaries:end", "# opencode-boundaries:start")
|
|
234
|
+
.replace("# opencode-boundaries:temporary", "# opencode-boundaries:end"),
|
|
235
|
+
],
|
|
236
|
+
]) {
|
|
237
|
+
await t.test(label, (child) => {
|
|
238
|
+
const root = makeContractRepository(child, { ".github/workflows/check.yml": contents });
|
|
239
|
+
assert.throws(
|
|
240
|
+
() => checkVersionContract({ repositoryRoot: root }),
|
|
241
|
+
/competing stable version declaration/,
|
|
242
|
+
);
|
|
243
|
+
});
|
|
244
|
+
}
|
|
195
245
|
});
|
|
@@ -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,47 +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
|
-
runs-on: ubuntu-latest
|
|
17
|
-
steps:
|
|
18
|
-
- name: Checkout
|
|
19
|
-
uses: actions/checkout@v4
|
|
20
|
-
|
|
21
|
-
- name: Setup Node
|
|
22
|
-
uses: actions/setup-node@v4
|
|
23
|
-
with:
|
|
24
|
-
node-version: 24
|
|
25
|
-
|
|
26
|
-
- name: Validate release tag
|
|
27
|
-
if: startsWith(github.ref, 'refs/tags/')
|
|
28
|
-
run: node scripts/version.mjs --check-tag "$GITHUB_REF_NAME"
|
|
29
|
-
|
|
30
|
-
- name: Contract check
|
|
31
|
-
run: npm run contract-check
|
|
32
|
-
|
|
33
|
-
- name: Unit and script tests
|
|
34
|
-
run: npm run unit-and-script-tests
|
|
35
|
-
|
|
36
|
-
- name: Install OpenCode tool dependencies
|
|
37
|
-
working-directory: opencode
|
|
38
|
-
run: npm ci
|
|
39
|
-
|
|
40
|
-
- name: Audit OpenCode tool dependencies
|
|
41
|
-
run: npm run dependency-audit
|
|
42
|
-
|
|
43
|
-
- name: Typecheck TUI token plugin
|
|
44
|
-
run: npm run typecheck
|
|
45
|
-
|
|
46
|
-
- name: Installation smoke
|
|
47
|
-
run: npm run installation-smoke
|