infra-kit 0.1.101 → 0.1.105

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.
Files changed (129) hide show
  1. package/.eslintcache +1 -1
  2. package/.omc/state/agent-replay-0a58307d-2a37-4c69-851c-83a646502d62.jsonl +1 -0
  3. package/.omc/state/agent-replay-11c41aa0-51fa-49e1-a1dc-26dcd6ac26cc.jsonl +16 -0
  4. package/.omc/state/agent-replay-4cf1c186-81b2-497c-b002-d7f84e7839f3.jsonl +9 -0
  5. package/.omc/state/agent-replay-5c4ab554-64f1-42ae-83e3-21e0237e955c.jsonl +11 -0
  6. package/.omc/state/agent-replay-a60ac2ec-afbd-449f-a540-6df287392fc2.jsonl +1 -0
  7. package/.omc/state/agent-replay-be37e426-6fc8-47f4-8178-221c8494551c.jsonl +3 -0
  8. package/.omc/state/agent-replay-c967c819-3d1c-447b-ab48-56a8448ef9f8.jsonl +2 -0
  9. package/.omc/state/idle-notif-cooldown.json +3 -0
  10. package/.omc/state/last-tool-error.json +4 -4
  11. package/.omc/state/mission-state.json +53 -0
  12. package/.omc/state/sessions/0a58307d-2a37-4c69-851c-83a646502d62/pre-tool-advisory-throttle.json +18 -0
  13. package/.omc/state/sessions/0a58307d-2a37-4c69-851c-83a646502d62/subagent-tracking-state.json +7 -0
  14. package/.omc/state/sessions/11c41aa0-51fa-49e1-a1dc-26dcd6ac26cc/last-tool-error-state.json +7 -0
  15. package/.omc/state/sessions/11c41aa0-51fa-49e1-a1dc-26dcd6ac26cc/mission-state.json +117 -0
  16. package/.omc/state/sessions/11c41aa0-51fa-49e1-a1dc-26dcd6ac26cc/pre-tool-advisory-throttle.json +42 -0
  17. package/.omc/state/sessions/11c41aa0-51fa-49e1-a1dc-26dcd6ac26cc/subagent-tracking-state.json +53 -0
  18. package/.omc/state/sessions/4cf1c186-81b2-497c-b002-d7f84e7839f3/last-tool-error-state.json +7 -0
  19. package/.omc/state/sessions/4cf1c186-81b2-497c-b002-d7f84e7839f3/pre-tool-advisory-throttle.json +18 -0
  20. package/.omc/state/sessions/4cf1c186-81b2-497c-b002-d7f84e7839f3/subagent-tracking-state.json +7 -0
  21. package/.omc/state/sessions/5c4ab554-64f1-42ae-83e3-21e0237e955c/mission-state.json +117 -0
  22. package/.omc/state/sessions/5c4ab554-64f1-42ae-83e3-21e0237e955c/pre-tool-advisory-throttle.json +18 -0
  23. package/.omc/state/sessions/5c4ab554-64f1-42ae-83e3-21e0237e955c/subagent-tracking-state.json +17 -0
  24. package/.omc/state/sessions/a60ac2ec-afbd-449f-a540-6df287392fc2/pre-tool-advisory-throttle.json +18 -0
  25. package/.omc/state/sessions/a60ac2ec-afbd-449f-a540-6df287392fc2/subagent-tracking-state.json +7 -0
  26. package/.omc/state/sessions/c967c819-3d1c-447b-ab48-56a8448ef9f8/pre-tool-advisory-throttle.json +10 -0
  27. package/.omc/state/sessions/c967c819-3d1c-447b-ab48-56a8448ef9f8/subagent-tracking-state.json +7 -0
  28. package/.omc/state/subagent-tracking.json +14 -4
  29. package/.turbo/turbo-build.log +7 -0
  30. package/.turbo/turbo-check.log +14 -0
  31. package/.turbo/turbo-prettier-fix.log +2 -1
  32. package/.turbo/turbo-test.log +28 -5
  33. package/.turbo/turbo-validate.log +14 -0
  34. package/dist/cli.js +81 -74
  35. package/dist/cli.js.map +4 -4
  36. package/dist/entry/index.d.ts +2 -0
  37. package/dist/index.js +2 -0
  38. package/dist/index.js.map +7 -0
  39. package/dist/lib/package-config/package-config.d.ts +71 -0
  40. package/dist/mcp.js +41 -39
  41. package/dist/mcp.js.map +4 -4
  42. package/eslint.config.js +1 -1
  43. package/infra-kit.config.ts +5 -0
  44. package/package.json +20 -13
  45. package/scripts/build.js +32 -3
  46. package/src/.omc/state/sessions/0a58307d-2a37-4c69-851c-83a646502d62/pre-tool-advisory-throttle.json +18 -0
  47. package/src/commands/.omc/state/sessions/c967c819-3d1c-447b-ab48-56a8448ef9f8/pre-tool-advisory-throttle.json +18 -0
  48. package/src/commands/audit/__tests__/audit.test.ts +59 -0
  49. package/src/commands/audit/audit.ts +177 -0
  50. package/src/commands/audit/index.ts +1 -0
  51. package/src/commands/config/config.ts +49 -7
  52. package/src/commands/doctor/doctor.ts +3 -3
  53. package/src/commands/env-clear/env-clear.ts +1 -1
  54. package/src/commands/env-list/env-list.ts +3 -3
  55. package/src/commands/env-load/env-load.ts +1 -1
  56. package/src/commands/env-status/env-status.ts +1 -1
  57. package/src/commands/gh-merge-dev/gh-merge-dev.ts +3 -8
  58. package/src/commands/gh-release-deliver/gh-release-deliver.ts +77 -21
  59. package/src/commands/gh-release-deploy-all/gh-release-deploy-all.ts +13 -7
  60. package/src/commands/gh-release-deploy-selected/gh-release-deploy-selected.ts +12 -6
  61. package/src/commands/gh-release-list/gh-release-list.ts +19 -8
  62. package/src/commands/init/__tests__/migrate-config.test.ts +160 -0
  63. package/src/commands/init/init.ts +48 -35
  64. package/src/commands/init/migrate-config.ts +146 -0
  65. package/src/commands/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  66. package/src/commands/release-create/__tests__/release-create.test.ts +55 -0
  67. package/src/commands/release-create/release-create.ts +142 -38
  68. package/src/commands/release-desc-edit/release-desc-edit.ts +28 -8
  69. package/src/commands/version/version.ts +1 -1
  70. package/src/commands/worktrees-add/worktrees-add.ts +7 -12
  71. package/src/commands/worktrees-list/worktrees-list.ts +13 -5
  72. package/src/commands/worktrees-open/worktrees-open.ts +1 -1
  73. package/src/commands/worktrees-remove/worktrees-remove.ts +8 -67
  74. package/src/commands/worktrees-sync/worktrees-sync.ts +3 -5
  75. package/src/entry/cli.ts +49 -6
  76. package/src/entry/index.ts +5 -0
  77. package/src/integrations/cmux/open-workspace-with-layout.ts +4 -4
  78. package/src/integrations/cmux/workspace-title.ts +10 -4
  79. package/src/integrations/doppler/doppler-project.ts +1 -1
  80. package/src/integrations/gh/gh-release-prs/__tests__/gh-release-prs.test.ts +115 -0
  81. package/src/integrations/gh/gh-release-prs/gh-release-prs.ts +49 -32
  82. package/src/lib/.omc/state/sessions/a60ac2ec-afbd-449f-a540-6df287392fc2/pre-tool-advisory-throttle.json +14 -0
  83. package/src/lib/constants/index.ts +15 -0
  84. package/src/lib/git-utils/__tests__/git-utils.test.ts +49 -0
  85. package/src/lib/git-utils/git-utils.ts +3 -1
  86. package/src/lib/infra-kit-config/__tests__/infra-kit-config.test.ts +270 -0
  87. package/src/lib/infra-kit-config/index.ts +7 -1
  88. package/src/lib/infra-kit-config/infra-kit-config.ts +46 -28
  89. package/src/lib/package-config/__tests__/package-config.test.ts +95 -0
  90. package/src/lib/package-config/index.ts +3 -0
  91. package/src/lib/package-config/package-config-schema.ts +19 -0
  92. package/src/lib/package-config/package-config.ts +99 -0
  93. package/src/lib/package-validator/__tests__/package-validator.test.ts +263 -0
  94. package/src/lib/package-validator/checks/__tests__/checks.test.ts +130 -0
  95. package/src/lib/package-validator/checks/config-check.ts +30 -0
  96. package/src/lib/package-validator/checks/files-check.ts +29 -0
  97. package/src/lib/package-validator/checks/index.ts +4 -0
  98. package/src/lib/package-validator/checks/scripts-check.ts +23 -0
  99. package/src/lib/package-validator/checks/turbo-check.ts +47 -0
  100. package/src/lib/package-validator/fs-utils.ts +18 -0
  101. package/src/lib/package-validator/index.ts +3 -0
  102. package/src/lib/package-validator/loader/config-loader.ts +77 -0
  103. package/src/lib/package-validator/loader/index.ts +2 -0
  104. package/src/lib/package-validator/loader/package-discovery.ts +98 -0
  105. package/src/lib/package-validator/package-validator.ts +48 -0
  106. package/src/lib/package-validator/types.ts +15 -0
  107. package/src/lib/release-id/__tests__/release-id.test.ts +351 -0
  108. package/src/lib/release-id/__tests__/versioned-regression.test.ts +69 -0
  109. package/src/lib/release-id/index.ts +15 -0
  110. package/src/lib/release-id/release-id.ts +257 -0
  111. package/src/lib/release-utils/__tests__/release-utils.test.ts +122 -0
  112. package/src/lib/release-utils/index.ts +4 -0
  113. package/src/lib/release-utils/release-utils.ts +85 -17
  114. package/src/lib/version-utils/__tests__/load-existing-versions.test.ts +37 -0
  115. package/src/lib/version-utils/__tests__/next-version.test.ts +119 -13
  116. package/src/lib/version-utils/index.ts +3 -0
  117. package/src/lib/version-utils/load-existing-versions.ts +29 -10
  118. package/src/lib/version-utils/next-version.ts +67 -12
  119. package/src/lib/version-utils/version-utils.ts +13 -4
  120. package/src/lib/worktrees/index.ts +1 -0
  121. package/src/lib/worktrees/remove-worktrees.ts +65 -0
  122. package/src/mcp/tools/index.ts +2 -0
  123. package/src/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  124. package/src/types.ts +1 -1
  125. package/tsconfig.tsbuildinfo +1 -1
  126. package/src/lib/__tests__/infra-kit-config.test.ts +0 -231
  127. /package/src/integrations/{clickup → linear}/.gitkeep +0 -0
  128. /package/src/lib/{__tests__ → constants/__tests__}/constants.test.ts +0 -0
  129. /package/src/lib/{constants.ts → constants/constants.ts} +0 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "tool_name": "Bash",
3
+ "tool_input_preview": "{\"command\":\"cd /Users/arthur/projects/infra-kit && rtk git status --short apps/infra-kit/cli/src/commands/release-create/release-create.ts; echo \\\"---grep release-create imports---\\\"; rtk grep -n \\\"re...",
4
+ "error": "Exit code 1\n M apps/infra-kit/cli/src/commands/release-create/release-create.ts---grep release-create imports---\n0 matches for 'release-id'",
5
+ "timestamp": "2026-06-12T20:46:05.600Z",
6
+ "retry_count": 2
7
+ }
@@ -0,0 +1,117 @@
1
+ {
2
+ "updatedAt": "2026-06-12T21:08:08.768Z",
3
+ "missions": [
4
+ {
5
+ "id": "session:11c41aa0-51fa-49e1-a1dc-26dcd6ac26cc:none",
6
+ "source": "session",
7
+ "name": "none",
8
+ "objective": "Session mission",
9
+ "createdAt": "2026-06-12T20:21:21.819Z",
10
+ "updatedAt": "2026-06-12T21:08:08.768Z",
11
+ "status": "done",
12
+ "workerCount": 5,
13
+ "taskCounts": {
14
+ "total": 5,
15
+ "pending": 0,
16
+ "blocked": 0,
17
+ "inProgress": 0,
18
+ "completed": 5,
19
+ "failed": 0
20
+ },
21
+ "agents": [
22
+ {
23
+ "name": "executor:a6bbbed",
24
+ "role": "executor",
25
+ "ownership": "a6bbbed1f2324c60d",
26
+ "status": "done",
27
+ "currentStep": null,
28
+ "latestUpdate": "completed",
29
+ "completedSummary": null,
30
+ "updatedAt": "2026-06-12T21:08:08.768Z"
31
+ },
32
+ {
33
+ "name": "executor:afb063d",
34
+ "role": "executor",
35
+ "ownership": "afb063d4db55748b4",
36
+ "status": "done",
37
+ "currentStep": null,
38
+ "latestUpdate": "completed",
39
+ "completedSummary": null,
40
+ "updatedAt": "2026-06-12T20:24:18.396Z"
41
+ },
42
+ {
43
+ "name": "executor:a2578e2",
44
+ "role": "executor",
45
+ "ownership": "a2578e2e21c8453e9",
46
+ "status": "done",
47
+ "currentStep": null,
48
+ "latestUpdate": "completed",
49
+ "completedSummary": null,
50
+ "updatedAt": "2026-06-12T20:37:27.767Z"
51
+ },
52
+ {
53
+ "name": "executor:a621002",
54
+ "role": "executor",
55
+ "ownership": "a621002b38f87b64c",
56
+ "status": "done",
57
+ "currentStep": null,
58
+ "latestUpdate": "completed",
59
+ "completedSummary": null,
60
+ "updatedAt": "2026-06-12T20:48:18.948Z"
61
+ },
62
+ {
63
+ "name": "architect:ab13379",
64
+ "role": "architect",
65
+ "ownership": "ab13379a985898672",
66
+ "status": "done",
67
+ "currentStep": null,
68
+ "latestUpdate": "completed",
69
+ "completedSummary": null,
70
+ "updatedAt": "2026-06-12T20:59:44.050Z"
71
+ }
72
+ ],
73
+ "timeline": [
74
+ {
75
+ "id": "session-start:ab13379a985898672:2026-06-12T20:52:46.331Z",
76
+ "at": "2026-06-12T20:52:46.331Z",
77
+ "kind": "update",
78
+ "agent": "architect:ab13379",
79
+ "detail": "started architect:ab13379",
80
+ "sourceKey": "session-start:ab13379a985898672"
81
+ },
82
+ {
83
+ "id": "session-stop:ab13379a985898672:2026-06-12T20:58:03.967Z",
84
+ "at": "2026-06-12T20:58:03.967Z",
85
+ "kind": "completion",
86
+ "agent": "architect:ab13379",
87
+ "detail": "completed",
88
+ "sourceKey": "session-stop:ab13379a985898672"
89
+ },
90
+ {
91
+ "id": "session-start:ab13379a985898672:2026-06-12T20:58:55.129Z",
92
+ "at": "2026-06-12T20:58:55.129Z",
93
+ "kind": "update",
94
+ "agent": "architect:ab13379",
95
+ "detail": "started architect:ab13379",
96
+ "sourceKey": "session-start:ab13379a985898672"
97
+ },
98
+ {
99
+ "id": "session-stop:ab13379a985898672:2026-06-12T20:59:44.050Z",
100
+ "at": "2026-06-12T20:59:44.050Z",
101
+ "kind": "completion",
102
+ "agent": "architect:ab13379",
103
+ "detail": "completed",
104
+ "sourceKey": "session-stop:ab13379a985898672"
105
+ },
106
+ {
107
+ "id": "session-stop:a075f566f33d75f09:2026-06-12T21:08:08.768Z",
108
+ "at": "2026-06-12T21:08:08.768Z",
109
+ "kind": "completion",
110
+ "agent": "executor:a6bbbed",
111
+ "detail": "completed",
112
+ "sourceKey": "session-stop:a075f566f33d75f09"
113
+ }
114
+ ]
115
+ }
116
+ ]
117
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "version": 1,
3
+ "entries": {
4
+ "79a93d4a2f8f50b95f852280616242fee1855dc99a3c75211917f55e72e95fae": {
5
+ "last_emitted_at_ms": 1781298116881,
6
+ "message": "Use parallel execution for independent tasks. Use run_in_background for long operations (npm install, builds, tests)."
7
+ },
8
+ "466399dafa2d20f60587180bad0a07358eb7f2bce724df0ff682f038ad33f5ad": {
9
+ "last_emitted_at_ms": 1781298054052,
10
+ "message": "Read multiple files in parallel when possible for faster analysis."
11
+ },
12
+ "445ed27a3872b681d98190bae61ccb84954e1bc4e140df5370be958dee776b3a": {
13
+ "last_emitted_at_ms": 1781297905383,
14
+ "message": "Verify changes work after editing. Test functionality before marking complete."
15
+ },
16
+ "dab5f068b82d06790cb7886986371cae8c2080911fcadf7d5174ff0bfafa5a4f": {
17
+ "last_emitted_at_ms": 1781297566212,
18
+ "message": "Spawning agent: oh-my-claudecode:architect (opus) | Task: Architect verification of ralph run"
19
+ },
20
+ "808cb04420bcb368ab4716038ddd950b51198d0402b6cf8e965d66ca42ebccbe": {
21
+ "last_emitted_at_ms": 1781296449836,
22
+ "message": "[SLOP WARNING] Detected fallback/workaround language in this tool input. Do not make potential slop: avoid ad-hoc fallback layers, workaround shims, or environment-specific patches unless explicitly justified. For architecture concerns, consult the architect for a concrete design first. If this seems environment-specific, ask the user to confirm constraints before proceeding.\n\nVerify changes work after editing. Test functionality before marking complete."
23
+ },
24
+ "880ccaec889d4c106c02185b74d038850cf810ea76336509bb5694c6d065d0cf": {
25
+ "last_emitted_at_ms": 1781296367287,
26
+ "message": "[SLOP WARNING] Detected fallback/workaround language in this tool input. Do not make potential slop: avoid ad-hoc fallback layers, workaround shims, or environment-specific patches unless explicitly justified. For architecture concerns, consult the architect for a concrete design first. If this seems environment-specific, ask the user to confirm constraints before proceeding.\n\nSpawning agent: oh-my-claudecode:executor (opus) [BACKGROUND] | Task: US-005: downstream commands"
27
+ },
28
+ "96b6ff9467edc28806a0ea5dd5b816ea148c34298fb930183990fc1f95717d92": {
29
+ "last_emitted_at_ms": 1781296333767,
30
+ "message": "Spawning agent: oh-my-claudecode:executor (opus) [BACKGROUND] | Task: US-004: discovery and sort"
31
+ },
32
+ "fa05446564a22d6c0f7edca8bdf801e72e5c19981cb7607601c6ee7b46caaf02": {
33
+ "last_emitted_at_ms": 1781295696746,
34
+ "message": "Spawning agent: oh-my-claudecode:executor (sonnet) [BACKGROUND] | Task: US-006: worktrees name-aware"
35
+ },
36
+ "320157ce2360ba883e1ba543e65321e8472d2e3970b623c4baecaa52acc5c8ff": {
37
+ "last_emitted_at_ms": 1781295681694,
38
+ "message": "Spawning agent: oh-my-claudecode:executor (opus) [BACKGROUND] | Task: US-003: release-create name support"
39
+ }
40
+ },
41
+ "updated_at": "2026-06-12T21:01:56.881Z"
42
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "agents": [
3
+ {
4
+ "agent_id": "a6bbbed1f2324c60d",
5
+ "agent_type": "oh-my-claudecode:executor",
6
+ "started_at": "2026-06-12T20:21:21.819Z",
7
+ "parent_mode": "none",
8
+ "status": "completed",
9
+ "completed_at": "2026-06-12T20:30:29.110Z",
10
+ "duration_ms": 547291
11
+ },
12
+ {
13
+ "agent_id": "afb063d4db55748b4",
14
+ "agent_type": "oh-my-claudecode:executor",
15
+ "started_at": "2026-06-12T20:21:36.867Z",
16
+ "parent_mode": "none",
17
+ "status": "completed",
18
+ "completed_at": "2026-06-12T20:24:18.396Z",
19
+ "duration_ms": 161529
20
+ },
21
+ {
22
+ "agent_id": "a2578e2e21c8453e9",
23
+ "agent_type": "oh-my-claudecode:executor",
24
+ "started_at": "2026-06-12T20:32:13.944Z",
25
+ "parent_mode": "none",
26
+ "status": "completed",
27
+ "completed_at": "2026-06-12T20:37:27.767Z",
28
+ "duration_ms": 313823
29
+ },
30
+ {
31
+ "agent_id": "a621002b38f87b64c",
32
+ "agent_type": "oh-my-claudecode:executor",
33
+ "started_at": "2026-06-12T20:32:47.447Z",
34
+ "parent_mode": "none",
35
+ "status": "completed",
36
+ "completed_at": "2026-06-12T20:48:18.948Z",
37
+ "duration_ms": 931501
38
+ },
39
+ {
40
+ "agent_id": "ab13379a985898672",
41
+ "agent_type": "oh-my-claudecode:architect",
42
+ "started_at": "2026-06-12T20:58:55.129Z",
43
+ "parent_mode": "none",
44
+ "status": "completed",
45
+ "completed_at": "2026-06-12T20:59:44.050Z",
46
+ "duration_ms": 48921
47
+ }
48
+ ],
49
+ "total_spawned": 6,
50
+ "total_completed": 6,
51
+ "total_failed": 0,
52
+ "last_updated": "2026-06-12T21:08:08.869Z"
53
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "tool_name": "Bash",
3
+ "tool_input_preview": "{\"command\":\"OUT=$(mktemp -d); rtk tsc src/entry/index.ts --declaration --emitDeclarationOnly --outDir \\\"$OUT\\\" --rootDir src --skipLibCheck 2>&1 | tail -10; echo \\\"exit: ${PIPESTATUS[0]}\\\"; echo \\\"===...",
4
+ "error": "Exit code 1\nTypeScript: No errors found\nexit: \n=== output files ===\n=== index.d.ts ===\ncat: /var/folders/dd/mp08hp010hd1qcjzqkp70yjr0000gn/T/tmp.Z5tYLyxFol/entry/index.d.ts: No such file or directory (os error 2)",
5
+ "timestamp": "2026-06-07T11:41:32.922Z",
6
+ "retry_count": 2
7
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "version": 1,
3
+ "entries": {
4
+ "445ed27a3872b681d98190bae61ccb84954e1bc4e140df5370be958dee776b3a": {
5
+ "last_emitted_at_ms": 1780832558799,
6
+ "message": "Verify changes work after editing. Test functionality before marking complete."
7
+ },
8
+ "466399dafa2d20f60587180bad0a07358eb7f2bce724df0ff682f038ad33f5ad": {
9
+ "last_emitted_at_ms": 1780832547311,
10
+ "message": "Read multiple files in parallel when possible for faster analysis."
11
+ },
12
+ "79a93d4a2f8f50b95f852280616242fee1855dc99a3c75211917f55e72e95fae": {
13
+ "last_emitted_at_ms": 1780832515720,
14
+ "message": "Use parallel execution for independent tasks. Use run_in_background for long operations (npm install, builds, tests)."
15
+ }
16
+ },
17
+ "updated_at": "2026-06-07T11:42:38.799Z"
18
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "agents": [],
3
+ "total_spawned": 0,
4
+ "total_completed": 0,
5
+ "total_failed": 0,
6
+ "last_updated": "2026-06-07T11:38:56.165Z"
7
+ }
@@ -0,0 +1,117 @@
1
+ {
2
+ "updatedAt": "2026-06-07T20:35:21.520Z",
3
+ "missions": [
4
+ {
5
+ "id": "session:5c4ab554-64f1-42ae-83e3-21e0237e955c:none",
6
+ "source": "session",
7
+ "name": "none",
8
+ "objective": "Session mission",
9
+ "createdAt": "2026-06-07T20:32:51.611Z",
10
+ "updatedAt": "2026-06-07T20:35:21.520Z",
11
+ "status": "done",
12
+ "workerCount": 1,
13
+ "taskCounts": {
14
+ "total": 1,
15
+ "pending": 0,
16
+ "blocked": 0,
17
+ "inProgress": 0,
18
+ "completed": 1,
19
+ "failed": 0
20
+ },
21
+ "agents": [
22
+ {
23
+ "name": "architect:adbbf93",
24
+ "role": "architect",
25
+ "ownership": "adbbf93657a781ce0",
26
+ "status": "done",
27
+ "currentStep": null,
28
+ "latestUpdate": "completed",
29
+ "completedSummary": null,
30
+ "updatedAt": "2026-06-07T20:35:21.520Z"
31
+ }
32
+ ],
33
+ "timeline": [
34
+ {
35
+ "id": "session-start:adbbf93657a781ce0:2026-06-07T20:32:51.611Z",
36
+ "at": "2026-06-07T20:32:51.611Z",
37
+ "kind": "update",
38
+ "agent": "architect:adbbf93",
39
+ "detail": "started architect:adbbf93",
40
+ "sourceKey": "session-start:adbbf93657a781ce0"
41
+ },
42
+ {
43
+ "id": "session-stop:adbbf93657a781ce0:2026-06-07T20:34:16.976Z",
44
+ "at": "2026-06-07T20:34:16.976Z",
45
+ "kind": "completion",
46
+ "agent": "architect:adbbf93",
47
+ "detail": "completed",
48
+ "sourceKey": "session-stop:adbbf93657a781ce0"
49
+ },
50
+ {
51
+ "id": "session-stop:adbbf93657a781ce0:2026-06-07T20:34:28.711Z",
52
+ "at": "2026-06-07T20:34:28.711Z",
53
+ "kind": "completion",
54
+ "agent": "architect:adbbf93",
55
+ "detail": "completed",
56
+ "sourceKey": "session-stop:adbbf93657a781ce0"
57
+ },
58
+ {
59
+ "id": "session-stop:adbbf93657a781ce0:2026-06-07T20:34:37.326Z",
60
+ "at": "2026-06-07T20:34:37.326Z",
61
+ "kind": "completion",
62
+ "agent": "architect:adbbf93",
63
+ "detail": "completed",
64
+ "sourceKey": "session-stop:adbbf93657a781ce0"
65
+ },
66
+ {
67
+ "id": "session-stop:adbbf93657a781ce0:2026-06-07T20:34:46.503Z",
68
+ "at": "2026-06-07T20:34:46.503Z",
69
+ "kind": "completion",
70
+ "agent": "architect:adbbf93",
71
+ "detail": "completed",
72
+ "sourceKey": "session-stop:adbbf93657a781ce0"
73
+ },
74
+ {
75
+ "id": "session-stop:adbbf93657a781ce0:2026-06-07T20:34:55.136Z",
76
+ "at": "2026-06-07T20:34:55.136Z",
77
+ "kind": "completion",
78
+ "agent": "architect:adbbf93",
79
+ "detail": "completed",
80
+ "sourceKey": "session-stop:adbbf93657a781ce0"
81
+ },
82
+ {
83
+ "id": "session-stop:adbbf93657a781ce0:2026-06-07T20:35:03.230Z",
84
+ "at": "2026-06-07T20:35:03.230Z",
85
+ "kind": "completion",
86
+ "agent": "architect:adbbf93",
87
+ "detail": "completed",
88
+ "sourceKey": "session-stop:adbbf93657a781ce0"
89
+ },
90
+ {
91
+ "id": "session-stop:adbbf93657a781ce0:2026-06-07T20:35:09.719Z",
92
+ "at": "2026-06-07T20:35:09.719Z",
93
+ "kind": "completion",
94
+ "agent": "architect:adbbf93",
95
+ "detail": "completed",
96
+ "sourceKey": "session-stop:adbbf93657a781ce0"
97
+ },
98
+ {
99
+ "id": "session-stop:adbbf93657a781ce0:2026-06-07T20:35:15.763Z",
100
+ "at": "2026-06-07T20:35:15.763Z",
101
+ "kind": "completion",
102
+ "agent": "architect:adbbf93",
103
+ "detail": "completed",
104
+ "sourceKey": "session-stop:adbbf93657a781ce0"
105
+ },
106
+ {
107
+ "id": "session-stop:adbbf93657a781ce0:2026-06-07T20:35:21.520Z",
108
+ "at": "2026-06-07T20:35:21.520Z",
109
+ "kind": "completion",
110
+ "agent": "architect:adbbf93",
111
+ "detail": "completed",
112
+ "sourceKey": "session-stop:adbbf93657a781ce0"
113
+ }
114
+ ]
115
+ }
116
+ ]
117
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "version": 1,
3
+ "entries": {
4
+ "79a93d4a2f8f50b95f852280616242fee1855dc99a3c75211917f55e72e95fae": {
5
+ "last_emitted_at_ms": 1780864538344,
6
+ "message": "Use parallel execution for independent tasks. Use run_in_background for long operations (npm install, builds, tests)."
7
+ },
8
+ "318d66c07ef30dee2cd2edbbd2d251a51e87f3c2e01a8392fe785bab53a0d2fb": {
9
+ "last_emitted_at_ms": 1780864371469,
10
+ "message": "Spawning agent: oh-my-claudecode:architect (sonnet) | Task: Architect verification of zod v4 upgrade"
11
+ },
12
+ "445ed27a3872b681d98190bae61ccb84954e1bc4e140df5370be958dee776b3a": {
13
+ "last_emitted_at_ms": 1780864329207,
14
+ "message": "Verify changes work after editing. Test functionality before marking complete."
15
+ }
16
+ },
17
+ "updated_at": "2026-06-07T20:35:38.344Z"
18
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "agents": [
3
+ {
4
+ "agent_id": "adbbf93657a781ce0",
5
+ "agent_type": "oh-my-claudecode:architect",
6
+ "started_at": "2026-06-07T20:32:51.611Z",
7
+ "parent_mode": "none",
8
+ "status": "completed",
9
+ "completed_at": "2026-06-07T20:35:21.520Z",
10
+ "duration_ms": 149909
11
+ }
12
+ ],
13
+ "total_spawned": 1,
14
+ "total_completed": 9,
15
+ "total_failed": 0,
16
+ "last_updated": "2026-06-07T20:35:21.622Z"
17
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "version": 1,
3
+ "entries": {
4
+ "445ed27a3872b681d98190bae61ccb84954e1bc4e140df5370be958dee776b3a": {
5
+ "last_emitted_at_ms": 1780863758846,
6
+ "message": "Verify changes work after editing. Test functionality before marking complete."
7
+ },
8
+ "79a93d4a2f8f50b95f852280616242fee1855dc99a3c75211917f55e72e95fae": {
9
+ "last_emitted_at_ms": 1780863721717,
10
+ "message": "Use parallel execution for independent tasks. Use run_in_background for long operations (npm install, builds, tests)."
11
+ },
12
+ "466399dafa2d20f60587180bad0a07358eb7f2bce724df0ff682f038ad33f5ad": {
13
+ "last_emitted_at_ms": 1780863586517,
14
+ "message": "Read multiple files in parallel when possible for faster analysis."
15
+ }
16
+ },
17
+ "updated_at": "2026-06-07T20:22:38.846Z"
18
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "agents": [],
3
+ "total_spawned": 0,
4
+ "total_completed": 0,
5
+ "total_failed": 0,
6
+ "last_updated": "2026-06-07T20:26:10.382Z"
7
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 1,
3
+ "entries": {
4
+ "445ed27a3872b681d98190bae61ccb84954e1bc4e140df5370be958dee776b3a": {
5
+ "last_emitted_at_ms": 1780919994385,
6
+ "message": "Verify changes work after editing. Test functionality before marking complete."
7
+ }
8
+ },
9
+ "updated_at": "2026-06-08T11:59:54.385Z"
10
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "agents": [],
3
+ "total_spawned": 0,
4
+ "total_completed": 0,
5
+ "total_failed": 0,
6
+ "last_updated": "2026-06-08T12:03:06.587Z"
7
+ }
@@ -1,7 +1,17 @@
1
1
  {
2
- "agents": [],
3
- "total_spawned": 0,
4
- "total_completed": 0,
2
+ "agents": [
3
+ {
4
+ "agent_id": "ad71037d916ecb009",
5
+ "agent_type": "oh-my-claudecode:code-reviewer",
6
+ "started_at": "2026-06-02T11:22:56.429Z",
7
+ "parent_mode": "none",
8
+ "status": "completed",
9
+ "completed_at": "2026-06-02T11:24:08.507Z",
10
+ "duration_ms": 72078
11
+ }
12
+ ],
13
+ "total_spawned": 1,
14
+ "total_completed": 1,
5
15
  "total_failed": 0,
6
- "last_updated": "2026-05-13T08:14:26.351Z"
16
+ "last_updated": "2026-06-02T11:24:08.610Z"
7
17
  }
@@ -0,0 +1,7 @@
1
+
2
+ $ pnpm run clean-artifacts && node ./scripts/build.js
3
+ $ rm -rf dist
4
+ ✅ Build was completed successfully: cli.js - 0.099 MB
5
+ ✅ Build was completed successfully: index.js - 0.0000687 MB
6
+ ✅ Build was completed successfully: mcp.js - 0.0813 MB
7
+ ✅ Type declarations emitted: dist/entry/index.d.ts
@@ -0,0 +1,14 @@
1
+ $ node ./dist/cli.js check
2
+ INFO: 
3
+ infra-kit — PASS
4
+ INFO:  [PASS] infra-kit.config.ts: present and valid
5
+ INFO:  [PASS] script:build: defined
6
+ INFO:  [PASS] script:ts-check: defined
7
+ INFO:  [PASS] script:eslint-check: defined
8
+ INFO:  [PASS] script:prettier-check: defined
9
+ INFO:  [PASS] script:test: defined
10
+ INFO:  [PASS] file:tsconfig.json: exists
11
+ INFO:  [PASS] file:eslint.config.js: exists
12
+ INFO:  [PASS] file:readme.md: exists
13
+ INFO: 
14
+ ✅ All valid (1 checked)
@@ -1 +1,2 @@
1
- $ pnpm exec prettier **/* --write --no-error-on-unmatched-pattern --log-level warn --ignore-path ../../../.prettierignore
1
+
2
+ $ pnpm exec prettier **/* --write --no-error-on-unmatched-pattern --log-level silent --ignore-path ../../../.prettierignore
@@ -1,12 +1,35 @@
1
1
 
2
2
  $ pnpm exec vitest run --reporter=minimal
3
3
  [?25l
4
-  RUN  v4.1.5 /Users/arthur/projects/infra-kit/apps/infra-kit/cli
4
+  RUN  v4.1.8 /Users/arthur/projects/infra-kit/apps/infra-kit/cli
5
5
 
6
+ INFO: ✓ Migrated ~/infra-kit.yml → ~/infra-kit.json
7
+ INFO: ⚠ Skipped ~/infra-kit.yml — ~/infra-kit.json already exists (remove the stale .yml manually)
8
+ INFO: ✓ Migrated ~/infra-kit.yml → ~/infra-kit.json
9
+ INFO: ⚠ Skipped ~/.infra-kit/config.yml — invalid config: ✖ Too small: expected array to have >=1 items
10
+ → at environments
11
+ INFO: ⚠ Skipped ~/infra-kit.yml — Unexpected : in flow sequence at line 2, column 5:
6
12
 
7
-  Test Files  6 passed (6)
8
-  Tests  76 passed (76)
9
-  Start at  11:13:17
10
-  Duration  544ms (transform 334ms, setup 93ms, import 602ms, tests 79ms, environment 0ms)
13
+ : : :
14
+ ^
15
+ 
16
+ INFO: ✓ Migrated ~/infra-kit.yml ~/infra-kit.json
17
+ INFO: ✓ Migrated ~/.infra-kit/config.yml → ~/.infra-kit/config.json
18
+ INFO: ✓ Migrated ~/.infra-kit/projects/infra-kit-init-migrate-test-x2h6nB/infra-kit.yml → ~/.infra-kit/projects/infra-kit-init-migrate-test-x2h6nB/infra-kit.json
19
+ INFO: 
20
+ @x/ok — PASS
21
+ INFO:  [PASS] infra-kit.config.ts: present and valid
22
+ INFO: 
23
+ ✅ All valid (1 checked)
24
+ INFO: 
25
+ @x/no-config — FAIL
26
+ INFO:  [FAIL] infra-kit.config.ts: infra-kit.config.ts not found at /tmp/audit-cmd-wWaelG/infra-kit.config.ts
27
+ INFO: 
28
+ ❌ Audit failed (1 checked)
29
+
30
+  Test Files  18 passed (18)
31
+  Tests  214 passed (214)
32
+  Start at  22:47:36
33
+  Duration  917ms (transform 2.10s, setup 371ms, import 3.66s, tests 483ms, environment 3ms)
11
34
 
12
35
  [?25h
@@ -0,0 +1,14 @@
1
+ $ node ./dist/cli.js validate
2
+ INFO: 
3
+ infra-kit — PASS
4
+ INFO:  [PASS] infra-kit.config.ts: present and valid
5
+ INFO:  [PASS] script:build: defined
6
+ INFO:  [PASS] script:ts-check: defined
7
+ INFO:  [PASS] script:eslint-check: defined
8
+ INFO:  [PASS] script:prettier-check: defined
9
+ INFO:  [PASS] script:test: defined
10
+ INFO:  [PASS] file:tsconfig.json: exists
11
+ INFO:  [PASS] file:eslint.config.js: exists
12
+ INFO:  [PASS] file:readme.md: exists
13
+ INFO: 
14
+ ✅ All valid (1 checked)