@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,112 @@
1
+ ---
2
+ description: Orchestrate a config-defined team of subagents — route planner/builder (and more) as a runtime roster, handling NEEDS_RESEARCH and PLAN_FILE handoffs
3
+ ---
4
+
5
+ You are the **orchestrator**. The primary agent drives a team of installed `mode: subagent`
6
+ agents to deliver the task in `$ARGUMENTS`. Subagents cannot nest — **all dispatching is
7
+ yours**.
8
+
9
+ ## Roles
10
+
11
+ | Role | What it does |
12
+ |---|---|
13
+ | `researcher` | Always-available read-only recon. Cites `file:line`. Never edits. |
14
+ | `planner` | Writes a plan doc only; ends with `PLAN_FILE: <path>` or pauses on `NEEDS_RESEARCH:`. |
15
+ | `builder` | Implements in small increments; may pause on `NEEDS_RESEARCH:`. |
16
+ | `plan-reviewer` / `code-reviewer` | Read-only; their whole result is findings (no handoff marker). |
17
+
18
+ ## Step 0 — Resolve the team
19
+
20
+ 1. Read `.opencode/orchestrate-teams.yaml` (a map of team-name → ordered persona list).
21
+ 2. Resolve team + task from `$ARGUMENTS`:
22
+ - Treat the **first token** as a team name **only** when it is a bare single word that
23
+ exactly matches a config key **and** is followed by the rest of the task. To force a
24
+ team explicitly, the user writes `/af-orchestrate team=<name> <task>`. Otherwise the
25
+ team is the first key (`default`) and all of `$ARGUMENTS` is the task.
26
+ - **Fallbacks:** if the config is **absent / empty / fails to parse**, fall back to the
27
+ built-in `planner` + `builder` default and **say which fallback fired** (don't proceed
28
+ silently). If a named team is requested but not found, list the available team keys and
29
+ ask rather than guessing.
30
+ 3. **Validate personas:** each persona in the resolved team must exist in `.opencode/agent/`.
31
+ Skip-with-warning any that don't. If every persona is missing, fall back to the built-in
32
+ default.
33
+ 4. List the resolved team back to the user before dispatching.
34
+
35
+ `researcher` / `deep-researcher` are **always available** even when not listed in the team.
36
+
37
+ ## Step 1 — The team is a roster, not a fixed pipeline
38
+
39
+ The persona list is the set of specialists you may route to; **you decide the order at
40
+ runtime from the task state** (the listed order is only a sensible starting default). So:
41
+
42
+ - **Skip `planner`** when a usable plan already exists (the user passed a `PLAN_FILE` or
43
+ pointed at one) — go straight to `builder`.
44
+ - **Re-dispatch `researcher` at any point** — after `planner`, mid-build — whenever a
45
+ specialist needs a fact checked, not only as a first step.
46
+ - **Loop back to `planner`** if `builder` surfaces that the plan is wrong.
47
+
48
+ Do **not** enforce a hard `researcher → planner → builder` sequence.
49
+
50
+ ## The Verification Contract (applies across every step)
51
+
52
+ Read `skills/orchestration-verification/SKILL.md` before non-trivial work and hold its
53
+ contract for the whole run. Subagents here cannot persist a shared ledger, so **you** keep
54
+ the acceptance assertions in your own working notes and refuse "done" until each is proven.
55
+
56
+ - **Build the assertions first.** Before dispatching `builder` for any non-trivial task,
57
+ convert the request into numbered, tagged assertions (`test` | `runtime-ui` | `code-grep`
58
+ | `manual`, one checkable pass condition each). Pass the relevant assertions **verbatim**
59
+ into each dispatch and advance only on assertions that come back *proven with named
60
+ evidence* — propagation in prose is not verification.
61
+ - **Inventory parity for "behave like X" requests.** When the request is "make X behave like
62
+ existing Y", dispatch `researcher` / `deep-researcher` **first** to enumerate every site
63
+ where the exemplar is special-cased (flags, branches, display, validation, translations,
64
+ fixtures, tests), and turn each site into an assertion covering the *whole* set — otherwise
65
+ the exemplar ships and its siblings are missed.
66
+ - **Require runtime proof for UI assertions.** A `runtime-ui` assertion (visibility,
67
+ placement, "appears in the table") is closed only by an actual runtime observation via
68
+ `browser-testing-with-devtools`, never a static review.
69
+ - **Accept assertion status, not verdicts.** Treat specialist returns as `assertions_proven`
70
+ / `assertions_unproven` / `assertions_failed`; demote any "approved" claim with no named
71
+ evidence to unproven and re-dispatch it.
72
+ - **Reset on "wrong again".** When the user reports a delivered requirement is wrong again,
73
+ treat prior summaries as suspect, rebuild the affected assertions from the **latest**
74
+ correction (re-running the parity inventory for "behave like" cases), then re-dispatch.
75
+
76
+ ## Step 2 — Route to specialists, honouring handoff markers
77
+
78
+ State the chosen next step (and why) before each dispatch, so routing is visible.
79
+
80
+ - `planner` → read its `PLAN_FILE: <path>` and load the plan.
81
+ - `builder` → loop over the plan's `## Task List`, **one task per dispatch**, checking each
82
+ task's acceptance criteria **and the relevant acceptance assertions** before moving on.
83
+ - **Marker-less personas** (`plan-reviewer` / `code-reviewer`) emit no handoff marker —
84
+ their returned report **is** the result; "done" = the report came back, nothing to wait
85
+ for. Fold findings forward; if a `code-reviewer` raised must-fix issues, loop back to
86
+ `builder`.
87
+
88
+ ## Step 3 — NEEDS_RESEARCH dispatch (core)
89
+
90
+ Whenever any persona's result contains one or more `NEEDS_RESEARCH: <question>` lines:
91
+
92
+ 1. Pause that track.
93
+ 2. Dispatch `researcher` (read-only) once per question — in parallel when independent.
94
+ 3. Collect the findings.
95
+ 4. Resume the paused persona by re-dispatching it with the **original task plus the
96
+ findings inlined**.
97
+
98
+ **Never** answer a `NEEDS_RESEARCH` by guessing.
99
+
100
+ ## Step 4 — Reviewer only if present
101
+
102
+ The `default` roster has **no reviewer**. After the final builder task's acceptance criteria
103
+ pass, report completion and **state explicitly that review/verification was not run** and
104
+ which acceptance assertions therefore remain unproven (the user can pick the `full` team or
105
+ run `/af-review`). When the active team *does* include a reviewer, run it as a normal step and
106
+ require it to report parity across sibling cases, not just the exemplar.
107
+
108
+ ## Step 5 — Report
109
+
110
+ Report crisply: **active team**, what changed, which acceptance assertions are **proven (with
111
+ evidence)**, which remain **unproven or failed**, and what's next. Never report "done" while a
112
+ relevant assertion is unproven.
@@ -0,0 +1,16 @@
1
+ ---
2
+ description: Break work into small verifiable tasks with acceptance criteria and dependency ordering
3
+ ---
4
+
5
+ Invoke the `planning-and-task-breakdown` skill via the `skill` tool.
6
+
7
+ Read the existing spec, such as `SPEC.md`, and relevant codebase sections. Then:
8
+
9
+ 1. Enter planning mode: read only, no code changes.
10
+ 2. Identify the dependency graph between components.
11
+ 3. Slice work vertically, with one complete path per task rather than horizontal layers.
12
+ 4. Write tasks with acceptance criteria and verification steps.
13
+ 5. Add checkpoints between phases.
14
+ 6. Present the plan for human review.
15
+
16
+ Save the plan to the location the `planning-and-task-breakdown` skill defines (default `docs/plans/{area}/PLAN-{prd-name}-{phase}.md`, with the task list embedded — no separate todo file; overridable per project via `.ai/agent-fleet-overrides.md`), only after the user confirms the plan should be written.
@@ -0,0 +1,22 @@
1
+ ---
2
+ description: Load foundational context for the agent-fleet repository
3
+ ---
4
+
5
+ # Purpose
6
+
7
+ Orient yourself in **agent-fleet** — a collection of production-grade engineering skills
8
+ for AI coding agents, plus pi extensions, specialist agent personas, and lifecycle
9
+ commands that map to the software development lifecycle.
10
+
11
+ ## Workflow
12
+
13
+ 1. Run `git ls-files` to see the full project file tree
14
+ 2. Read `README.md` and `CLAUDE.md` for the project overview and conventions
15
+ 3. Read `docs/skill-anatomy.md` to learn the required skill format
16
+ 4. Skim `skills/*/SKILL.md` — the core skills, grouped by lifecycle phase
17
+ (Define → Plan → Build → Verify → Review → Ship)
18
+ 5. Read `agents/*.md` — the specialist review personas
19
+ 6. Read `docs/pi-extensions.md`, `.pi/extensions/*/README.md` (always-on utilities), and `.pi/harnesses/*/README.md` (selectable session harnesses)
20
+ 7. Summarize your understanding: purpose, structure, key files, and entry points
21
+
22
+ Do this directly — read the files yourself rather than delegating to subagents.
@@ -0,0 +1,15 @@
1
+ ---
2
+ description: Conduct a five-axis code review - correctness, readability, architecture, security, performance
3
+ ---
4
+
5
+ Invoke the `code-review-and-quality` skill via the `skill` tool.
6
+
7
+ Review the current changes, staged changes, or scope specified in `$ARGUMENTS` across these axes:
8
+
9
+ 1. Correctness: Does it match the spec? Are edge cases handled? Are tests adequate?
10
+ 2. Readability: Are names clear? Is the logic straightforward and well organized?
11
+ 3. Architecture: Does it follow existing patterns? Are boundaries clean? Is the abstraction level right?
12
+ 4. Security: Is input validated? Are secrets safe? Is authorization checked? Invoke `security-and-hardening` via the `skill` tool when relevant.
13
+ 5. Performance: Are there N+1 queries, unbounded operations, or avoidable frontend regressions? Invoke `performance-optimization` via the `skill` tool when relevant.
14
+
15
+ Categorize findings as Critical, Important, or Suggestion. Output a structured review with specific file and line references plus fix recommendations.
@@ -0,0 +1,15 @@
1
+ ---
2
+ description: Guided setup — install agent-fleet artifacts into a workspace for a chosen coding agent
3
+ ---
4
+
5
+ Invoke the `guided-workspace-setup` skill via the `skill` tool.
6
+
7
+ Run the guided install for a target workspace. If the user passed a workspace path, use it; otherwise ask for it. Detect the running coding agent and confirm it with the user.
8
+
9
+ The Skills group draws from **two roots**: fleet-native `skills/` and the vendored upstream import `vendor/agent-skills-upstream/skills/` (see `docs/UPSTREAM-SKILLS.md`). On a name collision the native copy wins — never offer the vendored duplicate as a separate row.
10
+
11
+ Analyse the workspace, then present a checklist of installable artifacts as **7 grouped multi-selects** (4 shared: Skills, Agent personas, Commands/prompts, References & Hooks; 3 pi-only: pi extensions & runtime skills, pi harnesses, External pi packages — an opencode workspace sees just the 4 shared groups). Multi-type groups carry a `Group` column labelling the sub-category. Mark what is already installed (pre-checked `[x]`). On `pi`, installing/refreshing/removing any harness also refreshes its companions — the `justfile` launch recipes (managed region only, so user recipes survive), the `team-up` script, the peer/team YAML, `.pi/damage-control-rules.yaml`, and `.pi/harnesses/package.json` — refreshed from the current source so retired-harness recipes are pruned and new ones added.
12
+
13
+ **Personas are generated for opencode.** The personas group lists the full availability roster from `node <source-root>/bin/cli.js transform-persona --list --agent opencode` (pi-only personas — `bowser`, `orchestrator` — are excluded). The apply step installs them into `.opencode/agent/<name>.md` via `transform-persona --agent opencode --workspace <workspace> <name…>` — always a generated copy, even in symlink mode — and records the rows with `transformed: true`; status checks diff against the generated output, not the raw canonical source.
14
+
15
+ Offer override sections for the workspace's `.ai/agent-fleet-overrides.md` based on a brief analysis of the project, and record what was installed in `.ai/agent-fleet-setup.md`. Summarise the full plan and wait for explicit confirmation before writing anything, then perform the setup and report what changed.
@@ -0,0 +1,16 @@
1
+ ---
2
+ description: Run the pre-launch checklist and prepare for production deployment
3
+ ---
4
+
5
+ Invoke the `shipping-and-launch` skill via the `skill` tool.
6
+
7
+ Run through the complete pre-launch checklist:
8
+
9
+ 1. Code quality: tests pass, build clean, lint clean, no stray TODOs or console logs.
10
+ 2. Security: dependency audit checked, no secrets in code, auth in place, headers configured where applicable.
11
+ 3. Performance: Core Web Vitals or relevant performance checks are acceptable, no N+1 queries, images and bundles are reasonable.
12
+ 4. Accessibility: keyboard navigation works, screen reader semantics are acceptable, contrast is adequate.
13
+ 5. Infrastructure: environment variables are set, migrations are ready, monitoring is configured.
14
+ 6. Documentation: README is current, ADRs are written when needed, changelog is updated when relevant.
15
+
16
+ Report any failing checks and help resolve them before deployment. Define the rollback plan before proceeding.
@@ -0,0 +1,16 @@
1
+ ---
2
+ description: Start spec-driven development by writing a structured specification before code
3
+ ---
4
+
5
+ Invoke the `spec-driven-development` skill via the `skill` tool.
6
+
7
+ Begin by understanding what the user wants to build. Ask clarifying questions about:
8
+
9
+ 1. The objective and target users.
10
+ 2. Core features and acceptance criteria.
11
+ 3. Tech stack preferences and constraints.
12
+ 4. Known boundaries: what to always do, ask first about, and never do.
13
+
14
+ Then generate a structured spec covering objective, commands, project structure, code style, testing strategy, and boundaries.
15
+
16
+ Confirm with the user before saving, then save the spec to the location the `spec-driven-development` skill defines (default `docs/prds/{area}/PRD{n}-{topic}.md`; overridable per project via `.ai/agent-fleet-overrides.md`).
@@ -0,0 +1,21 @@
1
+ ---
2
+ description: Run a TDD workflow - write failing tests, implement, verify
3
+ ---
4
+
5
+ Invoke the `test-driven-development` skill via the `skill` tool.
6
+
7
+ For new features:
8
+
9
+ 1. Write tests that describe the expected behavior and confirm they fail.
10
+ 2. Implement the code to make them pass.
11
+ 3. Refactor while keeping tests green.
12
+
13
+ For bug fixes, use the Prove-It pattern:
14
+
15
+ 1. Write a test that reproduces the bug and must fail.
16
+ 2. Confirm the test fails.
17
+ 3. Implement the fix.
18
+ 4. Confirm the test passes.
19
+ 5. Run the relevant full test suite for regressions.
20
+
21
+ For browser-related issues, also invoke `browser-testing-with-devtools` via the `skill` tool to verify with Chrome DevTools MCP.
@@ -0,0 +1,32 @@
1
+ ---
2
+ description: Run a web performance audit via the web-performance-auditor subagent
3
+ ---
4
+
5
+ `/webperf` targets web applications specifically. Do not use it for utility libraries, CLIs, or server-only code with no browser-facing output.
6
+
7
+ ## Determine the mode
8
+
9
+ **Deep mode** - activate when any of these is available:
10
+ - A Lighthouse JSON report file (e.g. `npx lighthouse <url> --output json --output-path ./report.json`, or `npx -p chrome-devtools-mcp chrome-devtools lighthouse_audit --output-format=json` from the Chrome DevTools MCP CLI)
11
+ - A PageSpeed Insights JSON response (includes Lighthouse + CrUX)
12
+ - A CrUX API response (requires `CRUX_API_KEY` or `GOOGLE_API_KEY`)
13
+ - A DevTools performance trace
14
+ - A live URL plus the `chrome-devtools` MCP server configured in the harness (the agent can capture metrics directly via `lighthouse_audit` and `performance_*` tools)
15
+ - The Chrome DevTools MCP CLI invoked locally (via `npx -p chrome-devtools-mcp chrome-devtools <tool>` or after `npm i -g chrome-devtools-mcp`) - the user runs commands like `chrome-devtools lighthouse_audit --output-format=json` and passes the JSON output to the agent
16
+
17
+ **Quick mode** - default when none of the above are available. The agent scans source code for structural anti-patterns and labels every finding as `potential impact`.
18
+
19
+ ## Run the audit
20
+
21
+ Delegate to the `web-performance-auditor` subagent (mention `@web-performance-auditor`). Pass it explicitly:
22
+
23
+ - The files, components, or diff under review
24
+ - Any artifact paths (Lighthouse JSON, PSI JSON, CrUX response, trace) or pasted JSON content
25
+ - The target URL or page name when known
26
+ - A note on which mode you expect (Quick or Deep), so the agent surfaces missing inputs if Deep was intended
27
+
28
+ The subagent returns a scorecard (only populated with sourced values), a ranked list of findings, positive observations, and proactive recommendations.
29
+
30
+ ## Output
31
+
32
+ Return the full audit report to the user. No synthesis or merge step is needed - this is a single-subagent command.
@@ -0,0 +1,24 @@
1
+ # Teams for /orchestrate. The main session reads this file and routes the
2
+ # named team as a ROSTER (runtime-decided order), not a fixed pipeline.
3
+ #
4
+ # Rules the /orchestrate command relies on:
5
+ # 1. First key is the default team (used when no team argument is given).
6
+ # 2. researcher / deep-researcher are NOT listed — they are always available
7
+ # out-of-band for NEEDS_RESEARCH dispatch (mirrors pi's spawn_research).
8
+ # 3. Every listed persona must exist in .opencode/agent/ or it is skipped with
9
+ # a warning.
10
+ #
11
+ # Switch at runtime: /orchestrate <team> "<task>" (parallels pi's /agents-team).
12
+
13
+ default:
14
+ - planner
15
+ - builder
16
+
17
+ full:
18
+ - planner
19
+ - plan-reviewer
20
+ - builder
21
+ - code-reviewer
22
+
23
+ hotfix:
24
+ - builder
@@ -0,0 +1,32 @@
1
+ # Backend routing for the agent-hub dispatcher (dispatch_agent). Decided at
2
+ # DISPATCH time, never at team activation — the hub and its peers boot in
3
+ # parallel (`just hub-team <team>`), so a member's coms peer may register
4
+ # after the session starts.
5
+ #
6
+ # default: native | coms — coms substitutes ANY active-team member that has
7
+ # a live same-name peer in the coms pool
8
+ # grace_s: <seconds> — how long a `fallback: none` member polls the pool
9
+ # for its peer before the dispatch is refused
10
+ # substitutions:
11
+ # <member>: — team-member/persona name (case-insensitive)
12
+ # prefer: native|coms — bare member block defaults to coms
13
+ # fallback: native|none — none = coms-required (refuse when no live peer)
14
+ # timeout_s: <seconds> — per-member reply timeout (default PI_COMS_TIMEOUT_MS)
15
+ #
16
+ # Missing file = everything native (no behavior change). This file is an
17
+ # orchestration decision; HOW each peer runs (model, runner: claude-code, env)
18
+ # stays in peers.yaml.
19
+
20
+ default: native
21
+ grace_s: 30
22
+
23
+ substitutions:
24
+ plan-reviewer:
25
+ prefer: coms
26
+ fallback: native
27
+ code-reviewer:
28
+ prefer: coms
29
+ fallback: native
30
+ documenter:
31
+ prefer: coms
32
+ fallback: native
@@ -0,0 +1,20 @@
1
+ # Named model profiles for /models — each entry must be one of the persona's
2
+ # declared candidates (frontmatter `model:` + `models:` list). A profile with
3
+ # any invalid entry is dropped whole at session start, with an error notify.
4
+ #
5
+ # Profiles only switch the personas they list; everyone else keeps their
6
+ # current model. They never touch delegate-children (`subagents:`) models.
7
+ max:
8
+ code-reviewer: openai-codex/gpt-5.5
9
+ builder: openai-codex/gpt-5.5
10
+ planner: openai-codex/gpt-5.5
11
+ plan-reviewer: openai-codex/gpt-5.5
12
+ security-auditor: openai-codex/gpt-5.5
13
+ test-engineer: openai-codex/gpt-5.5
14
+ budget:
15
+ code-reviewer: openai-codex/gpt-5.4
16
+ builder: openai-codex/gpt-5.3-codex-spark
17
+ planner: openai-codex/gpt-5.3-codex-spark
18
+ plan-reviewer: openai-codex/gpt-5.4
19
+ security-auditor: openai-codex/gpt-5.4
20
+ test-engineer: openai-codex/gpt-5.3-codex-spark
@@ -0,0 +1,142 @@
1
+ # Reusable coms peers, grouped into named teams (parallels teams.yaml).
2
+ #
3
+ # `just team-up <name>` spawns each peer of a team in its own herdr pane
4
+ # (requires a running herdr server — https://herdr.dev),
5
+ # using the hidden `_peer` helper (coms + compact-and-continue + the persona).
6
+ #
7
+ # Each peer entry:
8
+ # name — coms identity (the addressable peer name); overrides persona frontmatter
9
+ # persona — file under agents/ (without .md); its body is the role, its
10
+ # frontmatter `description`/`color` become the coms purpose/color
11
+ # model — optional pi --model spec (e.g. anthropic/claude-opus-4-7); omit to
12
+ # inherit pi's default model
13
+ # extensions — optional comma-separated extension names under .pi/extensions/ to
14
+ # load into this peer (routes it through `_peer-plus`). Use for a
15
+ # chrome-devtools-mcp browser-debug peer whose `chrome_devtools__*`
16
+ # tools a --no-extensions subagent could not get.
17
+ # env_file — optional repo-relative KEY=VALUE file (no shell evaluation) injected
18
+ # into the peer's pane env by herdr before the command runs. Must exist
19
+ # at spawn or team-up refuses. Values are redacted in --dry-run output.
20
+ # Pair with the gitignored `.env` convention from guided setup
21
+ # (docs/agent-fleet-setup.md).
22
+ # runner — optional; "claude-code" spawns interactive Claude Code + its coms
23
+ # bridge in the pane instead of a pi peer (persona not required;
24
+ # model maps to `claude --model`). Example:
25
+ # - name: claude-main
26
+ # runner: claude-code
27
+ # model: opus
28
+
29
+ full:
30
+ - name: web-debugger
31
+ persona: web-debugger
32
+ model: openai-codex/gpt-5.5
33
+ extensions: chrome-devtools-mcp
34
+ - name: documenter
35
+ persona: documenter
36
+ model: openai-codex/gpt-5.3-codex-spark
37
+ - name: researcher
38
+ persona: researcher
39
+ model: openai-codex/gpt-5.3-codex-spark
40
+
41
+ web:
42
+ - name: web-debugger
43
+ persona: web-debugger
44
+ model: openai-codex/gpt-5.5
45
+ extensions: chrome-devtools-mcp
46
+
47
+ docs:
48
+ - name: documenter
49
+ persona: documenter
50
+ model: openai-codex/gpt-5.3-codex-spark
51
+ - name: researcher
52
+ persona: researcher
53
+ model: openai-codex/gpt-5.3-codex-spark
54
+
55
+ # Mirrored from .pi/agents/teams.yaml for `just team-up <team>`.
56
+ default:
57
+ - name: planner
58
+ persona: planner
59
+ model: openai-codex/gpt-5.5
60
+ - name: plan-reviewer
61
+ runner: claude-code
62
+ - name: builder
63
+ persona: builder
64
+ model: openai-codex/gpt-5.5
65
+ - name: test-engineer
66
+ persona: test-engineer
67
+ model: openai-codex/gpt-5.5
68
+ - name: code-reviewer
69
+ runner: claude-code
70
+ - name: documenter
71
+ persona: documenter
72
+ model: openai-codex/gpt-5.5
73
+
74
+ debug:
75
+ - name: test-engineer
76
+ persona: test-engineer
77
+ model: openai-codex/gpt-5.5
78
+ - name: builder
79
+ persona: builder
80
+ model: openai-codex/gpt-5.5
81
+ - name: code-reviewer
82
+ runner: claude-code
83
+
84
+ frontend:
85
+ - name: planner
86
+ persona: planner
87
+ model: openai-codex/gpt-5.5
88
+ - name: builder
89
+ persona: builder
90
+ model: openai-codex/gpt-5.5
91
+ - name: bowser
92
+ persona: bowser
93
+ model: openai-codex/gpt-5.3-codex-spark
94
+ - name: code-reviewer
95
+ runner: claude-code
96
+
97
+ security:
98
+ - name: security-auditor
99
+ persona: security-auditor
100
+ model: openai-codex/gpt-5.5
101
+ - name: builder
102
+ persona: builder
103
+ model: openai-codex/gpt-5.5
104
+ - name: test-engineer
105
+ persona: test-engineer
106
+ model: openai-codex/gpt-5.5
107
+ - name: code-reviewer
108
+ runner: claude-code
109
+
110
+ hotfix:
111
+ - name: builder
112
+ persona: builder
113
+ model: openai-codex/gpt-5.5
114
+ - name: code-reviewer
115
+ runner: claude-code
116
+
117
+ release:
118
+ - name: releaser
119
+ persona: releaser
120
+ model: openai-codex/gpt-5.5
121
+ - name: documenter
122
+ persona: documenter
123
+ model: openai-codex/gpt-5.5
124
+
125
+ info:
126
+ - name: documenter
127
+ persona: documenter
128
+ model: openai-codex/gpt-5.5
129
+ - name: code-reviewer
130
+ runner: claude-code
131
+
132
+ review:
133
+ - name: plan-reviewer
134
+ runner: claude-code
135
+ - name: code-reviewer
136
+ runner: claude-code
137
+
138
+ plan:
139
+ - name: planner
140
+ runner: claude-code
141
+ - name: code-reviewer
142
+ runner: claude-code
@@ -0,0 +1,39 @@
1
+ # Първият team се активира при старт. Смяна: /agents-team
2
+ # researcher / deep-researcher не се листват — винаги достъпни през spawn_research.
3
+
4
+ default:
5
+ - planner
6
+ - plan-reviewer
7
+ - builder
8
+ - test-engineer
9
+ - code-reviewer
10
+ - documenter
11
+
12
+ debug:
13
+ - test-engineer
14
+ - builder
15
+ - code-reviewer
16
+
17
+ frontend:
18
+ - planner
19
+ - builder
20
+ - bowser
21
+ - code-reviewer
22
+
23
+ security:
24
+ - security-auditor
25
+ - builder
26
+ - test-engineer
27
+ - code-reviewer
28
+
29
+ hotfix:
30
+ - builder
31
+ - code-reviewer
32
+
33
+ release:
34
+ - releaser
35
+ - documenter
36
+
37
+ info:
38
+ - documenter
39
+ - code-reviewer