@prestyj/cli 5.32.2 → 5.33.0

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 (481) hide show
  1. package/assets/motion/skills/motion/SKILL.md +1 -1
  2. package/assets/skills/bulletproof/SKILL.md +72 -131
  3. package/assets/skills/bulletproof/references/agent-surface.md +22 -1
  4. package/assets/skills/bulletproof/references/audit-protocol.md +23 -6
  5. package/assets/skills/bulletproof/references/platform-playbooks.md +12 -0
  6. package/assets/skills/bulletproof/references/provenance.md +19 -2
  7. package/assets/skills/bulletproof/references/secure-defaults.md +13 -1
  8. package/assets/skills/bulletproof/references/supply-chain.md +8 -5
  9. package/assets/skills/bulletproof/references/threat-landscape.md +46 -57
  10. package/assets/skills/compliance-guard/SKILL.md +59 -212
  11. package/assets/skills/compliance-guard/references/artifacts.md +14 -1
  12. package/assets/skills/compliance-guard/references/eu-uk.md +17 -7
  13. package/assets/skills/compliance-guard/references/exposure-triage.md +16 -0
  14. package/assets/skills/compliance-guard/references/full-review.md +155 -0
  15. package/assets/skills/compliance-guard/references/lawsuit-vectors.md +14 -2
  16. package/assets/skills/compliance-guard/references/provenance.md +33 -2
  17. package/assets/skills/compliance-guard/references/sector-gates.md +15 -1
  18. package/assets/skills/compliance-guard/references/security-baseline.md +21 -34
  19. package/assets/skills/compliance-guard/references/trigger-map.md +15 -1
  20. package/assets/skills/compliance-guard/references/us.md +32 -8
  21. package/assets/skills/durable/SKILL.md +22 -29
  22. package/assets/skills/durable/references/agent-db-safety.md +2 -2
  23. package/assets/skills/durable/references/backups-and-runtime.md +6 -6
  24. package/assets/skills/durable/references/migrations-and-schema.md +5 -4
  25. package/assets/skills/lean/SKILL.md +36 -50
  26. package/assets/skills/lean/references/playbooks.md +9 -7
  27. package/dist/app-sidecar/app-settings.d.ts +5 -0
  28. package/dist/app-sidecar/app-settings.js +13 -0
  29. package/dist/app-sidecar/app-settings.js.map +1 -1
  30. package/dist/app-sidecar/auth-routes.js +45 -2
  31. package/dist/app-sidecar/auth-routes.js.map +1 -1
  32. package/dist/app-sidecar/desktop-guidance.d.ts +1 -0
  33. package/dist/app-sidecar/desktop-guidance.js +27 -0
  34. package/dist/app-sidecar/desktop-guidance.js.map +1 -0
  35. package/dist/app-sidecar/history-routes.d.ts +6 -0
  36. package/dist/app-sidecar/history-routes.js +57 -2
  37. package/dist/app-sidecar/history-routes.js.map +1 -1
  38. package/dist/app-sidecar/history.d.ts +17 -0
  39. package/dist/app-sidecar/history.js.map +1 -1
  40. package/dist/app-sidecar/http.d.ts +1 -1
  41. package/dist/app-sidecar/http.js +2 -2
  42. package/dist/app-sidecar/http.js.map +1 -1
  43. package/dist/app-sidecar/integration-routes.js +4 -0
  44. package/dist/app-sidecar/integration-routes.js.map +1 -1
  45. package/dist/app-sidecar/prompt-routes.js +28 -5
  46. package/dist/app-sidecar/prompt-routes.js.map +1 -1
  47. package/dist/app-sidecar/route-context.d.ts +10 -1
  48. package/dist/app-sidecar/run-control-routes.js +9 -2
  49. package/dist/app-sidecar/run-control-routes.js.map +1 -1
  50. package/dist/app-sidecar/session-routes.js +8 -0
  51. package/dist/app-sidecar/session-routes.js.map +1 -1
  52. package/dist/app-sidecar/shell-routes.d.ts +12 -0
  53. package/dist/app-sidecar/shell-routes.js +133 -0
  54. package/dist/app-sidecar/shell-routes.js.map +1 -0
  55. package/dist/app-sidecar/shell-runs.d.ts +103 -0
  56. package/dist/app-sidecar/shell-runs.js +268 -0
  57. package/dist/app-sidecar/shell-runs.js.map +1 -0
  58. package/dist/app-sidecar/shell-suggestions.d.ts +33 -0
  59. package/dist/app-sidecar/shell-suggestions.js +152 -0
  60. package/dist/app-sidecar/shell-suggestions.js.map +1 -0
  61. package/dist/app-sidecar/usage.js +26 -2
  62. package/dist/app-sidecar/usage.js.map +1 -1
  63. package/dist/app-sidecar-sessions.js +13 -3
  64. package/dist/app-sidecar-sessions.js.map +1 -1
  65. package/dist/app-sidecar.js +231 -60
  66. package/dist/app-sidecar.js.map +1 -1
  67. package/dist/chat-agents/index.d.ts +1 -1
  68. package/dist/chat-agents/index.js +1 -1
  69. package/dist/chat-agents/index.js.map +1 -1
  70. package/dist/chat-agents/shared.d.ts +4 -0
  71. package/dist/chat-agents/shared.js +8 -1
  72. package/dist/chat-agents/shared.js.map +1 -1
  73. package/dist/cli.js +28 -6
  74. package/dist/cli.js.map +1 -1
  75. package/dist/config.d.ts +22 -2
  76. package/dist/config.js +40 -97
  77. package/dist/config.js.map +1 -1
  78. package/dist/core/agent-session.d.ts +100 -11
  79. package/dist/core/agent-session.js +734 -165
  80. package/dist/core/agent-session.js.map +1 -1
  81. package/dist/core/ask-user.d.ts +6 -0
  82. package/dist/core/ask-user.js +20 -5
  83. package/dist/core/ask-user.js.map +1 -1
  84. package/dist/core/autopilot-gate.js +2 -3
  85. package/dist/core/autopilot-gate.js.map +1 -1
  86. package/dist/core/bundled-agents.js +9 -29
  87. package/dist/core/bundled-agents.js.map +1 -1
  88. package/dist/core/cache-diagnostics.d.ts +4 -0
  89. package/dist/core/cache-diagnostics.js +4 -1
  90. package/dist/core/cache-diagnostics.js.map +1 -1
  91. package/dist/core/cache-expiry.d.ts +2 -0
  92. package/dist/core/cache-expiry.js +6 -0
  93. package/dist/core/cache-expiry.js.map +1 -1
  94. package/dist/core/checklist-items.d.ts +0 -8
  95. package/dist/core/checklist-items.js +0 -8
  96. package/dist/core/checklist-items.js.map +1 -1
  97. package/dist/core/checkpoint-store.d.ts +17 -0
  98. package/dist/core/checkpoint-store.js +72 -0
  99. package/dist/core/checkpoint-store.js.map +1 -1
  100. package/dist/core/claude-code/complete.d.ts +33 -0
  101. package/dist/core/claude-code/complete.js +112 -0
  102. package/dist/core/claude-code/complete.js.map +1 -0
  103. package/dist/core/claude-code/events.d.ts +65 -0
  104. package/dist/core/claude-code/events.js +434 -0
  105. package/dist/core/claude-code/events.js.map +1 -0
  106. package/dist/core/claude-code/live-session.d.ts +92 -0
  107. package/dist/core/claude-code/live-session.js +519 -0
  108. package/dist/core/claude-code/live-session.js.map +1 -0
  109. package/dist/core/claude-code/loop.d.ts +9 -0
  110. package/dist/core/claude-code/loop.js +15 -0
  111. package/dist/core/claude-code/loop.js.map +1 -0
  112. package/dist/core/claude-code/session-sync.d.ts +28 -0
  113. package/dist/core/claude-code/session-sync.js +53 -0
  114. package/dist/core/claude-code/session-sync.js.map +1 -0
  115. package/dist/core/claude-code/tool-bridge.d.ts +49 -0
  116. package/dist/core/claude-code/tool-bridge.js +352 -0
  117. package/dist/core/claude-code/tool-bridge.js.map +1 -0
  118. package/dist/core/claude-code-version.d.ts +1 -1
  119. package/dist/core/claude-code-version.js +1 -1
  120. package/dist/core/claude-code-version.js.map +1 -1
  121. package/dist/core/code-retrieval.d.ts +1 -1
  122. package/dist/core/code-retrieval.js +2 -2
  123. package/dist/core/code-retrieval.js.map +1 -1
  124. package/dist/core/compaction/compactor.d.ts +25 -1
  125. package/dist/core/compaction/compactor.js +137 -7
  126. package/dist/core/compaction/compactor.js.map +1 -1
  127. package/dist/core/compaction/policy.d.ts +18 -0
  128. package/dist/core/compaction/policy.js +24 -5
  129. package/dist/core/compaction/policy.js.map +1 -1
  130. package/dist/core/compaction/tool-result-pruner.d.ts +10 -0
  131. package/dist/core/compaction/tool-result-pruner.js +14 -0
  132. package/dist/core/compaction/tool-result-pruner.js.map +1 -1
  133. package/dist/core/env-delta.d.ts +3 -3
  134. package/dist/core/env-delta.js +4 -5
  135. package/dist/core/env-delta.js.map +1 -1
  136. package/dist/core/goals-store.d.ts +9 -0
  137. package/dist/core/goals-store.js +111 -50
  138. package/dist/core/goals-store.js.map +1 -1
  139. package/dist/core/internal-diagnostics.d.ts +17 -0
  140. package/dist/core/internal-diagnostics.js +45 -0
  141. package/dist/core/internal-diagnostics.js.map +1 -1
  142. package/dist/core/language-detector.d.ts +2 -3
  143. package/dist/core/language-detector.js.map +1 -1
  144. package/dist/core/local-endpoint-store.d.ts +4 -0
  145. package/dist/core/local-endpoint-store.js +31 -15
  146. package/dist/core/local-endpoint-store.js.map +1 -1
  147. package/dist/core/logger.d.ts +5 -0
  148. package/dist/core/logger.js +10 -2
  149. package/dist/core/logger.js.map +1 -1
  150. package/dist/core/lsp/edit-telemetry.js +3 -1
  151. package/dist/core/lsp/edit-telemetry.js.map +1 -1
  152. package/dist/core/lsp/manager.d.ts +15 -0
  153. package/dist/core/lsp/manager.js +31 -0
  154. package/dist/core/lsp/manager.js.map +1 -1
  155. package/dist/core/mcp/deferred-catalog.d.ts +1 -1
  156. package/dist/core/mcp/deferred-catalog.js +1 -1
  157. package/dist/core/openrouter-catalog-store.d.ts +24 -0
  158. package/dist/core/openrouter-catalog-store.js +140 -0
  159. package/dist/core/openrouter-catalog-store.js.map +1 -0
  160. package/dist/core/plan-delta.d.ts +23 -0
  161. package/dist/core/plan-delta.js +36 -0
  162. package/dist/core/plan-delta.js.map +1 -0
  163. package/dist/core/process-gate.d.ts +17 -0
  164. package/dist/core/process-gate.js +24 -0
  165. package/dist/core/process-gate.js.map +1 -1
  166. package/dist/core/project-discovery.js +2 -2
  167. package/dist/core/project-discovery.js.map +1 -1
  168. package/dist/core/project-files.js +1 -1
  169. package/dist/core/project-files.js.map +1 -1
  170. package/dist/core/prompt-commands.js +41 -75
  171. package/dist/core/prompt-commands.js.map +1 -1
  172. package/dist/core/radio-players.d.ts +28 -0
  173. package/dist/core/radio-players.js +133 -0
  174. package/dist/core/radio-players.js.map +1 -0
  175. package/dist/core/radio.js +20 -3
  176. package/dist/core/radio.js.map +1 -1
  177. package/dist/core/runtime-mode.d.ts +9 -0
  178. package/dist/core/runtime-mode.js +26 -0
  179. package/dist/core/runtime-mode.js.map +1 -1
  180. package/dist/core/session-history.d.ts +7 -0
  181. package/dist/core/session-history.js +34 -2
  182. package/dist/core/session-history.js.map +1 -1
  183. package/dist/core/session-manager.d.ts +5 -1
  184. package/dist/core/session-manager.js +36 -7
  185. package/dist/core/session-manager.js.map +1 -1
  186. package/dist/core/session-preview.js +2 -2
  187. package/dist/core/session-preview.js.map +1 -1
  188. package/dist/core/session-summary-index.d.ts +18 -4
  189. package/dist/core/session-summary-index.js +28 -8
  190. package/dist/core/session-summary-index.js.map +1 -1
  191. package/dist/core/settings-manager.d.ts +7 -0
  192. package/dist/core/settings-manager.js +53 -7
  193. package/dist/core/settings-manager.js.map +1 -1
  194. package/dist/core/shell.d.ts +4 -0
  195. package/dist/core/shell.js +15 -1
  196. package/dist/core/shell.js.map +1 -1
  197. package/dist/core/skills.d.ts +8 -0
  198. package/dist/core/skills.js +15 -5
  199. package/dist/core/skills.js.map +1 -1
  200. package/dist/core/steering.d.ts +4 -0
  201. package/dist/core/steering.js +8 -1
  202. package/dist/core/steering.js.map +1 -1
  203. package/dist/core/stream-diag-level.d.ts +3 -0
  204. package/dist/core/stream-diag-level.js +24 -0
  205. package/dist/core/stream-diag-level.js.map +1 -0
  206. package/dist/core/subagent-manager.d.ts +11 -0
  207. package/dist/core/subagent-manager.js +16 -4
  208. package/dist/core/subagent-manager.js.map +1 -1
  209. package/dist/core/subagent-policy.d.ts +6 -0
  210. package/dist/core/subagent-policy.js +22 -3
  211. package/dist/core/subagent-policy.js.map +1 -1
  212. package/dist/core/subagent-receipt.d.ts +3 -3
  213. package/dist/core/subagent-receipt.js +6 -9
  214. package/dist/core/subagent-receipt.js.map +1 -1
  215. package/dist/core/trophies/catalog-more.js +16 -36
  216. package/dist/core/trophies/catalog-more.js.map +1 -1
  217. package/dist/core/trophies/engine.js +0 -4
  218. package/dist/core/trophies/engine.js.map +1 -1
  219. package/dist/core/trophies/types.d.ts +1 -1
  220. package/dist/core/trophies/types.js +0 -2
  221. package/dist/core/trophies/types.js.map +1 -1
  222. package/dist/core/user-shell-context.d.ts +8 -0
  223. package/dist/core/user-shell-context.js +12 -0
  224. package/dist/core/user-shell-context.js.map +1 -0
  225. package/dist/core/verify-commands.d.ts +1 -1
  226. package/dist/goals-agent/goal-team.js +3 -4
  227. package/dist/goals-agent/goal-team.js.map +1 -1
  228. package/dist/goals-agent/goals-agent.d.ts +1 -1
  229. package/dist/goals-agent/goals-agent.js +4 -3
  230. package/dist/goals-agent/goals-agent.js.map +1 -1
  231. package/dist/modes/acp-mode.d.ts +1 -1
  232. package/dist/modes/acp-mode.js +4 -5
  233. package/dist/modes/acp-mode.js.map +1 -1
  234. package/dist/modes/agent-home-mode.js +5 -5
  235. package/dist/modes/agent-home-mode.js.map +1 -1
  236. package/dist/modes/json-mode.js +5 -0
  237. package/dist/modes/json-mode.js.map +1 -1
  238. package/dist/modes/serve-mode.js +5 -5
  239. package/dist/modes/serve-mode.js.map +1 -1
  240. package/dist/motion-agent/motion-agent.d.ts +12 -5
  241. package/dist/motion-agent/motion-agent.js +24 -9
  242. package/dist/motion-agent/motion-agent.js.map +1 -1
  243. package/dist/subagent-entry.d.ts +1 -0
  244. package/dist/subagent-entry.js +50 -0
  245. package/dist/subagent-entry.js.map +1 -0
  246. package/dist/system-prompt.d.ts +6 -3
  247. package/dist/system-prompt.js +24 -15
  248. package/dist/system-prompt.js.map +1 -1
  249. package/dist/tools/ask-user.js +3 -2
  250. package/dist/tools/ask-user.js.map +1 -1
  251. package/dist/tools/bash.d.ts +7 -0
  252. package/dist/tools/bash.js +23 -8
  253. package/dist/tools/bash.js.map +1 -1
  254. package/dist/tools/checklist.js +6 -11
  255. package/dist/tools/checklist.js.map +1 -1
  256. package/dist/tools/debug.js +6 -9
  257. package/dist/tools/debug.js.map +1 -1
  258. package/dist/tools/document-text.d.ts +6 -0
  259. package/dist/tools/document-text.js +154 -0
  260. package/dist/tools/document-text.js.map +1 -0
  261. package/dist/tools/enter-plan.js +4 -7
  262. package/dist/tools/enter-plan.js.map +1 -1
  263. package/dist/tools/find.d.ts +9 -0
  264. package/dist/tools/find.js +38 -1
  265. package/dist/tools/find.js.map +1 -1
  266. package/dist/tools/generate-image.d.ts +18 -0
  267. package/dist/tools/generate-image.js +208 -17
  268. package/dist/tools/generate-image.js.map +1 -1
  269. package/dist/tools/goals.d.ts +2 -2
  270. package/dist/tools/index.d.ts +5 -2
  271. package/dist/tools/index.js +5 -13
  272. package/dist/tools/index.js.map +1 -1
  273. package/dist/tools/operations.js +1 -1
  274. package/dist/tools/operations.js.map +1 -1
  275. package/dist/tools/overflow.d.ts +2 -0
  276. package/dist/tools/overflow.js +10 -0
  277. package/dist/tools/overflow.js.map +1 -1
  278. package/dist/tools/prompt-hints.d.ts +2 -0
  279. package/dist/tools/prompt-hints.js +16 -9
  280. package/dist/tools/prompt-hints.js.map +1 -1
  281. package/dist/tools/read.js +25 -10
  282. package/dist/tools/read.js.map +1 -1
  283. package/dist/tools/routine-output.d.ts +10 -1
  284. package/dist/tools/routine-output.js +79 -1
  285. package/dist/tools/routine-output.js.map +1 -1
  286. package/dist/tools/screenshot.js +6 -10
  287. package/dist/tools/screenshot.js.map +1 -1
  288. package/dist/tools/side-web-search.d.ts +35 -0
  289. package/dist/tools/side-web-search.js +147 -0
  290. package/dist/tools/side-web-search.js.map +1 -0
  291. package/dist/tools/skill.d.ts +2 -0
  292. package/dist/tools/skill.js +33 -6
  293. package/dist/tools/skill.js.map +1 -1
  294. package/dist/tools/steroids.d.ts +7 -6
  295. package/dist/tools/steroids.js +193 -87
  296. package/dist/tools/steroids.js.map +1 -1
  297. package/dist/tools/subagent-control.js +66 -10
  298. package/dist/tools/subagent-control.js.map +1 -1
  299. package/dist/tools/subagent-shared.d.ts +19 -2
  300. package/dist/tools/subagent-shared.js +35 -10
  301. package/dist/tools/subagent-shared.js.map +1 -1
  302. package/dist/tools/subagent.js +23 -7
  303. package/dist/tools/subagent.js.map +1 -1
  304. package/dist/tools/tool-search.js +7 -1
  305. package/dist/tools/tool-search.js.map +1 -1
  306. package/dist/tools/tool-tiers.d.ts +3 -2
  307. package/dist/tools/tool-tiers.js +7 -5
  308. package/dist/tools/tool-tiers.js.map +1 -1
  309. package/dist/tools/truncate.js +4 -8
  310. package/dist/tools/truncate.js.map +1 -1
  311. package/dist/tools/web-fetch.d.ts +8 -0
  312. package/dist/tools/web-fetch.js +123 -17
  313. package/dist/tools/web-fetch.js.map +1 -1
  314. package/dist/tools/web-search.d.ts +3 -2
  315. package/dist/tools/web-search.js +25 -1
  316. package/dist/tools/web-search.js.map +1 -1
  317. package/dist/ui/App.js +37 -37
  318. package/dist/ui/App.js.map +1 -1
  319. package/dist/ui/components/Footer.js +4 -1
  320. package/dist/ui/components/Footer.js.map +1 -1
  321. package/dist/ui/components/SkillsOverlay.js +2 -1
  322. package/dist/ui/components/SkillsOverlay.js.map +1 -1
  323. package/dist/ui/hooks/useAgentLoop.d.ts +3 -0
  324. package/dist/ui/hooks/useAgentLoop.js +54 -4
  325. package/dist/ui/hooks/useAgentLoop.js.map +1 -1
  326. package/dist/ui/hooks/useContextCompaction.js +1 -0
  327. package/dist/ui/hooks/useContextCompaction.js.map +1 -1
  328. package/dist/ui/language-pack-update.d.ts +25 -0
  329. package/dist/ui/language-pack-update.js +19 -0
  330. package/dist/ui/language-pack-update.js.map +1 -0
  331. package/dist/ui/terminal-history.js +3 -1
  332. package/dist/ui/terminal-history.js.map +1 -1
  333. package/dist/utils/http-body.d.ts +5 -0
  334. package/dist/utils/http-body.js +5 -0
  335. package/dist/utils/http-body.js.map +1 -1
  336. package/dist/utils/image.d.ts +11 -0
  337. package/dist/utils/image.js +34 -1
  338. package/dist/utils/image.js.map +1 -1
  339. package/dist/utils/plan-steps.d.ts +1 -0
  340. package/dist/utils/plan-steps.js +10 -0
  341. package/dist/utils/plan-steps.js.map +1 -1
  342. package/dist/utils/prompt-enhancer.d.ts +3 -1
  343. package/dist/utils/prompt-enhancer.js +21 -16
  344. package/dist/utils/prompt-enhancer.js.map +1 -1
  345. package/package.json +24 -7
  346. package/assets/skills/clarify/SKILL.md +0 -39
  347. package/assets/skills/code-review/SKILL.md +0 -88
  348. package/assets/skills/code-review/references/agent-diffs.md +0 -27
  349. package/assets/skills/code-review/references/tests.md +0 -19
  350. package/assets/skills/evidence-led-ui/LICENSES.md +0 -80
  351. package/assets/skills/evidence-led-ui/SKILL.md +0 -100
  352. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/LICENSE +0 -21
  353. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/airbnb/DESIGN.md +0 -545
  354. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/airtable/DESIGN.md +0 -554
  355. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/apple/DESIGN.md +0 -562
  356. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/binance/DESIGN.md +0 -634
  357. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/bmw/DESIGN.md +0 -544
  358. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/bmw-m/DESIGN.md +0 -503
  359. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/bugatti/DESIGN.md +0 -454
  360. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/cal/DESIGN.md +0 -542
  361. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/claude/DESIGN.md +0 -589
  362. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/clay/DESIGN.md +0 -541
  363. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/clickhouse/DESIGN.md +0 -544
  364. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/cohere/DESIGN.md +0 -451
  365. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/coinbase/DESIGN.md +0 -570
  366. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/composio/DESIGN.md +0 -506
  367. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/cursor/DESIGN.md +0 -537
  368. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/dell-1996/DESIGN.md +0 -632
  369. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/elevenlabs/DESIGN.md +0 -504
  370. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/expo/DESIGN.md +0 -526
  371. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/ferrari/DESIGN.md +0 -531
  372. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/figma/DESIGN.md +0 -578
  373. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/framer/DESIGN.md +0 -544
  374. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/hashicorp/DESIGN.md +0 -575
  375. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/hp/DESIGN.md +0 -670
  376. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/ibm/DESIGN.md +0 -550
  377. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/intercom/DESIGN.md +0 -546
  378. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/kraken/DESIGN.md +0 -125
  379. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/lamborghini/DESIGN.md +0 -288
  380. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/linear.app/DESIGN.md +0 -548
  381. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/lovable/DESIGN.md +0 -298
  382. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/mastercard/DESIGN.md +0 -365
  383. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/meta/DESIGN.md +0 -683
  384. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/minimax/DESIGN.md +0 -746
  385. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/mintlify/DESIGN.md +0 -852
  386. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/miro/DESIGN.md +0 -825
  387. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/mistral.ai/DESIGN.md +0 -773
  388. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/mongodb/DESIGN.md +0 -767
  389. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/nike/DESIGN.md +0 -575
  390. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/nintendo-2001/DESIGN.md +0 -649
  391. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/notion/DESIGN.md +0 -821
  392. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/nvidia/DESIGN.md +0 -640
  393. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/ollama/DESIGN.md +0 -539
  394. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/opencode.ai/DESIGN.md +0 -521
  395. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/pinterest/DESIGN.md +0 -597
  396. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/playstation/DESIGN.md +0 -661
  397. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/posthog/DESIGN.md +0 -690
  398. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/raycast/DESIGN.md +0 -669
  399. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/renault/DESIGN.md +0 -589
  400. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/replicate/DESIGN.md +0 -616
  401. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/resend/DESIGN.md +0 -585
  402. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/revolut/DESIGN.md +0 -636
  403. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/runwayml/DESIGN.md +0 -244
  404. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/sanity/DESIGN.md +0 -357
  405. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/sentry/DESIGN.md +0 -551
  406. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/shopify/DESIGN.md +0 -516
  407. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/slack/DESIGN.md +0 -482
  408. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/spacex/DESIGN.md +0 -363
  409. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/spotify/DESIGN.md +0 -246
  410. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/starbucks/DESIGN.md +0 -580
  411. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/stripe/DESIGN.md +0 -487
  412. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/supabase/DESIGN.md +0 -462
  413. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/superhuman/DESIGN.md +0 -448
  414. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/tesla/DESIGN.md +0 -286
  415. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/theverge/DESIGN.md +0 -339
  416. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/together.ai/DESIGN.md +0 -633
  417. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/uber/DESIGN.md +0 -636
  418. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/vercel/DESIGN.md +0 -736
  419. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/vodafone/DESIGN.md +0 -538
  420. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/voltagent/DESIGN.md +0 -521
  421. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/warp/DESIGN.md +0 -526
  422. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/webflow/DESIGN.md +0 -588
  423. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/wired/DESIGN.md +0 -497
  424. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/wise/DESIGN.md +0 -544
  425. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/x.ai/DESIGN.md +0 -465
  426. package/assets/skills/evidence-led-ui/corpus/awesome-design-md/design-md/zapier/DESIGN.md +0 -537
  427. package/assets/skills/evidence-led-ui/data/corpus-manifest.json +0 -768
  428. package/assets/skills/evidence-led-ui/data/observations.json +0 -47053
  429. package/assets/skills/evidence-led-ui/references/anti-defaults.md +0 -110
  430. package/assets/skills/evidence-led-ui/references/archetypes.md +0 -97
  431. package/assets/skills/evidence-led-ui/references/craft-rulings.md +0 -242
  432. package/assets/skills/evidence-led-ui/references/direction.md +0 -124
  433. package/assets/skills/evidence-led-ui/references/methodology.md +0 -72
  434. package/assets/skills/evidence-led-ui/references/observed-patterns.md +0 -68
  435. package/assets/skills/evidence-led-ui/references/production-contract.md +0 -148
  436. package/assets/skills/evidence-led-ui/references/provenance.md +0 -142
  437. package/assets/skills/evidence-led-ui/references/quality-rubric.md +0 -126
  438. package/assets/skills/evidence-led-ui/references/ui-libraries.md +0 -30
  439. package/assets/skills/refactoring/SKILL.md +0 -87
  440. package/assets/skills/refactoring/references/agent-pitfalls.md +0 -46
  441. package/assets/skills/refactoring/references/legacy.md +0 -70
  442. package/assets/skills/refactoring/references/smells.md +0 -71
  443. package/assets/skills/root-cause/SKILL.md +0 -46
  444. package/assets/skills/shared-language/SKILL.md +0 -32
  445. package/assets/skills/tdd/SKILL.md +0 -42
  446. package/dist/core/setup-history.d.ts +0 -6
  447. package/dist/core/setup-history.js +0 -55
  448. package/dist/core/setup-history.js.map +0 -1
  449. package/dist/core/style-packs/index.d.ts +0 -18
  450. package/dist/core/style-packs/index.js +0 -60
  451. package/dist/core/style-packs/index.js.map +0 -1
  452. package/dist/core/style-packs/packs.d.ts +0 -8
  453. package/dist/core/style-packs/packs.js +0 -188
  454. package/dist/core/style-packs/packs.js.map +0 -1
  455. package/dist/interactive.d.ts +0 -2
  456. package/dist/interactive.js +0 -257
  457. package/dist/interactive.js.map +0 -1
  458. package/dist/motion-agent/motion-review-coverage.d.ts +0 -12
  459. package/dist/motion-agent/motion-review-coverage.js +0 -33
  460. package/dist/motion-agent/motion-review-coverage.js.map +0 -1
  461. package/dist/motion-agent/motion-review-session.d.ts +0 -65
  462. package/dist/motion-agent/motion-review-session.js +0 -422
  463. package/dist/motion-agent/motion-review-session.js.map +0 -1
  464. package/dist/tools/code-nav.d.ts +0 -29
  465. package/dist/tools/code-nav.js +0 -299
  466. package/dist/tools/code-nav.js.map +0 -1
  467. package/dist/tools/code-skeleton.d.ts +0 -28
  468. package/dist/tools/code-skeleton.js +0 -115
  469. package/dist/tools/code-skeleton.js.map +0 -1
  470. package/dist/tools/search-code.d.ts +0 -10
  471. package/dist/tools/search-code.js +0 -90
  472. package/dist/tools/search-code.js.map +0 -1
  473. package/dist/ui/stores/index.d.ts +0 -2
  474. package/dist/ui/stores/index.js +0 -3
  475. package/dist/ui/stores/index.js.map +0 -1
  476. package/dist/utils/format.d.ts +0 -16
  477. package/dist/utils/format.js +0 -159
  478. package/dist/utils/format.js.map +0 -1
  479. package/dist/utils/shell.d.ts +0 -2
  480. package/dist/utils/shell.js +0 -8
  481. package/dist/utils/shell.js.map +0 -1
package/package.json CHANGED
@@ -1,8 +1,19 @@
1
1
  {
2
2
  "name": "@prestyj/cli",
3
- "version": "5.32.2",
3
+ "version": "5.33.0",
4
4
  "type": "module",
5
- "description": "Lean CLI coding agent for 12 LLM providers and local models, with OAuth for Anthropic, OpenAI and Gemini",
5
+ "description": "The engine and CLI behind the EZ Coder desktop app: a lean coding agent for Claude, ChatGPT, Grok, Kimi, 12 providers and local models.",
6
+ "author": "Nolan Grout",
7
+ "keywords": [
8
+ "coding-agent",
9
+ "ai",
10
+ "cli",
11
+ "llm",
12
+ "claude",
13
+ "openai",
14
+ "agent",
15
+ "terminal"
16
+ ],
6
17
  "license": "MIT",
7
18
  "engines": {
8
19
  "node": ">=22"
@@ -12,6 +23,10 @@
12
23
  "url": "git+https://github.com/Gahroot/ezcoder.git",
13
24
  "directory": "packages/cli"
14
25
  },
26
+ "homepage": "https://github.com/Gahroot/ezcoder/tree/main/packages/cli#readme",
27
+ "bugs": {
28
+ "url": "https://github.com/Gahroot/ezcoder/issues"
29
+ },
15
30
  "bin": {
16
31
  "ezcoder": "./dist/cli.js"
17
32
  },
@@ -95,6 +110,7 @@
95
110
  ],
96
111
  "dependencies": {
97
112
  "@anthropic-ai/sandbox-runtime": "0.0.78",
113
+ "@anthropic-ai/claude-agent-sdk": "0.3.318",
98
114
  "@jridgewell/trace-mapping": "^0.3.25",
99
115
  "@kenkaiiii/agent-home-sdk": "^0.3.8",
100
116
  "@modelcontextprotocol/client": "^2.0.0",
@@ -115,10 +131,10 @@
115
131
  "typescript-language-server": "^5.3.0",
116
132
  "wrap-ansi": "^10.0.0",
117
133
  "zod": "^4.5.4",
118
- "@prestyj/agent": "5.32.2",
119
- "@prestyj/ai": "5.32.2",
120
- "@prestyj/pixel": "4.3.101",
121
- "@prestyj/core": "5.32.2"
134
+ "@prestyj/agent": "5.33.0",
135
+ "@prestyj/ai": "5.33.0",
136
+ "@prestyj/core": "5.33.0",
137
+ "@prestyj/pixel": "4.3.101"
122
138
  },
123
139
  "optionalDependencies": {
124
140
  "@huggingface/transformers": "4.2.0",
@@ -153,6 +169,7 @@
153
169
  "verify:goal:tests": "vitest run src/core/goal-controller.test.ts src/core/goal-engine.test.ts src/core/goal-store.test.ts src/core/goal-integration.test.ts src/core/goal-prerequisites.test.ts src/core/goal-verifier.test.ts src/core/goal-worker.test.ts src/core/goal-worker-dev-server-lifecycle.test.ts src/core/goal-worktree.test.ts src/core/goal-lifecycle-smoke.test.ts src/tools/goals.test.ts src/tools/goal-mode.test.ts src/ui/goal-events.test.ts src/ui/goal-lifecycle-orchestration.test.ts src/ui/goal-overlay.test.ts src/ui/goal-status-bar.test.ts src/system-prompt.test.ts",
154
170
  "verify:goal:overhead": "tsx scripts/verify-goal-overhead-harness.ts",
155
171
  "goal:overhead-audit": "tsx scripts/verify-goal-overhead-audit.ts",
156
- "verify:goal:e2e": "pnpm dlx tsx scripts/verify-goal-e2e.ts"
172
+ "verify:goal:e2e": "pnpm dlx tsx scripts/verify-goal-e2e.ts",
173
+ "bench:context": "tsx src/core/context-policy-benchmark.ts"
157
174
  }
158
175
  }
@@ -1,39 +0,0 @@
1
- ---
2
- name: clarify
3
- description: Use when requirements are genuinely unsettled. Do NOT use for routine work.
4
- ---
5
-
6
- # Clarify
7
-
8
- Decision-forcing, not permission-asking. Pick the mode:
9
-
10
- - **Quick gate** (mid-build, a blocking decision appears) → one `ask_user` call with every blocking question; keep building everything that does not depend on the answer. Never halt the whole task at one branch point.
11
- - **Full interview** (user asks to refine a plan/spec/design) → run the rounds below.
12
-
13
- ## Rules for every question
14
-
15
- 1. **Never ask for facts.** If reading code, running a command, or checking docs can answer it, do that instead. Only decisions reach the user: product calls, taste, tradeoffs with real stakes.
16
- 2. **Ask only the frontier.** A question is on the frontier when every decision it depends on is settled ("needs persistence?" before "which database?"). Never re-ask a settled decision.
17
- 3. **One `ask_user` call per round, never prose questions.** Each question: clickable options, your recommended option first and marked, a one-line reason, and the **default** you will apply if skipped ("Default if skipped: SQLite").
18
- 4. **Show behaviour choices as examples.** When options differ in behaviour, give one concrete case per option ("Given an empty cart, When checkout is pressed, Then …"). Examples expose disagreement that abstract wording hides.
19
-
20
- ## Full-interview rounds
21
-
22
- 1. Investigate first; list open decisions; keep only the frontier.
23
- 2. Ask the round (rule 3).
24
- 3. Record answers as one-line facts — `Settled: dark theme only`. Skipped questions settle to their stated default.
25
- 4. Repeat until a round yields no new frontier questions.
26
- 5. Close: print the decision list plus Given/When/Then acceptance examples for each load-bearing behaviour, then build (or hand back if the user only wanted the plan).
27
-
28
- Hand-offs (shared-language skill): newly settled domain terms → glossary; a decision that is hard to reverse, surprising, and a real tradeoff → offer an ADR.
29
-
30
- ## Do not
31
-
32
- - Drip one question per reply — batch the round.
33
- - Ask about futures nobody has committed to; ask only what is load-bearing for work about to start.
34
-
35
- ## Scaling: one agent or several
36
-
37
- Main thread only. Fact-finding spanning several packages may go to `owl` (repo) or `researcher` (web) children in one `spawn_agent` call; the interview itself is never delegated.
38
-
39
- Sources (accessed 3 October 2026): Given-When-Then — https://martinfowler.com/bliki/GivenWhenThen.html
@@ -1,88 +0,0 @@
1
- ---
2
- name: code-review
3
- description: Use when asked to review a diff, PR or finished work. Do NOT use mid-build.
4
- ---
5
-
6
- # Code Review
7
-
8
- **Route first:**
9
-
10
- | Situation | Mode | Next |
11
- |---|---|---|
12
- | Small diff: one concern, ≲ ~400 changed lines, few files | **Single pass** | Method below; both axes yourself, spec first, then standards |
13
- | Large diff, multi-package PR, or many unrelated concerns | **Fan-out** | Build the ledger, then `## Scaling` |
14
- | Diff written by an agent (including you, this session) | Either mode **+ agent checks** | Also run `references/agent-diffs.md` |
15
- | User asks "is it secure?" | Defer | Load the `bulletproof` skill — do not audit security here |
16
-
17
- Two questions, kept separate because each contaminates the other:
18
-
19
- 1. **Spec axis** — does the change do what was asked, completely, and nothing unasked?
20
- 2. **Standards axis** — does it meet how this repo builds: design, correctness, error handling, tests, naming, dead code, scope?
21
-
22
- ## Method
23
-
24
- 1. **Pre-flight.** Resolve the exact ref/range (`git diff --stat <base>...<head>`) and confirm it is non-empty BEFORE review work — a bad ref must fail here. Read the motivating request/issue/task first; spec compliance cannot be judged without the spec. No spec available → say so and review standards only.
25
- 2. **Claims ledger.** List every claim from the PR description, commit messages, or the agent's "done" report ("adds X", "fixes Y", "tests pass", "no behaviour change"). Each row ends `verified (file:line or command output)` / `contradicted` / `unverifiable`. A claim with no matching hunk is a **[spec]** finding.
26
- 3. **Run what is cheap.** Typecheck, lint, affected tests — the commands CI uses. Record the actual result. Never write "tests pass" from reading.
27
- 4. **Read the whole diff, then the context.** Every changed line, plus callers of changed signatures (`code_nav references`). Start with design: does the change belong here, at this layer, now? (Google eng-practices ranks design first.)
28
- 5. **Spec pass, then standards pass.** Never interleave. Standards baseline below; agent failure modes in `references/agent-diffs.md`; test quality in `references/tests.md`.
29
- 6. **Report, then fix what the user selects.** Never auto-apply fixes mid-review.
30
-
31
- ## Findings format
32
-
33
- One line each, anchored and actionable:
34
-
35
- `[severity] [spec|standards] path/file.ts:42 — problem. Why it matters. Fix: concrete change.`
36
-
37
- | Severity | Means | Example |
38
- |---|---|---|
39
- | **blocking** | Must change before merge | Wrong behaviour, missing requirement, deleted/weakened test, swallowed error, hallucinated API or package |
40
- | **non-blocking** | Should change; may follow up | Duplicate helper, weak assertion on a non-critical path |
41
- | **nit** | Optional polish | Naming, local readability |
42
- | **question** | You cannot tell; author must answer | Unclear intent, unverifiable claim |
43
-
44
- Rules:
45
- - Keep **[spec]** and **[standards]** as two separate lists — never merge the lists into one ranking; the axes are not comparable and merging re-ranks by noise. Order by severity within each list.
46
- - Every finding cites a `file:line` you re-opened yourself. No line → it is a **question**, not a finding.
47
- - Comment on the code, not the author; say why.
48
- - Skip what tooling already enforces — if lint/CI catches it, it is noise.
49
- - Security: one line, `[defer → bulletproof] file:line — what looked risky`. Do not rate or fix it here.
50
-
51
- ## Standards baseline (when the repo defines none)
52
-
53
- - **Design:** abstraction with one caller; logic in the wrong layer; new dependency where stdlib or an installed package does it.
54
- - **Correctness:** boundary/off-by-one, null/empty handling, ordering/concurrency changes, error paths.
55
- - **Errors:** I/O and external calls without handling; broad `catch` that swallows or logs-and-continues.
56
- - **Tests:** behaviour change without a test; tests that assert internals or nothing (`references/tests.md`).
57
- - **Hygiene:** dead code, commented-out blocks, debug prints, names that hide intent, secrets in the diff.
58
- - **Suppression:** skipped tests, `as any`/`@ts-ignore`/`noqa`/`eslint-disable`, relaxed thresholds, `continue-on-error` in CI.
59
- - **Scope:** files or refactors outside the request; config, lockfile, or CI changes nobody asked for.
60
-
61
- ## Verdict
62
-
63
- - **works as asked** / **works with gaps** (name them) / **not ready** (blocking reasons).
64
- - Claims ledger: N verified, N contradicted, N unverifiable.
65
- - What you ran (commands + result) and **what was not checked**.
66
-
67
- Never "looks good"/"LGTM" without stating what was and was not verified. Never certify a change safe or bug-free.
68
-
69
- ## Scaling: one agent or several
70
-
71
- | Situation | Do |
72
- |---|---|
73
- | Single-pass size (one concern, ≲ ~400 changed lines, few files) | Main thread only. Never spawn. |
74
- | Larger, multi-package, or > ~15 files | Main thread builds a **coverage ledger**: rows = lens (spec, standards/correctness, tests, agent checks) × file group (package/directory). Each row ends `checked-with-findings` / `checked-clean` / `not-checked(reason)`. |
75
- | Fan-out | ONE `spawn_agent` call, ≤ 6 read-only children per lens and/or file group: `owl` for reading; general-purpose child if it must run tests. |
76
- | Security-sensitive hunks (auth, input, secrets, deps, CI) | Route to bulletproof's protocol: `auditor` child briefed with the bulletproof skill root, then `skeptic` on its findings. |
77
- | High-stakes merge (release, > ~1,000 lines) | One fresh-context verifier child tries to disprove each blocking finding. |
78
-
79
- **Child brief** (children see nothing else): absolute skill root `…/assets/skills/code-review`; reference file(s) to read; the exact `git diff <base>...<head> -- <paths>` to run; its ledger rows; the spec text verbatim (spec lens) or the repo conventions (standards lens); the output schema — findings in the format above plus explicit `checked` and `not checked` lists. Read-only, no edits.
80
-
81
- **Merge:** a child that fails, times out, or omits a row → that row is `not checked`, never clean. Re-open every reported `file:line` before reporting it; drop what you cannot confirm. Dedupe across children. Keep spec and standards lists separate. Fixes afterwards are serialized in the main thread.
82
-
83
- ## Sources (SNAPSHOT, accessed 3 October 2026)
84
-
85
- - Google eng-practices — https://google.github.io/eng-practices/review/reviewer/looking-for.html, …/reviewer/comments.html, …/reviewer/standard.html, …/developer/small-cls.html
86
- - Conventional Comments (labels, blocking/non-blocking) — https://conventionalcomments.org/
87
- - Mutation-testing concept — https://stryker-mutator.io/docs/
88
- - Package hallucination — Spracklen et al., USENIX Security 2025 (arXiv:2406.10279); 2026 re-evaluation, not peer-reviewed (arXiv:2605.17062), via https://socket.dev/blog/slopsquatting-targets-across-frontier-llms
@@ -1,27 +0,0 @@
1
- # Agent-Generated Diffs: Failure Modes and Checks
2
-
3
- Run on any diff an agent wrote (including your own). Each row: what to look for → how to check → default severity.
4
-
5
- | Failure mode | Check | Severity |
6
- |---|---|---|
7
- | **Hallucinated package** | Every new dependency in a manifest: confirm it exists in the registry (`npm view <pkg>`, `pip index versions <pkg>`), is the intended project (not a look-alike name), and is actually imported. Install scripts → defer to bulletproof. | blocking |
8
- | **Hallucinated API / symbol** | Every newly called function, method, option, or flag: `code_nav definition`, or read the installed source in `node_modules`/site-packages for the pinned version. Typecheck passing is evidence only for typed code. | blocking |
9
- | **Weakened or deleted tests** | `git diff --stat -- '*test*' '*spec*'`. For each test hunk: removed assertions, loosened matchers (`toEqual`→`toBeDefined`, exact→`toContain`), widened tolerances, added `.skip`/`.only`/`xit`/`@pytest.mark.skip`, snapshots re-recorded without reason. | blocking unless justified in the PR |
10
- | **Mocked-away assertions** | Test mocks the very unit under test, or asserts only that a mock was called with whatever it was given. | blocking on critical paths |
11
- | **Swallowed errors** | New `try/catch` / `except Exception` that returns a default, logs and continues, or wraps a whole function. Compare with the code's previous error contract. | blocking |
12
- | **Dead code / duplicate helpers** | New function that duplicates an existing helper (`grep` the name's verbs, `code_search` the behaviour); unused exports, params, or branches left behind. | non-blocking |
13
- | **Scope creep / unrequested refactor** | Map every changed file to a requirement. Files with no requirement → list them. Renames/reformatting mixed with behaviour change → ask for a split. | non-blocking; blocking if it changes behaviour |
14
- | **Fake "done"** | Claims ledger (SKILL.md step 2): "tests pass" with no run; "handles X" with no hunk; TODO/placeholder/`throw new Error("not implemented")` left in. | blocking |
15
- | **Config / lockfile drift** | Lockfile changes without a manifest change (or vice versa); tsconfig/eslint/biome rules relaxed; CI steps removed or `continue-on-error` added; version bumps nobody asked for. | blocking for relaxed checks; question otherwise |
16
- | **Suppressions** | New `any`, `!`, `@ts-ignore`, `eslint-disable`, `# type: ignore`, `noqa`. Each needs a reason at the line. | non-blocking (blocking if hiding a failing check) |
17
- | **Generated / vendored edits** | Hand edits in `dist/`, generated, or vendored files. | blocking |
18
-
19
- ## Quick commands
20
-
21
- ```bash
22
- git diff --stat <base>...<head> # scope
23
- git diff <base>...<head> -- '*.lock' '*lock.json' '*.toml' 'package.json' # dependency drift
24
- git diff <base>...<head> | grep -nE '^\+.*(\.skip|\.only|xit\(|@ts-ignore|eslint-disable|as any|catch *\()'
25
- ```
26
-
27
- Grep hits are leads, not findings — open each at file:line before reporting.
@@ -1,19 +0,0 @@
1
- # Reviewing Tests
2
-
3
- Coverage says a line ran, not that a test would notice it breaking. Review tests with a mutation-testing mindset: "if I broke this line, which test fails?"
4
-
5
- ## Checks
6
-
7
- 1. **Each behaviour change has a test that fails without it.** Mentally revert the production hunk and trace which assertion would fail. None → the test does not cover the change. (Do not stash or reset the author's work to check; if a run is needed, ask first.)
8
- 2. **Mutation spot-check on critical lines** (money, auth, data writes, parsing boundaries): flip a comparison, drop a condition, return early. If a test framework exists (e.g. StrykerJS, mutmut, PIT), suggest running it on the changed files only; do not install it unasked.
9
- 3. **Assertion quality.** Flag:
10
- - no assertion, or only `toBeDefined`/`toBeTruthy`/`not.toThrow` where a value is knowable;
11
- - asserting a mock was called, with no check of the outcome;
12
- - snapshot of a huge object where one field matters;
13
- - assertions on private internals that block refactoring.
14
- 4. **Real seams.** Mocks only at external boundaries (network, clock, filesystem, randomness). Mocking the unit under test, or the module next to it, proves nothing.
15
- 5. **Edge cases present:** empty, null/undefined, boundary values, error path, concurrency/ordering when relevant.
16
- 6. **Determinism.** No real time, randomness, network, or test-order dependence. Flaky = blocking.
17
- 7. **Test diffs in a "no behaviour change" PR** need a stated reason; otherwise treat as weakened tests (see `agent-diffs.md` table).
18
-
19
- Report test findings under **[standards]** unless a required test the spec asked for is missing — that is **[spec]**.
@@ -1,80 +0,0 @@
1
- # Licenses and Attributions
2
-
3
- ## Distributed third-party material
4
-
5
- ### VoltAgent/awesome-design-md
6
-
7
- - Repository: https://github.com/VoltAgent/awesome-design-md
8
- - Pinned commit: `664b3e78fd1a298ba11973822da988483256d4b4`
9
- - License: MIT
10
- - Copyright: Copyright (c) 2026 VoltAgent
11
- - Included material: `corpus/awesome-design-md/design-md/*/DESIGN.md`
12
- - License copy: `corpus/awesome-design-md/LICENSE`
13
-
14
- The upstream files are provided “as is.” Their analyses of public websites do not transfer ownership of third-party trademarks, proprietary fonts, brand assets, or visual identities.
15
-
16
- ## Referenced but not distributed
17
-
18
- The following works informed research comparisons. Their source text, assets, databases, and code are not copied into this skill.
19
-
20
- ### Anthropic frontend-design
21
-
22
- - Source: https://github.com/anthropics/skills/tree/main/skills/frontend-design
23
- - Repository license: Apache License 2.0
24
- - Use here: process-level comparison only; the resulting workflow and wording are original synthesis.
25
-
26
- ### Leonxlnx/taste-skill
27
-
28
- - Source: https://github.com/Leonxlnx/taste-skill
29
- - License: MIT
30
- - Use here: research comparison of common landing-page failure patterns; no files copied.
31
-
32
- ### NextLevelBuilder/ui-ux-pro-max-skill
33
-
34
- - Source: https://github.com/nextlevelbuilder/ui-ux-pro-max-skill
35
- - License: MIT
36
- - Use here: research comparison of heuristic-database organization; no files copied.
37
-
38
-
39
- ## Standards and policy references
40
-
41
- ### WCAG 2.2
42
-
43
- - Source: https://www.w3.org/TR/WCAG22/
44
- - Status checked 2026-07-13: W3C Recommendation, 12 December 2024
45
- - Use here: linked accessibility conformance floor; W3C text is not redistributed.
46
-
47
- ### WCAG2ICT
48
-
49
- - Source: https://www.w3.org/TR/wcag2ict-22/
50
- - Status checked 2026-07-21: W3C Group Note; informative guidance for applying WCAG 2 Level A and AA to non-web software.
51
- - Use here: linked native-software accessibility guidance; W3C text is not redistributed.
52
-
53
- ### U.S. Department of Justice ADA web and mobile accessibility guidance
54
-
55
- - Sources: https://www.ada.gov/resources/web-guidance/ and https://www.ada.gov/resources/2024-03-08-web-rule/
56
- - Status checked 2026-07-21: current DOJ guidance and Title II rule fact sheet.
57
- - Use here: legal-context and equal-access boundary only; no source text is redistributed and no legal-compliance conclusion is inferred.
58
-
59
- ### WCAG 3.0
60
-
61
- - Source: https://www.w3.org/TR/wcag-3.0/
62
- - Status checked 2026-07-13: W3C Working Draft, 3 March 2026
63
- - Use here: status clarification only; it is not presented as the conformance target.
64
-
65
- ### Refero Styles
66
-
67
- - Site: https://styles.refero.design/
68
- - Robots policy checked: https://styles.refero.design/robots.txt on 2026-07-13
69
- - Included material: none
70
- - Allowed runtime use: authorized Refero MCP or user-provided licensed/authorized export only
71
-
72
- ## Icons, fonts, and design-system documentation
73
-
74
- Lucide, Material Symbols, Phosphor, Carbon Design System, Google Fonts, and web.dev are linked as implementation references in `references/craft-rulings.md` and `references/provenance.md`. No icon package source, font binary, design-system source, or documentation text from those projects is bundled in this skill. Implementations must follow the selected package/font license and the host project's dependency, privacy, CSP, and attribution policies.
75
-
76
- W3C WAI and Internationalization guidance, WHATWG HTML, MDN, web.dev Baseline and Web Vitals, DTCG, Apple, Android, FTC, OWASP, OpenAI Apps SDK UX guidance, Microsoft HAX, the Agent Skills specification, and Anthropic skill-authoring documentation are linked as production-practice or package-structure references. No source text, example code, platform asset, specification, or report from those sources is redistributed. Short numeric thresholds, standard names, and factual status descriptions are attributed in `references/provenance.md`.
77
-
78
- ## Original material
79
-
80
- `SKILL.md`, `scripts/*.mjs`, `data/observations.json`, `fixtures/briefs.json`, and `references/*.md` are original work produced for this installation, except for factual source names, links, measured corpus excerpts represented as short source slugs, and the third-party corpus listed above.
@@ -1,100 +0,0 @@
1
- ---
2
- name: evidence-led-ui
3
- description: Use when building or reviewing UI visuals. Do NOT use for behaviour-only changes.
4
- license: See LICENSES.md
5
- compatibility: Full review requires filesystem inspection and rendered screenshots (deferred `screenshot` tool); web research and device tooling are optional and unavailable checks must be reported as unverified.
6
- ---
7
-
8
- # Evidence-Led UI
9
-
10
- Pick your mode, then follow only that section:
11
-
12
- | Situation | Mode | Go to |
13
- | --- | --- | --- |
14
- | One control, state, border, icon inset, focus bug, or token tweak | Small edit | § Small-edit path |
15
- | New screen/page/component, redesign, or "make it look less generic" | Build | § Build loop |
16
- | "Review this UI", audit screens or flows, pre-ship look | Review | § Review mode |
17
-
18
- Every mode obeys § Binding defaults. Preserve the project's visual language unless the user asked for a redesign.
19
-
20
- ## Small-edit path
21
-
22
- Skip the design workflow, not verification:
23
-
24
- 1. Read the shared primitive, tokens, state rules, and callers. Reproduce the reported sequence before editing.
25
- 2. Focus, borders, glass, or dropdown icons: read `references/craft-rulings.md` § Control icon insets and § No sticky pointer focus. Find the rule that paints the defect before adding an override.
26
- 3. Fix the shared owner, not each screen. Check variants; remove superseded local treatments in scope. Added copy must pass § Copy must earn its space.
27
- 4. Run the applicable interaction regression matrix in `references/craft-rulings.md` via browser checks. Screenshots alone cannot pass interaction checks. Report actual evidence and unverified platforms.
28
-
29
- ## Build loop
30
-
31
- One design thesis, one author. Do not blend directions.
32
-
33
- 1. **Inspect.** Read nearest routes, components, tokens, type, icons, motion, and states. Reuse the local system; add no library just for a look. React and nothing local fits: read `references/ui-libraries.md` and use `ui_registry`/`ui_adopt` (via `tool_search`) for real Bklit/Kokonut source, never a lookalike.
34
- 2. **Content first.** Write real headline, labels, section copy, and realistic data (longest, empty, 0/1/many) before layout. Rank it. Delete sections with nothing true to say. Never invent metrics, testimonials, logos, or ratings; label fixtures. Details: `references/direction.md` § 1.
35
- 3. **Read the job.** Surface type, audience, single job, risk, platform, constraints. Infer from the project and state the inference; ask only for genuine taste or product decisions. Net-new or redesign: read the matching section of `references/archetypes.md`.
36
- 4. **Write the thesis** using the template in `references/direction.md` § 2: signature, type roles, OKLCH colour tokens with intended contrast pairs, spacing/density, radius/material, imagery, motion, rejected defaults. Broad work goes in `DESIGN.md`.
37
- 5. **Slop check the thesis** against `references/anti-defaults.md`. Every tell is replaced or justified with "This belongs because…". Run the neighbour test (§ 7 there).
38
- 6. **Plan states:** loading, empty, error, retry, success, disabled, destructive; hover, focus-visible, press, selected, expanded, pending; keyboard order, overlays, narrow/wide, reduced motion, zoom/reflow, long and localized text. Apply the accessibility sections of `references/production-contract.md`; the full contract for forms, navigation, data/AI, native, or release work.
39
- 7. **Implement** the complete flow with real content. Decision-critical information and the primary action stay visible or one obvious action away on desktop and mobile.
40
- 8. **Verify rendered output** (§ Rendered verification loop).
41
-
42
- ## Rendered verification loop
43
-
44
- 1. Load `screenshot` via `tool_search`. Capture desktop (~1440 px) and mobile (~390 px), plus key states.
45
- 2. Compare each capture against the written thesis line by line, then against `references/anti-defaults.md`.
46
- 3. Score with `references/quality-rubric.md`. Measure contrast of real rendered pairs; record pass/fail/unverified for applicable contract checks.
47
- 4. Fix the weakest criterion and every contract failure. Remove one decorative idea that does not serve the job. Re-capture.
48
- 5. Stop after one revision unless the gate still fails. Gate: **20/24 or higher**, no zero in accessibility, consistency and flow, responsive behaviour, state completeness, or content authenticity, and no applicable WCAG A/AA failure. Small components: 2 on every applicable floor criterion.
49
-
50
- No screenshot tool or browser available: say so, mark visual checks unverified, never claim the look was verified.
51
-
52
- ## Review mode
53
-
54
- Inspect code and rendered output. Return findings ordered by impact, each with screenshot or file:line evidence, label (`RUNTIME` observed, `CODE` read in source, `DEDUCED`, `SNAPSHOT` dated source), and the fix. Separate floor defects (accessibility, states, broken layout) from aesthetic opportunities (slop tells). Recommend one resolved direction.
55
-
56
- ## Binding defaults
57
-
58
- Details and fixes: `references/craft-rulings.md`.
59
-
60
- - **No emoji UI.** One coherent icon family; reuse the project's.
61
- - **Uniform geometry and one content rail.** Shared max-width, gutters, and breakpoint padding for nav, header, main, footer. Break alignment only for a stated content reason.
62
- - **Control icon insets.** Chevrons and trailing icons get a deliberate inline-end inset plus reserved text padding; never touch the edge or overlap text; logical properties for RTL.
63
- - **Reuse first.** Existing components, variants, tokens, focus rings, motion curves before new ones.
64
- - **Focus is not selection or decoration.** Diagnose the painted layer; one shared focus treatment separate from borders, glass, selected, expanded, error. No stacked rings. Prefer native `:focus-visible`; custom modality handling needs a reproduced defect and the regression matrix.
65
- - **No soft semantic tint-on-tint** unless requested or required by an existing variant.
66
- - **Motion:** no generic hover lift, no `transition: all`, named properties, tokens, reduced-motion path.
67
- - **Intentional type and colour:** see `references/direction.md`. Not Inter/violet-gradient by default on brand surfaces.
68
- - **Copy must earn its space.** No automatic subtitles, helper paragraphs, or footer notes; supporting text adds information the interface lacks. Named-outcome CTAs.
69
- - **No em dashes in UI copy** unless requested or exact supplied copy.
70
- - **WCAG 2.2 Level AA is the accessibility floor** for every applicable A/AA criterion across complete flows; native apps add WCAG2ICT and platform rules. Stricter project or legal rules win. Accessibility is never traded for aesthetics or speed.
71
- - **No unsupported accessibility claims.** Never say `ADA compliant`, `WCAG conformant`, or "accessible" from source review or scanners; that needs a defined scope, per-criterion evidence, manual keyboard and assistive-technology testing, and owner/legal review. Dated legal context: `references/production-contract.md` § 2.
72
-
73
- ## Scaling: one agent or several
74
-
75
- | Situation | Policy |
76
- | --- | --- |
77
- | Small edit, build, redesign | Main thread only. One thesis, one author; never split a design across children. |
78
- | Review of one or two flows you can render and read yourself | Main thread only. |
79
- | Review of many screens/flows, or several apps | Build a ledger: rows = flows/screens × {slop tells, states, accessibility contract, responsive}. Fan out read-only general-purpose children (they have the `skill` tool), one per disjoint flow, all in ONE `spawn_agent` call, ≤ 6 per wave. |
80
- | A dated legal or platform claim needs checking | One `researcher` child. |
81
-
82
- Each child brief contains: the absolute skill root path (the `Skill root directory` shown when this skill loaded), files to read (`references/anti-defaults.md`, `references/quality-rubric.md`, the accessibility sections of `references/production-contract.md`), the flow's routes and how to run the app, the ledger rows it owns, the instruction to capture desktop and mobile screenshots with the `screenshot` tool, the evidence labels, and the output schema: findings (screen, screenshot or file:line, label, severity, fix) plus explicit `checked` and `not checked` lists. Children do not edit.
83
-
84
- Merge: a failed, timed-out, or silent row is `not checked`, never clean. Re-open each reported file:line or re-capture before reporting it. Large pre-ship reviews get one fresh verifier child that tries to disprove the findings. Fixes stay on the main thread (or `bee` children on strictly disjoint files) against the single thesis; run checks once after merging.
85
-
86
- ## Reference map
87
-
88
- Load only what the task needs; resolve paths from the skill root.
89
-
90
- - `references/direction.md`: content-first, thesis template, type, OKLCH colour, spacing, imagery, motion, verified Baseline features, INP practice.
91
- - `references/anti-defaults.md`: slop tells with replacement moves and the neighbour test.
92
- - `references/craft-rulings.md`: icons, geometry, insets, focus vs selection, regression matrix, type loading, contrast, copy rules.
93
- - `references/production-contract.md`: pass/fail semantics, WCAG/ADA/EAA context, forms, performance, platform, trust, AI, release evidence.
94
- - `references/quality-rubric.md`: rendered scoring gate.
95
- - `references/ui-libraries.md`: Bklit/Kokonut adoption and Motion APIs.
96
- - `references/archetypes.md`: surface-specific direction and corpus source slugs.
97
- - `references/observed-patterns.md`: measured corpus observations; read only the section that answers a question; keep numerator/denominator with any claim.
98
- - `references/methodology.md`, `references/provenance.md`, `LICENSES.md`: method, sources, standards status, licences, Refero boundary.
99
-
100
- Never load `data/observations.json` or the raw `corpus/` into context; open one raw source only to audit one claim. Corpus frequencies are observations of public surfaces, not brand truth or a reason to pick a colour, font, or layout. Mobile/native has no corpus documents; use platform guidance. Refero only through an authorized MCP or user export.
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 VoltAgent
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.