Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .skeleton/review-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"reviewedAt": "2026-09-02",
"documentHash": "sha256:f3059ccf7ba993212a97be4e628e3e4c7688739036e7b0151b2005f8dcb4393b",
"reviewDependencies": {
"package.json": "sha256:4d014adbf60f1b00f7750432da912f611d3fedd660956090b5525cb89cc639a7",
"package.json": "sha256:33c803d5fc5280994f12cf4b3e69c7706378d111dbd3a026b092f742b6d99c04",
"src/cli.ts": "sha256:1fc7a773f0295fd209a4d3baed536c24dc7bdf3d3c079118dad6f94a2de6026a"
}
},
"README.md": {
"reviewedAt": "2026-09-02",
"documentHash": "sha256:265b48daf1265ce64be229be53c5545c43dc882585cb2e96f6858fc0410d182d",
"reviewDependencies": {
"package.json": "sha256:4d014adbf60f1b00f7750432da912f611d3fedd660956090b5525cb89cc639a7",
"package.json": "sha256:33c803d5fc5280994f12cf4b3e69c7706378d111dbd3a026b092f742b6d99c04",
"src/cli.ts": "sha256:1fc7a773f0295fd209a4d3baed536c24dc7bdf3d3c079118dad6f94a2de6026a"
}
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "SSOT audit CLI for agent harness repos",
"type": "module",
"bin": {
"skeleton": "./dist/cli.js"
"skeleton": "dist/cli.js"
},
"exports": {
"./plugin-types": {
Expand Down
4 changes: 4 additions & 0 deletions scripts/verify-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,12 @@ void [rule, audit.reviewProof.status];
run({ command: "node", args: [join(packageDir, "dist", "cli.js"), "--help"], cwd: consumer });

const packageJson = JSON.parse(readFileSync(join(packageDir, "package.json"), "utf8")) as {
bin?: Record<string, string>;
exports?: Record<string, unknown>;
};
if (packageJson.bin?.skeleton !== "dist/cli.js") {
throw new Error("Packed package is missing the skeleton CLI bin mapping");
}
for (const key of ["./plugin-types", "./result-types", "./schemas/result.schema.json"]) {
if (!(key in (packageJson.exports ?? {}))) throw new Error(`Packed exports missing ${key}`);
}
Expand Down
Loading