@chankov/agent-fleet 1.0.1 → 1.0.3

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 (625) hide show
  1. package/.pi/extensions/package-lock.json +77 -45
  2. package/.pi/harnesses/agent-hub/README.md +167 -76
  3. package/.pi/harnesses/agent-hub/budget-continuation.ts +73 -0
  4. package/.pi/harnesses/agent-hub/capability-confirmation.ts +47 -0
  5. package/.pi/harnesses/agent-hub/capability-packs.ts +180 -0
  6. package/.pi/harnesses/agent-hub/context-budget-snapshot.ts +105 -0
  7. package/.pi/harnesses/agent-hub/context-pressure.ts +191 -0
  8. package/.pi/harnesses/agent-hub/context-window.js +1 -1
  9. package/.pi/harnesses/agent-hub/drift-watchdog.js +11 -4
  10. package/.pi/harnesses/agent-hub/execution-profile.ts +69 -0
  11. package/.pi/harnesses/agent-hub/footer.ts +3 -2
  12. package/.pi/harnesses/agent-hub/hub-state-audit.js +14 -10
  13. package/.pi/harnesses/agent-hub/index.ts +1316 -660
  14. package/.pi/harnesses/agent-hub/package.json +1 -1
  15. package/.pi/harnesses/agent-hub/posture.ts +72 -17
  16. package/.pi/harnesses/agent-hub/provider-semaphore.js +1 -1
  17. package/.pi/harnesses/agent-hub/run-budget.js +77 -80
  18. package/.pi/harnesses/agent-hub/spawn.ts +14 -2
  19. package/.pi/harnesses/ask-user-remote/index.ts +59 -4
  20. package/.pi/harnesses/coms/package.json +1 -1
  21. package/.pi/harnesses/damage-control-continue/package.json +1 -1
  22. package/.pi/harnesses/lib/context-budget-child-prompt.ts +179 -0
  23. package/.pi/harnesses/lib/context-budget-hub-prompt.ts +116 -0
  24. package/.pi/harnesses/lib/context-budget-view.ts +107 -0
  25. package/.pi/harnesses/lib/context-budget.ts +114 -0
  26. package/.pi/harnesses/lib/fleet-dashboard-view.ts +3 -1
  27. package/.pi/harnesses/lib/fleet-detail-view.ts +127 -2
  28. package/.pi/harnesses/package-lock.json +73 -80
  29. package/.versions/1.0.2/.pi/agents/dispatch-policy.yaml +32 -0
  30. package/.versions/1.0.2/.pi/agents/model-profiles.yaml +27 -0
  31. package/.versions/1.0.2/.pi/agents/peers.yaml +142 -0
  32. package/.versions/1.0.2/.pi/agents/teams.yaml +41 -0
  33. package/.versions/1.0.2/.pi/damage-control-rules.yaml +297 -0
  34. package/.versions/1.0.2/.pi/extensions/agent-fleet-update-check/README.md +57 -0
  35. package/.versions/1.0.2/.pi/extensions/agent-fleet-update-check/index.ts +161 -0
  36. package/.versions/1.0.2/.pi/extensions/agent-fleet-update-check/package.json +6 -0
  37. package/.versions/1.0.2/.pi/extensions/btw/README.md +120 -0
  38. package/.versions/1.0.2/.pi/extensions/btw/index.ts +914 -0
  39. package/.versions/1.0.2/.pi/extensions/btw/package.json +6 -0
  40. package/.versions/1.0.2/.pi/extensions/btw/state.js +179 -0
  41. package/.versions/1.0.2/.pi/extensions/chrome-devtools-mcp/README.md +55 -0
  42. package/.versions/1.0.2/.pi/extensions/chrome-devtools-mcp/index.ts +93 -0
  43. package/.versions/1.0.2/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
  44. package/.versions/1.0.2/.pi/extensions/compact-and-continue/README.md +42 -0
  45. package/.versions/1.0.2/.pi/extensions/compact-and-continue/index.ts +120 -0
  46. package/.versions/1.0.2/.pi/extensions/compact-and-continue/package.json +6 -0
  47. package/.versions/1.0.2/.pi/extensions/mcp-bridge/README.md +46 -0
  48. package/.versions/1.0.2/.pi/extensions/mcp-bridge/index.ts +206 -0
  49. package/.versions/1.0.2/.pi/extensions/mcp-bridge/package.json +6 -0
  50. package/.versions/1.0.2/.pi/extensions/package-lock.json +1175 -0
  51. package/.versions/1.0.2/.pi/extensions/package.json +9 -0
  52. package/.versions/1.0.2/.pi/extensions/pi-voice-stt/README.md +205 -0
  53. package/.versions/1.0.2/.pi/extensions/pi-voice-stt/config.ts +198 -0
  54. package/.versions/1.0.2/.pi/extensions/pi-voice-stt/examples/stt.json +35 -0
  55. package/.versions/1.0.2/.pi/extensions/pi-voice-stt/index.ts +248 -0
  56. package/.versions/1.0.2/.pi/extensions/pi-voice-stt/package.json +6 -0
  57. package/.versions/1.0.2/.pi/extensions/pi-voice-stt/providers.ts +214 -0
  58. package/.versions/1.0.2/.pi/extensions/pi-voice-stt/recorder.ts +158 -0
  59. package/.versions/1.0.2/.pi/harnesses/agent-hub/README.md +1156 -0
  60. package/.versions/1.0.2/.pi/harnesses/agent-hub/access-approval.ts +135 -0
  61. package/.versions/1.0.2/.pi/harnesses/agent-hub/artifacts.js +146 -0
  62. package/.versions/1.0.2/.pi/harnesses/agent-hub/assertion-ledger.js +58 -0
  63. package/.versions/1.0.2/.pi/harnesses/agent-hub/backend-policy.js +174 -0
  64. package/.versions/1.0.2/.pi/harnesses/agent-hub/budget-continuation.ts +73 -0
  65. package/.versions/1.0.2/.pi/harnesses/agent-hub/capability-confirmation.ts +47 -0
  66. package/.versions/1.0.2/.pi/harnesses/agent-hub/capability-packs.ts +180 -0
  67. package/.versions/1.0.2/.pi/harnesses/agent-hub/context-budget-snapshot.ts +105 -0
  68. package/.versions/1.0.2/.pi/harnesses/agent-hub/context-pressure.ts +191 -0
  69. package/.versions/1.0.2/.pi/harnesses/agent-hub/context-window.js +106 -0
  70. package/.versions/1.0.2/.pi/harnesses/agent-hub/delegate.ts +435 -0
  71. package/.versions/1.0.2/.pi/harnesses/agent-hub/docs-lane.js +122 -0
  72. package/.versions/1.0.2/.pi/harnesses/agent-hub/drift-watchdog.js +211 -0
  73. package/.versions/1.0.2/.pi/harnesses/agent-hub/evidence-rules.js +96 -0
  74. package/.versions/1.0.2/.pi/harnesses/agent-hub/external-blocker.js +85 -0
  75. package/.versions/1.0.2/.pi/harnesses/agent-hub/footer.ts +35 -0
  76. package/.versions/1.0.2/.pi/harnesses/agent-hub/helpers.ts +266 -0
  77. package/.versions/1.0.2/.pi/harnesses/agent-hub/hub-state-audit.js +73 -0
  78. package/.versions/1.0.2/.pi/harnesses/agent-hub/index.ts +9909 -0
  79. package/.versions/1.0.2/.pi/harnesses/agent-hub/monitor-control.ts +9 -0
  80. package/.versions/1.0.2/.pi/harnesses/agent-hub/monitor-invoke-journal.ts +131 -0
  81. package/.versions/1.0.2/.pi/harnesses/agent-hub/monitor-invoke.ts +92 -0
  82. package/.versions/1.0.2/.pi/harnesses/agent-hub/monitor-lifecycle.ts +13 -0
  83. package/.versions/1.0.2/.pi/harnesses/agent-hub/monitor-publisher.ts +59 -0
  84. package/.versions/1.0.2/.pi/harnesses/agent-hub/monitor-recovery.ts +3 -0
  85. package/.versions/1.0.2/.pi/harnesses/agent-hub/monitor-runtime.ts +3 -0
  86. package/.versions/1.0.2/.pi/harnesses/agent-hub/monitor-session-bridge.ts +266 -0
  87. package/.versions/1.0.2/.pi/harnesses/agent-hub/package.json +7 -0
  88. package/.versions/1.0.2/.pi/harnesses/agent-hub/peer-spawn-plan.ts +116 -0
  89. package/.versions/1.0.2/.pi/harnesses/agent-hub/posture.ts +158 -0
  90. package/.versions/1.0.2/.pi/harnesses/agent-hub/provider-semaphore.js +138 -0
  91. package/.versions/1.0.2/.pi/harnesses/agent-hub/research-retention.js +34 -0
  92. package/.versions/1.0.2/.pi/harnesses/agent-hub/research-watchdog.ts +40 -0
  93. package/.versions/1.0.2/.pi/harnesses/agent-hub/return-contract.js +293 -0
  94. package/.versions/1.0.2/.pi/harnesses/agent-hub/return-extract.js +75 -0
  95. package/.versions/1.0.2/.pi/harnesses/agent-hub/review-findings.js +102 -0
  96. package/.versions/1.0.2/.pi/harnesses/agent-hub/run-budget.js +539 -0
  97. package/.versions/1.0.2/.pi/harnesses/agent-hub/run-namespace.js +87 -0
  98. package/.versions/1.0.2/.pi/harnesses/agent-hub/safety-routing.ts +22 -0
  99. package/.versions/1.0.2/.pi/harnesses/agent-hub/scope-gate.js +103 -0
  100. package/.versions/1.0.2/.pi/harnesses/agent-hub/session-health.js +110 -0
  101. package/.versions/1.0.2/.pi/harnesses/agent-hub/spawn.ts +366 -0
  102. package/.versions/1.0.2/.pi/harnesses/agent-hub/version.ts +42 -0
  103. package/.versions/1.0.2/.pi/harnesses/ask-user-remote/README.md +53 -0
  104. package/.versions/1.0.2/.pi/harnesses/ask-user-remote/index.ts +532 -0
  105. package/.versions/1.0.2/.pi/harnesses/ask-user-remote/race-core.js +106 -0
  106. package/.versions/1.0.2/.pi/harnesses/coms/README.md +100 -0
  107. package/.versions/1.0.2/.pi/harnesses/coms/index.ts +1767 -0
  108. package/.versions/1.0.2/.pi/harnesses/coms/package.json +7 -0
  109. package/.versions/1.0.2/.pi/harnesses/coms/version.ts +42 -0
  110. package/.versions/1.0.2/.pi/harnesses/damage-control-continue/README.md +124 -0
  111. package/.versions/1.0.2/.pi/harnesses/damage-control-continue/index.ts +536 -0
  112. package/.versions/1.0.2/.pi/harnesses/damage-control-continue/package.json +7 -0
  113. package/.versions/1.0.2/.pi/harnesses/damage-control-continue/version.ts +42 -0
  114. package/.versions/1.0.2/.pi/harnesses/lib/coms-registry-entry.ts +94 -0
  115. package/.versions/1.0.2/.pi/harnesses/lib/context-budget-child-prompt.ts +179 -0
  116. package/.versions/1.0.2/.pi/harnesses/lib/context-budget-hub-prompt.ts +116 -0
  117. package/.versions/1.0.2/.pi/harnesses/lib/context-budget-view.ts +107 -0
  118. package/.versions/1.0.2/.pi/harnesses/lib/context-budget.ts +114 -0
  119. package/.versions/1.0.2/.pi/harnesses/lib/damage-control-shared.ts +197 -0
  120. package/.versions/1.0.2/.pi/harnesses/lib/fixtures/context-budget-profiles.json +11 -0
  121. package/.versions/1.0.2/.pi/harnesses/lib/fixtures/hub-prompt-operator.legacy.txt +73 -0
  122. package/.versions/1.0.2/.pi/harnesses/lib/fixtures/hub-prompt-orchestrator.legacy.txt +73 -0
  123. package/.versions/1.0.2/.pi/harnesses/lib/fleet-dashboard-ops.ts +155 -0
  124. package/.versions/1.0.2/.pi/harnesses/lib/fleet-dashboard-view.ts +140 -0
  125. package/.versions/1.0.2/.pi/harnesses/lib/fleet-detail-view.ts +133 -0
  126. package/.versions/1.0.2/.pi/harnesses/lib/fleet-overlay.ts +26 -0
  127. package/.versions/1.0.2/.pi/harnesses/lib/fleet-panel.ts +34 -0
  128. package/.versions/1.0.2/.pi/harnesses/lib/fleet-read-model.ts +131 -0
  129. package/.versions/1.0.2/.pi/harnesses/lib/fleet-selection.ts +24 -0
  130. package/.versions/1.0.2/.pi/harnesses/lib/herdr-client.ts +472 -0
  131. package/.versions/1.0.2/.pi/harnesses/lib/herdr-presence.ts +399 -0
  132. package/.versions/1.0.2/.pi/harnesses/lib/hermes-monitor-events.ts +136 -0
  133. package/.versions/1.0.2/.pi/harnesses/lib/hermes-monitor-herdr.ts +28 -0
  134. package/.versions/1.0.2/.pi/harnesses/lib/hermes-monitor-model.ts +18 -0
  135. package/.versions/1.0.2/.pi/harnesses/lib/hermes-monitor-registry.ts +6 -0
  136. package/.versions/1.0.2/.pi/harnesses/lib/hermes-monitor-socket.ts +163 -0
  137. package/.versions/1.0.2/.pi/harnesses/lib/hermes-monitor-store.ts +31 -0
  138. package/.versions/1.0.2/.pi/harnesses/lib/spawned-peers.js +190 -0
  139. package/.versions/1.0.2/.pi/harnesses/package-lock.json +2039 -0
  140. package/.versions/1.0.2/.pi/harnesses/package.json +10 -0
  141. package/.versions/1.0.2/.pi/prompts/af-build.md +24 -0
  142. package/.versions/1.0.2/.pi/prompts/af-code-simplify.md +22 -0
  143. package/.versions/1.0.2/.pi/prompts/af-plan.md +16 -0
  144. package/.versions/1.0.2/.pi/prompts/af-review.md +16 -0
  145. package/.versions/1.0.2/.pi/prompts/af-set-hermes-telegram.md +15 -0
  146. package/.versions/1.0.2/.pi/prompts/af-set-hermes-watchdog.md +6 -0
  147. package/.versions/1.0.2/.pi/prompts/af-ship.md +17 -0
  148. package/.versions/1.0.2/.pi/prompts/af-spec.md +15 -0
  149. package/.versions/1.0.2/.pi/prompts/af-test.md +19 -0
  150. package/.versions/1.0.2/.pi/skills/bowser/SKILL.md +145 -0
  151. package/.versions/1.0.2/.version +1 -0
  152. package/.versions/1.0.2/agents/architect.md +24 -0
  153. package/.versions/1.0.2/agents/bowser.md +27 -0
  154. package/.versions/1.0.2/agents/builder.md +54 -0
  155. package/.versions/1.0.2/agents/code-reviewer.md +208 -0
  156. package/.versions/1.0.2/agents/deep-researcher.md +32 -0
  157. package/.versions/1.0.2/agents/documenter.md +18 -0
  158. package/.versions/1.0.2/agents/orchestrator.md +20 -0
  159. package/.versions/1.0.2/agents/plan-reviewer.md +83 -0
  160. package/.versions/1.0.2/agents/planner.md +70 -0
  161. package/.versions/1.0.2/agents/releaser.md +24 -0
  162. package/.versions/1.0.2/agents/researcher.md +28 -0
  163. package/.versions/1.0.2/agents/security-auditor.md +167 -0
  164. package/.versions/1.0.2/agents/test-engineer.md +153 -0
  165. package/.versions/1.0.2/agents/web-debugger.md +43 -0
  166. package/.versions/1.0.2/agents/web-performance-auditor.md +193 -0
  167. package/.versions/1.0.2/bin/catalog/harness-runtime-closure.json +38 -0
  168. package/.versions/1.0.2/codex/CONDUCTOR.md +148 -0
  169. package/.versions/1.0.2/docs/ARCHITECTURE.md +369 -0
  170. package/.versions/1.0.2/docs/agent-fleet-setup.md +468 -0
  171. package/.versions/1.0.2/docs/claude-code-coms-bridge.md +128 -0
  172. package/.versions/1.0.2/docs/codex-remote-conductor.md +170 -0
  173. package/.versions/1.0.2/docs/coms-hermes-bridge.md +189 -0
  174. package/.versions/1.0.2/docs/getting-started.md +98 -0
  175. package/.versions/1.0.2/docs/npm-install.md +292 -0
  176. package/.versions/1.0.2/docs/pi-extensions.md +439 -0
  177. package/.versions/1.0.2/docs/pi-setup.md +74 -0
  178. package/.versions/1.0.2/docs/skill-anatomy.md +150 -0
  179. package/.versions/1.0.2/hermes/README.md +347 -0
  180. package/.versions/1.0.2/hermes/desktop-plugins/agent-fleet-herdr/plugin.js +1291 -0
  181. package/.versions/1.0.2/hermes/desktop-plugins/agent-fleet-herdr/presentation.js +672 -0
  182. package/.versions/1.0.2/hermes/desktop-plugins/agent-fleet-monitor/plugin.js +19 -0
  183. package/.versions/1.0.2/hermes/desktop-plugins/agent-fleet-monitor/state.js +10 -0
  184. package/.versions/1.0.2/hermes/gates/gate-o-capability.md +8 -0
  185. package/.versions/1.0.2/hermes/gates/gate-o-validator-fixtures.json +1 -0
  186. package/.versions/1.0.2/hermes/plugins/agent-fleet-herdr/dashboard/activity.py +770 -0
  187. package/.versions/1.0.2/hermes/plugins/agent-fleet-herdr/dashboard/coms_registry.py +134 -0
  188. package/.versions/1.0.2/hermes/plugins/agent-fleet-herdr/dashboard/coms_send.py +350 -0
  189. package/.versions/1.0.2/hermes/plugins/agent-fleet-herdr/dashboard/herdr_source.py +193 -0
  190. package/.versions/1.0.2/hermes/plugins/agent-fleet-herdr/dashboard/manifest.json +4 -0
  191. package/.versions/1.0.2/hermes/plugins/agent-fleet-herdr/dashboard/plugin_api.py +444 -0
  192. package/.versions/1.0.2/hermes/plugins/agent-fleet-herdr/dashboard/sessions.py +205 -0
  193. package/.versions/1.0.2/hermes/plugins/agent-fleet-herdr/dashboard/tasks.py +300 -0
  194. package/.versions/1.0.2/hermes/plugins/agent-fleet-herdr/dashboard/watch.py +819 -0
  195. package/.versions/1.0.2/hermes/plugins/agent-fleet-herdr/plugin.yaml +8 -0
  196. package/.versions/1.0.2/hermes/plugins/agent-fleet-monitor/dashboard/adapter.py +139 -0
  197. package/.versions/1.0.2/hermes/plugins/agent-fleet-monitor/dashboard/manifest.json +11 -0
  198. package/.versions/1.0.2/hermes/plugins/agent-fleet-monitor/dashboard/plugin_api.py +50 -0
  199. package/.versions/1.0.2/hermes/skills/hub-conductor/SKILL.md +84 -0
  200. package/.versions/1.0.2/hermes/skills/hub-liaison/SKILL.md +84 -0
  201. package/.versions/1.0.2/hermes/skills/hub-watchdog/SKILL.md +76 -0
  202. package/.versions/1.0.2/hermes/skills/hub-watchdog/manifest.json +1 -0
  203. package/.versions/1.0.2/hermes/skills/hub-watchdog/scripts/watchdog.py +249 -0
  204. package/.versions/1.0.2/hermes/skills/hub-watchdog/scripts/watchdog_actions.py +124 -0
  205. package/.versions/1.0.2/hermes/skills/hub-watchdog/scripts/watchdog_contract.py +76 -0
  206. package/.versions/1.0.2/hermes/skills/hub-watchdog/scripts/watchdog_delivery.py +10 -0
  207. package/.versions/1.0.2/hermes/skills/hub-watchdog/scripts/watchdog_engine.py +128 -0
  208. package/.versions/1.0.2/hermes/skills/hub-watchdog/scripts/watchdog_judgment.py +41 -0
  209. package/.versions/1.0.2/hermes/skills/hub-watchdog/scripts/watchdog_recovery.py +103 -0
  210. package/.versions/1.0.2/hermes/skills/hub-watchdog/scripts/watchdog_state.py +163 -0
  211. package/.versions/1.0.2/hermes/skills/hub-watchdog/scripts/watchdog_transport.py +138 -0
  212. package/.versions/1.0.2/hermes/watchdog-tests/__init__.py +0 -0
  213. package/.versions/1.0.2/hooks/coms-stop-hook.mjs +84 -0
  214. package/.versions/1.0.2/install-manifest.json +2745 -0
  215. package/.versions/1.0.2/justfile +272 -0
  216. package/.versions/1.0.2/manifest-meta.json +882 -0
  217. package/.versions/1.0.2/references/accessibility-checklist.md +160 -0
  218. package/.versions/1.0.2/references/definition-of-done.md +67 -0
  219. package/.versions/1.0.2/references/fleet-coordination-patterns.md +151 -0
  220. package/.versions/1.0.2/references/observability-checklist.md +91 -0
  221. package/.versions/1.0.2/references/orchestration-patterns.md +370 -0
  222. package/.versions/1.0.2/references/performance-checklist.md +153 -0
  223. package/.versions/1.0.2/references/prompting-patterns.md +380 -0
  224. package/.versions/1.0.2/references/security-checklist.md +179 -0
  225. package/.versions/1.0.2/references/testing-patterns.md +236 -0
  226. package/.versions/1.0.2/scripts/codex-conductor.ts +41 -0
  227. package/.versions/1.0.2/scripts/codex-remote-control.ts +167 -0
  228. package/.versions/1.0.2/scripts/coms-claude-bridge.ts +411 -0
  229. package/.versions/1.0.2/scripts/coms-cli.ts +484 -0
  230. package/.versions/1.0.2/scripts/coms-hermes-bridge.ts +413 -0
  231. package/.versions/1.0.2/scripts/fleet.ts +185 -0
  232. package/.versions/1.0.2/scripts/hermes-monitor-capability-runner.ts +25 -0
  233. package/.versions/1.0.2/scripts/hermes-monitor-scenario.ts +474 -0
  234. package/.versions/1.0.2/scripts/hermes-watchdog-capability-probe.ts +45 -0
  235. package/.versions/1.0.2/scripts/install-hermes-plugin.sh +180 -0
  236. package/.versions/1.0.2/scripts/lib/claude-bridge-core.ts +210 -0
  237. package/.versions/1.0.2/scripts/lib/codex-conductor.ts +88 -0
  238. package/.versions/1.0.2/scripts/lib/codex-remote-control.ts +480 -0
  239. package/.versions/1.0.2/scripts/lib/coms-envelope.ts +582 -0
  240. package/.versions/1.0.2/scripts/lib/fake-herdr-server.ts +88 -0
  241. package/.versions/1.0.2/scripts/lib/fleet-command.ts +266 -0
  242. package/.versions/1.0.2/scripts/lib/herdr-layout.ts +281 -0
  243. package/.versions/1.0.2/scripts/lib/hermes-bridge-core.ts +241 -0
  244. package/.versions/1.0.2/scripts/lib/hermes-monitor-events.ts +1 -0
  245. package/.versions/1.0.2/scripts/lib/hermes-monitor-herdr.ts +2 -0
  246. package/.versions/1.0.2/scripts/lib/hermes-monitor-model.ts +3 -0
  247. package/.versions/1.0.2/scripts/lib/hermes-monitor-registry.ts +2 -0
  248. package/.versions/1.0.2/scripts/lib/hermes-monitor-socket.ts +2 -0
  249. package/.versions/1.0.2/scripts/lib/hermes-monitor-store.ts +2 -0
  250. package/.versions/1.0.2/scripts/lib/monitor-env.ts +146 -0
  251. package/.versions/1.0.2/scripts/lib/peer-launch.ts +318 -0
  252. package/.versions/1.0.2/scripts/lib/persona-banner.ts +62 -0
  253. package/.versions/1.0.2/scripts/lib/spawn-stagger.ts +101 -0
  254. package/.versions/1.0.2/scripts/lib/team-project.ts +213 -0
  255. package/.versions/1.0.2/scripts/lib/team-snapshot.ts +147 -0
  256. package/.versions/1.0.2/scripts/peer-banner.ts +40 -0
  257. package/.versions/1.0.2/scripts/peer-launch.ts +259 -0
  258. package/.versions/1.0.2/scripts/team-snapshot.ts +237 -0
  259. package/.versions/1.0.2/scripts/team-up.ts +406 -0
  260. package/.versions/1.0.2/skills/_internal/grilling.md +11 -0
  261. package/.versions/1.0.2/skills/browser-testing-with-devtools/SKILL.md +351 -0
  262. package/.versions/1.0.2/skills/code-review-and-quality/SKILL.md +381 -0
  263. package/.versions/1.0.2/skills/compound-learning/SKILL.md +137 -0
  264. package/.versions/1.0.2/skills/context-engineering/SKILL.md +291 -0
  265. package/.versions/1.0.2/skills/deprecation-and-migration/SKILL.md +206 -0
  266. package/.versions/1.0.2/skills/designing-agents/SKILL.md +394 -0
  267. package/.versions/1.0.2/skills/designing-agents/pi-harness-authoring.md +222 -0
  268. package/.versions/1.0.2/skills/frontend-ui-engineering/SKILL.md +328 -0
  269. package/.versions/1.0.2/skills/git-workflow-and-versioning/SKILL.md +316 -0
  270. package/.versions/1.0.2/skills/idea-refine/SKILL.md +182 -0
  271. package/.versions/1.0.2/skills/idea-refine/examples.md +238 -0
  272. package/.versions/1.0.2/skills/idea-refine/frameworks.md +99 -0
  273. package/.versions/1.0.2/skills/idea-refine/refinement-criteria.md +113 -0
  274. package/.versions/1.0.2/skills/idea-refine/scripts/idea-refine.sh +15 -0
  275. package/.versions/1.0.2/skills/incremental-implementation/SKILL.md +287 -0
  276. package/.versions/1.0.2/skills/interview-me/SKILL.md +226 -0
  277. package/.versions/1.0.2/skills/orchestration-verification/SKILL.md +181 -0
  278. package/.versions/1.0.2/skills/peer-coms/SKILL.md +90 -0
  279. package/.versions/1.0.2/skills/performance-optimization/SKILL.md +350 -0
  280. package/.versions/1.0.2/skills/planning-and-task-breakdown/SKILL.md +254 -0
  281. package/.versions/1.0.2/skills/security-and-hardening/SKILL.md +461 -0
  282. package/.versions/1.0.2/skills/spec-driven-development/SKILL.md +257 -0
  283. package/.versions/1.0.2/skills/using-agent-skills/SKILL.md +199 -0
  284. package/.versions/1.0.2/systemd/user/agent-fleet-codex-remote-control.service.in +23 -0
  285. package/.versions/1.0.2/vendor/agent-skills-upstream/LICENSE +21 -0
  286. package/.versions/1.0.2/vendor/agent-skills-upstream/README.md +11 -0
  287. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/api-and-interface-design/SKILL.md +294 -0
  288. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/browser-testing-with-devtools/SKILL.md +317 -0
  289. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/ci-cd-and-automation/SKILL.md +390 -0
  290. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/code-review-and-quality/SKILL.md +396 -0
  291. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/code-simplification/SKILL.md +331 -0
  292. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/context-engineering/SKILL.md +289 -0
  293. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/debugging-and-error-recovery/SKILL.md +300 -0
  294. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/deprecation-and-migration/SKILL.md +247 -0
  295. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/documentation-and-adrs/SKILL.md +278 -0
  296. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/doubt-driven-development/SKILL.md +243 -0
  297. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/frontend-ui-engineering/SKILL.md +328 -0
  298. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/git-workflow-and-versioning/SKILL.md +355 -0
  299. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/idea-refine/SKILL.md +178 -0
  300. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/idea-refine/examples.md +238 -0
  301. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/idea-refine/frameworks.md +99 -0
  302. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/idea-refine/refinement-criteria.md +113 -0
  303. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/idea-refine/scripts/idea-refine.sh +15 -0
  304. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/incremental-implementation/SKILL.md +249 -0
  305. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/interview-me/SKILL.md +225 -0
  306. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/observability-and-instrumentation/SKILL.md +203 -0
  307. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/performance-optimization/SKILL.md +350 -0
  308. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/planning-and-task-breakdown/SKILL.md +234 -0
  309. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/security-and-hardening/SKILL.md +467 -0
  310. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/shipping-and-launch/SKILL.md +310 -0
  311. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/source-driven-development/SKILL.md +194 -0
  312. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/spec-driven-development/SKILL.md +206 -0
  313. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/test-driven-development/SKILL.md +383 -0
  314. package/.versions/1.0.2/vendor/agent-skills-upstream/skills/using-agent-skills/SKILL.md +191 -0
  315. package/.versions/1.0.3/.pi/agents/dispatch-policy.yaml +32 -0
  316. package/.versions/1.0.3/.pi/agents/model-profiles.yaml +27 -0
  317. package/.versions/1.0.3/.pi/agents/peers.yaml +142 -0
  318. package/.versions/1.0.3/.pi/agents/teams.yaml +41 -0
  319. package/.versions/1.0.3/.pi/damage-control-rules.yaml +297 -0
  320. package/.versions/1.0.3/.pi/extensions/agent-fleet-update-check/README.md +57 -0
  321. package/.versions/1.0.3/.pi/extensions/agent-fleet-update-check/index.ts +161 -0
  322. package/.versions/1.0.3/.pi/extensions/agent-fleet-update-check/package.json +6 -0
  323. package/.versions/1.0.3/.pi/extensions/btw/README.md +120 -0
  324. package/.versions/1.0.3/.pi/extensions/btw/index.ts +914 -0
  325. package/.versions/1.0.3/.pi/extensions/btw/package.json +6 -0
  326. package/.versions/1.0.3/.pi/extensions/btw/state.js +179 -0
  327. package/.versions/1.0.3/.pi/extensions/chrome-devtools-mcp/README.md +55 -0
  328. package/.versions/1.0.3/.pi/extensions/chrome-devtools-mcp/index.ts +93 -0
  329. package/.versions/1.0.3/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
  330. package/.versions/1.0.3/.pi/extensions/compact-and-continue/README.md +42 -0
  331. package/.versions/1.0.3/.pi/extensions/compact-and-continue/index.ts +120 -0
  332. package/.versions/1.0.3/.pi/extensions/compact-and-continue/package.json +6 -0
  333. package/.versions/1.0.3/.pi/extensions/mcp-bridge/README.md +46 -0
  334. package/.versions/1.0.3/.pi/extensions/mcp-bridge/index.ts +206 -0
  335. package/.versions/1.0.3/.pi/extensions/mcp-bridge/package.json +6 -0
  336. package/.versions/1.0.3/.pi/extensions/package-lock.json +1175 -0
  337. package/.versions/1.0.3/.pi/extensions/package.json +9 -0
  338. package/.versions/1.0.3/.pi/extensions/pi-voice-stt/README.md +205 -0
  339. package/.versions/1.0.3/.pi/extensions/pi-voice-stt/config.ts +198 -0
  340. package/.versions/1.0.3/.pi/extensions/pi-voice-stt/examples/stt.json +35 -0
  341. package/.versions/1.0.3/.pi/extensions/pi-voice-stt/index.ts +248 -0
  342. package/.versions/1.0.3/.pi/extensions/pi-voice-stt/package.json +6 -0
  343. package/.versions/1.0.3/.pi/extensions/pi-voice-stt/providers.ts +214 -0
  344. package/.versions/1.0.3/.pi/extensions/pi-voice-stt/recorder.ts +158 -0
  345. package/.versions/1.0.3/.pi/harnesses/agent-hub/README.md +1156 -0
  346. package/.versions/1.0.3/.pi/harnesses/agent-hub/access-approval.ts +135 -0
  347. package/.versions/1.0.3/.pi/harnesses/agent-hub/artifacts.js +146 -0
  348. package/.versions/1.0.3/.pi/harnesses/agent-hub/assertion-ledger.js +58 -0
  349. package/.versions/1.0.3/.pi/harnesses/agent-hub/backend-policy.js +174 -0
  350. package/.versions/1.0.3/.pi/harnesses/agent-hub/budget-continuation.ts +73 -0
  351. package/.versions/1.0.3/.pi/harnesses/agent-hub/capability-confirmation.ts +47 -0
  352. package/.versions/1.0.3/.pi/harnesses/agent-hub/capability-packs.ts +180 -0
  353. package/.versions/1.0.3/.pi/harnesses/agent-hub/context-budget-snapshot.ts +105 -0
  354. package/.versions/1.0.3/.pi/harnesses/agent-hub/context-pressure.ts +191 -0
  355. package/.versions/1.0.3/.pi/harnesses/agent-hub/context-window.js +106 -0
  356. package/.versions/1.0.3/.pi/harnesses/agent-hub/delegate.ts +435 -0
  357. package/.versions/1.0.3/.pi/harnesses/agent-hub/docs-lane.js +122 -0
  358. package/.versions/1.0.3/.pi/harnesses/agent-hub/drift-watchdog.js +218 -0
  359. package/.versions/1.0.3/.pi/harnesses/agent-hub/evidence-rules.js +96 -0
  360. package/.versions/1.0.3/.pi/harnesses/agent-hub/execution-profile.ts +69 -0
  361. package/.versions/1.0.3/.pi/harnesses/agent-hub/external-blocker.js +85 -0
  362. package/.versions/1.0.3/.pi/harnesses/agent-hub/footer.ts +36 -0
  363. package/.versions/1.0.3/.pi/harnesses/agent-hub/helpers.ts +266 -0
  364. package/.versions/1.0.3/.pi/harnesses/agent-hub/hub-state-audit.js +59 -0
  365. package/.versions/1.0.3/.pi/harnesses/agent-hub/index.ts +9999 -0
  366. package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-control.ts +9 -0
  367. package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-invoke-journal.ts +131 -0
  368. package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-invoke.ts +92 -0
  369. package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-lifecycle.ts +13 -0
  370. package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-publisher.ts +59 -0
  371. package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-recovery.ts +3 -0
  372. package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-runtime.ts +3 -0
  373. package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-session-bridge.ts +266 -0
  374. package/.versions/1.0.3/.pi/harnesses/agent-hub/package.json +7 -0
  375. package/.versions/1.0.3/.pi/harnesses/agent-hub/peer-spawn-plan.ts +116 -0
  376. package/.versions/1.0.3/.pi/harnesses/agent-hub/posture.ts +158 -0
  377. package/.versions/1.0.3/.pi/harnesses/agent-hub/provider-semaphore.js +138 -0
  378. package/.versions/1.0.3/.pi/harnesses/agent-hub/research-retention.js +34 -0
  379. package/.versions/1.0.3/.pi/harnesses/agent-hub/research-watchdog.ts +40 -0
  380. package/.versions/1.0.3/.pi/harnesses/agent-hub/return-contract.js +293 -0
  381. package/.versions/1.0.3/.pi/harnesses/agent-hub/return-extract.js +75 -0
  382. package/.versions/1.0.3/.pi/harnesses/agent-hub/review-findings.js +102 -0
  383. package/.versions/1.0.3/.pi/harnesses/agent-hub/run-budget.js +537 -0
  384. package/.versions/1.0.3/.pi/harnesses/agent-hub/run-namespace.js +87 -0
  385. package/.versions/1.0.3/.pi/harnesses/agent-hub/safety-routing.ts +22 -0
  386. package/.versions/1.0.3/.pi/harnesses/agent-hub/scope-gate.js +103 -0
  387. package/.versions/1.0.3/.pi/harnesses/agent-hub/session-health.js +110 -0
  388. package/.versions/1.0.3/.pi/harnesses/agent-hub/spawn.ts +366 -0
  389. package/.versions/1.0.3/.pi/harnesses/agent-hub/version.ts +42 -0
  390. package/.versions/1.0.3/.pi/harnesses/ask-user-remote/README.md +53 -0
  391. package/.versions/1.0.3/.pi/harnesses/ask-user-remote/index.ts +532 -0
  392. package/.versions/1.0.3/.pi/harnesses/ask-user-remote/race-core.js +106 -0
  393. package/.versions/1.0.3/.pi/harnesses/coms/README.md +100 -0
  394. package/.versions/1.0.3/.pi/harnesses/coms/index.ts +1767 -0
  395. package/.versions/1.0.3/.pi/harnesses/coms/package.json +7 -0
  396. package/.versions/1.0.3/.pi/harnesses/coms/version.ts +42 -0
  397. package/.versions/1.0.3/.pi/harnesses/damage-control-continue/README.md +124 -0
  398. package/.versions/1.0.3/.pi/harnesses/damage-control-continue/index.ts +536 -0
  399. package/.versions/1.0.3/.pi/harnesses/damage-control-continue/package.json +7 -0
  400. package/.versions/1.0.3/.pi/harnesses/damage-control-continue/version.ts +42 -0
  401. package/.versions/1.0.3/.pi/harnesses/lib/coms-registry-entry.ts +94 -0
  402. package/.versions/1.0.3/.pi/harnesses/lib/context-budget-child-prompt.ts +179 -0
  403. package/.versions/1.0.3/.pi/harnesses/lib/context-budget-hub-prompt.ts +116 -0
  404. package/.versions/1.0.3/.pi/harnesses/lib/context-budget-view.ts +107 -0
  405. package/.versions/1.0.3/.pi/harnesses/lib/context-budget.ts +114 -0
  406. package/.versions/1.0.3/.pi/harnesses/lib/damage-control-shared.ts +197 -0
  407. package/.versions/1.0.3/.pi/harnesses/lib/fixtures/context-budget-profiles.json +11 -0
  408. package/.versions/1.0.3/.pi/harnesses/lib/fixtures/hub-prompt-operator.legacy.txt +73 -0
  409. package/.versions/1.0.3/.pi/harnesses/lib/fixtures/hub-prompt-orchestrator.legacy.txt +73 -0
  410. package/.versions/1.0.3/.pi/harnesses/lib/fleet-dashboard-ops.ts +155 -0
  411. package/.versions/1.0.3/.pi/harnesses/lib/fleet-dashboard-view.ts +142 -0
  412. package/.versions/1.0.3/.pi/harnesses/lib/fleet-detail-view.ts +168 -0
  413. package/.versions/1.0.3/.pi/harnesses/lib/fleet-overlay.ts +26 -0
  414. package/.versions/1.0.3/.pi/harnesses/lib/fleet-panel.ts +34 -0
  415. package/.versions/1.0.3/.pi/harnesses/lib/fleet-read-model.ts +131 -0
  416. package/.versions/1.0.3/.pi/harnesses/lib/fleet-selection.ts +24 -0
  417. package/.versions/1.0.3/.pi/harnesses/lib/herdr-client.ts +472 -0
  418. package/.versions/1.0.3/.pi/harnesses/lib/herdr-presence.ts +399 -0
  419. package/.versions/1.0.3/.pi/harnesses/lib/hermes-monitor-events.ts +136 -0
  420. package/.versions/1.0.3/.pi/harnesses/lib/hermes-monitor-herdr.ts +28 -0
  421. package/.versions/1.0.3/.pi/harnesses/lib/hermes-monitor-model.ts +18 -0
  422. package/.versions/1.0.3/.pi/harnesses/lib/hermes-monitor-registry.ts +6 -0
  423. package/.versions/1.0.3/.pi/harnesses/lib/hermes-monitor-socket.ts +163 -0
  424. package/.versions/1.0.3/.pi/harnesses/lib/hermes-monitor-store.ts +31 -0
  425. package/.versions/1.0.3/.pi/harnesses/lib/spawned-peers.js +190 -0
  426. package/.versions/1.0.3/.pi/harnesses/package-lock.json +2039 -0
  427. package/.versions/1.0.3/.pi/harnesses/package.json +10 -0
  428. package/.versions/1.0.3/.pi/prompts/af-build.md +24 -0
  429. package/.versions/1.0.3/.pi/prompts/af-code-simplify.md +22 -0
  430. package/.versions/1.0.3/.pi/prompts/af-plan.md +16 -0
  431. package/.versions/1.0.3/.pi/prompts/af-review.md +16 -0
  432. package/.versions/1.0.3/.pi/prompts/af-set-hermes-telegram.md +15 -0
  433. package/.versions/1.0.3/.pi/prompts/af-set-hermes-watchdog.md +6 -0
  434. package/.versions/1.0.3/.pi/prompts/af-ship.md +17 -0
  435. package/.versions/1.0.3/.pi/prompts/af-spec.md +15 -0
  436. package/.versions/1.0.3/.pi/prompts/af-test.md +19 -0
  437. package/.versions/1.0.3/.pi/skills/bowser/SKILL.md +145 -0
  438. package/.versions/1.0.3/.version +1 -0
  439. package/.versions/1.0.3/agents/architect.md +25 -0
  440. package/.versions/1.0.3/agents/bowser.md +28 -0
  441. package/.versions/1.0.3/agents/builder.md +55 -0
  442. package/.versions/1.0.3/agents/code-reviewer.md +209 -0
  443. package/.versions/1.0.3/agents/deep-researcher.md +33 -0
  444. package/.versions/1.0.3/agents/documenter.md +19 -0
  445. package/.versions/1.0.3/agents/orchestrator.md +21 -0
  446. package/.versions/1.0.3/agents/plan-reviewer.md +84 -0
  447. package/.versions/1.0.3/agents/planner.md +71 -0
  448. package/.versions/1.0.3/agents/releaser.md +25 -0
  449. package/.versions/1.0.3/agents/researcher.md +29 -0
  450. package/.versions/1.0.3/agents/security-auditor.md +168 -0
  451. package/.versions/1.0.3/agents/test-engineer.md +154 -0
  452. package/.versions/1.0.3/agents/web-debugger.md +44 -0
  453. package/.versions/1.0.3/agents/web-performance-auditor.md +194 -0
  454. package/.versions/1.0.3/bin/catalog/harness-runtime-closure.json +38 -0
  455. package/.versions/1.0.3/codex/CONDUCTOR.md +148 -0
  456. package/.versions/1.0.3/docs/ARCHITECTURE.md +375 -0
  457. package/.versions/1.0.3/docs/agent-fleet-setup.md +468 -0
  458. package/.versions/1.0.3/docs/claude-code-coms-bridge.md +128 -0
  459. package/.versions/1.0.3/docs/codex-remote-conductor.md +170 -0
  460. package/.versions/1.0.3/docs/coms-hermes-bridge.md +189 -0
  461. package/.versions/1.0.3/docs/getting-started.md +98 -0
  462. package/.versions/1.0.3/docs/npm-install.md +292 -0
  463. package/.versions/1.0.3/docs/pi-extensions.md +441 -0
  464. package/.versions/1.0.3/docs/pi-setup.md +74 -0
  465. package/.versions/1.0.3/docs/skill-anatomy.md +150 -0
  466. package/.versions/1.0.3/hermes/README.md +347 -0
  467. package/.versions/1.0.3/hermes/desktop-plugins/agent-fleet-herdr/plugin.js +1291 -0
  468. package/.versions/1.0.3/hermes/desktop-plugins/agent-fleet-herdr/presentation.js +672 -0
  469. package/.versions/1.0.3/hermes/desktop-plugins/agent-fleet-monitor/plugin.js +19 -0
  470. package/.versions/1.0.3/hermes/desktop-plugins/agent-fleet-monitor/state.js +10 -0
  471. package/.versions/1.0.3/hermes/gates/gate-o-capability.md +8 -0
  472. package/.versions/1.0.3/hermes/gates/gate-o-validator-fixtures.json +1 -0
  473. package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/activity.py +770 -0
  474. package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/coms_registry.py +134 -0
  475. package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/coms_send.py +350 -0
  476. package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/herdr_source.py +193 -0
  477. package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/manifest.json +4 -0
  478. package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/plugin_api.py +444 -0
  479. package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/sessions.py +205 -0
  480. package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/tasks.py +300 -0
  481. package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/watch.py +819 -0
  482. package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/plugin.yaml +8 -0
  483. package/.versions/1.0.3/hermes/plugins/agent-fleet-monitor/dashboard/adapter.py +139 -0
  484. package/.versions/1.0.3/hermes/plugins/agent-fleet-monitor/dashboard/manifest.json +11 -0
  485. package/.versions/1.0.3/hermes/plugins/agent-fleet-monitor/dashboard/plugin_api.py +50 -0
  486. package/.versions/1.0.3/hermes/skills/hub-conductor/SKILL.md +84 -0
  487. package/.versions/1.0.3/hermes/skills/hub-liaison/SKILL.md +84 -0
  488. package/.versions/1.0.3/hermes/skills/hub-watchdog/SKILL.md +76 -0
  489. package/.versions/1.0.3/hermes/skills/hub-watchdog/manifest.json +1 -0
  490. package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog.py +249 -0
  491. package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_actions.py +124 -0
  492. package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_contract.py +76 -0
  493. package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_delivery.py +10 -0
  494. package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_engine.py +128 -0
  495. package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_judgment.py +41 -0
  496. package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_recovery.py +103 -0
  497. package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_state.py +163 -0
  498. package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_transport.py +138 -0
  499. package/.versions/1.0.3/hermes/watchdog-tests/__init__.py +0 -0
  500. package/.versions/1.0.3/hooks/coms-stop-hook.mjs +84 -0
  501. package/.versions/1.0.3/install-manifest.json +2745 -0
  502. package/.versions/1.0.3/justfile +272 -0
  503. package/.versions/1.0.3/manifest-meta.json +882 -0
  504. package/.versions/1.0.3/references/accessibility-checklist.md +160 -0
  505. package/.versions/1.0.3/references/definition-of-done.md +67 -0
  506. package/.versions/1.0.3/references/fleet-coordination-patterns.md +151 -0
  507. package/.versions/1.0.3/references/observability-checklist.md +91 -0
  508. package/.versions/1.0.3/references/orchestration-patterns.md +370 -0
  509. package/.versions/1.0.3/references/performance-checklist.md +153 -0
  510. package/.versions/1.0.3/references/prompting-patterns.md +380 -0
  511. package/.versions/1.0.3/references/security-checklist.md +179 -0
  512. package/.versions/1.0.3/references/testing-patterns.md +236 -0
  513. package/.versions/1.0.3/scripts/codex-conductor.ts +41 -0
  514. package/.versions/1.0.3/scripts/codex-remote-control.ts +167 -0
  515. package/.versions/1.0.3/scripts/coms-claude-bridge.ts +411 -0
  516. package/.versions/1.0.3/scripts/coms-cli.ts +484 -0
  517. package/.versions/1.0.3/scripts/coms-hermes-bridge.ts +413 -0
  518. package/.versions/1.0.3/scripts/fleet.ts +185 -0
  519. package/.versions/1.0.3/scripts/hermes-monitor-capability-runner.ts +25 -0
  520. package/.versions/1.0.3/scripts/hermes-monitor-scenario.ts +474 -0
  521. package/.versions/1.0.3/scripts/hermes-watchdog-capability-probe.ts +45 -0
  522. package/.versions/1.0.3/scripts/install-hermes-plugin.sh +180 -0
  523. package/.versions/1.0.3/scripts/lib/claude-bridge-core.ts +210 -0
  524. package/.versions/1.0.3/scripts/lib/codex-conductor.ts +88 -0
  525. package/.versions/1.0.3/scripts/lib/codex-remote-control.ts +480 -0
  526. package/.versions/1.0.3/scripts/lib/coms-envelope.ts +582 -0
  527. package/.versions/1.0.3/scripts/lib/fake-herdr-server.ts +88 -0
  528. package/.versions/1.0.3/scripts/lib/fleet-command.ts +266 -0
  529. package/.versions/1.0.3/scripts/lib/herdr-layout.ts +281 -0
  530. package/.versions/1.0.3/scripts/lib/hermes-bridge-core.ts +241 -0
  531. package/.versions/1.0.3/scripts/lib/hermes-monitor-events.ts +1 -0
  532. package/.versions/1.0.3/scripts/lib/hermes-monitor-herdr.ts +2 -0
  533. package/.versions/1.0.3/scripts/lib/hermes-monitor-model.ts +3 -0
  534. package/.versions/1.0.3/scripts/lib/hermes-monitor-registry.ts +2 -0
  535. package/.versions/1.0.3/scripts/lib/hermes-monitor-socket.ts +2 -0
  536. package/.versions/1.0.3/scripts/lib/hermes-monitor-store.ts +2 -0
  537. package/.versions/1.0.3/scripts/lib/monitor-env.ts +146 -0
  538. package/.versions/1.0.3/scripts/lib/peer-launch.ts +318 -0
  539. package/.versions/1.0.3/scripts/lib/persona-banner.ts +62 -0
  540. package/.versions/1.0.3/scripts/lib/spawn-stagger.ts +101 -0
  541. package/.versions/1.0.3/scripts/lib/team-project.ts +213 -0
  542. package/.versions/1.0.3/scripts/lib/team-snapshot.ts +147 -0
  543. package/.versions/1.0.3/scripts/peer-banner.ts +40 -0
  544. package/.versions/1.0.3/scripts/peer-launch.ts +259 -0
  545. package/.versions/1.0.3/scripts/team-snapshot.ts +237 -0
  546. package/.versions/1.0.3/scripts/team-up.ts +406 -0
  547. package/.versions/1.0.3/skills/_internal/grilling.md +11 -0
  548. package/.versions/1.0.3/skills/browser-testing-with-devtools/SKILL.md +351 -0
  549. package/.versions/1.0.3/skills/code-review-and-quality/SKILL.md +381 -0
  550. package/.versions/1.0.3/skills/compound-learning/SKILL.md +137 -0
  551. package/.versions/1.0.3/skills/context-engineering/SKILL.md +291 -0
  552. package/.versions/1.0.3/skills/deprecation-and-migration/SKILL.md +206 -0
  553. package/.versions/1.0.3/skills/designing-agents/SKILL.md +394 -0
  554. package/.versions/1.0.3/skills/designing-agents/pi-harness-authoring.md +222 -0
  555. package/.versions/1.0.3/skills/frontend-ui-engineering/SKILL.md +328 -0
  556. package/.versions/1.0.3/skills/git-workflow-and-versioning/SKILL.md +316 -0
  557. package/.versions/1.0.3/skills/idea-refine/SKILL.md +182 -0
  558. package/.versions/1.0.3/skills/idea-refine/examples.md +238 -0
  559. package/.versions/1.0.3/skills/idea-refine/frameworks.md +99 -0
  560. package/.versions/1.0.3/skills/idea-refine/refinement-criteria.md +113 -0
  561. package/.versions/1.0.3/skills/idea-refine/scripts/idea-refine.sh +15 -0
  562. package/.versions/1.0.3/skills/incremental-implementation/SKILL.md +287 -0
  563. package/.versions/1.0.3/skills/interview-me/SKILL.md +226 -0
  564. package/.versions/1.0.3/skills/orchestration-verification/SKILL.md +181 -0
  565. package/.versions/1.0.3/skills/peer-coms/SKILL.md +90 -0
  566. package/.versions/1.0.3/skills/performance-optimization/SKILL.md +350 -0
  567. package/.versions/1.0.3/skills/planning-and-task-breakdown/SKILL.md +254 -0
  568. package/.versions/1.0.3/skills/security-and-hardening/SKILL.md +461 -0
  569. package/.versions/1.0.3/skills/spec-driven-development/SKILL.md +257 -0
  570. package/.versions/1.0.3/skills/using-agent-skills/SKILL.md +199 -0
  571. package/.versions/1.0.3/systemd/user/agent-fleet-codex-remote-control.service.in +23 -0
  572. package/.versions/1.0.3/vendor/agent-skills-upstream/LICENSE +21 -0
  573. package/.versions/1.0.3/vendor/agent-skills-upstream/README.md +11 -0
  574. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/api-and-interface-design/SKILL.md +294 -0
  575. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/browser-testing-with-devtools/SKILL.md +317 -0
  576. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/ci-cd-and-automation/SKILL.md +390 -0
  577. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/code-review-and-quality/SKILL.md +396 -0
  578. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/code-simplification/SKILL.md +331 -0
  579. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/context-engineering/SKILL.md +289 -0
  580. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/debugging-and-error-recovery/SKILL.md +300 -0
  581. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/deprecation-and-migration/SKILL.md +247 -0
  582. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/documentation-and-adrs/SKILL.md +278 -0
  583. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/doubt-driven-development/SKILL.md +243 -0
  584. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/frontend-ui-engineering/SKILL.md +328 -0
  585. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/git-workflow-and-versioning/SKILL.md +355 -0
  586. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/idea-refine/SKILL.md +178 -0
  587. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/idea-refine/examples.md +238 -0
  588. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/idea-refine/frameworks.md +99 -0
  589. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/idea-refine/refinement-criteria.md +113 -0
  590. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/idea-refine/scripts/idea-refine.sh +15 -0
  591. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/incremental-implementation/SKILL.md +249 -0
  592. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/interview-me/SKILL.md +225 -0
  593. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/observability-and-instrumentation/SKILL.md +203 -0
  594. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/performance-optimization/SKILL.md +350 -0
  595. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/planning-and-task-breakdown/SKILL.md +234 -0
  596. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/security-and-hardening/SKILL.md +467 -0
  597. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/shipping-and-launch/SKILL.md +310 -0
  598. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/source-driven-development/SKILL.md +194 -0
  599. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/spec-driven-development/SKILL.md +206 -0
  600. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/test-driven-development/SKILL.md +383 -0
  601. package/.versions/1.0.3/vendor/agent-skills-upstream/skills/using-agent-skills/SKILL.md +191 -0
  602. package/CHANGELOG.md +15 -0
  603. package/README.md +8 -5
  604. package/agents/architect.md +1 -0
  605. package/agents/bowser.md +1 -0
  606. package/agents/builder.md +1 -0
  607. package/agents/code-reviewer.md +1 -0
  608. package/agents/deep-researcher.md +1 -0
  609. package/agents/documenter.md +1 -0
  610. package/agents/orchestrator.md +5 -56
  611. package/agents/plan-reviewer.md +1 -0
  612. package/agents/planner.md +1 -0
  613. package/agents/releaser.md +1 -0
  614. package/agents/researcher.md +1 -0
  615. package/agents/security-auditor.md +1 -0
  616. package/agents/test-engineer.md +1 -0
  617. package/agents/web-debugger.md +1 -0
  618. package/agents/web-performance-auditor.md +1 -0
  619. package/bin/lib/validate-overrides.js +1 -1
  620. package/docs/ARCHITECTURE.md +72 -34
  621. package/docs/agent-fleet-setup.md +39 -8
  622. package/docs/pi-extensions.md +33 -4
  623. package/install-manifest.json +2 -2
  624. package/package.json +2 -2
  625. package/scripts/fleet.ts +1 -1
@@ -22,26 +22,54 @@ the runtime responsibilities and where each module lives in the repository.
22
22
  ## One Hub runtime, independent axes
23
23
 
24
24
  Every public Pi launch through `just fleet` loads Fleet Core and the `agent-hub`
25
- harness. Four independent choices shape that runtime:
25
+ harness. Three independent choices shape that runtime:
26
26
 
27
27
  | Axis | Choices | What it controls |
28
28
  | --- | --- | --- |
29
- | **Posture** | `operator`, `orchestrator` | Whether the main agent may use direct coding tools. Operator retains the captured `read`/`bash`/`edit`/`write` and approved extension surface; orchestrator removes direct coding tools and keeps dispatch, research, assertions, `ask_user`, and available coms/Herdr tools. |
30
- | **Hub mode** | `fast`, `standard`, `strict` | Dispatch/research budgets and Verification Contract rigor. `/af-hub-mode` never grants or revokes coding tools. |
29
+ | **Posture** | `operator`, `orchestrator` | Whether the main agent may use direct coding tools. Operator retains the captured `read`/`bash`/`edit`/`write` and approved extension surface; orchestrator removes direct coding tools and keeps dispatch, research, assertions, `ask_user`, and available coms/Herdr tools. `/af-posture` and `/af-work-mode` / **Alt+M** switch this axis. |
31
30
  | **Native roster** | empty or one entry from `.pi/agents/teams.yaml` | Which in-process Pi specialist personas `dispatch_agent` may start. Roster changes do not change posture in a live session. |
32
31
  | **Peer topology** | current terminal, Hub-only Herdr workspace, or Hub plus a `.pi/agents/peers.yaml` preset | Which separate, addressable Pi/Claude processes occupy sibling panes. Starting or spawning peers does not change posture or the native roster. |
33
32
 
34
33
  Bare `just fleet` therefore means operator posture, an empty native roster, and
35
34
  the current terminal. At startup an explicit `--posture` wins; otherwise
36
35
  `--agents <roster>` implies orchestrator; otherwise operator is used. An
37
- orchestrator startup requires a roster. `/af-posture` switches only posture in
38
- the live session, while `/af-agents-*` changes only the native roster.
39
-
40
- All Hub-owned slash commands remain registered in both postures. Runtime gates
41
- control whether an action can proceed: without coms, Herdr, a visible target,
42
- or an active roster, the corresponding command refuses with an actionable
43
- message rather than disappearing. `--browser` and `--all-extensions` expand the
44
- captured operator surface only when those optional extensions are installed.
36
+ orchestrator startup requires a roster. `/af-posture` and `/af-work-mode` /
37
+ **Alt+M** switch only posture in the live session, and `/af-agents-*` changes
38
+ only the native roster. Dispatch, research, nested delegation, and Verification
39
+ Contract rigor follow the **task tier** (`trivial`/`small`/`feature`/`project`),
40
+ not a session execution mode.
41
+
42
+ All Hub-owned slash commands remain registered in both postures. Capability packs are resolved automatically from explicit task intent, posture, tier, pending work, and compaction state—there is no activation command. Runtime **readiness** (a coms or Herdr connection) is not model-visible capability: ready-but-unrequested peer/workspace packs remain inactive. Ambiguous fleet, peer, and workspace requests are provisionally visible but require one `ask_user` confirmation before their first side effect; a rejection removes the provisional pack. Task packs persist across follow-ups and reset only through `set_task_tier(new_task: true)`, while mandatory posture and pending-operation leases remain.
43
+
44
+ `/af-context` is a standalone, read-only full-screen budget diagnostic; it separates stable prompt cost, volatile state, active schemas, and zero-cost inactive/loaded-excluded inputs. Provider totals and cache read/write fields are authoritative where Pi supplies them; it never fabricates provider usage or combines capacity percentages across Hub, child, and peer planes. Managed specialists and research children use explicit replacement prompts/context manifests with selected persona, policy, and skill paths instead of inherited global skills/context files. Runtime gates control whether an action can proceed: without coms, Herdr, a visible target, or an active roster, the corresponding command refuses with an actionable message rather than disappearing. `--browser` and `--all-extensions` expand the captured operator surface only when those optional extensions are installed.
45
+
46
+ ### Context pressure and recovery
47
+
48
+ Standing prompt ceilings constrain the repeatable replacement prompt and active schemas; they do not
49
+ bound conversation messages or results accumulated inside a long tool loop. The Hub therefore has a
50
+ second, runtime pressure guard. It samples provider usage, projects a finalized tool result at
51
+ `message_end`, warns and exposes transient compaction support at **80%**, then at **90%** aborts the
52
+ pre-model continuation and waits for `agent_settled` before requesting one Pi compaction. This
53
+ ordering ensures the result is persisted before summarization and prevents an ordinary provider call
54
+ from escaping between pressure detection and recovery.
55
+
56
+ Recovery is single-flight. High-context startup or concurrent input is retained in memory and
57
+ replayed exactly once after success; failure retains it for `/compact` or a larger-context model.
58
+ `/af-context` and the status line report phase, usage, thresholds, episode, and last outcome. Session
59
+ entries store only numeric/enumerated pressure metadata, never prompts, tool payloads, credentials,
60
+ error bodies, or summaries.
61
+
62
+ A persisted native roster is also metadata, not copied configuration: only its team name is stored
63
+ and it is re-resolved against current teams and persona definitions. A stale or absent roster in a
64
+ resumed orchestrator session fails closed—posture remains orchestrator, direct tools remain removed,
65
+ and model input is blocked until `/af-agents-team`, an explicit `--agent-team <name>` restart, or an
66
+ explicit operator selection resolves it. Explicit CLI posture and roster selections retain
67
+ precedence.
68
+
69
+ Pi's session JSONL is the authoritative append-only record for rebuilding a session, including
70
+ compaction and Hub metadata. Pressure and roster recovery operate through Pi/Hub lifecycle APIs;
71
+ they never rewrite prior entries. Operators must not edit, truncate, reorder, or synthesize JSONL to
72
+ recover a session.
45
73
 
46
74
  The project selected by `--project <name>` is the coms namespace for the Hub
47
75
  and every standing or dynamically spawned peer. The Hub-facing peer spawn API
@@ -117,20 +145,22 @@ Composition rule: **the hub (or a slash command) orchestrates; personas do not i
117
145
  The shared `spawnPiAgent` seam supervises every `read`/`grep`/`find`/`ls` call from native
118
146
  research helpers and nested delegate children. The supervisor tracks JSONL `toolCallId` values
119
147
  independently, with a default 120-second deadline (`recon-search-timeout-s: 1..3600|off` under
120
- `## agent-hub`). It is a per-tool watchdog; the whole-run bound is separate — the execution
121
- mode's per-run deadline (`agent-turn-timeout-s`), which terminates a hung run as `turn_timeout`.
148
+ `## agent-hub`). It is a per-tool watchdog; the whole-run bound is separate — the task-tier
149
+ per-run deadline (`agent-turn-timeout-s`), which terminates a hung run as `turn_timeout`.
122
150
  On timeout or caller cancellation it owns and terminates the child's process group (SIGTERM,
123
151
  then SIGKILL after a bounded grace), has a separate settlement timer for missing `close`/pipe
124
152
  drain, and reports timeout separately from cancellation. Research helpers and nested delegates
125
153
  are each given safe process-group ownership; delegates forward parent termination so no detached
126
154
  child is orphaned. Full pattern catalog: [references/orchestration-patterns.md](../references/orchestration-patterns.md).
127
155
 
128
- ### Execution modes & turn budgets
156
+ ### Task-tier budgets
129
157
 
130
- The hub enforces per-user-turn budgets in code (`run-budget.js`): `fast`/`standard`/`strict`
131
- modes cap `dispatch_agent` calls, `spawn_research` calls, and wall clock per turn, set the
132
- per-run deadline above, and control nested delegation. Exhausted budgets make the dispatch
133
- tools refuse with "summarize and ask the user"; a new user message opens a fresh window.
158
+ The hub enforces per-user-turn budgets in code (`run-budget.js`): the current **task tier**
159
+ caps `dispatch_agent` calls, `spawn_research` calls, and active time per turn, sets the
160
+ per-run deadline above, and controls nested delegation (`off` at trivial/small). Exhausted
161
+ budgets make the dispatch tools refuse and request one Yes/No `ask_user` confirmation; Yes
162
+ renews the turn in the same tool loop. A normal new user message also opens a fresh turn
163
+ window.
134
164
  Specialist context pressure is measured over input + cacheRead + cacheWrite against **that
135
165
  agent's own** model window, resolved from pi's model registry with the source recorded
136
166
  (`context-window.js`) — measuring a 49k local model against the dispatcher's window is what
@@ -142,25 +172,31 @@ is recycled before the spawn rather than after the run. Requests to one provider
142
172
  per process (`provider-semaphore.js`: 2 in flight for `custom/*` by default, unlimited
143
173
  elsewhere, `AGENT_HUB_PROVIDER_LIMITS` to override) — the cap is per level of the delegation
144
174
  tree, and a nested spawn reuses its parent's permit so it can never wait on its own ancestor.
145
- Configured under `## agent-hub` (`mode`, `max-dispatches-per-turn`,
175
+ Configured under `## agent-hub` (`max-dispatches-per-turn`,
146
176
  `max-research-per-turn`, `turn-wall-time-s`, `agent-turn-timeout-s`, `session-recycle-runs`,
147
- `run-history-keep`); switched live with `/af-hub-mode`.
177
+ `run-history-keep`) as ceilings (`min` with the tier). A leftover `mode:` key is ignored with
178
+ a warning.
148
179
 
149
180
  A per-message allowance cannot bound a task, so a second envelope sits above the turn one:
150
181
  the **task budget** (`run-budget.js`, `3×` the turn envelope) counts dispatches, research
151
- runs and **active** time across the WHOLE task and is *not* reset by a user message. Active
152
- time is turns that ran minus `ask_user` waits — a task clock that billed human idle would
153
- false-stop a normal steered session, and a false stop teaches people to reset the window
154
- reflexively. The auto-research pipe is exempt from the turn budget but charged against the
155
- task envelope, so it cannot smuggle 8 helpers per dispatch past the outer bound. Exhausting
156
- the task budget is a hard stop — only `/af-new-task` (or `set_task_tier` with
157
- `new_task: true`) opens a new window. This is the guardrail the post-mortem run never hit: every steering message
158
- reopened the turn window, so one workspace stayed open 47 hours on a change that took 13
159
- minutes in a narrow one.
160
-
161
- On top of the mode sit several qualitative guardrails. **Task triage**: the dispatcher
182
+ runs and **active** time across the WHOLE task and is *not* reset by a user message. Both turn
183
+ and task active time exclude `ask_user` waits — billing human idle false-stops a normal steered
184
+ session and teaches people to reset reflexively. The auto-research pipe is exempt from the turn
185
+ budget but charged against the task envelope, so it cannot smuggle 8 helpers per dispatch past
186
+ the outer bound.
187
+
188
+ Either envelope stops before another dispatch/research call and asks one localized Yes/No
189
+ `ask_user` question. A confirmed turn continuation renews its counters/clock in the same tool
190
+ loop. A confirmed task continuation opens one audited tranche, also renews the turn, and
191
+ preserves task tier, assertions, capability packs, label, blockers, and progress. No typed
192
+ `continue` message or slash command is required. `set_task_tier` with `new_task: true` is only
193
+ for genuinely different work and clears task identity/state. This is the guardrail the
194
+ post-mortem run never hit: every steering message reopened the turn window,
195
+ so one workspace stayed open 47 hours on a change that took 13 minutes in a narrow one.
196
+
197
+ On top of the tier envelope sit several qualitative guardrails. **Task triage**: the dispatcher
162
198
  classifies the current TASK via the `set_task_tier` tool (`trivial`/`small`/`feature`/`project`)
163
- and the caps drop to min(mode, tier). The tier is task-scoped and **ratcheted** — it survives
199
+ and that classification *is* the budget. The tier is task-scoped and **ratcheted** — it survives
164
200
  the user's next message, lowering is free, raising needs a stated `reason` — because a
165
201
  turn-scoped tier reset to `feature` on every correction. Three refusals enforce
166
202
  proportionality in code rather than prose: a duplicate-dispatch guard (near-identical
@@ -186,14 +222,16 @@ observed in-flight from the JSON event stream — deterministic rules (out-of-sc
186
222
  against the declared `scope` globs, tool-call loops, consecutive failures, tool-call cap)
187
223
  escalate to a one-shot cheap LLM judge whose DRIFTING/STUCK verdict terminates the run as
188
224
  `drift_stop` (exit 125, partial output preserved); enabled per hub/agent/dispatch
189
- (`watchdog` key, `/af-watchdog`, `watchdog` param). Two rules about scope: the session's
225
+ (`watchdog` key, `/af-watchdog`, `watchdog` param). Orchestrator posture auto-arms the
226
+ watchdog when the hub setting is `auto`/`on`; a dispatch `watchdog: false` cannot disarm it
227
+ there. Hub or per-agent `off` remains the opt-out. Two rules about scope: the session's
190
228
  own `artifacts/`, `findings/`, and `delegations/` subtrees are implicitly in scope (the
191
229
  deliverable protocol *orders* specialists to write there, and the judge is told so), and the
192
230
  `scope` rule is non-terminal — it reports a drift advisory on the result and never stops a
193
231
  run by itself, matching the post-run scope gate, which reverts nothing. **Dynamic teams**: `/af-agents-add`,
194
232
  `/af-agents-drop`, `/af-agents-save` restructure the roster live (the system prompt rebuilds
195
233
  every turn), and the gated `team_adjust` tool lets the dispatcher itself adjust the roster
196
- outside fast mode, with user notification. `/af-hub-report` accounts each turn's dispatches,
234
+ when nested delegation is on (feature/project), with user notification. `/af-hub-report` accounts each turn's dispatches,
197
235
  tokens (billed = input + cacheRead + cacheWrite), recycles, drift stops, and refusals.
198
236
 
199
237
  ## Runtime stack (tools the fleet sits on)
@@ -64,7 +64,7 @@ The configuration files have distinct ownership:
64
64
  | `.pi/agents/teams.yaml` | Named **native rosters** of Pi personas available to `dispatch_agent`. Bare Fleet ignores YAML ordering and starts empty; select one with `--agents`, `/af-agents-team`, or add individuals with `/af-agents-add`. |
65
65
  | `.pi/agents/peers.yaml` | Named **standing peer presets** and each peer's runner (`pi` or `claude-code`), persona, model, extensions, and optional declared `env_file`. Select a preset with `--peers`; dynamic `herdr_spawn_peer` uses the same declaration resolver. |
66
66
  | `.pi/agents/dispatch-policy.yaml` | Routing used only when `dispatch_agent.backend` is `auto`: native/coms preference, fallback, grace period, and peer reply timeout. |
67
- | `.ai/agent-fleet-overrides.md` (`## agent-hub`) | Project-specific Hub language, model overrides, rule/doc roots, budgets, mode, watchdog, and related execution policy. It does not choose startup posture or topology. |
67
+ | `.ai/agent-fleet-overrides.md` (`## agent-hub`) | Project-specific Hub language, model overrides, rule/doc roots, budget ceilings, watchdog, and related execution policy. It does not choose startup posture or topology. |
68
68
 
69
69
  For deterministic routing, `backend: "native"` always starts the local Pi
70
70
  specialist even if a same-name peer is visible. `backend: "coms"` requires a
@@ -72,6 +72,8 @@ visible same-name peer and refuses without native fallback. The default
72
72
  `backend: "auto"` follows `dispatch-policy.yaml` and preserves its configured
73
73
  fallback behavior.
74
74
 
75
+ Capability packs load automatically—do not run an activation command. Explicit task intent activates the matching ready surface; readiness alone never exposes coms or Herdr tools to the model. Ambiguous fleet/peer/workspace intent gets one confirmation before its first side effect, and active task packs persist until the explicit `set_task_tier(new_task: true)` reset.
76
+
75
77
  Capability flags and runtime gates fail closed:
76
78
 
77
79
  - `--no-coms` keeps operator direct tools and native dispatch available, but
@@ -91,6 +93,35 @@ canonical replacement. New automation should use `just fleet` with
91
93
  `--agents`, `--peers`, `--herdr`, and `--no-coms`; compatibility does not imply
92
94
  that the deprecated grammar will remain indefinitely.
93
95
 
96
+ ### Resume and recovery
97
+
98
+ The Hub distinguishes the **pre-turn surface** (stable replacement prompt, volatile state capsule,
99
+ and active tool schemas) from **intra-turn pressure** (conversation and tool results accumulated in
100
+ the live model window). `/af-context` shows both. At 80% live usage the Hub warns and transiently makes
101
+ compaction support available; at 90% it blocks the next provider continuation and requests a
102
+ single automatic compaction after the current result is persisted. A prompt submitted during
103
+ startup/recovery is retained in memory and replayed once after success.
104
+
105
+ If automatic recovery fails, the prompt remains retained. Pi's built-in command is the bare-runtime
106
+ fallback:
107
+
108
+ ```text
109
+ /compact Preserve the current goal, decisions, modified files, pending operations, blockers, and next step.
110
+ ```
111
+
112
+ You can also switch to a larger-context model. Do not try to make room by editing the session file.
113
+ The JSONL shown by `/session` under `~/.pi/agent/sessions/` is Pi's authoritative append-only record;
114
+ resume with `/resume`, `pi -c`, or `pi --session <path|id>`. Never edit, truncate, reorder, or add
115
+ synthetic entries to recover from context pressure.
116
+
117
+ A resumed orchestrator session may instead be blocked because its persisted team name no longer
118
+ resolves against the current `.pi/agents/teams.yaml` and persona files. This is a fail-closed roster
119
+ recovery gate: orchestrator posture and its direct-tool restrictions remain in force. Choose a valid
120
+ team with `/af-agents-team`, restart publicly with `just fleet --agents <name>`, or explicitly choose
121
+ operator posture with `/af-posture operator` / `just fleet --posture operator`. Direct Pi launches
122
+ use `--agent-team <name>` or `--posture operator`. Explicit startup flags win over persisted state;
123
+ fix missing or renamed team/persona declarations before selecting them.
124
+
94
125
  ## The overrides file — `.ai/agent-fleet-overrides.md`
95
126
 
96
127
  Some skills and pi harnesses need facts specific to each project — where specs
@@ -181,13 +212,13 @@ targets an end-of-session compound pass writes lessons to.
181
212
  | `docs` | none | Comma-separated repo-relative documentation **entry points** (WHAT/WHY — architecture, standards, decisions): canonical files (e.g. `Docs/AGENTS.md`) or doc folders (personas start from a folder's `README.md`/index). Unlike `rules`, docs orient rather than bind: every dispatched specialist and research helper is told to read the entry points relevant to its task and follow their links instead of bulk-reading doc trees; the code-reviewer flags changes that alter documented behavior without a doc update; the documenter treats the entry points and the trees they link as the docs it maintains. Missing paths produce a session-start warning. |
182
213
  | `research-keep` | `4` | How many **finished** manual/persona research helpers the hub retains (LRU by finish time) so they stay resumable via `/af-agents-cont rN`; older ones are pruned along with their session files. `all` disables the cap. Auto-research pipe helpers (spawned for `NEEDS_RESEARCH:` pauses) are always pruned as soon as they finish — their findings persist as files under `.pi/agent-sessions/findings/`. Running helpers are never pruned. An invalid value is ignored with a session-start warning. |
183
214
  | `recon-search-timeout-s` | `120` | Parent-side deadline, in seconds, for each `read`, `grep`, `find`, or `ls` call made by a native research helper or nested delegate child. Accepts an integer `1`–`3600` or `off`; invalid input warns and falls back to `120`. This is **not** an agent/turn deadline: non-tool work can run indefinitely. On timeout the hub returns `tool_timeout` with call metadata, sends SIGTERM to its owned process group, escalates to SIGKILL after a finite grace period, and settles even if the child never closes or a descendant holds a pipe. If that bounded cleanup cannot confirm child/process-group death, the metadata reports `terminationConfirmed: false`; this prevents a parent hang but may indicate an uninterruptible OS-level process needing operator attention. |
184
- | `mode` | `standard` | Execution mode for the hub's per-turn budgets: `fast` (single-specialist path, no nested delegation, assertion ledger optional), `standard` (batched execution with moderate budgets), or `strict` (full Verification Contract with wide budgets). Budgets are per **user turn** — exhausted budgets make `dispatch_agent`/`spawn_research` refuse with "summarize and ask the user"; the next user message opens a fresh window. Switchable live with `/af-hub-mode`. |
185
- | `max-dispatches-per-turn` | mode default (2/8/24) | `dispatch_agent` calls allowed per user turn. Positive integer or `off` (unlimited). |
186
- | `max-research-per-turn` | mode default (1/4/12) | `spawn_research` calls allowed per user turn (the auto-research pipe and the `/af-research` command are exempt). Positive integer or `off`. |
187
- | `turn-wall-time-s` | mode default (900/3600/14400) | Wall-clock budget, in seconds, per user turn; once exceeded, further dispatch/research calls refuse. Positive integer or `off`. |
188
- | `agent-turn-timeout-s` | mode default (600/1800/off) | Whole-run deadline, in seconds, for each spawned specialist, research helper, and nested delegate child (unlike `recon-search-timeout-s`, this bounds the entire run). On expiry the run terminates as `turn_timeout` (exit 124) with partial output preserved. Positive integer or `off`. |
189
- | `session-recycle-runs` | mode default (3/5/5) | Recycle a specialist's accumulated session (fresh spawn instead of `-c` resume) after this many resumed runs. Context is also always recycled at ≥60% measured context (input + cacheRead + cacheWrite). Positive integer or `off` (context threshold still applies). |
190
- | `watchdog` | `auto` | Drift watchdog default for dispatched specialists: `auto`/`on` arm the in-flight rules (out-of-scope writes, tool-call loops, repeated failures, tool-call cap) with LLM-judge escalation; `off` disarms. Overridable live per hub (`/af-watchdog on\|off\|auto`), per agent (`/af-watchdog <agent> on\|off\|clear`), and per dispatch (the `watchdog` param). A DRIFTING/STUCK verdict terminates the run as `drift_stop` (exit 125) with partial output preserved. |
215
+ | `mode` | — | **Removed.** Ignored with a warning; budgets follow task tier. Delete the key. |
216
+ | `max-dispatches-per-turn` | tier default (1/2/8/12) | Ceiling on `dispatch_agent` calls per user turn (`min` with the task-tier envelope). Positive integer or `off` (stays at the tier). |
217
+ | `max-research-per-turn` | tier default (1/2/4/6) | Ceiling on `spawn_research` calls per user turn (the auto-research pipe and the `/af-research` command are exempt). Positive integer or `off` (stays at the tier). |
218
+ | `turn-wall-time-s` | tier default (900/900/3600/5400) | Active-time ceiling, in seconds, per user turn; time blocked in `ask_user` is excluded. Once exceeded, further dispatch/research calls refuse until the one-click continuation is accepted or a new user turn begins. Positive integer or `off` (stays at the tier). |
219
+ | `agent-turn-timeout-s` | tier default (600/600/1800/1800) | Whole-run deadline, in seconds, for each spawned specialist, research helper, and nested delegate child (unlike `recon-search-timeout-s`, this bounds the entire run). On expiry the run terminates as `turn_timeout` (exit 124) with partial output preserved. Positive integer or `off` (stays at the tier). |
220
+ | `session-recycle-runs` | tier default (3/3/5/5) | Recycle a specialist's accumulated session (fresh spawn instead of `-c` resume) after this many resumed runs. Context is also always recycled at ≥60% measured context (input + cacheRead + cacheWrite). Positive integer or `off` (stays at the tier recycle count; context threshold still applies). |
221
+ | `watchdog` | `auto` | Drift watchdog default for dispatched specialists: `auto`/`on` arm the in-flight rules (out-of-scope writes, tool-call loops, repeated failures, tool-call cap) with LLM-judge escalation; `off` disarms. Orchestrator posture auto-arms when the setting is `auto`/`on` and ignores a dispatch `watchdog: false`. Overridable live per hub (`/af-watchdog on\|off\|auto`) and per agent (`/af-watchdog <agent> on\|off\|clear`). A DRIFTING/STUCK verdict terminates the run as `drift_stop` (exit 125) with partial output preserved. |
191
222
  | `watchdog-judge-model` | researcher persona's model | pi model spec for the one-shot drift judge (e.g. `openai-codex/gpt-5.3-codex-spark`). Falls back to the researcher persona's resolved model, then the dispatcher's. |
192
223
 
193
224
  Example — switch the dispatcher to Bulgarian, pin the builder to sonnet, raise the
@@ -167,12 +167,17 @@ harnesses:
167
167
 
168
168
  - **Two live postures** — bare `just fleet` starts as an operator with direct coding tools and an
169
169
  empty native roster; `/af-posture operator|orchestrator` switches prompt and tool surface without
170
- restarting or losing session state. Orchestrator removes direct coding tools. All Hub slash
171
- commands remain registered in both postures; capability-off actions refuse actionably.
170
+ restarting or losing session state. Orchestrator removes direct coding tools. `/af-work-mode` and
171
+ **Alt+M** are posture shortcuts (operator \| orchestrator). Budgets and nested delegation follow
172
+ task tier. All Hub slash commands remain registered in both postures; capability-off actions
173
+ refuse actionably.
172
174
  - **Fleet Dashboard and compact widget** — **`Alt+A`** or `/af-agents-list` opens a
173
175
  full-screen dashboard of the active native roster, delegates, research helpers, and coms
174
176
  peers. It supports row detail, filtering, finished-row visibility, confirmed kills,
175
- and a confirmed restart request that supplies the restart command. Separately, the default below-editor compact widget shows only
177
+ and a confirmed restart request that supplies the restart command. In local row detail, **`m`**
178
+ opens a visible inline full-screen picker over the logs, selects from every model currently
179
+ available in Pi, and applies it to the next specialist, research, or nested-delegate run without
180
+ interrupting current work. Separately, the default below-editor compact widget shows only
176
181
  running agents; **`Alt+Shift+A`** toggles it on/off. See the
177
182
  [agent-hub README](../.pi/harnesses/agent-hub/README.md#fleet-dashboard-and-detail) for
178
183
  keys and action semantics.
@@ -190,7 +195,9 @@ harnesses:
190
195
  dispatch refusal).
191
196
  - **Persona gate** — requires an orchestrator persona at startup unless disabled in the local
192
197
  override file; the chosen persona also feeds the coms purpose when no explicit `--purpose` is set.
193
- - **Operator controls** — `/af-zoom` timeline inspection plus child-agent kill/restart controls.
198
+ - **Operator controls** — `/af-zoom` timeline inspection plus child-agent kill/restart controls. `/af-context` is a separate read-only full-screen context-budget view: provider totals/cache fields are authoritative, component estimates are labelled heuristic or provider-scaled, stable prompt and volatile-state cost are separated, loaded-but-excluded and inactive packs visibly cost zero, and fleet members use separate model-window denominators. It also shows live pressure phase, measured usage, the 80%/90% thresholds, episode, and last recovery outcome. It never reveals or persists raw prompts, schemas, conversation content, error bodies, or compaction summaries.
199
+ - **Automatic capability packs** — no activation command is needed. Intent, posture, tier, pending work, and runtime state resolve the model-visible tools before the turn; readiness alone does not make coms/Herdr visible. Ambiguous fleet, peer, or workspace use asks once before its first side effect. The compact pack is transient when explicitly requested or pressure is imminent; ordinary task packs persist until `set_task_tier(new_task: true)`. Managed children receive selected replacement prompts/manifests (`--no-skills` and `--no-context-files` where applicable), not inherited global context.
200
+ - **One-click budget continuation** — turn and task refusals ask one localized Yes/No `ask_user` question. Yes renews the budget in the same tool loop, without a typed `continue` or slash command. Task continuation opens an audited tranche while preserving task tier, assertions, capability packs, blockers, label, and progress; genuinely different work uses `set_task_tier(new_task: true)`. Turn and task active-time clocks both exclude human wait time.
194
201
  - **Damage-control + ask_user by default** — `just fleet` and `just fleet --no-coms` load the
195
202
  `damage-control-continue` safety harness and `ask-user-remote` before `agent-hub`, so the
196
203
  dispatcher's tool calls are checked against the rules file and the `askUserAvailable` probe sees
@@ -215,6 +222,28 @@ harnesses:
215
222
  [Hermes integration guide](../hermes/README.md#local-agent-hub-monitor-integration) for startup,
216
223
  wire examples, cancellation semantics, and reconnect behavior.
217
224
 
225
+ #### Context and roster recovery troubleshooting
226
+
227
+ A green standing-prompt budget does not guarantee that a long tool loop fits: messages and tool
228
+ results continue accumulating inside the current model window. Agent Hub warns at **80%** live
229
+ usage. At **90%** it aborts the next same-turn provider request, waits for persistence/settlement,
230
+ and starts one automatic Pi compaction. Startup or newly submitted input is retained in memory and
231
+ replayed exactly once after recovery. Use `/af-context` to distinguish `warning`, `compacting`,
232
+ `recovered`, and `failed` pressure from stable prompt/schema cost.
233
+
234
+ If automatic compaction fails, retained input is not discarded. Use Pi's built-in `/compact
235
+ [instructions]` command—even in bare Pi without Agent Hub—or switch to a larger-context model. Pi's
236
+ session JSONL under `~/.pi/agent/sessions/` remains the authoritative append-only record. Context
237
+ overflow does not imply corruption: inspect with `/session`, resume with `/resume` or Pi's session
238
+ flags, and **never edit, truncate, reorder, or synthesize JSONL entries to recover**.
239
+
240
+ If resume instead reports that orchestrator posture has no valid native roster, direct tools and
241
+ model input intentionally remain blocked. Select a current team with `/af-agents-team`; restart via
242
+ `just fleet --agents <name>` (direct Pi: `--agent-team <name>`); or explicitly choose operator with
243
+ `/af-posture operator` / `just fleet --posture operator`. Repair stale team/persona definitions
244
+ before selecting them. The Hub never invents a roster or silently downgrades persisted posture, and
245
+ explicit startup flags retain precedence.
246
+
218
247
  ### Runtime axes and explicit routing
219
248
 
220
249
  Posture, native roster, and peer topology are independent:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
- "packageVersion": "1.0.1",
3
+ "packageVersion": "1.0.3",
4
4
  "groups": [
5
5
  {
6
6
  "id": "skills",
@@ -1261,7 +1261,7 @@
1261
1261
  "group": "personas",
1262
1262
  "subcategory": "pi-only",
1263
1263
  "title": "orchestrator",
1264
- "summary": "Verification-Contract orchestrator — plans, builds, and verifies in small slices, owns the acceptance assertions, and…",
1264
+ "summary": "Verification-Contract orchestrator — coordinates small, evidence-gated batches and does not report completion until e…",
1265
1265
  "recommended": false,
1266
1266
  "stability": "stable",
1267
1267
  "consent": "file",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chankov/agent-fleet",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Multi-agent fleet orchestration for coding agents. Pi as the primary runtime, Herdr as the workspace control plane, coms as the peer data plane, and Hermes for remote control — plus skills, personas, harnesses, and a guided setup CLI.",
5
5
  "keywords": [
6
6
  "ai",
@@ -104,7 +104,7 @@
104
104
  "access": "public"
105
105
  },
106
106
  "scripts": {
107
- "test": "node bin/cli.js --version && node bin/cli.js --help && node --test \"bin/test/*.test.js\" scripts/agent-hub-helpers.test.mjs scripts/agent-hub-spawn.test.mjs scripts/agent-hub-delegate.test.mjs scripts/agent-hub-research.test.mjs .pi/harnesses/lib/herdr-client.test.ts .pi/harnesses/lib/herdr-presence.test.ts .pi/harnesses/lib/coms-registry-entry.test.ts .pi/harnesses/lib/fleet-overlay.test.ts .pi/harnesses/lib/fleet-selection.test.ts .pi/harnesses/lib/fleet-panel.test.ts .pi/harnesses/lib/fleet-read-model.test.ts .pi/harnesses/lib/fleet-dashboard-view.test.ts .pi/harnesses/lib/fleet-dashboard-ops.test.ts .pi/harnesses/lib/fleet-detail-view.test.ts .pi/harnesses/agent-hub/fleet-dashboard.integration.test.ts scripts/coms-cli.test.ts scripts/lib/codex-conductor.test.ts scripts/lib/codex-remote-control.test.ts scripts/lib/fleet-command.test.ts scripts/lib/team-project.test.ts scripts/lib/herdr-layout.test.ts scripts/lib/peer-launch.test.ts scripts/lib/spawn-stagger.test.ts scripts/lib/monitor-env.test.ts scripts/lib/fleet-extras.test.ts scripts/lib/team-snapshot.test.ts scripts/team-snapshot.command.test.ts scripts/lib/coms-envelope.test.ts scripts/lib/claude-bridge-core.test.ts scripts/lib/hermes-bridge-core.test.ts scripts/coms-hermes-bridge.test.ts .pi/harnesses/ask-user-remote/race-core.test.js .pi/harnesses/ask-user-remote/index.test.ts .pi/harnesses/agent-hub/extension-loader.test.ts .pi/extensions/btw/state.test.js .pi/extensions/btw/index.test.ts .pi/harnesses/agent-hub/footer.test.ts .pi/harnesses/agent-hub/view-default.test.ts .pi/harnesses/agent-hub/overlay-migration.test.ts .pi/harnesses/agent-hub/safety-routing.test.ts .pi/harnesses/agent-hub/approval-routing.integration.test.ts .pi/harnesses/agent-hub/run-budget.test.js .pi/harnesses/agent-hub/hub-state-audit.test.js .pi/harnesses/agent-hub/docs-lane.test.js .pi/harnesses/agent-hub/external-blocker.test.js .pi/harnesses/agent-hub/run-namespace.test.js .pi/harnesses/agent-hub/review-findings.test.js .pi/harnesses/agent-hub/assertion-ledger.test.js .pi/harnesses/agent-hub/provider-semaphore.test.js .pi/harnesses/lib/spawned-peers.test.js .pi/harnesses/agent-hub/context-window.test.js .pi/harnesses/agent-hub/drift-watchdog.test.js .pi/harnesses/agent-hub/session-health.test.js .pi/harnesses/agent-hub/return-contract.test.js .pi/harnesses/agent-hub/return-extract.test.js .pi/harnesses/agent-hub/backend-policy.test.js .pi/harnesses/agent-hub/artifacts.test.js .pi/harnesses/agent-hub/scope-gate.test.js .pi/harnesses/agent-hub/evidence-rules.test.js .pi/harnesses/agent-hub/research-retention.test.js .pi/harnesses/lib/damage-control-shared.test.ts .pi/harnesses/damage-control-continue/herdr-rules.test.js .pi/harnesses/damage-control-continue/exemptions.test.js scripts/lib/hermes-monitor-model.test.ts scripts/lib/hermes-monitor-events.test.ts scripts/lib/hermes-monitor-store.test.ts scripts/lib/hermes-monitor-retention.integration.test.ts scripts/lib/hermes-monitor-registry.test.ts scripts/lib/hermes-monitor-socket.test.ts scripts/lib/hermes-monitor-data-path.test.ts scripts/lib/hermes-monitor-slice7-9-backend.test.ts scripts/lib/hermes-monitor-control-socket.test.ts scripts/lib/hermes-monitor-e2e.test.ts scripts/lib/hermes-monitor-plugin-handshake.test.ts scripts/hermes-monitor-capability-runner.test.ts scripts/hermes-monitor-scenario.test.ts scripts/hermes-watchdog-capability-probe.test.ts .pi/harnesses/agent-hub/monitor-invoke.test.ts .pi/harnesses/agent-hub/monitor-invoke-journal.test.ts .pi/harnesses/agent-hub/monitor-control.test.ts .pi/harnesses/agent-hub/monitor-live-bridge-gaps.test.ts .pi/harnesses/agent-hub/monitor-review-live-wiring.red.test.ts .pi/harnesses/agent-hub/monitor-runtime.test.ts .pi/harnesses/agent-hub/monitor-bridge-runtime.test.ts .pi/harnesses/agent-hub/monitor-reconcile.test.ts .pi/harnesses/agent-hub/monitor-recovery.test.ts .pi/harnesses/agent-hub/monitor-lifecycle-lease.test.ts .pi/harnesses/agent-hub/monitor-session-bridge-race.test.ts .pi/harnesses/agent-hub/monitor-session-bridge.test.ts .pi/harnesses/agent-hub/monitor-cancel-race.test.ts .pi/harnesses/agent-hub/monitor-wait-only.test.ts .pi/harnesses/agent-hub/monitor-publisher.test.ts .pi/harnesses/agent-hub/monitor-index.integration.test.ts hermes/desktop-plugins/agent-fleet-herdr/presentation.test.js scripts/docs-links.test.mjs && npm run test:watchdog-py",
107
+ "test": "node bin/cli.js --version && node bin/cli.js --help && node --test \"bin/test/*.test.js\" scripts/agent-hub-helpers.test.mjs scripts/agent-hub-spawn.test.mjs scripts/agent-hub-delegate.test.mjs scripts/agent-hub-research.test.mjs .pi/harnesses/lib/herdr-client.test.ts .pi/harnesses/lib/herdr-presence.test.ts .pi/harnesses/lib/coms-registry-entry.test.ts .pi/harnesses/lib/fleet-overlay.test.ts .pi/harnesses/lib/fleet-selection.test.ts .pi/harnesses/lib/fleet-panel.test.ts .pi/harnesses/lib/context-budget.test.ts .pi/harnesses/lib/context-budget-view.test.ts .pi/harnesses/lib/context-budget-hub-prompt.test.ts .pi/harnesses/lib/context-budget-child-prompt.test.ts .pi/harnesses/agent-hub/context-budget-snapshot.test.ts .pi/harnesses/agent-hub/context-budget.integration.test.ts .pi/harnesses/agent-hub/context-pressure.test.ts .pi/harnesses/agent-hub/capability-packs.test.ts .pi/harnesses/agent-hub/capability-confirmation.test.ts .pi/harnesses/agent-hub/capability-matrix.test.ts .pi/harnesses/lib/fleet-read-model.test.ts .pi/harnesses/lib/fleet-dashboard-view.test.ts .pi/harnesses/lib/fleet-dashboard-ops.test.ts .pi/harnesses/lib/fleet-detail-view.test.ts .pi/harnesses/agent-hub/fleet-dashboard.integration.test.ts scripts/coms-cli.test.ts scripts/lib/codex-conductor.test.ts scripts/lib/codex-remote-control.test.ts scripts/lib/fleet-command.test.ts scripts/lib/team-project.test.ts scripts/lib/herdr-layout.test.ts scripts/lib/peer-launch.test.ts scripts/lib/spawn-stagger.test.ts scripts/lib/monitor-env.test.ts scripts/lib/fleet-extras.test.ts scripts/lib/team-snapshot.test.ts scripts/team-snapshot.command.test.ts scripts/lib/coms-envelope.test.ts scripts/lib/claude-bridge-core.test.ts scripts/lib/hermes-bridge-core.test.ts scripts/coms-hermes-bridge.test.ts .pi/harnesses/ask-user-remote/race-core.test.js .pi/harnesses/ask-user-remote/index.test.ts .pi/harnesses/agent-hub/extension-loader.test.ts .pi/extensions/btw/state.test.js .pi/extensions/btw/index.test.ts .pi/harnesses/agent-hub/execution-profile.test.ts .pi/harnesses/agent-hub/footer.test.ts .pi/harnesses/agent-hub/view-default.test.ts .pi/harnesses/agent-hub/overlay-migration.test.ts .pi/harnesses/agent-hub/safety-routing.test.ts .pi/harnesses/agent-hub/approval-routing.integration.test.ts .pi/harnesses/agent-hub/run-budget.test.js .pi/harnesses/agent-hub/budget-continuation.test.ts .pi/harnesses/agent-hub/budget-continuation.integration.test.ts .pi/harnesses/agent-hub/hub-state-audit.test.js .pi/harnesses/agent-hub/docs-lane.test.js .pi/harnesses/agent-hub/external-blocker.test.js .pi/harnesses/agent-hub/run-namespace.test.js .pi/harnesses/agent-hub/review-findings.test.js .pi/harnesses/agent-hub/assertion-ledger.test.js .pi/harnesses/agent-hub/provider-semaphore.test.js .pi/harnesses/lib/spawned-peers.test.js .pi/harnesses/agent-hub/context-window.test.js .pi/harnesses/agent-hub/drift-watchdog.test.js .pi/harnesses/agent-hub/session-health.test.js .pi/harnesses/agent-hub/return-contract.test.js .pi/harnesses/agent-hub/return-extract.test.js .pi/harnesses/agent-hub/backend-policy.test.js .pi/harnesses/agent-hub/artifacts.test.js .pi/harnesses/agent-hub/scope-gate.test.js .pi/harnesses/agent-hub/evidence-rules.test.js .pi/harnesses/agent-hub/research-retention.test.js .pi/harnesses/lib/damage-control-shared.test.ts .pi/harnesses/damage-control-continue/herdr-rules.test.js .pi/harnesses/damage-control-continue/exemptions.test.js scripts/lib/hermes-monitor-model.test.ts scripts/lib/hermes-monitor-events.test.ts scripts/lib/hermes-monitor-store.test.ts scripts/lib/hermes-monitor-retention.integration.test.ts scripts/lib/hermes-monitor-registry.test.ts scripts/lib/hermes-monitor-socket.test.ts scripts/lib/hermes-monitor-data-path.test.ts scripts/lib/hermes-monitor-slice7-9-backend.test.ts scripts/lib/hermes-monitor-control-socket.test.ts scripts/lib/hermes-monitor-e2e.test.ts scripts/lib/hermes-monitor-plugin-handshake.test.ts scripts/hermes-monitor-capability-runner.test.ts scripts/hermes-monitor-scenario.test.ts scripts/hermes-watchdog-capability-probe.test.ts .pi/harnesses/agent-hub/monitor-invoke.test.ts .pi/harnesses/agent-hub/monitor-invoke-journal.test.ts .pi/harnesses/agent-hub/monitor-control.test.ts .pi/harnesses/agent-hub/monitor-live-bridge-gaps.test.ts .pi/harnesses/agent-hub/monitor-review-live-wiring.red.test.ts .pi/harnesses/agent-hub/monitor-runtime.test.ts .pi/harnesses/agent-hub/monitor-bridge-runtime.test.ts .pi/harnesses/agent-hub/monitor-reconcile.test.ts .pi/harnesses/agent-hub/monitor-recovery.test.ts .pi/harnesses/agent-hub/monitor-lifecycle-lease.test.ts .pi/harnesses/agent-hub/monitor-session-bridge-race.test.ts .pi/harnesses/agent-hub/monitor-session-bridge.test.ts .pi/harnesses/agent-hub/monitor-cancel-race.test.ts .pi/harnesses/agent-hub/monitor-wait-only.test.ts .pi/harnesses/agent-hub/monitor-publisher.test.ts .pi/harnesses/agent-hub/monitor-index.integration.test.ts hermes/desktop-plugins/agent-fleet-herdr/presentation.test.js scripts/docs-links.test.mjs && npm run test:watchdog-py",
108
108
  "test:watchdog-py": "PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s hermes/watchdog-tests -p 'test_*.py'",
109
109
  "pack:dry": "npm pack --dry-run",
110
110
  "changeset": "changeset",
package/scripts/fleet.ts CHANGED
@@ -44,7 +44,7 @@ POSTURE AND ROSTER
44
44
  /af-posture orchestrator # remove direct coding tools; keep orchestration
45
45
  /af-posture operator # restore the approved direct tool surface
46
46
 
47
- Posture is independent from /af-hub-mode, the native roster, and peer topology.
47
+ Posture is independent from the native roster and peer topology. Budgets follow task tier.
48
48
  All Hub slash commands, including /af-handoff, stay registered in both postures;
49
49
  actions whose coms/Herdr capability is unavailable return remediation guidance.
50
50