@chankov/agent-fleet 0.0.8 → 0.0.10

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 (682) hide show
  1. package/.claude/commands/doctor-agent-fleet.md +12 -7
  2. package/.claude/commands/setup-agent-fleet.md +7 -15
  3. package/.opencode/commands/af-doctor-agent-fleet.md +12 -7
  4. package/.opencode/commands/af-setup-agent-fleet.md +8 -6
  5. package/.pi/agents/model-profiles.yaml +9 -2
  6. package/.pi/agents/peers.yaml +12 -16
  7. package/.pi/agents/teams.yaml +4 -2
  8. package/.pi/extensions/agent-fleet-update-check/README.md +2 -3
  9. package/.pi/extensions/btw/README.md +2 -2
  10. package/.pi/extensions/chrome-devtools-mcp/README.md +3 -6
  11. package/.pi/extensions/compact-and-continue/README.md +3 -3
  12. package/.pi/extensions/mcp-bridge/README.md +1 -1
  13. package/.pi/harnesses/agent-hub/README.md +159 -15
  14. package/.pi/harnesses/agent-hub/docs-lane.js +122 -0
  15. package/.pi/harnesses/agent-hub/external-blocker.js +85 -0
  16. package/.pi/harnesses/agent-hub/footer.ts +4 -2
  17. package/.pi/harnesses/agent-hub/index.ts +552 -50
  18. package/.pi/harnesses/agent-hub/package.json +1 -1
  19. package/.pi/harnesses/agent-hub/review-findings.js +102 -0
  20. package/.pi/harnesses/agent-hub/run-budget.js +302 -4
  21. package/.pi/harnesses/agent-hub/run-namespace.js +87 -0
  22. package/.pi/harnesses/agent-hub/version.ts +25 -1
  23. package/.pi/harnesses/coms/README.md +8 -1
  24. package/.pi/harnesses/coms/package.json +1 -1
  25. package/.pi/harnesses/coms/version.ts +25 -1
  26. package/.pi/harnesses/damage-control-continue/README.md +8 -1
  27. package/.pi/harnesses/damage-control-continue/package.json +1 -1
  28. package/.pi/harnesses/damage-control-continue/version.ts +25 -1
  29. package/.pi/harnesses/lib/herdr-client.ts +10 -1
  30. package/.pi/harnesses/lib/spawned-peers.js +190 -0
  31. package/.pi/prompts/af-doctor-agent-fleet.md +13 -6
  32. package/.pi/prompts/af-setup-agent-fleet.md +7 -15
  33. package/.versions/0.0.10/.claude/commands/build.md +44 -0
  34. package/.versions/0.0.10/.claude/commands/code-simplify.md +22 -0
  35. package/.versions/0.0.10/.claude/commands/design-agent.md +14 -0
  36. package/.versions/0.0.10/.claude/commands/doctor-agent-fleet.md +22 -0
  37. package/.versions/0.0.10/.claude/commands/orchestrate.md +112 -0
  38. package/.versions/0.0.10/.claude/commands/plan.md +16 -0
  39. package/.versions/0.0.10/.claude/commands/prime.md +22 -0
  40. package/.versions/0.0.10/.claude/commands/review.md +16 -0
  41. package/.versions/0.0.10/.claude/commands/set-hermes-telegram.md +15 -0
  42. package/.versions/0.0.10/.claude/commands/set-hermes-watchdog.md +6 -0
  43. package/.versions/0.0.10/.claude/commands/setup-agent-fleet.md +17 -0
  44. package/.versions/0.0.10/.claude/commands/ship.md +72 -0
  45. package/.versions/0.0.10/.claude/commands/spec.md +15 -0
  46. package/.versions/0.0.10/.claude/commands/test.md +19 -0
  47. package/.versions/0.0.10/.claude/commands/webperf.md +32 -0
  48. package/.versions/0.0.10/.claude/orchestrate-teams.yaml +24 -0
  49. package/.versions/0.0.10/.opencode/commands/af-build.md +17 -0
  50. package/.versions/0.0.10/.opencode/commands/af-code-simplify.md +16 -0
  51. package/.versions/0.0.10/.opencode/commands/af-compound.md +16 -0
  52. package/.versions/0.0.10/.opencode/commands/af-design-agent.md +15 -0
  53. package/.versions/0.0.10/.opencode/commands/af-doctor-agent-fleet.md +22 -0
  54. package/.versions/0.0.10/.opencode/commands/af-orchestrate.md +112 -0
  55. package/.versions/0.0.10/.opencode/commands/af-plan.md +16 -0
  56. package/.versions/0.0.10/.opencode/commands/af-prime.md +22 -0
  57. package/.versions/0.0.10/.opencode/commands/af-review.md +15 -0
  58. package/.versions/0.0.10/.opencode/commands/af-set-hermes-telegram.md +15 -0
  59. package/.versions/0.0.10/.opencode/commands/af-set-hermes-watchdog.md +6 -0
  60. package/.versions/0.0.10/.opencode/commands/af-setup-agent-fleet.md +17 -0
  61. package/.versions/0.0.10/.opencode/commands/af-ship.md +16 -0
  62. package/.versions/0.0.10/.opencode/commands/af-spec.md +16 -0
  63. package/.versions/0.0.10/.opencode/commands/af-test.md +21 -0
  64. package/.versions/0.0.10/.opencode/commands/af-webperf.md +32 -0
  65. package/.versions/0.0.10/.opencode/orchestrate-teams.yaml +24 -0
  66. package/.versions/0.0.10/.pi/agents/dispatch-policy.yaml +32 -0
  67. package/.versions/0.0.10/.pi/agents/model-profiles.yaml +27 -0
  68. package/.versions/0.0.10/.pi/agents/peers.yaml +142 -0
  69. package/.versions/0.0.10/.pi/agents/teams.yaml +41 -0
  70. package/.versions/0.0.10/.pi/damage-control-rules.yaml +297 -0
  71. package/.versions/0.0.10/.pi/extensions/agent-fleet-update-check/README.md +57 -0
  72. package/.versions/0.0.10/.pi/extensions/agent-fleet-update-check/index.ts +161 -0
  73. package/.versions/0.0.10/.pi/extensions/agent-fleet-update-check/package.json +6 -0
  74. package/.versions/0.0.10/.pi/extensions/btw/README.md +118 -0
  75. package/.versions/0.0.10/.pi/extensions/btw/index.ts +917 -0
  76. package/.versions/0.0.10/.pi/extensions/btw/package.json +6 -0
  77. package/.versions/0.0.10/.pi/extensions/btw/state.js +179 -0
  78. package/.versions/0.0.10/.pi/extensions/chrome-devtools-mcp/README.md +55 -0
  79. package/.versions/0.0.10/.pi/extensions/chrome-devtools-mcp/index.ts +93 -0
  80. package/.versions/0.0.10/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
  81. package/.versions/0.0.10/.pi/extensions/compact-and-continue/README.md +42 -0
  82. package/.versions/0.0.10/.pi/extensions/compact-and-continue/index.ts +120 -0
  83. package/.versions/0.0.10/.pi/extensions/compact-and-continue/package.json +6 -0
  84. package/.versions/0.0.10/.pi/extensions/mcp-bridge/README.md +46 -0
  85. package/.versions/0.0.10/.pi/extensions/mcp-bridge/index.ts +206 -0
  86. package/.versions/0.0.10/.pi/extensions/mcp-bridge/package.json +6 -0
  87. package/.versions/0.0.10/.pi/extensions/package-lock.json +1143 -0
  88. package/.versions/0.0.10/.pi/extensions/package.json +9 -0
  89. package/.versions/0.0.10/.pi/extensions/pi-voice-stt/README.md +201 -0
  90. package/.versions/0.0.10/.pi/extensions/pi-voice-stt/config.ts +198 -0
  91. package/.versions/0.0.10/.pi/extensions/pi-voice-stt/examples/stt.json +35 -0
  92. package/.versions/0.0.10/.pi/extensions/pi-voice-stt/index.ts +248 -0
  93. package/.versions/0.0.10/.pi/extensions/pi-voice-stt/package.json +6 -0
  94. package/.versions/0.0.10/.pi/extensions/pi-voice-stt/providers.ts +214 -0
  95. package/.versions/0.0.10/.pi/extensions/pi-voice-stt/recorder.ts +158 -0
  96. package/.versions/0.0.10/.pi/harnesses/agent-hub/README.md +1001 -0
  97. package/.versions/0.0.10/.pi/harnesses/agent-hub/access-approval.ts +135 -0
  98. package/.versions/0.0.10/.pi/harnesses/agent-hub/artifacts.js +146 -0
  99. package/.versions/0.0.10/.pi/harnesses/agent-hub/assertion-ledger.js +58 -0
  100. package/.versions/0.0.10/.pi/harnesses/agent-hub/backend-policy.js +153 -0
  101. package/.versions/0.0.10/.pi/harnesses/agent-hub/context-window.js +106 -0
  102. package/.versions/0.0.10/.pi/harnesses/agent-hub/delegate.ts +435 -0
  103. package/.versions/0.0.10/.pi/harnesses/agent-hub/docs-lane.js +122 -0
  104. package/.versions/0.0.10/.pi/harnesses/agent-hub/drift-watchdog.js +211 -0
  105. package/.versions/0.0.10/.pi/harnesses/agent-hub/evidence-rules.js +96 -0
  106. package/.versions/0.0.10/.pi/harnesses/agent-hub/external-blocker.js +85 -0
  107. package/.versions/0.0.10/.pi/harnesses/agent-hub/footer.ts +31 -0
  108. package/.versions/0.0.10/.pi/harnesses/agent-hub/helpers.ts +248 -0
  109. package/.versions/0.0.10/.pi/harnesses/agent-hub/index.ts +9111 -0
  110. package/.versions/0.0.10/.pi/harnesses/agent-hub/monitor-control.ts +9 -0
  111. package/.versions/0.0.10/.pi/harnesses/agent-hub/monitor-invoke-journal.ts +131 -0
  112. package/.versions/0.0.10/.pi/harnesses/agent-hub/monitor-invoke.ts +92 -0
  113. package/.versions/0.0.10/.pi/harnesses/agent-hub/monitor-lifecycle.ts +13 -0
  114. package/.versions/0.0.10/.pi/harnesses/agent-hub/monitor-publisher.ts +59 -0
  115. package/.versions/0.0.10/.pi/harnesses/agent-hub/monitor-recovery.ts +3 -0
  116. package/.versions/0.0.10/.pi/harnesses/agent-hub/monitor-runtime.ts +3 -0
  117. package/.versions/0.0.10/.pi/harnesses/agent-hub/monitor-session-bridge.ts +257 -0
  118. package/.versions/0.0.10/.pi/harnesses/agent-hub/package.json +7 -0
  119. package/.versions/0.0.10/.pi/harnesses/agent-hub/provider-semaphore.js +138 -0
  120. package/.versions/0.0.10/.pi/harnesses/agent-hub/research-retention.js +34 -0
  121. package/.versions/0.0.10/.pi/harnesses/agent-hub/research-watchdog.ts +40 -0
  122. package/.versions/0.0.10/.pi/harnesses/agent-hub/return-contract.js +293 -0
  123. package/.versions/0.0.10/.pi/harnesses/agent-hub/return-extract.js +75 -0
  124. package/.versions/0.0.10/.pi/harnesses/agent-hub/review-findings.js +102 -0
  125. package/.versions/0.0.10/.pi/harnesses/agent-hub/run-budget.js +479 -0
  126. package/.versions/0.0.10/.pi/harnesses/agent-hub/run-namespace.js +87 -0
  127. package/.versions/0.0.10/.pi/harnesses/agent-hub/safety-routing.ts +22 -0
  128. package/.versions/0.0.10/.pi/harnesses/agent-hub/scope-gate.js +103 -0
  129. package/.versions/0.0.10/.pi/harnesses/agent-hub/session-health.js +110 -0
  130. package/.versions/0.0.10/.pi/harnesses/agent-hub/spawn.ts +354 -0
  131. package/.versions/0.0.10/.pi/harnesses/agent-hub/version.ts +42 -0
  132. package/.versions/0.0.10/.pi/harnesses/ask-user-remote/README.md +19 -0
  133. package/.versions/0.0.10/.pi/harnesses/ask-user-remote/index.ts +321 -0
  134. package/.versions/0.0.10/.pi/harnesses/ask-user-remote/race-core.js +106 -0
  135. package/.versions/0.0.10/.pi/harnesses/coms/README.md +100 -0
  136. package/.versions/0.0.10/.pi/harnesses/coms/index.ts +1767 -0
  137. package/.versions/0.0.10/.pi/harnesses/coms/package.json +7 -0
  138. package/.versions/0.0.10/.pi/harnesses/coms/version.ts +42 -0
  139. package/.versions/0.0.10/.pi/harnesses/damage-control-continue/README.md +124 -0
  140. package/.versions/0.0.10/.pi/harnesses/damage-control-continue/index.ts +536 -0
  141. package/.versions/0.0.10/.pi/harnesses/damage-control-continue/package.json +7 -0
  142. package/.versions/0.0.10/.pi/harnesses/damage-control-continue/version.ts +42 -0
  143. package/.versions/0.0.10/.pi/harnesses/lib/coms-registry-entry.ts +94 -0
  144. package/.versions/0.0.10/.pi/harnesses/lib/damage-control-shared.ts +197 -0
  145. package/.versions/0.0.10/.pi/harnesses/lib/herdr-client.ts +472 -0
  146. package/.versions/0.0.10/.pi/harnesses/lib/herdr-presence.ts +399 -0
  147. package/.versions/0.0.10/.pi/harnesses/lib/hermes-monitor-events.ts +136 -0
  148. package/.versions/0.0.10/.pi/harnesses/lib/hermes-monitor-herdr.ts +28 -0
  149. package/.versions/0.0.10/.pi/harnesses/lib/hermes-monitor-model.ts +18 -0
  150. package/.versions/0.0.10/.pi/harnesses/lib/hermes-monitor-registry.ts +6 -0
  151. package/.versions/0.0.10/.pi/harnesses/lib/hermes-monitor-socket.ts +163 -0
  152. package/.versions/0.0.10/.pi/harnesses/lib/hermes-monitor-store.ts +31 -0
  153. package/.versions/0.0.10/.pi/harnesses/lib/spawned-peers.js +190 -0
  154. package/.versions/0.0.10/.pi/harnesses/package-lock.json +35 -0
  155. package/.versions/0.0.10/.pi/harnesses/package.json +9 -0
  156. package/.versions/0.0.10/.pi/prompts/af-build.md +24 -0
  157. package/.versions/0.0.10/.pi/prompts/af-code-simplify.md +22 -0
  158. package/.versions/0.0.10/.pi/prompts/af-doctor-agent-fleet.md +22 -0
  159. package/.versions/0.0.10/.pi/prompts/af-plan.md +16 -0
  160. package/.versions/0.0.10/.pi/prompts/af-review.md +16 -0
  161. package/.versions/0.0.10/.pi/prompts/af-set-hermes-telegram.md +15 -0
  162. package/.versions/0.0.10/.pi/prompts/af-set-hermes-watchdog.md +6 -0
  163. package/.versions/0.0.10/.pi/prompts/af-setup-agent-fleet.md +19 -0
  164. package/.versions/0.0.10/.pi/prompts/af-ship.md +17 -0
  165. package/.versions/0.0.10/.pi/prompts/af-spec.md +15 -0
  166. package/.versions/0.0.10/.pi/prompts/af-test.md +19 -0
  167. package/.versions/0.0.10/.pi/skills/bowser/SKILL.md +145 -0
  168. package/.versions/0.0.10/.version +1 -0
  169. package/.versions/0.0.10/agents/architect.md +24 -0
  170. package/.versions/0.0.10/agents/bowser.md +27 -0
  171. package/.versions/0.0.10/agents/builder.md +54 -0
  172. package/.versions/0.0.10/agents/code-reviewer.md +208 -0
  173. package/.versions/0.0.10/agents/deep-researcher.md +32 -0
  174. package/.versions/0.0.10/agents/documenter.md +18 -0
  175. package/.versions/0.0.10/agents/orchestrator.md +72 -0
  176. package/.versions/0.0.10/agents/plan-reviewer.md +83 -0
  177. package/.versions/0.0.10/agents/planner.md +70 -0
  178. package/.versions/0.0.10/agents/releaser.md +24 -0
  179. package/.versions/0.0.10/agents/researcher.md +28 -0
  180. package/.versions/0.0.10/agents/security-auditor.md +167 -0
  181. package/.versions/0.0.10/agents/test-engineer.md +153 -0
  182. package/.versions/0.0.10/agents/web-debugger.md +43 -0
  183. package/.versions/0.0.10/agents/web-performance-auditor.md +193 -0
  184. package/.versions/0.0.10/codex/CONDUCTOR.md +148 -0
  185. package/.versions/0.0.10/docs/ARCHITECTURE.md +303 -0
  186. package/.versions/0.0.10/docs/agent-fleet-setup.md +377 -0
  187. package/.versions/0.0.10/docs/claude-code-coms-bridge.md +109 -0
  188. package/.versions/0.0.10/docs/codex-remote-conductor.md +170 -0
  189. package/.versions/0.0.10/docs/coms-hermes-bridge.md +189 -0
  190. package/.versions/0.0.10/docs/getting-started.md +254 -0
  191. package/.versions/0.0.10/docs/npm-install.md +514 -0
  192. package/.versions/0.0.10/docs/opencode-setup.md +281 -0
  193. package/.versions/0.0.10/docs/pi-extensions.md +363 -0
  194. package/.versions/0.0.10/docs/pi-setup.md +571 -0
  195. package/.versions/0.0.10/docs/skill-anatomy.md +150 -0
  196. package/.versions/0.0.10/hermes/README.md +347 -0
  197. package/.versions/0.0.10/hermes/desktop-plugins/agent-fleet-herdr/plugin.js +1291 -0
  198. package/.versions/0.0.10/hermes/desktop-plugins/agent-fleet-herdr/presentation.js +672 -0
  199. package/.versions/0.0.10/hermes/desktop-plugins/agent-fleet-monitor/plugin.js +19 -0
  200. package/.versions/0.0.10/hermes/desktop-plugins/agent-fleet-monitor/state.js +10 -0
  201. package/.versions/0.0.10/hermes/gates/gate-o-capability.md +8 -0
  202. package/.versions/0.0.10/hermes/gates/gate-o-validator-fixtures.json +1 -0
  203. package/.versions/0.0.10/hermes/plugins/agent-fleet-herdr/dashboard/activity.py +770 -0
  204. package/.versions/0.0.10/hermes/plugins/agent-fleet-herdr/dashboard/coms_registry.py +134 -0
  205. package/.versions/0.0.10/hermes/plugins/agent-fleet-herdr/dashboard/coms_send.py +350 -0
  206. package/.versions/0.0.10/hermes/plugins/agent-fleet-herdr/dashboard/herdr_source.py +193 -0
  207. package/.versions/0.0.10/hermes/plugins/agent-fleet-herdr/dashboard/manifest.json +4 -0
  208. package/.versions/0.0.10/hermes/plugins/agent-fleet-herdr/dashboard/plugin_api.py +444 -0
  209. package/.versions/0.0.10/hermes/plugins/agent-fleet-herdr/dashboard/sessions.py +205 -0
  210. package/.versions/0.0.10/hermes/plugins/agent-fleet-herdr/dashboard/tasks.py +300 -0
  211. package/.versions/0.0.10/hermes/plugins/agent-fleet-herdr/dashboard/watch.py +819 -0
  212. package/.versions/0.0.10/hermes/plugins/agent-fleet-herdr/plugin.yaml +8 -0
  213. package/.versions/0.0.10/hermes/plugins/agent-fleet-monitor/dashboard/adapter.py +139 -0
  214. package/.versions/0.0.10/hermes/plugins/agent-fleet-monitor/dashboard/manifest.json +11 -0
  215. package/.versions/0.0.10/hermes/plugins/agent-fleet-monitor/dashboard/plugin_api.py +50 -0
  216. package/.versions/0.0.10/hermes/skills/hub-conductor/SKILL.md +84 -0
  217. package/.versions/0.0.10/hermes/skills/hub-liaison/SKILL.md +84 -0
  218. package/.versions/0.0.10/hermes/skills/hub-watchdog/SKILL.md +76 -0
  219. package/.versions/0.0.10/hermes/skills/hub-watchdog/manifest.json +1 -0
  220. package/.versions/0.0.10/hermes/skills/hub-watchdog/scripts/watchdog.py +249 -0
  221. package/.versions/0.0.10/hermes/skills/hub-watchdog/scripts/watchdog_actions.py +124 -0
  222. package/.versions/0.0.10/hermes/skills/hub-watchdog/scripts/watchdog_contract.py +76 -0
  223. package/.versions/0.0.10/hermes/skills/hub-watchdog/scripts/watchdog_delivery.py +10 -0
  224. package/.versions/0.0.10/hermes/skills/hub-watchdog/scripts/watchdog_engine.py +128 -0
  225. package/.versions/0.0.10/hermes/skills/hub-watchdog/scripts/watchdog_judgment.py +41 -0
  226. package/.versions/0.0.10/hermes/skills/hub-watchdog/scripts/watchdog_recovery.py +103 -0
  227. package/.versions/0.0.10/hermes/skills/hub-watchdog/scripts/watchdog_state.py +163 -0
  228. package/.versions/0.0.10/hermes/skills/hub-watchdog/scripts/watchdog_transport.py +138 -0
  229. package/.versions/0.0.10/hermes/watchdog-tests/__init__.py +0 -0
  230. package/.versions/0.0.10/hooks/SIMPLIFY-IGNORE.md +90 -0
  231. package/.versions/0.0.10/hooks/coms-stop-hook.mjs +84 -0
  232. package/.versions/0.0.10/hooks/hooks.json +14 -0
  233. package/.versions/0.0.10/hooks/session-start.sh +74 -0
  234. package/.versions/0.0.10/hooks/simplify-ignore.sh +302 -0
  235. package/.versions/0.0.10/install-manifest.json +3615 -0
  236. package/.versions/0.0.10/justfile +254 -0
  237. package/.versions/0.0.10/manifest-meta.json +472 -0
  238. package/.versions/0.0.10/references/accessibility-checklist.md +160 -0
  239. package/.versions/0.0.10/references/definition-of-done.md +67 -0
  240. package/.versions/0.0.10/references/fleet-coordination-patterns.md +151 -0
  241. package/.versions/0.0.10/references/observability-checklist.md +91 -0
  242. package/.versions/0.0.10/references/orchestration-patterns.md +370 -0
  243. package/.versions/0.0.10/references/performance-checklist.md +153 -0
  244. package/.versions/0.0.10/references/prompting-patterns.md +380 -0
  245. package/.versions/0.0.10/references/security-checklist.md +179 -0
  246. package/.versions/0.0.10/references/testing-patterns.md +236 -0
  247. package/.versions/0.0.10/scripts/codex-conductor.ts +41 -0
  248. package/.versions/0.0.10/scripts/codex-remote-control.ts +167 -0
  249. package/.versions/0.0.10/scripts/coms-claude-bridge.ts +401 -0
  250. package/.versions/0.0.10/scripts/coms-cli.ts +484 -0
  251. package/.versions/0.0.10/scripts/coms-hermes-bridge.ts +413 -0
  252. package/.versions/0.0.10/scripts/fleet.ts +168 -0
  253. package/.versions/0.0.10/scripts/hermes-monitor-capability-runner.ts +25 -0
  254. package/.versions/0.0.10/scripts/hermes-monitor-scenario.ts +474 -0
  255. package/.versions/0.0.10/scripts/hermes-watchdog-capability-probe.ts +45 -0
  256. package/.versions/0.0.10/scripts/install-hermes-plugin.sh +180 -0
  257. package/.versions/0.0.10/scripts/lib/claude-bridge-core.ts +165 -0
  258. package/.versions/0.0.10/scripts/lib/codex-conductor.ts +88 -0
  259. package/.versions/0.0.10/scripts/lib/codex-remote-control.ts +480 -0
  260. package/.versions/0.0.10/scripts/lib/coms-envelope.ts +582 -0
  261. package/.versions/0.0.10/scripts/lib/fake-herdr-server.ts +88 -0
  262. package/.versions/0.0.10/scripts/lib/fleet-command.ts +111 -0
  263. package/.versions/0.0.10/scripts/lib/herdr-layout.ts +281 -0
  264. package/.versions/0.0.10/scripts/lib/hermes-bridge-core.ts +241 -0
  265. package/.versions/0.0.10/scripts/lib/hermes-monitor-events.ts +1 -0
  266. package/.versions/0.0.10/scripts/lib/hermes-monitor-herdr.ts +2 -0
  267. package/.versions/0.0.10/scripts/lib/hermes-monitor-model.ts +3 -0
  268. package/.versions/0.0.10/scripts/lib/hermes-monitor-registry.ts +2 -0
  269. package/.versions/0.0.10/scripts/lib/hermes-monitor-socket.ts +2 -0
  270. package/.versions/0.0.10/scripts/lib/hermes-monitor-store.ts +2 -0
  271. package/.versions/0.0.10/scripts/lib/monitor-env.ts +120 -0
  272. package/.versions/0.0.10/scripts/lib/peer-launch.ts +314 -0
  273. package/.versions/0.0.10/scripts/lib/persona-banner.ts +62 -0
  274. package/.versions/0.0.10/scripts/lib/spawn-stagger.ts +101 -0
  275. package/.versions/0.0.10/scripts/lib/team-project.ts +193 -0
  276. package/.versions/0.0.10/scripts/lib/team-snapshot.ts +147 -0
  277. package/.versions/0.0.10/scripts/peer-banner.ts +40 -0
  278. package/.versions/0.0.10/scripts/peer-launch.ts +259 -0
  279. package/.versions/0.0.10/scripts/team-snapshot.ts +237 -0
  280. package/.versions/0.0.10/scripts/team-up.ts +360 -0
  281. package/.versions/0.0.10/skills/_internal/grilling.md +11 -0
  282. package/.versions/0.0.10/skills/browser-testing-with-devtools/SKILL.md +351 -0
  283. package/.versions/0.0.10/skills/code-review-and-quality/SKILL.md +381 -0
  284. package/.versions/0.0.10/skills/compound-learning/SKILL.md +137 -0
  285. package/.versions/0.0.10/skills/context-engineering/SKILL.md +291 -0
  286. package/.versions/0.0.10/skills/deprecation-and-migration/SKILL.md +206 -0
  287. package/.versions/0.0.10/skills/designing-agents/SKILL.md +394 -0
  288. package/.versions/0.0.10/skills/designing-agents/pi-harness-authoring.md +222 -0
  289. package/.versions/0.0.10/skills/frontend-ui-engineering/SKILL.md +328 -0
  290. package/.versions/0.0.10/skills/git-workflow-and-versioning/SKILL.md +316 -0
  291. package/.versions/0.0.10/skills/guided-workspace-setup/SKILL.md +226 -0
  292. package/.versions/0.0.10/skills/guided-workspace-setup/companion-manifest.json +38 -0
  293. package/.versions/0.0.10/skills/idea-refine/SKILL.md +182 -0
  294. package/.versions/0.0.10/skills/idea-refine/examples.md +238 -0
  295. package/.versions/0.0.10/skills/idea-refine/frameworks.md +99 -0
  296. package/.versions/0.0.10/skills/idea-refine/refinement-criteria.md +113 -0
  297. package/.versions/0.0.10/skills/idea-refine/scripts/idea-refine.sh +15 -0
  298. package/.versions/0.0.10/skills/incremental-implementation/SKILL.md +287 -0
  299. package/.versions/0.0.10/skills/interview-me/SKILL.md +226 -0
  300. package/.versions/0.0.10/skills/orchestration-verification/SKILL.md +181 -0
  301. package/.versions/0.0.10/skills/peer-coms/SKILL.md +90 -0
  302. package/.versions/0.0.10/skills/performance-optimization/SKILL.md +350 -0
  303. package/.versions/0.0.10/skills/planning-and-task-breakdown/SKILL.md +254 -0
  304. package/.versions/0.0.10/skills/security-and-hardening/SKILL.md +461 -0
  305. package/.versions/0.0.10/skills/spec-driven-development/SKILL.md +257 -0
  306. package/.versions/0.0.10/skills/using-agent-skills/SKILL.md +199 -0
  307. package/.versions/0.0.10/systemd/user/agent-fleet-codex-remote-control.service.in +23 -0
  308. package/.versions/0.0.10/vendor/agent-skills-upstream/LICENSE +21 -0
  309. package/.versions/0.0.10/vendor/agent-skills-upstream/README.md +11 -0
  310. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/api-and-interface-design/SKILL.md +294 -0
  311. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/browser-testing-with-devtools/SKILL.md +317 -0
  312. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/ci-cd-and-automation/SKILL.md +390 -0
  313. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/code-review-and-quality/SKILL.md +396 -0
  314. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/code-simplification/SKILL.md +331 -0
  315. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/context-engineering/SKILL.md +289 -0
  316. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/debugging-and-error-recovery/SKILL.md +300 -0
  317. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/deprecation-and-migration/SKILL.md +247 -0
  318. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/documentation-and-adrs/SKILL.md +278 -0
  319. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/doubt-driven-development/SKILL.md +243 -0
  320. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/frontend-ui-engineering/SKILL.md +328 -0
  321. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/git-workflow-and-versioning/SKILL.md +355 -0
  322. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/idea-refine/SKILL.md +178 -0
  323. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/idea-refine/examples.md +238 -0
  324. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/idea-refine/frameworks.md +99 -0
  325. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/idea-refine/refinement-criteria.md +113 -0
  326. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/idea-refine/scripts/idea-refine.sh +15 -0
  327. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/incremental-implementation/SKILL.md +249 -0
  328. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/interview-me/SKILL.md +225 -0
  329. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/observability-and-instrumentation/SKILL.md +203 -0
  330. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/performance-optimization/SKILL.md +350 -0
  331. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/planning-and-task-breakdown/SKILL.md +234 -0
  332. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/security-and-hardening/SKILL.md +467 -0
  333. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/shipping-and-launch/SKILL.md +310 -0
  334. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/source-driven-development/SKILL.md +194 -0
  335. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/spec-driven-development/SKILL.md +206 -0
  336. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/test-driven-development/SKILL.md +383 -0
  337. package/.versions/0.0.10/vendor/agent-skills-upstream/skills/using-agent-skills/SKILL.md +191 -0
  338. package/.versions/0.0.9/.claude/commands/build.md +44 -0
  339. package/.versions/0.0.9/.claude/commands/code-simplify.md +22 -0
  340. package/.versions/0.0.9/.claude/commands/design-agent.md +14 -0
  341. package/.versions/0.0.9/.claude/commands/doctor-agent-fleet.md +17 -0
  342. package/.versions/0.0.9/.claude/commands/orchestrate.md +112 -0
  343. package/.versions/0.0.9/.claude/commands/plan.md +16 -0
  344. package/.versions/0.0.9/.claude/commands/prime.md +22 -0
  345. package/.versions/0.0.9/.claude/commands/review.md +16 -0
  346. package/.versions/0.0.9/.claude/commands/set-hermes-telegram.md +15 -0
  347. package/.versions/0.0.9/.claude/commands/set-hermes-watchdog.md +6 -0
  348. package/.versions/0.0.9/.claude/commands/setup-agent-fleet.md +25 -0
  349. package/.versions/0.0.9/.claude/commands/ship.md +72 -0
  350. package/.versions/0.0.9/.claude/commands/spec.md +15 -0
  351. package/.versions/0.0.9/.claude/commands/test.md +19 -0
  352. package/.versions/0.0.9/.claude/commands/webperf.md +32 -0
  353. package/.versions/0.0.9/.claude/orchestrate-teams.yaml +24 -0
  354. package/.versions/0.0.9/.opencode/commands/af-build.md +17 -0
  355. package/.versions/0.0.9/.opencode/commands/af-code-simplify.md +16 -0
  356. package/.versions/0.0.9/.opencode/commands/af-compound.md +16 -0
  357. package/.versions/0.0.9/.opencode/commands/af-design-agent.md +15 -0
  358. package/.versions/0.0.9/.opencode/commands/af-doctor-agent-fleet.md +17 -0
  359. package/.versions/0.0.9/.opencode/commands/af-orchestrate.md +112 -0
  360. package/.versions/0.0.9/.opencode/commands/af-plan.md +16 -0
  361. package/.versions/0.0.9/.opencode/commands/af-prime.md +22 -0
  362. package/.versions/0.0.9/.opencode/commands/af-review.md +15 -0
  363. package/.versions/0.0.9/.opencode/commands/af-set-hermes-telegram.md +15 -0
  364. package/.versions/0.0.9/.opencode/commands/af-set-hermes-watchdog.md +6 -0
  365. package/.versions/0.0.9/.opencode/commands/af-setup-agent-fleet.md +15 -0
  366. package/.versions/0.0.9/.opencode/commands/af-ship.md +16 -0
  367. package/.versions/0.0.9/.opencode/commands/af-spec.md +16 -0
  368. package/.versions/0.0.9/.opencode/commands/af-test.md +21 -0
  369. package/.versions/0.0.9/.opencode/commands/af-webperf.md +32 -0
  370. package/.versions/0.0.9/.opencode/orchestrate-teams.yaml +24 -0
  371. package/.versions/0.0.9/.pi/agents/dispatch-policy.yaml +32 -0
  372. package/.versions/0.0.9/.pi/agents/model-profiles.yaml +27 -0
  373. package/.versions/0.0.9/.pi/agents/peers.yaml +142 -0
  374. package/.versions/0.0.9/.pi/agents/teams.yaml +41 -0
  375. package/.versions/0.0.9/.pi/damage-control-rules.yaml +297 -0
  376. package/.versions/0.0.9/.pi/extensions/agent-fleet-update-check/README.md +58 -0
  377. package/.versions/0.0.9/.pi/extensions/agent-fleet-update-check/index.ts +161 -0
  378. package/.versions/0.0.9/.pi/extensions/agent-fleet-update-check/package.json +6 -0
  379. package/.versions/0.0.9/.pi/extensions/btw/README.md +118 -0
  380. package/.versions/0.0.9/.pi/extensions/btw/index.ts +917 -0
  381. package/.versions/0.0.9/.pi/extensions/btw/package.json +6 -0
  382. package/.versions/0.0.9/.pi/extensions/btw/state.js +179 -0
  383. package/.versions/0.0.9/.pi/extensions/chrome-devtools-mcp/README.md +58 -0
  384. package/.versions/0.0.9/.pi/extensions/chrome-devtools-mcp/index.ts +93 -0
  385. package/.versions/0.0.9/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
  386. package/.versions/0.0.9/.pi/extensions/compact-and-continue/README.md +42 -0
  387. package/.versions/0.0.9/.pi/extensions/compact-and-continue/index.ts +120 -0
  388. package/.versions/0.0.9/.pi/extensions/compact-and-continue/package.json +6 -0
  389. package/.versions/0.0.9/.pi/extensions/mcp-bridge/README.md +46 -0
  390. package/.versions/0.0.9/.pi/extensions/mcp-bridge/index.ts +206 -0
  391. package/.versions/0.0.9/.pi/extensions/mcp-bridge/package.json +6 -0
  392. package/.versions/0.0.9/.pi/extensions/package-lock.json +1143 -0
  393. package/.versions/0.0.9/.pi/extensions/package.json +9 -0
  394. package/.versions/0.0.9/.pi/extensions/pi-voice-stt/README.md +201 -0
  395. package/.versions/0.0.9/.pi/extensions/pi-voice-stt/config.ts +198 -0
  396. package/.versions/0.0.9/.pi/extensions/pi-voice-stt/examples/stt.json +35 -0
  397. package/.versions/0.0.9/.pi/extensions/pi-voice-stt/index.ts +248 -0
  398. package/.versions/0.0.9/.pi/extensions/pi-voice-stt/package.json +6 -0
  399. package/.versions/0.0.9/.pi/extensions/pi-voice-stt/providers.ts +214 -0
  400. package/.versions/0.0.9/.pi/extensions/pi-voice-stt/recorder.ts +158 -0
  401. package/.versions/0.0.9/.pi/harnesses/agent-hub/README.md +872 -0
  402. package/.versions/0.0.9/.pi/harnesses/agent-hub/access-approval.ts +135 -0
  403. package/.versions/0.0.9/.pi/harnesses/agent-hub/artifacts.js +146 -0
  404. package/.versions/0.0.9/.pi/harnesses/agent-hub/assertion-ledger.js +58 -0
  405. package/.versions/0.0.9/.pi/harnesses/agent-hub/backend-policy.js +153 -0
  406. package/.versions/0.0.9/.pi/harnesses/agent-hub/context-window.js +106 -0
  407. package/.versions/0.0.9/.pi/harnesses/agent-hub/delegate.ts +435 -0
  408. package/.versions/0.0.9/.pi/harnesses/agent-hub/drift-watchdog.js +211 -0
  409. package/.versions/0.0.9/.pi/harnesses/agent-hub/evidence-rules.js +96 -0
  410. package/.versions/0.0.9/.pi/harnesses/agent-hub/footer.ts +31 -0
  411. package/.versions/0.0.9/.pi/harnesses/agent-hub/helpers.ts +248 -0
  412. package/.versions/0.0.9/.pi/harnesses/agent-hub/index.ts +8702 -0
  413. package/.versions/0.0.9/.pi/harnesses/agent-hub/monitor-control.ts +9 -0
  414. package/.versions/0.0.9/.pi/harnesses/agent-hub/monitor-invoke-journal.ts +131 -0
  415. package/.versions/0.0.9/.pi/harnesses/agent-hub/monitor-invoke.ts +92 -0
  416. package/.versions/0.0.9/.pi/harnesses/agent-hub/monitor-lifecycle.ts +13 -0
  417. package/.versions/0.0.9/.pi/harnesses/agent-hub/monitor-publisher.ts +59 -0
  418. package/.versions/0.0.9/.pi/harnesses/agent-hub/monitor-recovery.ts +3 -0
  419. package/.versions/0.0.9/.pi/harnesses/agent-hub/monitor-runtime.ts +3 -0
  420. package/.versions/0.0.9/.pi/harnesses/agent-hub/monitor-session-bridge.ts +257 -0
  421. package/.versions/0.0.9/.pi/harnesses/agent-hub/package.json +7 -0
  422. package/.versions/0.0.9/.pi/harnesses/agent-hub/provider-semaphore.js +138 -0
  423. package/.versions/0.0.9/.pi/harnesses/agent-hub/research-retention.js +34 -0
  424. package/.versions/0.0.9/.pi/harnesses/agent-hub/research-watchdog.ts +40 -0
  425. package/.versions/0.0.9/.pi/harnesses/agent-hub/return-contract.js +293 -0
  426. package/.versions/0.0.9/.pi/harnesses/agent-hub/return-extract.js +75 -0
  427. package/.versions/0.0.9/.pi/harnesses/agent-hub/run-budget.js +181 -0
  428. package/.versions/0.0.9/.pi/harnesses/agent-hub/safety-routing.ts +22 -0
  429. package/.versions/0.0.9/.pi/harnesses/agent-hub/scope-gate.js +103 -0
  430. package/.versions/0.0.9/.pi/harnesses/agent-hub/session-health.js +110 -0
  431. package/.versions/0.0.9/.pi/harnesses/agent-hub/spawn.ts +354 -0
  432. package/.versions/0.0.9/.pi/harnesses/agent-hub/version.ts +42 -0
  433. package/.versions/0.0.9/.pi/harnesses/ask-user-remote/README.md +19 -0
  434. package/.versions/0.0.9/.pi/harnesses/ask-user-remote/index.ts +321 -0
  435. package/.versions/0.0.9/.pi/harnesses/ask-user-remote/race-core.js +106 -0
  436. package/.versions/0.0.9/.pi/harnesses/coms/README.md +100 -0
  437. package/.versions/0.0.9/.pi/harnesses/coms/index.ts +1767 -0
  438. package/.versions/0.0.9/.pi/harnesses/coms/package.json +7 -0
  439. package/.versions/0.0.9/.pi/harnesses/coms/version.ts +42 -0
  440. package/.versions/0.0.9/.pi/harnesses/damage-control-continue/README.md +124 -0
  441. package/.versions/0.0.9/.pi/harnesses/damage-control-continue/index.ts +536 -0
  442. package/.versions/0.0.9/.pi/harnesses/damage-control-continue/package.json +7 -0
  443. package/.versions/0.0.9/.pi/harnesses/damage-control-continue/version.ts +42 -0
  444. package/.versions/0.0.9/.pi/harnesses/lib/coms-registry-entry.ts +94 -0
  445. package/.versions/0.0.9/.pi/harnesses/lib/damage-control-shared.ts +197 -0
  446. package/.versions/0.0.9/.pi/harnesses/lib/herdr-client.ts +472 -0
  447. package/.versions/0.0.9/.pi/harnesses/lib/herdr-presence.ts +399 -0
  448. package/.versions/0.0.9/.pi/harnesses/lib/hermes-monitor-events.ts +136 -0
  449. package/.versions/0.0.9/.pi/harnesses/lib/hermes-monitor-herdr.ts +28 -0
  450. package/.versions/0.0.9/.pi/harnesses/lib/hermes-monitor-model.ts +18 -0
  451. package/.versions/0.0.9/.pi/harnesses/lib/hermes-monitor-registry.ts +6 -0
  452. package/.versions/0.0.9/.pi/harnesses/lib/hermes-monitor-socket.ts +163 -0
  453. package/.versions/0.0.9/.pi/harnesses/lib/hermes-monitor-store.ts +31 -0
  454. package/.versions/0.0.9/.pi/harnesses/lib/spawned-peers.js +190 -0
  455. package/.versions/0.0.9/.pi/harnesses/package-lock.json +35 -0
  456. package/.versions/0.0.9/.pi/harnesses/package.json +9 -0
  457. package/.versions/0.0.9/.pi/prompts/af-build.md +24 -0
  458. package/.versions/0.0.9/.pi/prompts/af-code-simplify.md +22 -0
  459. package/.versions/0.0.9/.pi/prompts/af-doctor-agent-fleet.md +15 -0
  460. package/.versions/0.0.9/.pi/prompts/af-plan.md +16 -0
  461. package/.versions/0.0.9/.pi/prompts/af-review.md +16 -0
  462. package/.versions/0.0.9/.pi/prompts/af-set-hermes-telegram.md +15 -0
  463. package/.versions/0.0.9/.pi/prompts/af-set-hermes-watchdog.md +6 -0
  464. package/.versions/0.0.9/.pi/prompts/af-setup-agent-fleet.md +27 -0
  465. package/.versions/0.0.9/.pi/prompts/af-ship.md +17 -0
  466. package/.versions/0.0.9/.pi/prompts/af-spec.md +15 -0
  467. package/.versions/0.0.9/.pi/prompts/af-test.md +19 -0
  468. package/.versions/0.0.9/.pi/skills/bowser/SKILL.md +145 -0
  469. package/.versions/0.0.9/.version +1 -0
  470. package/.versions/0.0.9/agents/architect.md +24 -0
  471. package/.versions/0.0.9/agents/bowser.md +27 -0
  472. package/.versions/0.0.9/agents/builder.md +54 -0
  473. package/.versions/0.0.9/agents/code-reviewer.md +204 -0
  474. package/.versions/0.0.9/agents/deep-researcher.md +32 -0
  475. package/.versions/0.0.9/agents/documenter.md +18 -0
  476. package/.versions/0.0.9/agents/orchestrator.md +66 -0
  477. package/.versions/0.0.9/agents/plan-reviewer.md +62 -0
  478. package/.versions/0.0.9/agents/planner.md +70 -0
  479. package/.versions/0.0.9/agents/releaser.md +24 -0
  480. package/.versions/0.0.9/agents/researcher.md +28 -0
  481. package/.versions/0.0.9/agents/security-auditor.md +167 -0
  482. package/.versions/0.0.9/agents/test-engineer.md +153 -0
  483. package/.versions/0.0.9/agents/web-debugger.md +43 -0
  484. package/.versions/0.0.9/agents/web-performance-auditor.md +193 -0
  485. package/.versions/0.0.9/codex/CONDUCTOR.md +148 -0
  486. package/.versions/0.0.9/docs/ARCHITECTURE.md +262 -0
  487. package/.versions/0.0.9/docs/agent-fleet-setup.md +366 -0
  488. package/.versions/0.0.9/docs/claude-code-coms-bridge.md +109 -0
  489. package/.versions/0.0.9/docs/codex-remote-conductor.md +170 -0
  490. package/.versions/0.0.9/docs/coms-hermes-bridge.md +189 -0
  491. package/.versions/0.0.9/docs/getting-started.md +231 -0
  492. package/.versions/0.0.9/docs/npm-install.md +337 -0
  493. package/.versions/0.0.9/docs/opencode-setup.md +249 -0
  494. package/.versions/0.0.9/docs/pi-extensions.md +356 -0
  495. package/.versions/0.0.9/docs/pi-setup.md +476 -0
  496. package/.versions/0.0.9/docs/skill-anatomy.md +150 -0
  497. package/.versions/0.0.9/hermes/README.md +347 -0
  498. package/.versions/0.0.9/hermes/desktop-plugins/agent-fleet-herdr/plugin.js +1291 -0
  499. package/.versions/0.0.9/hermes/desktop-plugins/agent-fleet-herdr/presentation.js +672 -0
  500. package/.versions/0.0.9/hermes/desktop-plugins/agent-fleet-monitor/plugin.js +19 -0
  501. package/.versions/0.0.9/hermes/desktop-plugins/agent-fleet-monitor/state.js +10 -0
  502. package/.versions/0.0.9/hermes/gates/gate-o-capability.md +8 -0
  503. package/.versions/0.0.9/hermes/gates/gate-o-validator-fixtures.json +1 -0
  504. package/.versions/0.0.9/hermes/plugins/agent-fleet-herdr/dashboard/activity.py +770 -0
  505. package/.versions/0.0.9/hermes/plugins/agent-fleet-herdr/dashboard/coms_registry.py +134 -0
  506. package/.versions/0.0.9/hermes/plugins/agent-fleet-herdr/dashboard/coms_send.py +350 -0
  507. package/.versions/0.0.9/hermes/plugins/agent-fleet-herdr/dashboard/herdr_source.py +193 -0
  508. package/.versions/0.0.9/hermes/plugins/agent-fleet-herdr/dashboard/manifest.json +4 -0
  509. package/.versions/0.0.9/hermes/plugins/agent-fleet-herdr/dashboard/plugin_api.py +444 -0
  510. package/.versions/0.0.9/hermes/plugins/agent-fleet-herdr/dashboard/sessions.py +205 -0
  511. package/.versions/0.0.9/hermes/plugins/agent-fleet-herdr/dashboard/tasks.py +300 -0
  512. package/.versions/0.0.9/hermes/plugins/agent-fleet-herdr/dashboard/watch.py +819 -0
  513. package/.versions/0.0.9/hermes/plugins/agent-fleet-herdr/plugin.yaml +8 -0
  514. package/.versions/0.0.9/hermes/plugins/agent-fleet-monitor/dashboard/adapter.py +139 -0
  515. package/.versions/0.0.9/hermes/plugins/agent-fleet-monitor/dashboard/manifest.json +11 -0
  516. package/.versions/0.0.9/hermes/plugins/agent-fleet-monitor/dashboard/plugin_api.py +50 -0
  517. package/.versions/0.0.9/hermes/skills/hub-conductor/SKILL.md +84 -0
  518. package/.versions/0.0.9/hermes/skills/hub-liaison/SKILL.md +84 -0
  519. package/.versions/0.0.9/hermes/skills/hub-watchdog/SKILL.md +76 -0
  520. package/.versions/0.0.9/hermes/skills/hub-watchdog/manifest.json +1 -0
  521. package/.versions/0.0.9/hermes/skills/hub-watchdog/scripts/watchdog.py +249 -0
  522. package/.versions/0.0.9/hermes/skills/hub-watchdog/scripts/watchdog_actions.py +124 -0
  523. package/.versions/0.0.9/hermes/skills/hub-watchdog/scripts/watchdog_contract.py +76 -0
  524. package/.versions/0.0.9/hermes/skills/hub-watchdog/scripts/watchdog_delivery.py +10 -0
  525. package/.versions/0.0.9/hermes/skills/hub-watchdog/scripts/watchdog_engine.py +128 -0
  526. package/.versions/0.0.9/hermes/skills/hub-watchdog/scripts/watchdog_judgment.py +41 -0
  527. package/.versions/0.0.9/hermes/skills/hub-watchdog/scripts/watchdog_recovery.py +103 -0
  528. package/.versions/0.0.9/hermes/skills/hub-watchdog/scripts/watchdog_state.py +163 -0
  529. package/.versions/0.0.9/hermes/skills/hub-watchdog/scripts/watchdog_transport.py +138 -0
  530. package/.versions/0.0.9/hermes/watchdog-tests/__init__.py +0 -0
  531. package/.versions/0.0.9/hooks/SIMPLIFY-IGNORE.md +90 -0
  532. package/.versions/0.0.9/hooks/coms-stop-hook.mjs +84 -0
  533. package/.versions/0.0.9/hooks/hooks.json +14 -0
  534. package/.versions/0.0.9/hooks/session-start.sh +74 -0
  535. package/.versions/0.0.9/hooks/simplify-ignore.sh +302 -0
  536. package/.versions/0.0.9/justfile +254 -0
  537. package/.versions/0.0.9/references/accessibility-checklist.md +160 -0
  538. package/.versions/0.0.9/references/definition-of-done.md +67 -0
  539. package/.versions/0.0.9/references/fleet-coordination-patterns.md +151 -0
  540. package/.versions/0.0.9/references/observability-checklist.md +91 -0
  541. package/.versions/0.0.9/references/orchestration-patterns.md +370 -0
  542. package/.versions/0.0.9/references/performance-checklist.md +153 -0
  543. package/.versions/0.0.9/references/prompting-patterns.md +380 -0
  544. package/.versions/0.0.9/references/security-checklist.md +179 -0
  545. package/.versions/0.0.9/references/testing-patterns.md +236 -0
  546. package/.versions/0.0.9/scripts/codex-conductor.ts +41 -0
  547. package/.versions/0.0.9/scripts/codex-remote-control.ts +167 -0
  548. package/.versions/0.0.9/scripts/coms-claude-bridge.ts +401 -0
  549. package/.versions/0.0.9/scripts/coms-cli.ts +484 -0
  550. package/.versions/0.0.9/scripts/coms-hermes-bridge.ts +413 -0
  551. package/.versions/0.0.9/scripts/fleet.ts +168 -0
  552. package/.versions/0.0.9/scripts/hermes-monitor-capability-runner.ts +25 -0
  553. package/.versions/0.0.9/scripts/hermes-monitor-scenario.ts +474 -0
  554. package/.versions/0.0.9/scripts/hermes-watchdog-capability-probe.ts +45 -0
  555. package/.versions/0.0.9/scripts/install-hermes-plugin.sh +180 -0
  556. package/.versions/0.0.9/scripts/lib/claude-bridge-core.ts +165 -0
  557. package/.versions/0.0.9/scripts/lib/codex-conductor.ts +88 -0
  558. package/.versions/0.0.9/scripts/lib/codex-remote-control.ts +480 -0
  559. package/.versions/0.0.9/scripts/lib/coms-envelope.ts +582 -0
  560. package/.versions/0.0.9/scripts/lib/fake-herdr-server.ts +88 -0
  561. package/.versions/0.0.9/scripts/lib/fleet-command.ts +111 -0
  562. package/.versions/0.0.9/scripts/lib/herdr-layout.ts +281 -0
  563. package/.versions/0.0.9/scripts/lib/hermes-bridge-core.ts +241 -0
  564. package/.versions/0.0.9/scripts/lib/hermes-monitor-events.ts +1 -0
  565. package/.versions/0.0.9/scripts/lib/hermes-monitor-herdr.ts +2 -0
  566. package/.versions/0.0.9/scripts/lib/hermes-monitor-model.ts +3 -0
  567. package/.versions/0.0.9/scripts/lib/hermes-monitor-registry.ts +2 -0
  568. package/.versions/0.0.9/scripts/lib/hermes-monitor-socket.ts +2 -0
  569. package/.versions/0.0.9/scripts/lib/hermes-monitor-store.ts +2 -0
  570. package/.versions/0.0.9/scripts/lib/monitor-env.ts +120 -0
  571. package/.versions/0.0.9/scripts/lib/peer-launch.ts +314 -0
  572. package/.versions/0.0.9/scripts/lib/persona-banner.ts +62 -0
  573. package/.versions/0.0.9/scripts/lib/spawn-stagger.ts +101 -0
  574. package/.versions/0.0.9/scripts/lib/team-project.ts +193 -0
  575. package/.versions/0.0.9/scripts/lib/team-snapshot.ts +147 -0
  576. package/.versions/0.0.9/scripts/peer-banner.ts +40 -0
  577. package/.versions/0.0.9/scripts/peer-launch.ts +259 -0
  578. package/.versions/0.0.9/scripts/team-snapshot.ts +237 -0
  579. package/.versions/0.0.9/scripts/team-up.ts +360 -0
  580. package/.versions/0.0.9/skills/_internal/grilling.md +11 -0
  581. package/.versions/0.0.9/skills/browser-testing-with-devtools/SKILL.md +352 -0
  582. package/.versions/0.0.9/skills/code-review-and-quality/SKILL.md +381 -0
  583. package/.versions/0.0.9/skills/compound-learning/SKILL.md +137 -0
  584. package/.versions/0.0.9/skills/context-engineering/SKILL.md +291 -0
  585. package/.versions/0.0.9/skills/deprecation-and-migration/SKILL.md +206 -0
  586. package/.versions/0.0.9/skills/designing-agents/SKILL.md +394 -0
  587. package/.versions/0.0.9/skills/designing-agents/pi-harness-authoring.md +222 -0
  588. package/.versions/0.0.9/skills/frontend-ui-engineering/SKILL.md +328 -0
  589. package/.versions/0.0.9/skills/git-workflow-and-versioning/SKILL.md +316 -0
  590. package/.versions/0.0.9/skills/guided-workspace-setup/SKILL.md +544 -0
  591. package/.versions/0.0.9/skills/guided-workspace-setup/companion-manifest.json +38 -0
  592. package/.versions/0.0.9/skills/idea-refine/SKILL.md +182 -0
  593. package/.versions/0.0.9/skills/idea-refine/examples.md +238 -0
  594. package/.versions/0.0.9/skills/idea-refine/frameworks.md +99 -0
  595. package/.versions/0.0.9/skills/idea-refine/refinement-criteria.md +113 -0
  596. package/.versions/0.0.9/skills/idea-refine/scripts/idea-refine.sh +15 -0
  597. package/.versions/0.0.9/skills/incremental-implementation/SKILL.md +287 -0
  598. package/.versions/0.0.9/skills/interview-me/SKILL.md +226 -0
  599. package/.versions/0.0.9/skills/orchestration-verification/SKILL.md +181 -0
  600. package/.versions/0.0.9/skills/peer-coms/SKILL.md +90 -0
  601. package/.versions/0.0.9/skills/performance-optimization/SKILL.md +350 -0
  602. package/.versions/0.0.9/skills/planning-and-task-breakdown/SKILL.md +236 -0
  603. package/.versions/0.0.9/skills/security-and-hardening/SKILL.md +461 -0
  604. package/.versions/0.0.9/skills/spec-driven-development/SKILL.md +245 -0
  605. package/.versions/0.0.9/skills/using-agent-skills/SKILL.md +199 -0
  606. package/.versions/0.0.9/systemd/user/agent-fleet-codex-remote-control.service.in +23 -0
  607. package/.versions/0.0.9/vendor/agent-skills-upstream/LICENSE +21 -0
  608. package/.versions/0.0.9/vendor/agent-skills-upstream/README.md +11 -0
  609. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/api-and-interface-design/SKILL.md +294 -0
  610. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/browser-testing-with-devtools/SKILL.md +317 -0
  611. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/ci-cd-and-automation/SKILL.md +390 -0
  612. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/code-review-and-quality/SKILL.md +396 -0
  613. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/code-simplification/SKILL.md +331 -0
  614. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/context-engineering/SKILL.md +289 -0
  615. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/debugging-and-error-recovery/SKILL.md +300 -0
  616. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/deprecation-and-migration/SKILL.md +247 -0
  617. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/documentation-and-adrs/SKILL.md +278 -0
  618. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/doubt-driven-development/SKILL.md +243 -0
  619. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/frontend-ui-engineering/SKILL.md +328 -0
  620. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/git-workflow-and-versioning/SKILL.md +355 -0
  621. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/idea-refine/SKILL.md +178 -0
  622. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/idea-refine/examples.md +238 -0
  623. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/idea-refine/frameworks.md +99 -0
  624. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/idea-refine/refinement-criteria.md +113 -0
  625. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/idea-refine/scripts/idea-refine.sh +15 -0
  626. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/incremental-implementation/SKILL.md +249 -0
  627. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/interview-me/SKILL.md +225 -0
  628. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/observability-and-instrumentation/SKILL.md +203 -0
  629. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/performance-optimization/SKILL.md +350 -0
  630. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/planning-and-task-breakdown/SKILL.md +234 -0
  631. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/security-and-hardening/SKILL.md +467 -0
  632. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/shipping-and-launch/SKILL.md +310 -0
  633. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/source-driven-development/SKILL.md +194 -0
  634. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/spec-driven-development/SKILL.md +206 -0
  635. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/test-driven-development/SKILL.md +383 -0
  636. package/.versions/0.0.9/vendor/agent-skills-upstream/skills/using-agent-skills/SKILL.md +191 -0
  637. package/CHANGELOG.md +141 -0
  638. package/README.md +22 -5
  639. package/agents/architect.md +1 -0
  640. package/agents/bowser.md +1 -0
  641. package/agents/builder.md +1 -0
  642. package/agents/code-reviewer.md +8 -5
  643. package/agents/deep-researcher.md +2 -1
  644. package/agents/orchestrator.md +8 -1
  645. package/agents/plan-reviewer.md +25 -2
  646. package/agents/planner.md +3 -2
  647. package/agents/security-auditor.md +1 -0
  648. package/agents/test-engineer.md +3 -1
  649. package/agents/web-debugger.md +1 -0
  650. package/agents/web-performance-auditor.md +1 -0
  651. package/bin/build-manifest.js +68 -0
  652. package/bin/cli.js +679 -49
  653. package/bin/lib/apply.js +641 -0
  654. package/bin/lib/manifest.js +731 -0
  655. package/bin/lib/merge-forms.js +106 -0
  656. package/bin/lib/plan.js +569 -0
  657. package/bin/lib/state.js +213 -0
  658. package/bin/lib/verify.js +576 -0
  659. package/bin/snapshot-version.js +5 -0
  660. package/docs/ARCHITECTURE.md +53 -12
  661. package/docs/agent-fleet-setup.md +59 -48
  662. package/docs/getting-started.md +29 -6
  663. package/docs/npm-install.md +208 -31
  664. package/docs/opencode-setup.md +32 -0
  665. package/docs/pi-extensions.md +83 -13
  666. package/docs/pi-setup.md +164 -69
  667. package/install-manifest.json +3615 -0
  668. package/justfile +10 -1
  669. package/manifest-meta.json +472 -0
  670. package/package.json +8 -3
  671. package/scripts/fleet.ts +22 -3
  672. package/scripts/lib/fleet-command.ts +5 -3
  673. package/scripts/lib/herdr-layout.ts +18 -0
  674. package/scripts/lib/peer-launch.ts +314 -0
  675. package/scripts/lib/team-project.ts +3 -1
  676. package/scripts/peer-launch.ts +259 -0
  677. package/skills/browser-testing-with-devtools/SKILL.md +3 -4
  678. package/skills/guided-workspace-setup/SKILL.md +172 -490
  679. package/skills/guided-workspace-setup/companion-manifest.json +2 -0
  680. package/skills/planning-and-task-breakdown/SKILL.md +18 -0
  681. package/skills/spec-driven-development/SKILL.md +12 -0
  682. package/.pi/harnesses/agent-hub/spawned-peers.js +0 -74
@@ -3,5 +3,5 @@
3
3
  "private": true,
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
- "version": "0.0.8"
6
+ "version": "0.0.10"
7
7
  }
@@ -0,0 +1,102 @@
1
+ // Review-finding accounting — counts what a review actually returned so the hub
2
+ // can say, in the dispatch result, whether the finding budget was honored.
3
+ //
4
+ // This module deliberately COUNTS and REPORTS; it never rewrites a review. The
5
+ // tempting version — cap the blocking findings and auto-relabel the overflow as
6
+ // non-blocking — is unsafe, and the reason is worth stating where it will be read
7
+ // before someone "fixes" it: no rule the hub can evaluate distinguishes "invents a
8
+ // manifest nobody asked for" from "this logs a connection string". Both are a
9
+ // heading and a bullet. Demoting the fifth Critical finding by position would, on
10
+ // the day it matters, move a real security finding into the section nobody acts
11
+ // on, and it would do so silently.
12
+ //
13
+ // So the enforcement lives where the hub has authority over its own behaviour —
14
+ // the review ROUND cap in run-budget.js — and this module supplies the visible
15
+ // accounting that makes an over-budget review obvious to the dispatcher and to
16
+ // the human reading the transcript.
17
+
18
+ // Heading forms the review personas emit: "### Critical Issues", "## Important",
19
+ // "#### Blocking findings". Also matches the bare label form ("**Critical:**").
20
+ const BLOCKING_HEADING = /^(#{1,6})\s*(?:\d+[.)]\s*)?\**\s*(critical|important|blocking)\b/i;
21
+ const NONBLOCKING_HEADING = /^(#{1,6})\s*\**\s*(non[- ]?blocking|suggestions?|nits?|minor|optional|what'?s done well|strengths)\b/i;
22
+ const ANY_HEADING = /^(#{1,6})\s/;
23
+
24
+ // A finding inside a section: a bullet, a numbered item, or a bolded lead-in.
25
+ const FINDING_ITEM = /^\s*(?:[-*+]\s+|\d+[.)]\s+)/;
26
+
27
+ // Inline forms used when a reviewer skips headings entirely:
28
+ // "CRITICAL: the token is logged", "- **Important** — retries are unbounded".
29
+ const INLINE_BLOCKING = /^\s*(?:[-*+]\s+|\d+[.)]\s+)?\**\s*(critical|important|blocker|blocking)\b\s*\**\s*[:—-]/i;
30
+
31
+ /**
32
+ * Count blocking vs non-blocking findings in a review's text.
33
+ * Returns { blocking, nonBlocking, sections, sawHeadings } — `sections` names the
34
+ * blocking headings that were found, for the notice.
35
+ */
36
+ export function countReviewFindings(text) {
37
+ const lines = String(text || "").split("\n");
38
+ let mode = "none"; // none | blocking | nonblocking
39
+ let blocking = 0;
40
+ let nonBlocking = 0;
41
+ let sawHeadings = false;
42
+ const sections = [];
43
+ let inFence = false;
44
+
45
+ for (const rawLine of lines) {
46
+ const line = rawLine.replace(/\r$/, "");
47
+ if (/^\s*(```|~~~)/.test(line)) {
48
+ inFence = !inFence;
49
+ continue;
50
+ }
51
+ if (inFence) continue;
52
+
53
+ if (ANY_HEADING.test(line)) {
54
+ sawHeadings = true;
55
+ if (BLOCKING_HEADING.test(line)) {
56
+ mode = "blocking";
57
+ sections.push(line.replace(/^#{1,6}\s*/, "").replace(/\**/g, "").trim());
58
+ } else if (NONBLOCKING_HEADING.test(line)) {
59
+ mode = "nonblocking";
60
+ } else {
61
+ mode = "none";
62
+ }
63
+ continue;
64
+ }
65
+
66
+ if (FINDING_ITEM.test(line)) {
67
+ if (mode === "blocking") blocking++;
68
+ else if (mode === "nonblocking") nonBlocking++;
69
+ else if (INLINE_BLOCKING.test(line)) blocking++;
70
+ continue;
71
+ }
72
+ // Un-bulleted inline label outside any section ("CRITICAL: ...").
73
+ if (mode === "none" && INLINE_BLOCKING.test(line)) blocking++;
74
+ }
75
+
76
+ return { blocking, nonBlocking, sections, sawHeadings };
77
+ }
78
+
79
+ /**
80
+ * The notice appended to a review dispatch's result when the return carried more
81
+ * blocking findings than the tier's cap. Instructional, never corrective: the
82
+ * dispatcher is told to rank and close, and told what NOT to do with the rest.
83
+ * Returns null when the review is within budget or there is nothing to judge.
84
+ */
85
+ export function findingBudgetNotice(agent, tierCap, counts, roundsSpent = null, roundCap = null) {
86
+ if (tierCap == null || !counts) return null;
87
+ if (counts.blocking <= tierCap) return null;
88
+ const roundLine = roundCap == null
89
+ ? ""
90
+ : `\nReview rounds on this task: ${roundsSpent ?? "?"}/${roundCap}. ` +
91
+ (roundsSpent != null && roundsSpent >= roundCap
92
+ ? "No further review dispatch will be accepted for this task — this IS the gate."
93
+ : "Spending the next round on the overflow is exactly the ratchet.");
94
+ return `\n\n⚠ FINDING BUDGET EXCEEDED — ${agent} returned ${counts.blocking} blocking finding(s) against a cap of ${tierCap}` +
95
+ (counts.sections.length > 0 ? ` (sections: ${counts.sections.slice(0, 4).join(", ")})` : "") + `.\n` +
96
+ `The hub does NOT reclassify findings — a cap cannot tell "invents a new manifest" from "this leaks a credential", ` +
97
+ `so you rank them, not a regex.\n` +
98
+ `Act on the ${tierCap} most severe as the gate. Treat the remainder as recommendations for the human: report them, ` +
99
+ `do NOT schedule them as work, and do NOT let them reopen an assertion that a named piece of evidence already closed. ` +
100
+ `A finding that asks for a NEW invariant, evidence artifact, script, manifest, or process step is scope growth — ` +
101
+ `surface it to the human as a choice rather than executing it.${roundLine}`;
102
+ }
@@ -14,7 +14,15 @@ export const DEFAULT_HUB_MODE = "standard";
14
14
  // must not burn a standard-mode budget on ceremony, while `project` defers
15
15
  // entirely to the mode. Unset tier is treated as "feature".
16
16
  export const TASK_TIERS = ["trivial", "small", "feature", "project"];
17
- export const DEFAULT_TASK_TIER = "feature";
17
+ // The tier ASSUMED when the dispatcher never called set_task_tier. It is
18
+ // deliberately not the middle of the range: the tier is task-scoped, so a skipped
19
+ // triage latches for the whole task, and skipped triage is exactly the case where
20
+ // the dispatcher was not thinking about proportionality. Assuming `feature` there
21
+ // unlocked planner/plan-reviewer/security-auditor, loosened the review cap, and
22
+ // handed out the full feature envelope — the over-apparatus failure mode, granted
23
+ // by forgetting a tool call. Assuming `small` costs an explicit escalation (with a
24
+ // reason) when the work really is bigger, which is the cheap direction to be wrong in.
25
+ export const DEFAULT_TASK_TIER = "small";
18
26
 
19
27
  export const TIER_CAPS = {
20
28
  trivial: { maxDispatches: 1, maxResearch: 1 },
@@ -172,10 +180,300 @@ export function contextOverflowDiagnostic(runsSinceFresh, contextPct, { agent =
172
180
  );
173
181
  }
174
182
 
175
- /** One-line status chip: "Mode: standard·small · 1/2 disp · 0/2 res". */
176
- export function budgetStatusLine(mode, counters, budget, tier = null) {
183
+ /** One-line status chip: "Mode: standard·small · 1/2 disp · 0/2 res · task 4/6". */
184
+ export function budgetStatusLine(mode, counters, budget, tier = null, task = null) {
177
185
  const cap = (n) => (n == null ? "∞" : String(n));
178
186
  const tierSuffix = tier ? `·${tier}` : "";
187
+ const taskSuffix = task
188
+ ? ` · task ${task.counters.dispatches}/${cap(task.budget.maxDispatches)}`
189
+ : "";
179
190
  return `Mode: ${mode}${tierSuffix} · ${counters.dispatches}/${cap(budget.maxDispatches)} disp · ` +
180
- `${counters.research}/${cap(budget.maxResearch)} res`;
191
+ `${counters.research}/${cap(budget.maxResearch)} res${taskSuffix}`;
192
+ }
193
+
194
+ // ─────────────────────────────────────────────────────────────────────────────
195
+ // Tier ratchet (the tier is TASK-scoped, not turn-scoped)
196
+ // ─────────────────────────────────────────────────────────────────────────────
197
+ //
198
+ // Turn-scoped tiers cannot bind on a steered run: every follow-up message reset
199
+ // the tier to null, the next dispatch re-assumed `feature`, and a two-word
200
+ // correction ("no, only the one line") bought six fresh dispatches. Worse, the
201
+ // reset direction was always upward — nobody re-declares `trivial` after a
202
+ // steering message, so the effective tier drifted to the ceiling.
203
+ //
204
+ // The tier now survives the turn and moves by ratchet: DOWN is free (cheap and
205
+ // self-limiting), UP costs an explicit reason that is recorded and shown. Only
206
+ // an explicit new task (set_task_tier `new_task: true`, or /af-new-task) clears
207
+ // it.
208
+
209
+ export const TIER_RANK = { trivial: 0, small: 1, feature: 2, project: 3 };
210
+
211
+ /**
212
+ * Move the task tier from `current` to `next`.
213
+ * Returns { ok, tier, escalated, reason, message }: `tier` is always the tier
214
+ * that should be in force afterwards, so a refused escalation keeps the old one.
215
+ */
216
+ export function applyTierChange(current, next, reason = "") {
217
+ const target = normalizeTaskTier(next);
218
+ if (!target) {
219
+ return {
220
+ ok: false,
221
+ tier: current ?? null,
222
+ escalated: false,
223
+ reason: "unknown_tier",
224
+ message: `Unknown tier "${next}" — expected one of: ${TASK_TIERS.join(", ")}. ` +
225
+ `Tier unchanged (${current ?? "unset"}).`,
226
+ };
227
+ }
228
+ const from = normalizeTaskTier(current);
229
+ if (!from) {
230
+ return { ok: true, tier: target, escalated: false, reason: "initial", message: `Task tier: ${target}.` };
231
+ }
232
+ if (TIER_RANK[target] <= TIER_RANK[from]) {
233
+ return {
234
+ ok: true,
235
+ tier: target,
236
+ escalated: false,
237
+ reason: TIER_RANK[target] === TIER_RANK[from] ? "unchanged" : "lowered",
238
+ message: `Task tier: ${from} → ${target}.`,
239
+ };
240
+ }
241
+ if (!String(reason || "").trim()) {
242
+ return {
243
+ ok: false,
244
+ tier: from,
245
+ escalated: false,
246
+ reason: "raise_without_reason",
247
+ message: `⚠ Tier escalation ${from} → ${target} refused: raising the tier needs an explicit ` +
248
+ "`reason` naming what the ask turned out to contain that the lower tier does not cover. " +
249
+ `Tier stays ${from}. Lowering the tier never needs a reason.`,
250
+ };
251
+ }
252
+ return {
253
+ ok: true,
254
+ tier: target,
255
+ escalated: true,
256
+ reason: "raised",
257
+ message: `⚠ Task tier ESCALATED ${from} → ${target}: ${String(reason).trim()}`,
258
+ };
259
+ }
260
+
261
+ // ─────────────────────────────────────────────────────────────────────────────
262
+ // Task-scoped budget (the outer bound the turn budget never provided)
263
+ // ─────────────────────────────────────────────────────────────────────────────
264
+ //
265
+ // Turn budgets are a per-message allowance, and a per-message allowance cannot
266
+ // bound a task: the observed 47-hour run never hit one, because every steering
267
+ // message opened a fresh window of 8 dispatches and 60 minutes. The task budget
268
+ // is the same envelope multiplied once and NOT reset by a user message — only
269
+ // by an explicit new task. Exhaustion is a hard stop, not a "summarize and ask":
270
+ // continuing requires the human to open a new task window.
271
+
272
+ export const TASK_BUDGET_MULTIPLIER = 3;
273
+
274
+ /** Task envelope = turn envelope × multiplier; `null` (off) axes stay off. */
275
+ export function resolveTaskBudget(turnBudget, multiplier = TASK_BUDGET_MULTIPLIER) {
276
+ const scale = (value) => (value == null ? null : Math.max(1, Math.round(value * multiplier)));
277
+ return {
278
+ maxDispatches: scale(turnBudget.maxDispatches),
279
+ maxResearch: scale(turnBudget.maxResearch),
280
+ wallMs: scale(turnBudget.wallMs),
281
+ };
282
+ }
283
+
284
+ function taskRefusalTail() {
285
+ return "This is a HARD STOP for the current task, not a turn refusal — another user message does " +
286
+ "NOT reopen it. Summarize what is proven (with evidence and artifact paths), what is unproven, " +
287
+ "and what remains, then ask the human to either narrow the remaining work or open a fresh task " +
288
+ "window with `/af-new-task`. If the task genuinely grew, say what it grew INTO — a task that " +
289
+ "outgrew its envelope three times over is a re-scoping decision, not a budget problem.";
290
+ }
291
+
292
+ /**
293
+ * ACTIVE milliseconds in one turn: wall clock minus the time the human was away.
294
+ *
295
+ * The task clock must never charge for human time. A task's wall clock spans
296
+ * every message on it, so a lunch break, an overnight pause, or a long `ask_user`
297
+ * answer would all count as budget — and at `fast` mode's 45-minute task wall a
298
+ * single coffee break would hard-stop a task with two dispatches spent. That is a
299
+ * false positive that teaches people to reset the task window reflexively, which
300
+ * costs more than the guardrail buys. Dispatch/research counts stay the honest
301
+ * hard stops; the clock only bounds time the fleet actually spent working.
302
+ */
303
+ export function turnActiveMs(turnStartedAt, now, askUserWaitMs = 0) {
304
+ if (!turnStartedAt) return 0;
305
+ return Math.max(0, now - turnStartedAt - Math.max(0, askUserWaitMs || 0));
306
+ }
307
+
308
+ /**
309
+ * Gate one dispatcher tool call against the TASK budget (checked before the
310
+ * turn budget: it is the more severe stop).
311
+ * `activeTaskMs` is ACTIVE time (see turnActiveMs), never raw wall clock.
312
+ * kind: "dispatch" | "research". Returns null when allowed, else { reason, message }.
313
+ */
314
+ export function checkTaskBudget(kind, counters, taskBudget, activeTaskMs, tier = null) {
315
+ const label = tier ? `tier ${tier}` : "current tier";
316
+ if (taskBudget.wallMs != null && activeTaskMs >= taskBudget.wallMs) {
317
+ return {
318
+ reason: "task_wall",
319
+ message: `⛔ TASK budget exhausted: ${Math.round(activeTaskMs / 60_000)} min of ACTIVE time on this task ` +
320
+ `(limit ${Math.round(taskBudget.wallMs / 60_000)} min = ${TASK_BUDGET_MULTIPLIER}× the ${label} turn envelope; ` +
321
+ `time the human was away is not charged). ` +
322
+ taskRefusalTail(),
323
+ };
324
+ }
325
+ if (kind === "dispatch" && taskBudget.maxDispatches != null && counters.dispatches >= taskBudget.maxDispatches) {
326
+ return {
327
+ reason: "task_dispatches",
328
+ message: `⛔ TASK budget exhausted: ${counters.dispatches} of ${taskBudget.maxDispatches} ` +
329
+ `dispatch_agent calls used on this task (${TASK_BUDGET_MULTIPLIER}× the ${label} turn envelope). ` +
330
+ taskRefusalTail(),
331
+ };
332
+ }
333
+ if (kind === "research" && taskBudget.maxResearch != null && counters.research >= taskBudget.maxResearch) {
334
+ return {
335
+ reason: "task_research",
336
+ message: `⛔ TASK budget exhausted: ${counters.research} of ${taskBudget.maxResearch} ` +
337
+ `spawn_research calls used on this task (${TASK_BUDGET_MULTIPLIER}× the ${label} turn envelope). ` +
338
+ taskRefusalTail(),
339
+ };
340
+ }
341
+ return null;
342
+ }
343
+
344
+ /**
345
+ * How many research runs the TASK envelope still allows; null = unlimited.
346
+ * The auto-research pipe (specialist emits NEEDS_RESEARCH, the hub fans out
347
+ * read-only helpers in code) is exempt from the TURN budget on purpose — it is
348
+ * hub mechanics, not a dispatcher decision, and it must not steal the
349
+ * dispatcher's slots. It is NOT exempt from the TASK envelope: at 2 rounds × 4
350
+ * questions per dispatch and 18 dispatches per task, an uncounted pipe is 144
351
+ * research runs inside the bound that is supposed to be the outer one.
352
+ */
353
+ export function remainingTaskResearch(taskBudget, counters) {
354
+ if (taskBudget.maxResearch == null) return null;
355
+ return Math.max(0, taskBudget.maxResearch - (counters?.research ?? 0));
356
+ }
357
+
358
+ // ─────────────────────────────────────────────────────────────────────────────
359
+ // Tier persona gate (B3) — heavy apparatus is not available at low tiers
360
+ // ─────────────────────────────────────────────────────────────────────────────
361
+ //
362
+ // "A trivial ask gets one specialist" was prose in the system prompt, and prose
363
+ // lost: a one-line Azure permission change was routed through planner →
364
+ // plan-reviewer → security-auditor and grew a 1216-line plan. These personas
365
+ // each open a pipeline (plans, reviews, findings that ratchet back into the
366
+ // plan), so at trivial/small tiers they are refused in code. The escape hatch is
367
+ // the honest one: raise the tier with a reason.
368
+
369
+ export const HEAVY_PERSONAS = ["planner", "plan-reviewer", "architect", "security-auditor", "deep-researcher"];
370
+ export const REVIEW_PERSONAS = ["code-reviewer", "plan-reviewer", "security-auditor"];
371
+ const GATED_TIERS = new Set(["trivial", "small"]);
372
+
373
+ /**
374
+ * Refuse a heavy persona at a low tier. Returns null when allowed, else
375
+ * { reason, message }. Unknown/absent tier never gates (strict mode leaves the
376
+ * tier unset on purpose).
377
+ */
378
+ export function checkTierPersonaGate(tier, persona) {
379
+ const t = normalizeTaskTier(tier);
380
+ if (!t || !GATED_TIERS.has(t)) return null;
381
+ const name = String(persona || "").trim().toLowerCase();
382
+ if (!HEAVY_PERSONAS.includes(name)) return null;
383
+ return {
384
+ reason: "tier_persona_gate",
385
+ message: `⚠ ${name} is not available at tier "${t}" — and this dispatch was NOT counted against any budget.\n` +
386
+ `At trivial/small tiers the apparatus is one specialist plus its own evidence: no planning pipeline, ` +
387
+ `no plan review, no separate audit pass. Each of those personas opens a document/finding loop whose ` +
388
+ `output then has to be executed and re-reviewed.\n` +
389
+ `Either dispatch the specialist that does the actual work (builder, test-engineer, code-reviewer, ` +
390
+ `documenter), or — if the ask really is bigger than "${t}" — call set_task_tier with a higher tier ` +
391
+ `AND a reason naming what it turned out to contain. Do not raise the tier merely to unlock a persona.`,
392
+ };
393
+ }
394
+
395
+ // ─────────────────────────────────────────────────────────────────────────────
396
+ // Review finding budget (B6) — a review is a gate, and a gate has a size
397
+ // ─────────────────────────────────────────────────────────────────────────────
398
+ //
399
+ // Unbounded review authority is a ratchet: every round produced new blocking
400
+ // findings, each finding added an invariant to the plan, and the enlarged plan
401
+ // justified another round. PLAN37 recorded P37-001…011, R37-IMM-001 and six
402
+ // script-review remediations — none of which the user asked for. The cap is on
403
+ // BLOCKING findings only; everything else still gets reported, just not as a gate.
404
+
405
+ export const BLOCKING_FINDING_CAPS = { trivial: 1, small: 2, feature: 5, project: null };
406
+
407
+ // Review ROUNDS per task. The finding cap is an instruction to the reviewer, and
408
+ // an instruction is exactly what this whole change exists to stop relying on —
409
+ // but the finding cap is also the wrong thing to enforce mechanically: no rule
410
+ // the hub can evaluate distinguishes "invents a new manifest" from "this leaks a
411
+ // credential", and silently demoting the second is worse than tolerating the
412
+ // first. What the hub CAN own is its own action. The ratchet needs a second
413
+ // round to close, so the round count is where it is cut — deterministically,
414
+ // with no judgement about finding content.
415
+ export const REVIEW_ROUND_CAPS = { trivial: 1, small: 1, feature: 2, project: null };
416
+
417
+ /** Review rounds allowed on one task at this tier; null = uncapped. */
418
+ export function reviewRoundCap(tier) {
419
+ const t = normalizeTaskTier(tier);
420
+ if (!t) return null;
421
+ return REVIEW_ROUND_CAPS[t] ?? null;
422
+ }
423
+
424
+ /**
425
+ * Refuse an (N+1)-th review dispatch on the same task.
426
+ * Returns null when allowed, else { reason, message }.
427
+ */
428
+ export function checkReviewRoundCap(tier, persona, roundsSoFar) {
429
+ if (!isReviewPersona(persona)) return null;
430
+ const cap = reviewRoundCap(tier);
431
+ if (cap == null || roundsSoFar < cap) return null;
432
+ const t = normalizeTaskTier(tier);
433
+ return {
434
+ reason: "review_round_cap",
435
+ message: `⚠ Review round cap reached: ${roundsSoFar} of ${cap} review dispatch${cap === 1 ? "" : "es"} ` +
436
+ `already spent on this task at tier "${t}" — and this dispatch was NOT counted against any budget.\n` +
437
+ `A review is a GATE, not a loop. The findings from the round you already have are the gate: fix them, ` +
438
+ `re-verify only the assertions the fix touched, and close. Re-reviewing the same work to see whether ` +
439
+ `the fix produced new findings is the ratchet — each round's findings become requirements, and the ` +
440
+ `enlarged requirement set justifies the next round.\n` +
441
+ `If this genuinely is a different review (a different subsystem, or work the earlier round never saw), ` +
442
+ `raise the tier with a reason via set_task_tier, or open a new task window with /af-new-task.`,
443
+ };
444
+ }
445
+
446
+ /** Blocking-finding cap for a tier; null = uncapped (project / unset tier). */
447
+ export function blockingFindingCap(tier) {
448
+ const t = normalizeTaskTier(tier);
449
+ if (!t) return null;
450
+ return BLOCKING_FINDING_CAPS[t] ?? null;
451
+ }
452
+
453
+ /** Is this a review persona (gets the finding-budget clause)? */
454
+ export function isReviewPersona(persona) {
455
+ return REVIEW_PERSONAS.includes(String(persona || "").trim().toLowerCase());
456
+ }
457
+
458
+ /**
459
+ * The finding-budget clause appended to a review persona's task text.
460
+ * Returns null when the persona is not a reviewer or the tier is uncapped.
461
+ */
462
+ export function reviewBudgetClause(tier, persona) {
463
+ if (!isReviewPersona(persona)) return null;
464
+ const cap = blockingFindingCap(tier);
465
+ if (cap == null) return null;
466
+ return [
467
+ `## Finding budget (task tier: ${normalizeTaskTier(tier)})`,
468
+ ``,
469
+ `Report at most ${cap} BLOCKING finding${cap === 1 ? "" : "s"}. Rank by severity and put everything`,
470
+ `else under a "## Non-blocking (optional)" heading — non-blocking findings are advice, and must not`,
471
+ `gate the change or be re-raised as blockers in a later round.`,
472
+ ``,
473
+ `A blocking finding may only enforce an invariant the task, the plan, or the project rules ALREADY`,
474
+ `state. It may NOT introduce a new invariant, a new evidence artifact, a new script/manifest/fixture,`,
475
+ `or a new process requirement — that is scope growth wearing a reviewer's hat. If you believe a new`,
476
+ `invariant is genuinely needed, write it under "## Non-blocking (optional)" as a recommendation for`,
477
+ `the human to decide, and do not block on it.`,
478
+ ].join("\n");
181
479
  }
@@ -0,0 +1,87 @@
1
+ // Immutable per-run artifact namespaces — the pure policy core behind "a run's
2
+ // artifacts are never overwritten by the next run".
3
+ //
4
+ // The observed failure: `.pi/agent-sessions/artifacts/` was deleted at session
5
+ // start, and specialist returns were named by a per-session counter
6
+ // (`returns/builder-run1.md`). Two consequences, both hit at once: a later
7
+ // session's `builder-run1.md` occupied the same path as an earlier one, and the
8
+ // start-of-session wipe removed eleven implementation returns and two review
9
+ // artifacts that a post-mortem then had to record as NOT RECOVERABLE.
10
+ //
11
+ // The fix is not retention-by-luck: each session archives the previous session's
12
+ // artifacts into `runs/<runId>/`, a namespace that is written once and never
13
+ // reused, and records it in `runs/index.json`. Pruning is explicit and bounded,
14
+ // so the directory cannot grow without limit either.
15
+
16
+ export const DEFAULT_RUN_HISTORY_KEEP = 10;
17
+ export const RUNS_DIRNAME = "runs";
18
+ export const RUN_INDEX_FILENAME = "index.json";
19
+
20
+ /**
21
+ * Run id: sortable UTC timestamp + a short random suffix, so two sessions
22
+ * starting in the same second still get distinct namespaces.
23
+ * `2026-08-03T09-10-42-a3f9`
24
+ */
25
+ export function makeRunId(date = new Date(), suffix = null) {
26
+ const iso = new Date(date).toISOString().replace(/\.\d+Z$/, "").replace(/:/g, "-");
27
+ const tail = suffix ?? Math.random().toString(36).slice(2, 6);
28
+ return `${iso}-${tail}`;
29
+ }
30
+
31
+ /** A run id we generated (used to filter stray directories out of `runs/`). */
32
+ export function isRunId(name) {
33
+ return /^\d{4}-\d{2}-\d{2}T\d{2}-\d{2}-\d{2}-[a-z0-9]{2,8}$/.test(String(name || ""));
34
+ }
35
+
36
+ /**
37
+ * Which run directories to delete so at most `keep` survive.
38
+ * Run ids sort lexicographically by time, so newest = last. `keep: null`
39
+ * ("off") prunes nothing; non-run-id entries are never touched.
40
+ */
41
+ export function pruneRunDirs(names, keep = DEFAULT_RUN_HISTORY_KEEP) {
42
+ if (keep == null) return [];
43
+ const runs = (names || []).filter(isRunId).sort();
44
+ const limit = Math.max(0, keep);
45
+ if (runs.length <= limit) return [];
46
+ return runs.slice(0, runs.length - limit);
47
+ }
48
+
49
+ /**
50
+ * The metadata written once into `runs/<runId>/meta.json`. Carries the
51
+ * identifiers a post-mortem needs and could not previously recover: which
52
+ * workspace/project/repo the run belonged to, and when it started and ended.
53
+ */
54
+ export function buildRunMeta({ runId, startedAt = null, archivedAt = Date.now(), cwd = null, project = null, workspace = null, artifactCounts = null }) {
55
+ return {
56
+ runId,
57
+ startedAt: startedAt == null ? null : new Date(startedAt).toISOString(),
58
+ archivedAt: new Date(archivedAt).toISOString(),
59
+ cwd,
60
+ project,
61
+ workspace,
62
+ artifactCounts,
63
+ note: "Immutable archive of one agent-hub session's artifacts. Written once; never rewritten.",
64
+ };
65
+ }
66
+
67
+ /**
68
+ * Fold a run entry into `runs/index.json`, newest last, capped at `keep`.
69
+ * Re-indexing the same runId replaces its entry rather than duplicating it.
70
+ */
71
+ export function appendRunIndex(existing, entry, keep = DEFAULT_RUN_HISTORY_KEEP) {
72
+ const runs = Array.isArray(existing?.runs) ? existing.runs.filter((r) => r && r.runId !== entry.runId) : [];
73
+ runs.push(entry);
74
+ runs.sort((a, b) => String(a.runId).localeCompare(String(b.runId)));
75
+ const trimmed = keep == null ? runs : runs.slice(Math.max(0, runs.length - Math.max(0, keep)));
76
+ return { version: 1, updatedAt: new Date().toISOString(), runs: trimmed };
77
+ }
78
+
79
+ /** Parse the `run-history-keep:` overrides value → number, null ("off"), or undefined. */
80
+ export function normalizeRunHistoryKeep(value) {
81
+ const raw = String(value ?? "").trim().toLowerCase();
82
+ if (!raw) return undefined;
83
+ if (raw === "off" || raw === "none" || raw === "0") return null;
84
+ const n = Number(raw);
85
+ if (!Number.isFinite(n) || n < 1) return undefined;
86
+ return Math.floor(n);
87
+ }
@@ -1,6 +1,30 @@
1
1
  import { readFileSync } from "node:fs";
2
2
 
3
3
  export const VERSION_STATUS_KEY = "00-agent-fleet-version";
4
+ export const VERSION_LABEL = "agent fleet";
5
+ export const VERSION_LABEL_URL = "https://github.com/chankov/agent-fleet";
6
+
7
+ /**
8
+ * Wrap `text` in an OSC 8 hyperlink. Terminals that support it make the label
9
+ * clickable and hand the URL to the OS opener; terminals that don't ignore the
10
+ * sequence and render `text` unchanged. pi's TUI strips OSC sequences before
11
+ * measuring (`visibleWidth`) and truncating, so a linked label costs no footer
12
+ * columns. Multiplexers that mangle unknown OSC (GNU screen, tmux before 3.4)
13
+ * are the reason for the AGENT_FLEET_NO_LINKS opt-out below.
14
+ */
15
+ export function linkify(text: string, url: string): string {
16
+ return `\x1b]8;;${url}\x07${text}\x1b]8;;\x07`;
17
+ }
18
+
19
+ function linksEnabled(): boolean {
20
+ const optOut = process.env.AGENT_FLEET_NO_LINKS;
21
+ return !optOut || optOut === "0" || optOut === "false";
22
+ }
23
+
24
+ export function formatVersionLabel(version: string): string {
25
+ const label = linksEnabled() ? linkify(VERSION_LABEL, VERSION_LABEL_URL) : VERSION_LABEL;
26
+ return `${label} v${version}`;
27
+ }
4
28
 
5
29
  function readAdjacentVersion(): string | null {
6
30
  try {
@@ -14,5 +38,5 @@ function readAdjacentVersion(): string | null {
14
38
  export const HARNESS_VERSION = readAdjacentVersion();
15
39
 
16
40
  export function registerVersionStatus(ctx: { ui?: { setStatus?: (key: string, text: string) => void } }): void {
17
- if (HARNESS_VERSION) ctx.ui?.setStatus?.(VERSION_STATUS_KEY, `v${HARNESS_VERSION}`);
41
+ if (HARNESS_VERSION) ctx.ui?.setStatus?.(VERSION_STATUS_KEY, formatVersionLabel(HARNESS_VERSION));
18
42
  }
@@ -15,7 +15,7 @@ clean shutdown lifecycle.
15
15
 
16
16
  ## Version footer and provenance
17
17
 
18
- This persistent-UI harness shows `v<version>` below the prompt. It shares one common-key
18
+ This persistent-UI harness shows `agent fleet v<version>` below the prompt. It shares one common-key
19
19
  status with `agent-hub` and `damage-control-continue`, so a stack renders the
20
20
  version once. The root `package.json` is canonical; `bin/sync-harness-versions.js` synchronizes
21
21
  its value into this adjacent manifest. The local `version.ts` reader is retained so a copied or
@@ -23,6 +23,13 @@ symlinked harness resolves its own adjacent stamp, not the launch directory. Tha
23
23
  pair does not carry dependencies: copy/symlink targets still require the existing full
24
24
  `.pi/harnesses/` dependency installation.
25
25
 
26
+ The `agent fleet` half of the label is an OSC 8 terminal hyperlink to the project homepage —
27
+ clickable in terminals that support hyperlinks, ignored (rendered as plain text) elsewhere, and
28
+ free of footer columns because pi strips OSC sequences before measuring width. It opens the
29
+ repository in a browser, not a TUI panel: pi has no mouse tracking, so a click never reaches the
30
+ harness. `AGENT_FLEET_NO_LINKS=1` restores the plain label on multiplexers that mangle OSC 8
31
+ (GNU screen, tmux before 3.4).
32
+
26
33
  ## Presence backends: herdr vs files
27
34
 
28
35
  Presence (who's alive, what state they're in) is pluggable; the **envelope transport,
@@ -3,5 +3,5 @@
3
3
  "private": true,
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
- "version": "0.0.8"
6
+ "version": "0.0.10"
7
7
  }
@@ -1,6 +1,30 @@
1
1
  import { readFileSync } from "node:fs";
2
2
 
3
3
  export const VERSION_STATUS_KEY = "00-agent-fleet-version";
4
+ export const VERSION_LABEL = "agent fleet";
5
+ export const VERSION_LABEL_URL = "https://github.com/chankov/agent-fleet";
6
+
7
+ /**
8
+ * Wrap `text` in an OSC 8 hyperlink. Terminals that support it make the label
9
+ * clickable and hand the URL to the OS opener; terminals that don't ignore the
10
+ * sequence and render `text` unchanged. pi's TUI strips OSC sequences before
11
+ * measuring (`visibleWidth`) and truncating, so a linked label costs no footer
12
+ * columns. Multiplexers that mangle unknown OSC (GNU screen, tmux before 3.4)
13
+ * are the reason for the AGENT_FLEET_NO_LINKS opt-out below.
14
+ */
15
+ export function linkify(text: string, url: string): string {
16
+ return `\x1b]8;;${url}\x07${text}\x1b]8;;\x07`;
17
+ }
18
+
19
+ function linksEnabled(): boolean {
20
+ const optOut = process.env.AGENT_FLEET_NO_LINKS;
21
+ return !optOut || optOut === "0" || optOut === "false";
22
+ }
23
+
24
+ export function formatVersionLabel(version: string): string {
25
+ const label = linksEnabled() ? linkify(VERSION_LABEL, VERSION_LABEL_URL) : VERSION_LABEL;
26
+ return `${label} v${version}`;
27
+ }
4
28
 
5
29
  function readAdjacentVersion(): string | null {
6
30
  try {
@@ -14,5 +38,5 @@ function readAdjacentVersion(): string | null {
14
38
  export const HARNESS_VERSION = readAdjacentVersion();
15
39
 
16
40
  export function registerVersionStatus(ctx: { ui?: { setStatus?: (key: string, text: string) => void } }): void {
17
- if (HARNESS_VERSION) ctx.ui?.setStatus?.(VERSION_STATUS_KEY, `v${HARNESS_VERSION}`);
41
+ if (HARNESS_VERSION) ctx.ui?.setStatus?.(VERSION_STATUS_KEY, formatVersionLabel(HARNESS_VERSION));
18
42
  }
@@ -18,7 +18,7 @@ approval/exemption paths below; inherently dangerous command patterns never can.
18
18
 
19
19
  ## Version footer and provenance
20
20
 
21
- This persistent-UI harness shows `v<version>` below the prompt. It shares one common-key
21
+ This persistent-UI harness shows `agent fleet v<version>` below the prompt. It shares one common-key
22
22
  status with `agent-hub` and `coms`, so a stack renders the version once. Its
23
23
  version remains separate from the mutable `damage-control` status: active-rule and
24
24
  last-violation feedback never replaces it. The root `package.json` is canonical;
@@ -27,6 +27,13 @@ last-violation feedback never replaces it. The root `package.json` is canonical;
27
27
  stamp, but those targets still require the pre-existing full `.pi/harnesses/` dependency
28
28
  installation.
29
29
 
30
+ The `agent fleet` half of the label is an OSC 8 terminal hyperlink to the project homepage —
31
+ clickable in terminals that support hyperlinks, ignored (rendered as plain text) elsewhere, and
32
+ free of footer columns because pi strips OSC sequences before measuring width. It opens the
33
+ repository in a browser, not a TUI panel: pi has no mouse tracking, so a click never reaches the
34
+ harness. `AGENT_FLEET_NO_LINKS=1` restores the plain label on multiplexers that mangle OSC 8
35
+ (GNU screen, tmux before 3.4).
36
+
30
37
  ## Exemptions — allow access per turn or per session
31
38
 
32
39
  Runtime allowances layered on top of the rules file (which is never modified).
@@ -3,5 +3,5 @@
3
3
  "private": true,
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
- "version": "0.0.8"
6
+ "version": "0.0.10"
7
7
  }