@chankov/agent-fleet 2.0.10 → 2.0.11
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.
- package/.pi/agent-fleet/scripts/flow.ts +26 -8
- package/.pi/agent-fleet/scripts/workflows/lib/agent-phase.ts +56 -12
- package/.pi/agent-fleet/scripts/workflows/lib/isolated-snapshot.ts +125 -0
- package/.pi/agent-fleet/scripts/workflows/lib/run.ts +2 -2
- package/.pi/agent-fleet/scripts/workflows/lib/scout-data-boundary.ts +55 -0
- package/.pi/agent-fleet/scripts/workflows/lib/trace.ts +2 -2
- package/.pi/agent-fleet/scripts/workflows/wf-scout.ts +3 -1
- package/.pi/harnesses/agent-hub/README.md +53 -18
- package/.pi/harnesses/agent-hub/acceptance.ts +137 -0
- package/.pi/harnesses/agent-hub/assertion-ledger.js +15 -6
- package/.pi/harnesses/agent-hub/assist-profile.ts +16 -0
- package/.pi/harnesses/agent-hub/bounded-output.ts +26 -0
- package/.pi/harnesses/agent-hub/budget-recovery.ts +112 -18
- package/.pi/harnesses/agent-hub/capability-packs.ts +4 -1
- package/.pi/harnesses/agent-hub/commands/audit.ts +9 -0
- package/.pi/harnesses/agent-hub/commands/context.ts +1 -0
- package/.pi/harnesses/agent-hub/commands/retry.ts +1 -1
- package/.pi/harnesses/agent-hub/config/agents.ts +1 -0
- package/.pi/harnesses/agent-hub/config/model-profiles.ts +20 -1
- package/.pi/harnesses/agent-hub/context/assertions-artifacts.ts +10 -2
- package/.pi/harnesses/agent-hub/context/budgets.ts +2 -0
- package/.pi/harnesses/agent-hub/delegate.ts +19 -2
- package/.pi/harnesses/agent-hub/deterministic-fs.ts +127 -0
- package/.pi/harnesses/agent-hub/diagnostic-probe-extension.ts +26 -0
- package/.pi/harnesses/agent-hub/diagnostic-series-budget.ts +178 -0
- package/.pi/harnesses/agent-hub/dispatch-native-complete.ts +14 -5
- package/.pi/harnesses/agent-hub/dispatch-native-prepare.ts +74 -7
- package/.pi/harnesses/agent-hub/dispatch-native-spawn.ts +5 -1
- package/.pi/harnesses/agent-hub/dispatch-native-types.ts +15 -0
- package/.pi/harnesses/agent-hub/dispatch-native.ts +24 -11
- package/.pi/harnesses/agent-hub/filesystem-tool.ts +73 -0
- package/.pi/harnesses/agent-hub/helpers.ts +5 -1
- package/.pi/harnesses/agent-hub/hub-state-audit.js +1 -0
- package/.pi/harnesses/agent-hub/index.ts +145 -14
- package/.pi/harnesses/agent-hub/no-progress.ts +194 -64
- package/.pi/harnesses/agent-hub/package.json +1 -1
- package/.pi/harnesses/agent-hub/policy/work-mode.ts +10 -3
- package/.pi/harnesses/agent-hub/process-obligations.ts +57 -0
- package/.pi/harnesses/agent-hub/prompts/context.ts +4 -0
- package/.pi/harnesses/agent-hub/prompts/fragments.ts +5 -2
- package/.pi/harnesses/agent-hub/prompts/system-prompt.ts +1 -1
- package/.pi/harnesses/agent-hub/recovery-contract.ts +78 -0
- package/.pi/harnesses/agent-hub/research/runtime.ts +1 -0
- package/.pi/harnesses/agent-hub/research/spawn-run.ts +20 -5
- package/.pi/harnesses/agent-hub/runtime-test-check.ts +54 -0
- package/.pi/harnesses/agent-hub/session-audit.ts +161 -0
- package/.pi/harnesses/agent-hub/spawn.ts +61 -7
- package/.pi/harnesses/agent-hub/task-resume-contract.ts +70 -0
- package/.pi/harnesses/agent-hub/tool-catalog-runtime.ts +68 -0
- package/.pi/harnesses/agent-hub/tool-catalog-state.ts +123 -0
- package/.pi/harnesses/agent-hub/tool-protocol.ts +134 -0
- package/.pi/harnesses/agent-hub/tools/action-executors.ts +41 -5
- package/.pi/harnesses/agent-hub/tools/context.ts +9 -1
- package/.pi/harnesses/agent-hub/tools/dispatch-agent.ts +1 -1
- package/.pi/harnesses/agent-hub/tools/dispatch-execution.ts +176 -26
- package/.pi/harnesses/agent-hub/tools/run-flow.ts +122 -0
- package/.pi/harnesses/agent-hub/tools/set-task-tier.ts +5 -3
- package/.pi/harnesses/agent-hub/tools/spawn-research.ts +4 -1
- package/.pi/harnesses/agent-hub/tools/verification-contract.ts +5 -2
- package/.pi/harnesses/agent-hub/types.ts +2 -0
- package/.pi/harnesses/agent-hub/unknown-tool-counter.ts +116 -0
- package/.pi/harnesses/agent-hub/work-mode.ts +8 -2
- package/.pi/harnesses/agent-hub/write-isolation.ts +187 -0
- package/.pi/harnesses/ask-user-remote/runtime-ask.ts +31 -6
- package/.pi/harnesses/coms/package.json +1 -1
- package/.pi/harnesses/damage-control-continue/index.ts +9 -0
- package/.pi/harnesses/damage-control-continue/package.json +1 -1
- package/.pi/harnesses/lib/deterministic-handle-path.ts +23 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/README.md +347 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-herdr/plugin.js +1291 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-herdr/presentation.js +672 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-monitor/plugin.js +19 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-monitor/state.js +10 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/gates/gate-o-capability.md +8 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/gates/gate-o-validator-fixtures.json +1 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/activity.py +773 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/coms_registry.py +134 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/coms_send.py +350 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/herdr_source.py +193 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/manifest.json +4 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/plugin_api.py +444 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/sessions.py +205 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/tasks.py +300 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/watch.py +819 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/plugin.yaml +8 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/plugins/agent-fleet-monitor/dashboard/adapter.py +139 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/plugins/agent-fleet-monitor/dashboard/manifest.json +11 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/plugins/agent-fleet-monitor/dashboard/plugin_api.py +50 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/skills/hub-conductor/SKILL.md +84 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/skills/hub-liaison/SKILL.md +84 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/skills/hub-watchdog/SKILL.md +76 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/skills/hub-watchdog/manifest.json +1 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog.py +249 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_actions.py +124 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_contract.py +76 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_delivery.py +10 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_engine.py +128 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_judgment.py +41 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_recovery.py +103 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_state.py +163 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_transport.py +138 -0
- package/.versions/2.0.11/.pi/agent-fleet/hermes/watchdog-tests/__init__.py +0 -0
- package/.versions/2.0.11/.pi/agent-fleet/hooks/coms-stop-hook.mjs +84 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/claude-code-preflight.ts +70 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/coms-claude-bridge.ts +411 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/coms-cli.ts +425 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/coms-hermes-bridge.ts +413 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/fleet-codex-client.ts +69 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/fleet-codex-read.py +148 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/fleet.ts +216 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/flow.ts +155 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/hermes-monitor-capability-runner.ts +25 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/hermes-monitor-scenario.ts +474 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/hermes-watchdog-capability-probe.ts +45 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/install-hermes-plugin.sh +180 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/claude-bridge-core.ts +210 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/coms-envelope.ts +582 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/fake-herdr-server.ts +88 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/fleet-codex-catalog.ts +63 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/fleet-codex-operations.ts +190 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/fleet-codex-session.ts +166 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/fleet-codex-transport.ts +124 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/fleet-command.ts +252 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/flow-command.ts +93 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/flow-maintenance.ts +230 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/herdr-layout.ts +281 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/hermes-bridge-core.ts +241 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/hermes-monitor-events.ts +1 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/hermes-monitor-herdr.ts +2 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/hermes-monitor-model.ts +3 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/hermes-monitor-registry.ts +2 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/hermes-monitor-socket.ts +2 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/hermes-monitor-store.ts +2 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/monitor-env.ts +146 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/peer-launch.ts +318 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/persona-banner.ts +62 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/persona-dirs.ts +25 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/runtime-dependencies.js +124 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/spawn-stagger.ts +101 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/team-project.ts +178 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/lib/team-snapshot.ts +147 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/package-lock.json +35 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/package.json +9 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/peer-banner.ts +41 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/peer-launch.ts +283 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/team-snapshot.ts +237 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/team-up.ts +378 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/agent-phase.ts +177 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/changes.ts +61 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/debate.ts +149 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/env.ts +34 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/envelopes.ts +169 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/gates.ts +81 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/git.ts +96 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/isolated-snapshot.ts +125 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/merge.ts +95 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/model-profile.ts +22 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/model-visibility.ts +92 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/permissions.ts +130 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/personas.ts +57 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/poll.ts +86 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/quality.ts +64 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/run.ts +108 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/scout-data-boundary.ts +55 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/trace.ts +34 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/voices.ts +128 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/lib/writer-lease.ts +112 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/tsconfig.json +22 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/wf-build-test.ts +61 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/wf-debate.ts +87 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/wf-document.ts +50 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/wf-poll.ts +95 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/wf-quality.ts +20 -0
- package/.versions/2.0.11/.pi/agent-fleet/scripts/workflows/wf-scout.ts +40 -0
- package/.versions/2.0.11/.pi/agents/dispatch-policy.yaml +32 -0
- package/.versions/2.0.11/.pi/agents/model-profiles.yaml +83 -0
- package/.versions/2.0.11/.pi/agents/peers.yaml +147 -0
- package/.versions/2.0.11/.pi/agents/teams.yaml +41 -0
- package/.versions/2.0.11/.pi/agents/voices.yaml +13 -0
- package/.versions/2.0.11/.pi/damage-control-rules.yaml +297 -0
- package/.versions/2.0.11/.pi/extensions/btw/README.md +120 -0
- package/.versions/2.0.11/.pi/extensions/btw/index.ts +914 -0
- package/.versions/2.0.11/.pi/extensions/btw/package.json +6 -0
- package/.versions/2.0.11/.pi/extensions/btw/state.js +179 -0
- package/.versions/2.0.11/.pi/extensions/chrome-devtools-mcp/README.md +55 -0
- package/.versions/2.0.11/.pi/extensions/chrome-devtools-mcp/index.ts +93 -0
- package/.versions/2.0.11/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
- package/.versions/2.0.11/.pi/extensions/compact-and-continue/README.md +42 -0
- package/.versions/2.0.11/.pi/extensions/compact-and-continue/index.ts +120 -0
- package/.versions/2.0.11/.pi/extensions/compact-and-continue/package.json +6 -0
- package/.versions/2.0.11/.pi/extensions/mcp-bridge/README.md +46 -0
- package/.versions/2.0.11/.pi/extensions/mcp-bridge/index.ts +206 -0
- package/.versions/2.0.11/.pi/extensions/mcp-bridge/package.json +6 -0
- package/.versions/2.0.11/.pi/extensions/package-lock.json +1175 -0
- package/.versions/2.0.11/.pi/extensions/package.json +9 -0
- package/.versions/2.0.11/.pi/extensions/pi-voice-stt/README.md +224 -0
- package/.versions/2.0.11/.pi/extensions/pi-voice-stt/config.ts +198 -0
- package/.versions/2.0.11/.pi/extensions/pi-voice-stt/examples/stt.json +35 -0
- package/.versions/2.0.11/.pi/extensions/pi-voice-stt/index.ts +248 -0
- package/.versions/2.0.11/.pi/extensions/pi-voice-stt/package.json +6 -0
- package/.versions/2.0.11/.pi/extensions/pi-voice-stt/providers.ts +214 -0
- package/.versions/2.0.11/.pi/extensions/pi-voice-stt/recorder.ts +158 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/README.md +1252 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/acceptance.ts +199 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/access-approval.ts +135 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/artifacts.js +146 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/assertion-ledger.js +67 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/assist-profile.ts +16 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/backend-policy.js +174 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/bounded-output.ts +26 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/budget-continuation.ts +13 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/budget-recovery.ts +191 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/capability-confirmation.ts +47 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/capability-packs.ts +183 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/agent-model-thinking.ts +10 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/agent-model.ts +10 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/agent-models-substitute.ts +10 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/agents-add.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/agents-drop.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/agents-history.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/agents-kill.ts +10 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/agents-list.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/agents-restart.ts +10 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/agents-save.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/agents-team.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/audit.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/budget-continue.ts +10 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/compound.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/coms.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/context-command.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/context.ts +44 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/debate.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/dispatch-policy.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/handoff.ts +10 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/hub-report.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/models.ts +10 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/poll.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/retry.ts +10 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/watchdog.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/work-mode.ts +29 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/commands/zoom.ts +10 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/config/agents.ts +178 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/config/model-profiles.ts +235 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/config/overrides.ts +153 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/context/agent-state.ts +30 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/context/assertions-artifacts.ts +221 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/context/budgets.ts +204 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/context/hub-state.ts +40 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/context-budget-snapshot.ts +105 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/context-pressure.ts +191 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/context-window.js +106 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/debate-command.ts +176 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/delegate.ts +463 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/deterministic-fs.ts +127 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/diagnostic-probe-extension.ts +26 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/diagnostic-series-budget.ts +178 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/dispatch-coms.ts +237 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/dispatch-core.ts +27 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/dispatch-native-complete.ts +163 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/dispatch-native-prepare.ts +223 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/dispatch-native-spawn.ts +197 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/dispatch-native-types.ts +245 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/dispatch-native.ts +226 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/dispatch-observability.ts +225 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/docs-lane.js +122 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/drift-watchdog.js +218 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/evidence-rules.js +96 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/execution-evidence.ts +80 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/external-blocker.js +85 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/filesystem-tool.ts +73 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/fixtures/registration-surface.json +60 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/fixtures/t0a-synthetic/catalog.ts +189 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/footer.ts +30 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/helpers.ts +270 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/hub-state-audit.js +65 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/index.ts +2263 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/input/completions.ts +76 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/input/shortcuts.ts +20 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/lifecycle/context-pressure.ts +123 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/lifecycle/monitor-session.ts +104 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/lifecycle/session-orchestration.ts +143 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/lifecycle/turn-handlers.ts +74 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/monitor-control.ts +9 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/monitor-invoke-journal.ts +131 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/monitor-invoke.ts +92 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/monitor-lifecycle.ts +13 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/monitor-publisher.ts +59 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/monitor-recovery.ts +3 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/monitor-runtime.ts +3 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/monitor-session-bridge.ts +266 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/no-progress.ts +206 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/package.json +7 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/peer-spawn-plan.ts +116 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/policy/models.ts +153 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/policy/profile-activation.ts +62 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/policy/profile-runtime.ts +120 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/policy/roster.ts +94 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/policy/work-mode.ts +126 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/poll-command.ts +176 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/presentation.ts +48 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/process-obligations.ts +57 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/prompts/context.ts +51 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/prompts/fragments.ts +118 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/prompts/session-start.ts +90 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/prompts/system-prompt.ts +112 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/provider-semaphore.js +138 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/recovery-contract.ts +78 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/research/controls.ts +74 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/research/runtime.ts +193 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/research/spawn-run.ts +171 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/research-watchdog.ts +40 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/return-contract.js +327 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/return-extract.js +75 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/review-findings.js +102 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/run-budget.js +537 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/run-namespace.js +87 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/runtime-test-check.ts +54 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/safety-routing.ts +22 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/scope-gate.js +123 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/session-audit.ts +161 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/session-health.js +110 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/session-start.ts +42 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/spawn.ts +458 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/task-resume-contract.ts +70 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/timeline.ts +54 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tool-catalog-runtime.ts +68 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tool-catalog-state.ts +123 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tool-protocol.ts +134 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tools/action-executors.ts +185 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tools/coms-tools.ts +139 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tools/context.ts +142 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tools/dispatch-agent.ts +82 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tools/dispatch-execution.ts +485 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tools/execution-orchestration.ts +22 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tools/fleet-tools.ts +200 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tools/herdr-executors.ts +86 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tools/run-flow.ts +122 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tools/set-task-tier.ts +31 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tools/spawn-research.ts +65 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tools/team-adjust.ts +29 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/tools/verification-contract.ts +80 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/types.ts +65 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/ui/activity-dots.ts +16 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/ui/context-budget.ts +86 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/ui/detail-panel.ts +178 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/ui/fleet-actions.ts +76 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/ui/fleet-dashboard.ts +99 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/ui/fleet-editor.ts +44 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/ui/fleet-source.ts +157 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/ui/grid.ts +154 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/ui/history-store.ts +137 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/ui/history.ts +234 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/ui/pool.ts +103 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/ui/running-strip.ts +2 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/ui/zoom.ts +204 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/unknown-tool-counter.ts +116 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/version.ts +42 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/work-mode-controls.ts +56 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/work-mode.ts +173 -0
- package/.versions/2.0.11/.pi/harnesses/agent-hub/write-isolation.ts +187 -0
- package/.versions/2.0.11/.pi/harnesses/ask-user-remote/README.md +59 -0
- package/.versions/2.0.11/.pi/harnesses/ask-user-remote/index.ts +558 -0
- package/.versions/2.0.11/.pi/harnesses/ask-user-remote/questions.ts +161 -0
- package/.versions/2.0.11/.pi/harnesses/ask-user-remote/race-core.js +124 -0
- package/.versions/2.0.11/.pi/harnesses/ask-user-remote/runtime-ask.ts +68 -0
- package/.versions/2.0.11/.pi/harnesses/coms/README.md +100 -0
- package/.versions/2.0.11/.pi/harnesses/coms/index.ts +282 -0
- package/.versions/2.0.11/.pi/harnesses/coms/package.json +7 -0
- package/.versions/2.0.11/.pi/harnesses/coms/version.ts +42 -0
- package/.versions/2.0.11/.pi/harnesses/damage-control-continue/README.md +135 -0
- package/.versions/2.0.11/.pi/harnesses/damage-control-continue/index.ts +550 -0
- package/.versions/2.0.11/.pi/harnesses/damage-control-continue/package.json +7 -0
- package/.versions/2.0.11/.pi/harnesses/damage-control-continue/version.ts +42 -0
- package/.versions/2.0.11/.pi/harnesses/lib/changed-file-diagnostics.ts +642 -0
- package/.versions/2.0.11/.pi/harnesses/lib/coms-core-io.ts +385 -0
- package/.versions/2.0.11/.pi/harnesses/lib/coms-core.ts +577 -0
- package/.versions/2.0.11/.pi/harnesses/lib/coms-registry-entry.ts +94 -0
- package/.versions/2.0.11/.pi/harnesses/lib/context-budget-child-prompt.ts +180 -0
- package/.versions/2.0.11/.pi/harnesses/lib/context-budget-hub-prompt.ts +114 -0
- package/.versions/2.0.11/.pi/harnesses/lib/context-budget-view.ts +107 -0
- package/.versions/2.0.11/.pi/harnesses/lib/context-budget.ts +114 -0
- package/.versions/2.0.11/.pi/harnesses/lib/damage-control-shared.ts +197 -0
- package/.versions/2.0.11/.pi/harnesses/lib/deterministic-handle-path.ts +23 -0
- package/.versions/2.0.11/.pi/harnesses/lib/fixtures/context-budget-profiles.json +11 -0
- package/.versions/2.0.11/.pi/harnesses/lib/fixtures/hub-prompt-operator.legacy.txt +73 -0
- package/.versions/2.0.11/.pi/harnesses/lib/fixtures/hub-prompt-orchestrator.legacy.txt +73 -0
- package/.versions/2.0.11/.pi/harnesses/lib/fleet-dashboard-ops.ts +178 -0
- package/.versions/2.0.11/.pi/harnesses/lib/fleet-dashboard-view.ts +134 -0
- package/.versions/2.0.11/.pi/harnesses/lib/fleet-detail-view.ts +247 -0
- package/.versions/2.0.11/.pi/harnesses/lib/fleet-overlay.ts +26 -0
- package/.versions/2.0.11/.pi/harnesses/lib/fleet-panel.ts +34 -0
- package/.versions/2.0.11/.pi/harnesses/lib/fleet-read-model.ts +213 -0
- package/.versions/2.0.11/.pi/harnesses/lib/fleet-selection.ts +24 -0
- package/.versions/2.0.11/.pi/harnesses/lib/fleet-strip-controller.ts +74 -0
- package/.versions/2.0.11/.pi/harnesses/lib/fleet-strip-view.ts +132 -0
- package/.versions/2.0.11/.pi/harnesses/lib/fleet-transcript-store.ts +244 -0
- package/.versions/2.0.11/.pi/harnesses/lib/herdr-client.ts +472 -0
- package/.versions/2.0.11/.pi/harnesses/lib/herdr-presence.ts +399 -0
- package/.versions/2.0.11/.pi/harnesses/lib/hermes-monitor-events.ts +136 -0
- package/.versions/2.0.11/.pi/harnesses/lib/hermes-monitor-herdr.ts +28 -0
- package/.versions/2.0.11/.pi/harnesses/lib/hermes-monitor-model.ts +18 -0
- package/.versions/2.0.11/.pi/harnesses/lib/hermes-monitor-registry.ts +6 -0
- package/.versions/2.0.11/.pi/harnesses/lib/hermes-monitor-socket.ts +163 -0
- package/.versions/2.0.11/.pi/harnesses/lib/hermes-monitor-store.ts +31 -0
- package/.versions/2.0.11/.pi/harnesses/lib/spawned-peers.js +190 -0
- package/.versions/2.0.11/.pi/harnesses/lib/update-check.ts +222 -0
- package/.versions/2.0.11/.pi/harnesses/package-lock.json +2039 -0
- package/.versions/2.0.11/.pi/harnesses/package.json +10 -0
- package/.versions/2.0.11/.pi/prompts/af-build.md +24 -0
- package/.versions/2.0.11/.pi/prompts/af-code-simplify.md +22 -0
- package/.versions/2.0.11/.pi/prompts/af-constraints.md +31 -0
- package/.versions/2.0.11/.pi/prompts/af-plan.md +17 -0
- package/.versions/2.0.11/.pi/prompts/af-review.md +16 -0
- package/.versions/2.0.11/.pi/prompts/af-set-hermes-telegram.md +15 -0
- package/.versions/2.0.11/.pi/prompts/af-set-hermes-watchdog.md +6 -0
- package/.versions/2.0.11/.pi/prompts/af-ship.md +17 -0
- package/.versions/2.0.11/.pi/prompts/af-spec.md +15 -0
- package/.versions/2.0.11/.pi/prompts/af-test.md +19 -0
- package/.versions/2.0.11/.pi/skills/bowser/SKILL.md +145 -0
- package/.versions/2.0.11/.version +1 -0
- package/.versions/2.0.11/agents/architect.md +25 -0
- package/.versions/2.0.11/agents/bowser.md +28 -0
- package/.versions/2.0.11/agents/builder.md +56 -0
- package/.versions/2.0.11/agents/code-reviewer.md +210 -0
- package/.versions/2.0.11/agents/deep-researcher.md +33 -0
- package/.versions/2.0.11/agents/documenter.md +23 -0
- package/.versions/2.0.11/agents/orchestrator.md +23 -0
- package/.versions/2.0.11/agents/plan-reviewer.md +84 -0
- package/.versions/2.0.11/agents/planner.md +106 -0
- package/.versions/2.0.11/agents/releaser.md +25 -0
- package/.versions/2.0.11/agents/researcher.md +31 -0
- package/.versions/2.0.11/agents/security-auditor.md +168 -0
- package/.versions/2.0.11/agents/test-engineer.md +154 -0
- package/.versions/2.0.11/agents/web-debugger.md +44 -0
- package/.versions/2.0.11/agents/web-performance-auditor.md +194 -0
- package/.versions/2.0.11/bin/catalog/harness-runtime-closure.json +61 -0
- package/.versions/2.0.11/codex/fleet-session-client/SKILL.md +34 -0
- package/.versions/2.0.11/codex/fleet-session-client.zip +0 -0
- package/.versions/2.0.11/docs/ARCHITECTURE.md +595 -0
- package/.versions/2.0.11/docs/agent-fleet-setup.md +586 -0
- package/.versions/2.0.11/docs/claude-code-coms-bridge.md +134 -0
- package/.versions/2.0.11/docs/codex-session-bridge.md +219 -0
- package/.versions/2.0.11/docs/coms-hermes-bridge.md +188 -0
- package/.versions/2.0.11/docs/getting-started.md +126 -0
- package/.versions/2.0.11/docs/npm-install.md +383 -0
- package/.versions/2.0.11/docs/pi-extensions.md +449 -0
- package/.versions/2.0.11/docs/pi-setup.md +92 -0
- package/.versions/2.0.11/docs/skill-anatomy.md +150 -0
- package/.versions/2.0.11/install-manifest.json +3020 -0
- package/.versions/2.0.11/justfile +247 -0
- package/.versions/2.0.11/manifest-meta.json +970 -0
- package/.versions/2.0.11/references/accessibility-checklist.md +160 -0
- package/.versions/2.0.11/references/communication-contract.md +26 -0
- package/.versions/2.0.11/references/definition-of-done.md +67 -0
- package/.versions/2.0.11/references/fleet-coordination-patterns.md +171 -0
- package/.versions/2.0.11/references/observability-checklist.md +92 -0
- package/.versions/2.0.11/references/orchestration-patterns.md +370 -0
- package/.versions/2.0.11/references/performance-checklist.md +236 -0
- package/.versions/2.0.11/references/prompting-patterns.md +380 -0
- package/.versions/2.0.11/references/security-checklist.md +245 -0
- package/.versions/2.0.11/references/testing-patterns.md +235 -0
- package/.versions/2.0.11/references/workflow-authoring.md +304 -0
- package/.versions/2.0.11/skills/_internal/grilling.md +59 -0
- package/.versions/2.0.11/skills/browser-testing-with-devtools/SKILL.md +351 -0
- package/.versions/2.0.11/skills/code-review-and-quality/SKILL.md +396 -0
- package/.versions/2.0.11/skills/compound-learning/SKILL.md +137 -0
- package/.versions/2.0.11/skills/constraint-driven-development/SKILL.md +338 -0
- package/.versions/2.0.11/skills/constraint-driven-development/references/floor-guard.md +99 -0
- package/.versions/2.0.11/skills/context-engineering/SKILL.md +341 -0
- package/.versions/2.0.11/skills/deprecation-and-migration/SKILL.md +247 -0
- package/.versions/2.0.11/skills/designing-agents/SKILL.md +394 -0
- package/.versions/2.0.11/skills/designing-agents/pi-harness-authoring.md +222 -0
- package/.versions/2.0.11/skills/drafting-workflows/SKILL.md +143 -0
- package/.versions/2.0.11/skills/drafting-workflows/scripts/make-workflow.ts +177 -0
- package/.versions/2.0.11/skills/frontend-ui-engineering/SKILL.md +328 -0
- package/.versions/2.0.11/skills/git-workflow-and-versioning/SKILL.md +316 -0
- package/.versions/2.0.11/skills/idea-refine/SKILL.md +182 -0
- package/.versions/2.0.11/skills/idea-refine/examples.md +238 -0
- package/.versions/2.0.11/skills/idea-refine/frameworks.md +99 -0
- package/.versions/2.0.11/skills/idea-refine/refinement-criteria.md +113 -0
- package/.versions/2.0.11/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/.versions/2.0.11/skills/incremental-implementation/SKILL.md +302 -0
- package/.versions/2.0.11/skills/interview-me/SKILL.md +226 -0
- package/.versions/2.0.11/skills/orchestration-verification/SKILL.md +182 -0
- package/.versions/2.0.11/skills/peer-coms/SKILL.md +90 -0
- package/.versions/2.0.11/skills/performance-optimization/SKILL.md +496 -0
- package/.versions/2.0.11/skills/planning-and-task-breakdown/SKILL.md +289 -0
- package/.versions/2.0.11/skills/security-and-hardening/SKILL.md +524 -0
- package/.versions/2.0.11/skills/spec-driven-development/SKILL.md +295 -0
- package/.versions/2.0.11/skills/using-agent-skills/SKILL.md +198 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/LICENSE +21 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/README.md +430 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/api-and-interface-design/SKILL.md +367 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/browser-testing-with-devtools/SKILL.md +317 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/ci-cd-and-automation/SKILL.md +390 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/code-review-and-quality/SKILL.md +396 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/code-simplification/SKILL.md +331 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/constraint-driven-development/SKILL.md +311 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/constraint-driven-development/references/floor-guard.md +99 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/context-engineering/SKILL.md +337 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/debugging-and-error-recovery/SKILL.md +300 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/deprecation-and-migration/SKILL.md +247 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/documentation-and-adrs/SKILL.md +288 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/doubt-driven-development/SKILL.md +243 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/frontend-ui-engineering/SKILL.md +328 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/git-workflow-and-versioning/SKILL.md +355 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/idea-refine/SKILL.md +178 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/idea-refine/examples.md +238 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/idea-refine/frameworks.md +99 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/idea-refine/refinement-criteria.md +113 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/incremental-implementation/SKILL.md +249 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/interview-me/SKILL.md +225 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/observability-and-instrumentation/SKILL.md +238 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/performance-optimization/SKILL.md +496 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/planning-and-task-breakdown/SKILL.md +257 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/security-and-hardening/SKILL.md +524 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/shipping-and-launch/SKILL.md +330 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/source-driven-development/SKILL.md +216 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/spec-driven-development/SKILL.md +245 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/test-driven-development/SKILL.md +398 -0
- package/.versions/2.0.11/vendor/agent-skills-upstream/skills/using-agent-skills/SKILL.md +192 -0
- package/CHANGELOG.md +8 -0
- package/README.md +1 -0
- package/bin/catalog/harness-runtime-closure.json +29 -0
- package/bin/cli.js +15 -4
- package/bin/lib/doctor.js +83 -1
- package/docs/ARCHITECTURE.md +181 -2
- package/docs/workflows.md +8 -2
- package/install-manifest.json +31 -2
- package/package.json +2 -2
package/docs/ARCHITECTURE.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
Agent Fleet is a Pi-centered multi-agent orchestration system. This page maps
|
|
4
4
|
the runtime responsibilities and where each module lives in the repository.
|
|
5
5
|
|
|
6
|
+
For the principles governing future plans and design decisions, read the
|
|
7
|
+
[project philosophy](PHILOSOPHY.md). That document states the intended direction;
|
|
8
|
+
this page describes the current architecture.
|
|
9
|
+
|
|
6
10
|
## Runtime layers
|
|
7
11
|
|
|
8
12
|
| Layer | Role | Implementation |
|
|
@@ -42,7 +46,9 @@ not a session execution mode.
|
|
|
42
46
|
|
|
43
47
|
All Hub-owned slash commands remain registered in both work modes. Capability packs are resolved automatically from explicit task intent, work mode, tier, pending work, and compaction state—there is no activation command. Runtime **readiness** (a coms or Herdr connection) is not model-visible capability: ready-but-unrequested peer/workspace packs remain inactive. Ambiguous fleet, peer, and workspace requests are provisionally visible but require one `ask_user` confirmation before their first side effect; a rejection removes the provisional pack. Task packs persist across follow-ups and reset only through `set_task_tier(new_task: true)`, while mandatory work mode and pending-operation leases remain.
|
|
44
48
|
|
|
45
|
-
`/af-context` is a standalone, read-only full-screen budget diagnostic; it separates stable prompt cost, volatile state, active schemas, and zero-cost inactive/loaded-excluded inputs. Provider totals and cache read/write fields are authoritative where Pi supplies them; it never fabricates provider usage or combines capacity percentages across Hub, child, and peer planes. Managed specialists and research children use explicit replacement prompts/context manifests with selected persona, policy, and skill paths instead of inherited global skills/context files. Runtime gates control whether an action can proceed: without coms, Herdr, a visible target, or an active roster, the corresponding command refuses with an actionable message rather than disappearing. `--browser` and `--all-extensions` expand the captured operator surface only when those optional extensions are installed.
|
|
49
|
+
`/af-context` is a standalone, read-only full-screen budget diagnostic; it separates stable prompt cost, volatile state, active schemas, and zero-cost inactive/loaded-excluded inputs. Provider totals and cache read/write fields are authoritative where Pi supplies them; it never fabricates provider usage or combines capacity percentages across Hub, child, and peer planes. `/af-audit` is a separate read-only session audit over existing runtime-owned records: it reports allowlisted T1 recovery categories, T2 result states, T3 protocol failures, and T8 permission correlations while keeping root, child, compaction snapshot, and repeated-record identities distinct. It never copies prompts, model text, tool payloads, environment values, or transcript content, and unavailable evidence stays explicit rather than becoming a zero count. Managed specialists and research children use explicit replacement prompts/context manifests with selected persona, policy, and skill paths instead of inherited global skills/context files. Runtime gates control whether an action can proceed: without coms, Herdr, a visible target, or an active roster, the corresponding command refuses with an actionable message rather than disappearing. `--browser` and `--all-extensions` expand the captured operator surface only when those optional extensions are installed.
|
|
50
|
+
|
|
51
|
+
T12 diagnostics have been withdrawn by user decision; there is no command, runner, or replacement entry point. Historical results and accounting remain unchanged. `diagnostic-series-budget.ts` retains the shared v2 ledger, stage/per-unit ceilings, conservative input preflight, migration refusal for ambiguous history, ownership locks, and cancellation fences used by benchmark consumers. `diagnostic-probe-extension.ts` is now a side-effect-free compatibility library exposing only provider/API output-cap mapping, its types, and the transport refusal exit constant. It preserves the reviewed 2048 cap and rejects unsupported payload semantics; it does not register an extension or tool. Existing sessions must be reloaded after updating. The installer retires unchanged managed command/runner files; user-modified obsolete files are preserved and reported for manual review, never deleted automatically. Such retained files are not imported by the current Hub.
|
|
46
52
|
|
|
47
53
|
### Context pressure and recovery
|
|
48
54
|
|
|
@@ -195,6 +201,154 @@ for genuinely different work and clears task identity/state. This is the guardra
|
|
|
195
201
|
post-mortem run never hit: every steering message reopened the turn window,
|
|
196
202
|
so one workspace stayed open 47 hours on a change that took 13 minutes in a narrow one.
|
|
197
203
|
|
|
204
|
+
### Runtime acceptance and recovery
|
|
205
|
+
|
|
206
|
+
Writable specialist operations (`write`, `edit`, or `bash`) receive the same T2 minimal
|
|
207
|
+
acceptance contract at every task tier. The trigger is the actual operation/tool contract and
|
|
208
|
+
current assertion ledger, not user-language matching or the model's tier label. Read-only
|
|
209
|
+
operations remain lightweight. Language heuristics only expose the fuller verification pack;
|
|
210
|
+
they are supplementary and do not decide whether changed work needs evidence. Pending
|
|
211
|
+
capability leases survive a new-task transition, while stale task packs and assertion state
|
|
212
|
+
reset through the explicit lifecycle path.
|
|
213
|
+
|
|
214
|
+
The runtime-owned result schema is `agent-fleet.runtime-result/v1`. It records orthogonal
|
|
215
|
+
`execution` (`completed | failed | pending`), `changes` (`changed | unchanged | unknown`, with
|
|
216
|
+
`certain | uncertain | not_observed` attribution), `verification`
|
|
217
|
+
(`passed | failed | missing | stale | unsupported`), and `acceptance`
|
|
218
|
+
(`accepted | not_accepted`) dimensions, bound to task identity, before/after revision, command,
|
|
219
|
+
integer exit status, and evidence references. A changed result and failed verification can
|
|
220
|
+
therefore both be true. Compatibility presentation remains
|
|
221
|
+
`not_available | deliverable_failed | needs_verification | accepted` for the Hub and
|
|
222
|
+
`accepted | rejected` for flows.
|
|
223
|
+
|
|
224
|
+
Only native Pi children support trusted runtime checks. The Hub injects the code-owned
|
|
225
|
+
`runtime-test-check.ts` observer only when the native persona has `bash`; the observer wraps the
|
|
226
|
+
existing bash implementation and preserves the normal damage-control `tool_call` approval and
|
|
227
|
+
bash error-event semantics. The parent accepts a check only when producer schema, observed bash
|
|
228
|
+
start, exact declared command, task, coverage metadata, exit status, and unchanged inspected
|
|
229
|
+
revision agree. This proves exact command execution, not semantic adequacy: even a declared
|
|
230
|
+
`true` command can pass, so test quality remains subject to independent or human review.
|
|
231
|
+
Coms peers cannot produce trusted checks, and `manual`/`runtime-ui` requirements currently have
|
|
232
|
+
no trusted producer; all three paths fail closed as missing or unsupported.
|
|
233
|
+
|
|
234
|
+
The observer and trusted event-correlation path have an observed compatibility dependency on
|
|
235
|
+
`@earendil-works/pi-coding-agent@0.84.2`: they rely on its `createBashToolDefinition`, `tool_result`
|
|
236
|
+
hook, `args.path`, and JSON-event passthrough contracts. This records the currently verified API
|
|
237
|
+
surface rather than changing or independently pinning the package version; Pi upgrades must
|
|
238
|
+
re-verify these integration points.
|
|
239
|
+
|
|
240
|
+
Native runs also retain a bounded record of actual tool starts/ends by tool-call identity. T3
|
|
241
|
+
uses those code-owned events only to correlate a terminal, unfenced pseudo-write claim with the
|
|
242
|
+
readback of an explicitly declared deliverable. It never executes tool-shaped text. Fenced
|
|
243
|
+
XML/JSON documentation examples are excluded; a real matching write event with failed readback
|
|
244
|
+
remains a T2 verification/effect failure rather than being relabelled as a protocol failure.
|
|
245
|
+
|
|
246
|
+
A mismatch emits `agent-fleet.tool-protocol-diagnostic/v1` with category
|
|
247
|
+
`tool_protocol_error`, task-or-controlled-probe origin, effective backend/model/tool
|
|
248
|
+
configuration, the claimed effect, matching-event and deliverable facts, `none | partial`
|
|
249
|
+
effects, this-run-only conclusion, and evidence references. The T2 runtime-result dimensions
|
|
250
|
+
remain unchanged and orthogonal. For a real task, the retained diagnostic artifact is the only
|
|
251
|
+
input accepted by the task-generation-bound `establishEffects` recovery port; it records what
|
|
252
|
+
already happened so unchanged retries cannot replay partial effects. It does not authorize a
|
|
253
|
+
retry by itself and does not turn a task failure into a probe result or a universal model
|
|
254
|
+
judgment. The withdrawn T12 runner is not part of this path; historical evidence remains archived.
|
|
255
|
+
|
|
256
|
+
T5's opt-in `filesystem` tool performs deterministic inventory, byte excerpts, artifact readback, and
|
|
257
|
+
local-file-only source snapshots without another model run. It is registered in the Hub and native
|
|
258
|
+
children but appears in their effective tool surface only while the inherited complete profile has
|
|
259
|
+
`assist.deterministic-tools: true`; stale or forged calls are refused at execution too. Profile and
|
|
260
|
+
work-mode changes rebuild the truthful T4 catalog, and compaction reconciles that effective surface.
|
|
261
|
+
Orchestrator mode may use this narrow inspection/managed-snapshot exception, but still has no generic
|
|
262
|
+
bash, edit, or write tools. Native specialist, research, and nested-delegate explicit tool caps remain
|
|
263
|
+
authoritative: the assist flag cannot append `filesystem` outside a declared cap.
|
|
264
|
+
Opaque handles bind canonical paths,
|
|
265
|
+
content hashes/fingerprints, and offsets; continuation fails on stale bytes or directory state,
|
|
266
|
+
and canonical-root checks reject symlink escape. Snapshot bytes and provenance metadata are
|
|
267
|
+
stored separately under the owning current session, marked untrusted, and never interpreted as analysis
|
|
268
|
+
or fetched from a network origin. Snapshot destinations are runtime-owned and cannot be supplied by the
|
|
269
|
+
caller; this narrow artifact creation path grants no general write or shell authority. Every source
|
|
270
|
+
path—including the path resolved from a readback handle—passes through the existing damage-control
|
|
271
|
+
`zeroAccessPaths` hook before execution, preserving its exemptions and interactive/headless approval
|
|
272
|
+
semantics; a denial occurs before source bytes or snapshot artifacts are created. Handle decoding is
|
|
273
|
+
single-sourced in `.pi/harnesses/lib/deterministic-handle-path.ts`, so damage-control retains this guard
|
|
274
|
+
when installed with its declared shared-library companion but without agent-hub. Inventory names and
|
|
275
|
+
all other operation results are marked untrusted. Because snapshot has a managed artifact side effect,
|
|
276
|
+
`filesystem` is not classified as replay-safe for automatic mid-run model fallback.
|
|
277
|
+
`assist.deterministic-tools` and `assist.bounded-output` are independent. Enabling
|
|
278
|
+
`bounded-output` alone bounds read-only tool results inside native specialists, research helpers,
|
|
279
|
+
and nested delegates before the next model continuation, and bounds parent reply transport too;
|
|
280
|
+
`deterministic-tools` controls the deterministic filesystem assistance without being a prerequisite
|
|
281
|
+
for output bounds. The fixed bounds are 500 inventory entries per page, 64 KiB per content/reply,
|
|
282
|
+
and 180 Unicode characters per preview; truncation always names a retained full-output path and
|
|
283
|
+
retrieval handle. With `bounded-output` off, legacy transport is preserved regardless of the
|
|
284
|
+
`deterministic-tools` setting. Inventory records an escaping or unavailable symlink as a denied
|
|
285
|
+
entry without traversing it or disclosing its target outside the authorized inventory.
|
|
286
|
+
T5 does not consume `assist.write-isolation`; the separate T6c native launch boundary does.
|
|
287
|
+
|
|
288
|
+
Recovery remains the single T1 contract: no automatic retry, queue, model fallback, or new
|
|
289
|
+
numeric allowance. Busy work is refused before execution accounting or history mutation and is
|
|
290
|
+
not recorded as no-progress failure; indeterminate failures do not authorize retry. Operator
|
|
291
|
+
cancellation fences the same agent identity until a fresh, one-use authorization is consumed.
|
|
292
|
+
Other agent identities—including the anonymous, read-only research actor—remain independent,
|
|
293
|
+
and a task reset does not erase the cancellation fence. Native session reuse is bound to an exact,
|
|
294
|
+
normalized current-task contract (task identity, instructions, scope, deliverables, input artifacts,
|
|
295
|
+
effective model, and permissions). A different/narrower task starts with a fresh session and
|
|
296
|
+
replacement manifest; only an exact continuation, including the auto-research continuation path,
|
|
297
|
+
receives Pi resume transport. This remains context hygiene rather than confinement.
|
|
298
|
+
|
|
299
|
+
When `assist.write-isolation` is explicitly true, dispatch snapshots that effective setting before
|
|
300
|
+
routing and forces a native child. Explicit coms is refused because remote isolation cannot be
|
|
301
|
+
claimed. The complete Pi process and descendants run under Linux bubblewrap or macOS Seatbelt;
|
|
302
|
+
the repository/root view is read-only except for existing exact relative files, expressly allowed
|
|
303
|
+
existing recursive directories, and separate current-run runtime/artifact/temp roots. Glob scope,
|
|
304
|
+
absolute/escaping scope, symlinked grants, an empty writable grant set, absent or wrong-platform
|
|
305
|
+
backends, and sandbox launch failure all fail closed without an unsandboxed retry. Damage-control remains the policy/audit/
|
|
306
|
+
approval overlay, but an approval cannot widen the OS boundary already created for a run; a wider
|
|
307
|
+
path requires a new explicitly authorized dispatch contract. Network, model, and read access are
|
|
308
|
+
otherwise unchanged. Turning the profile flag off does not dismantle an
|
|
309
|
+
active process boundary; the next run takes a new snapshot. Opt-out retains the legacy spawn path.
|
|
310
|
+
The sandbox never rolls back or deletes user edits, and it cannot protect an allowlisted file from
|
|
311
|
+
a concurrent writer. Exact-file grants support direct writes to the existing inode but intentionally
|
|
312
|
+
block temp-file-plus-rename atomic saves; callers must explicitly grant the containing directory for
|
|
313
|
+
that behavior, and the runtime never widens the grant automatically. Sandboxed spawn uses exactly
|
|
314
|
+
three pipe stdio entries and rejects extra inherited descriptors, closing the known writable-FD
|
|
315
|
+
bypass. Linux deliberately preserves the Hub-owned process group instead of adding a PID namespace,
|
|
316
|
+
and `/dev/tty` remains narrowly available; confinement therefore assumes host ptrace and terminal
|
|
317
|
+
injection controls prevent same-uid cross-process escape (for example Linux Yama ptrace restrictions
|
|
318
|
+
and disabled legacy TIOCSTI). Linux enforcement is exercised on a real bubblewrap host. Seatbelt
|
|
319
|
+
canonicalizes only trusted runtime/artifact/temp aliases such as `/tmp` → `/private/tmp`, while user
|
|
320
|
+
scope grants retain strict symlink rejection; its only device write exceptions are literal
|
|
321
|
+
`/dev/null` and `/dev/tty`, never a blanket `/dev` grant. The Seatbelt profile has contract coverage
|
|
322
|
+
but still requires a Darwin runtime check before T6c is fully verified.
|
|
323
|
+
|
|
324
|
+
T4 adds a code-owned effective-tool catalog without creating another recovery policy. Every
|
|
325
|
+
application of work-mode tools compares the actual active catalog before and after
|
|
326
|
+
`setActiveTools` and can emit `agent-fleet.tool-catalog-delta/v1`: removed, added/available,
|
|
327
|
+
active substitutes with explicit limitations, `permissionExpansion: false`, and SHA-256 catalog
|
|
328
|
+
identities. The delta is persisted as a trusted session entry and included in the next system
|
|
329
|
+
prompt. Orchestrator mode still excludes direct `write`, `edit`, and `bash`; a substitute is only
|
|
330
|
+
an already-active path such as `dispatch_agent` or read-only inspection, and is never invoked by
|
|
331
|
+
the catalog machinery.
|
|
332
|
+
|
|
333
|
+
The runtime latches the effective catalog at `before_agent_start`. Actual assistant tool-call
|
|
334
|
+
blocks are compared to that originating-turn catalog on the real `message_end` path, so a
|
|
335
|
+
next-turn mode switch cannot charge an unknown-tool refusal for a call that was legal when the
|
|
336
|
+
turn began; text blocks are ignored and no pseudo-tool text is executed. On `session_compact`,
|
|
337
|
+
the runtime reconciles the restored `agent-fleet.tool-catalog-state/v1` identity with Pi's current
|
|
338
|
+
active tools, persists restore evidence, and retains the task-scoped unknown-tool counter. Catalog
|
|
339
|
+
errors are recorded fail-closed but cannot skip the existing compaction settlement/deferred-input
|
|
340
|
+
lifecycle.
|
|
341
|
+
|
|
342
|
+
Each unavailable tool refusal is keyed by normalized task and tool, while normalized arguments
|
|
343
|
+
and catalog identity record whether the request or availability was reevaluated. The
|
|
344
|
+
operator-approved limit is exactly three counted refusals, including the first. Mode switches,
|
|
345
|
+
compaction, prose, and real catalog changes never refill it; only the explicit new-task lifecycle
|
|
346
|
+
resets it. A real `unknown_tool` dispatch failure is stamped by the Hub with the latched,
|
|
347
|
+
code-owned catalog identity; a result-supplied identity is ignored. A later successfully persisted
|
|
348
|
+
effective-catalog event can establish `toolStateChanged` evidence for the existing T1
|
|
349
|
+
`unknown_tool` `recoveryDecision`, but still requires explicit reinvocation and existing general
|
|
350
|
+
budgets; it never schedules an automatic retry.
|
|
351
|
+
|
|
198
352
|
On top of the tier envelope sit several qualitative guardrails. **Task triage**: the dispatcher
|
|
199
353
|
classifies the current TASK via the `set_task_tier` tool (`trivial`/`small`/`feature`/`project`)
|
|
200
354
|
and that classification *is* the budget. The tier is task-scoped and **ratcheted** — it survives
|
|
@@ -210,6 +364,25 @@ considered. The review **finding** budget is the one thing deliberately left adv
|
|
|
210
364
|
hub counts blocking findings (`review-findings.js`) and reports an over-budget return, but
|
|
211
365
|
never reclassifies one, because no rule it can evaluate separates an invented manifest from
|
|
212
366
|
a leaked credential; the round cap is what carries the enforcement.
|
|
367
|
+
**Process obligations (T11)** are task-scoped and independent of that budget tier. The
|
|
368
|
+
`set_task_tier` tool accepts explicit `risk` (`unknown | low | high`) and process `scope`
|
|
369
|
+
(`read-only | small | wide`); neither is inferred from task prose. Legacy/omitted risk is
|
|
370
|
+
`unknown`, risk changes require a reason, and scope expansion requires a reason plus an
|
|
371
|
+
explicit risk reassessment. Unknown permits read-only research but cannot accept changed
|
|
372
|
+
work. Confirmed low-risk small work uses the existing T2 minimal acceptance path; high risk
|
|
373
|
+
adds a separate review stage, while wide work adds plan and review stages. These obligations
|
|
374
|
+
ratchet within a task, so lowering spend cannot erase them. Completed stage records name an
|
|
375
|
+
artifact and revision but only prove that the stage occurred—not that model-authored review
|
|
376
|
+
is semantically adequate.
|
|
377
|
+
|
|
378
|
+
The same code-owned state is consumed by dispatch acceptance in operator and orchestrator
|
|
379
|
+
modes, appended as `agent-hub-process-state`, restored from the session log, and retained
|
|
380
|
+
through compaction and mode changes. Only `set_task_tier(new_task: true)` creates fresh
|
|
381
|
+
unknown-risk process state. `/af-audit` exports allowlisted satisfied/open/unsupported
|
|
382
|
+
obligation statuses and explains that the budget tier limits spend rather than correctness;
|
|
383
|
+
reasons and task prose are not copied. This extends the existing task/acceptance/audit paths
|
|
384
|
+
and is not a second workflow engine.
|
|
385
|
+
|
|
213
386
|
**Docs lane** (`docs-lane.js`): a dispatch whose whole declared `scope` is documentation
|
|
214
387
|
refuses review personas (overridable with `review_reason`) and tells the dispatcher not to
|
|
215
388
|
open a review gate; an absent scope is never the lighter lane. **External-blocker stop**
|
|
@@ -264,6 +437,8 @@ These are the external systems Agent Fleet assumes or integrates with — not np
|
|
|
264
437
|
| **Chrome DevTools MCP** / **Playwright Agent CLI** | Browser verify (`browser-testing-with-devtools`) and headless automation (`bowser`) | Optional, feature-specific |
|
|
265
438
|
| **Node.js + npm** | CLI (`npx @chankov/agent-fleet`), package install, `just` recipes | Yes for install & tooling |
|
|
266
439
|
|
|
440
|
+
The existing `agent-fleet doctor` command also performs a read-only manifest preflight. It reports exact selected installation files and manifest-declared tool probes as environment readiness, distinguishes missing installation from unknown or unavailable platforms, and names the existing explicit remediation path. Bare doctor never repairs or installs; `doctor --fix` remains the only repair activation, and package/tool installation remains behind its existing explicit consent path.
|
|
441
|
+
|
|
267
442
|
## Repository module map
|
|
268
443
|
|
|
269
444
|
### Agent Hub composition
|
|
@@ -280,6 +455,10 @@ agent-hub/
|
|
|
280
455
|
├── tools/ # 16 tools plus dispatch/research execution orchestration
|
|
281
456
|
├── dispatch-core.ts # facade over native, coms, and observability dispatch
|
|
282
457
|
├── dispatch-*.ts # native preparation/spawn/completion and backend adapters
|
|
458
|
+
├── acceptance.ts # agent-fleet.runtime-result/v1 and minimal acceptance evaluation
|
|
459
|
+
├── runtime-test-check.ts # code-owned native bash observer for trusted runtime checks
|
|
460
|
+
├── tool-protocol.ts # T3 event/readback correlation and shared diagnostic schema
|
|
461
|
+
├── recovery-contract.ts # shared typed failure/recovery policy
|
|
283
462
|
├── policy/ # model, roster, capability, and work-mode decisions
|
|
284
463
|
├── research/ # helper runtime, spawn transitions, and controls
|
|
285
464
|
├── ui/ # grid, dashboard, detail, context, pool, zoom, and history
|
|
@@ -331,7 +510,7 @@ packages/hermes-bridge/ # future Hermes integration package
|
|
|
331
510
|
|
|
332
511
|
## Design rules
|
|
333
512
|
|
|
334
|
-
- **
|
|
513
|
+
- **Workflow engine remains single-sourced.** `just flow` owns deterministic phase order, retries, executable gates, post-hoc writes enforcement, and one flow acceptance decision. It uses the clean spawn/context seams and keeps its existing clean-tree/branch defaults; normal traces live under `.pi/flow-sessions/`. Flow branches retain source/result metadata, while reserved `cleanup` and `merge` delegate safe removal and squash integration to Worktrunk. The initial Hub `run_flow` adapter calls the same exported dispatcher directly and permits only read-only `scout`: it runs in a stable detached snapshot with no flow branch, stores trace/manifest in the current Hub session, and has one Hub budget/cancellation owner. Snapshot overlay operations validate plain parents before mutation and never follow a HEAD symlink leaf. The native process and descendants use `confineNativeChild`, with only the session-owned phase directory writable; the actual `read`/`grep`/`find`/`ls` data paths are separately limited to the snapshot while damage-control remains loaded. Runtime/model libraries and provider configuration remain readable for Pi startup, so this is intentionally not a global no-read claim. Duplicate identity is idempotent; stale/busy calls are uncharged. All setup/result exceptions settle as structured failures, release active ownership, and preserve honest charged/started state. Flow acceptance never promotes parent assertions or closes T11 obligations. Writable/committing flows remain outside this adapter pending a separate review.
|
|
335
514
|
- **Thin dispatcher context.** Nothing lands persistently in the dispatcher's
|
|
336
515
|
context if it can live on disk or in a one-line status. Research findings,
|
|
337
516
|
the Verification Contract ledger, and team snapshots are all disk-first.
|
package/docs/workflows.md
CHANGED
|
@@ -142,6 +142,12 @@ The scoped TypeScript project checks workflow production sources only; the dry-r
|
|
|
142
142
|
|
|
143
143
|
`just flow` directly composes `.pi/agent-fleet/scripts/workflows/lib/` with the clean `spawnPiAgent` and context seams. It does not call `dispatch-native.ts`, use the hub ledger as acceptance, or change hub scope semantics. `just fleet`, coms peers, Herdr, Hermes, budgets, and the Fleet Dashboard continue to operate as before.
|
|
144
144
|
|
|
145
|
-
##
|
|
145
|
+
## Initial Hub `run_flow` tool (T13 scout only)
|
|
146
146
|
|
|
147
|
-
|
|
147
|
+
The Hub registers a typed `run_flow` surface for exactly one procedure: read-only `scout`. It calls the exported `executeFlow` dispatcher directly—never `just` or model-authored shell—and leaves the standalone CLI defaults unchanged.
|
|
148
|
+
|
|
149
|
+
Before the Hub charges one research operation, code validates the effective researcher model/profile/allowlist, fallback and exact `read,grep,find,ls`-only tool set, then builds a stable detached snapshot of the current working tree. The snapshot overlay excludes credential-shaped files and session/flow artifact recursion; validates plain source and destination parents before every create/copy/unlink; unlinks a HEAD symlink leaf rather than following it; rejects traversal, symlink parents/sources, and non-plain files; and records a read-only manifest bound to HEAD plus content hashes. A second source scan must match the first, so a concurrent source change refuses startup rather than producing a falsely coherent snapshot.
|
|
150
|
+
|
|
151
|
+
The scout's native process and descendants run through `confineNativeChild`: the snapshot is read-only at the OS layer, and only its session-owned phase directory is writable for Pi session/runtime support. A second, non-exemptible extension validates the actual declared `read`, `grep`, `find`, and `ls` data paths and patterns against the snapshot, denying original-worktree absolute paths, traversal, and symlink escape. Damage-control remains loaded and applies its `zeroAccessPaths` rules independently. The OS sandbox intentionally retains read access to model/runtime libraries and provider configuration required to start Pi; the DATA-read claim is limited to those four filesystem tools, not a global no-read claim. The flow runs in detached-HEAD, no-branch mode; trace and manifest live under the current Hub session, and the owned temporary workspace is removed after every settlement or setup failure. It never restores, deletes, checks out, branches, or commits in the original worktree.
|
|
152
|
+
|
|
153
|
+
The Hub owns cancellation and the single budget charge. A duplicate `invocation_id` with identical inputs returns the existing promise/result; changed inputs under that id are stale and refused, and a distinct invocation while one is active is busy without charge. Flow acceptance is nested evidence only: `run_flow` returns parent acceptance as `not_accepted`, promotes no assertions, and retains open T11 obligations. Writable procedures—including `build-test` and its commit semantics—remain unavailable pending a separate reviewed slice.
|
package/install-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
|
-
"packageVersion": "2.0.
|
|
3
|
+
"packageVersion": "2.0.11",
|
|
4
4
|
"groups": [
|
|
5
5
|
{
|
|
6
6
|
"id": "skills",
|
|
@@ -627,9 +627,12 @@
|
|
|
627
627
|
".pi/agent-fleet/scripts/coms-cli.ts",
|
|
628
628
|
".pi/agent-fleet/scripts/coms-hermes-bridge.ts",
|
|
629
629
|
".pi/agent-fleet/scripts/fleet.ts",
|
|
630
|
+
".pi/agent-fleet/scripts/flow.ts",
|
|
630
631
|
".pi/agent-fleet/scripts/lib/claude-bridge-core.ts",
|
|
631
632
|
".pi/agent-fleet/scripts/lib/coms-envelope.ts",
|
|
632
633
|
".pi/agent-fleet/scripts/lib/fleet-command.ts",
|
|
634
|
+
".pi/agent-fleet/scripts/lib/flow-command.ts",
|
|
635
|
+
".pi/agent-fleet/scripts/lib/flow-maintenance.ts",
|
|
633
636
|
".pi/agent-fleet/scripts/lib/herdr-layout.ts",
|
|
634
637
|
".pi/agent-fleet/scripts/lib/hermes-bridge-core.ts",
|
|
635
638
|
".pi/agent-fleet/scripts/lib/monitor-env.ts",
|
|
@@ -643,7 +646,33 @@
|
|
|
643
646
|
".pi/agent-fleet/scripts/peer-banner.ts",
|
|
644
647
|
".pi/agent-fleet/scripts/peer-launch.ts",
|
|
645
648
|
".pi/agent-fleet/scripts/team-snapshot.ts",
|
|
646
|
-
".pi/agent-fleet/scripts/team-up.ts"
|
|
649
|
+
".pi/agent-fleet/scripts/team-up.ts",
|
|
650
|
+
".pi/agent-fleet/scripts/workflows/lib/agent-phase.ts",
|
|
651
|
+
".pi/agent-fleet/scripts/workflows/lib/changes.ts",
|
|
652
|
+
".pi/agent-fleet/scripts/workflows/lib/debate.ts",
|
|
653
|
+
".pi/agent-fleet/scripts/workflows/lib/env.ts",
|
|
654
|
+
".pi/agent-fleet/scripts/workflows/lib/envelopes.ts",
|
|
655
|
+
".pi/agent-fleet/scripts/workflows/lib/gates.ts",
|
|
656
|
+
".pi/agent-fleet/scripts/workflows/lib/git.ts",
|
|
657
|
+
".pi/agent-fleet/scripts/workflows/lib/isolated-snapshot.ts",
|
|
658
|
+
".pi/agent-fleet/scripts/workflows/lib/merge.ts",
|
|
659
|
+
".pi/agent-fleet/scripts/workflows/lib/model-profile.ts",
|
|
660
|
+
".pi/agent-fleet/scripts/workflows/lib/model-visibility.ts",
|
|
661
|
+
".pi/agent-fleet/scripts/workflows/lib/permissions.ts",
|
|
662
|
+
".pi/agent-fleet/scripts/workflows/lib/personas.ts",
|
|
663
|
+
".pi/agent-fleet/scripts/workflows/lib/poll.ts",
|
|
664
|
+
".pi/agent-fleet/scripts/workflows/lib/quality.ts",
|
|
665
|
+
".pi/agent-fleet/scripts/workflows/lib/run.ts",
|
|
666
|
+
".pi/agent-fleet/scripts/workflows/lib/scout-data-boundary.ts",
|
|
667
|
+
".pi/agent-fleet/scripts/workflows/lib/trace.ts",
|
|
668
|
+
".pi/agent-fleet/scripts/workflows/lib/voices.ts",
|
|
669
|
+
".pi/agent-fleet/scripts/workflows/lib/writer-lease.ts",
|
|
670
|
+
".pi/agent-fleet/scripts/workflows/wf-build-test.ts",
|
|
671
|
+
".pi/agent-fleet/scripts/workflows/wf-debate.ts",
|
|
672
|
+
".pi/agent-fleet/scripts/workflows/wf-document.ts",
|
|
673
|
+
".pi/agent-fleet/scripts/workflows/wf-poll.ts",
|
|
674
|
+
".pi/agent-fleet/scripts/workflows/wf-quality.ts",
|
|
675
|
+
".pi/agent-fleet/scripts/workflows/wf-scout.ts"
|
|
647
676
|
],
|
|
648
677
|
"sourceMode": "all",
|
|
649
678
|
"target": null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chankov/agent-fleet",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.11",
|
|
4
4
|
"description": "Subagent orchestration for the pi coding agent — a thin dispatcher runs parallel subagents under a verification contract, keeping their output out of its context window. Multi-agent fleets, 15 personas, skills, herdr panes, peer coms, Hermes desktop.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"subagents",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"access": "public"
|
|
138
138
|
},
|
|
139
139
|
"scripts": {
|
|
140
|
-
"test": "npm run typecheck:workflows && node bin/cli.js --version && node bin/cli.js --help && node --test --test-concurrency=4 --test-timeout=120000 bin/test/*.test.js .pi/agent-fleet/scripts/agent-hub-helpers.test.mjs .pi/agent-fleet/scripts/agent-hub-spawn.test.mjs .pi/agent-fleet/scripts/agent-hub-delegate.test.mjs .pi/agent-fleet/scripts/agent-hub-research.test.mjs .pi/harnesses/lib/herdr-client.test.ts .pi/harnesses/lib/herdr-presence.test.ts .pi/harnesses/lib/coms-registry-entry.test.ts .pi/harnesses/lib/coms-core.test.ts .pi/harnesses/lib/fleet-overlay.test.ts .pi/harnesses/lib/fleet-selection.test.ts .pi/harnesses/lib/fleet-panel.test.ts .pi/harnesses/lib/context-budget.test.ts .pi/harnesses/lib/context-budget-view.test.ts .pi/harnesses/lib/context-budget-hub-prompt.test.ts .pi/harnesses/lib/context-budget-child-prompt.test.ts .pi/harnesses/agent-hub/prompts/system-prompt.test.ts .pi/harnesses/agent-hub/prompts/session-start.test.ts .pi/harnesses/agent-hub/session-start.test.ts .pi/harnesses/agent-hub/context-budget-snapshot.test.ts .pi/harnesses/agent-hub/context-budget.integration.test.ts .pi/harnesses/agent-hub/context-pressure.test.ts .pi/harnesses/agent-hub/capability-packs.test.ts .pi/harnesses/agent-hub/capability-confirmation.test.ts .pi/harnesses/agent-hub/capability-matrix.test.ts .pi/harnesses/lib/fleet-read-model.test.ts .pi/harnesses/lib/fleet-strip-view.test.ts .pi/harnesses/lib/fleet-strip-controller.test.ts .pi/harnesses/lib/fleet-dashboard-view.test.ts .pi/harnesses/lib/fleet-dashboard-ops.test.ts .pi/harnesses/lib/fleet-detail-view.test.ts .pi/harnesses/lib/fleet-transcript-store.test.ts .pi/harnesses/agent-hub/fleet-dashboard.integration.test.ts .pi/agent-fleet/scripts/coms-cli.test.ts .pi/agent-fleet/scripts/fleet-codex-client.test.ts .pi/agent-fleet/scripts/fleet-codex-transport.test.ts .pi/agent-fleet/scripts/fleet-codex-questions.test.ts .pi/agent-fleet/scripts/lib/fleet-command.test.ts .pi/agent-fleet/scripts/lib/flow-command.test.ts .pi/agent-fleet/scripts/lib/flow-maintenance.test.ts .pi/agent-fleet/scripts/workflows/lib/env.test.ts .pi/agent-fleet/scripts/workflows/lib/git.test.ts .pi/agent-fleet/scripts/workflows/lib/run.test.ts .pi/agent-fleet/scripts/workflows/lib/quality.test.ts .pi/agent-fleet/scripts/workflows/lib/changes.test.ts .pi/agent-fleet/scripts/workflows/lib/gates.test.ts .pi/agent-fleet/scripts/workflows/lib/permissions.test.ts .pi/agent-fleet/scripts/workflows/lib/envelopes.test.ts .pi/agent-fleet/scripts/workflows/lib/agent-phase.test.ts .pi/agent-fleet/scripts/workflows/lib/envelopes-triad.test.ts .pi/agent-fleet/scripts/workflows/lib/voices.test.ts .pi/agent-fleet/scripts/workflows/lib/model-visibility.test.ts .pi/agent-fleet/scripts/workflows/lib/poll.test.ts .pi/agent-fleet/scripts/workflows/lib/merge.test.ts .pi/agent-fleet/scripts/workflows/lib/debate.test.ts .pi/agent-fleet/scripts/workflows/lib/writer-lease.test.ts .pi/agent-fleet/scripts/workflows/wf-scout.test.ts .pi/agent-fleet/scripts/workflows/wf-build-test.test.ts .pi/agent-fleet/scripts/workflows/wf-document.test.ts .pi/agent-fleet/scripts/workflows/wf-poll.test.ts .pi/agent-fleet/scripts/workflows/wf-debate.test.ts skills/drafting-workflows/scripts/make-workflow.test.ts .pi/agent-fleet/scripts/lib/team-project.test.ts .pi/agent-fleet/scripts/lib/herdr-layout.test.ts .pi/agent-fleet/scripts/lib/peer-launch.test.ts .pi/agent-fleet/scripts/lib/spawn-stagger.test.ts .pi/agent-fleet/scripts/lib/monitor-env.test.ts .pi/agent-fleet/scripts/lib/fleet-extras.test.ts .pi/agent-fleet/scripts/lib/team-snapshot.test.ts .pi/agent-fleet/scripts/team-snapshot.command.test.ts .pi/agent-fleet/scripts/lib/coms-envelope.test.ts .pi/agent-fleet/scripts/lib/claude-bridge-core.test.ts .pi/agent-fleet/scripts/lib/hermes-bridge-core.test.ts .pi/agent-fleet/scripts/coms-hermes-bridge.test.ts .pi/harnesses/ask-user-remote/race-core.test.js .pi/harnesses/ask-user-remote/questions.test.ts .pi/harnesses/ask-user-remote/index.test.ts .pi/harnesses/agent-hub/extension-loader.test.ts .pi/harnesses/agent-hub/lifecycle/session-orchestration.test.ts .pi/harnesses/agent-hub/registration-surface.test.ts .pi/harnesses/agent-hub/poll-command.test.ts .pi/harnesses/agent-hub/debate-command.test.ts .pi/harnesses/agent-hub/delegate-thinking.test.ts .pi/harnesses/agent-hub/backend-routing.integration.test.ts .pi/harnesses/agent-hub/dispatch-core.test.ts .pi/extensions/btw/state.test.js .pi/extensions/btw/index.test.ts .pi/harnesses/agent-hub/work-mode.test.ts .pi/harnesses/agent-hub/work-mode-controls.test.ts .pi/harnesses/agent-hub/work-mode-integration.test.ts .pi/harnesses/agent-hub/footer.test.ts .pi/harnesses/agent-hub/view-default.test.ts .pi/harnesses/agent-hub/overlay-migration.test.ts .pi/harnesses/agent-hub/safety-routing.test.ts .pi/harnesses/agent-hub/approval-routing.integration.test.ts .pi/harnesses/agent-hub/run-budget.test.js .pi/harnesses/agent-hub/budget-continuation.test.ts .pi/harnesses/agent-hub/budget-continuation.integration.test.ts .pi/harnesses/agent-hub/budget-recovery.test.ts .pi/harnesses/agent-hub/evidence-retention.test.ts .pi/harnesses/agent-hub/no-progress.test.ts .pi/harnesses/agent-hub/acceptance.test.ts .pi/harnesses/agent-hub/tools/dispatch-execution.test.ts .pi/harnesses/agent-hub/context/budgets.test.ts .pi/harnesses/agent-hub/lifecycle/lifecycle.test.ts .pi/harnesses/ask-user-remote/runtime-ask.test.ts .pi/harnesses/agent-hub/hub-state-audit.test.js .pi/harnesses/agent-hub/docs-lane.test.js .pi/harnesses/agent-hub/external-blocker.test.js .pi/harnesses/agent-hub/run-namespace.test.js .pi/harnesses/agent-hub/review-findings.test.js .pi/harnesses/agent-hub/assertion-ledger.test.js .pi/harnesses/agent-hub/provider-semaphore.test.js .pi/harnesses/lib/spawned-peers.test.js .pi/harnesses/agent-hub/context-window.test.js .pi/harnesses/agent-hub/drift-watchdog.test.js .pi/harnesses/agent-hub/session-health.test.js .pi/harnesses/agent-hub/return-contract.test.js .pi/harnesses/agent-hub/return-extract.test.js .pi/harnesses/agent-hub/backend-policy.test.js .pi/harnesses/agent-hub/artifacts.test.js .pi/harnesses/agent-hub/scope-gate.test.js .pi/harnesses/agent-hub/evidence-rules.test.js .pi/harnesses/agent-hub/research/runtime.test.ts .pi/harnesses/agent-hub/research/controls.test.ts .pi/harnesses/agent-hub/ui/fleet-source.test.ts .pi/harnesses/agent-hub/input/shortcuts.test.ts .pi/harnesses/agent-hub/ui/fleet-editor.test.ts .pi/harnesses/agent-hub/ui/fleet-actions.test.ts .pi/harnesses/agent-hub/ui/grid.test.ts .pi/harnesses/agent-hub/ui/fleet-dashboard.test.ts .pi/harnesses/agent-hub/input/presentation.test.ts .pi/harnesses/agent-hub/config/overrides.test.ts .pi/harnesses/lib/damage-control-shared.test.ts .pi/harnesses/lib/changed-file-diagnostics.test.ts .pi/harnesses/lib/update-check.test.ts .pi/harnesses/damage-control-continue/herdr-rules.test.js .pi/harnesses/damage-control-continue/exemptions.test.js .pi/agent-fleet/scripts/lib/hermes-monitor-model.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-events.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-store.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-retention.integration.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-registry.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-socket.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-data-path.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-slice7-9-backend.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-control-socket.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-e2e.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-plugin-handshake.test.ts .pi/agent-fleet/scripts/hermes-monitor-capability-runner.test.ts .pi/agent-fleet/scripts/hermes-monitor-scenario.test.ts .pi/agent-fleet/scripts/hermes-watchdog-capability-probe.test.ts .pi/harnesses/agent-hub/monitor-invoke.test.ts .pi/harnesses/agent-hub/monitor-invoke-journal.test.ts .pi/harnesses/agent-hub/monitor-control.test.ts .pi/harnesses/agent-hub/monitor-live-bridge-gaps.test.ts .pi/harnesses/agent-hub/monitor-review-live-wiring.red.test.ts .pi/harnesses/agent-hub/monitor-runtime.test.ts .pi/harnesses/agent-hub/monitor-bridge-runtime.test.ts .pi/harnesses/agent-hub/monitor-reconcile.test.ts .pi/harnesses/agent-hub/monitor-recovery.test.ts .pi/harnesses/agent-hub/monitor-lifecycle-lease.test.ts .pi/harnesses/agent-hub/monitor-session-bridge-race.test.ts .pi/harnesses/agent-hub/monitor-session-bridge.test.ts .pi/harnesses/agent-hub/monitor-cancel-race.test.ts .pi/harnesses/agent-hub/monitor-wait-only.test.ts .pi/harnesses/agent-hub/monitor-publisher.test.ts .pi/harnesses/agent-hub/monitor-index.integration.test.ts .pi/harnesses/agent-hub/monitor-coms-turn.test.ts .pi/agent-fleet/hermes/desktop-plugins/agent-fleet-herdr/presentation.test.js .pi/harnesses/agent-hub/config/model-profiles.test.ts .pi/harnesses/agent-hub/policy/models.test.ts .pi/harnesses/agent-hub/policy/profile-activation.test.ts .pi/harnesses/agent-hub/profile-execution.test.ts .pi/agent-fleet/scripts/docs-links.test.mjs && npm run test:watchdog-py",
|
|
140
|
+
"test": "npm run typecheck:workflows && node bin/cli.js --version && node bin/cli.js --help && node --test bin/test/setup-tty.test.js && node --test --test-skip-pattern='real TTY|readline-owned' --test-concurrency=4 --test-timeout=120000 bin/test/*.test.js .pi/agent-fleet/scripts/agent-hub-helpers.test.mjs .pi/agent-fleet/scripts/agent-hub-spawn.test.mjs .pi/agent-fleet/scripts/agent-hub-delegate.test.mjs .pi/agent-fleet/scripts/agent-hub-research.test.mjs .pi/harnesses/lib/herdr-client.test.ts .pi/harnesses/lib/herdr-presence.test.ts .pi/harnesses/lib/coms-registry-entry.test.ts .pi/harnesses/lib/coms-core.test.ts .pi/harnesses/lib/fleet-overlay.test.ts .pi/harnesses/lib/fleet-selection.test.ts .pi/harnesses/lib/fleet-panel.test.ts .pi/harnesses/lib/context-budget.test.ts .pi/harnesses/lib/context-budget-view.test.ts .pi/harnesses/lib/context-budget-hub-prompt.test.ts .pi/harnesses/lib/context-budget-child-prompt.test.ts .pi/harnesses/agent-hub/prompts/system-prompt.test.ts .pi/harnesses/agent-hub/prompts/session-start.test.ts .pi/harnesses/agent-hub/session-start.test.ts .pi/harnesses/agent-hub/context-budget-snapshot.test.ts .pi/harnesses/agent-hub/context-budget.integration.test.ts .pi/harnesses/agent-hub/context-pressure.test.ts .pi/harnesses/agent-hub/capability-packs.test.ts .pi/harnesses/agent-hub/capability-confirmation.test.ts .pi/harnesses/agent-hub/capability-matrix.test.ts .pi/harnesses/lib/fleet-read-model.test.ts .pi/harnesses/lib/fleet-strip-view.test.ts .pi/harnesses/lib/fleet-strip-controller.test.ts .pi/harnesses/lib/fleet-dashboard-view.test.ts .pi/harnesses/lib/fleet-dashboard-ops.test.ts .pi/harnesses/lib/fleet-detail-view.test.ts .pi/harnesses/lib/fleet-transcript-store.test.ts .pi/harnesses/agent-hub/fleet-dashboard.integration.test.ts .pi/agent-fleet/scripts/coms-cli.test.ts .pi/agent-fleet/scripts/fleet-codex-client.test.ts .pi/agent-fleet/scripts/fleet-codex-transport.test.ts .pi/agent-fleet/scripts/fleet-codex-questions.test.ts .pi/agent-fleet/scripts/lib/fleet-command.test.ts .pi/agent-fleet/scripts/lib/flow-command.test.ts .pi/agent-fleet/scripts/lib/flow-maintenance.test.ts .pi/agent-fleet/scripts/workflows/lib/env.test.ts .pi/agent-fleet/scripts/workflows/lib/git.test.ts .pi/agent-fleet/scripts/workflows/lib/isolated-snapshot.test.ts .pi/agent-fleet/scripts/workflows/lib/scout-data-boundary.test.ts .pi/agent-fleet/scripts/workflows/lib/run.test.ts .pi/agent-fleet/scripts/workflows/lib/quality.test.ts .pi/agent-fleet/scripts/workflows/lib/changes.test.ts .pi/agent-fleet/scripts/workflows/lib/gates.test.ts .pi/agent-fleet/scripts/workflows/lib/permissions.test.ts .pi/agent-fleet/scripts/workflows/lib/envelopes.test.ts .pi/agent-fleet/scripts/workflows/lib/agent-phase.test.ts .pi/agent-fleet/scripts/workflows/lib/envelopes-triad.test.ts .pi/agent-fleet/scripts/workflows/lib/voices.test.ts .pi/agent-fleet/scripts/workflows/lib/model-visibility.test.ts .pi/agent-fleet/scripts/workflows/lib/poll.test.ts .pi/agent-fleet/scripts/workflows/lib/merge.test.ts .pi/agent-fleet/scripts/workflows/lib/debate.test.ts .pi/agent-fleet/scripts/workflows/lib/writer-lease.test.ts .pi/agent-fleet/scripts/workflows/wf-scout.test.ts .pi/agent-fleet/scripts/workflows/wf-build-test.test.ts .pi/agent-fleet/scripts/workflows/wf-document.test.ts .pi/agent-fleet/scripts/workflows/wf-poll.test.ts .pi/agent-fleet/scripts/workflows/wf-debate.test.ts skills/drafting-workflows/scripts/make-workflow.test.ts .pi/agent-fleet/scripts/lib/team-project.test.ts .pi/agent-fleet/scripts/lib/herdr-layout.test.ts .pi/agent-fleet/scripts/lib/peer-launch.test.ts .pi/agent-fleet/scripts/lib/spawn-stagger.test.ts .pi/agent-fleet/scripts/lib/monitor-env.test.ts .pi/agent-fleet/scripts/lib/fleet-extras.test.ts .pi/agent-fleet/scripts/lib/team-snapshot.test.ts .pi/agent-fleet/scripts/team-snapshot.command.test.ts .pi/agent-fleet/scripts/lib/coms-envelope.test.ts .pi/agent-fleet/scripts/lib/claude-bridge-core.test.ts .pi/agent-fleet/scripts/lib/hermes-bridge-core.test.ts .pi/agent-fleet/scripts/coms-hermes-bridge.test.ts .pi/harnesses/ask-user-remote/race-core.test.js .pi/harnesses/ask-user-remote/questions.test.ts .pi/harnesses/ask-user-remote/index.test.ts .pi/harnesses/agent-hub/extension-loader.test.ts .pi/harnesses/agent-hub/lifecycle/session-orchestration.test.ts .pi/harnesses/agent-hub/registration-surface.test.ts .pi/harnesses/agent-hub/poll-command.test.ts .pi/harnesses/agent-hub/debate-command.test.ts .pi/harnesses/agent-hub/delegate-thinking.test.ts .pi/harnesses/agent-hub/backend-routing.integration.test.ts .pi/harnesses/agent-hub/dispatch-core.test.ts .pi/extensions/btw/state.test.js .pi/extensions/btw/index.test.ts .pi/harnesses/agent-hub/work-mode.test.ts .pi/harnesses/agent-hub/work-mode-controls.test.ts .pi/harnesses/agent-hub/work-mode-integration.test.ts .pi/harnesses/agent-hub/footer.test.ts .pi/harnesses/agent-hub/view-default.test.ts .pi/harnesses/agent-hub/overlay-migration.test.ts .pi/harnesses/agent-hub/safety-routing.test.ts .pi/harnesses/agent-hub/approval-routing.integration.test.ts .pi/harnesses/agent-hub/run-budget.test.js .pi/harnesses/agent-hub/budget-continuation.test.ts .pi/harnesses/agent-hub/budget-continuation.integration.test.ts .pi/harnesses/agent-hub/budget-recovery.test.ts .pi/harnesses/agent-hub/evidence-retention.test.ts .pi/harnesses/agent-hub/deterministic-fs.test.ts .pi/harnesses/agent-hub/filesystem-tool.integration.test.ts .pi/harnesses/agent-hub/bounded-output.test.ts .pi/harnesses/agent-hub/write-isolation.test.ts .pi/harnesses/agent-hub/session-audit.test.ts .pi/harnesses/agent-hub/diagnostic-series-budget.test.ts .pi/harnesses/agent-hub/diagnostic-probe-extension.test.ts .pi/harnesses/agent-hub/tools/run-flow.test.ts .pi/harnesses/agent-hub/t0a-synthetic-fixtures.test.ts .pi/harnesses/agent-hub/t4-t6-t10a-contract.red.test.ts .pi/harnesses/agent-hub/no-progress.test.ts .pi/harnesses/agent-hub/recovery-contract.test.ts .pi/harnesses/agent-hub/acceptance.test.ts .pi/harnesses/agent-hub/runtime-test-check.test.ts .pi/harnesses/agent-hub/context/assertions-artifacts.test.ts .pi/harnesses/agent-hub/tools/action-executors.test.ts .pi/harnesses/agent-hub/tools/dispatch-execution.test.ts .pi/harnesses/agent-hub/context/budgets.test.ts .pi/harnesses/agent-hub/lifecycle/lifecycle.test.ts .pi/harnesses/ask-user-remote/runtime-ask.test.ts .pi/harnesses/agent-hub/hub-state-audit.test.js .pi/harnesses/agent-hub/docs-lane.test.js .pi/harnesses/agent-hub/external-blocker.test.js .pi/harnesses/agent-hub/run-namespace.test.js .pi/harnesses/agent-hub/review-findings.test.js .pi/harnesses/agent-hub/assertion-ledger.test.js .pi/harnesses/agent-hub/provider-semaphore.test.js .pi/harnesses/lib/spawned-peers.test.js .pi/harnesses/agent-hub/context-window.test.js .pi/harnesses/agent-hub/drift-watchdog.test.js .pi/harnesses/agent-hub/session-health.test.js .pi/harnesses/agent-hub/return-contract.test.js .pi/harnesses/agent-hub/return-extract.test.js .pi/harnesses/agent-hub/backend-policy.test.js .pi/harnesses/agent-hub/artifacts.test.js .pi/harnesses/agent-hub/scope-gate.test.js .pi/harnesses/agent-hub/evidence-rules.test.js .pi/harnesses/agent-hub/research/runtime.test.ts .pi/harnesses/agent-hub/research/controls.test.ts .pi/harnesses/agent-hub/ui/fleet-source.test.ts .pi/harnesses/agent-hub/input/shortcuts.test.ts .pi/harnesses/agent-hub/ui/fleet-editor.test.ts .pi/harnesses/agent-hub/ui/fleet-actions.test.ts .pi/harnesses/agent-hub/ui/grid.test.ts .pi/harnesses/agent-hub/ui/fleet-dashboard.test.ts .pi/harnesses/agent-hub/input/presentation.test.ts .pi/harnesses/agent-hub/config/overrides.test.ts .pi/harnesses/lib/damage-control-shared.test.ts .pi/harnesses/lib/changed-file-diagnostics.test.ts .pi/harnesses/lib/update-check.test.ts .pi/harnesses/damage-control-continue/herdr-rules.test.js .pi/harnesses/damage-control-continue/exemptions.test.js .pi/agent-fleet/scripts/lib/hermes-monitor-model.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-events.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-store.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-retention.integration.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-registry.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-socket.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-data-path.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-slice7-9-backend.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-control-socket.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-e2e.test.ts .pi/agent-fleet/scripts/lib/hermes-monitor-plugin-handshake.test.ts .pi/agent-fleet/scripts/hermes-monitor-capability-runner.test.ts .pi/agent-fleet/scripts/hermes-monitor-scenario.test.ts .pi/agent-fleet/scripts/hermes-watchdog-capability-probe.test.ts .pi/harnesses/agent-hub/monitor-invoke.test.ts .pi/harnesses/agent-hub/monitor-invoke-journal.test.ts .pi/harnesses/agent-hub/monitor-control.test.ts .pi/harnesses/agent-hub/monitor-live-bridge-gaps.test.ts .pi/harnesses/agent-hub/monitor-review-live-wiring.red.test.ts .pi/harnesses/agent-hub/monitor-runtime.test.ts .pi/harnesses/agent-hub/monitor-bridge-runtime.test.ts .pi/harnesses/agent-hub/monitor-reconcile.test.ts .pi/harnesses/agent-hub/monitor-recovery.test.ts .pi/harnesses/agent-hub/monitor-lifecycle-lease.test.ts .pi/harnesses/agent-hub/monitor-session-bridge-race.test.ts .pi/harnesses/agent-hub/monitor-session-bridge.test.ts .pi/harnesses/agent-hub/monitor-cancel-race.test.ts .pi/harnesses/agent-hub/monitor-wait-only.test.ts .pi/harnesses/agent-hub/monitor-publisher.test.ts .pi/harnesses/agent-hub/monitor-index.integration.test.ts .pi/harnesses/agent-hub/monitor-coms-turn.test.ts .pi/agent-fleet/hermes/desktop-plugins/agent-fleet-herdr/presentation.test.js .pi/harnesses/agent-hub/config/model-profiles.test.ts .pi/harnesses/agent-hub/policy/models.test.ts .pi/harnesses/agent-hub/policy/profile-activation.test.ts .pi/harnesses/agent-hub/profile-execution.test.ts .pi/agent-fleet/scripts/docs-links.test.mjs && npm run test:watchdog-py",
|
|
141
141
|
"test:portability": "node bin/test/helpers/run-portability.js",
|
|
142
142
|
"typecheck:workflows": "tsc -p .pi/agent-fleet/scripts/workflows/tsconfig.json --noEmit",
|
|
143
143
|
"test:watchdog-py": "PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s .pi/agent-fleet/hermes/watchdog-tests -p 'test_*.py'",
|