@ikon85/agent-workflow-kit 0.16.1 → 0.16.2
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikon85/agent-workflow-kit",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"description": "Portable AI-agent workflow skills (plan → execute → land → learn) for Claude Code & Codex — grilling, TDD, diagnosis, two-axis code review, cross-model Codex review, design & domain-modeling, plus a skill router (ask-matt). npx init/update/diff/uninstall.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
21
|
".claude/",
|
|
22
|
+
"!.claude/logs/",
|
|
22
23
|
".agents/",
|
|
23
24
|
"scripts/",
|
|
24
25
|
"docs/",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { test } from 'node:test';
|
|
2
2
|
import assert from 'node:assert/strict';
|
|
3
|
-
import { mkdtemp, readFile, rm } from 'node:fs/promises';
|
|
3
|
+
import { mkdir, mkdtemp, readFile, rm, writeFile } from 'node:fs/promises';
|
|
4
4
|
import { tmpdir } from 'node:os';
|
|
5
5
|
import { join, dirname } from 'node:path';
|
|
6
6
|
import { fileURLToPath } from 'node:url';
|
|
@@ -48,19 +48,35 @@ test('current build is self-contained and never reaches into a consumer checkout
|
|
|
48
48
|
assert.doesNotMatch(source, /testreporter|tools\/agent-workflow-kit/);
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
test('npm pack keeps
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
const
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
51
|
+
test('npm pack keeps product files but excludes runtime residue', async () => {
|
|
52
|
+
const logsDir = join(REPO, '.claude/logs');
|
|
53
|
+
await mkdir(logsDir, { recursive: true });
|
|
54
|
+
const ownedLogDir = await mkdtemp(join(logsDir, 'pack-runtime-'));
|
|
55
|
+
const runtimeLog = join(ownedLogDir, 'drift-guard.log');
|
|
56
|
+
const sentinelLog = join(ownedLogDir, 'preexisting.log');
|
|
57
|
+
const sentinelBytes = 'preexisting runtime log bytes\n';
|
|
58
|
+
await writeFile(sentinelLog, sentinelBytes);
|
|
59
|
+
await writeFile(runtimeLog, `${new Date().toISOString()} runtime-only\n`);
|
|
60
|
+
try {
|
|
61
|
+
const output = execFileSync('npm', ['pack', '--dry-run', '--json'], {
|
|
62
|
+
cwd: REPO, encoding: 'utf8',
|
|
63
|
+
});
|
|
64
|
+
const files = JSON.parse(output)[0].files.map((file) => file.path);
|
|
65
|
+
assert.ok(files.includes('scripts/build-kit.mjs'));
|
|
66
|
+
assert.ok(files.includes('scripts/board-sync.py'));
|
|
67
|
+
assert.ok(files.includes('scripts/kit-update-pr.mjs'));
|
|
68
|
+
assert.ok(files.includes('.claude/hooks/drift-guard.py'));
|
|
69
|
+
assert.ok(files.includes('.claude/skills/tdd/SKILL.md'));
|
|
70
|
+
assert.ok(files.every((path) => !path.startsWith('.claude/logs/')));
|
|
71
|
+
assert.ok(files.every((path) => !path.includes('__pycache__') && !path.endsWith('.pyc')));
|
|
72
|
+
const pkg = JSON.parse(execFileSync('node', ['-p', 'JSON.stringify(require("./package.json"))'], {
|
|
73
|
+
cwd: REPO, encoding: 'utf8',
|
|
74
|
+
}));
|
|
75
|
+
assert.ok(pkg.files.includes('scripts/'), 'package must ship future script file types');
|
|
76
|
+
assert.equal(await readFile(sentinelLog, 'utf8'), sentinelBytes);
|
|
77
|
+
} finally {
|
|
78
|
+
await rm(ownedLogDir, { recursive: true, force: true });
|
|
79
|
+
}
|
|
64
80
|
});
|
|
65
81
|
|
|
66
82
|
test('packed scoped artifact keeps the existing npx default-bin inference', async () => {
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
2026-07-15T18:45:54 census state=failed reasons=["target repository unavailable (Command '['git', '-C', '/tmp/repo', 'rev-parse', '--show-toplevel']' returned non-zero exit status 128.)"]
|
|
2
|
-
2026-07-15T18:45:55 census state=failed reasons=['target repository unavailable (handoff target repository containment check failed)']
|
|
3
|
-
2026-07-15T18:45:59 census state=failed reasons=['scan']
|