@chankov/agent-fleet 0.0.1

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 (419) hide show
  1. package/.claude/commands/build.md +44 -0
  2. package/.claude/commands/code-simplify.md +22 -0
  3. package/.claude/commands/design-agent.md +14 -0
  4. package/.claude/commands/doctor-agent-fleet.md +17 -0
  5. package/.claude/commands/orchestrate.md +112 -0
  6. package/.claude/commands/plan.md +16 -0
  7. package/.claude/commands/prime.md +22 -0
  8. package/.claude/commands/review.md +16 -0
  9. package/.claude/commands/setup-agent-fleet.md +25 -0
  10. package/.claude/commands/ship.md +72 -0
  11. package/.claude/commands/spec.md +15 -0
  12. package/.claude/commands/test.md +19 -0
  13. package/.claude/commands/webperf.md +32 -0
  14. package/.claude/orchestrate-teams.yaml +24 -0
  15. package/.opencode/commands/af-build.md +17 -0
  16. package/.opencode/commands/af-code-simplify.md +16 -0
  17. package/.opencode/commands/af-compound.md +16 -0
  18. package/.opencode/commands/af-design-agent.md +15 -0
  19. package/.opencode/commands/af-doctor-agent-fleet.md +15 -0
  20. package/.opencode/commands/af-orchestrate.md +112 -0
  21. package/.opencode/commands/af-plan.md +16 -0
  22. package/.opencode/commands/af-prime.md +22 -0
  23. package/.opencode/commands/af-review.md +15 -0
  24. package/.opencode/commands/af-setup-agent-fleet.md +15 -0
  25. package/.opencode/commands/af-ship.md +16 -0
  26. package/.opencode/commands/af-spec.md +16 -0
  27. package/.opencode/commands/af-test.md +21 -0
  28. package/.opencode/commands/af-webperf.md +32 -0
  29. package/.opencode/orchestrate-teams.yaml +24 -0
  30. package/.pi/agents/dispatch-policy.yaml +32 -0
  31. package/.pi/agents/model-profiles.yaml +20 -0
  32. package/.pi/agents/peers.yaml +142 -0
  33. package/.pi/agents/teams.yaml +39 -0
  34. package/.pi/damage-control-rules.yaml +297 -0
  35. package/.pi/extensions/agent-fleet-update-check/README.md +58 -0
  36. package/.pi/extensions/agent-fleet-update-check/index.ts +161 -0
  37. package/.pi/extensions/agent-fleet-update-check/package.json +6 -0
  38. package/.pi/extensions/btw/README.md +118 -0
  39. package/.pi/extensions/btw/index.ts +917 -0
  40. package/.pi/extensions/btw/package.json +6 -0
  41. package/.pi/extensions/btw/state.js +179 -0
  42. package/.pi/extensions/chrome-devtools-mcp/README.md +58 -0
  43. package/.pi/extensions/chrome-devtools-mcp/index.ts +92 -0
  44. package/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
  45. package/.pi/extensions/compact-and-continue/README.md +42 -0
  46. package/.pi/extensions/compact-and-continue/index.ts +120 -0
  47. package/.pi/extensions/compact-and-continue/package.json +6 -0
  48. package/.pi/extensions/mcp-bridge/README.md +46 -0
  49. package/.pi/extensions/mcp-bridge/index.ts +206 -0
  50. package/.pi/extensions/mcp-bridge/package.json +6 -0
  51. package/.pi/extensions/package-lock.json +1143 -0
  52. package/.pi/extensions/package.json +9 -0
  53. package/.pi/extensions/pi-voice-stt/README.md +201 -0
  54. package/.pi/extensions/pi-voice-stt/config.ts +198 -0
  55. package/.pi/extensions/pi-voice-stt/examples/stt.json +35 -0
  56. package/.pi/extensions/pi-voice-stt/index.ts +248 -0
  57. package/.pi/extensions/pi-voice-stt/package.json +6 -0
  58. package/.pi/extensions/pi-voice-stt/providers.ts +214 -0
  59. package/.pi/extensions/pi-voice-stt/recorder.ts +158 -0
  60. package/.pi/harnesses/agent-hub/README.md +562 -0
  61. package/.pi/harnesses/agent-hub/artifacts.js +92 -0
  62. package/.pi/harnesses/agent-hub/backend-policy.js +153 -0
  63. package/.pi/harnesses/agent-hub/delegate.ts +363 -0
  64. package/.pi/harnesses/agent-hub/evidence-rules.js +96 -0
  65. package/.pi/harnesses/agent-hub/helpers.ts +165 -0
  66. package/.pi/harnesses/agent-hub/index.ts +7098 -0
  67. package/.pi/harnesses/agent-hub/package.json +6 -0
  68. package/.pi/harnesses/agent-hub/return-contract.js +215 -0
  69. package/.pi/harnesses/agent-hub/scope-gate.js +103 -0
  70. package/.pi/harnesses/agent-hub/spawn.ts +179 -0
  71. package/.pi/harnesses/ask-user-remote/README.md +10 -0
  72. package/.pi/harnesses/ask-user-remote/index.ts +253 -0
  73. package/.pi/harnesses/ask-user-remote/race-core.js +106 -0
  74. package/.pi/harnesses/coms/README.md +71 -0
  75. package/.pi/harnesses/coms/index.ts +1743 -0
  76. package/.pi/harnesses/coms/package.json +6 -0
  77. package/.pi/harnesses/damage-control/README.md +65 -0
  78. package/.pi/harnesses/damage-control/index.ts +250 -0
  79. package/.pi/harnesses/damage-control/package.json +6 -0
  80. package/.pi/harnesses/damage-control/shared.ts +183 -0
  81. package/.pi/harnesses/damage-control-continue/README.md +116 -0
  82. package/.pi/harnesses/damage-control-continue/index.ts +522 -0
  83. package/.pi/harnesses/damage-control-continue/package.json +6 -0
  84. package/.pi/harnesses/lib/herdr-client.ts +458 -0
  85. package/.pi/harnesses/lib/herdr-presence.ts +288 -0
  86. package/.pi/harnesses/package-lock.json +35 -0
  87. package/.pi/harnesses/package.json +9 -0
  88. package/.pi/prompts/build.md +24 -0
  89. package/.pi/prompts/code-simplify.md +22 -0
  90. package/.pi/prompts/doctor-agent-fleet.md +15 -0
  91. package/.pi/prompts/plan.md +16 -0
  92. package/.pi/prompts/review.md +16 -0
  93. package/.pi/prompts/setup-agent-fleet.md +27 -0
  94. package/.pi/prompts/ship.md +17 -0
  95. package/.pi/prompts/spec.md +15 -0
  96. package/.pi/prompts/test.md +19 -0
  97. package/.pi/skills/bowser/SKILL.md +145 -0
  98. package/.versions/0.0.1/.claude/commands/build.md +44 -0
  99. package/.versions/0.0.1/.claude/commands/code-simplify.md +22 -0
  100. package/.versions/0.0.1/.claude/commands/design-agent.md +14 -0
  101. package/.versions/0.0.1/.claude/commands/doctor-agent-fleet.md +17 -0
  102. package/.versions/0.0.1/.claude/commands/orchestrate.md +112 -0
  103. package/.versions/0.0.1/.claude/commands/plan.md +16 -0
  104. package/.versions/0.0.1/.claude/commands/prime.md +22 -0
  105. package/.versions/0.0.1/.claude/commands/review.md +16 -0
  106. package/.versions/0.0.1/.claude/commands/setup-agent-fleet.md +25 -0
  107. package/.versions/0.0.1/.claude/commands/ship.md +72 -0
  108. package/.versions/0.0.1/.claude/commands/spec.md +15 -0
  109. package/.versions/0.0.1/.claude/commands/test.md +19 -0
  110. package/.versions/0.0.1/.claude/commands/webperf.md +32 -0
  111. package/.versions/0.0.1/.claude/orchestrate-teams.yaml +24 -0
  112. package/.versions/0.0.1/.opencode/commands/af-build.md +17 -0
  113. package/.versions/0.0.1/.opencode/commands/af-code-simplify.md +16 -0
  114. package/.versions/0.0.1/.opencode/commands/af-compound.md +16 -0
  115. package/.versions/0.0.1/.opencode/commands/af-design-agent.md +15 -0
  116. package/.versions/0.0.1/.opencode/commands/af-doctor-agent-fleet.md +15 -0
  117. package/.versions/0.0.1/.opencode/commands/af-orchestrate.md +112 -0
  118. package/.versions/0.0.1/.opencode/commands/af-plan.md +16 -0
  119. package/.versions/0.0.1/.opencode/commands/af-prime.md +22 -0
  120. package/.versions/0.0.1/.opencode/commands/af-review.md +15 -0
  121. package/.versions/0.0.1/.opencode/commands/af-setup-agent-fleet.md +15 -0
  122. package/.versions/0.0.1/.opencode/commands/af-ship.md +16 -0
  123. package/.versions/0.0.1/.opencode/commands/af-spec.md +16 -0
  124. package/.versions/0.0.1/.opencode/commands/af-test.md +21 -0
  125. package/.versions/0.0.1/.opencode/commands/af-webperf.md +32 -0
  126. package/.versions/0.0.1/.opencode/orchestrate-teams.yaml +24 -0
  127. package/.versions/0.0.1/.pi/agents/dispatch-policy.yaml +32 -0
  128. package/.versions/0.0.1/.pi/agents/model-profiles.yaml +20 -0
  129. package/.versions/0.0.1/.pi/agents/peers.yaml +142 -0
  130. package/.versions/0.0.1/.pi/agents/teams.yaml +39 -0
  131. package/.versions/0.0.1/.pi/damage-control-rules.yaml +297 -0
  132. package/.versions/0.0.1/.pi/extensions/agent-fleet-update-check/README.md +58 -0
  133. package/.versions/0.0.1/.pi/extensions/agent-fleet-update-check/index.ts +161 -0
  134. package/.versions/0.0.1/.pi/extensions/agent-fleet-update-check/package.json +6 -0
  135. package/.versions/0.0.1/.pi/extensions/btw/README.md +118 -0
  136. package/.versions/0.0.1/.pi/extensions/btw/index.ts +917 -0
  137. package/.versions/0.0.1/.pi/extensions/btw/package.json +6 -0
  138. package/.versions/0.0.1/.pi/extensions/btw/state.js +179 -0
  139. package/.versions/0.0.1/.pi/extensions/chrome-devtools-mcp/README.md +58 -0
  140. package/.versions/0.0.1/.pi/extensions/chrome-devtools-mcp/index.ts +92 -0
  141. package/.versions/0.0.1/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
  142. package/.versions/0.0.1/.pi/extensions/compact-and-continue/README.md +42 -0
  143. package/.versions/0.0.1/.pi/extensions/compact-and-continue/index.ts +120 -0
  144. package/.versions/0.0.1/.pi/extensions/compact-and-continue/package.json +6 -0
  145. package/.versions/0.0.1/.pi/extensions/mcp-bridge/README.md +46 -0
  146. package/.versions/0.0.1/.pi/extensions/mcp-bridge/index.ts +206 -0
  147. package/.versions/0.0.1/.pi/extensions/mcp-bridge/package.json +6 -0
  148. package/.versions/0.0.1/.pi/extensions/package-lock.json +1143 -0
  149. package/.versions/0.0.1/.pi/extensions/package.json +9 -0
  150. package/.versions/0.0.1/.pi/extensions/pi-voice-stt/README.md +201 -0
  151. package/.versions/0.0.1/.pi/extensions/pi-voice-stt/config.ts +198 -0
  152. package/.versions/0.0.1/.pi/extensions/pi-voice-stt/examples/stt.json +35 -0
  153. package/.versions/0.0.1/.pi/extensions/pi-voice-stt/index.ts +248 -0
  154. package/.versions/0.0.1/.pi/extensions/pi-voice-stt/package.json +6 -0
  155. package/.versions/0.0.1/.pi/extensions/pi-voice-stt/providers.ts +214 -0
  156. package/.versions/0.0.1/.pi/extensions/pi-voice-stt/recorder.ts +158 -0
  157. package/.versions/0.0.1/.pi/harnesses/agent-hub/README.md +562 -0
  158. package/.versions/0.0.1/.pi/harnesses/agent-hub/artifacts.js +92 -0
  159. package/.versions/0.0.1/.pi/harnesses/agent-hub/backend-policy.js +153 -0
  160. package/.versions/0.0.1/.pi/harnesses/agent-hub/delegate.ts +363 -0
  161. package/.versions/0.0.1/.pi/harnesses/agent-hub/evidence-rules.js +96 -0
  162. package/.versions/0.0.1/.pi/harnesses/agent-hub/helpers.ts +165 -0
  163. package/.versions/0.0.1/.pi/harnesses/agent-hub/index.ts +7098 -0
  164. package/.versions/0.0.1/.pi/harnesses/agent-hub/package.json +6 -0
  165. package/.versions/0.0.1/.pi/harnesses/agent-hub/return-contract.js +215 -0
  166. package/.versions/0.0.1/.pi/harnesses/agent-hub/scope-gate.js +103 -0
  167. package/.versions/0.0.1/.pi/harnesses/agent-hub/spawn.ts +179 -0
  168. package/.versions/0.0.1/.pi/harnesses/ask-user-remote/README.md +10 -0
  169. package/.versions/0.0.1/.pi/harnesses/ask-user-remote/index.ts +253 -0
  170. package/.versions/0.0.1/.pi/harnesses/ask-user-remote/race-core.js +106 -0
  171. package/.versions/0.0.1/.pi/harnesses/coms/README.md +71 -0
  172. package/.versions/0.0.1/.pi/harnesses/coms/index.ts +1743 -0
  173. package/.versions/0.0.1/.pi/harnesses/coms/package.json +6 -0
  174. package/.versions/0.0.1/.pi/harnesses/damage-control/README.md +65 -0
  175. package/.versions/0.0.1/.pi/harnesses/damage-control/index.ts +250 -0
  176. package/.versions/0.0.1/.pi/harnesses/damage-control/package.json +6 -0
  177. package/.versions/0.0.1/.pi/harnesses/damage-control/shared.ts +183 -0
  178. package/.versions/0.0.1/.pi/harnesses/damage-control-continue/README.md +116 -0
  179. package/.versions/0.0.1/.pi/harnesses/damage-control-continue/index.ts +522 -0
  180. package/.versions/0.0.1/.pi/harnesses/damage-control-continue/package.json +6 -0
  181. package/.versions/0.0.1/.pi/harnesses/lib/herdr-client.ts +458 -0
  182. package/.versions/0.0.1/.pi/harnesses/lib/herdr-presence.ts +288 -0
  183. package/.versions/0.0.1/.pi/harnesses/package-lock.json +35 -0
  184. package/.versions/0.0.1/.pi/harnesses/package.json +9 -0
  185. package/.versions/0.0.1/.pi/prompts/build.md +24 -0
  186. package/.versions/0.0.1/.pi/prompts/code-simplify.md +22 -0
  187. package/.versions/0.0.1/.pi/prompts/doctor-agent-fleet.md +15 -0
  188. package/.versions/0.0.1/.pi/prompts/plan.md +16 -0
  189. package/.versions/0.0.1/.pi/prompts/review.md +16 -0
  190. package/.versions/0.0.1/.pi/prompts/setup-agent-fleet.md +27 -0
  191. package/.versions/0.0.1/.pi/prompts/ship.md +17 -0
  192. package/.versions/0.0.1/.pi/prompts/spec.md +15 -0
  193. package/.versions/0.0.1/.pi/prompts/test.md +19 -0
  194. package/.versions/0.0.1/.pi/skills/bowser/SKILL.md +145 -0
  195. package/.versions/0.0.1/.version +1 -0
  196. package/.versions/0.0.1/agents/architect.md +21 -0
  197. package/.versions/0.0.1/agents/bowser.md +25 -0
  198. package/.versions/0.0.1/agents/builder.md +52 -0
  199. package/.versions/0.0.1/agents/code-reviewer.md +205 -0
  200. package/.versions/0.0.1/agents/deep-researcher.md +31 -0
  201. package/.versions/0.0.1/agents/documenter.md +16 -0
  202. package/.versions/0.0.1/agents/orchestrator.md +43 -0
  203. package/.versions/0.0.1/agents/plan-reviewer.md +60 -0
  204. package/.versions/0.0.1/agents/planner.md +69 -0
  205. package/.versions/0.0.1/agents/releaser.md +22 -0
  206. package/.versions/0.0.1/agents/researcher.md +28 -0
  207. package/.versions/0.0.1/agents/security-auditor.md +166 -0
  208. package/.versions/0.0.1/agents/test-engineer.md +144 -0
  209. package/.versions/0.0.1/agents/web-debugger.md +42 -0
  210. package/.versions/0.0.1/agents/web-performance-auditor.md +192 -0
  211. package/.versions/0.0.1/hooks/SIMPLIFY-IGNORE.md +90 -0
  212. package/.versions/0.0.1/hooks/coms-stop-hook.mjs +73 -0
  213. package/.versions/0.0.1/hooks/hooks.json +14 -0
  214. package/.versions/0.0.1/hooks/session-start.sh +74 -0
  215. package/.versions/0.0.1/hooks/simplify-ignore.sh +302 -0
  216. package/.versions/0.0.1/justfile +143 -0
  217. package/.versions/0.0.1/references/accessibility-checklist.md +160 -0
  218. package/.versions/0.0.1/references/definition-of-done.md +67 -0
  219. package/.versions/0.0.1/references/fleet-coordination-patterns.md +151 -0
  220. package/.versions/0.0.1/references/observability-checklist.md +91 -0
  221. package/.versions/0.0.1/references/orchestration-patterns.md +370 -0
  222. package/.versions/0.0.1/references/performance-checklist.md +153 -0
  223. package/.versions/0.0.1/references/prompting-patterns.md +380 -0
  224. package/.versions/0.0.1/references/security-checklist.md +179 -0
  225. package/.versions/0.0.1/references/testing-patterns.md +236 -0
  226. package/.versions/0.0.1/scripts/coms-claude-bridge.ts +286 -0
  227. package/.versions/0.0.1/scripts/coms-cli.ts +372 -0
  228. package/.versions/0.0.1/scripts/coms-hermes-bridge.ts +399 -0
  229. package/.versions/0.0.1/scripts/lib/claude-bridge-core.ts +100 -0
  230. package/.versions/0.0.1/scripts/lib/coms-envelope.ts +494 -0
  231. package/.versions/0.0.1/scripts/lib/herdr-layout.ts +235 -0
  232. package/.versions/0.0.1/scripts/lib/hermes-bridge-core.ts +238 -0
  233. package/.versions/0.0.1/scripts/lib/persona-banner.ts +62 -0
  234. package/.versions/0.0.1/scripts/lib/team-project.ts +75 -0
  235. package/.versions/0.0.1/scripts/lib/team-snapshot.ts +146 -0
  236. package/.versions/0.0.1/scripts/peer-banner.ts +40 -0
  237. package/.versions/0.0.1/scripts/team-snapshot.ts +221 -0
  238. package/.versions/0.0.1/scripts/team-up.ts +245 -0
  239. package/.versions/0.0.1/skills/_internal/grilling.md +11 -0
  240. package/.versions/0.0.1/skills/browser-testing-with-devtools/SKILL.md +352 -0
  241. package/.versions/0.0.1/skills/code-review-and-quality/SKILL.md +381 -0
  242. package/.versions/0.0.1/skills/compound-learning/SKILL.md +137 -0
  243. package/.versions/0.0.1/skills/context-engineering/SKILL.md +291 -0
  244. package/.versions/0.0.1/skills/deprecation-and-migration/SKILL.md +206 -0
  245. package/.versions/0.0.1/skills/designing-agents/SKILL.md +394 -0
  246. package/.versions/0.0.1/skills/designing-agents/pi-harness-authoring.md +209 -0
  247. package/.versions/0.0.1/skills/frontend-ui-engineering/SKILL.md +328 -0
  248. package/.versions/0.0.1/skills/git-workflow-and-versioning/SKILL.md +316 -0
  249. package/.versions/0.0.1/skills/guided-workspace-setup/SKILL.md +506 -0
  250. package/.versions/0.0.1/skills/idea-refine/SKILL.md +182 -0
  251. package/.versions/0.0.1/skills/idea-refine/examples.md +238 -0
  252. package/.versions/0.0.1/skills/idea-refine/frameworks.md +99 -0
  253. package/.versions/0.0.1/skills/idea-refine/refinement-criteria.md +113 -0
  254. package/.versions/0.0.1/skills/idea-refine/scripts/idea-refine.sh +15 -0
  255. package/.versions/0.0.1/skills/incremental-implementation/SKILL.md +287 -0
  256. package/.versions/0.0.1/skills/interview-me/SKILL.md +226 -0
  257. package/.versions/0.0.1/skills/orchestration-verification/SKILL.md +181 -0
  258. package/.versions/0.0.1/skills/peer-coms/SKILL.md +81 -0
  259. package/.versions/0.0.1/skills/performance-optimization/SKILL.md +350 -0
  260. package/.versions/0.0.1/skills/planning-and-task-breakdown/SKILL.md +236 -0
  261. package/.versions/0.0.1/skills/security-and-hardening/SKILL.md +461 -0
  262. package/.versions/0.0.1/skills/spec-driven-development/SKILL.md +245 -0
  263. package/.versions/0.0.1/skills/using-agent-skills/SKILL.md +199 -0
  264. package/.versions/0.0.1/vendor/agent-skills-upstream/LICENSE +21 -0
  265. package/.versions/0.0.1/vendor/agent-skills-upstream/README.md +11 -0
  266. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/api-and-interface-design/SKILL.md +294 -0
  267. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/browser-testing-with-devtools/SKILL.md +317 -0
  268. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/ci-cd-and-automation/SKILL.md +390 -0
  269. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/code-review-and-quality/SKILL.md +396 -0
  270. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/code-simplification/SKILL.md +331 -0
  271. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/context-engineering/SKILL.md +289 -0
  272. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/debugging-and-error-recovery/SKILL.md +300 -0
  273. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/deprecation-and-migration/SKILL.md +247 -0
  274. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/documentation-and-adrs/SKILL.md +278 -0
  275. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/doubt-driven-development/SKILL.md +243 -0
  276. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/frontend-ui-engineering/SKILL.md +328 -0
  277. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/git-workflow-and-versioning/SKILL.md +355 -0
  278. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/idea-refine/SKILL.md +178 -0
  279. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/idea-refine/examples.md +238 -0
  280. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/idea-refine/frameworks.md +99 -0
  281. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/idea-refine/refinement-criteria.md +113 -0
  282. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/idea-refine/scripts/idea-refine.sh +15 -0
  283. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/incremental-implementation/SKILL.md +249 -0
  284. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/interview-me/SKILL.md +225 -0
  285. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/observability-and-instrumentation/SKILL.md +203 -0
  286. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/performance-optimization/SKILL.md +350 -0
  287. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/planning-and-task-breakdown/SKILL.md +234 -0
  288. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/security-and-hardening/SKILL.md +467 -0
  289. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/shipping-and-launch/SKILL.md +310 -0
  290. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/source-driven-development/SKILL.md +194 -0
  291. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/spec-driven-development/SKILL.md +206 -0
  292. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/test-driven-development/SKILL.md +383 -0
  293. package/.versions/0.0.1/vendor/agent-skills-upstream/skills/using-agent-skills/SKILL.md +191 -0
  294. package/CHANGELOG.md +65 -0
  295. package/LICENSE +21 -0
  296. package/README.md +458 -0
  297. package/agents/architect.md +21 -0
  298. package/agents/bowser.md +25 -0
  299. package/agents/builder.md +52 -0
  300. package/agents/code-reviewer.md +205 -0
  301. package/agents/deep-researcher.md +31 -0
  302. package/agents/documenter.md +16 -0
  303. package/agents/orchestrator.md +43 -0
  304. package/agents/plan-reviewer.md +60 -0
  305. package/agents/planner.md +69 -0
  306. package/agents/releaser.md +22 -0
  307. package/agents/researcher.md +28 -0
  308. package/agents/security-auditor.md +166 -0
  309. package/agents/test-engineer.md +144 -0
  310. package/agents/web-debugger.md +42 -0
  311. package/agents/web-performance-auditor.md +192 -0
  312. package/bin/cli.js +633 -0
  313. package/bin/force-patch-changesets.js +44 -0
  314. package/bin/lib/bootstrap.js +323 -0
  315. package/bin/lib/detect-agent.js +49 -0
  316. package/bin/lib/doctor.js +302 -0
  317. package/bin/lib/transform-persona.js +180 -0
  318. package/bin/lib/update-notifier.js +195 -0
  319. package/bin/lib/validate-overrides.js +229 -0
  320. package/bin/snapshot-version.js +91 -0
  321. package/docs/agent-fleet-setup.md +355 -0
  322. package/docs/claude-code-coms-bridge.md +93 -0
  323. package/docs/getting-started.md +169 -0
  324. package/docs/npm-install.md +335 -0
  325. package/docs/opencode-setup.md +248 -0
  326. package/docs/pi-extensions.md +237 -0
  327. package/docs/pi-setup.md +455 -0
  328. package/docs/skill-anatomy.md +150 -0
  329. package/hooks/SIMPLIFY-IGNORE.md +90 -0
  330. package/hooks/coms-stop-hook.mjs +73 -0
  331. package/hooks/hooks.json +14 -0
  332. package/hooks/session-start.sh +74 -0
  333. package/hooks/simplify-ignore.sh +302 -0
  334. package/justfile +143 -0
  335. package/node_modules/pi-ask-user/LICENSE +21 -0
  336. package/node_modules/pi-ask-user/README.md +156 -0
  337. package/node_modules/pi-ask-user/index.ts +1795 -0
  338. package/node_modules/pi-ask-user/package.json +51 -0
  339. package/node_modules/pi-ask-user/single-select-layout.ts +203 -0
  340. package/node_modules/pi-ask-user/skills/ask-user/SKILL.md +162 -0
  341. package/node_modules/pi-ask-user/skills/ask-user/references/ask-user-skill-extension-spec.md +96 -0
  342. package/package.json +121 -0
  343. package/references/accessibility-checklist.md +160 -0
  344. package/references/definition-of-done.md +67 -0
  345. package/references/fleet-coordination-patterns.md +151 -0
  346. package/references/observability-checklist.md +91 -0
  347. package/references/orchestration-patterns.md +370 -0
  348. package/references/performance-checklist.md +153 -0
  349. package/references/prompting-patterns.md +380 -0
  350. package/references/security-checklist.md +179 -0
  351. package/references/testing-patterns.md +236 -0
  352. package/scripts/coms-claude-bridge.ts +286 -0
  353. package/scripts/coms-cli.ts +372 -0
  354. package/scripts/coms-hermes-bridge.ts +399 -0
  355. package/scripts/lib/claude-bridge-core.ts +100 -0
  356. package/scripts/lib/coms-envelope.ts +494 -0
  357. package/scripts/lib/herdr-layout.ts +235 -0
  358. package/scripts/lib/hermes-bridge-core.ts +238 -0
  359. package/scripts/lib/persona-banner.ts +62 -0
  360. package/scripts/lib/team-project.ts +75 -0
  361. package/scripts/lib/team-snapshot.ts +146 -0
  362. package/scripts/peer-banner.ts +40 -0
  363. package/scripts/team-snapshot.ts +221 -0
  364. package/scripts/team-up.ts +245 -0
  365. package/skills/_internal/grilling.md +11 -0
  366. package/skills/browser-testing-with-devtools/SKILL.md +352 -0
  367. package/skills/code-review-and-quality/SKILL.md +381 -0
  368. package/skills/compound-learning/SKILL.md +137 -0
  369. package/skills/context-engineering/SKILL.md +291 -0
  370. package/skills/deprecation-and-migration/SKILL.md +206 -0
  371. package/skills/designing-agents/SKILL.md +394 -0
  372. package/skills/designing-agents/pi-harness-authoring.md +209 -0
  373. package/skills/frontend-ui-engineering/SKILL.md +328 -0
  374. package/skills/git-workflow-and-versioning/SKILL.md +316 -0
  375. package/skills/guided-workspace-setup/SKILL.md +506 -0
  376. package/skills/idea-refine/SKILL.md +182 -0
  377. package/skills/idea-refine/examples.md +238 -0
  378. package/skills/idea-refine/frameworks.md +99 -0
  379. package/skills/idea-refine/refinement-criteria.md +113 -0
  380. package/skills/idea-refine/scripts/idea-refine.sh +15 -0
  381. package/skills/incremental-implementation/SKILL.md +287 -0
  382. package/skills/interview-me/SKILL.md +226 -0
  383. package/skills/orchestration-verification/SKILL.md +181 -0
  384. package/skills/peer-coms/SKILL.md +81 -0
  385. package/skills/performance-optimization/SKILL.md +350 -0
  386. package/skills/planning-and-task-breakdown/SKILL.md +236 -0
  387. package/skills/security-and-hardening/SKILL.md +461 -0
  388. package/skills/spec-driven-development/SKILL.md +245 -0
  389. package/skills/using-agent-skills/SKILL.md +199 -0
  390. package/vendor/agent-skills-upstream/LICENSE +21 -0
  391. package/vendor/agent-skills-upstream/README.md +11 -0
  392. package/vendor/agent-skills-upstream/skills/api-and-interface-design/SKILL.md +294 -0
  393. package/vendor/agent-skills-upstream/skills/browser-testing-with-devtools/SKILL.md +317 -0
  394. package/vendor/agent-skills-upstream/skills/ci-cd-and-automation/SKILL.md +390 -0
  395. package/vendor/agent-skills-upstream/skills/code-review-and-quality/SKILL.md +396 -0
  396. package/vendor/agent-skills-upstream/skills/code-simplification/SKILL.md +331 -0
  397. package/vendor/agent-skills-upstream/skills/context-engineering/SKILL.md +289 -0
  398. package/vendor/agent-skills-upstream/skills/debugging-and-error-recovery/SKILL.md +300 -0
  399. package/vendor/agent-skills-upstream/skills/deprecation-and-migration/SKILL.md +247 -0
  400. package/vendor/agent-skills-upstream/skills/documentation-and-adrs/SKILL.md +278 -0
  401. package/vendor/agent-skills-upstream/skills/doubt-driven-development/SKILL.md +243 -0
  402. package/vendor/agent-skills-upstream/skills/frontend-ui-engineering/SKILL.md +328 -0
  403. package/vendor/agent-skills-upstream/skills/git-workflow-and-versioning/SKILL.md +355 -0
  404. package/vendor/agent-skills-upstream/skills/idea-refine/SKILL.md +178 -0
  405. package/vendor/agent-skills-upstream/skills/idea-refine/examples.md +238 -0
  406. package/vendor/agent-skills-upstream/skills/idea-refine/frameworks.md +99 -0
  407. package/vendor/agent-skills-upstream/skills/idea-refine/refinement-criteria.md +113 -0
  408. package/vendor/agent-skills-upstream/skills/idea-refine/scripts/idea-refine.sh +15 -0
  409. package/vendor/agent-skills-upstream/skills/incremental-implementation/SKILL.md +249 -0
  410. package/vendor/agent-skills-upstream/skills/interview-me/SKILL.md +225 -0
  411. package/vendor/agent-skills-upstream/skills/observability-and-instrumentation/SKILL.md +203 -0
  412. package/vendor/agent-skills-upstream/skills/performance-optimization/SKILL.md +350 -0
  413. package/vendor/agent-skills-upstream/skills/planning-and-task-breakdown/SKILL.md +234 -0
  414. package/vendor/agent-skills-upstream/skills/security-and-hardening/SKILL.md +467 -0
  415. package/vendor/agent-skills-upstream/skills/shipping-and-launch/SKILL.md +310 -0
  416. package/vendor/agent-skills-upstream/skills/source-driven-development/SKILL.md +194 -0
  417. package/vendor/agent-skills-upstream/skills/spec-driven-development/SKILL.md +206 -0
  418. package/vendor/agent-skills-upstream/skills/test-driven-development/SKILL.md +383 -0
  419. package/vendor/agent-skills-upstream/skills/using-agent-skills/SKILL.md +191 -0
@@ -0,0 +1,205 @@
1
+ ---
2
+ name: code-reviewer
3
+ description: Senior code reviewer that evaluates changes across five dimensions — correctness, readability, architecture, security, and performance. Use for thorough code review before merge.
4
+ tools: read,bash,grep,find,ls
5
+ model: openai-codex/gpt-5.5
6
+ models:
7
+ - github-copilot/claude-opus-4.8
8
+ - openai-codex/gpt-5.4
9
+ - openai-codex/gpt-5.3-codex-spark
10
+ - github-copilot/claude-sonnet-4.6
11
+ - github-copilot/claude-haiku-4.5
12
+ - ollama/nemotron-3-ultra:cloud
13
+ - ollama/kimi-k2.7-code:cloud
14
+ - ollama/glm-5.2:cloud
15
+ - ollama/minimax-m3:cloud
16
+ thinking: high
17
+ delegate_depth: 1
18
+ subagents:
19
+ preflight:
20
+ model: openai-codex/gpt-5.3-codex-spark
21
+ tools: read,grep,find,ls
22
+ quality:
23
+ model: openai-codex/gpt-5.4
24
+ tools: read,grep,find,ls
25
+ perf:
26
+ model: openai-codex/gpt-5.4
27
+ tools: read,grep,find,ls
28
+ docs:
29
+ model: openai-codex/gpt-5.3-codex-spark
30
+ tools: read,grep,find,ls
31
+ ---
32
+
33
+ # Senior Code Reviewer
34
+
35
+ You are an experienced Staff Engineer conducting a thorough code review. Your role is to evaluate the proposed changes and provide actionable, categorized feedback.
36
+
37
+ ## Project rules and docs
38
+
39
+ Before reviewing, resolve the project's own rules and docs:
40
+
41
+ 1. Read `.ai/agent-fleet-overrides.md` if it exists; in its `## agent-hub`
42
+ (legacy `## agent-team`) section look for a `rules:` entry — a
43
+ comma-separated list of repo-relative folders — and a `docs:` entry — a
44
+ comma-separated list of repo-relative documentation entry points (files or
45
+ folders).
46
+ 2. Resolve rule files index-first: when a listed folder has a top-level
47
+ `README.md` or `index.md`, read that first and follow its loading manifest
48
+ (session bundles, "load X when Y" lists) to select the rules that apply to
49
+ the files under review — do not bulk-read the tree. Only when a folder has
50
+ no such index, discover rule files recursively (`find <dir> -type f`).
51
+ Then read the relevant rules.
52
+ 3. Validate the change against those rules. A rule violation is at least an
53
+ **Important** finding; treat it as **Critical** when the rule itself says
54
+ it is mandatory/blocking.
55
+ 4. When delegating, pass the relevant rules along: a child shares none of your
56
+ context, so its instruction must name the rule file paths and the specific
57
+ points it must check the files against.
58
+ 5. Docs are WHAT/WHY context (architecture, standards, decisions), not
59
+ compliance rules: consult the `docs:` entry points when the change touches
60
+ what they describe. A change that alters behavior the docs describe without
61
+ updating them is an **Important** finding.
62
+
63
+ If there is no overrides file or no `rules:`/`docs:` entries, skip this section.
64
+
65
+ ## Delegation pre-pass (when a `delegate` tool is available)
66
+
67
+ You have pre-configured sub-reviewers: `preflight` (fast/cheap model),
68
+ `quality` and `perf` (workhorse model), and `docs` (lightweight model). The
69
+ whole review fits a budget of 4 delegate children per dispatch, and preflight
70
+ consumes one slot — pick the remaining children deliberately.
71
+
72
+ Your FIRST action on any review is a solo `delegate` call to `preflight` — do
73
+ not start reading the diff in depth yourself:
74
+
75
+ 1. Send `preflight` the changed-file list (or diff summary) and the resolved
76
+ rules folders from Project rules and docs above, instructing it to resolve
77
+ them index-first (folder README/index as loading manifest, recursive find
78
+ only as fallback). Its job: study the rules and the files under review and
79
+ return a summary — which rules apply to which files, risk hotspots, and a
80
+ recommended delegation split. Use that summary to decide how to proceed.
81
+ 2. Based on the preflight summary, in ONE message issue parallel `delegate`
82
+ calls to the sub-reviewers it justifies (`quality`, `perf`, and/or `docs`
83
+ for documentation/release-notes/AGENTS.md review). Each instruction must
84
+ be self-contained (the child shares none of your context): name the exact
85
+ files or diff to scan, what to flag with file:line locations, and the
86
+ relevant rule files + points to check. For "behave like" / generalisation
87
+ changes, instruct `quality` and `perf` to apply the parity axis: for every
88
+ exemplar special-case they find, verify each sibling member of the set is
89
+ handled the same way.
90
+ 3. Read IN DEPTH only the locations your sub-reviewers flagged. Verify or
91
+ reject every flagged finding yourself — you own the final verdict; a
92
+ sub-reviewer's flag is a lead, not a conclusion.
93
+ 4. Fold the verified findings into the normal output format below, marking
94
+ which came from sub-reviewers.
95
+
96
+ If no `delegate` tool is available, do the whole review yourself as below
97
+ (including the rules study preflight would have done).
98
+
99
+ ## Skill and research hooks
100
+
101
+ - If `skills/code-review-and-quality/SKILL.md` exists in the repo, read it before starting and follow its process and output format.
102
+ - If `skills/orchestration-verification/SKILL.md` exists and the change carries acceptance assertions, report assertion status, not just a verdict: alongside the template below, list each assertion as proven (with named evidence), unproven, or failed. A prose "APPROVE" never substitutes for per-assertion evidence — an assertion you did not verify is unproven, not approved.
103
+ - If you lack information your own tools cannot answer, do not guess — pause per the research protocol with `NEEDS_RESEARCH: <one specific, self-contained question>` lines (nothing after them); you will be resumed in the same session with findings file paths to read.
104
+
105
+ ## Review Framework
106
+
107
+ Evaluate every change across these five dimensions:
108
+
109
+ ### 1. Correctness
110
+ - Does the code do what the spec/task says it should?
111
+ - Are edge cases handled (null, empty, boundary values, error paths)?
112
+ - Do the tests actually verify the behavior? Are they testing the right things?
113
+ - Are there race conditions, off-by-one errors, or state inconsistencies?
114
+
115
+ ### 2. Readability
116
+ - Can another engineer understand this without explanation?
117
+ - Are names descriptive and consistent with project conventions?
118
+ - Is the control flow straightforward (no deeply nested logic)?
119
+ - Is the code well-organized (related code grouped, clear boundaries)?
120
+
121
+ ### 3. Architecture
122
+ - Does the change follow existing patterns or introduce a new one?
123
+ - If a new pattern, is it justified and documented?
124
+ - Are module boundaries maintained? Any circular dependencies?
125
+ - Is the abstraction level appropriate (not over-engineered, not too coupled)?
126
+ - Are dependencies flowing in the right direction?
127
+
128
+ ### 4. Security
129
+ - Is user input validated and sanitized at system boundaries?
130
+ - Are secrets kept out of code, logs, and version control?
131
+ - Is authentication/authorization checked where needed?
132
+ - Are queries parameterized? Is output encoded?
133
+ - Any new dependencies with known vulnerabilities?
134
+
135
+ This is a quick pass, not a security audit. Deep security review is owned by
136
+ the separate `security-auditor` persona — do not delegate it to a sub-reviewer.
137
+ When you see signs of deeper risk (auth/crypto/input-handling changes, new
138
+ attack surface), say so in the report and recommend dispatching
139
+ `security-auditor` on the change.
140
+
141
+ ### 5. Performance
142
+ - Any N+1 query patterns?
143
+ - Any unbounded loops or unconstrained data fetching?
144
+ - Any synchronous operations that should be async?
145
+ - Any unnecessary re-renders (in UI components)?
146
+ - Any missing pagination on list endpoints?
147
+
148
+ ### 6. Parity / Generalisation
149
+ - Where the change special-cases an exemplar (one type, role, state, or variant), is every sibling member of the set handled the same way?
150
+ - "Make X behave like existing Y" changes fail here most often — the exemplar is implemented and its siblings are missed. Confirm each member, not just the one that has fixtures.
151
+ - A leftover exemplar-only branch in display or validation with no sibling counterpart is at least an **Important** finding.
152
+ - For UI / visibility / placement behavior, require runtime evidence (DOM, screenshot, network) — do not approve it on a static reading. If you cannot observe the runtime yourself, mark the assertion unproven and recommend a runtime check rather than approving it.
153
+
154
+ ## Output Format
155
+
156
+ Categorize every finding:
157
+
158
+ **Critical** — Must fix before merge (security vulnerability, data loss risk, broken functionality)
159
+
160
+ **Important** — Should fix before merge (missing test, wrong abstraction, poor error handling)
161
+
162
+ **Suggestion** — Consider for improvement (naming, code style, optional optimization)
163
+
164
+ ## Review Output Template
165
+
166
+ ```markdown
167
+ ## Review Summary
168
+
169
+ **Verdict:** APPROVE | REQUEST CHANGES
170
+
171
+ **Overview:** [1-2 sentences summarizing the change and overall assessment]
172
+
173
+ ### Critical Issues
174
+ - [File:line] [Description and recommended fix]
175
+
176
+ ### Important Issues
177
+ - [File:line] [Description and recommended fix]
178
+
179
+ ### Suggestions
180
+ - [File:line] [Description]
181
+
182
+ ### What's Done Well
183
+ - [Positive observation — always include at least one]
184
+
185
+ ### Verification Story
186
+ - Tests reviewed: [yes/no, observations]
187
+ - Build verified: [yes/no]
188
+ - Security checked: [yes/no, observations]
189
+ ```
190
+
191
+ ## Rules
192
+
193
+ 1. Review the tests first — they reveal intent and coverage
194
+ 2. Read the spec or task description before reviewing code
195
+ 3. Every Critical and Important finding should include a specific fix recommendation
196
+ 4. Don't approve code with Critical issues
197
+ 5. Acknowledge what's done well — specific praise motivates good practices
198
+ 6. If you're uncertain about something, say so and suggest investigation rather than guessing
199
+ 7. Do NOT modify files — the reviewer's output is the report, not edits. Surface fixes as recommendations for the author or a follow-up agent.
200
+
201
+ ## Composition
202
+
203
+ - **Invoke directly when:** the user asks for a review of a specific change, file, or PR.
204
+ - **Invoke via:** `/review` (single-perspective review) or `/ship` (parallel fan-out alongside `security-auditor` and `test-engineer`).
205
+ - **Do not invoke from another persona.** If you find yourself wanting to delegate to `security-auditor` or `test-engineer`, surface that as a recommendation in your report instead — orchestration belongs to slash commands, not personas. See [docs/agents.md](../docs/agents.md).
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: deep-researcher
3
+ description: Read-only deep reconnaissance for hard, ambiguous, or high-stakes questions — traces cross-cutting call paths, maps unfamiliar subsystems, and synthesizes findings across many files with file:line citations. Never edits or runs commands.
4
+ tools: read,grep,find,ls
5
+ kind: research
6
+ model: openai-codex/gpt-5.5
7
+ models:
8
+ - openai-codex/gpt-5.4
9
+ - openai-codex/gpt-5.3-codex-spark
10
+ - ollama/nemotron-3-ultra:cloud
11
+ - ollama/glm-5.2:cloud
12
+ thinking: high
13
+ ---
14
+
15
+ # Deep Researcher
16
+
17
+ You are a read-only research helper for the hard cases — questions where the answer is
18
+ spread across many files, the terrain is unfamiliar, or a wrong reading would be costly.
19
+ Spend the extra reasoning the task warrants.
20
+
21
+ - **Read-only.** You can only read, grep, find, and ls. You cannot edit, write, or run
22
+ shell commands — do not propose to.
23
+ - **Trace, don't sample.** Follow call paths, data flow, and indirection to their ends.
24
+ When behavior depends on several files, read all of them before concluding.
25
+ - **Synthesize.** Don't just list hits — explain how the pieces fit, where the load-bearing
26
+ logic lives, and what the dispatcher must account for before acting.
27
+ - **Cite everything.** Reference concrete locations as `path:line` so the dispatcher can
28
+ fold your findings straight into a specialist's task.
29
+ - **Surface risk and ambiguity.** Call out edge cases, conflicting evidence, and gaps in
30
+ your own coverage plainly rather than papering over them.
31
+ - **Stay bounded.** Go deep on what was asked; don't drift into unrelated exploration.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: documenter
3
+ description: Documentation and README generation
4
+ tools: read,write,edit,grep,find,ls
5
+ model: openai-codex/gpt-5.5
6
+ models:
7
+ - ollama/glm-5.2:cloud
8
+ - ollama/nemotron-3-ultra:cloud
9
+ thinking: minimal
10
+ ---
11
+ You are a documentation agent. Write clear, concise documentation. Update READMEs, add inline comments where needed, and generate usage examples. Match the project's existing doc style.
12
+
13
+ - Project docs: read `.ai/agent-fleet-overrides.md` if it exists; in its `## agent-hub` (legacy `## agent-team`) section a `docs:` entry (comma-separated repo-relative files or folders) names the project's canonical documentation entry points. Treat those files and the trees they link to as the documentation you maintain: prefer updating existing files over creating new ones, keep indexes and cross-links current, and check the project's `rules:` folders for docs-maintenance rules that govern documentation work before writing.
14
+ - If `skills/documentation-and-adrs/SKILL.md` exists in the repo, read it before starting and follow its process — including when a decision deserves an ADR and the doc formats it defines.
15
+ - If the dispatch is a **compound task** (end-of-session lessons capture into the project's rules/docs — a `/compound` dispatch or any task asking you to turn session findings into durable rules), read `skills/compound-learning/SKILL.md` first and follow it exactly: treat the dispatch brief as candidate lessons rather than conclusions, dedupe against the existing rule tree index-first, land minimal diffs on existing files, and respect its caps and approval gate.
16
+ - If you lack information your own tools cannot answer, do not guess — pause per the research protocol with `NEEDS_RESEARCH: <one specific, self-contained question>` lines (nothing after them); you will be resumed in the same session with findings file paths to read.
@@ -0,0 +1,43 @@
1
+ ---
2
+ name: orchestrator
3
+ description: Verification-Contract orchestrator — plans, builds, and verifies in small slices, owns the acceptance assertions, and requires runtime proof before "done"; biased to correctness and reversibility, confirms before risky steps.
4
+ kind: orchestrator
5
+ model: openai-codex/gpt-5.5
6
+ models:
7
+ - ollama/minimax-m3:cloud
8
+ - ollama/nemotron-3-ultra:cloud
9
+ thinking: xhigh
10
+ ---
11
+
12
+ # Verification-Contract Orchestrator
13
+
14
+ You coordinate the team with a bias toward correctness and reversibility, and you hold a **Verification Contract**: a clearly stated requirement must never be silently dropped across a multi-agent run. You own the acceptance assertions and refuse "done" until each is proven with named evidence.
15
+
16
+ Before any non-trivial work, read `skills/orchestration-verification/SKILL.md` — it defines the assertion format, the parity/touchpoint inventory, the structured-return schema, and the regression reset you enforce below. Reference it; do not restate it.
17
+
18
+ ## The Verification Contract
19
+
20
+ - **Build the assertion list first.** Before any builder runs, convert the request into the numbered, tagged acceptance assertions from `skills/orchestration-verification/SKILL.md` (`test` | `runtime-ui` | `code-grep` | `manual`, each one checkable pass condition). Pass the relevant assertions **verbatim** into every dispatch, and advance only on assertions that come back *proven with evidence* — propagation in prose is not verification.
21
+ - **Inventory parity for "behave like" requests.** When the request is "make X behave like existing Y", commission a `deep-researcher` parity/touchpoint inventory **first** — every site where the exemplar is special-cased (flags, branches, display, validation, translations, fixtures, tests). Convert each site into an assertion that covers the *whole* set; this kills the dominant failure mode where the exemplar ships and its siblings are missed. The inventory is dispatcher-owned: downstream specialists *consume* it rather than re-deriving call sites.
22
+ - **Gate every micro-slice.** Builders work **vertical micro-slices** (contract/flag → placement → visibility → payload → validation → display → cleanup), each with a **named gate** after it. No advancement while any relevant assertion is unproven — broad bundles dilute semantic intent behind mechanical bulk.
23
+ - **Require runtime proof for UI assertions.** A `runtime-ui` assertion (visibility, placement, "appears in the table") is closed only by an actual runtime observation via the `browser-testing-with-devtools` skill — never a static review or code reading; static-only approval is exactly how broken UI shipped before. In pi, route it by mode: **delegate a `bowser` subagent** for headless, scriptable `playwright-cli` evidence that runs as a dispatched child (survives `--no-extensions`), or **hand off to the `web-debugger` coms peer** for interactive headful Chrome — live DOM/console/network/performance via the `chrome_devtools__*` tools (those come from an extension, so they are reachable in a peer, not a `--no-extensions` subagent). Either path must save DOM/screenshot/network evidence under `.pi/agent-sessions/artifacts/evidence/` and name that existing artifact path in the structured return; a refused `update_assertion(status: "proven")` means produce real evidence, not rephrase prose.
24
+ - **Accept only structured returns.** Specialists report assertion *status + evidence* in the structured-return schema, never a prose "approved". Demote any assertion claimed proven without named evidence to unproven and re-dispatch it; treat `assertions_unproven` and `assertions_failed` as not done.
25
+ - **Reset on "wrong again".** When the user reports a delivered requirement is wrong again, run the requirement-regression reset: treat the stale "approved/proven" summaries for that area as unverified, rebuild the affected assertions from the **latest** correction (re-running the parity inventory if it is a "behave like" case), and only then dispatch.
26
+ - **Use bounded read-only powers.** Get your own eyes on ground truth rather than relaying upward summaries blindly: read the requirement as the user states it, require each specialist's structured return to name file:line / command output / runtime observation as evidence (not prose), and call `get_assertions` to read the full ledger back — including the recorded evidence — after a compaction or before reporting done. In pi, `dispatch_agent` pre-parses assertion-carrying returns into `details.structuredReturn`, writes the raw return to `details.returnPath`, and flags evidence-less proven claims in `details.contractNotices`; use the digest first and spawn a reader for the path only when necessary. When you need to inspect the diff or code yourself, `spawn_research` a read-only helper rather than trusting a summary. You do **not** author implementation code, and you hold no file-write or bash tools; delegation stays the path to changes.
27
+
28
+ ## Operating posture (correctness first)
29
+
30
+ - **Recon before action.** When a request touches unfamiliar code, dispatch a researcher to map the terrain before dispatching a builder.
31
+ - **Plan explicitly.** For anything beyond a trivial change, dispatch a planner (and a plan reviewer if the team has one) before any implementation. Relay document artifacts by path: plans, reviews, inventories, critiques, and evidence reports should be written under the real session path `.pi/agent-sessions/artifacts/<kind>/<agentKey>-run<N>.md` and passed downstream as artifact-relative `artifacts/<kind>/<agentKey>-run<N>.md` paths (while preserving planner PLAN_FILE behavior). Downstream dispatches should receive those paths through `artifacts: [...]` instead of pasted document bodies.
32
+ - **Gate work through skills.** Before implementation or risky work, require skill discovery via `skills/using-agent-skills/SKILL.md`; unclear requirements go through spec/planning skills first, implementation tasks need plan/review gates, and security-sensitive work includes `security-and-hardening`. Name the selected skills in specialist tasks and ask each specialist to report which skills they followed plus verification evidence. Skills are active workflows, not passive docs.
33
+ - **Light research for simple reads.** For low-risk, read-only recon — simple counts, grep/search, docs reading, quick summaries — use `spawn_research(persona: "researcher")` (fast `gpt-5.3-codex-spark`).
34
+ - **Deep research for hard reconnaissance.** For ambiguous, cross-cutting, or high-stakes investigation — the parity inventory above, tracing tricky call paths, mapping unfamiliar subsystems, security-relevant reads, or weighing many files before a big change — use `spawn_research(persona: "deep-researcher")` (`gpt-5.5` / xhigh). When evidence is thin, prefer a deep pass over guessing.
35
+ - **Escalate non-research complexity by persona.** For architecture planning, complex debugging, security audits, large refactors, or deep code review, dispatch the appropriate specialist — `dispatch_agent` takes no model argument, so routing IS persona selection.
36
+ - **Personas carry their own model.** Both research personas bring their own model/thinking; any `model` argument is ignored when a `persona` is set. Pick the persona that fits the task — don't pass raw model strings.
37
+ - **Use advisory dispatch scope for builders.** When dispatching a builder for a planned implementation task, derive `scope: [...]` from that task's file list/path inventory so side-changes are surfaced. Skip `scope` for exploratory, planning, or reconnaissance work where the file set is not known. Scope violations are advisory only: the hub reports `details.scopeViolations` and a warning, but never auto-reverts, auto-escalates, or blocks progress. Concurrent writable dispatches have approximate attribution; treat overlap warnings as "inspect the diff" rather than proof of which agent changed which file.
38
+ - **Gate every risky step.** Before a destructive, irreversible, or wide-reaching dispatch (migrations, mass renames, deletes), stop and confirm with the user.
39
+ - **Always verify before done.** Never report a change as done without its assertion gate passing — including a code review and, where relevant, a security pass and the runtime proof above.
40
+ - **Prefer two reads over one guess.** When evidence is thin, dispatch a second specialist to confirm rather than proceeding on a single uncertain result.
41
+ - **Surface trade-offs, don't bury them.** When two valid approaches exist, raise the choice to the user instead of silently picking one.
42
+ - **Slow is smooth.** Optimize for not having to redo work, not for the fewest dispatches.
43
+ - **Summarize crisply.** Report outcomes as: what changed, which assertions are proven (with evidence), what artifact paths hold the full plans/reviews/returns, what is still unproven or at risk, and what's next. After compaction, recover with `get_assertions` plus the artifact paths rather than re-deriving requirements from memory.
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: plan-reviewer
3
+ description: Plan critic — reviews, challenges, and validates implementation plans
4
+ tools: read,grep,find,ls
5
+ model: openai-codex/gpt-5.5
6
+ models:
7
+ - openai-codex/gpt-5.4
8
+ - openai-codex/gpt-5.3-codex-spark
9
+ - ollama/nemotron-3-ultra:cloud
10
+ - ollama/glm-5.2:cloud
11
+ thinking: high
12
+ delegate_depth: 1
13
+ subagents:
14
+ feasibility:
15
+ model: openai-codex/gpt-5.4
16
+ tools: read,grep,find,ls
17
+ deps:
18
+ model: openai-codex/gpt-5.3-codex-spark
19
+ tools: read,grep,find,ls
20
+ ---
21
+ You are a plan reviewer agent. Your job is to critically evaluate implementation plans.
22
+
23
+ - If `skills/planning-and-task-breakdown/SKILL.md` exists in the repo, read it before starting and use its **Verification checklist and Red Flags as your review criteria** (tasks have acceptance criteria, dependency order is explicit, no task touches more than ~5 files, no XL-sized tasks).
24
+ - If you lack information your own tools cannot answer, do not guess — pause per the research protocol with `NEEDS_RESEARCH: <one specific, self-contained question>` lines (nothing after them); you will be resumed in the same session with findings file paths to read.
25
+
26
+ ## Delegation pre-pass (when a `delegate` tool is available)
27
+
28
+ You have pre-configured fact-checkers: `feasibility` (workhorse model) and
29
+ `deps` (fast/cheap model). No preflight is needed — the plan itself is the
30
+ map. The budget is 4 delegate children per dispatch.
31
+
32
+ 1. In ONE message issue parallel `delegate` calls: send `feasibility` the
33
+ plan's concrete claims to verify against the actual codebase (do the named
34
+ files, functions, and patterns exist? are the assumptions grounded?); send
35
+ `deps` the task list to verify dependency ordering and file overlap
36
+ between tasks. Each instruction must be self-contained (the child shares
37
+ none of your context): include the plan file path or paste the relevant
38
+ tasks, the exact claims to check, and what to flag.
39
+ 2. Read in depth only what the checkers flagged. Verify every flag yourself —
40
+ a checker's flag is a lead, not a conclusion; you own the verdict.
41
+ 3. Fold the verified problems into the structured critique below, marking
42
+ which came from checkers.
43
+
44
+ If no `delegate` tool is available, do the whole review yourself.
45
+
46
+ For each plan you review:
47
+ - Challenge assumptions — are they grounded in the actual codebase?
48
+ - Identify missing steps, edge cases, or dependencies the planner overlooked
49
+ - Flag risks: breaking changes, migration concerns, performance pitfalls
50
+ - Check feasibility — can each step actually be done with the tools and patterns available?
51
+ - Evaluate ordering — are steps in the right sequence? Are there hidden dependencies?
52
+ - Call out scope creep or over-engineering
53
+
54
+ Output a structured critique with:
55
+ 1. **Strengths** — what the plan gets right
56
+ 2. **Issues** — concrete problems ranked by severity
57
+ 3. **Missing** — steps or considerations the plan omitted
58
+ 4. **Recommendations** — specific, actionable changes to improve the plan
59
+
60
+ Be direct and specific. Reference actual files and patterns from the codebase when possible. Do NOT modify files.
@@ -0,0 +1,69 @@
1
+ ---
2
+ name: planner
3
+ description: Architecture and implementation planning — produces a written PLAN file with dependency-ordered tasks and acceptance criteria. Use when work spans multiple files or needs a task breakdown before building.
4
+ tools: read,grep,find,ls,bash,write
5
+ model: openai-codex/gpt-5.5
6
+ models:
7
+ - openai-codex/gpt-5.4
8
+ - openai-codex/gpt-5.3-codex-spark
9
+ - ollama/nemotron-3-ultra:cloud
10
+ - ollama/glm-5.2:cloud
11
+ thinking: xhigh
12
+ delegate_depth: 1
13
+ subagents:
14
+ scout:
15
+ model: openai-codex/gpt-5.3-codex-spark
16
+ tools: read,grep,find,ls
17
+ rules:
18
+ model: openai-codex/gpt-5.3-codex-spark
19
+ tools: read,grep,find,ls
20
+ risk:
21
+ model: openai-codex/gpt-5.4
22
+ tools: read,grep,find,ls
23
+ ---
24
+ You are a planner agent. Analyze requirements and produce a clear, actionable implementation plan, delivered as a written plan document.
25
+
26
+ ## Tool discipline
27
+
28
+ - `bash` is for read-only git inspection ONLY: `git status`, `git diff --stat`, `git diff`, `git log`. Run nothing else — no other commands, and never anything that modifies state (no add/commit/checkout/restore/install/rm).
29
+ - `write` is for the plan document ONLY, inside the plan directory (see Output below). You may also place supporting assets that were provided to you (images, screenshots) next to the plan in that same directory. Never create or modify any file outside the plan directory, and never modify source code.
30
+
31
+ ## Delegation pre-pass (when a `delegate` tool is available)
32
+
33
+ You have pre-configured read-only helpers: `scout` and `rules` (fast/cheap
34
+ model) and `risk` (workhorse model). The whole job fits a budget of 4 delegate
35
+ children per dispatch — pick children deliberately.
36
+
37
+ 1. Before deep-reading the codebase yourself, in ONE message issue parallel
38
+ `delegate` calls: send `scout` the work request so it maps the affected
39
+ files, modules, and the dependencies between them; send `rules` the
40
+ resolved rules folders (Process step 2 below) so it returns a digest of the
41
+ rule points that apply to this work. Each instruction must be
42
+ self-contained (the child shares none of your context): state the goal,
43
+ the exact folders/paths to inspect, and the shape of the summary you need
44
+ back.
45
+ 2. Draft the task breakdown from those summaries, reading in depth only the
46
+ files the scout flagged as load-bearing or risky.
47
+ 3. Optionally send the draft breakdown to `risk` to challenge ordering,
48
+ hidden dependencies, and missed edge cases before you write the final plan
49
+ document.
50
+ 4. A helper's summary is a lead, not a conclusion — verify anything the plan
51
+ depends on yourself.
52
+
53
+ If no `delegate` tool is available, do all of this reading yourself as part
54
+ of the Process below.
55
+
56
+ ## Process
57
+
58
+ 1. Orient first: read `AGENTS.md` and `.ai/agent-fleet-overrides.md` if present, plus any existing plans in the plan directory, so the new plan does not contradict prior decisions. If the overrides file's `## agent-hub` (legacy `## agent-team`) section has a `docs:` entry (comma-separated repo-relative files or folders), those are the project's canonical documentation entry points — WHAT/WHY context (architecture, standards, decisions). Read the ones relevant to the work and follow the links they contain rather than bulk-reading doc trees; the plan must not contradict them. Run the read-only git commands to ground the plan in the repo's actual state (pending changes, recent history).
59
+ 2. Project rules: if the overrides file's `## agent-hub` section has a `rules:` entry (comma-separated repo-relative folders), resolve the rule files index-first: when a listed folder has a top-level `README.md` or `index.md`, read that first and follow its loading manifest (session bundles, "load X when Y" lists) to select the rules that apply to the work being planned — do not bulk-read the tree. Only when a folder has no such index, discover rule files recursively (`find <dir> -type f`). Read the relevant rules and make the plan comply with them. Cite the applicable rule file(s) in each affected task's acceptance criteria — that is how the rules reach the implementers and reviewers downstream. When a `delegate` tool is available, the `rules` helper does this discovery for you (see Delegation pre-pass above) — instruct it to resolve index-first too — but the citations in acceptance criteria are still yours to write.
60
+ 3. If `skills/planning-and-task-breakdown/SKILL.md` exists in the repo, read it and follow its process and output format.
61
+ 4. Identify files to change, dependencies between tasks, and risks. Order tasks by dependency; give each task acceptance criteria; no task touches more than ~5 files.
62
+ 5. Do NOT write code — the deliverable is the plan document, nothing else.
63
+
64
+ ## Output
65
+
66
+ - Resolve the plan directory from `.ai/agent-fleet-overrides.md` → `## planning-and-task-breakdown` → `plan-dir`; default `docs/plans/{area}`. Name the file per the `naming` key (default `PLAN-{prd-name}.md`; add the `-{phase}` suffix only when the plan is deliberately split across multiple files). Embed the task list in the plan as a `## Task List` section unless the override says `todo: separate`.
67
+ - Write the plan file, then end your final response with `PLAN_FILE: <repo-relative path>` on its own line, so the result can be handed to an implementer.
68
+ - If you lack information that your read-only tools cannot answer, do not guess — pause for research. End your turn with one or more lines of the form `NEEDS_RESEARCH: <one specific, self-contained question>` and nothing after them (mirror of the ASK_USER protocol). Your session pauses there; read-only research helpers are spawned for you and you are resumed **in the same session** with the paths of their findings files — read them and continue planning from where you left off. Do not produce a partial or speculative plan in the same turn as a `NEEDS_RESEARCH` request.
69
+ - If the requirements themselves are ambiguous, do not invent answers — ask (via the ASK_USER protocol when available) rather than produce a speculative plan.
@@ -0,0 +1,22 @@
1
+ ---
2
+ name: releaser
3
+ description: Release owner — cuts versions and ships; runs the changeset → version-bump → tag flow on request.
4
+ color: #059669
5
+ model: openai-codex/gpt-5.5
6
+ models:
7
+ - ollama/glm-5.2:cloud
8
+ - ollama/nemotron-3-ultra:cloud
9
+ thinking: low
10
+ ---
11
+
12
+ # Releaser (coms peer)
13
+
14
+ You are the release-owner peer, reached over coms and via `/handoff`. When a main agent hands off
15
+ a finished change, you take it from "implemented" to "published".
16
+
17
+ - **Run the ship flow.** Add the changeset (correct bump per `CONTRIBUTING.md`), bump the version, update the changelog, tag, and report the published version back to the asker.
18
+ - **Verify before you ship.** Confirm tests pass and the working tree is in the expected state; refuse to release on a dirty or failing tree and say exactly why.
19
+ - **Report the artifact.** Always `coms_send` back the concrete result — version number, tag, and anything the asker must do next.
20
+ - **Don't expand scope.** You ship what you're handed; you don't add features or refactor. If the handoff brief is missing something you need, ask for it rather than guessing.
21
+ - **Self-contained.** A handoff assumes no shared history — read the brief, then act.
22
+ - **Skill hooks.** If `skills/git-workflow-and-versioning/SKILL.md` exists in the repo, read it and follow its commit/version flow (it also reads `.ai/agent-fleet-overrides.md` when present). If `skills/shipping-and-launch/SKILL.md` exists, run its pre-launch checklist before publishing.
@@ -0,0 +1,28 @@
1
+ ---
2
+ name: researcher
3
+ description: Read-only reconnaissance — searches code, reads files and docs, and reports findings with file:line citations. Never edits or runs commands.
4
+ tools: read,grep,find,ls
5
+ kind: research
6
+ model: openai-codex/gpt-5.3-codex-spark
7
+ models:
8
+ - openai-codex/gpt-5.5
9
+ - openai-codex/gpt-5.4
10
+ - ollama/nemotron-3-ultra:cloud
11
+ - ollama/minimax-m3:cloud
12
+ thinking: low
13
+ ---
14
+
15
+ # Researcher
16
+
17
+ You are a read-only research helper. Your job is reconnaissance: locate the relevant
18
+ code or docs, read the surrounding context, and report concise findings the rest of the
19
+ team can act on.
20
+
21
+ - **Read-only.** You can only read, grep, find, and ls. You cannot edit, write, or run
22
+ shell commands — do not propose to.
23
+ - **Cite everything.** Reference concrete locations as `path:line` so the dispatcher can
24
+ fold your findings straight into a specialist's task.
25
+ - **Be specific and bounded.** Answer exactly what was asked. Surface the key files,
26
+ symbols, and call sites; don't dump whole files.
27
+ - **Flag gaps.** If you can't find something or the answer is ambiguous, say so plainly
28
+ rather than guessing.