@chankov/agent-fleet 2.0.16 → 2.0.18

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 (1211) hide show
  1. package/.pi/agent-fleet/scripts/coms-claude-bridge.ts +75 -49
  2. package/.pi/agent-fleet/scripts/lib/claude-bridge-core.ts +18 -20
  3. package/.pi/agent-fleet/scripts/workflows/lib/project-policy.ts +3 -1
  4. package/.pi/agents/model-profiles.yaml +5 -5
  5. package/.pi/agents/peers.yaml +3 -3
  6. package/.pi/agents/voices.yaml +1 -1
  7. package/.pi/harnesses/agent-hub/README.md +39 -8
  8. package/.pi/harnesses/agent-hub/agentic-contract.ts +43 -0
  9. package/.pi/harnesses/agent-hub/agentic-evidence.ts +64 -0
  10. package/.pi/harnesses/agent-hub/agentic-hub.ts +54 -0
  11. package/.pi/harnesses/agent-hub/agentic-runtime.ts +56 -0
  12. package/.pi/harnesses/agent-hub/agentic-sources-worker.mjs +4 -0
  13. package/.pi/harnesses/agent-hub/agentic-sources.ts +74 -0
  14. package/.pi/harnesses/agent-hub/agentic-state.ts +23 -0
  15. package/.pi/harnesses/agent-hub/config/overrides.ts +13 -3
  16. package/.pi/harnesses/agent-hub/delegate.ts +16 -5
  17. package/.pi/harnesses/agent-hub/deterministic-fs.ts +7 -4
  18. package/.pi/harnesses/agent-hub/dispatch-native-prepare.ts +13 -2
  19. package/.pi/harnesses/agent-hub/dispatch-native-spawn.ts +2 -0
  20. package/.pi/harnesses/agent-hub/dispatch-native-types.ts +7 -0
  21. package/.pi/harnesses/agent-hub/dispatch-native.ts +1 -1
  22. package/.pi/harnesses/agent-hub/file-discovery/adapters.ts +82 -0
  23. package/.pi/harnesses/agent-hub/file-discovery/broker-client.ts +56 -0
  24. package/.pi/harnesses/agent-hub/file-discovery/broker.ts +125 -0
  25. package/.pi/harnesses/agent-hub/file-discovery/child-extension.ts +33 -0
  26. package/.pi/harnesses/agent-hub/file-discovery/descendant.ts +63 -0
  27. package/.pi/harnesses/agent-hub/file-discovery/discovery-worker.mjs +15 -0
  28. package/.pi/harnesses/agent-hub/file-discovery/discovery.ts +126 -0
  29. package/.pi/harnesses/agent-hub/file-discovery/evaluate.ts +48 -0
  30. package/.pi/harnesses/agent-hub/file-discovery/hub.ts +152 -0
  31. package/.pi/harnesses/agent-hub/file-discovery/native-context.ts +8 -0
  32. package/.pi/harnesses/agent-hub/file-discovery/owners.ts +96 -0
  33. package/.pi/harnesses/agent-hub/file-discovery/results.ts +54 -0
  34. package/.pi/harnesses/agent-hub/file-discovery/runtime.ts +120 -0
  35. package/.pi/harnesses/agent-hub/file-discovery/sources.ts +69 -0
  36. package/.pi/harnesses/agent-hub/file-discovery/state.ts +22 -0
  37. package/.pi/harnesses/agent-hub/filesystem-tool.ts +74 -26
  38. package/.pi/harnesses/agent-hub/index.ts +30 -6
  39. package/.pi/harnesses/agent-hub/lifecycle/session-orchestration.ts +3 -2
  40. package/.pi/harnesses/agent-hub/no-progress.ts +45 -15
  41. package/.pi/harnesses/agent-hub/package.json +1 -1
  42. package/.pi/harnesses/agent-hub/peer-spawn-plan.ts +1 -1
  43. package/.pi/harnesses/agent-hub/policy/work-mode.ts +3 -1
  44. package/.pi/harnesses/agent-hub/proactive-config.ts +8 -3
  45. package/.pi/harnesses/agent-hub/proactive-external-git.ts +59 -0
  46. package/.pi/harnesses/agent-hub/proactive-external.ts +77 -0
  47. package/.pi/harnesses/agent-hub/proactive-local.ts +25 -7
  48. package/.pi/harnesses/agent-hub/proactive-observer.ts +2 -1
  49. package/.pi/harnesses/agent-hub/proactive-rules.ts +39 -11
  50. package/.pi/harnesses/agent-hub/proactive-runtime.ts +8 -6
  51. package/.pi/harnesses/agent-hub/proactive-snapshot.ts +41 -26
  52. package/.pi/harnesses/agent-hub/proactive-types.ts +5 -1
  53. package/.pi/harnesses/agent-hub/prompts/context.ts +2 -0
  54. package/.pi/harnesses/agent-hub/prompts/fragments.ts +23 -44
  55. package/.pi/harnesses/agent-hub/prompts/system-prompt.ts +4 -1
  56. package/.pi/harnesses/agent-hub/research/runtime.ts +7 -3
  57. package/.pi/harnesses/agent-hub/research/spawn-run.ts +17 -6
  58. package/.pi/harnesses/agent-hub/spawn.ts +38 -9
  59. package/.pi/harnesses/agent-hub/system1-communication-store.ts +68 -7
  60. package/.pi/harnesses/agent-hub/tools/action-executors.ts +6 -1
  61. package/.pi/harnesses/agent-hub/tools/ask-system1-files.ts +15 -0
  62. package/.pi/harnesses/agent-hub/tools/ask-system1.ts +25 -0
  63. package/.pi/harnesses/agent-hub/tools/dispatch-agent.ts +4 -4
  64. package/.pi/harnesses/agent-hub/tools/dispatch-execution.ts +4 -2
  65. package/.pi/harnesses/agent-hub/tools/set-task-tier.ts +3 -3
  66. package/.pi/harnesses/agent-hub/tools/spawn-research.ts +3 -1
  67. package/.pi/harnesses/agent-hub/ui/system1-communication.ts +1 -1
  68. package/.pi/harnesses/agent-hub/work-mode.ts +9 -1
  69. package/.pi/harnesses/coms/package.json +1 -1
  70. package/.pi/harnesses/damage-control-continue/index.ts +6 -23
  71. package/.pi/harnesses/damage-control-continue/package.json +1 -1
  72. package/.pi/harnesses/lib/context-budget-child-prompt.ts +3 -2
  73. package/.pi/harnesses/lib/damage-control-shared.ts +29 -0
  74. package/.pi/harnesses/lib/deterministic-handle-path.ts +2 -0
  75. package/.pi/harnesses/lib/policy-roots.ts +142 -0
  76. package/.pi/harnesses/lib/safe-source-read.js +29 -0
  77. package/.pi/harnesses/lib/system1/config-agentic.js +15 -0
  78. package/.pi/harnesses/lib/system1/config-file-discovery.js +21 -0
  79. package/.pi/harnesses/lib/system1/config-proactive.js +13 -2
  80. package/.pi/harnesses/lib/system1/config-v2.js +10 -4
  81. package/.versions/2.0.17/.pi/agent-fleet/hermes/README.md +347 -0
  82. package/.versions/2.0.17/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-herdr/plugin.js +1291 -0
  83. package/.versions/2.0.17/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-herdr/presentation.js +672 -0
  84. package/.versions/2.0.17/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-monitor/plugin.js +19 -0
  85. package/.versions/2.0.17/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-monitor/state.js +10 -0
  86. package/.versions/2.0.17/.pi/agent-fleet/hermes/gates/gate-o-capability.md +8 -0
  87. package/.versions/2.0.17/.pi/agent-fleet/hermes/gates/gate-o-validator-fixtures.json +1 -0
  88. package/.versions/2.0.17/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/activity.py +773 -0
  89. package/.versions/2.0.17/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/coms_registry.py +134 -0
  90. package/.versions/2.0.17/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/coms_send.py +350 -0
  91. package/.versions/2.0.17/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/herdr_source.py +193 -0
  92. package/.versions/2.0.17/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/manifest.json +4 -0
  93. package/.versions/2.0.17/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/plugin_api.py +444 -0
  94. package/.versions/2.0.17/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/sessions.py +205 -0
  95. package/.versions/2.0.17/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/tasks.py +300 -0
  96. package/.versions/2.0.17/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/watch.py +819 -0
  97. package/.versions/2.0.17/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/plugin.yaml +8 -0
  98. package/.versions/2.0.17/.pi/agent-fleet/hermes/plugins/agent-fleet-monitor/dashboard/adapter.py +139 -0
  99. package/.versions/2.0.17/.pi/agent-fleet/hermes/plugins/agent-fleet-monitor/dashboard/manifest.json +11 -0
  100. package/.versions/2.0.17/.pi/agent-fleet/hermes/plugins/agent-fleet-monitor/dashboard/plugin_api.py +50 -0
  101. package/.versions/2.0.17/.pi/agent-fleet/hermes/skills/hub-conductor/SKILL.md +84 -0
  102. package/.versions/2.0.17/.pi/agent-fleet/hermes/skills/hub-liaison/SKILL.md +84 -0
  103. package/.versions/2.0.17/.pi/agent-fleet/hermes/skills/hub-watchdog/SKILL.md +76 -0
  104. package/.versions/2.0.17/.pi/agent-fleet/hermes/skills/hub-watchdog/manifest.json +1 -0
  105. package/.versions/2.0.17/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog.py +249 -0
  106. package/.versions/2.0.17/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_actions.py +124 -0
  107. package/.versions/2.0.17/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_contract.py +76 -0
  108. package/.versions/2.0.17/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_delivery.py +10 -0
  109. package/.versions/2.0.17/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_engine.py +128 -0
  110. package/.versions/2.0.17/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_judgment.py +41 -0
  111. package/.versions/2.0.17/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_recovery.py +103 -0
  112. package/.versions/2.0.17/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_state.py +163 -0
  113. package/.versions/2.0.17/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_transport.py +138 -0
  114. package/.versions/2.0.17/.pi/agent-fleet/hermes/watchdog-tests/__init__.py +0 -0
  115. package/.versions/2.0.17/.pi/agent-fleet/hooks/coms-stop-hook.mjs +84 -0
  116. package/.versions/2.0.17/.pi/agent-fleet/scripts/claude-code-preflight.ts +70 -0
  117. package/.versions/2.0.17/.pi/agent-fleet/scripts/coms-claude-bridge.ts +411 -0
  118. package/.versions/2.0.17/.pi/agent-fleet/scripts/coms-cli.ts +425 -0
  119. package/.versions/2.0.17/.pi/agent-fleet/scripts/coms-hermes-bridge.ts +413 -0
  120. package/.versions/2.0.17/.pi/agent-fleet/scripts/fleet-codex-client.ts +69 -0
  121. package/.versions/2.0.17/.pi/agent-fleet/scripts/fleet-codex-read.py +148 -0
  122. package/.versions/2.0.17/.pi/agent-fleet/scripts/fleet.ts +217 -0
  123. package/.versions/2.0.17/.pi/agent-fleet/scripts/flow.ts +157 -0
  124. package/.versions/2.0.17/.pi/agent-fleet/scripts/hermes-monitor-capability-runner.ts +25 -0
  125. package/.versions/2.0.17/.pi/agent-fleet/scripts/hermes-monitor-scenario.ts +474 -0
  126. package/.versions/2.0.17/.pi/agent-fleet/scripts/hermes-watchdog-capability-probe.ts +45 -0
  127. package/.versions/2.0.17/.pi/agent-fleet/scripts/install-hermes-plugin.sh +180 -0
  128. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/claude-bridge-core.ts +210 -0
  129. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/coms-envelope.ts +582 -0
  130. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/fake-herdr-server.ts +88 -0
  131. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/fleet-codex-catalog.ts +63 -0
  132. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/fleet-codex-operations.ts +190 -0
  133. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/fleet-codex-session.ts +166 -0
  134. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/fleet-codex-transport.ts +124 -0
  135. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/fleet-command.ts +252 -0
  136. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/flow-command.ts +98 -0
  137. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/flow-maintenance.ts +230 -0
  138. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/herdr-layout.ts +281 -0
  139. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/hermes-bridge-core.ts +241 -0
  140. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/hermes-monitor-events.ts +1 -0
  141. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/hermes-monitor-herdr.ts +2 -0
  142. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/hermes-monitor-model.ts +3 -0
  143. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/hermes-monitor-registry.ts +2 -0
  144. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/hermes-monitor-socket.ts +2 -0
  145. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/hermes-monitor-store.ts +2 -0
  146. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/monitor-env.ts +146 -0
  147. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/peer-launch.ts +318 -0
  148. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/persona-banner.ts +62 -0
  149. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/persona-dirs.ts +25 -0
  150. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/runtime-dependencies.js +124 -0
  151. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/spawn-stagger.ts +101 -0
  152. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/team-project.ts +178 -0
  153. package/.versions/2.0.17/.pi/agent-fleet/scripts/lib/team-snapshot.ts +147 -0
  154. package/.versions/2.0.17/.pi/agent-fleet/scripts/package-lock.json +35 -0
  155. package/.versions/2.0.17/.pi/agent-fleet/scripts/package.json +9 -0
  156. package/.versions/2.0.17/.pi/agent-fleet/scripts/peer-banner.ts +41 -0
  157. package/.versions/2.0.17/.pi/agent-fleet/scripts/peer-launch.ts +283 -0
  158. package/.versions/2.0.17/.pi/agent-fleet/scripts/team-snapshot.ts +237 -0
  159. package/.versions/2.0.17/.pi/agent-fleet/scripts/team-up.ts +378 -0
  160. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/agent-phase.ts +179 -0
  161. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/changes.ts +61 -0
  162. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/debate.ts +149 -0
  163. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/env.ts +34 -0
  164. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/envelopes.ts +169 -0
  165. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/gates.ts +81 -0
  166. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/git.ts +96 -0
  167. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/isolated-snapshot.ts +125 -0
  168. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/merge.ts +95 -0
  169. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/model-profile.ts +22 -0
  170. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/model-visibility.ts +92 -0
  171. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/permissions.ts +130 -0
  172. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/personas.ts +57 -0
  173. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/poll.ts +86 -0
  174. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/project-policy.ts +34 -0
  175. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/quality.ts +64 -0
  176. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/run.ts +108 -0
  177. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/scout-data-boundary.ts +55 -0
  178. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/trace.ts +34 -0
  179. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/voices.ts +128 -0
  180. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/lib/writer-lease.ts +112 -0
  181. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/tsconfig.json +22 -0
  182. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/wf-build-test.ts +61 -0
  183. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/wf-debate.ts +87 -0
  184. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/wf-document.ts +50 -0
  185. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/wf-poll.ts +95 -0
  186. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/wf-quality.ts +20 -0
  187. package/.versions/2.0.17/.pi/agent-fleet/scripts/workflows/wf-scout.ts +40 -0
  188. package/.versions/2.0.17/.pi/agents/dispatch-policy.yaml +32 -0
  189. package/.versions/2.0.17/.pi/agents/model-profiles.yaml +134 -0
  190. package/.versions/2.0.17/.pi/agents/peers.yaml +147 -0
  191. package/.versions/2.0.17/.pi/agents/teams.yaml +41 -0
  192. package/.versions/2.0.17/.pi/agents/voices.yaml +13 -0
  193. package/.versions/2.0.17/.pi/damage-control-rules.yaml +297 -0
  194. package/.versions/2.0.17/.pi/extensions/btw/README.md +120 -0
  195. package/.versions/2.0.17/.pi/extensions/btw/index.ts +914 -0
  196. package/.versions/2.0.17/.pi/extensions/btw/package.json +6 -0
  197. package/.versions/2.0.17/.pi/extensions/btw/state.js +179 -0
  198. package/.versions/2.0.17/.pi/extensions/chrome-devtools-mcp/README.md +55 -0
  199. package/.versions/2.0.17/.pi/extensions/chrome-devtools-mcp/index.ts +93 -0
  200. package/.versions/2.0.17/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
  201. package/.versions/2.0.17/.pi/extensions/compact-and-continue/README.md +42 -0
  202. package/.versions/2.0.17/.pi/extensions/compact-and-continue/index.ts +120 -0
  203. package/.versions/2.0.17/.pi/extensions/compact-and-continue/package.json +6 -0
  204. package/.versions/2.0.17/.pi/extensions/mcp-bridge/README.md +46 -0
  205. package/.versions/2.0.17/.pi/extensions/mcp-bridge/index.ts +206 -0
  206. package/.versions/2.0.17/.pi/extensions/mcp-bridge/package.json +6 -0
  207. package/.versions/2.0.17/.pi/extensions/package-lock.json +1175 -0
  208. package/.versions/2.0.17/.pi/extensions/package.json +9 -0
  209. package/.versions/2.0.17/.pi/extensions/pi-voice-stt/README.md +224 -0
  210. package/.versions/2.0.17/.pi/extensions/pi-voice-stt/config.ts +198 -0
  211. package/.versions/2.0.17/.pi/extensions/pi-voice-stt/examples/stt.json +35 -0
  212. package/.versions/2.0.17/.pi/extensions/pi-voice-stt/index.ts +248 -0
  213. package/.versions/2.0.17/.pi/extensions/pi-voice-stt/package.json +6 -0
  214. package/.versions/2.0.17/.pi/extensions/pi-voice-stt/providers.ts +214 -0
  215. package/.versions/2.0.17/.pi/extensions/pi-voice-stt/recorder.ts +158 -0
  216. package/.versions/2.0.17/.pi/harnesses/agent-hub/README.md +1456 -0
  217. package/.versions/2.0.17/.pi/harnesses/agent-hub/acceptance.ts +199 -0
  218. package/.versions/2.0.17/.pi/harnesses/agent-hub/access-approval.ts +135 -0
  219. package/.versions/2.0.17/.pi/harnesses/agent-hub/agentic-contract.ts +43 -0
  220. package/.versions/2.0.17/.pi/harnesses/agent-hub/agentic-evidence.ts +64 -0
  221. package/.versions/2.0.17/.pi/harnesses/agent-hub/agentic-hub.ts +54 -0
  222. package/.versions/2.0.17/.pi/harnesses/agent-hub/agentic-runtime.ts +56 -0
  223. package/.versions/2.0.17/.pi/harnesses/agent-hub/agentic-sources-worker.mjs +4 -0
  224. package/.versions/2.0.17/.pi/harnesses/agent-hub/agentic-sources.ts +50 -0
  225. package/.versions/2.0.17/.pi/harnesses/agent-hub/agentic-state.ts +23 -0
  226. package/.versions/2.0.17/.pi/harnesses/agent-hub/artifacts.js +146 -0
  227. package/.versions/2.0.17/.pi/harnesses/agent-hub/assertion-ledger.js +67 -0
  228. package/.versions/2.0.17/.pi/harnesses/agent-hub/assist-profile.ts +16 -0
  229. package/.versions/2.0.17/.pi/harnesses/agent-hub/backend-policy.js +174 -0
  230. package/.versions/2.0.17/.pi/harnesses/agent-hub/bounded-output.ts +26 -0
  231. package/.versions/2.0.17/.pi/harnesses/agent-hub/budget-continuation.ts +13 -0
  232. package/.versions/2.0.17/.pi/harnesses/agent-hub/budget-recovery.ts +214 -0
  233. package/.versions/2.0.17/.pi/harnesses/agent-hub/capability-confirmation.ts +47 -0
  234. package/.versions/2.0.17/.pi/harnesses/agent-hub/capability-packs.ts +184 -0
  235. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/agent-model-thinking.ts +10 -0
  236. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/agent-model.ts +10 -0
  237. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/agent-models-substitute.ts +10 -0
  238. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/agents-add.ts +9 -0
  239. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/agents-drop.ts +9 -0
  240. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/agents-history.ts +9 -0
  241. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/agents-kill.ts +10 -0
  242. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/agents-list.ts +9 -0
  243. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/agents-restart.ts +10 -0
  244. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/agents-save.ts +9 -0
  245. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/agents-team.ts +9 -0
  246. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/audit.ts +9 -0
  247. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/budget-continue.ts +10 -0
  248. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/compound.ts +9 -0
  249. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/coms.ts +9 -0
  250. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/context-command.ts +9 -0
  251. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/context.ts +47 -0
  252. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/debate.ts +9 -0
  253. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/dispatch-policy.ts +9 -0
  254. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/handoff.ts +10 -0
  255. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/hub-report.ts +9 -0
  256. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/models.ts +10 -0
  257. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/poll.ts +9 -0
  258. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/recover.ts +61 -0
  259. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/retry.ts +10 -0
  260. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/task-triage-recover.ts +12 -0
  261. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/task-triage-waive.ts +12 -0
  262. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/watchdog.ts +9 -0
  263. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/work-mode.ts +29 -0
  264. package/.versions/2.0.17/.pi/harnesses/agent-hub/commands/zoom.ts +10 -0
  265. package/.versions/2.0.17/.pi/harnesses/agent-hub/config/agents.ts +178 -0
  266. package/.versions/2.0.17/.pi/harnesses/agent-hub/config/model-profiles.ts +236 -0
  267. package/.versions/2.0.17/.pi/harnesses/agent-hub/config/overrides.ts +155 -0
  268. package/.versions/2.0.17/.pi/harnesses/agent-hub/context/agent-state.ts +30 -0
  269. package/.versions/2.0.17/.pi/harnesses/agent-hub/context/assertions-artifacts.ts +221 -0
  270. package/.versions/2.0.17/.pi/harnesses/agent-hub/context/budgets.ts +206 -0
  271. package/.versions/2.0.17/.pi/harnesses/agent-hub/context/hub-state.ts +40 -0
  272. package/.versions/2.0.17/.pi/harnesses/agent-hub/context-budget-snapshot.ts +105 -0
  273. package/.versions/2.0.17/.pi/harnesses/agent-hub/context-pressure.ts +191 -0
  274. package/.versions/2.0.17/.pi/harnesses/agent-hub/context-window.js +108 -0
  275. package/.versions/2.0.17/.pi/harnesses/agent-hub/debate-command.ts +176 -0
  276. package/.versions/2.0.17/.pi/harnesses/agent-hub/delegate.ts +467 -0
  277. package/.versions/2.0.17/.pi/harnesses/agent-hub/deterministic-fs.ts +166 -0
  278. package/.versions/2.0.17/.pi/harnesses/agent-hub/diagnostic-probe-extension.ts +26 -0
  279. package/.versions/2.0.17/.pi/harnesses/agent-hub/diagnostic-series-budget.ts +178 -0
  280. package/.versions/2.0.17/.pi/harnesses/agent-hub/dispatch-coms.ts +252 -0
  281. package/.versions/2.0.17/.pi/harnesses/agent-hub/dispatch-core.ts +27 -0
  282. package/.versions/2.0.17/.pi/harnesses/agent-hub/dispatch-native-complete.ts +173 -0
  283. package/.versions/2.0.17/.pi/harnesses/agent-hub/dispatch-native-prepare.ts +259 -0
  284. package/.versions/2.0.17/.pi/harnesses/agent-hub/dispatch-native-spawn.ts +231 -0
  285. package/.versions/2.0.17/.pi/harnesses/agent-hub/dispatch-native-types.ts +260 -0
  286. package/.versions/2.0.17/.pi/harnesses/agent-hub/dispatch-native.ts +234 -0
  287. package/.versions/2.0.17/.pi/harnesses/agent-hub/dispatch-observability.ts +225 -0
  288. package/.versions/2.0.17/.pi/harnesses/agent-hub/dispatch-triage-contract.ts +27 -0
  289. package/.versions/2.0.17/.pi/harnesses/agent-hub/dispatch-triage-eval.ts +77 -0
  290. package/.versions/2.0.17/.pi/harnesses/agent-hub/dispatch-triage-policy.ts +29 -0
  291. package/.versions/2.0.17/.pi/harnesses/agent-hub/dispatch-triage-runtime.ts +55 -0
  292. package/.versions/2.0.17/.pi/harnesses/agent-hub/dispatch-triage-state.ts +33 -0
  293. package/.versions/2.0.17/.pi/harnesses/agent-hub/docs-lane.js +123 -0
  294. package/.versions/2.0.17/.pi/harnesses/agent-hub/drift-judge.ts +352 -0
  295. package/.versions/2.0.17/.pi/harnesses/agent-hub/drift-runtime.ts +480 -0
  296. package/.versions/2.0.17/.pi/harnesses/agent-hub/drift-system1-policy.ts +39 -0
  297. package/.versions/2.0.17/.pi/harnesses/agent-hub/drift-system1.ts +469 -0
  298. package/.versions/2.0.17/.pi/harnesses/agent-hub/drift-watchdog.js +349 -0
  299. package/.versions/2.0.17/.pi/harnesses/agent-hub/evidence-manifest.ts +51 -0
  300. package/.versions/2.0.17/.pi/harnesses/agent-hub/evidence-rules.js +96 -0
  301. package/.versions/2.0.17/.pi/harnesses/agent-hub/execution-evidence.ts +80 -0
  302. package/.versions/2.0.17/.pi/harnesses/agent-hub/external-blocker.js +85 -0
  303. package/.versions/2.0.17/.pi/harnesses/agent-hub/filesystem-tool.ts +137 -0
  304. package/.versions/2.0.17/.pi/harnesses/agent-hub/fixtures/registration-surface.json +65 -0
  305. package/.versions/2.0.17/.pi/harnesses/agent-hub/fixtures/t0a-synthetic/catalog.ts +189 -0
  306. package/.versions/2.0.17/.pi/harnesses/agent-hub/footer.ts +30 -0
  307. package/.versions/2.0.17/.pi/harnesses/agent-hub/helpers.ts +270 -0
  308. package/.versions/2.0.17/.pi/harnesses/agent-hub/hub-state-audit.js +65 -0
  309. package/.versions/2.0.17/.pi/harnesses/agent-hub/index.ts +2607 -0
  310. package/.versions/2.0.17/.pi/harnesses/agent-hub/input/completions.ts +82 -0
  311. package/.versions/2.0.17/.pi/harnesses/agent-hub/input/shortcuts.ts +20 -0
  312. package/.versions/2.0.17/.pi/harnesses/agent-hub/lifecycle/context-pressure.ts +133 -0
  313. package/.versions/2.0.17/.pi/harnesses/agent-hub/lifecycle/monitor-session.ts +104 -0
  314. package/.versions/2.0.17/.pi/harnesses/agent-hub/lifecycle/session-orchestration.ts +143 -0
  315. package/.versions/2.0.17/.pi/harnesses/agent-hub/lifecycle/turn-handlers.ts +74 -0
  316. package/.versions/2.0.17/.pi/harnesses/agent-hub/monitor-control.ts +9 -0
  317. package/.versions/2.0.17/.pi/harnesses/agent-hub/monitor-invoke-journal.ts +131 -0
  318. package/.versions/2.0.17/.pi/harnesses/agent-hub/monitor-invoke.ts +92 -0
  319. package/.versions/2.0.17/.pi/harnesses/agent-hub/monitor-lifecycle.ts +13 -0
  320. package/.versions/2.0.17/.pi/harnesses/agent-hub/monitor-publisher.ts +59 -0
  321. package/.versions/2.0.17/.pi/harnesses/agent-hub/monitor-recovery.ts +3 -0
  322. package/.versions/2.0.17/.pi/harnesses/agent-hub/monitor-runtime.ts +3 -0
  323. package/.versions/2.0.17/.pi/harnesses/agent-hub/monitor-session-bridge.ts +266 -0
  324. package/.versions/2.0.17/.pi/harnesses/agent-hub/no-progress.ts +563 -0
  325. package/.versions/2.0.17/.pi/harnesses/agent-hub/orchestration-activation.ts +112 -0
  326. package/.versions/2.0.17/.pi/harnesses/agent-hub/orchestration-metrics.ts +78 -0
  327. package/.versions/2.0.17/.pi/harnesses/agent-hub/orchestration-route.ts +76 -0
  328. package/.versions/2.0.17/.pi/harnesses/agent-hub/package.json +7 -0
  329. package/.versions/2.0.17/.pi/harnesses/agent-hub/peer-spawn-plan.ts +116 -0
  330. package/.versions/2.0.17/.pi/harnesses/agent-hub/policy/models.ts +153 -0
  331. package/.versions/2.0.17/.pi/harnesses/agent-hub/policy/profile-activation.ts +62 -0
  332. package/.versions/2.0.17/.pi/harnesses/agent-hub/policy/profile-runtime.ts +120 -0
  333. package/.versions/2.0.17/.pi/harnesses/agent-hub/policy/roster.ts +94 -0
  334. package/.versions/2.0.17/.pi/harnesses/agent-hub/policy/work-mode.ts +136 -0
  335. package/.versions/2.0.17/.pi/harnesses/agent-hub/poll-command.ts +176 -0
  336. package/.versions/2.0.17/.pi/harnesses/agent-hub/presentation.ts +48 -0
  337. package/.versions/2.0.17/.pi/harnesses/agent-hub/proactive-config.ts +16 -0
  338. package/.versions/2.0.17/.pi/harnesses/agent-hub/proactive-evaluate.ts +138 -0
  339. package/.versions/2.0.17/.pi/harnesses/agent-hub/proactive-feedback.ts +104 -0
  340. package/.versions/2.0.17/.pi/harnesses/agent-hub/proactive-findings.ts +115 -0
  341. package/.versions/2.0.17/.pi/harnesses/agent-hub/proactive-local.ts +71 -0
  342. package/.versions/2.0.17/.pi/harnesses/agent-hub/proactive-observer.ts +105 -0
  343. package/.versions/2.0.17/.pi/harnesses/agent-hub/proactive-rules.ts +143 -0
  344. package/.versions/2.0.17/.pi/harnesses/agent-hub/proactive-runtime.ts +316 -0
  345. package/.versions/2.0.17/.pi/harnesses/agent-hub/proactive-selection.ts +68 -0
  346. package/.versions/2.0.17/.pi/harnesses/agent-hub/proactive-snapshot-worker.mjs +12 -0
  347. package/.versions/2.0.17/.pi/harnesses/agent-hub/proactive-snapshot.ts +228 -0
  348. package/.versions/2.0.17/.pi/harnesses/agent-hub/proactive-types.ts +63 -0
  349. package/.versions/2.0.17/.pi/harnesses/agent-hub/process-obligations.ts +158 -0
  350. package/.versions/2.0.17/.pi/harnesses/agent-hub/prompts/context.ts +56 -0
  351. package/.versions/2.0.17/.pi/harnesses/agent-hub/prompts/fragments.ts +123 -0
  352. package/.versions/2.0.17/.pi/harnesses/agent-hub/prompts/session-start.ts +90 -0
  353. package/.versions/2.0.17/.pi/harnesses/agent-hub/prompts/system-prompt.ts +124 -0
  354. package/.versions/2.0.17/.pi/harnesses/agent-hub/provider-semaphore.js +138 -0
  355. package/.versions/2.0.17/.pi/harnesses/agent-hub/reconcile.ts +26 -0
  356. package/.versions/2.0.17/.pi/harnesses/agent-hub/recover-policy.ts +44 -0
  357. package/.versions/2.0.17/.pi/harnesses/agent-hub/recover-state.ts +104 -0
  358. package/.versions/2.0.17/.pi/harnesses/agent-hub/recovery-contract.ts +150 -0
  359. package/.versions/2.0.17/.pi/harnesses/agent-hub/rerun-policy.ts +40 -0
  360. package/.versions/2.0.17/.pi/harnesses/agent-hub/research/controls.ts +74 -0
  361. package/.versions/2.0.17/.pi/harnesses/agent-hub/research/runtime.ts +197 -0
  362. package/.versions/2.0.17/.pi/harnesses/agent-hub/research/spawn-run.ts +183 -0
  363. package/.versions/2.0.17/.pi/harnesses/agent-hub/research-watchdog.ts +40 -0
  364. package/.versions/2.0.17/.pi/harnesses/agent-hub/return-contract.js +349 -0
  365. package/.versions/2.0.17/.pi/harnesses/agent-hub/return-extract.js +77 -0
  366. package/.versions/2.0.17/.pi/harnesses/agent-hub/review-closure.ts +43 -0
  367. package/.versions/2.0.17/.pi/harnesses/agent-hub/review-findings.js +104 -0
  368. package/.versions/2.0.17/.pi/harnesses/agent-hub/routing-observation.ts +41 -0
  369. package/.versions/2.0.17/.pi/harnesses/agent-hub/routing-proposal.ts +46 -0
  370. package/.versions/2.0.17/.pi/harnesses/agent-hub/run-budget.js +554 -0
  371. package/.versions/2.0.17/.pi/harnesses/agent-hub/run-namespace.js +93 -0
  372. package/.versions/2.0.17/.pi/harnesses/agent-hub/runtime-test-check.ts +54 -0
  373. package/.versions/2.0.17/.pi/harnesses/agent-hub/safety-routing.ts +22 -0
  374. package/.versions/2.0.17/.pi/harnesses/agent-hub/scope-gate.js +144 -0
  375. package/.versions/2.0.17/.pi/harnesses/agent-hub/session-audit.ts +313 -0
  376. package/.versions/2.0.17/.pi/harnesses/agent-hub/session-health.js +110 -0
  377. package/.versions/2.0.17/.pi/harnesses/agent-hub/session-start.ts +42 -0
  378. package/.versions/2.0.17/.pi/harnesses/agent-hub/spawn.ts +534 -0
  379. package/.versions/2.0.17/.pi/harnesses/agent-hub/system1-activity.ts +625 -0
  380. package/.versions/2.0.17/.pi/harnesses/agent-hub/system1-communication-store.ts +151 -0
  381. package/.versions/2.0.17/.pi/harnesses/agent-hub/system1-report.ts +275 -0
  382. package/.versions/2.0.17/.pi/harnesses/agent-hub/system1-runtime.ts +258 -0
  383. package/.versions/2.0.17/.pi/harnesses/agent-hub/task-resume-contract.ts +70 -0
  384. package/.versions/2.0.17/.pi/harnesses/agent-hub/task-triage-authorization.ts +122 -0
  385. package/.versions/2.0.17/.pi/harnesses/agent-hub/task-triage-config.ts +29 -0
  386. package/.versions/2.0.17/.pi/harnesses/agent-hub/task-triage-contract.ts +14 -0
  387. package/.versions/2.0.17/.pi/harnesses/agent-hub/task-triage-live-stage-boundary.mjs +49 -0
  388. package/.versions/2.0.17/.pi/harnesses/agent-hub/task-triage-obligations.ts +104 -0
  389. package/.versions/2.0.17/.pi/harnesses/agent-hub/task-triage-policy.ts +16 -0
  390. package/.versions/2.0.17/.pi/harnesses/agent-hub/task-triage-review-contract.mjs +43 -0
  391. package/.versions/2.0.17/.pi/harnesses/agent-hub/task-triage-reviewer-only-contract.mjs +156 -0
  392. package/.versions/2.0.17/.pi/harnesses/agent-hub/task-triage-reviewer-only-diagnostics.mjs +112 -0
  393. package/.versions/2.0.17/.pi/harnesses/agent-hub/task-triage-runtime.ts +125 -0
  394. package/.versions/2.0.17/.pi/harnesses/agent-hub/task-triage-stage-guard.ts +21 -0
  395. package/.versions/2.0.17/.pi/harnesses/agent-hub/task-triage-state.ts +46 -0
  396. package/.versions/2.0.17/.pi/harnesses/agent-hub/timeline.ts +72 -0
  397. package/.versions/2.0.17/.pi/harnesses/agent-hub/tool-catalog-runtime.ts +68 -0
  398. package/.versions/2.0.17/.pi/harnesses/agent-hub/tool-catalog-state.ts +123 -0
  399. package/.versions/2.0.17/.pi/harnesses/agent-hub/tool-protocol.ts +134 -0
  400. package/.versions/2.0.17/.pi/harnesses/agent-hub/tools/action-executors.ts +208 -0
  401. package/.versions/2.0.17/.pi/harnesses/agent-hub/tools/ask-system1.ts +25 -0
  402. package/.versions/2.0.17/.pi/harnesses/agent-hub/tools/coms-tools.ts +139 -0
  403. package/.versions/2.0.17/.pi/harnesses/agent-hub/tools/context.ts +144 -0
  404. package/.versions/2.0.17/.pi/harnesses/agent-hub/tools/dispatch-agent.ts +88 -0
  405. package/.versions/2.0.17/.pi/harnesses/agent-hub/tools/dispatch-execution.ts +558 -0
  406. package/.versions/2.0.17/.pi/harnesses/agent-hub/tools/dispatch-triage.ts +16 -0
  407. package/.versions/2.0.17/.pi/harnesses/agent-hub/tools/execution-orchestration.ts +22 -0
  408. package/.versions/2.0.17/.pi/harnesses/agent-hub/tools/fleet-tools.ts +200 -0
  409. package/.versions/2.0.17/.pi/harnesses/agent-hub/tools/herdr-executors.ts +95 -0
  410. package/.versions/2.0.17/.pi/harnesses/agent-hub/tools/run-flow.ts +136 -0
  411. package/.versions/2.0.17/.pi/harnesses/agent-hub/tools/set-task-tier.ts +31 -0
  412. package/.versions/2.0.17/.pi/harnesses/agent-hub/tools/spawn-research.ts +65 -0
  413. package/.versions/2.0.17/.pi/harnesses/agent-hub/tools/team-adjust.ts +29 -0
  414. package/.versions/2.0.17/.pi/harnesses/agent-hub/tools/verification-contract.ts +80 -0
  415. package/.versions/2.0.17/.pi/harnesses/agent-hub/tsconfig.json +22 -0
  416. package/.versions/2.0.17/.pi/harnesses/agent-hub/types.ts +66 -0
  417. package/.versions/2.0.17/.pi/harnesses/agent-hub/ui/activity-dots.ts +25 -0
  418. package/.versions/2.0.17/.pi/harnesses/agent-hub/ui/context-budget.ts +87 -0
  419. package/.versions/2.0.17/.pi/harnesses/agent-hub/ui/detail-panel.ts +192 -0
  420. package/.versions/2.0.17/.pi/harnesses/agent-hub/ui/fleet-actions.ts +78 -0
  421. package/.versions/2.0.17/.pi/harnesses/agent-hub/ui/fleet-dashboard.ts +155 -0
  422. package/.versions/2.0.17/.pi/harnesses/agent-hub/ui/fleet-editor.ts +44 -0
  423. package/.versions/2.0.17/.pi/harnesses/agent-hub/ui/fleet-source.ts +179 -0
  424. package/.versions/2.0.17/.pi/harnesses/agent-hub/ui/grid.ts +159 -0
  425. package/.versions/2.0.17/.pi/harnesses/agent-hub/ui/history-store.ts +137 -0
  426. package/.versions/2.0.17/.pi/harnesses/agent-hub/ui/history.ts +234 -0
  427. package/.versions/2.0.17/.pi/harnesses/agent-hub/ui/pool.ts +103 -0
  428. package/.versions/2.0.17/.pi/harnesses/agent-hub/ui/running-strip.ts +2 -0
  429. package/.versions/2.0.17/.pi/harnesses/agent-hub/ui/system1-communication.ts +59 -0
  430. package/.versions/2.0.17/.pi/harnesses/agent-hub/ui/zoom.ts +206 -0
  431. package/.versions/2.0.17/.pi/harnesses/agent-hub/unknown-tool-counter.ts +116 -0
  432. package/.versions/2.0.17/.pi/harnesses/agent-hub/version.ts +42 -0
  433. package/.versions/2.0.17/.pi/harnesses/agent-hub/watchdog-evaluation.ts +110 -0
  434. package/.versions/2.0.17/.pi/harnesses/agent-hub/work-mode-controls.ts +56 -0
  435. package/.versions/2.0.17/.pi/harnesses/agent-hub/work-mode.ts +184 -0
  436. package/.versions/2.0.17/.pi/harnesses/agent-hub/write-isolation.ts +187 -0
  437. package/.versions/2.0.17/.pi/harnesses/ask-user-remote/README.md +59 -0
  438. package/.versions/2.0.17/.pi/harnesses/ask-user-remote/index.ts +558 -0
  439. package/.versions/2.0.17/.pi/harnesses/ask-user-remote/questions.ts +161 -0
  440. package/.versions/2.0.17/.pi/harnesses/ask-user-remote/race-core.js +124 -0
  441. package/.versions/2.0.17/.pi/harnesses/ask-user-remote/runtime-ask.ts +68 -0
  442. package/.versions/2.0.17/.pi/harnesses/coms/README.md +100 -0
  443. package/.versions/2.0.17/.pi/harnesses/coms/index.ts +282 -0
  444. package/.versions/2.0.17/.pi/harnesses/coms/package.json +7 -0
  445. package/.versions/2.0.17/.pi/harnesses/coms/version.ts +42 -0
  446. package/.versions/2.0.17/.pi/harnesses/damage-control-continue/README.md +135 -0
  447. package/.versions/2.0.17/.pi/harnesses/damage-control-continue/index.ts +533 -0
  448. package/.versions/2.0.17/.pi/harnesses/damage-control-continue/package.json +7 -0
  449. package/.versions/2.0.17/.pi/harnesses/damage-control-continue/version.ts +42 -0
  450. package/.versions/2.0.17/.pi/harnesses/lib/changed-file-diagnostics.ts +642 -0
  451. package/.versions/2.0.17/.pi/harnesses/lib/coms-core-io.ts +385 -0
  452. package/.versions/2.0.17/.pi/harnesses/lib/coms-core.ts +577 -0
  453. package/.versions/2.0.17/.pi/harnesses/lib/coms-registry-entry.ts +94 -0
  454. package/.versions/2.0.17/.pi/harnesses/lib/context-budget-child-prompt.ts +219 -0
  455. package/.versions/2.0.17/.pi/harnesses/lib/context-budget-hub-prompt.ts +121 -0
  456. package/.versions/2.0.17/.pi/harnesses/lib/context-budget-view.ts +107 -0
  457. package/.versions/2.0.17/.pi/harnesses/lib/context-budget.ts +114 -0
  458. package/.versions/2.0.17/.pi/harnesses/lib/damage-control-shared.ts +226 -0
  459. package/.versions/2.0.17/.pi/harnesses/lib/deterministic-handle-path.ts +23 -0
  460. package/.versions/2.0.17/.pi/harnesses/lib/fixtures/context-budget-profiles.json +11 -0
  461. package/.versions/2.0.17/.pi/harnesses/lib/fixtures/hub-prompt-operator.legacy.txt +73 -0
  462. package/.versions/2.0.17/.pi/harnesses/lib/fixtures/hub-prompt-orchestrator.legacy.txt +73 -0
  463. package/.versions/2.0.17/.pi/harnesses/lib/fleet-dashboard-ops.ts +178 -0
  464. package/.versions/2.0.17/.pi/harnesses/lib/fleet-dashboard-view.ts +172 -0
  465. package/.versions/2.0.17/.pi/harnesses/lib/fleet-detail-view.ts +339 -0
  466. package/.versions/2.0.17/.pi/harnesses/lib/fleet-overlay.ts +26 -0
  467. package/.versions/2.0.17/.pi/harnesses/lib/fleet-panel.ts +34 -0
  468. package/.versions/2.0.17/.pi/harnesses/lib/fleet-read-model.ts +609 -0
  469. package/.versions/2.0.17/.pi/harnesses/lib/fleet-selection.ts +24 -0
  470. package/.versions/2.0.17/.pi/harnesses/lib/fleet-strip-controller.ts +75 -0
  471. package/.versions/2.0.17/.pi/harnesses/lib/fleet-strip-view.ts +179 -0
  472. package/.versions/2.0.17/.pi/harnesses/lib/fleet-transcript-store.ts +244 -0
  473. package/.versions/2.0.17/.pi/harnesses/lib/herdr-client.ts +472 -0
  474. package/.versions/2.0.17/.pi/harnesses/lib/herdr-presence.ts +399 -0
  475. package/.versions/2.0.17/.pi/harnesses/lib/hermes-monitor-events.ts +136 -0
  476. package/.versions/2.0.17/.pi/harnesses/lib/hermes-monitor-herdr.ts +28 -0
  477. package/.versions/2.0.17/.pi/harnesses/lib/hermes-monitor-model.ts +18 -0
  478. package/.versions/2.0.17/.pi/harnesses/lib/hermes-monitor-registry.ts +6 -0
  479. package/.versions/2.0.17/.pi/harnesses/lib/hermes-monitor-socket.ts +163 -0
  480. package/.versions/2.0.17/.pi/harnesses/lib/hermes-monitor-store.ts +31 -0
  481. package/.versions/2.0.17/.pi/harnesses/lib/safe-source-read.js +29 -0
  482. package/.versions/2.0.17/.pi/harnesses/lib/spawned-peers.js +191 -0
  483. package/.versions/2.0.17/.pi/harnesses/lib/system1/config-agentic.js +14 -0
  484. package/.versions/2.0.17/.pi/harnesses/lib/system1/config-json.js +37 -0
  485. package/.versions/2.0.17/.pi/harnesses/lib/system1/config-loader.js +44 -0
  486. package/.versions/2.0.17/.pi/harnesses/lib/system1/config-proactive.js +57 -0
  487. package/.versions/2.0.17/.pi/harnesses/lib/system1/config-triage.js +42 -0
  488. package/.versions/2.0.17/.pi/harnesses/lib/system1/config-v2.js +103 -0
  489. package/.versions/2.0.17/.pi/harnesses/lib/system1/config.js +50 -0
  490. package/.versions/2.0.17/.pi/harnesses/lib/system1/contracts.ts +154 -0
  491. package/.versions/2.0.17/.pi/harnesses/lib/system1/demo.ts +95 -0
  492. package/.versions/2.0.17/.pi/harnesses/lib/system1/jev.ts +503 -0
  493. package/.versions/2.0.17/.pi/harnesses/lib/system1/selection.js +11 -0
  494. package/.versions/2.0.17/.pi/harnesses/lib/system1/service.ts +245 -0
  495. package/.versions/2.0.17/.pi/harnesses/lib/update-check.ts +222 -0
  496. package/.versions/2.0.17/.pi/harnesses/package-lock.json +2039 -0
  497. package/.versions/2.0.17/.pi/harnesses/package.json +10 -0
  498. package/.versions/2.0.17/.pi/prompts/af-build.md +27 -0
  499. package/.versions/2.0.17/.pi/prompts/af-code-simplify.md +22 -0
  500. package/.versions/2.0.17/.pi/prompts/af-constraints.md +31 -0
  501. package/.versions/2.0.17/.pi/prompts/af-plan.md +17 -0
  502. package/.versions/2.0.17/.pi/prompts/af-review.md +16 -0
  503. package/.versions/2.0.17/.pi/prompts/af-set-hermes-telegram.md +15 -0
  504. package/.versions/2.0.17/.pi/prompts/af-set-hermes-watchdog.md +6 -0
  505. package/.versions/2.0.17/.pi/prompts/af-setup-rules.md +20 -0
  506. package/.versions/2.0.17/.pi/prompts/af-ship.md +17 -0
  507. package/.versions/2.0.17/.pi/prompts/af-spec.md +15 -0
  508. package/.versions/2.0.17/.pi/prompts/af-test.md +19 -0
  509. package/.versions/2.0.17/.pi/skills/bowser/SKILL.md +145 -0
  510. package/.versions/2.0.17/.version +1 -0
  511. package/.versions/2.0.17/agents/architect.md +24 -0
  512. package/.versions/2.0.17/agents/bowser.md +28 -0
  513. package/.versions/2.0.17/agents/builder.md +55 -0
  514. package/.versions/2.0.17/agents/code-reviewer.md +209 -0
  515. package/.versions/2.0.17/agents/deep-researcher.md +32 -0
  516. package/.versions/2.0.17/agents/documenter.md +22 -0
  517. package/.versions/2.0.17/agents/orchestrator.md +22 -0
  518. package/.versions/2.0.17/agents/plan-reviewer.md +83 -0
  519. package/.versions/2.0.17/agents/planner.md +105 -0
  520. package/.versions/2.0.17/agents/releaser.md +24 -0
  521. package/.versions/2.0.17/agents/researcher.md +30 -0
  522. package/.versions/2.0.17/agents/security-auditor.md +167 -0
  523. package/.versions/2.0.17/agents/test-engineer.md +153 -0
  524. package/.versions/2.0.17/agents/web-debugger.md +44 -0
  525. package/.versions/2.0.17/agents/web-performance-auditor.md +194 -0
  526. package/.versions/2.0.17/bin/catalog/harness-runtime-closure.json +73 -0
  527. package/.versions/2.0.17/codex/fleet-session-client/SKILL.md +34 -0
  528. package/.versions/2.0.17/codex/fleet-session-client.zip +0 -0
  529. package/.versions/2.0.17/docs/ARCHITECTURE.md +834 -0
  530. package/.versions/2.0.17/docs/agent-fleet-setup.md +1101 -0
  531. package/.versions/2.0.17/docs/claude-code-coms-bridge.md +134 -0
  532. package/.versions/2.0.17/docs/codex-session-bridge.md +219 -0
  533. package/.versions/2.0.17/docs/coms-hermes-bridge.md +188 -0
  534. package/.versions/2.0.17/docs/getting-started.md +126 -0
  535. package/.versions/2.0.17/docs/npm-install.md +530 -0
  536. package/.versions/2.0.17/docs/pi-extensions.md +454 -0
  537. package/.versions/2.0.17/docs/pi-setup.md +92 -0
  538. package/.versions/2.0.17/docs/skill-anatomy.md +150 -0
  539. package/.versions/2.0.17/install-manifest.json +3193 -0
  540. package/.versions/2.0.17/justfile +247 -0
  541. package/.versions/2.0.17/manifest-meta.json +1071 -0
  542. package/.versions/2.0.17/references/accessibility-checklist.md +160 -0
  543. package/.versions/2.0.17/references/communication-contract.md +26 -0
  544. package/.versions/2.0.17/references/definition-of-done.md +67 -0
  545. package/.versions/2.0.17/references/fleet-coordination-patterns.md +171 -0
  546. package/.versions/2.0.17/references/observability-checklist.md +92 -0
  547. package/.versions/2.0.17/references/orchestration-patterns.md +370 -0
  548. package/.versions/2.0.17/references/performance-checklist.md +236 -0
  549. package/.versions/2.0.17/references/prompting-patterns.md +380 -0
  550. package/.versions/2.0.17/references/security-checklist.md +245 -0
  551. package/.versions/2.0.17/references/testing-patterns.md +235 -0
  552. package/.versions/2.0.17/references/workflow-authoring.md +304 -0
  553. package/.versions/2.0.17/skills/_internal/grilling.md +59 -0
  554. package/.versions/2.0.17/skills/browser-testing-with-devtools/SKILL.md +351 -0
  555. package/.versions/2.0.17/skills/code-review-and-quality/SKILL.md +396 -0
  556. package/.versions/2.0.17/skills/compound-learning/SKILL.md +137 -0
  557. package/.versions/2.0.17/skills/constraint-driven-development/SKILL.md +338 -0
  558. package/.versions/2.0.17/skills/constraint-driven-development/references/floor-guard.md +99 -0
  559. package/.versions/2.0.17/skills/context-engineering/SKILL.md +341 -0
  560. package/.versions/2.0.17/skills/deprecation-and-migration/SKILL.md +247 -0
  561. package/.versions/2.0.17/skills/designing-agents/SKILL.md +394 -0
  562. package/.versions/2.0.17/skills/designing-agents/pi-harness-authoring.md +222 -0
  563. package/.versions/2.0.17/skills/drafting-workflows/SKILL.md +143 -0
  564. package/.versions/2.0.17/skills/drafting-workflows/scripts/make-workflow.ts +177 -0
  565. package/.versions/2.0.17/skills/frontend-ui-engineering/SKILL.md +328 -0
  566. package/.versions/2.0.17/skills/git-workflow-and-versioning/SKILL.md +316 -0
  567. package/.versions/2.0.17/skills/idea-refine/SKILL.md +182 -0
  568. package/.versions/2.0.17/skills/idea-refine/examples.md +238 -0
  569. package/.versions/2.0.17/skills/idea-refine/frameworks.md +99 -0
  570. package/.versions/2.0.17/skills/idea-refine/refinement-criteria.md +113 -0
  571. package/.versions/2.0.17/skills/idea-refine/scripts/idea-refine.sh +15 -0
  572. package/.versions/2.0.17/skills/incremental-implementation/SKILL.md +353 -0
  573. package/.versions/2.0.17/skills/interview-me/SKILL.md +226 -0
  574. package/.versions/2.0.17/skills/orchestration-verification/SKILL.md +182 -0
  575. package/.versions/2.0.17/skills/peer-coms/SKILL.md +90 -0
  576. package/.versions/2.0.17/skills/performance-optimization/SKILL.md +496 -0
  577. package/.versions/2.0.17/skills/planning-and-task-breakdown/SKILL.md +318 -0
  578. package/.versions/2.0.17/skills/repository-ai-setup/SKILL.md +117 -0
  579. package/.versions/2.0.17/skills/repository-ai-setup/references/agent-fleet-ai-state.template.json +4 -0
  580. package/.versions/2.0.17/skills/repository-ai-setup/references/apply-contract.md +74 -0
  581. package/.versions/2.0.17/skills/repository-ai-setup/references/provenance-template.md +16 -0
  582. package/.versions/2.0.17/skills/repository-ai-setup/references/setup-flow.md +108 -0
  583. package/.versions/2.0.17/skills/repository-ai-setup/references/verify-setup.md +20 -0
  584. package/.versions/2.0.17/skills/security-and-hardening/SKILL.md +524 -0
  585. package/.versions/2.0.17/skills/spec-driven-development/SKILL.md +295 -0
  586. package/.versions/2.0.17/skills/using-agent-skills/SKILL.md +198 -0
  587. package/.versions/2.0.17/vendor/agent-skills-upstream/LICENSE +21 -0
  588. package/.versions/2.0.17/vendor/agent-skills-upstream/README.md +430 -0
  589. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/api-and-interface-design/SKILL.md +367 -0
  590. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/browser-testing-with-devtools/SKILL.md +317 -0
  591. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/ci-cd-and-automation/SKILL.md +390 -0
  592. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/code-review-and-quality/SKILL.md +396 -0
  593. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/code-simplification/SKILL.md +331 -0
  594. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/constraint-driven-development/SKILL.md +311 -0
  595. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/constraint-driven-development/references/floor-guard.md +99 -0
  596. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/context-engineering/SKILL.md +337 -0
  597. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/debugging-and-error-recovery/SKILL.md +300 -0
  598. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/deprecation-and-migration/SKILL.md +247 -0
  599. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/documentation-and-adrs/SKILL.md +288 -0
  600. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/doubt-driven-development/SKILL.md +243 -0
  601. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/frontend-ui-engineering/SKILL.md +328 -0
  602. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/git-workflow-and-versioning/SKILL.md +355 -0
  603. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/idea-refine/SKILL.md +178 -0
  604. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/idea-refine/examples.md +238 -0
  605. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/idea-refine/frameworks.md +99 -0
  606. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/idea-refine/refinement-criteria.md +113 -0
  607. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/idea-refine/scripts/idea-refine.sh +15 -0
  608. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/incremental-implementation/SKILL.md +249 -0
  609. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/interview-me/SKILL.md +225 -0
  610. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/observability-and-instrumentation/SKILL.md +238 -0
  611. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/performance-optimization/SKILL.md +496 -0
  612. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/planning-and-task-breakdown/SKILL.md +257 -0
  613. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/security-and-hardening/SKILL.md +524 -0
  614. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/shipping-and-launch/SKILL.md +330 -0
  615. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/source-driven-development/SKILL.md +216 -0
  616. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/spec-driven-development/SKILL.md +245 -0
  617. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/test-driven-development/SKILL.md +398 -0
  618. package/.versions/2.0.17/vendor/agent-skills-upstream/skills/using-agent-skills/SKILL.md +192 -0
  619. package/.versions/2.0.18/.pi/agent-fleet/hermes/README.md +347 -0
  620. package/.versions/2.0.18/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-herdr/plugin.js +1291 -0
  621. package/.versions/2.0.18/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-herdr/presentation.js +672 -0
  622. package/.versions/2.0.18/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-monitor/plugin.js +19 -0
  623. package/.versions/2.0.18/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-monitor/state.js +10 -0
  624. package/.versions/2.0.18/.pi/agent-fleet/hermes/gates/gate-o-capability.md +8 -0
  625. package/.versions/2.0.18/.pi/agent-fleet/hermes/gates/gate-o-validator-fixtures.json +1 -0
  626. package/.versions/2.0.18/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/activity.py +773 -0
  627. package/.versions/2.0.18/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/coms_registry.py +134 -0
  628. package/.versions/2.0.18/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/coms_send.py +350 -0
  629. package/.versions/2.0.18/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/herdr_source.py +193 -0
  630. package/.versions/2.0.18/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/manifest.json +4 -0
  631. package/.versions/2.0.18/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/plugin_api.py +444 -0
  632. package/.versions/2.0.18/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/sessions.py +205 -0
  633. package/.versions/2.0.18/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/tasks.py +300 -0
  634. package/.versions/2.0.18/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/watch.py +819 -0
  635. package/.versions/2.0.18/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/plugin.yaml +8 -0
  636. package/.versions/2.0.18/.pi/agent-fleet/hermes/plugins/agent-fleet-monitor/dashboard/adapter.py +139 -0
  637. package/.versions/2.0.18/.pi/agent-fleet/hermes/plugins/agent-fleet-monitor/dashboard/manifest.json +11 -0
  638. package/.versions/2.0.18/.pi/agent-fleet/hermes/plugins/agent-fleet-monitor/dashboard/plugin_api.py +50 -0
  639. package/.versions/2.0.18/.pi/agent-fleet/hermes/skills/hub-conductor/SKILL.md +84 -0
  640. package/.versions/2.0.18/.pi/agent-fleet/hermes/skills/hub-liaison/SKILL.md +84 -0
  641. package/.versions/2.0.18/.pi/agent-fleet/hermes/skills/hub-watchdog/SKILL.md +76 -0
  642. package/.versions/2.0.18/.pi/agent-fleet/hermes/skills/hub-watchdog/manifest.json +1 -0
  643. package/.versions/2.0.18/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog.py +249 -0
  644. package/.versions/2.0.18/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_actions.py +124 -0
  645. package/.versions/2.0.18/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_contract.py +76 -0
  646. package/.versions/2.0.18/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_delivery.py +10 -0
  647. package/.versions/2.0.18/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_engine.py +128 -0
  648. package/.versions/2.0.18/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_judgment.py +41 -0
  649. package/.versions/2.0.18/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_recovery.py +103 -0
  650. package/.versions/2.0.18/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_state.py +163 -0
  651. package/.versions/2.0.18/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_transport.py +138 -0
  652. package/.versions/2.0.18/.pi/agent-fleet/hermes/watchdog-tests/__init__.py +0 -0
  653. package/.versions/2.0.18/.pi/agent-fleet/hooks/coms-stop-hook.mjs +84 -0
  654. package/.versions/2.0.18/.pi/agent-fleet/scripts/claude-code-preflight.ts +70 -0
  655. package/.versions/2.0.18/.pi/agent-fleet/scripts/coms-claude-bridge.ts +437 -0
  656. package/.versions/2.0.18/.pi/agent-fleet/scripts/coms-cli.ts +425 -0
  657. package/.versions/2.0.18/.pi/agent-fleet/scripts/coms-hermes-bridge.ts +413 -0
  658. package/.versions/2.0.18/.pi/agent-fleet/scripts/fleet-codex-client.ts +69 -0
  659. package/.versions/2.0.18/.pi/agent-fleet/scripts/fleet-codex-read.py +148 -0
  660. package/.versions/2.0.18/.pi/agent-fleet/scripts/fleet.ts +217 -0
  661. package/.versions/2.0.18/.pi/agent-fleet/scripts/flow.ts +157 -0
  662. package/.versions/2.0.18/.pi/agent-fleet/scripts/hermes-monitor-capability-runner.ts +25 -0
  663. package/.versions/2.0.18/.pi/agent-fleet/scripts/hermes-monitor-scenario.ts +474 -0
  664. package/.versions/2.0.18/.pi/agent-fleet/scripts/hermes-watchdog-capability-probe.ts +45 -0
  665. package/.versions/2.0.18/.pi/agent-fleet/scripts/install-hermes-plugin.sh +180 -0
  666. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/claude-bridge-core.ts +208 -0
  667. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/coms-envelope.ts +582 -0
  668. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/fake-herdr-server.ts +88 -0
  669. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/fleet-codex-catalog.ts +63 -0
  670. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/fleet-codex-operations.ts +190 -0
  671. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/fleet-codex-session.ts +166 -0
  672. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/fleet-codex-transport.ts +124 -0
  673. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/fleet-command.ts +252 -0
  674. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/flow-command.ts +98 -0
  675. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/flow-maintenance.ts +230 -0
  676. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/herdr-layout.ts +281 -0
  677. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/hermes-bridge-core.ts +241 -0
  678. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/hermes-monitor-events.ts +1 -0
  679. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/hermes-monitor-herdr.ts +2 -0
  680. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/hermes-monitor-model.ts +3 -0
  681. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/hermes-monitor-registry.ts +2 -0
  682. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/hermes-monitor-socket.ts +2 -0
  683. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/hermes-monitor-store.ts +2 -0
  684. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/monitor-env.ts +146 -0
  685. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/peer-launch.ts +318 -0
  686. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/persona-banner.ts +62 -0
  687. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/persona-dirs.ts +25 -0
  688. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/runtime-dependencies.js +124 -0
  689. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/spawn-stagger.ts +101 -0
  690. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/team-project.ts +178 -0
  691. package/.versions/2.0.18/.pi/agent-fleet/scripts/lib/team-snapshot.ts +147 -0
  692. package/.versions/2.0.18/.pi/agent-fleet/scripts/package-lock.json +35 -0
  693. package/.versions/2.0.18/.pi/agent-fleet/scripts/package.json +9 -0
  694. package/.versions/2.0.18/.pi/agent-fleet/scripts/peer-banner.ts +41 -0
  695. package/.versions/2.0.18/.pi/agent-fleet/scripts/peer-launch.ts +283 -0
  696. package/.versions/2.0.18/.pi/agent-fleet/scripts/team-snapshot.ts +237 -0
  697. package/.versions/2.0.18/.pi/agent-fleet/scripts/team-up.ts +378 -0
  698. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/agent-phase.ts +179 -0
  699. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/changes.ts +61 -0
  700. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/debate.ts +149 -0
  701. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/env.ts +34 -0
  702. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/envelopes.ts +169 -0
  703. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/gates.ts +81 -0
  704. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/git.ts +96 -0
  705. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/isolated-snapshot.ts +125 -0
  706. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/merge.ts +95 -0
  707. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/model-profile.ts +22 -0
  708. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/model-visibility.ts +92 -0
  709. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/permissions.ts +130 -0
  710. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/personas.ts +57 -0
  711. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/poll.ts +86 -0
  712. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/project-policy.ts +36 -0
  713. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/quality.ts +64 -0
  714. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/run.ts +108 -0
  715. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/scout-data-boundary.ts +55 -0
  716. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/trace.ts +34 -0
  717. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/voices.ts +128 -0
  718. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/lib/writer-lease.ts +112 -0
  719. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/tsconfig.json +22 -0
  720. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/wf-build-test.ts +61 -0
  721. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/wf-debate.ts +87 -0
  722. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/wf-document.ts +50 -0
  723. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/wf-poll.ts +95 -0
  724. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/wf-quality.ts +20 -0
  725. package/.versions/2.0.18/.pi/agent-fleet/scripts/workflows/wf-scout.ts +40 -0
  726. package/.versions/2.0.18/.pi/agents/dispatch-policy.yaml +32 -0
  727. package/.versions/2.0.18/.pi/agents/model-profiles.yaml +134 -0
  728. package/.versions/2.0.18/.pi/agents/peers.yaml +147 -0
  729. package/.versions/2.0.18/.pi/agents/teams.yaml +41 -0
  730. package/.versions/2.0.18/.pi/agents/voices.yaml +13 -0
  731. package/.versions/2.0.18/.pi/damage-control-rules.yaml +297 -0
  732. package/.versions/2.0.18/.pi/extensions/btw/README.md +120 -0
  733. package/.versions/2.0.18/.pi/extensions/btw/index.ts +914 -0
  734. package/.versions/2.0.18/.pi/extensions/btw/package.json +6 -0
  735. package/.versions/2.0.18/.pi/extensions/btw/state.js +179 -0
  736. package/.versions/2.0.18/.pi/extensions/chrome-devtools-mcp/README.md +55 -0
  737. package/.versions/2.0.18/.pi/extensions/chrome-devtools-mcp/index.ts +93 -0
  738. package/.versions/2.0.18/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
  739. package/.versions/2.0.18/.pi/extensions/compact-and-continue/README.md +42 -0
  740. package/.versions/2.0.18/.pi/extensions/compact-and-continue/index.ts +120 -0
  741. package/.versions/2.0.18/.pi/extensions/compact-and-continue/package.json +6 -0
  742. package/.versions/2.0.18/.pi/extensions/mcp-bridge/README.md +46 -0
  743. package/.versions/2.0.18/.pi/extensions/mcp-bridge/index.ts +206 -0
  744. package/.versions/2.0.18/.pi/extensions/mcp-bridge/package.json +6 -0
  745. package/.versions/2.0.18/.pi/extensions/package-lock.json +1175 -0
  746. package/.versions/2.0.18/.pi/extensions/package.json +9 -0
  747. package/.versions/2.0.18/.pi/extensions/pi-voice-stt/README.md +224 -0
  748. package/.versions/2.0.18/.pi/extensions/pi-voice-stt/config.ts +198 -0
  749. package/.versions/2.0.18/.pi/extensions/pi-voice-stt/examples/stt.json +35 -0
  750. package/.versions/2.0.18/.pi/extensions/pi-voice-stt/index.ts +248 -0
  751. package/.versions/2.0.18/.pi/extensions/pi-voice-stt/package.json +6 -0
  752. package/.versions/2.0.18/.pi/extensions/pi-voice-stt/providers.ts +214 -0
  753. package/.versions/2.0.18/.pi/extensions/pi-voice-stt/recorder.ts +158 -0
  754. package/.versions/2.0.18/.pi/harnesses/agent-hub/README.md +1483 -0
  755. package/.versions/2.0.18/.pi/harnesses/agent-hub/acceptance.ts +199 -0
  756. package/.versions/2.0.18/.pi/harnesses/agent-hub/access-approval.ts +135 -0
  757. package/.versions/2.0.18/.pi/harnesses/agent-hub/agentic-contract.ts +43 -0
  758. package/.versions/2.0.18/.pi/harnesses/agent-hub/agentic-evidence.ts +64 -0
  759. package/.versions/2.0.18/.pi/harnesses/agent-hub/agentic-hub.ts +54 -0
  760. package/.versions/2.0.18/.pi/harnesses/agent-hub/agentic-runtime.ts +56 -0
  761. package/.versions/2.0.18/.pi/harnesses/agent-hub/agentic-sources-worker.mjs +4 -0
  762. package/.versions/2.0.18/.pi/harnesses/agent-hub/agentic-sources.ts +74 -0
  763. package/.versions/2.0.18/.pi/harnesses/agent-hub/agentic-state.ts +23 -0
  764. package/.versions/2.0.18/.pi/harnesses/agent-hub/artifacts.js +146 -0
  765. package/.versions/2.0.18/.pi/harnesses/agent-hub/assertion-ledger.js +67 -0
  766. package/.versions/2.0.18/.pi/harnesses/agent-hub/assist-profile.ts +16 -0
  767. package/.versions/2.0.18/.pi/harnesses/agent-hub/backend-policy.js +174 -0
  768. package/.versions/2.0.18/.pi/harnesses/agent-hub/bounded-output.ts +26 -0
  769. package/.versions/2.0.18/.pi/harnesses/agent-hub/budget-continuation.ts +13 -0
  770. package/.versions/2.0.18/.pi/harnesses/agent-hub/budget-recovery.ts +214 -0
  771. package/.versions/2.0.18/.pi/harnesses/agent-hub/capability-confirmation.ts +47 -0
  772. package/.versions/2.0.18/.pi/harnesses/agent-hub/capability-packs.ts +184 -0
  773. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/agent-model-thinking.ts +10 -0
  774. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/agent-model.ts +10 -0
  775. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/agent-models-substitute.ts +10 -0
  776. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/agents-add.ts +9 -0
  777. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/agents-drop.ts +9 -0
  778. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/agents-history.ts +9 -0
  779. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/agents-kill.ts +10 -0
  780. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/agents-list.ts +9 -0
  781. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/agents-restart.ts +10 -0
  782. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/agents-save.ts +9 -0
  783. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/agents-team.ts +9 -0
  784. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/audit.ts +9 -0
  785. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/budget-continue.ts +10 -0
  786. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/compound.ts +9 -0
  787. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/coms.ts +9 -0
  788. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/context-command.ts +9 -0
  789. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/context.ts +47 -0
  790. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/debate.ts +9 -0
  791. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/dispatch-policy.ts +9 -0
  792. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/handoff.ts +10 -0
  793. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/hub-report.ts +9 -0
  794. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/models.ts +10 -0
  795. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/poll.ts +9 -0
  796. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/recover.ts +61 -0
  797. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/retry.ts +10 -0
  798. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/task-triage-recover.ts +12 -0
  799. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/task-triage-waive.ts +12 -0
  800. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/watchdog.ts +9 -0
  801. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/work-mode.ts +29 -0
  802. package/.versions/2.0.18/.pi/harnesses/agent-hub/commands/zoom.ts +10 -0
  803. package/.versions/2.0.18/.pi/harnesses/agent-hub/config/agents.ts +178 -0
  804. package/.versions/2.0.18/.pi/harnesses/agent-hub/config/model-profiles.ts +236 -0
  805. package/.versions/2.0.18/.pi/harnesses/agent-hub/config/overrides.ts +165 -0
  806. package/.versions/2.0.18/.pi/harnesses/agent-hub/context/agent-state.ts +30 -0
  807. package/.versions/2.0.18/.pi/harnesses/agent-hub/context/assertions-artifacts.ts +221 -0
  808. package/.versions/2.0.18/.pi/harnesses/agent-hub/context/budgets.ts +206 -0
  809. package/.versions/2.0.18/.pi/harnesses/agent-hub/context/hub-state.ts +40 -0
  810. package/.versions/2.0.18/.pi/harnesses/agent-hub/context-budget-snapshot.ts +105 -0
  811. package/.versions/2.0.18/.pi/harnesses/agent-hub/context-pressure.ts +191 -0
  812. package/.versions/2.0.18/.pi/harnesses/agent-hub/context-window.js +108 -0
  813. package/.versions/2.0.18/.pi/harnesses/agent-hub/debate-command.ts +176 -0
  814. package/.versions/2.0.18/.pi/harnesses/agent-hub/delegate.ts +478 -0
  815. package/.versions/2.0.18/.pi/harnesses/agent-hub/deterministic-fs.ts +169 -0
  816. package/.versions/2.0.18/.pi/harnesses/agent-hub/diagnostic-probe-extension.ts +26 -0
  817. package/.versions/2.0.18/.pi/harnesses/agent-hub/diagnostic-series-budget.ts +178 -0
  818. package/.versions/2.0.18/.pi/harnesses/agent-hub/dispatch-coms.ts +252 -0
  819. package/.versions/2.0.18/.pi/harnesses/agent-hub/dispatch-core.ts +27 -0
  820. package/.versions/2.0.18/.pi/harnesses/agent-hub/dispatch-native-complete.ts +173 -0
  821. package/.versions/2.0.18/.pi/harnesses/agent-hub/dispatch-native-prepare.ts +270 -0
  822. package/.versions/2.0.18/.pi/harnesses/agent-hub/dispatch-native-spawn.ts +233 -0
  823. package/.versions/2.0.18/.pi/harnesses/agent-hub/dispatch-native-types.ts +267 -0
  824. package/.versions/2.0.18/.pi/harnesses/agent-hub/dispatch-native.ts +234 -0
  825. package/.versions/2.0.18/.pi/harnesses/agent-hub/dispatch-observability.ts +225 -0
  826. package/.versions/2.0.18/.pi/harnesses/agent-hub/dispatch-triage-contract.ts +27 -0
  827. package/.versions/2.0.18/.pi/harnesses/agent-hub/dispatch-triage-eval.ts +77 -0
  828. package/.versions/2.0.18/.pi/harnesses/agent-hub/dispatch-triage-policy.ts +29 -0
  829. package/.versions/2.0.18/.pi/harnesses/agent-hub/dispatch-triage-runtime.ts +55 -0
  830. package/.versions/2.0.18/.pi/harnesses/agent-hub/dispatch-triage-state.ts +33 -0
  831. package/.versions/2.0.18/.pi/harnesses/agent-hub/docs-lane.js +123 -0
  832. package/.versions/2.0.18/.pi/harnesses/agent-hub/drift-judge.ts +352 -0
  833. package/.versions/2.0.18/.pi/harnesses/agent-hub/drift-runtime.ts +480 -0
  834. package/.versions/2.0.18/.pi/harnesses/agent-hub/drift-system1-policy.ts +39 -0
  835. package/.versions/2.0.18/.pi/harnesses/agent-hub/drift-system1.ts +469 -0
  836. package/.versions/2.0.18/.pi/harnesses/agent-hub/drift-watchdog.js +349 -0
  837. package/.versions/2.0.18/.pi/harnesses/agent-hub/evidence-manifest.ts +51 -0
  838. package/.versions/2.0.18/.pi/harnesses/agent-hub/evidence-rules.js +96 -0
  839. package/.versions/2.0.18/.pi/harnesses/agent-hub/execution-evidence.ts +80 -0
  840. package/.versions/2.0.18/.pi/harnesses/agent-hub/external-blocker.js +85 -0
  841. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/adapters.ts +82 -0
  842. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/broker-client.ts +56 -0
  843. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/broker.ts +125 -0
  844. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/child-extension.ts +33 -0
  845. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/descendant.ts +63 -0
  846. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/discovery-worker.mjs +15 -0
  847. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/discovery.ts +126 -0
  848. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/evaluate.ts +48 -0
  849. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/hub.ts +152 -0
  850. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/native-context.ts +8 -0
  851. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/native-fixture.test-support.ts +99 -0
  852. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/owners.ts +96 -0
  853. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/results.ts +54 -0
  854. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/runtime.ts +120 -0
  855. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/sources.ts +69 -0
  856. package/.versions/2.0.18/.pi/harnesses/agent-hub/file-discovery/state.ts +22 -0
  857. package/.versions/2.0.18/.pi/harnesses/agent-hub/filesystem-tool.ts +185 -0
  858. package/.versions/2.0.18/.pi/harnesses/agent-hub/fixtures/registration-surface.json +65 -0
  859. package/.versions/2.0.18/.pi/harnesses/agent-hub/fixtures/t0a-synthetic/catalog.ts +189 -0
  860. package/.versions/2.0.18/.pi/harnesses/agent-hub/footer.ts +30 -0
  861. package/.versions/2.0.18/.pi/harnesses/agent-hub/helpers.ts +270 -0
  862. package/.versions/2.0.18/.pi/harnesses/agent-hub/hub-state-audit.js +65 -0
  863. package/.versions/2.0.18/.pi/harnesses/agent-hub/index.ts +2625 -0
  864. package/.versions/2.0.18/.pi/harnesses/agent-hub/input/completions.ts +82 -0
  865. package/.versions/2.0.18/.pi/harnesses/agent-hub/input/shortcuts.ts +20 -0
  866. package/.versions/2.0.18/.pi/harnesses/agent-hub/lifecycle/context-pressure.ts +133 -0
  867. package/.versions/2.0.18/.pi/harnesses/agent-hub/lifecycle/monitor-session.ts +104 -0
  868. package/.versions/2.0.18/.pi/harnesses/agent-hub/lifecycle/session-orchestration.ts +144 -0
  869. package/.versions/2.0.18/.pi/harnesses/agent-hub/lifecycle/turn-handlers.ts +74 -0
  870. package/.versions/2.0.18/.pi/harnesses/agent-hub/monitor-control.ts +9 -0
  871. package/.versions/2.0.18/.pi/harnesses/agent-hub/monitor-invoke-journal.ts +131 -0
  872. package/.versions/2.0.18/.pi/harnesses/agent-hub/monitor-invoke.ts +92 -0
  873. package/.versions/2.0.18/.pi/harnesses/agent-hub/monitor-lifecycle.ts +13 -0
  874. package/.versions/2.0.18/.pi/harnesses/agent-hub/monitor-publisher.ts +59 -0
  875. package/.versions/2.0.18/.pi/harnesses/agent-hub/monitor-recovery.ts +3 -0
  876. package/.versions/2.0.18/.pi/harnesses/agent-hub/monitor-runtime.ts +3 -0
  877. package/.versions/2.0.18/.pi/harnesses/agent-hub/monitor-session-bridge.ts +266 -0
  878. package/.versions/2.0.18/.pi/harnesses/agent-hub/no-progress.ts +593 -0
  879. package/.versions/2.0.18/.pi/harnesses/agent-hub/orchestration-activation.ts +112 -0
  880. package/.versions/2.0.18/.pi/harnesses/agent-hub/orchestration-metrics.ts +78 -0
  881. package/.versions/2.0.18/.pi/harnesses/agent-hub/orchestration-route.ts +76 -0
  882. package/.versions/2.0.18/.pi/harnesses/agent-hub/package.json +7 -0
  883. package/.versions/2.0.18/.pi/harnesses/agent-hub/peer-spawn-plan.ts +116 -0
  884. package/.versions/2.0.18/.pi/harnesses/agent-hub/policy/models.ts +153 -0
  885. package/.versions/2.0.18/.pi/harnesses/agent-hub/policy/profile-activation.ts +62 -0
  886. package/.versions/2.0.18/.pi/harnesses/agent-hub/policy/profile-runtime.ts +120 -0
  887. package/.versions/2.0.18/.pi/harnesses/agent-hub/policy/roster.ts +94 -0
  888. package/.versions/2.0.18/.pi/harnesses/agent-hub/policy/work-mode.ts +137 -0
  889. package/.versions/2.0.18/.pi/harnesses/agent-hub/poll-command.ts +176 -0
  890. package/.versions/2.0.18/.pi/harnesses/agent-hub/presentation.ts +48 -0
  891. package/.versions/2.0.18/.pi/harnesses/agent-hub/proactive-config.ts +21 -0
  892. package/.versions/2.0.18/.pi/harnesses/agent-hub/proactive-evaluate.ts +138 -0
  893. package/.versions/2.0.18/.pi/harnesses/agent-hub/proactive-external-git.ts +59 -0
  894. package/.versions/2.0.18/.pi/harnesses/agent-hub/proactive-external.ts +77 -0
  895. package/.versions/2.0.18/.pi/harnesses/agent-hub/proactive-feedback.ts +104 -0
  896. package/.versions/2.0.18/.pi/harnesses/agent-hub/proactive-findings.ts +115 -0
  897. package/.versions/2.0.18/.pi/harnesses/agent-hub/proactive-local.ts +89 -0
  898. package/.versions/2.0.18/.pi/harnesses/agent-hub/proactive-observer.ts +106 -0
  899. package/.versions/2.0.18/.pi/harnesses/agent-hub/proactive-rules.ts +171 -0
  900. package/.versions/2.0.18/.pi/harnesses/agent-hub/proactive-runtime.ts +318 -0
  901. package/.versions/2.0.18/.pi/harnesses/agent-hub/proactive-selection.ts +68 -0
  902. package/.versions/2.0.18/.pi/harnesses/agent-hub/proactive-snapshot-worker.mjs +12 -0
  903. package/.versions/2.0.18/.pi/harnesses/agent-hub/proactive-snapshot.ts +258 -0
  904. package/.versions/2.0.18/.pi/harnesses/agent-hub/proactive-types.ts +67 -0
  905. package/.versions/2.0.18/.pi/harnesses/agent-hub/process-obligations.ts +158 -0
  906. package/.versions/2.0.18/.pi/harnesses/agent-hub/prompts/context.ts +56 -0
  907. package/.versions/2.0.18/.pi/harnesses/agent-hub/prompts/fragments.ts +95 -0
  908. package/.versions/2.0.18/.pi/harnesses/agent-hub/prompts/session-start.ts +90 -0
  909. package/.versions/2.0.18/.pi/harnesses/agent-hub/prompts/system-prompt.ts +125 -0
  910. package/.versions/2.0.18/.pi/harnesses/agent-hub/provider-semaphore.js +138 -0
  911. package/.versions/2.0.18/.pi/harnesses/agent-hub/reconcile.ts +26 -0
  912. package/.versions/2.0.18/.pi/harnesses/agent-hub/recover-policy.ts +44 -0
  913. package/.versions/2.0.18/.pi/harnesses/agent-hub/recover-state.ts +104 -0
  914. package/.versions/2.0.18/.pi/harnesses/agent-hub/recovery-contract.ts +150 -0
  915. package/.versions/2.0.18/.pi/harnesses/agent-hub/rerun-policy.ts +40 -0
  916. package/.versions/2.0.18/.pi/harnesses/agent-hub/research/controls.ts +74 -0
  917. package/.versions/2.0.18/.pi/harnesses/agent-hub/research/runtime.ts +201 -0
  918. package/.versions/2.0.18/.pi/harnesses/agent-hub/research/spawn-run.ts +194 -0
  919. package/.versions/2.0.18/.pi/harnesses/agent-hub/research-watchdog.ts +40 -0
  920. package/.versions/2.0.18/.pi/harnesses/agent-hub/return-contract.js +349 -0
  921. package/.versions/2.0.18/.pi/harnesses/agent-hub/return-extract.js +77 -0
  922. package/.versions/2.0.18/.pi/harnesses/agent-hub/review-closure.ts +43 -0
  923. package/.versions/2.0.18/.pi/harnesses/agent-hub/review-findings.js +104 -0
  924. package/.versions/2.0.18/.pi/harnesses/agent-hub/routing-observation.ts +41 -0
  925. package/.versions/2.0.18/.pi/harnesses/agent-hub/routing-proposal.ts +46 -0
  926. package/.versions/2.0.18/.pi/harnesses/agent-hub/run-budget.js +554 -0
  927. package/.versions/2.0.18/.pi/harnesses/agent-hub/run-namespace.js +93 -0
  928. package/.versions/2.0.18/.pi/harnesses/agent-hub/runtime-test-check.ts +54 -0
  929. package/.versions/2.0.18/.pi/harnesses/agent-hub/safety-routing.ts +22 -0
  930. package/.versions/2.0.18/.pi/harnesses/agent-hub/scope-gate.js +144 -0
  931. package/.versions/2.0.18/.pi/harnesses/agent-hub/session-audit.ts +313 -0
  932. package/.versions/2.0.18/.pi/harnesses/agent-hub/session-health.js +110 -0
  933. package/.versions/2.0.18/.pi/harnesses/agent-hub/session-start.ts +42 -0
  934. package/.versions/2.0.18/.pi/harnesses/agent-hub/spawn.ts +563 -0
  935. package/.versions/2.0.18/.pi/harnesses/agent-hub/system1-activity.ts +625 -0
  936. package/.versions/2.0.18/.pi/harnesses/agent-hub/system1-communication-store.ts +190 -0
  937. package/.versions/2.0.18/.pi/harnesses/agent-hub/system1-report.ts +275 -0
  938. package/.versions/2.0.18/.pi/harnesses/agent-hub/system1-runtime.ts +258 -0
  939. package/.versions/2.0.18/.pi/harnesses/agent-hub/task-resume-contract.ts +70 -0
  940. package/.versions/2.0.18/.pi/harnesses/agent-hub/task-triage-authorization.ts +122 -0
  941. package/.versions/2.0.18/.pi/harnesses/agent-hub/task-triage-config.ts +29 -0
  942. package/.versions/2.0.18/.pi/harnesses/agent-hub/task-triage-contract.ts +14 -0
  943. package/.versions/2.0.18/.pi/harnesses/agent-hub/task-triage-live-stage-boundary.mjs +49 -0
  944. package/.versions/2.0.18/.pi/harnesses/agent-hub/task-triage-obligations.ts +104 -0
  945. package/.versions/2.0.18/.pi/harnesses/agent-hub/task-triage-policy.ts +16 -0
  946. package/.versions/2.0.18/.pi/harnesses/agent-hub/task-triage-review-contract.mjs +43 -0
  947. package/.versions/2.0.18/.pi/harnesses/agent-hub/task-triage-reviewer-only-contract.mjs +156 -0
  948. package/.versions/2.0.18/.pi/harnesses/agent-hub/task-triage-reviewer-only-diagnostics.mjs +112 -0
  949. package/.versions/2.0.18/.pi/harnesses/agent-hub/task-triage-runtime.ts +125 -0
  950. package/.versions/2.0.18/.pi/harnesses/agent-hub/task-triage-stage-guard.ts +21 -0
  951. package/.versions/2.0.18/.pi/harnesses/agent-hub/task-triage-state.ts +46 -0
  952. package/.versions/2.0.18/.pi/harnesses/agent-hub/timeline.ts +72 -0
  953. package/.versions/2.0.18/.pi/harnesses/agent-hub/tool-catalog-runtime.ts +68 -0
  954. package/.versions/2.0.18/.pi/harnesses/agent-hub/tool-catalog-state.ts +123 -0
  955. package/.versions/2.0.18/.pi/harnesses/agent-hub/tool-protocol.ts +134 -0
  956. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/action-executors.ts +213 -0
  957. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/ask-system1-files.ts +15 -0
  958. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/ask-system1.ts +25 -0
  959. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/coms-tools.ts +139 -0
  960. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/context.ts +144 -0
  961. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/dispatch-agent.ts +88 -0
  962. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/dispatch-execution.ts +560 -0
  963. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/dispatch-triage.ts +16 -0
  964. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/execution-orchestration.ts +22 -0
  965. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/fleet-tools.ts +200 -0
  966. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/herdr-executors.ts +95 -0
  967. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/run-flow.ts +136 -0
  968. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/set-task-tier.ts +31 -0
  969. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/spawn-research.ts +67 -0
  970. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/team-adjust.ts +29 -0
  971. package/.versions/2.0.18/.pi/harnesses/agent-hub/tools/verification-contract.ts +80 -0
  972. package/.versions/2.0.18/.pi/harnesses/agent-hub/tsconfig.json +22 -0
  973. package/.versions/2.0.18/.pi/harnesses/agent-hub/types.ts +66 -0
  974. package/.versions/2.0.18/.pi/harnesses/agent-hub/ui/activity-dots.ts +25 -0
  975. package/.versions/2.0.18/.pi/harnesses/agent-hub/ui/context-budget.ts +87 -0
  976. package/.versions/2.0.18/.pi/harnesses/agent-hub/ui/detail-panel.ts +192 -0
  977. package/.versions/2.0.18/.pi/harnesses/agent-hub/ui/fleet-actions.ts +78 -0
  978. package/.versions/2.0.18/.pi/harnesses/agent-hub/ui/fleet-dashboard.ts +155 -0
  979. package/.versions/2.0.18/.pi/harnesses/agent-hub/ui/fleet-editor.ts +44 -0
  980. package/.versions/2.0.18/.pi/harnesses/agent-hub/ui/fleet-source.ts +179 -0
  981. package/.versions/2.0.18/.pi/harnesses/agent-hub/ui/grid.ts +159 -0
  982. package/.versions/2.0.18/.pi/harnesses/agent-hub/ui/history-store.ts +137 -0
  983. package/.versions/2.0.18/.pi/harnesses/agent-hub/ui/history.ts +234 -0
  984. package/.versions/2.0.18/.pi/harnesses/agent-hub/ui/pool.ts +103 -0
  985. package/.versions/2.0.18/.pi/harnesses/agent-hub/ui/running-strip.ts +2 -0
  986. package/.versions/2.0.18/.pi/harnesses/agent-hub/ui/system1-communication.ts +59 -0
  987. package/.versions/2.0.18/.pi/harnesses/agent-hub/ui/zoom.ts +206 -0
  988. package/.versions/2.0.18/.pi/harnesses/agent-hub/unknown-tool-counter.ts +116 -0
  989. package/.versions/2.0.18/.pi/harnesses/agent-hub/version.ts +42 -0
  990. package/.versions/2.0.18/.pi/harnesses/agent-hub/watchdog-evaluation.ts +110 -0
  991. package/.versions/2.0.18/.pi/harnesses/agent-hub/work-mode-controls.ts +56 -0
  992. package/.versions/2.0.18/.pi/harnesses/agent-hub/work-mode.ts +187 -0
  993. package/.versions/2.0.18/.pi/harnesses/agent-hub/write-isolation.ts +187 -0
  994. package/.versions/2.0.18/.pi/harnesses/ask-user-remote/README.md +59 -0
  995. package/.versions/2.0.18/.pi/harnesses/ask-user-remote/index.ts +558 -0
  996. package/.versions/2.0.18/.pi/harnesses/ask-user-remote/questions.ts +161 -0
  997. package/.versions/2.0.18/.pi/harnesses/ask-user-remote/race-core.js +124 -0
  998. package/.versions/2.0.18/.pi/harnesses/ask-user-remote/runtime-ask.ts +68 -0
  999. package/.versions/2.0.18/.pi/harnesses/coms/README.md +100 -0
  1000. package/.versions/2.0.18/.pi/harnesses/coms/index.ts +282 -0
  1001. package/.versions/2.0.18/.pi/harnesses/coms/package.json +7 -0
  1002. package/.versions/2.0.18/.pi/harnesses/coms/version.ts +42 -0
  1003. package/.versions/2.0.18/.pi/harnesses/damage-control-continue/README.md +135 -0
  1004. package/.versions/2.0.18/.pi/harnesses/damage-control-continue/index.ts +533 -0
  1005. package/.versions/2.0.18/.pi/harnesses/damage-control-continue/package.json +7 -0
  1006. package/.versions/2.0.18/.pi/harnesses/damage-control-continue/version.ts +42 -0
  1007. package/.versions/2.0.18/.pi/harnesses/lib/changed-file-diagnostics.ts +642 -0
  1008. package/.versions/2.0.18/.pi/harnesses/lib/coms-core-io.ts +385 -0
  1009. package/.versions/2.0.18/.pi/harnesses/lib/coms-core.ts +577 -0
  1010. package/.versions/2.0.18/.pi/harnesses/lib/coms-registry-entry.ts +94 -0
  1011. package/.versions/2.0.18/.pi/harnesses/lib/context-budget-child-prompt.ts +220 -0
  1012. package/.versions/2.0.18/.pi/harnesses/lib/context-budget-hub-prompt.ts +121 -0
  1013. package/.versions/2.0.18/.pi/harnesses/lib/context-budget-view.ts +107 -0
  1014. package/.versions/2.0.18/.pi/harnesses/lib/context-budget.ts +114 -0
  1015. package/.versions/2.0.18/.pi/harnesses/lib/damage-control-shared.ts +226 -0
  1016. package/.versions/2.0.18/.pi/harnesses/lib/deterministic-handle-path.ts +25 -0
  1017. package/.versions/2.0.18/.pi/harnesses/lib/fixtures/context-budget-profiles.json +11 -0
  1018. package/.versions/2.0.18/.pi/harnesses/lib/fixtures/hub-prompt-operator.legacy.txt +73 -0
  1019. package/.versions/2.0.18/.pi/harnesses/lib/fixtures/hub-prompt-orchestrator.legacy.txt +73 -0
  1020. package/.versions/2.0.18/.pi/harnesses/lib/fleet-dashboard-ops.ts +178 -0
  1021. package/.versions/2.0.18/.pi/harnesses/lib/fleet-dashboard-view.ts +172 -0
  1022. package/.versions/2.0.18/.pi/harnesses/lib/fleet-detail-view.ts +339 -0
  1023. package/.versions/2.0.18/.pi/harnesses/lib/fleet-overlay.ts +26 -0
  1024. package/.versions/2.0.18/.pi/harnesses/lib/fleet-panel.ts +34 -0
  1025. package/.versions/2.0.18/.pi/harnesses/lib/fleet-read-model.ts +609 -0
  1026. package/.versions/2.0.18/.pi/harnesses/lib/fleet-selection.ts +24 -0
  1027. package/.versions/2.0.18/.pi/harnesses/lib/fleet-strip-controller.ts +75 -0
  1028. package/.versions/2.0.18/.pi/harnesses/lib/fleet-strip-view.ts +179 -0
  1029. package/.versions/2.0.18/.pi/harnesses/lib/fleet-transcript-store.ts +244 -0
  1030. package/.versions/2.0.18/.pi/harnesses/lib/herdr-client.ts +472 -0
  1031. package/.versions/2.0.18/.pi/harnesses/lib/herdr-presence.ts +399 -0
  1032. package/.versions/2.0.18/.pi/harnesses/lib/hermes-monitor-events.ts +136 -0
  1033. package/.versions/2.0.18/.pi/harnesses/lib/hermes-monitor-herdr.ts +28 -0
  1034. package/.versions/2.0.18/.pi/harnesses/lib/hermes-monitor-model.ts +18 -0
  1035. package/.versions/2.0.18/.pi/harnesses/lib/hermes-monitor-registry.ts +6 -0
  1036. package/.versions/2.0.18/.pi/harnesses/lib/hermes-monitor-socket.ts +163 -0
  1037. package/.versions/2.0.18/.pi/harnesses/lib/hermes-monitor-store.ts +31 -0
  1038. package/.versions/2.0.18/.pi/harnesses/lib/policy-roots.ts +142 -0
  1039. package/.versions/2.0.18/.pi/harnesses/lib/safe-source-read.js +29 -0
  1040. package/.versions/2.0.18/.pi/harnesses/lib/spawned-peers.js +191 -0
  1041. package/.versions/2.0.18/.pi/harnesses/lib/system1/config-agentic.js +15 -0
  1042. package/.versions/2.0.18/.pi/harnesses/lib/system1/config-file-discovery.js +21 -0
  1043. package/.versions/2.0.18/.pi/harnesses/lib/system1/config-json.js +37 -0
  1044. package/.versions/2.0.18/.pi/harnesses/lib/system1/config-loader.js +44 -0
  1045. package/.versions/2.0.18/.pi/harnesses/lib/system1/config-proactive.js +68 -0
  1046. package/.versions/2.0.18/.pi/harnesses/lib/system1/config-triage.js +42 -0
  1047. package/.versions/2.0.18/.pi/harnesses/lib/system1/config-v2.js +106 -0
  1048. package/.versions/2.0.18/.pi/harnesses/lib/system1/config.js +50 -0
  1049. package/.versions/2.0.18/.pi/harnesses/lib/system1/contracts.ts +154 -0
  1050. package/.versions/2.0.18/.pi/harnesses/lib/system1/demo.ts +95 -0
  1051. package/.versions/2.0.18/.pi/harnesses/lib/system1/jev.ts +503 -0
  1052. package/.versions/2.0.18/.pi/harnesses/lib/system1/selection.js +11 -0
  1053. package/.versions/2.0.18/.pi/harnesses/lib/system1/service.ts +245 -0
  1054. package/.versions/2.0.18/.pi/harnesses/lib/update-check.ts +222 -0
  1055. package/.versions/2.0.18/.pi/harnesses/package-lock.json +2039 -0
  1056. package/.versions/2.0.18/.pi/harnesses/package.json +10 -0
  1057. package/.versions/2.0.18/.pi/prompts/af-build.md +27 -0
  1058. package/.versions/2.0.18/.pi/prompts/af-code-simplify.md +22 -0
  1059. package/.versions/2.0.18/.pi/prompts/af-constraints.md +31 -0
  1060. package/.versions/2.0.18/.pi/prompts/af-plan.md +17 -0
  1061. package/.versions/2.0.18/.pi/prompts/af-review.md +16 -0
  1062. package/.versions/2.0.18/.pi/prompts/af-set-hermes-telegram.md +15 -0
  1063. package/.versions/2.0.18/.pi/prompts/af-set-hermes-watchdog.md +6 -0
  1064. package/.versions/2.0.18/.pi/prompts/af-setup-rules.md +20 -0
  1065. package/.versions/2.0.18/.pi/prompts/af-ship.md +17 -0
  1066. package/.versions/2.0.18/.pi/prompts/af-spec.md +15 -0
  1067. package/.versions/2.0.18/.pi/prompts/af-test.md +19 -0
  1068. package/.versions/2.0.18/.pi/skills/bowser/SKILL.md +145 -0
  1069. package/.versions/2.0.18/.version +1 -0
  1070. package/.versions/2.0.18/agents/architect.md +24 -0
  1071. package/.versions/2.0.18/agents/bowser.md +28 -0
  1072. package/.versions/2.0.18/agents/builder.md +55 -0
  1073. package/.versions/2.0.18/agents/code-reviewer.md +209 -0
  1074. package/.versions/2.0.18/agents/deep-researcher.md +32 -0
  1075. package/.versions/2.0.18/agents/documenter.md +22 -0
  1076. package/.versions/2.0.18/agents/orchestrator.md +22 -0
  1077. package/.versions/2.0.18/agents/plan-reviewer.md +83 -0
  1078. package/.versions/2.0.18/agents/planner.md +105 -0
  1079. package/.versions/2.0.18/agents/releaser.md +24 -0
  1080. package/.versions/2.0.18/agents/researcher.md +30 -0
  1081. package/.versions/2.0.18/agents/security-auditor.md +167 -0
  1082. package/.versions/2.0.18/agents/test-engineer.md +153 -0
  1083. package/.versions/2.0.18/agents/web-debugger.md +44 -0
  1084. package/.versions/2.0.18/agents/web-performance-auditor.md +194 -0
  1085. package/.versions/2.0.18/bin/catalog/harness-runtime-closure.json +73 -0
  1086. package/.versions/2.0.18/codex/fleet-session-client/SKILL.md +34 -0
  1087. package/.versions/2.0.18/codex/fleet-session-client.zip +0 -0
  1088. package/.versions/2.0.18/docs/ARCHITECTURE.md +874 -0
  1089. package/.versions/2.0.18/docs/agent-fleet-setup.md +1101 -0
  1090. package/.versions/2.0.18/docs/claude-code-coms-bridge.md +147 -0
  1091. package/.versions/2.0.18/docs/codex-session-bridge.md +219 -0
  1092. package/.versions/2.0.18/docs/coms-hermes-bridge.md +188 -0
  1093. package/.versions/2.0.18/docs/getting-started.md +126 -0
  1094. package/.versions/2.0.18/docs/npm-install.md +535 -0
  1095. package/.versions/2.0.18/docs/pi-extensions.md +454 -0
  1096. package/.versions/2.0.18/docs/pi-setup.md +92 -0
  1097. package/.versions/2.0.18/docs/skill-anatomy.md +150 -0
  1098. package/.versions/2.0.18/install-manifest.json +3193 -0
  1099. package/.versions/2.0.18/justfile +247 -0
  1100. package/.versions/2.0.18/manifest-meta.json +1071 -0
  1101. package/.versions/2.0.18/references/accessibility-checklist.md +160 -0
  1102. package/.versions/2.0.18/references/communication-contract.md +26 -0
  1103. package/.versions/2.0.18/references/definition-of-done.md +67 -0
  1104. package/.versions/2.0.18/references/fleet-coordination-patterns.md +171 -0
  1105. package/.versions/2.0.18/references/observability-checklist.md +92 -0
  1106. package/.versions/2.0.18/references/orchestration-patterns.md +370 -0
  1107. package/.versions/2.0.18/references/performance-checklist.md +236 -0
  1108. package/.versions/2.0.18/references/prompting-patterns.md +380 -0
  1109. package/.versions/2.0.18/references/security-checklist.md +245 -0
  1110. package/.versions/2.0.18/references/testing-patterns.md +235 -0
  1111. package/.versions/2.0.18/references/workflow-authoring.md +304 -0
  1112. package/.versions/2.0.18/skills/_internal/grilling.md +59 -0
  1113. package/.versions/2.0.18/skills/browser-testing-with-devtools/SKILL.md +351 -0
  1114. package/.versions/2.0.18/skills/code-review-and-quality/SKILL.md +396 -0
  1115. package/.versions/2.0.18/skills/compound-learning/SKILL.md +137 -0
  1116. package/.versions/2.0.18/skills/constraint-driven-development/SKILL.md +338 -0
  1117. package/.versions/2.0.18/skills/constraint-driven-development/references/floor-guard.md +99 -0
  1118. package/.versions/2.0.18/skills/context-engineering/SKILL.md +341 -0
  1119. package/.versions/2.0.18/skills/deprecation-and-migration/SKILL.md +247 -0
  1120. package/.versions/2.0.18/skills/designing-agents/SKILL.md +394 -0
  1121. package/.versions/2.0.18/skills/designing-agents/pi-harness-authoring.md +222 -0
  1122. package/.versions/2.0.18/skills/drafting-workflows/SKILL.md +143 -0
  1123. package/.versions/2.0.18/skills/drafting-workflows/scripts/make-workflow.ts +177 -0
  1124. package/.versions/2.0.18/skills/frontend-ui-engineering/SKILL.md +328 -0
  1125. package/.versions/2.0.18/skills/git-workflow-and-versioning/SKILL.md +316 -0
  1126. package/.versions/2.0.18/skills/idea-refine/SKILL.md +182 -0
  1127. package/.versions/2.0.18/skills/idea-refine/examples.md +238 -0
  1128. package/.versions/2.0.18/skills/idea-refine/frameworks.md +99 -0
  1129. package/.versions/2.0.18/skills/idea-refine/refinement-criteria.md +113 -0
  1130. package/.versions/2.0.18/skills/idea-refine/scripts/idea-refine.sh +15 -0
  1131. package/.versions/2.0.18/skills/incremental-implementation/SKILL.md +353 -0
  1132. package/.versions/2.0.18/skills/interview-me/SKILL.md +226 -0
  1133. package/.versions/2.0.18/skills/orchestration-verification/SKILL.md +182 -0
  1134. package/.versions/2.0.18/skills/peer-coms/SKILL.md +90 -0
  1135. package/.versions/2.0.18/skills/performance-optimization/SKILL.md +496 -0
  1136. package/.versions/2.0.18/skills/planning-and-task-breakdown/SKILL.md +318 -0
  1137. package/.versions/2.0.18/skills/repository-ai-setup/SKILL.md +135 -0
  1138. package/.versions/2.0.18/skills/repository-ai-setup/references/agent-fleet-ai-state.template.json +4 -0
  1139. package/.versions/2.0.18/skills/repository-ai-setup/references/apply-contract.md +74 -0
  1140. package/.versions/2.0.18/skills/repository-ai-setup/references/provenance-template.md +16 -0
  1141. package/.versions/2.0.18/skills/repository-ai-setup/references/setup-flow.md +108 -0
  1142. package/.versions/2.0.18/skills/repository-ai-setup/references/verify-setup.md +20 -0
  1143. package/.versions/2.0.18/skills/repository-ai-setup.zip +0 -0
  1144. package/.versions/2.0.18/skills/security-and-hardening/SKILL.md +524 -0
  1145. package/.versions/2.0.18/skills/spec-driven-development/SKILL.md +295 -0
  1146. package/.versions/2.0.18/skills/using-agent-skills/SKILL.md +198 -0
  1147. package/.versions/2.0.18/vendor/agent-skills-upstream/LICENSE +21 -0
  1148. package/.versions/2.0.18/vendor/agent-skills-upstream/README.md +430 -0
  1149. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/api-and-interface-design/SKILL.md +367 -0
  1150. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/browser-testing-with-devtools/SKILL.md +317 -0
  1151. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/ci-cd-and-automation/SKILL.md +390 -0
  1152. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/code-review-and-quality/SKILL.md +396 -0
  1153. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/code-simplification/SKILL.md +331 -0
  1154. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/constraint-driven-development/SKILL.md +311 -0
  1155. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/constraint-driven-development/references/floor-guard.md +99 -0
  1156. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/context-engineering/SKILL.md +337 -0
  1157. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/debugging-and-error-recovery/SKILL.md +300 -0
  1158. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/deprecation-and-migration/SKILL.md +247 -0
  1159. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/documentation-and-adrs/SKILL.md +288 -0
  1160. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/doubt-driven-development/SKILL.md +243 -0
  1161. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/frontend-ui-engineering/SKILL.md +328 -0
  1162. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/git-workflow-and-versioning/SKILL.md +355 -0
  1163. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/idea-refine/SKILL.md +178 -0
  1164. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/idea-refine/examples.md +238 -0
  1165. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/idea-refine/frameworks.md +99 -0
  1166. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/idea-refine/refinement-criteria.md +113 -0
  1167. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/idea-refine/scripts/idea-refine.sh +15 -0
  1168. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/incremental-implementation/SKILL.md +249 -0
  1169. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/interview-me/SKILL.md +225 -0
  1170. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/observability-and-instrumentation/SKILL.md +238 -0
  1171. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/performance-optimization/SKILL.md +496 -0
  1172. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/planning-and-task-breakdown/SKILL.md +257 -0
  1173. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/security-and-hardening/SKILL.md +524 -0
  1174. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/shipping-and-launch/SKILL.md +330 -0
  1175. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/source-driven-development/SKILL.md +216 -0
  1176. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/spec-driven-development/SKILL.md +245 -0
  1177. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/test-driven-development/SKILL.md +398 -0
  1178. package/.versions/2.0.18/vendor/agent-skills-upstream/skills/using-agent-skills/SKILL.md +192 -0
  1179. package/CHANGELOG.md +18 -0
  1180. package/README.md +2 -2
  1181. package/agents/architect.md +2 -2
  1182. package/agents/bowser.md +1 -1
  1183. package/agents/builder.md +5 -5
  1184. package/agents/code-reviewer.md +2 -2
  1185. package/agents/deep-researcher.md +2 -2
  1186. package/agents/documenter.md +3 -3
  1187. package/agents/orchestrator.md +2 -2
  1188. package/agents/plan-reviewer.md +2 -2
  1189. package/agents/planner.md +4 -4
  1190. package/agents/releaser.md +2 -2
  1191. package/agents/researcher.md +2 -2
  1192. package/agents/security-auditor.md +2 -2
  1193. package/agents/test-engineer.md +4 -4
  1194. package/agents/web-debugger.md +2 -2
  1195. package/agents/web-performance-auditor.md +2 -2
  1196. package/bin/cli.js +2 -2
  1197. package/bin/lib/external-content.js +33 -0
  1198. package/bin/lib/project-provenance.js +19 -13
  1199. package/bin/lib/transaction.js +32 -1
  1200. package/docs/ARCHITECTURE.md +42 -2
  1201. package/docs/agent-fleet-setup.md +4 -4
  1202. package/docs/claude-code-coms-bridge.md +17 -4
  1203. package/docs/external-project-ai-content.md +48 -0
  1204. package/docs/npm-install.md +5 -0
  1205. package/docs/system1-agentic.md +133 -0
  1206. package/docs/system1-config.md +23 -1
  1207. package/docs/system1-file-discovery.md +220 -0
  1208. package/install-manifest.json +1 -1
  1209. package/package.json +19 -7
  1210. package/skills/repository-ai-setup/SKILL.md +18 -0
  1211. package/skills/repository-ai-setup.zip +0 -0
@@ -0,0 +1,1101 @@
1
+ # Agent Fleet — Project Files
2
+
3
+ agent-fleet keeps a few small files in a project's `.ai/` directory. They have
4
+ different readers and different lifetimes, so they are kept separate.
5
+
6
+ | File | Read by | When |
7
+ |------|---------|------|
8
+ | `.ai/agent-fleet-overrides.md` | `spec-driven-development`, `planning-and-task-breakdown`, `browser-testing-with-devtools`, `git-workflow-and-versioning`, `compound-learning` (the `rules:`/`docs:` keys of `## agent-hub`), `agent-hub` pi harness | Every run of those skills / every session start of the harness |
9
+ | `.ai/agent-fleet.json` | the deterministic `agent-fleet` lifecycle (`setup`) — human-owned desired state (preset/features); intended to be committed | Every setup plan; created/updated when setup persists desired state or migrates legacy installs |
10
+ | `.ai/agent-fleet-state.json` | the deterministic `agent-fleet` lifecycle (`setup`, `doctor`, `uninstall`) | Every lifecycle plan and apply |
11
+ | `.ai/agent-fleet-setup.md` | humans — rendered from the state file, never parsed back | Rewritten on every setup apply |
12
+ | `.ai/agent-fleet-transaction.json` | the deterministic lifecycle (`setup`, `doctor --fix`) — crash-recovery journal for in-flight file transactions | Written during apply; recovered or discarded by setup/doctor; removed when the transaction commits or is cleaned up |
13
+ | `.ai/stt.json` *(optional)* | `pi-voice-stt` extension | Every pi session start, when the extension is installed |
14
+ | `.ai/system1.json` *(optional)* | System 1 shared runtime and doctor | When `system1` is selected directly or through `system1-task-triage` |
15
+ | `consumers.taskTriage` in `.ai/system1.json` *(optional)* | Hub task-triage consumer and doctor | At Hub session start; missing/off/invalid means no new task-triage inference |
16
+ | `consumers.proactiveReview` in `.ai/system1.json` *(optional)* | Hub proactive turn review consumer | At Hub session start; missing means off |
17
+
18
+ The `.ai/system1.json` file is human-owned, non-secret provider configuration.
19
+ Selecting the foundation alone prints its required shape. Consented task-triage
20
+ setup additionally proposes this template when absent, in the same exact-plan
21
+ transaction as the consumer config; existing provider files, including explicit
22
+ off, are preserved. Its `apiKeyEnv` field names a caller-environment variable; it never contains the
23
+ credential itself. See [System 1 configuration](#system-1-configuration).
24
+
25
+ The `.ai/stt.json` file is present only when the optional `pi-voice-stt` voice-dictation
26
+ extension has been configured (by deterministic setup or by hand). Like the overrides file it holds
27
+ **no secrets** — it names the env vars (`apiKeyEnv`, plus the Azure endpoint var) whose values
28
+ live in a gitignored root `.env`. See [pi-voice-stt config](#ai-sttjson) below.
29
+
30
+ Keep them split: the overrides file is loaded into context constantly, so it
31
+ must stay minimal; the install record is read only by the CLI, so it can be
32
+ large.
33
+
34
+ ## Unified Fleet runtime configuration
35
+
36
+ A Pi workspace has one public runtime entry point. Bare Fleet loads Fleet Core
37
+ plus Agent Hub in **operator** work mode, in the current terminal, with no native
38
+ specialists active:
39
+
40
+ ```bash
41
+ just fleet
42
+ just fleet --project af
43
+ ```
44
+
45
+ Work mode, native roster, and peer topology are separate controls:
46
+
47
+ ```bash
48
+ # Direct tools plus an available native roster.
49
+ just fleet --work-mode operator --agents frontend --project af
50
+
51
+ # A roster implies orchestrator when work mode is not explicit.
52
+ just fleet --agents frontend --project af
53
+
54
+ # Herdr Hub-only and Hub-plus-peer topologies.
55
+ just fleet --herdr --project af
56
+ just fleet --agents frontend --peers frontend --project af
57
+ ```
58
+
59
+ Startup precedence is deterministic: explicit `--work-mode` wins; otherwise an
60
+ explicit `--agents` roster implies `orchestrator`; otherwise work mode is
61
+ `operator`. An orchestrator startup must name a roster. `--herdr` affects only
62
+ placement, while `--peers <preset>` implies Herdr and starts the selected peer
63
+ preset. Neither topology option selects a native roster.
64
+
65
+ `--project <name>` selects one coms namespace for the Hub and every standing or
66
+ dynamically spawned peer. Dynamic peer tools deliberately expose no project
67
+ override, so an agent cannot cross that boundary. The default project is
68
+ `default`; use an explicit project when multiple fleets share a machine.
69
+
70
+ The configuration files have distinct ownership:
71
+
72
+ | File | Controls |
73
+ | --- | --- |
74
+ | `.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`. |
75
+ | `.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. |
76
+ | `.pi/agents/dispatch-policy.yaml` | Routing used only when `dispatch_agent.backend` is `auto`: native/coms preference, fallback, grace period, and peer reply timeout. |
77
+ | `.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 work mode or topology. |
78
+
79
+ For deterministic routing, `backend: "native"` always starts the local Pi
80
+ specialist even if a same-name peer is visible. `backend: "coms"` requires a
81
+ visible same-name peer and refuses without native fallback. The default
82
+ `backend: "auto"` follows `dispatch-policy.yaml` and preserves its configured
83
+ fallback behavior.
84
+
85
+ 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.
86
+
87
+ Capability flags and runtime gates fail closed:
88
+
89
+ - `--no-coms` keeps operator direct tools and native dispatch available, but
90
+ peer dispatch, `coms_send`/`coms_await`, and `/af-handoff` refuse actionably.
91
+ - `--herdr` and `--peers` require a running [Herdr](https://herdr.dev) server.
92
+ Without Herdr, bare Fleet still works and dynamic pane tools stay inactive.
93
+ - `--browser` adds the browser extension surface and `--all-extensions` opts
94
+ into the complete approved extension set. Missing optional dependencies do
95
+ not grant tools merely because a flag was supplied.
96
+ - Hub-owned slash commands remain registered in both work modes. A missing coms
97
+ runtime, Herdr connection, target peer, or native roster produces a
98
+ capability refusal rather than a missing command.
99
+
100
+ During the migration release, `just fleet hub`, `just fleet team <preset>`,
101
+ `just fleet team <preset> --no-hub`, and `--solo` remain accepted and print a
102
+ canonical replacement. New automation should use `just fleet` with
103
+ `--agents`, `--peers`, `--herdr`, and `--no-coms`; compatibility does not imply
104
+ that the deprecated grammar will remain indefinitely.
105
+
106
+ ### Resume and recovery
107
+
108
+ The Hub distinguishes the **pre-turn surface** (stable replacement prompt, volatile state capsule,
109
+ and active tool schemas) from **intra-turn pressure** (conversation and tool results accumulated in
110
+ the live model window). `/af-context` shows both. At 80% live usage the Hub warns and transiently makes
111
+ compaction support available; at 90% it blocks the next provider continuation and requests a
112
+ single automatic compaction after the current result is persisted. A prompt submitted during
113
+ startup/recovery is retained in memory and replayed once after success.
114
+
115
+ If automatic recovery fails, the prompt remains retained. Pi's built-in command is the bare-runtime
116
+ fallback:
117
+
118
+ ```text
119
+ /compact Preserve the current goal, decisions, modified files, pending operations, blockers, and next step.
120
+ ```
121
+
122
+ You can also switch to a larger-context model. Do not try to make room by editing the session file.
123
+ The JSONL shown by `/session` under `~/.pi/agent/sessions/` is Pi's authoritative append-only record;
124
+ resume with `/resume`, `pi -c`, or `pi --session <path|id>`. Never edit, truncate, reorder, or add
125
+ synthetic entries to recover from context pressure.
126
+
127
+ A resumed orchestrator session may instead be blocked because its persisted team name no longer
128
+ resolves against the current `.pi/agents/teams.yaml` and persona files. This is a fail-closed roster
129
+ recovery gate: orchestrator work mode and its direct-tool restrictions remain in force. Choose a valid
130
+ team with `/af-agents-team`, restart publicly with `just fleet --agents <name>`, or explicitly choose
131
+ operator work mode with `/af-work-mode operator` / `just fleet --work-mode operator`. Direct Pi launches
132
+ use `--agent-team <name>` or `--work-mode operator`. Explicit startup flags win over persisted state;
133
+ fix missing or renamed team/persona declarations before selecting them.
134
+
135
+ ## System 1 configuration
136
+
137
+ System 1 is an experimental named feature and is excluded from automatic
138
+ Default/Full selection. Select it explicitly and persist that desired state when
139
+ needed:
140
+
141
+ ```bash
142
+ npx @chankov/agent-fleet@latest setup \
143
+ --preset default --features system1 --save-desired --yes
144
+ ```
145
+
146
+ Then create the human-owned `.ai/system1.json` with exactly these version-1
147
+ fields and values:
148
+
149
+ ```json
150
+ {
151
+ "version": 2,
152
+ "mode": "auto",
153
+ "provider": "typesafe",
154
+ "model": "jev-1.13.0",
155
+ "apiKeyEnv": "TYPESAFE_API_KEY",
156
+ "consumers": {}
157
+ }
158
+ ```
159
+
160
+ `mode: "off"` disables the service even when a key exists. Selection plus
161
+ `mode: "auto"` still requires the valid configuration and a nonempty
162
+ `TYPESAFE_API_KEY` in the caller environment. Key presence alone never enables
163
+ System 1. The runtime does not execute `.env`: the managed `just` launcher can
164
+ load the root `.env`, while a direct Node invocation must receive an exported or
165
+ otherwise injected variable.
166
+
167
+ `agent-fleet doctor` reads the desired state and configuration as data. Its
168
+ System 1 result is advisory and read-only, including with `--fix`; it performs
169
+ no provider request and does not validate the key. Doctor does not inspect or
170
+ load `.env`; declaration status is unknown (`envDeclared: null`). It checks only
171
+ key presence in its current process environment and never prints the value.
172
+
173
+ The installed demo is offline unless `--live` is supplied. Both forms require a
174
+ Node runtime supporting `--experimental-strip-types`:
175
+
176
+ ```bash
177
+ # Readiness only; no provider call.
178
+ node --experimental-strip-types --preserve-symlinks --preserve-symlinks-main \
179
+ .pi/harnesses/lib/system1/demo.ts
180
+
181
+ # Explicit live request using only embedded synthetic Bulgarian/English data.
182
+ node --experimental-strip-types --preserve-symlinks --preserve-symlinks-main \
183
+ .pi/harnesses/lib/system1/demo.ts --live
184
+ ```
185
+
186
+ The only phase-0 production provider/model is TypeSafe Jev `jev-1.13.0` at its
187
+ fixed official endpoint. No local model is installed and no fallback model is
188
+ selected. Outputs preserve available uncertainty but do not establish truth,
189
+ action authority, or calibration for a particular domain/language. The native specialist drift watchdog has a separate **consumer opt-in**:
190
+ `watchdog-system1: off|shadow|active` in `## agent-hub` (default `off`).
191
+ It also requires an armed watchdog, explicit feature selection, valid shared
192
+ configuration and a key. `off` makes no System 1 evaluation. `shadow` runs the
193
+ LLM judge immediately and System 1 in parallel; only the LLM can stop a child.
194
+ `active` is an **uncalibrated, explicitly opted-in experiment**: only the
195
+ advisory `scope` rule may skip LLM when Jev `jev-1.13.0` returns provider
196
+ `on_track` with confidence and on-track distribution ≥0.95 and all three
197
+ contradiction probabilities ≤0.05. Terminal `loop`, `failures`, and `toolcap`
198
+ always use LLM. `/af-watchdog` labels this `experimental: scope only; G2 not
199
+ validated`. This can miss a scope advisory; it is not G2 approval. Missing or
200
+ mismatched provider/config returns to LLM; default consumer mode remains off. Restart Hub to apply a
201
+ consumer mode/config snapshot; `/af-watchdog on|off|auto` changes Layer 1 arming,
202
+ not the System 1 consumer mode. For rollback set `watchdog-system1: off` for the
203
+ next session (cancel the current run if needed).
204
+
205
+ **Watchdog System 1 outbound state** is limited to a redacted task, normalized relative
206
+ scope/paths, 40 structured tool events without commands, bodies, arguments or
207
+ outputs, rule facts, coverage and counters (32 KiB maximum). This does **not**
208
+ limit the existing parallel LLM judge prompt: it includes the original task,
209
+ scope and a recent trail with up to 120 characters of raw tool arguments per
210
+ call. Both paths can reveal data. For a future pilot, review the tasks, files
211
+ and likely tool arguments; never use client/production data or secrets. Manual
212
+ review cannot guarantee that an agent will not produce unexpected arguments.
213
+ The final native spawn env removes `TYPESAFE_API_KEY`; this does not protect
214
+ against file reads or other launchers. Trace (`<sessionDir>/artifacts/watchdog/events.jsonl`)
215
+ records only allowlisted metadata. `/af-watchdog` shows readiness/checks, the
216
+ strip under chat and `/af-agents` show owner badges and detail history;
217
+ `/af-hub-report` counts evaluations/LLM attempts separately; `/af-audit`
218
+ shows read-only decision status including `judge_unavailable`. Missing usage
219
+ is unknown, not zero. A failed judge gets one live, revalidated retry after 5 s
220
+ rather than the 90 s success cooldown. Offline report code and mock tests are
221
+ not a real shadow pilot. G1 requires manual/outbound review; G2 additionally
222
+ requires independent human labels identifying the snapshot **and LLM attempt**,
223
+ held-out session evaluation and an explicit maintainer-approved profile. Older
224
+ labels without an LLM attempt ID cannot qualify. No gate is inferred from doctor readiness.
225
+
226
+ ## Task triage (active experimental; off by default)
227
+
228
+ Task triage is a separate Hub consumer, not `dispatch_triage` persona advice,
229
+ watchdog calibration, or the spend classification performed by `set_task_tier`.
230
+ It uses the shared TypeSafe `jev-1.13.0` service, even with watchdog off. After
231
+ explicit configuration and remote-context consent, it assesses user input before
232
+ the first Hub model turn and adds process requirements; it is **active but not
233
+ calibrated**. Selecting the foundation, having a key, `--yes`, or automatic Full
234
+ does not grant task-context consent.
235
+
236
+ ### Enable and preserve the desired selection
237
+
238
+ In a source checkout, use the local CLI (no publishing is implied):
239
+
240
+ ```bash
241
+ # Preview only; no inference or target writes.
242
+ node bin/cli.js setup --workspace ~/projects/my-app --preset default \
243
+ --features system1-task-triage --save-desired --dry-run
244
+
245
+ # Separate task-context consent plus approval of the exact file plan.
246
+ node bin/cli.js setup --workspace ~/projects/my-app --preset default \
247
+ --features system1-task-triage --save-desired --task-triage-consent --yes
248
+ ```
249
+
250
+ For a package containing this implementation, use
251
+ `npx @chankov/agent-fleet@<version> setup` with the same options from the target
252
+ workspace. The checkout does not
253
+ change an already published package. A real TTY asks separately for task-context
254
+ consent, including Full + all features, before final exact-plan approval.
255
+
256
+ `--features` names the **complete desired feature set**, not an additive toggle;
257
+ include any features you want to keep. Over an existing `.ai/agent-fleet.json`,
258
+ flags are temporary unless `--save-desired` is passed. Use it for persistent
259
+ headless opt-in/disable: the shared service reads the saved desired features,
260
+ while the consumer separately checks applied installer selection. A temporary
261
+ opt-in can therefore install an active config while the shared service remains
262
+ unselected. `config active` alone is not runtime readiness. Task-triage implies
263
+ the `system1` dependency without rewriting it as a directly requested feature.
264
+
265
+ Setup transactionally creates an absent consumer config and an absent nonsecret
266
+ provider template. It does not collect a key or create `.env`. Existing human
267
+ files, including explicit off, remain byte-for-byte unchanged: another consent
268
+ flag does not flip them on. Runtime dependencies still require the existing
269
+ `--allow-exec` path or `just fleet deps`; file installation is not dependency
270
+ readiness. After persisting your selection, use `just fleet deps` or run setup
271
+ with `--allow-exec --yes` and no replacement feature flags to retain that selection.
272
+ Supply the key through the caller environment before launching Hub.
273
+
274
+ The exact consumer v1 template is:
275
+
276
+ ```json
277
+ {
278
+ "version": 2,
279
+ "mode": "off",
280
+ "provider": "typesafe",
281
+ "model": "jev-1.13.0",
282
+ "apiKeyEnv": "TYPESAFE_API_KEY",
283
+ "consumers": {
284
+ "taskTriage": {
285
+ "mode": "experimental",
286
+ "remoteContextApproved": true,
287
+ "questionVersion": "task-triage/questions/v1",
288
+ "policyVersion": "task-triage/policy/v1",
289
+ "limits": {
290
+ "maxTaskBytes": 40960,
291
+ "maxStateBytes": 65536,
292
+ "maxCallsPerSession": 100,
293
+ "timeoutMs": 2000
294
+ }
295
+ }
296
+ }
297
+ }
298
+ ```
299
+
300
+ Unsupported versions/fields/limits or provider/model mismatch do not become
301
+ calibrated defaults. To turn this config off manually, retain its complete schema
302
+ and change **both** `mode` to `"off"` and `remoteContextApproved` to `false`.
303
+ Provider `.ai/system1.json` remains separate; provider off prevents all its
304
+ consumers from making requests. Restart Hub to adopt configuration changes.
305
+
306
+ ### Input, requirements and recovery
307
+
308
+ - The runtime input is user task/follow-up text plus its declared process scope.
309
+ The state builder supports allowlisted relative path/kind metadata, but does
310
+ not discover or read file bodies. Aggregate task/clarifications are limited to
311
+ **40 KiB UTF-8**, serialized state to **64 KiB**. Sensitive, incomplete or
312
+ oversized input is refused, not silently truncated; this is not a guarantee
313
+ that all possible private text can be detected.
314
+ - At most **100 logical evaluations per saved session**, **2,000 ms total** per
315
+ evaluation including adapter retries. Identical input/scope reuses the cache;
316
+ task adoption/compaction/resume does not refill the budget. New scope can cause
317
+ a second evaluation. Physical attempts and logical calls are distinct; unknown
318
+ usage/cost stays unknown. These are not the separate live-pilot billing caps.
319
+ - Requested `security_change` at **p ≥ 0.80** adds review before acceptance, not
320
+ before authoring. `wide_change` at **p ≥ 0.85** adds plan before dependent
321
+ effects plus review. `irreversible_execution` at **p ≥ 0.80** adds exact-action,
322
+ one-use human confirmation. Signals are independent; no multiplied score or
323
+ automatic tier/model/permission increase. A low score is not a safety clearance.
324
+ - Additions retain task/evaluation/input provenance. Provider failure, low later
325
+ scores, disable and resume do not erase them. Classification and budgets remain
326
+ separate. Pending input must be bound through `set_task_tier` before dependent
327
+ effects; genuine new-task supersession can require human authorization.
328
+ - For a missing plan producer, ask the human to use `/af-agents-add planner` or
329
+ `/af-agents-team`. For review, use `/af-agents-add code-reviewer` (or the
330
+ permitted plan-reviewer/security-auditor) or select a suitable roster. There is
331
+ no automatic roster change. Exhausted dispatch/review caps need existing
332
+ explicit budget continuation; refusal leaves requirements open.
333
+ - `/af-task-triage-waive <addition-id> <reason>` asks for a correlated human
334
+ decision over one bound addition. It stays **waived**, never satisfied, and
335
+ cannot remove baseline or other-source requirements. Stale, denied, forged or
336
+ replayed grants do not authorize anything. `/af-task-triage-recover` retries a
337
+ blocked authoritative process append/readback; refusal requires session
338
+ inspection or valid resume, not editing JSONL.
339
+ - Direct Hub `bash`/`edit`/`write` confirmation binds the exact tool call, input
340
+ fingerprint and working directory. The human question shows the **complete
341
+ tool inputs as JSON**, labelled data rather than instructions: bash command/
342
+ timeout, write path/content, or edit path/all replacements, plus cwd. The
343
+ complete detail block is capped at **8 KiB (8192 bytes)**; missing, invalid,
344
+ sensitive/credential-like/email, terminal/bidi-control, mismatched or oversized
345
+ details refuse authorization, **without truncation or partial redaction**.
346
+ Non-ASCII characters are losslessly escaped in JSON. Sensitive-text detection
347
+ is heuristic, not comprehensive secret/PII detection. Inputs/cwd/task/revision/
348
+ operation/call ID are rechecked before one-use consumption. Generic bash has
349
+ no new read-only exemption. Native stage-producer
350
+ exceptions are bounded to the existing supported path. Arbitrary child/coms/
351
+ remote action binding is not universally supported; a confirmation-required
352
+ effect without supported binding is refused. Damage-control remains separate.
353
+
354
+ ### Observe, disable and verify
355
+
356
+ Doctor is offline advisory: it distinguishes missing/unapproved/invalid config,
357
+ policy mismatch, provider off/missing key and locally missing canonical roles.
358
+ `locally_ready` means no API validation; local persona files do not prove a live
359
+ roster. Doctor/`--fix` do not activate inference or rewrite human triage/provider
360
+ files, and do not inspect `.env` or print key values.
361
+
362
+ `/af-agents-list` opens the full Fleet dashboard with session-level assessment,
363
+ probabilities, effective obligations, active/waived additions and blockers, even
364
+ without worker rows. Task triage is not added to the small below-editor strip.
365
+ Fleet `1` opens the communication viewer: `e` explicitly enables memory-only
366
+ capture, Enter inspects, left/right and Enter copy, `d` disables/clears. The
367
+ **32 KiB viewer payload limit** is unchanged: a valid larger task may be withheld,
368
+ not truncated. Clipboard may retain copied synthetic/sanitized data after clear.
369
+
370
+ `/af-audit` exposes metadata-only evaluation/action history and unknown/degraded
371
+ states. Observation failure does not change enforcement; authoritative state,
372
+ grant or consumption persistence failure refuses dependent effects. Exact action
373
+ inputs are not added to metadata audit, but the **human question is not local-only**:
374
+ it uses the existing ask-user local/remote human route and can expose action
375
+ paths/content to that configured human endpoint. That route, ordinary Pi tool/
376
+ session rendering, terminal recordings and clipboard have separate privacy
377
+ boundaries; the metadata/viewer caps do not sanitize them. Provider ok,
378
+ assessment applied, process complete, an action grant and a tool result are
379
+ separate facts; none by itself is independent semantic task acceptance.
380
+
381
+ To stop future evaluations while keeping the human config and saved obligations:
382
+
383
+ ```bash
384
+ node bin/cli.js setup --workspace ~/projects/my-app --preset default \
385
+ --features none --save-desired --yes
386
+ ```
387
+
388
+ Use your complete remaining feature set instead of `none` if retaining other
389
+ features. Restart/resume Hub after disabling; cancel in-flight work normally if
390
+ immediate stopping is required. Do not delete additions or edit session JSONL to
391
+ roll back. Re-enable only through reviewed desired selection and valid human
392
+ consent/config; a preserved explicit off must be changed by the human.
393
+
394
+ Source verification is offline: `npm run test:task-triage` runs guarded policy,
395
+ authority, runtime, real-Pi and combined extracted-tarball/disable-resume tests;
396
+ `npm run test:full` includes it and existing regressions. Node 18 checks CLI/doctor
397
+ compatibility, not the TypeScript Pi runtime. A separate live pilot requires its
398
+ own approved data/budget; offline success and UI approval do not prove accuracy,
399
+ calibration or release readiness.
400
+
401
+ ## Proactive turn review (experimental)
402
+
403
+ This is a **separate per-repository opt-in**, not a new provider or an installer
404
+ feature flag. The Hub/native consumer uses the existing shared System 1 service
405
+ (`system1` feature, `.ai/system1.json`, caller-owned key) only when selected
406
+ excerpts are explicitly permitted and the service is ready. Its config is
407
+ human-owned `consumers.proactiveReview` in `.ai/system1.json`; setup/doctor do not create or activate
408
+ it. Missing config or valid `{"version":1,"mode":"off"}` causes **zero
409
+ proactive capture, inference, and feedback**. Invalid configuration fails closed.
410
+ Nothing here authorizes a live pilot, client repository, ringithub, provider
411
+ request, release, deployment or active configuration change.
412
+
413
+ Modes: `shadow` records bounded local evidence/findings without feedback;
414
+ `advisory` additionally offers bounded feedback at the next **natural** turn,
415
+ never starting a turn itself. With `remoteContext: "disabled"` (the default),
416
+ either enabled mode is **local-only**: source-bound deterministic checks may
417
+ run, but no semantic model review; no finding does not mean reviewed. With
418
+ `remoteContext: "selected-excerpts"`, permitted included source/assistant
419
+ excerpts may be transmitted to the already configured System 1 provider for
420
+ semantic assessment. This is not a blanket secrecy guarantee: source is
421
+ selected within approved scope and bounded/excluded, but automatic comprehensive
422
+ redaction of unknown secrets is not established. Review the *exact outbound
423
+ payload* and scope before any real opt-in. No auto-fix, kill, blocking,
424
+ acceptance authority, watchdog override, or autonomous continuation follows a
425
+ finding. Feedback is restricted to the same owner/attempt/task and current
426
+ source hashes and the session-bound rule revision, once per finding revision, at an already-occurring context
427
+ hook; changed evidence is refused.
428
+
429
+ **Schema illustration only — NOT executed, NOT authorization or a recommended
430
+ repository scope:** after separate human approval of the exact repository,
431
+ paths, outbound categories, budget and payload, a human may choose values in
432
+ this shape; do not copy these example paths into active configuration:
433
+
434
+ ```json
435
+ {
436
+ "version": 1,
437
+ "mode": "shadow",
438
+ "remoteContext": "selected-excerpts",
439
+ "include": ["src/**", "docs/**"],
440
+ "maxEvaluationsPerSession": 100
441
+ }
442
+ ```
443
+
444
+ Only `version`, `mode`, `remoteContext`, `include`,
445
+ `maxEvaluationsPerSession`, `localBindings` are accepted. Version is `1`;
446
+ mode is `off|shadow|advisory`; remote context is
447
+ `disabled|selected-excerpts`. Enabled modes require a nonempty explicit
448
+ repository-relative `include` (≤32 distinct entries, ≤256 characters each;
449
+ no absolute/dot/traversal paths, hidden segments, backslashes, special
450
+ bracket/negation patterns or dependency/build/runtime directories). The
451
+ session evaluation budget is an integer 0–100, default 100 in enabled modes.
452
+ The optional `localBindings` (≤16) require reviewed source-bound Markdown
453
+ `rule` path/heading/positive occurrence/lowercase SHA-256 hash,
454
+ `applicability` paths and added/modified kinds, and explicit paths/legacy
455
+ exceptions; `new-file-placement` also needs an added-only prefix, while
456
+ `relative-markdown-links` checks link form/escape, **not target existence**.
457
+ These are not prose-rule compilation or a general Markdown/AST validator.
458
+ Off must not retain active includes, remote permission, bindings or explicit
459
+ nonzero budget: rollback uses the complete minimal off JSON above, then a
460
+ **new Hub session**. Cancel current work if immediate interruption is needed;
461
+ do not delete session evidence or user config as cleanup.
462
+
463
+ Rules come read-only from `rules:` roots in `## agent-hub` (legacy
464
+ `## agent-team`): index-first, literal Markdown links/references and bounded
465
+ recursive fallback. The catalog binds file/path, heading occurrence and hash
466
+ for the **session**; edits do not reload in-session, and a restart adopts them.
467
+ It cannot execute instructions in rules. Discovery has a 64-file/256 KiB
468
+ budget; selection at most 20 sections/32 KiB, with coverage gaps for missing,
469
+ unsafe, partial, unselected or unsupported sources. Only the explicit task
470
+ and explicitly supplied plan bind the review; absent plan is `task_only`, not
471
+ a search for the newest plan. Incomplete work, exceptions, parallel authorship
472
+ and same-turn rule edits can remain uncertain. No silence or skipped check is
473
+ proof of compliance. Hub and supported native specialists are covered;
474
+ research helpers, nested delegates, coms peers and Hermes are not.
475
+
476
+ Per turn: at most 20 source units, 256 KiB retained excerpts (64 KiB/file),
477
+ 32 KiB evaluation state, 16 questions/batch, two calls/turn, one active
478
+ job/session, one pending/owner with backlog ≤8 and 5 s queue wait. Capture
479
+ phase has a 1 s deadline; evaluation job has a 2 s deadline. Feedback is
480
+ ≤3 findings/1,500 characters; finding history/private snapshots are bounded
481
+ at 100, so readback/retention is **not** a complete session record. Captures
482
+ bind pre/post worktree bytes, hashes and offsets; private evidence can be
483
+ locally reopened with validated references, whereas trace/report summaries
484
+ contain metadata only. Exclude `.env`, credentials, `.git`, dependencies,
485
+ build/runtime/session/transcript trees, binaries and realpath escapes; never
486
+ assume redaction catches every secret. Review coverage can be `partial`, `not_checked`, `unsupported`, `stale`,
487
+ `unavailable` or `unknown` rather than a confirmed pass. Operator TUI/history retain a completed row briefly (10 s); metadata
488
+ readback persists within the bounded session record.
489
+
490
+ ### Release readiness and evaluation limits
491
+
492
+ The opt-in runtime, native observer, local validators, advisory delivery, Fleet
493
+ history/evidence, reports and package installation are implemented and
494
+ independently reviewed. Offline integration uses repo-local Pi **0.84.2**;
495
+ Node 18 compatibility applies separately to the installed CLI/doctor, not the
496
+ Pi harness. Review history and evidence retain the dashboard's fixed-height
497
+ frame, including blank rows, rather than exposing dispatcher chat underneath.
498
+
499
+ A maintainer-authorized synthetic Jev smoke has verified real provider
500
+ communication and the evaluator path. It is **not** the planned 30-case
501
+ human-labelled semantic evaluation, nor evidence of general accuracy or recall.
502
+ That evaluation and final semantic acceptance remain outstanding; findings-only
503
+ label-key access also limits operational miss/true-negative evaluation.
504
+
505
+ A release installs the capability, **not its activation**. Setup does not create
506
+ `consumers.proactiveReview` in `.ai/system1.json`, and preserves an existing human-owned file. The
507
+ maintainer's active config and repo-specific rule catalog are not release
508
+ artifacts. Each target repository needs its own explicit scope, rules and
509
+ outbound-data consent. Configuration/rules are loaded at session start; start a
510
+ fresh Fleet session after changing them. When testing file placement, verify
511
+ that the file is really inside the configured repository include path, not a
512
+ session `artifacts/` directory with a similar relative suffix.
513
+
514
+ ### Read-only reports and explicit human labels
515
+
516
+ `/af-hub-report` and `/af-audit` separate proactive and watchdog totals.
517
+ For measured comparison only, add `--labels /absolute/path/to/CURRENT_SESSION/artifacts/labels.json`
518
+ to **either** command. No default, file discovery, provider request or
519
+ automatic label inference occurs. The actual path must be an absolute regular
520
+ `.json` file below the *current* session's `artifacts/`, without symlink escape;
521
+ maximum 64 KiB and 320 labels. Only retained findings currently expose operator-readable label keys. In Fleet
522
+ Dashboard (**Alt+A**), open review history with **`p`**, select a finding with
523
+ **`n`**, then press **`e`** for its local captured evidence; alternatively open
524
+ the specialist detail, select a finding with **`n`**, and press **`e`**. Scroll
525
+ with ↑/↓ (or j/k), PgUp/PgDn, Home/End; Esc returns to the previous review-history or detail view. The evidence
526
+ view displays a JSON record with the exact `snapshotId`, slash-bearing catalog
527
+ `ruleId` (`path#heading@occurrence:hash`), session-bound `ruleHash`, and
528
+ `subject` for that finding. At narrow widths the JSON is wrapped into visual
529
+ chunks: remove one indentation column from each chunk and concatenate the
530
+ chunks to reconstruct the record. Unavailable evidence shows no template;
531
+ do not guess a key. Copy the reconstructed record into an explicit local
532
+ current-session artifacts `.json` array, leaving `expected` as `unknown` until
533
+ a human judges that finding (`violation` or `clean`). Never use raw
534
+ source/prompt payloads as label keys. This illustrative shape is not a
535
+ substitute for the evidence-view values:
536
+
537
+ ```json
538
+ [
539
+ {
540
+ "snapshotId": "<actual lowercase 64-hex snapshot ID>",
541
+ "ruleId": "<actual evidence-view catalog rule ID, including path/slashes>",
542
+ "ruleHash": "<actual bound lowercase 64-hex rule hash>",
543
+ "subject": "src/example.ts",
544
+ "expected": "unknown"
545
+ }
546
+ ]
547
+ ```
548
+
549
+ Each object has **exactly** these five keys; `expected` is
550
+ `violation|clean|unknown`. Match snapshot, rule ID, session-bound rule hash and subject to retained
551
+ finding evidence; a valid unmatched label is `unchecked`, not a false
552
+ pass/miss. Report comparison can join checked-clear verdicts, but the operator
553
+ UI exposes keys only for retained findings, not checked-clear units. Human
554
+ miss/true-negative labels cannot currently be authored from this UI; absent
555
+ human labels remain `unknown`. This is a partial finding-backed workflow, not
556
+ fully operational misses or recall evaluation. Missing/invalid labels yield `unavailable` with null
557
+ measurement counts; empty valid array is not a precision/recall score.
558
+ Counts distinguish reviewed/partial/coverage-unknown/skipped, uncovered rules,
559
+ deterministic findings versus System 1 suspicions, unknown usage and unknown
560
+ native delivery (no receipt). Trace-only readback does not reconstruct missing
561
+ coverage or invent zeroes. Any precision or miss count describes only *labelled checked* evidence, not
562
+ unlabelled clear units or universal correctness.
563
+
564
+ ### Offline installed-package runbook (not executed by this documentation change)
565
+
566
+ Use a fresh **temporary** directory/workspace, with Node supporting native
567
+ TypeScript for the observer, repo-local Pi 0.84.2, and existing dependencies;
568
+ Node 18 is checked separately for the extracted CLI. These are test-backed
569
+ instructions, **not** commands run by this documentation patch. From this
570
+ repository's root, the safest reproducible run is:
571
+
572
+ ```sh
573
+ node --test .pi/agent-fleet/scripts/docs-links.test.mjs
574
+ # Supply an actual installed Node 18 executable; the test fails if unavailable.
575
+ AF_NODE18=/absolute/path/to/node18 node --test bin/test/proactive-installed.test.js
576
+ node --test --test-name-pattern='isolated tarball supports' bin/test/package-surfaces.test.js
577
+ ```
578
+
579
+ The installed test packs with `npm pack --json --pack-destination <temp>`,
580
+ extracts with `tar -xzf <tarball> --strip-components=1 -C <temp>/package`,
581
+ and runs `node <temp>/package/bin/cli.js setup --workspace <temp>/installed
582
+ --preset default --features none --yes` under a scrubbed offline environment.
583
+ It checks the installed 12-file runtime closure and an offline fake-provider Pi
584
+ observer/capture, no auto `consumers.proactiveReview` in `.ai/system1.json` or proactive desired-state
585
+ key, preservation of a **test-only HUMAN fixture** across repeat setup and
586
+ `doctor`/`doctor --fix`, and extracted-CLI version/help/readonly doctor under
587
+ Node 18. Doctor may return 0 or findings exit 2. The smoke reuses existing
588
+ repository dependencies, not a fresh dependency install; its network guard is
589
+ limited and does not prove every step physically network-isolated. Do not
590
+ create the illustrative active config above in a real workspace while testing.
591
+ The operator must run the link test and installed test on the final changed
592
+ state; this document alone is not verification.
593
+
594
+ ### Separate live pilot and acceptance
595
+
596
+ C5 operator visibility was human accepted, and the final post-fix source/docs
597
+ review accepted the C6 offline/package work. The later review-history overlay
598
+ fix is covered by fixed-frame and real Pi compositor regression tests; its
599
+ human visual retest is separate. Implemented/offline/installed evidence is not
600
+ live semantic accuracy. Explicit advisory activation in the maintainer's
601
+ repository and a synthetic Jev transport/evaluator smoke have occurred; neither
602
+ completes the planned human-labelled pilot or C7 semantic acceptance. For a new
603
+ repository, first review synthetic/offline evidence, then require **explicit
604
+ repo-specific shadow consent**, including exact include/exclusion paths,
605
+ reviewed bindings, session budget, outbound categories and representative
606
+ exact payload review; separate explicit consent is required for advisory.
607
+ There is no implied ringithub/customer repo authorization. A subsequent pilot
608
+ requires ≥30 **human-labelled** code/text assessments including ≥10 known
609
+ violations/deviations, BG/EN, legacy/new code, interim work, exceptions,
610
+ text-only and no-plan cases; manually review selector omissions and uncertain
611
+ cases. Measure finding-backed labelled precision and false alarms alongside coverage,
612
+ capture overhead, model p50/p95 latency, queue drops and known/unknown usage.
613
+ Miss/true-negative human-label keys for checked-clear units are not exposed;
614
+ report miss joins from synthetic/offline tests do not establish operational
615
+ miss/recall measurement. Record that gap explicitly in any pilot assessment
616
+ rather than treating unknown labels as negatives. Synthetic/offline success is not semantic or live
617
+ proof; no automatic mode promotion or invented accuracy threshold. C7 asks
618
+ the maintainer to accept limitations/evidence and explicitly choose each
619
+ repository's off/shadow/advisory state. No release or deployment follows from
620
+ these docs or C6.
621
+
622
+ ## The overrides file — `.ai/agent-fleet-overrides.md`
623
+
624
+ Some skills and pi harnesses need facts specific to each project — where specs
625
+ and plans are saved, how to start a dev server, whether the agent may create
626
+ branches, or which user-facing language a dispatcher should use. Each reader
627
+ ships a sensible **default**; a project that needs something different declares
628
+ it here, and the reader picks it up.
629
+
630
+ - **Location:** `.ai/agent-fleet-overrides.md` at the project root.
631
+ - **Format:** Markdown. One `## <section-name>` section per skill or harness reader, with terse
632
+ `key: value` lines. Block values use the `key: |` multi-line form. No prose
633
+ and no install detail — readers parse it by key and load it on every run/session start.
634
+ - **Commit it.** Shared project configuration belongs in version control. Make
635
+ sure no `.gitignore` rule (for example a broad `.env*` pattern) excludes it.
636
+ - **No secrets.** For anything sensitive (test-account credentials), reference
637
+ the **name** of an environment variable; the real value lives in a gitignored
638
+ `.env`.
639
+ - If the file is absent, or a reader has no section in it, that reader uses its
640
+ built-in default.
641
+ - **Settings writer:** ordinary `agent-fleet setup` leaves non-empty overrides byte-identical. To add rule/doc roots explicitly, preview with `agent-fleet configure --rules .ai/rules --docs docs --dry-run --workspace <project>`; review `before`, `after`, and `expectedHash`, then apply with the same roots, `--expect-hash <expectedHash> --yes`. Omit a key to leave it unchanged. The CLI appends/deduplicates roots, keeps other sections/settings and the legacy `agent-team` section, and refuses duplicate/conflicting sections or keys for manual resolution. A changed setting takes effect in a new session; missing roots remain advisory. The interactive path is `/af-setup-rules` (the `repository-ai-setup` skill: discovery → proposal → grilling → diff → apply → verify); it hands accepted roots to this same CLI and never edits the file directly.
642
+ - **Validation.** Because an unknown section or key silently falls back to the
643
+ default, typos are invisible at runtime. `agent-fleet doctor` (and the
644
+ runtime's Agent Fleet doctor command) validates the file — unknown sections,
645
+ unknown keys in known sections, invalid values for the mechanically parsed
646
+ `agent-hub` keys, missing `rules:` folders, missing `append-prompt:` files,
647
+ unknown `poll-panel:` names, and unset `## env` vars — as
648
+ **advisory, warn-only findings**; it never edits the file.
649
+
650
+ ### `spec-driven-development`
651
+
652
+ | Key | Default | Meaning |
653
+ |-----|---------|---------|
654
+ | `spec-dir` | `docs/prds/{area}` | Directory specs are written to |
655
+ | `naming` | `PRD{n}-{topic}` | File name pattern; `{n}` = next free PRD number, `{topic}` = kebab-case slug |
656
+
657
+ Default output: `docs/prds/{area}/PRD{n}-{topic}.md`.
658
+
659
+ ### `planning-and-task-breakdown`
660
+
661
+ | Key | Default | Meaning |
662
+ |-----|---------|---------|
663
+ | `plan-dir` | `docs/plans/{area}` | Directory plans are written to |
664
+ | `naming` | `PLAN-{prd-name}-{phase}` | File name pattern; `{phase}` suffix only when a plan spans multiple files |
665
+ | `todo` | `embedded` | `embedded` keeps the task list inside the plan; `separate` writes a standalone `todo.md` |
666
+
667
+ Default output: `docs/plans/{area}/PLAN-{prd-name}-{phase}.md`, task list embedded.
668
+
669
+ ### `browser-testing-with-devtools`
670
+
671
+ This skill has **no default** — the section is required for browser testing,
672
+ because dev-server commands and login flows cannot be guessed.
673
+
674
+ | Key | Meaning |
675
+ |-----|---------|
676
+ | `dev-server` | Command to start the local dev server |
677
+ | `ready-check` | How to confirm the server is up |
678
+ | `base-url` | Root URL for navigation |
679
+ | `auth-flow` | Steps to log in (multi-line `|` block) |
680
+ | `roles` | Test account per privilege level, referenced by env-var name |
681
+ | `notes` | Anything else the agent should know (certs, seed data, ...) |
682
+
683
+ ### `git-workflow-and-versioning`
684
+
685
+ | Key | Default | Meaning |
686
+ |-----|---------|---------|
687
+ | `branching` | `never` | `never` = agent works in the current branch and never creates or switches branches; `allow` = agent may create feature branches |
688
+
689
+ ### `agent-hub`
690
+
691
+ Read by the `.pi/harnesses/agent-hub/` pi harness on every session start. The canonical
692
+ section name is `## agent-hub`; the harness also accepts the legacy `## agent-team` name
693
+ (from before the standalone `agent-team` harness was retired), so existing project
694
+ override files keep working unchanged. When both sections are present their keys merge,
695
+ with later lines winning.
696
+
697
+ The `rules:` and `docs:` keys are also read outside the harness: the `compound-learning`
698
+ skill (and the `/af-compound` agent-hub command built on it) resolves them as the
699
+ targets an end-of-session compound pass writes lessons to.
700
+
701
+ | Key | Default | Meaning |
702
+ |-----|---------|---------|
703
+ | `language` | `English` | User-facing language the dispatcher uses for every `ask_user` question, every `context` field, and every summary. Specialist task strings always stay in English regardless. |
704
+ | `persona-gate` | — | **Removed.** Ignored with a doctor warning; dispatcher flavor is no longer selectable. Use `/af-work-mode` for operator vs orchestrator. Delete the key. |
705
+ | `model.<persona>` | persona frontmatter `model:` | Replaces the named persona's default model for this project (a full pi model spec). If the override reports a model/provider error or aborted request before producing text or starting a tool (including a local-model memory-limit failure), agent-hub restores the child session and retries once with the original frontmatter model; it does not fallback after work starts, cancellation, timeout, drift stop, or process-spawn failure. |
706
+ | `models.<persona>` | persona frontmatter `models:` | Replaces the named persona's model-candidate list for `/af-agent-model` and `/af-models` profiles (comma-separated pi model specs). |
707
+ | `thinking.<persona>` | persona frontmatter `thinking:` | Replaces the named persona's pi `--thinking` reasoning level for this project: one of `off`, `minimal`, `low`, `medium`, `high`, `xhigh`. Switchable at runtime with `/af-agent-model-thinking <persona>`. An invalid value is ignored with a session-start warning. |
708
+ | `subagents.<persona>.<role>` | persona frontmatter `subagents:` | Replaces or adds one delegate sub-role for this project: `<model>[, tools=<caps>][, thinking=<off\|minimal\|low\|medium\|high\|xhigh>]`. Other declared roles keep their frontmatter values. Existing roles retain their original frontmatter model as the same one-shot, pre-work-only runtime fallback; model-only overrides retain the declared tool cap. An invalid `thinking=` value is ignored with a session-start warning and the role stays at `off` unless frontmatter already set a valid level. |
709
+ | `delegate-depth.<persona>` | persona frontmatter `delegate_depth:` (default/max 1) | Replaces the persona's delegation depth budget: `0` makes its delegate tool refuse (delegation off for this project), `1` lets it spawn terminal children. Values above 1 are clamped to 1; children at remaining depth 0 do not receive delegate tooling. |
710
+ | `rules` | none | Comma-separated repo-relative folders holding the project's own rule files (HOW — implementation patterns the work must comply with). Resolution is **index-first**: when a folder has a top-level `README.md`/`index.md`, personas read it first and follow its loading manifest (session bundles, conditional-load lists) instead of bulk-reading the tree; a folder without an index is searched **recursively** through all subfolders. The harness tells every dispatched specialist where the rules live and how to resolve them; the planner and code-reviewer personas read the relevant rules, validate their subject against them, and pass them on (cited in plan acceptance criteria / handed to delegate sub-reviewers). Missing folders produce a session-start warning. |
711
+ | `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. |
712
+ | `research-keep` | — | **Removed.** Ignored with a session-start warning; live research helpers disappear from the Fleet Dashboard (`Alt+A`) on every terminal outcome. Session, transcript, and findings files plus `/af-agents-history` records remain. Delete the key. |
713
+ | `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. |
714
+ | `mode` | — | **Removed.** Ignored with a warning; budgets follow task tier. Delete the key. |
715
+ | `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). |
716
+ | `max-research-per-turn` | tier default (1/2/4/6) | Ceiling on dispatcher-initiated `spawn_research` calls per user turn. The automatic `NEEDS_RESEARCH:` pipe is exempt from the turn budget but still counts against the task research envelope. Positive integer or `off` (stays at the tier). |
717
+ | `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). |
718
+ | `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). |
719
+ | `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). |
720
+ | `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 work mode 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. |
721
+ | `watchdog-system1` | `off` | Native specialist consumer only: `off`, `shadow`, or explicitly opted-in experimental `active` for advisory `scope` only (0.95/0.05; not G2-validated). Requires the separate selected feature and shared config; no automatic outbound request from setup/doctor. |
722
+ | `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. |
723
+ | `poll-panel` | none | Default panel name for `/af-poll` when `--panel` is omitted. Must match a panel in `.pi/agents/voices.yaml` when that file exists. Missing `--panel` and missing this key is a refusal. |
724
+ | `append-prompt` | none | Comma-separated repo-relative files appended to the system prompt of every dispatched persona. Listed files must exist. Enable the communication contract with `append-prompt: references/communication-contract.md`. |
725
+
726
+ Example — switch the dispatcher to Bulgarian, pin the builder to sonnet, raise the
727
+ code-reviewer's thinking level, move the code-reviewer's docs sub-reviewer to a
728
+ different model, and point the team at the project's rule folders and doc entry
729
+ points:
730
+
731
+ ```markdown
732
+ ## agent-hub
733
+ language: Bulgarian
734
+ model.builder: github-copilot/claude-sonnet-4.6
735
+ models.builder: github-copilot/claude-sonnet-4.6, github-copilot/claude-haiku-4.5
736
+ thinking.code-reviewer: xhigh
737
+ subagents.code-reviewer.docs: github-copilot/claude-sonnet-4.6, tools=read,grep, thinking=medium
738
+ delegate-depth.code-reviewer: 1
739
+ recon-search-timeout-s: 120 # or off to disable the per-tool watchdog
740
+ poll-panel: default
741
+ append-prompt: references/communication-contract.md
742
+ rules: docs/rules, .ai/rules
743
+ docs: Docs/AGENTS.md, Docs/architecture/ARCHITECTURE_OVERVIEW.md
744
+ ```
745
+
746
+ ### `env` (optional, read by the doctor)
747
+
748
+ The overrides file references environment variables by **name** — test-account
749
+ credentials for `browser-testing-with-devtools`, the `pi-voice-stt` API key —
750
+ while the values live in a gitignored root `.env`. The optional `## env`
751
+ section declares which names the project's readers expect, so a fresh clone
752
+ can find out what's missing *before* a skill fails mid-run:
753
+
754
+ | Key | Meaning |
755
+ |-----|---------|
756
+ | `required` | Comma-separated env-var **names** (never values) the project's sections reference |
757
+
758
+ ```markdown
759
+ ## env
760
+ required: APP_TEST_ADMIN_USER, APP_TEST_ADMIN_PASS, AZURE_SPEECH_KEY
761
+ ```
762
+
763
+ No skill or harness loads this section. Its only reader is `agent-fleet doctor`
764
+ (and the runtime's Agent Fleet doctor command), which warns when a declared name is neither set in
765
+ the environment nor declared in the workspace root `.env`.
766
+
767
+ ### Per-peer env files (`env_file:` in peers.yaml)
768
+
769
+ Fleet peers spawned through `--peers`, `just fleet peer`, or the Hub's
770
+ constrained dynamic peer tool can carry their own environment: an `env_file:`
771
+ entry in `.pi/agents/peers.yaml` names a
772
+ **repo-relative** KEY=VALUE file (same format as `.env`, no shell evaluation)
773
+ that herdr injects into the peer's pane before the command runs — no `source`,
774
+ no leaking into sibling panes. The file must exist at spawn (team-up refuses
775
+ otherwise, never mid-run), and its **values never appear in `--dry-run`
776
+ output** — only the path. Keep these files gitignored exactly like the root
777
+ `.env` this section describes.
778
+
779
+ ## The install record — `.ai/agent-fleet-state.json` and `.ai/agent-fleet-setup.md`
780
+
781
+ Two files, one source of truth. `.ai/agent-fleet-state.json` is what the
782
+ installer writes and the only thing it reads back: agent, method, package
783
+ version, source root, and one entry per installed item with a per-file sha256
784
+ (or, in symlink mode, the resolved link target). `.ai/agent-fleet-setup.md` is
785
+ **rendered from it** on every apply and never parsed back, so the two cannot
786
+ disagree — it exists for humans and for older readers that still look for
787
+ `version:` and `agent:`.
788
+
789
+ Ownership is the point of the state file. An entry means "agent-fleet installed
790
+ this"; anything not listed is never removed or overwritten. That lookup is what
791
+ replaced the prose ownership rule the setup skill used to carry.
792
+
793
+ | State-file field | Meaning |
794
+ |---|---|
795
+ | `agent`, `method`, `sourceRoot` | How and from where this workspace was installed |
796
+ | `packageVersion` | The version that performed the last apply — provenance for reconciliation and legacy three-way compatibility |
797
+ | `items` | One entry per installed artifact: strategy, method, files with hashes, JSON key paths |
798
+ | `externalPackages` | Packages the user was told to install; recorded, never installed for them |
799
+ | `events` | Last few applies (verb, version, action count, conflicts) |
800
+
801
+ **No secrets, ever.** Only env-var *names* may appear — for example in the
802
+ `pi-voice-stt` record. A test asserts nothing value-shaped is persisted.
803
+
804
+ ### The recorded version and the three-way merge
805
+
806
+ The recorded `packageVersion` gives every comparison a baseline. For each
807
+ recorded artifact, the engine compares *source@recorded* from the package's
808
+ `.versions/<x.y.z>/` snapshot tree, the installed copy on disk, and
809
+ *source@current*. Deterministic `setup` is the public reconciliation command.
810
+
811
+ | Outcome | What `setup` does |
812
+ |---|---|
813
+ | Neither moved | Kept |
814
+ | Only the source moved | Clean refresh |
815
+ | Only your copy moved | **Refreshed — your edit is overwritten.** Reported in the plan as *"locally modified — selecting it overwrites your edits"*, so `--dry-run` shows it before it happens |
816
+ | Both moved, to different content | **Conflict**: the run exits `3` before writing anything. Resolve with `--on-conflict theirs` or `--on-conflict ours` |
817
+ | Retired upstream | Kept by `setup`; the deprecated `upgrade` proposes removal by name, subject to the ownership rule |
818
+
819
+ Reconciling toward the package is the point of `setup`: the workspace is meant
820
+ to match the version it records. That is why editing a shipped artifact in place
821
+ is not a supported customization route — use `.ai/agent-fleet-overrides.md`, add
822
+ artifacts under names Agent Fleet does not ship, or leave the item out of the
823
+ selection (`setup` never removes what it does not select, so an unselected item
824
+ stays installed and frozen). The deprecated `upgrade` verb preserves local edits
825
+ instead of overwriting them; if you have relied on that, it is the behavioural
826
+ difference to plan for.
827
+
828
+ If the snapshot is missing (an unpublished local build, or a version older than
829
+ `.versions/` retention), the comparison degrades to two-way, the installed copy
830
+ is treated as canonical, and the read-only auxiliary `verify` command reports it
831
+ as an advisory finding rather than pretending a diff exists.
832
+
833
+ ### Pre-engine workspaces
834
+
835
+ A workspace with only `.ai/agent-fleet-setup.md` and no state file predates the
836
+ installer engine. `setup --migrate --dry-run` previews what it can infer from
837
+ that markdown (`agent:`, `version:`) without adopting unrecorded paths. To
838
+ mutate a legacy workspace, use `setup --migrate` with an explicit preset,
839
+ features, and `--yes`. A workspace with no `version:` at all has no recorded
840
+ baseline, so no three-way merge is attempted.
841
+
842
+ Commit these files if the team should share install state — keep paths relative
843
+ so they stay portable. A self-referencing checkout (agent-fleet itself) may
844
+ instead `.gitignore` them, since their recorded paths are local to one machine.
845
+
846
+ ## Coms-backed team members
847
+
848
+ A team member the `agent-hub` harness dispatches (`.pi/agents/teams.yaml`) can be
849
+ served by a live coms peer of the same name instead of a freshly spawned native
850
+ subagent. With the default `backend: "auto"`,
851
+ `.pi/agents/dispatch-policy.yaml` decides that per member at dispatch time;
852
+ explicit `native` bypasses substitution, while explicit `coms` requires the
853
+ peer and never falls back. `.pi/agents/peers.yaml` decides *how* each peer runs.
854
+ A peer with `runner: claude-code` is an interactive Claude Code pane plus its
855
+ bridge — the one way Claude Code takes part in a fleet. See
856
+ [claude-code-coms-bridge.md](claude-code-coms-bridge.md).
857
+
858
+ Installing `skill:peer-coms` pulls `hook:coms-stop-hook` in as a companion, which
859
+ is what gives a bridged pane exact turn text instead of scraped output.
860
+ The hook installs to `.pi/agent-fleet/hooks/coms-stop-hook.mjs` with the rest
861
+ of the fleet runtime. Registering it in `.claude/settings.json` stays the
862
+ user's step — the installer writes files, and another tool's settings file is
863
+ not its to merge. `setup` prints this snippet when the hook is applied:
864
+
865
+ ```json
866
+ { "hooks": { "Stop": [{ "hooks": [{ "type": "command",
867
+ "command": "node $CLAUDE_PROJECT_DIR/.pi/agent-fleet/hooks/coms-stop-hook.mjs" }] }] } }
868
+ ```
869
+
870
+ ## Templates
871
+
872
+ ### `.ai/agent-fleet-overrides.md`
873
+
874
+ Copy this in and delete the sections you don't need — anything absent falls
875
+ back to that reader's default.
876
+
877
+ ```markdown
878
+ # Agent Fleet — Project Overrides
879
+ #
880
+ # Each section is applied ON TOP of the skill's built-in defaults.
881
+ # Keys not listed keep the default. Absent file/section → pure defaults.
882
+
883
+ ## spec-driven-development
884
+ spec-dir: docs/prds/{area}
885
+ naming: PRD{n}-{topic}
886
+
887
+ ## planning-and-task-breakdown
888
+ plan-dir: docs/plans/{area}
889
+ naming: PLAN-{prd-name}-{phase}
890
+ todo: embedded
891
+
892
+ ## browser-testing-with-devtools
893
+ dev-server: <command to start the local dev server>
894
+ ready-check: <url or check that confirms the server is up>
895
+ base-url: <root url>
896
+ auth-flow: |
897
+ 1. Navigate to <login url>
898
+ 2. Submit credentials for the role needed by the screen under test
899
+ roles:
900
+ admin: env APP_TEST_ADMIN_USER / APP_TEST_ADMIN_PASS
901
+ player: env APP_TEST_PLAYER_USER / APP_TEST_PLAYER_PASS
902
+ notes: |
903
+ <anything else: self-signed certs, required seed data, ...>
904
+
905
+ ## git-workflow-and-versioning
906
+ branching: never
907
+
908
+ # Optional for pi agent-hub; omit this section to keep default English.
909
+ # (`## agent-team` is still accepted as a legacy alias for this section.)
910
+ ## agent-hub
911
+ language: <language name>
912
+ rules: <repo-relative rule folder>[, <another folder>]
913
+ docs: <repo-relative doc entry point>[, <another file or folder>]
914
+
915
+ # Optional; names (never values) of env vars the sections above reference.
916
+ # Only `agent-fleet doctor` reads this — it warns when one is unset.
917
+ ## env
918
+ required: <ENV_VAR_NAME>[, <ANOTHER_NAME>]
919
+ ```
920
+
921
+ ### `.ai/agent-fleet-setup.md`
922
+
923
+ Rendered from `.ai/agent-fleet-state.json` by every apply, for humans to read.
924
+ Edit the workspace, not this file — the next apply overwrites it.
925
+
926
+ ```markdown
927
+ # Agent Fleet — Workspace Setup
928
+ #
929
+ # Generated from .ai/agent-fleet-state.json by `agent-fleet setup`.
930
+ # Edit the workspace, not this file: it is rewritten on every apply.
931
+
932
+ ## workspace-summary
933
+ agent: pi
934
+ method: copy
935
+ version: 1.4.2
936
+ source: /home/you/.npm/_npx/<hash>/node_modules/@chankov/agent-fleet
937
+
938
+ ## install-status
939
+ skills: [spec-driven-development, test-driven-development, code-review-and-quality]
940
+ commands: [spec, plan, build]
941
+ personas: [code-reviewer]
942
+ extensions: []
943
+ harnesses: []
944
+ companions: [skills-internal-grilling]
945
+ external: []
946
+ updated: 2026-05-22
947
+
948
+ ## verification
949
+ - 21 item(s) recorded; run `agent-fleet doctor` for diagnostics.
950
+ - No secrets are stored in this file or in .ai/agent-fleet-state.json.
951
+ ```
952
+
953
+ ### `.ai/stt.json`
954
+
955
+ Optional. Present only when the `pi-voice-stt` extension is installed and configured. Read by
956
+ the extension on every pi session start, ahead of the global `~/.pi/agent/stt.json`. The
957
+ canonical format has a nested `provider` object. Runtime `provider.type` values are `openai`,
958
+ `openai-compatible`, `azure` (Azure Speech), and `azure-openai` (Azure OpenAI Whisper):
959
+
960
+ ```json
961
+ {
962
+ "language": "bg-BG",
963
+ "provider": {
964
+ "type": "azure",
965
+ "apiKeyEnv": "AZURE_SPEECH_KEY",
966
+ "locales": ["bg-BG", "en-US"]
967
+ }
968
+ }
969
+ ```
970
+
971
+ The setup CLI accepts the aliases `openai`, `groq`, `azure`, and `azure-openai`. These are
972
+ installer selections, not interchangeable runtime types: in particular, `groq` is not a
973
+ `provider.type`, and `azure` means Azure Speech rather than Azure OpenAI. Setup can generate
974
+ the OpenAI configuration from runtime defaults. For Groq, create a complete nested
975
+ `.ai/stt.json` with runtime type `openai-compatible` and the actual Groq endpoint/model, then
976
+ run setup without `--stt-provider groq`; the alias does not identify the prepared runtime type.
977
+ Other OpenAI-compatible services are not Groq and use their own endpoint/model. For Azure
978
+ Speech or Azure OpenAI in a workspace without STT settings, create complete nested JSON with
979
+ the provider-specific endpoint/deployment settings before setup. Setup does not guess them.
980
+
981
+ Existing valid nested files are preserved. Supported legacy flat files are also preserved and
982
+ produce a warning that runtime compatibility is not guaranteed; setup does not migrate them
983
+ automatically. Provider migration or replacement requires a separate explicit action.
984
+
985
+ The JSON stores only environment-variable names, never credential values. Put values in the
986
+ gitignored `.env` at the workspace root, which the managed justfile loads:
987
+
988
+ ```sh
989
+ export AZURE_SPEECH_ENDPOINT=https://<resource>.cognitiveservices.azure.com
990
+ export AZURE_SPEECH_KEY=<your-resource-key>
991
+ ```
992
+
993
+ Setup preserves existing `.env` declarations and values, including `export NAME=...` syntax,
994
+ and appends only missing empty placeholders. A direct `provider.endpoint` needs no endpoint
995
+ environment variable. Setup validates JSON structure and environment-variable names, but it
996
+ does not validate credentials or contact the provider. Full schema and provider examples:
997
+ [.pi/extensions/pi-voice-stt/README.md](../.pi/extensions/pi-voice-stt/README.md).
998
+
999
+ ### Complete model profiles
1000
+
1001
+ `/af-models <name>` reads `.pi/agents/model-profiles.yaml`. Flat persona-to-model
1002
+ maps remain supported and keep their declared-candidate validation. A `version: 2`
1003
+ profile declares the whole execution model set independently of
1004
+ `.ai/agent-fleet-overrides.md`:
1005
+
1006
+ ```yaml
1007
+ local-full:
1008
+ version: 2
1009
+ defaults:
1010
+ model: &qwen36 omlx/Qwen3.6-35B-A3B-4bit
1011
+ thinking: off
1012
+ allowed-models:
1013
+ - *qwen36
1014
+ fallback: none
1015
+ routing: native
1016
+ dispatcher: *qwen36
1017
+ agents:
1018
+ # Every shipped persona uses *qwen36 (see .pi/agents/model-profiles.yaml).
1019
+ subagents:
1020
+ # Every declared child role uses *qwen36.
1021
+ services:
1022
+ watchdog: *qwen36
1023
+ return-extractor: *qwen36
1024
+ panel:
1025
+ - { name: qwen-a, model: *qwen36 }
1026
+ - { name: qwen-b, model: *qwen36 }
1027
+ - { name: qwen-integrator, model: *qwen36, integrator: true }
1028
+ ```
1029
+
1030
+ - `defaults` supplies **every persona and every declared child**, including future
1031
+ personas, research helpers and team changes. `agents` and `subagents` contain
1032
+ exceptions. To preserve a persona's existing selection, omit it from `agents`;
1033
+ for example, `local-workers` leaves `orchestrator` out. Each selection accepts a
1034
+ model string or `{model, thinking}`.
1035
+ Unspecified thinking inherits defaults, then `off`. Tool caps and delegation
1036
+ depth remain unchanged. Unknown persona/child names are rejected.
1037
+ - `dispatcher` changes the current Pi session's model and thinking. When omitted,
1038
+ the live dispatcher keeps its current selection and may use any Pi model, even
1039
+ outside `allowed-models`; that list still applies to workers and peers. An
1040
+ `orchestrator` persona entry alone is not the live dispatcher.
1041
+ - `services` sets the watchdog and structured-return extractor independently;
1042
+ unspecified services use defaults. `panel` supplies 2–5 poll/debate voices and
1043
+ an optional single integrator. `/af-poll` and `/af-debate` select the active
1044
+ profile's panel automatically. Explicit other panel names are refused while
1045
+ the complete profile is active. Without `panel`, two default-model voices are used.
1046
+ - `routing: native` (default) keeps Hub-owned work on native Pi subprocesses.
1047
+ Without `allowed-models` it still refuses explicit coms dispatch, handoff,
1048
+ `coms_send` and peer spawning. With `allowed-models`, those peer actions are
1049
+ allowed only when the peer's advertised or planned model is on the list
1050
+ (exact `provider/model`, or a unique provider-less suffix match); a foreign,
1051
+ missing, or `unknown` model is refused, and `claude-code` peers are refused
1052
+ because their models cannot be allowlisted. Existing peer processes are not
1053
+ reconfigured or stopped. `routing: configured` opts into the existing dispatch
1054
+ policy and cannot be combined with `allowed-models`, since a peer's nested
1055
+ children cannot be verified by this hub.
1056
+ - `fallback: none` (default) disables automatic original-model fallback, including
1057
+ nested children and workflows. `declared` retains it. Optional `allowed-models`
1058
+ is an exact provider/model allowlist checked before actual child spawns and
1059
+ fallback attempts. Worker model pickers and session substitutions respect it;
1060
+ the live dispatcher is checked only when `dispatcher` is explicit.
1061
+ This governs Fleet model execution; it is not an OS/network sandbox for arbitrary
1062
+ shell commands or unrelated applications.
1063
+
1064
+ Activation validates the complete profile and Pi availability of its referenced
1065
+ models before changing settings. Missing models leave the previous configuration
1066
+ in place. Busy dispatchers, agents and poll/debate runs refuse switching: wait for
1067
+ completion first. On leaving a complete profile, the previous dispatcher, thinking
1068
+ and manual model/sub-role/substitution settings are restored before applying the
1069
+ next profile. A fresh Pi session clears the active profile; select it again there.
1070
+
1071
+ The profile is passed through the owned process tree. Workflow commands started
1072
+ from that session inherit its persona models, thinking, panel and fallback policy.
1073
+ Separately started fleet sessions/standing peers retain their own configuration.
1074
+ The bundled `local-full` profile explicitly covers all shipped child roles and needs
1075
+ no project model overrides. Every role, service and panel entry uses the single
1076
+ `omlx/Qwen3.6-35B-A3B-4bit` model. The `local-workers` profile uses that same local
1077
+ model for agents, subagents, services and panel voices, while leaving `orchestrator`
1078
+ to inherit its current selection; its peer allowlist refuses non-local coms models.
1079
+ The model must be registered in Pi and served locally by oMLX. Selecting a profile
1080
+ does not download or register models.
1081
+
1082
+ ## System 1 dispatch advice and communication
1083
+
1084
+ Fleet `1` opens the session-only System 1 communication viewer; capture requires
1085
+ explicit opt-in. The orchestrator may call `dispatch_triage` when its separate
1086
+ human-owned configuration permits it. Both remain off by default; installation
1087
+ does not authorize live requests or calibrate the policy. See the
1088
+ [configuration, keys, privacy and evaluation guide](system1-dispatch-triage.md).
1089
+
1090
+ ### Fleet Dashboard thinking shortcut
1091
+
1092
+ In the Fleet Dashboard (**Alt+A**), select a native specialist or research persona
1093
+ with **↑/↓**, then use **←/→** to decrease/increase its thinking level
1094
+ (`off`, `minimal`, `low`, `medium`, `high`, `xhigh`). The arrows stop at either end.
1095
+ Changes are session-only and apply on the next dispatch or `spawn_research`,
1096
+ not to an already-running request. External coms peers, delegates and anonymous
1097
+ research helpers do not support this shortcut.
1098
+
1099
+ ## Unified System 1 v2 configuration
1100
+
1101
+ The runtime source is `.ai/system1.json` version 2 with independent consumer sections, one immutable session snapshot and a shared service. Installation selection remains separate. See [the unified configuration contract](system1-config.md) for setup, explicit migration, retained backups, diagnostics and remote/local off semantics. Legacy JSON files and `watchdog-system1` in Markdown are not runtime sources. v1 requires explicit migration and cannot start inference. Persisted Task Triage obligations remain enforced when inference is off or unavailable. D10 is not activated by this change.