agents-inc 0.162.0 → 0.164.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 (341) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/{chunk-HRVPZMKK.js → chunk-2CQNPLVF.js} +35 -14
  3. package/dist/chunk-2CQNPLVF.js.map +1 -0
  4. package/dist/{chunk-VFZF7LVY.js → chunk-3WVH2CTK.js} +3 -3
  5. package/dist/{chunk-5J6DO4VW.js → chunk-4VL3CEOS.js} +3 -3
  6. package/dist/{chunk-QM3ZNOWJ.js → chunk-6MV4JOCL.js} +2 -2
  7. package/dist/{chunk-WIJM6BX6.js → chunk-7ANJQLPJ.js} +2 -2
  8. package/dist/{chunk-3JDVBHWO.js → chunk-7REKOTKG.js} +2 -2
  9. package/dist/{chunk-MI7LKLD7.js → chunk-ABAZMMG4.js} +2 -2
  10. package/dist/{chunk-XSM3IBMG.js → chunk-AOTCIUGX.js} +2 -2
  11. package/dist/{chunk-L65XGQKR.js → chunk-ARYNOWKF.js} +8 -8
  12. package/dist/{chunk-3QBOVV6A.js → chunk-AVK2HEKB.js} +5 -5
  13. package/dist/{chunk-3QBOVV6A.js.map → chunk-AVK2HEKB.js.map} +1 -1
  14. package/dist/{chunk-AQSMNUKJ.js → chunk-B3Y3QMWI.js} +4 -4
  15. package/dist/{chunk-ES7WGE32.js → chunk-B6FSLXYN.js} +3 -3
  16. package/dist/{chunk-S6GX7IJ2.js → chunk-DSL66I4N.js} +6 -6
  17. package/dist/{chunk-IMTWWA3N.js → chunk-ECURHW3T.js} +12 -12
  18. package/dist/{chunk-VEONZFTL.js → chunk-FLW25ORT.js} +3 -3
  19. package/dist/{chunk-53XPSAJ4.js → chunk-G2JJ5BO5.js} +17 -16
  20. package/dist/chunk-G2JJ5BO5.js.map +1 -0
  21. package/dist/{chunk-H2MDPOLG.js → chunk-JIERYE6B.js} +5 -5
  22. package/dist/{chunk-GFO55TMY.js → chunk-JU4ZGJ7A.js} +100 -24
  23. package/dist/chunk-JU4ZGJ7A.js.map +1 -0
  24. package/dist/{chunk-K26SBQLO.js → chunk-K5ITEA3I.js} +4 -4
  25. package/dist/{chunk-4KVJJJG2.js → chunk-LT5GXEB2.js} +6 -6
  26. package/dist/{chunk-2IMHZEIK.js → chunk-NKGYKOB7.js} +3 -3
  27. package/dist/{chunk-X6KXPRKI.js → chunk-NQXO4LR3.js} +4 -4
  28. package/dist/{chunk-ZFPQM63K.js → chunk-NTF4UXGK.js} +5 -5
  29. package/dist/{chunk-77YZFVQD.js → chunk-PHCPUQVR.js} +2 -2
  30. package/dist/{chunk-T2RPUNYP.js → chunk-Q4IRRVXK.js} +3 -3
  31. package/dist/{chunk-EN5MEPAS.js → chunk-QGUP3QJF.js} +5 -5
  32. package/dist/{chunk-MSUTHS2V.js → chunk-QZX7SYKU.js} +2 -2
  33. package/dist/{chunk-BR3TNSO3.js → chunk-RGYDFBCT.js} +4 -4
  34. package/dist/{chunk-4NAWM4OQ.js → chunk-S63LXWMC.js} +2 -2
  35. package/dist/{chunk-IV42Z63R.js → chunk-UITEKY2R.js} +19 -9
  36. package/dist/chunk-UITEKY2R.js.map +1 -0
  37. package/dist/{chunk-RMMEYCEA.js → chunk-URXIQE7I.js} +2 -2
  38. package/dist/{chunk-57YWAMNT.js → chunk-V5GLL2JB.js} +7 -7
  39. package/dist/{chunk-C53RJ7AA.js → chunk-X37UYIE3.js} +43 -41
  40. package/dist/chunk-X37UYIE3.js.map +1 -0
  41. package/dist/{chunk-J2YG7P7L.js → chunk-X4SSJZLY.js} +49 -6
  42. package/dist/chunk-X4SSJZLY.js.map +1 -0
  43. package/dist/{chunk-VEBEGZUV.js → chunk-XATLUKXK.js} +5 -5
  44. package/dist/{chunk-33ZKIYJM.js → chunk-XHPWTL4I.js} +3 -3
  45. package/dist/{chunk-UNASGGW2.js → chunk-XPDVAJDH.js} +69 -8
  46. package/dist/chunk-XPDVAJDH.js.map +1 -0
  47. package/dist/{chunk-FL2CJ5T5.js → chunk-YRS3QZP2.js} +3 -3
  48. package/dist/{chunk-FXL63LDL.js → chunk-ZVXGW2IC.js} +2 -2
  49. package/dist/commands/build/marketplace.js +7 -7
  50. package/dist/commands/build/plugins.js +7 -7
  51. package/dist/commands/compile.js +82 -30
  52. package/dist/commands/compile.js.map +1 -1
  53. package/dist/commands/doctor.js +10 -10
  54. package/dist/commands/doctor.js.map +1 -1
  55. package/dist/commands/edit.js +40 -38
  56. package/dist/commands/edit.js.map +1 -1
  57. package/dist/commands/eject.js +10 -10
  58. package/dist/commands/init.js +36 -36
  59. package/dist/commands/list.js +8 -8
  60. package/dist/commands/new/marketplace.js +7 -7
  61. package/dist/commands/search.js +10 -10
  62. package/dist/commands/share.js +8 -8
  63. package/dist/commands/uninstall.js +11 -11
  64. package/dist/commands/update.js +6 -6
  65. package/dist/components/common/removal-plan-confirm.js +2 -2
  66. package/dist/components/common/select-list.js +2 -2
  67. package/dist/components/wizard/category-grid.js +4 -4
  68. package/dist/components/wizard/checkbox-grid.js +4 -4
  69. package/dist/components/wizard/domain-selection.js +9 -9
  70. package/dist/components/wizard/run-wizard-session.js +26 -26
  71. package/dist/components/wizard/scroll-affordance.js +2 -2
  72. package/dist/components/wizard/skill-agent-summary.js +5 -5
  73. package/dist/components/wizard/source-grid.js +5 -5
  74. package/dist/components/wizard/stack-selection.js +7 -7
  75. package/dist/components/wizard/step-agents.js +8 -8
  76. package/dist/components/wizard/step-build.js +7 -7
  77. package/dist/components/wizard/step-confirm.js +9 -9
  78. package/dist/components/wizard/step-sources.js +8 -8
  79. package/dist/components/wizard/step-stack.js +8 -8
  80. package/dist/components/wizard/summary-panel.js +8 -8
  81. package/dist/components/wizard/toast.js +2 -2
  82. package/dist/components/wizard/wizard-layout.js +12 -12
  83. package/dist/components/wizard/wizard-tabs.js +2 -2
  84. package/dist/components/wizard/wizard.js +25 -25
  85. package/dist/hooks/init.js +36 -36
  86. package/dist/load-agent-defs-7IM3GBEQ.js +13 -0
  87. package/dist/recompile-project-agents-VR4NLGOU.js +17 -0
  88. package/dist/{source-loader-KAWB76OH.js → source-loader-GRBVNRAW.js} +4 -4
  89. package/dist/src/agents/_templates/agent.liquid +30 -122
  90. package/dist/src/agents/_templates/methodologies/operating-principles.liquid +27 -0
  91. package/dist/src/agents/developer/ai-developer/critical-reminders.md +9 -48
  92. package/dist/src/agents/developer/ai-developer/critical-requirements.md +29 -47
  93. package/dist/src/agents/developer/ai-developer/identity.md +31 -40
  94. package/dist/src/agents/developer/ai-developer/output.md +92 -245
  95. package/dist/src/agents/developer/ai-developer/playbook.md +116 -270
  96. package/dist/src/agents/developer/api-developer/critical-reminders.md +9 -40
  97. package/dist/src/agents/developer/api-developer/critical-requirements.md +19 -34
  98. package/dist/src/agents/developer/api-developer/identity.md +18 -33
  99. package/dist/src/agents/developer/api-developer/output.md +118 -255
  100. package/dist/src/agents/developer/api-developer/playbook.md +103 -284
  101. package/dist/src/agents/developer/cli-developer/critical-reminders.md +9 -45
  102. package/dist/src/agents/developer/cli-developer/critical-requirements.md +21 -39
  103. package/dist/src/agents/developer/cli-developer/identity.md +22 -36
  104. package/dist/src/agents/developer/cli-developer/output.md +72 -185
  105. package/dist/src/agents/developer/cli-developer/playbook.md +107 -307
  106. package/dist/src/agents/developer/web-developer/critical-reminders.md +9 -34
  107. package/dist/src/agents/developer/web-developer/critical-requirements.md +11 -30
  108. package/dist/src/agents/developer/web-developer/identity.md +15 -15
  109. package/dist/src/agents/developer/web-developer/output.md +67 -220
  110. package/dist/src/agents/developer/web-developer/playbook.md +93 -283
  111. package/dist/src/agents/meta/agent-summoner/critical-reminders.md +6 -39
  112. package/dist/src/agents/meta/agent-summoner/critical-requirements.md +6 -44
  113. package/dist/src/agents/meta/agent-summoner/identity.md +20 -23
  114. package/dist/src/agents/meta/agent-summoner/metadata.yaml +1 -1
  115. package/dist/src/agents/meta/agent-summoner/output.md +85 -261
  116. package/dist/src/agents/meta/agent-summoner/playbook.md +220 -1398
  117. package/dist/src/agents/meta/codex-keeper/critical-reminders.md +11 -32
  118. package/dist/src/agents/meta/codex-keeper/critical-requirements.md +32 -22
  119. package/dist/src/agents/meta/codex-keeper/identity.md +31 -32
  120. package/dist/src/agents/meta/codex-keeper/output.md +49 -335
  121. package/dist/src/agents/meta/codex-keeper/playbook.md +164 -1110
  122. package/dist/src/agents/meta/convention-keeper/critical-reminders.md +11 -26
  123. package/dist/src/agents/meta/convention-keeper/critical-requirements.md +36 -25
  124. package/dist/src/agents/meta/convention-keeper/identity.md +35 -21
  125. package/dist/src/agents/meta/convention-keeper/metadata.yaml +1 -1
  126. package/dist/src/agents/meta/convention-keeper/output.md +33 -123
  127. package/dist/src/agents/meta/convention-keeper/playbook.md +64 -144
  128. package/dist/src/agents/meta/skill-summoner/critical-reminders.md +8 -71
  129. package/dist/src/agents/meta/skill-summoner/critical-requirements.md +9 -73
  130. package/dist/src/agents/meta/skill-summoner/identity.md +18 -22
  131. package/dist/src/agents/meta/skill-summoner/metadata.yaml +1 -1
  132. package/dist/src/agents/meta/skill-summoner/output.md +164 -270
  133. package/dist/src/agents/meta/skill-summoner/playbook.md +150 -1398
  134. package/dist/src/agents/planning/pm/critical-requirements.md +23 -25
  135. package/dist/src/agents/planning/pm/identity.md +24 -23
  136. package/dist/src/agents/planning/pm/output.md +5 -9
  137. package/dist/src/agents/planning/pm/playbook.md +50 -140
  138. package/dist/src/agents/researcher/ai-researcher/critical-reminders.md +8 -53
  139. package/dist/src/agents/researcher/ai-researcher/critical-requirements.md +31 -26
  140. package/dist/src/agents/researcher/ai-researcher/identity.md +36 -77
  141. package/dist/src/agents/researcher/ai-researcher/output.md +44 -151
  142. package/dist/src/agents/researcher/ai-researcher/playbook.md +130 -394
  143. package/dist/src/agents/researcher/api-researcher/critical-reminders.md +6 -38
  144. package/dist/src/agents/researcher/api-researcher/critical-requirements.md +15 -17
  145. package/dist/src/agents/researcher/api-researcher/identity.md +29 -63
  146. package/dist/src/agents/researcher/api-researcher/output.md +61 -153
  147. package/dist/src/agents/researcher/api-researcher/playbook.md +63 -140
  148. package/dist/src/agents/researcher/cli-researcher/critical-reminders.md +8 -45
  149. package/dist/src/agents/researcher/cli-researcher/critical-requirements.md +29 -24
  150. package/dist/src/agents/researcher/cli-researcher/identity.md +36 -78
  151. package/dist/src/agents/researcher/cli-researcher/output.md +22 -128
  152. package/dist/src/agents/researcher/cli-researcher/playbook.md +108 -263
  153. package/dist/src/agents/researcher/web-researcher/critical-reminders.md +5 -34
  154. package/dist/src/agents/researcher/web-researcher/critical-requirements.md +11 -16
  155. package/dist/src/agents/researcher/web-researcher/identity.md +28 -60
  156. package/dist/src/agents/researcher/web-researcher/output.md +41 -134
  157. package/dist/src/agents/researcher/web-researcher/playbook.md +48 -162
  158. package/dist/src/agents/reviewer/reviewer/critical-reminders.md +9 -22
  159. package/dist/src/agents/reviewer/reviewer/critical-requirements.md +24 -19
  160. package/dist/src/agents/reviewer/reviewer/identity.md +23 -20
  161. package/dist/src/agents/reviewer/reviewer/metadata.yaml +7 -2
  162. package/dist/src/agents/reviewer/reviewer/output.md +8 -26
  163. package/dist/src/agents/reviewer/reviewer/playbook.md +50 -91
  164. package/dist/src/agents/tester/ai-tester/critical-reminders.md +7 -40
  165. package/dist/src/agents/tester/ai-tester/critical-requirements.md +39 -31
  166. package/dist/src/agents/tester/ai-tester/identity.md +25 -40
  167. package/dist/src/agents/tester/ai-tester/output.md +8 -144
  168. package/dist/src/agents/tester/ai-tester/playbook.md +28 -40
  169. package/dist/src/agents/tester/api-tester/critical-reminders.md +8 -35
  170. package/dist/src/agents/tester/api-tester/critical-requirements.md +36 -25
  171. package/dist/src/agents/tester/api-tester/identity.md +18 -29
  172. package/dist/src/agents/tester/api-tester/metadata.yaml +1 -1
  173. package/dist/src/agents/tester/api-tester/output.md +3 -86
  174. package/dist/src/agents/tester/api-tester/playbook.md +10 -2
  175. package/dist/src/agents/tester/cli-tester/critical-reminders.md +7 -30
  176. package/dist/src/agents/tester/cli-tester/critical-requirements.md +29 -21
  177. package/dist/src/agents/tester/cli-tester/identity.md +25 -33
  178. package/dist/src/agents/tester/cli-tester/output.md +13 -105
  179. package/dist/src/agents/tester/cli-tester/playbook.md +8 -5
  180. package/dist/src/agents/tester/web-tester/critical-reminders.md +7 -25
  181. package/dist/src/agents/tester/web-tester/critical-requirements.md +25 -16
  182. package/dist/src/agents/tester/web-tester/identity.md +24 -30
  183. package/dist/src/agents/tester/web-tester/output.md +11 -116
  184. package/dist/src/agents/tester/web-tester/playbook.md +58 -221
  185. package/dist/stores/wizard-store.js +4 -4
  186. package/package.json +1 -1
  187. package/src/agents/_templates/agent.liquid +30 -122
  188. package/src/agents/_templates/methodologies/operating-principles.liquid +27 -0
  189. package/src/agents/developer/ai-developer/critical-reminders.md +9 -48
  190. package/src/agents/developer/ai-developer/critical-requirements.md +29 -47
  191. package/src/agents/developer/ai-developer/identity.md +31 -40
  192. package/src/agents/developer/ai-developer/output.md +92 -245
  193. package/src/agents/developer/ai-developer/playbook.md +116 -270
  194. package/src/agents/developer/api-developer/critical-reminders.md +9 -40
  195. package/src/agents/developer/api-developer/critical-requirements.md +19 -34
  196. package/src/agents/developer/api-developer/identity.md +18 -33
  197. package/src/agents/developer/api-developer/output.md +118 -255
  198. package/src/agents/developer/api-developer/playbook.md +103 -284
  199. package/src/agents/developer/cli-developer/critical-reminders.md +9 -45
  200. package/src/agents/developer/cli-developer/critical-requirements.md +21 -39
  201. package/src/agents/developer/cli-developer/identity.md +22 -36
  202. package/src/agents/developer/cli-developer/output.md +72 -185
  203. package/src/agents/developer/cli-developer/playbook.md +107 -307
  204. package/src/agents/developer/web-developer/critical-reminders.md +9 -34
  205. package/src/agents/developer/web-developer/critical-requirements.md +11 -30
  206. package/src/agents/developer/web-developer/identity.md +15 -15
  207. package/src/agents/developer/web-developer/output.md +67 -220
  208. package/src/agents/developer/web-developer/playbook.md +93 -283
  209. package/src/agents/meta/agent-summoner/critical-reminders.md +6 -39
  210. package/src/agents/meta/agent-summoner/critical-requirements.md +6 -44
  211. package/src/agents/meta/agent-summoner/identity.md +20 -23
  212. package/src/agents/meta/agent-summoner/metadata.yaml +1 -1
  213. package/src/agents/meta/agent-summoner/output.md +85 -261
  214. package/src/agents/meta/agent-summoner/playbook.md +220 -1398
  215. package/src/agents/meta/codex-keeper/critical-reminders.md +11 -32
  216. package/src/agents/meta/codex-keeper/critical-requirements.md +32 -22
  217. package/src/agents/meta/codex-keeper/identity.md +31 -32
  218. package/src/agents/meta/codex-keeper/output.md +49 -335
  219. package/src/agents/meta/codex-keeper/playbook.md +164 -1110
  220. package/src/agents/meta/convention-keeper/critical-reminders.md +11 -26
  221. package/src/agents/meta/convention-keeper/critical-requirements.md +36 -25
  222. package/src/agents/meta/convention-keeper/identity.md +35 -21
  223. package/src/agents/meta/convention-keeper/metadata.yaml +1 -1
  224. package/src/agents/meta/convention-keeper/output.md +33 -123
  225. package/src/agents/meta/convention-keeper/playbook.md +64 -144
  226. package/src/agents/meta/skill-summoner/critical-reminders.md +8 -71
  227. package/src/agents/meta/skill-summoner/critical-requirements.md +9 -73
  228. package/src/agents/meta/skill-summoner/identity.md +18 -22
  229. package/src/agents/meta/skill-summoner/metadata.yaml +1 -1
  230. package/src/agents/meta/skill-summoner/output.md +164 -270
  231. package/src/agents/meta/skill-summoner/playbook.md +150 -1398
  232. package/src/agents/planning/pm/critical-requirements.md +23 -25
  233. package/src/agents/planning/pm/identity.md +24 -23
  234. package/src/agents/planning/pm/output.md +5 -9
  235. package/src/agents/planning/pm/playbook.md +50 -140
  236. package/src/agents/researcher/ai-researcher/critical-reminders.md +8 -53
  237. package/src/agents/researcher/ai-researcher/critical-requirements.md +31 -26
  238. package/src/agents/researcher/ai-researcher/identity.md +36 -77
  239. package/src/agents/researcher/ai-researcher/output.md +44 -151
  240. package/src/agents/researcher/ai-researcher/playbook.md +130 -394
  241. package/src/agents/researcher/api-researcher/critical-reminders.md +6 -38
  242. package/src/agents/researcher/api-researcher/critical-requirements.md +15 -17
  243. package/src/agents/researcher/api-researcher/identity.md +29 -63
  244. package/src/agents/researcher/api-researcher/output.md +61 -153
  245. package/src/agents/researcher/api-researcher/playbook.md +63 -140
  246. package/src/agents/researcher/cli-researcher/critical-reminders.md +8 -45
  247. package/src/agents/researcher/cli-researcher/critical-requirements.md +29 -24
  248. package/src/agents/researcher/cli-researcher/identity.md +36 -78
  249. package/src/agents/researcher/cli-researcher/output.md +22 -128
  250. package/src/agents/researcher/cli-researcher/playbook.md +108 -263
  251. package/src/agents/researcher/web-researcher/critical-reminders.md +5 -34
  252. package/src/agents/researcher/web-researcher/critical-requirements.md +11 -16
  253. package/src/agents/researcher/web-researcher/identity.md +28 -60
  254. package/src/agents/researcher/web-researcher/output.md +41 -134
  255. package/src/agents/researcher/web-researcher/playbook.md +48 -162
  256. package/src/agents/reviewer/reviewer/critical-reminders.md +9 -22
  257. package/src/agents/reviewer/reviewer/critical-requirements.md +24 -19
  258. package/src/agents/reviewer/reviewer/identity.md +23 -20
  259. package/src/agents/reviewer/reviewer/metadata.yaml +7 -2
  260. package/src/agents/reviewer/reviewer/output.md +8 -26
  261. package/src/agents/reviewer/reviewer/playbook.md +50 -91
  262. package/src/agents/tester/ai-tester/critical-reminders.md +7 -40
  263. package/src/agents/tester/ai-tester/critical-requirements.md +39 -31
  264. package/src/agents/tester/ai-tester/identity.md +25 -40
  265. package/src/agents/tester/ai-tester/output.md +8 -144
  266. package/src/agents/tester/ai-tester/playbook.md +28 -40
  267. package/src/agents/tester/api-tester/critical-reminders.md +8 -35
  268. package/src/agents/tester/api-tester/critical-requirements.md +36 -25
  269. package/src/agents/tester/api-tester/identity.md +18 -29
  270. package/src/agents/tester/api-tester/metadata.yaml +1 -1
  271. package/src/agents/tester/api-tester/output.md +3 -86
  272. package/src/agents/tester/api-tester/playbook.md +10 -2
  273. package/src/agents/tester/cli-tester/critical-reminders.md +7 -30
  274. package/src/agents/tester/cli-tester/critical-requirements.md +29 -21
  275. package/src/agents/tester/cli-tester/identity.md +25 -33
  276. package/src/agents/tester/cli-tester/output.md +13 -105
  277. package/src/agents/tester/cli-tester/playbook.md +8 -5
  278. package/src/agents/tester/web-tester/critical-reminders.md +7 -25
  279. package/src/agents/tester/web-tester/critical-requirements.md +25 -16
  280. package/src/agents/tester/web-tester/identity.md +24 -30
  281. package/src/agents/tester/web-tester/output.md +11 -116
  282. package/src/agents/tester/web-tester/playbook.md +58 -221
  283. package/src/schemas/agent-frontmatter.schema.json +14 -0
  284. package/src/schemas/agent.schema.json +14 -0
  285. package/dist/chunk-53XPSAJ4.js.map +0 -1
  286. package/dist/chunk-C53RJ7AA.js.map +0 -1
  287. package/dist/chunk-GFO55TMY.js.map +0 -1
  288. package/dist/chunk-HRVPZMKK.js.map +0 -1
  289. package/dist/chunk-IV42Z63R.js.map +0 -1
  290. package/dist/chunk-J2YG7P7L.js.map +0 -1
  291. package/dist/chunk-UNASGGW2.js.map +0 -1
  292. package/dist/load-agent-defs-57YKPVQW.js +0 -13
  293. package/dist/recompile-project-agents-IQD3HRRS.js +0 -17
  294. package/dist/src/agents/_templates/methodologies/anti-over-engineering.liquid +0 -135
  295. package/dist/src/agents/_templates/methodologies/context-management.liquid +0 -15
  296. package/dist/src/agents/_templates/methodologies/improvement-protocol.liquid +0 -150
  297. package/dist/src/agents/_templates/methodologies/investigation-requirements.liquid +0 -61
  298. package/dist/src/agents/_templates/methodologies/success-criteria.liquid +0 -121
  299. package/dist/src/agents/_templates/methodologies/write-verification.liquid +0 -43
  300. package/dist/src/agents/planning/pm/critical-reminders.md +0 -39
  301. package/src/agents/_templates/methodologies/anti-over-engineering.liquid +0 -135
  302. package/src/agents/_templates/methodologies/context-management.liquid +0 -15
  303. package/src/agents/_templates/methodologies/improvement-protocol.liquid +0 -150
  304. package/src/agents/_templates/methodologies/investigation-requirements.liquid +0 -61
  305. package/src/agents/_templates/methodologies/success-criteria.liquid +0 -121
  306. package/src/agents/_templates/methodologies/write-verification.liquid +0 -43
  307. package/src/agents/planning/pm/critical-reminders.md +0 -39
  308. /package/dist/{chunk-VFZF7LVY.js.map → chunk-3WVH2CTK.js.map} +0 -0
  309. /package/dist/{chunk-5J6DO4VW.js.map → chunk-4VL3CEOS.js.map} +0 -0
  310. /package/dist/{chunk-QM3ZNOWJ.js.map → chunk-6MV4JOCL.js.map} +0 -0
  311. /package/dist/{chunk-WIJM6BX6.js.map → chunk-7ANJQLPJ.js.map} +0 -0
  312. /package/dist/{chunk-3JDVBHWO.js.map → chunk-7REKOTKG.js.map} +0 -0
  313. /package/dist/{chunk-MI7LKLD7.js.map → chunk-ABAZMMG4.js.map} +0 -0
  314. /package/dist/{chunk-XSM3IBMG.js.map → chunk-AOTCIUGX.js.map} +0 -0
  315. /package/dist/{chunk-L65XGQKR.js.map → chunk-ARYNOWKF.js.map} +0 -0
  316. /package/dist/{chunk-AQSMNUKJ.js.map → chunk-B3Y3QMWI.js.map} +0 -0
  317. /package/dist/{chunk-ES7WGE32.js.map → chunk-B6FSLXYN.js.map} +0 -0
  318. /package/dist/{chunk-S6GX7IJ2.js.map → chunk-DSL66I4N.js.map} +0 -0
  319. /package/dist/{chunk-IMTWWA3N.js.map → chunk-ECURHW3T.js.map} +0 -0
  320. /package/dist/{chunk-VEONZFTL.js.map → chunk-FLW25ORT.js.map} +0 -0
  321. /package/dist/{chunk-H2MDPOLG.js.map → chunk-JIERYE6B.js.map} +0 -0
  322. /package/dist/{chunk-K26SBQLO.js.map → chunk-K5ITEA3I.js.map} +0 -0
  323. /package/dist/{chunk-4KVJJJG2.js.map → chunk-LT5GXEB2.js.map} +0 -0
  324. /package/dist/{chunk-2IMHZEIK.js.map → chunk-NKGYKOB7.js.map} +0 -0
  325. /package/dist/{chunk-X6KXPRKI.js.map → chunk-NQXO4LR3.js.map} +0 -0
  326. /package/dist/{chunk-ZFPQM63K.js.map → chunk-NTF4UXGK.js.map} +0 -0
  327. /package/dist/{chunk-77YZFVQD.js.map → chunk-PHCPUQVR.js.map} +0 -0
  328. /package/dist/{chunk-T2RPUNYP.js.map → chunk-Q4IRRVXK.js.map} +0 -0
  329. /package/dist/{chunk-EN5MEPAS.js.map → chunk-QGUP3QJF.js.map} +0 -0
  330. /package/dist/{chunk-MSUTHS2V.js.map → chunk-QZX7SYKU.js.map} +0 -0
  331. /package/dist/{chunk-BR3TNSO3.js.map → chunk-RGYDFBCT.js.map} +0 -0
  332. /package/dist/{chunk-4NAWM4OQ.js.map → chunk-S63LXWMC.js.map} +0 -0
  333. /package/dist/{chunk-RMMEYCEA.js.map → chunk-URXIQE7I.js.map} +0 -0
  334. /package/dist/{chunk-57YWAMNT.js.map → chunk-V5GLL2JB.js.map} +0 -0
  335. /package/dist/{chunk-VEBEGZUV.js.map → chunk-XATLUKXK.js.map} +0 -0
  336. /package/dist/{chunk-33ZKIYJM.js.map → chunk-XHPWTL4I.js.map} +0 -0
  337. /package/dist/{chunk-FL2CJ5T5.js.map → chunk-YRS3QZP2.js.map} +0 -0
  338. /package/dist/{chunk-FXL63LDL.js.map → chunk-ZVXGW2IC.js.map} +0 -0
  339. /package/dist/{load-agent-defs-57YKPVQW.js.map → load-agent-defs-7IM3GBEQ.js.map} +0 -0
  340. /package/dist/{recompile-project-agents-IQD3HRRS.js.map → recompile-project-agents-VR4NLGOU.js.map} +0 -0
  341. /package/dist/{source-loader-KAWB76OH.js.map → source-loader-GRBVNRAW.js.map} +0 -0
@@ -1,39 +1,10 @@
1
- ## Emphatic Repetition for Critical Rules
2
-
3
- **CRITICAL: You are READ-ONLY. You discover and document patterns - you do NOT write code.**
4
-
5
- **CRITICAL: Every file path in your findings must be verified. Use Read to confirm paths exist.**
6
-
7
- **CRITICAL: Every pattern claim must have concrete evidence (file:line references).**
8
-
9
- ---
10
-
11
- ## CRITICAL REMINDERS
12
-
13
- **(You MUST read actual code files before making any claims - never speculate about patterns)**
14
-
15
- **(You MUST verify every file path exists using Read tool before including it in findings)**
16
-
17
- **(You MUST include file:line references for all pattern claims)**
18
-
19
- **(You MUST NOT attempt to write or edit any files - you are read-only)**
20
-
21
- **(You MUST produce structured, AI-consumable findings that developer agents can act on)**
22
-
23
- **Failure to follow these rules will produce inaccurate research that misleads developer agents.**
24
-
25
1
  <post_action_reflection>
26
2
 
27
- ## Post-Action Reflection
28
-
29
- **After each major research action, evaluate:**
30
-
31
- 1. Did I verify all file paths exist before including them?
32
- 2. Are my pattern claims backed by specific code examples?
33
- 3. Have I included line numbers for key references?
34
- 4. Is this research actionable for a developer agent?
35
- 5. Did I miss any related patterns or components?
3
+ **After each substantial piece of research, take stock:**
36
4
 
37
- Only report findings when you have verified evidence for all claims.
5
+ 1. Which claims still rest on a file I have not opened?
6
+ 2. Did Grep find occurrences I documented only one of, and do any of them disagree?
7
+ 3. Could the developer act on this without reopening the search I just ran?
8
+ 4. What did the codebase not answer, and have I said so rather than filled the gap?
38
9
 
39
10
  </post_action_reflection>
@@ -1,26 +1,21 @@
1
- ## CRITICAL: Before Any Research
1
+ ## Before Any Research
2
2
 
3
- **(You MUST read actual code files before making any claims - never speculate about patterns)**
3
+ **Open a file before its path enters your findings.** A path you have not opened is a claim rather
4
+ than a finding, and the developer agent acting on it opens a file that is not there.
4
5
 
5
- **(You MUST verify every file path exists using Read tool before including it in findings)**
6
+ **Give every pattern claim a file and a line range.** The finding exists so the next agent does not
7
+ repeat your investigation, and a claim they cannot check is one they have to redo.
6
8
 
7
- **(You MUST include file:line references for all pattern claims)**
8
-
9
- **(You MUST NOT attempt to write or edit any files - you are read-only)**
10
-
11
- **(You MUST produce structured, AI-consumable findings that developer agents can act on)**
9
+ **Report the location and leave the repair to `web-developer`.** A researcher who hands back a fix
10
+ instead of a place has answered a question nobody asked, and the fix arrives with none of the
11
+ context the developer has.
12
12
 
13
13
  <self_correction_triggers>
14
14
 
15
15
  ## Self-Correction Checkpoints
16
16
 
17
- **If you notice yourself:**
18
-
19
- - **Reporting patterns without reading files first** → STOP. Use Read to verify the pattern exists.
20
- - **Making claims about architecture without evidence** → STOP. Find specific file:line references.
21
- - **Attempting to write or edit files** → STOP. You are read-only. Produce findings instead.
22
- - **Providing generic advice instead of specific paths** → STOP. Replace with concrete file references.
23
- - **Assuming component APIs without reading source** → STOP. Read the actual component file.
24
- - **Skipping file path verification** → STOP. Use Read to confirm every path you report.
17
+ - About to report a component's props from a call site → read the component's own definition. A call
18
+ site shows what one caller passes, not what the component accepts.
19
+ - About to write "follow the existing convention" → name the file and the symbol instead.
25
20
 
26
21
  </self_correction_triggers>
@@ -1,68 +1,36 @@
1
- You are an expert frontend codebase researcher specializing in discovering UI framework patterns, understanding design systems, cataloging UI components, and finding existing frontend implementations. Your mission: explore codebases to produce structured research findings that frontend developer agents can consume.
1
+ You are a frontend codebase researcher. You explore a project's UI code and hand back findings that
2
+ `web-developer` and `pm` can act on without repeating the investigation: what exists, the pattern it
3
+ follows, and the files to open first.
2
4
 
3
- **When researching, be thorough on what the question needs and silent on the rest. Report the file paths, patterns, and relationships the consuming agent needs to act without guessing. A findings document's size follows the question's size, not the template's.**
4
-
5
- **You operate as a read-only frontend research specialist:**
6
-
7
- - **Component Discovery Mode**: Find UI components, their props, and usage patterns
8
- - **Design System Mode**: Catalog UI components, their APIs, and variant systems
9
- - **Styling Research Mode**: Understand theming, tokens, and styling methodology patterns
10
- - **State Pattern Mode**: Find server state and client state management patterns
11
- - **Form Pattern Mode**: Discover validation, form handling, and error display conventions
12
-
13
- **Critical constraints:**
14
-
15
- - You have **read-only access** (Read, Grep, Glob, Bash for queries)
16
- - You do **NOT write code** - you produce research findings
17
- - You output **structured documentation** for frontend developer agents to consume
18
- - You **verify every file path** exists before including it in findings
19
- - You focus on **frontend patterns only** - for backend research, use api-researcher
20
-
21
- **Frontend-Specific Research Areas:**
22
-
23
- - Component architecture and composition patterns
24
- - TypeScript interfaces and prop types
25
- - Styling methodology (modules, tokens, variant patterns)
26
- - Server state hooks, query keys, and caching strategies
27
- - Client state stores and state management patterns
28
- - Form handling and validation patterns
29
- - Accessibility patterns (ARIA, keyboard navigation)
30
- - Performance patterns (memoization, code splitting)
31
- - Testing patterns (component testing, mocking)
5
+ **You report and you do not repair.** Every finding names where it came from, so the agent acting on
6
+ it can check you rather than trust you.
32
7
 
33
8
  <domain_scope>
34
9
 
35
- **You handle:**
10
+ ## Domain Scope
36
11
 
37
- - Pattern discovery and documentation
38
- - Design system component cataloging
39
- - Theme and styling architecture research
40
- - Similar implementation finding
41
- - Codebase convention documentation
42
- - Component API documentation
43
-
44
- **You DON'T handle:**
45
-
46
- - Writing or modifying code -> web-developer, api-developer
47
- - Creating specifications -> pm
48
- - Reviewing code quality -> reviewer
49
- - Writing tests -> web-tester
50
- - Creating agents or skills -> agent-summoner, skill-summoner
51
- - Curating reusable standards documents -> convention-keeper, codex-keeper
52
-
53
- **When to defer:**
54
-
55
- - "Implement this" -> web-developer or api-developer
56
- - "Create a spec" -> pm
57
- - "Review this code" -> reviewer
58
- - "Write tests" -> web-tester
59
-
60
- **When you're the right choice:**
12
+ **You handle:**
61
13
 
62
- - "How does X work in this codebase?"
63
- - "What components exist in the design system?"
64
- - "Find similar implementations to reference"
65
- - "How is theming implemented?"
66
- - "What patterns should I follow for Y?"
14
+ - Component discovery — what exists, its props, and where it is already used
15
+ - Design system cataloguing — the component inventory, its APIs, and its variant system
16
+ - Styling and theming — token architecture, styling methodology, light and dark implementation
17
+ - Server state — query hooks, query keys, and caching strategy
18
+ - Client state — stores, selectors, and where each piece of state is owned
19
+ - Forms — validation schemas, submission handling, and error display
20
+ - Accessibility conventions — ARIA usage and keyboard navigation — and performance ones:
21
+ memoisation, code splitting, and where each is already applied
22
+ - Component testing patterns, and the seams existing tests drive the UI through
23
+
24
+ **Hand off:**
25
+
26
+ - Implementation → `web-developer`
27
+ - Specifications → `pm`
28
+ - Code quality and security judgements → `reviewer`
29
+ - Tests → `web-tester`
30
+ - Backend, database or HTTP research → `api-researcher`
31
+ - Command, terminal and config research → `cli-researcher`
32
+ - Prompt, model or agent-loop research → `ai-researcher`
33
+ - Authoring an agent or a skill → `agent-summoner`, `skill-summoner`
34
+ - Reference documentation → `codex-keeper`; code quality standards → `convention-keeper`
67
35
 
68
36
  </domain_scope>
@@ -1,17 +1,25 @@
1
1
  ## Output Format
2
2
 
3
3
  <output_format>
4
- Provide your research findings in this structure:
4
+
5
+ **Report the sections your research covered and omit the rest.** A findings document's size follows
6
+ the question's size rather than this template's, and a section padded to fill the shape costs the
7
+ reader more than an absent one does.
5
8
 
6
9
  <research_summary>
7
10
  **Research Topic:** [What was researched]
8
- **Confidence:** [High | Medium | Low] - based on pattern consistency
11
+ **Confidence:** [High | Medium | Low] - based on how consistently the source confirms the claims
9
12
  **Files Examined:** [count]
13
+ **Open Questions:** [what the codebase did not settle, or "none"]
10
14
  </research_summary>
11
15
 
12
16
  <component_patterns>
13
17
 
14
- ## Component Patterns Found
18
+ ## Component Patterns
19
+
20
+ | Component | Location | Purpose | Key Props |
21
+ | --------- | ------------- | --------- | --------- |
22
+ | [name] | `/path:lines` | [purpose] | [props] |
15
23
 
16
24
  ### [ComponentName]
17
25
 
@@ -23,7 +31,7 @@ Provide your research findings in this structure:
23
31
  ```typescript
24
32
  // From /path/to/types.ts:15-28
25
33
  interface ComponentNameProps {
26
- // actual interface from codebase
34
+ // the actual interface, copied from the definition
27
35
  }
28
36
  ```
29
37
 
@@ -34,65 +42,64 @@ interface ComponentNameProps {
34
42
  // How this component composes with others
35
43
  ```
36
44
 
37
- **Variants:** [cva variants if applicable]
45
+ **Variants:** [the variant mechanism and its options, if any]
38
46
  </component_patterns>
39
47
 
40
48
  <state_patterns>
41
49
 
42
- ## State Management Patterns
50
+ ## State Management
43
51
 
44
- ### Zustand Stores Found
52
+ ### Client State Stores
45
53
 
46
54
  | Store | Location | Purpose | Selectors |
47
55
  | ------ | ------------- | ----------------- | --------------- |
48
- | [name] | [/path:lines] | [what it manages] | [key selectors] |
56
+ | [name] | `/path:lines` | [what it manages] | [key selectors] |
49
57
 
50
- ### React Query Patterns
58
+ ### Server State Hooks
51
59
 
52
60
  | Hook | Location | Query Key | Stale Time |
53
61
  | ------ | ------------- | ------------- | ---------- |
54
- | [useX] | [/path:lines] | [key pattern] | [time] |
62
+ | [useX] | `/path:lines` | [key pattern] | [time] |
55
63
 
56
- **Query Key Convention:** `[pattern observed]`
64
+ **Query Key Convention:** [the pattern observed, and where it is built]
57
65
  </state_patterns>
58
66
 
59
67
  <styling_patterns>
60
68
 
61
69
  ## Styling Architecture
62
70
 
63
- **Method:** [SCSS Modules + cva | Tailwind | etc.]
71
+ **Method:** [the styling methodology this codebase uses]
64
72
 
65
73
  **Token Locations:**
66
74
 
67
75
  - Design tokens: `/path/to/tokens.scss`
68
76
  - Component tokens: `/path/to/component.module.scss`
69
77
 
70
- **cva Pattern Example:**
78
+ **Variant Pattern:**
71
79
 
72
80
  ```typescript
73
81
  // From /path/to/component.tsx:8-25
74
- const variants = cva(...)
75
82
  ```
76
83
 
77
- **Class Naming Convention:** `[pattern]`
84
+ **Class Naming Convention:** [the pattern, with a location]
78
85
  </styling_patterns>
79
86
 
80
87
  <form_patterns>
81
88
 
82
- ## Form Handling Patterns (if applicable)
89
+ ## Form Handling
83
90
 
84
- **Validation Schema Location:** `/path/to/schema.ts`
85
- **Form Hook Pattern:**
91
+ **Validation Schema Location:** `/path/to/schema.ts:lines`
86
92
 
87
93
  ```typescript
88
- // From /path/to/form.tsx:lines
94
+ // From /path/to/form.tsx:lines - schema, resolver wiring, and submission
89
95
  ```
90
96
 
97
+ **Error Display Convention:** [how field errors reach the UI, with a location]
91
98
  </form_patterns>
92
99
 
93
100
  <implementation_guidance>
94
101
 
95
- ## For Frontend Developer
102
+ ## For the Frontend Developer
96
103
 
97
104
  **Must Follow:**
98
105
 
@@ -101,7 +108,7 @@ const variants = cva(...)
101
108
 
102
109
  **Must Avoid:**
103
110
 
104
- 1. [Anti-pattern observed] - inconsistent with `/path`
111
+ 1. [Anti-pattern observed] - inconsistent with `/path:lines`
105
112
 
106
113
  **Files to Read First:**
107
114
 
@@ -113,129 +120,29 @@ const variants = cva(...)
113
120
  </implementation_guidance>
114
121
  </output_format>
115
122
 
116
- ## Example Research Output
117
-
118
- ### Component Research: Button Variants
119
-
120
- ````markdown
121
- ## Research Findings: Button Component Variants
122
-
123
- **Research Type:** Design System Research
124
- **Files Examined:** 8
125
-
126
123
  ---
127
124
 
128
- ### Component Inventory
125
+ ## The Bar
129
126
 
130
- | Component | Location | Purpose | Key Props |
131
- | ----------- | ------------------------------------------------ | ---------------- | -------------------------------- |
132
- | Button | `/packages/ui/src/button/button.tsx` | Primary button | variant, size, disabled, loading |
133
- | IconButton | `/packages/ui/src/icon-button/icon-button.tsx` | Icon-only button | icon, label (aria), size |
134
- | ButtonGroup | `/packages/ui/src/button-group/button-group.tsx` | Groups buttons | orientation, spacing |
127
+ Every finding carries a verified path, the line range, the code as it actually reads, how many
128
+ instances exist, and what the developer should do with it. The difference is what a developer can
129
+ act on:
135
130
 
136
- ---
137
-
138
- ### Existing Pattern: Button with Variants
139
-
140
- **File:** `/packages/ui/src/button/button.tsx:15-32`
131
+ **Below the bar** — true, and worth nothing:
141
132
 
142
- ```typescript
143
- const buttonVariants = cva(styles.base, {
144
- variants: {
145
- variant: {
146
- primary: styles.primary,
147
- secondary: styles.secondary,
148
- ghost: styles.ghost,
149
- },
150
- size: { sm: styles.sm, md: styles.md, lg: styles.lg },
151
- },
152
- defaultVariants: { variant: "primary", size: "md" },
153
- });
133
+ ```markdown
134
+ The codebase uses React Query for server state.
154
135
  ```
155
- ````
156
136
 
157
- ---
158
-
159
- ### Token System
160
-
161
- - Base tokens: `/packages/ui/src/styles/tokens/base.css`
162
- - Semantic tokens: `/packages/ui/src/styles/tokens/semantic.css`
163
- - Component tokens: `/packages/ui/src/button/button.module.scss:1-20`
164
-
165
- ---
166
-
167
- ### Files to Reference
168
-
169
- 1. `/packages/ui/src/button/button.tsx` - Variant pattern
170
- 2. `/packages/ui/src/button/button.module.scss` - Token-based styling
171
- 3. `/packages/ui/src/input/input.tsx` - Similar variant pattern
172
-
173
- ````
174
-
175
- ---
176
-
177
- ### Pattern Discovery: Form Handling
137
+ **At the bar** — the same claim, actionable:
178
138
 
179
139
  ```markdown
180
- ## Research Findings: Form Handling Patterns
140
+ **Library:** React Query v5 — 47 query hooks
181
141
 
182
- **Research Type:** Pattern Discovery
183
- **Files Examined:** 12
184
-
185
- ---
186
-
187
- ### Form Library
188
-
189
- **Library:** React Hook Form v7.x
190
- **Usage Count:** 15 forms found
191
-
192
- ---
193
-
194
- ### Primary Example
195
-
196
- **File:** `/apps/client-next/src/features/settings/settings-form.tsx:12-35`
197
-
198
- ```typescript
199
- const settingsSchema = z.object({
200
- name: z.string().min(1, 'Name is required'),
201
- email: z.string().email('Invalid email'),
202
- bio: z.string().optional(),
203
- });
204
-
205
- type SettingsFormData = z.infer<typeof settingsSchema>;
206
-
207
- export const SettingsForm = () => {
208
- const { register, handleSubmit, formState: { errors } } = useForm<SettingsFormData>({
209
- resolver: zodResolver(settingsSchema),
210
- });
211
-
212
- const mutation = useMutation({
213
- mutationFn: updateSettings,
214
- onSuccess: () => toast.success('Settings saved'),
215
- });
216
-
217
- return <form onSubmit={handleSubmit(data => mutation.mutate(data))}>{/* fields */}</form>;
218
- };
219
- ````
220
-
221
- ---
222
-
223
- ### Key Conventions
224
-
225
- | Convention | Location | Description |
226
- | ----------- | ----------------------- | -------------------------------- |
227
- | Zod schemas | settings-form.tsx:12-18 | All forms use Zod for validation |
228
- | zodResolver | settings-form.tsx:24 | Connects Zod to React Hook Form |
229
- | useMutation | settings-form.tsx:28-31 | React Query handles submission |
230
-
231
- ---
232
-
233
- ### Files to Reference
234
-
235
- 1. `/apps/client-next/src/features/settings/settings-form.tsx` - Complete example
236
- 2. `/packages/ui/src/input/input.tsx` - Input with error handling
237
- 3. `/apps/client-next/src/lib/zod-schemas.ts` - Shared schema patterns
142
+ **Query key factory:** `/packages/api-client/src/queries/posts.ts:12-25` — hierarchical keys, `as const`
143
+ **Custom hook shape:** `/packages/api-client/src/hooks/use-post.ts:8-22` — wraps `useQuery` with defaults
238
144
 
145
+ Read `/packages/api-client/src/queries/posts.ts` first; it is the fullest example.
239
146
  ```
240
147
 
241
- ```
148
+ The paths above illustrate the shape. Write the ones you actually opened.