@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
@@ -332,6 +332,10 @@ still reference. Flags: `--force` (overwrite pre-existing files on `init`),
332
332
 
333
333
  ## Release notes
334
334
 
335
+ ### 0.16.2
336
+
337
+ - Metadata-only release.
338
+
335
339
  ### 0.16.1
336
340
 
337
341
  - changed: `.agents/skills/kit-update/SKILL.md`
@@ -1,5 +1,5 @@
1
1
  {
2
- "kitVersion": "0.16.1",
2
+ "kitVersion": "0.16.2",
3
3
  "files": [
4
4
  {
5
5
  "path": ".agents/skills/ask-matt/SKILL.md",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikon85/agent-workflow-kit",
3
- "version": "0.16.1",
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 the complete scripts tree but excludes Python caches', () => {
52
- const output = execFileSync('npm', ['pack', '--dry-run', '--json'], {
53
- cwd: REPO, encoding: 'utf8',
54
- });
55
- const files = JSON.parse(output)[0].files.map((file) => file.path);
56
- assert.ok(files.includes('scripts/build-kit.mjs'));
57
- assert.ok(files.includes('scripts/board-sync.py'));
58
- assert.ok(files.includes('scripts/kit-update-pr.mjs'));
59
- assert.ok(files.every((path) => !path.includes('__pycache__') && !path.endsWith('.pyc')));
60
- const pkg = JSON.parse(execFileSync('node', ['-p', 'JSON.stringify(require("./package.json"))'], {
61
- cwd: REPO, encoding: 'utf8',
62
- }));
63
- assert.ok(pkg.files.includes('scripts/'), 'package must ship future script file types');
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']