@chankov/agent-fleet 1.0.2 → 1.0.4
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/harnesses/agent-hub/README.md +85 -71
- package/.pi/harnesses/agent-hub/context-window.js +1 -1
- package/.pi/harnesses/agent-hub/delegate.ts +14 -3
- package/.pi/harnesses/agent-hub/drift-watchdog.js +11 -4
- package/.pi/harnesses/agent-hub/execution-profile.ts +69 -0
- package/.pi/harnesses/agent-hub/footer.ts +3 -2
- package/.pi/harnesses/agent-hub/hub-state-audit.js +0 -14
- package/.pi/harnesses/agent-hub/index.ts +562 -300
- package/.pi/harnesses/agent-hub/package.json +1 -1
- package/.pi/harnesses/agent-hub/provider-semaphore.js +1 -1
- package/.pi/harnesses/agent-hub/run-budget.js +67 -69
- package/.pi/harnesses/agent-hub/spawn.ts +25 -3
- package/.pi/harnesses/coms/package.json +1 -1
- package/.pi/harnesses/damage-control-continue/package.json +1 -1
- package/.pi/harnesses/lib/fleet-dashboard-ops.ts +2 -2
- package/.pi/harnesses/lib/fleet-dashboard-view.ts +3 -1
- package/.pi/harnesses/lib/fleet-detail-view.ts +134 -20
- package/.pi/harnesses/lib/fleet-transcript-store.ts +244 -0
- package/.pi/prompts/af-plan.md +6 -5
- package/.versions/1.0.3/.pi/agents/dispatch-policy.yaml +32 -0
- package/.versions/1.0.3/.pi/agents/model-profiles.yaml +27 -0
- package/.versions/1.0.3/.pi/agents/peers.yaml +142 -0
- package/.versions/1.0.3/.pi/agents/teams.yaml +41 -0
- package/.versions/1.0.3/.pi/damage-control-rules.yaml +297 -0
- package/.versions/1.0.3/.pi/extensions/agent-fleet-update-check/README.md +57 -0
- package/.versions/1.0.3/.pi/extensions/agent-fleet-update-check/index.ts +161 -0
- package/.versions/1.0.3/.pi/extensions/agent-fleet-update-check/package.json +6 -0
- package/.versions/1.0.3/.pi/extensions/btw/README.md +120 -0
- package/.versions/1.0.3/.pi/extensions/btw/index.ts +914 -0
- package/.versions/1.0.3/.pi/extensions/btw/package.json +6 -0
- package/.versions/1.0.3/.pi/extensions/btw/state.js +179 -0
- package/.versions/1.0.3/.pi/extensions/chrome-devtools-mcp/README.md +55 -0
- package/.versions/1.0.3/.pi/extensions/chrome-devtools-mcp/index.ts +93 -0
- package/.versions/1.0.3/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
- package/.versions/1.0.3/.pi/extensions/compact-and-continue/README.md +42 -0
- package/.versions/1.0.3/.pi/extensions/compact-and-continue/index.ts +120 -0
- package/.versions/1.0.3/.pi/extensions/compact-and-continue/package.json +6 -0
- package/.versions/1.0.3/.pi/extensions/mcp-bridge/README.md +46 -0
- package/.versions/1.0.3/.pi/extensions/mcp-bridge/index.ts +206 -0
- package/.versions/1.0.3/.pi/extensions/mcp-bridge/package.json +6 -0
- package/.versions/1.0.3/.pi/extensions/package-lock.json +1175 -0
- package/.versions/1.0.3/.pi/extensions/package.json +9 -0
- package/.versions/1.0.3/.pi/extensions/pi-voice-stt/README.md +205 -0
- package/.versions/1.0.3/.pi/extensions/pi-voice-stt/config.ts +198 -0
- package/.versions/1.0.3/.pi/extensions/pi-voice-stt/examples/stt.json +35 -0
- package/.versions/1.0.3/.pi/extensions/pi-voice-stt/index.ts +248 -0
- package/.versions/1.0.3/.pi/extensions/pi-voice-stt/package.json +6 -0
- package/.versions/1.0.3/.pi/extensions/pi-voice-stt/providers.ts +214 -0
- package/.versions/1.0.3/.pi/extensions/pi-voice-stt/recorder.ts +158 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/README.md +1156 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/access-approval.ts +135 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/artifacts.js +146 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/assertion-ledger.js +58 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/backend-policy.js +174 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/budget-continuation.ts +73 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/capability-confirmation.ts +47 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/capability-packs.ts +180 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/context-budget-snapshot.ts +105 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/context-pressure.ts +191 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/context-window.js +106 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/delegate.ts +435 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/docs-lane.js +122 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/drift-watchdog.js +218 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/evidence-rules.js +96 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/execution-profile.ts +69 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/external-blocker.js +85 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/footer.ts +36 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/helpers.ts +266 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/hub-state-audit.js +59 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/index.ts +9999 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-control.ts +9 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-invoke-journal.ts +131 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-invoke.ts +92 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-lifecycle.ts +13 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-publisher.ts +59 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-recovery.ts +3 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-runtime.ts +3 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/monitor-session-bridge.ts +266 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/package.json +7 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/peer-spawn-plan.ts +116 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/posture.ts +158 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/provider-semaphore.js +138 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/research-retention.js +34 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/research-watchdog.ts +40 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/return-contract.js +293 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/return-extract.js +75 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/review-findings.js +102 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/run-budget.js +537 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/run-namespace.js +87 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/safety-routing.ts +22 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/scope-gate.js +103 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/session-health.js +110 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/spawn.ts +366 -0
- package/.versions/1.0.3/.pi/harnesses/agent-hub/version.ts +42 -0
- package/.versions/1.0.3/.pi/harnesses/ask-user-remote/README.md +53 -0
- package/.versions/1.0.3/.pi/harnesses/ask-user-remote/index.ts +532 -0
- package/.versions/1.0.3/.pi/harnesses/ask-user-remote/race-core.js +106 -0
- package/.versions/1.0.3/.pi/harnesses/coms/README.md +100 -0
- package/.versions/1.0.3/.pi/harnesses/coms/index.ts +1767 -0
- package/.versions/1.0.3/.pi/harnesses/coms/package.json +7 -0
- package/.versions/1.0.3/.pi/harnesses/coms/version.ts +42 -0
- package/.versions/1.0.3/.pi/harnesses/damage-control-continue/README.md +124 -0
- package/.versions/1.0.3/.pi/harnesses/damage-control-continue/index.ts +536 -0
- package/.versions/1.0.3/.pi/harnesses/damage-control-continue/package.json +7 -0
- package/.versions/1.0.3/.pi/harnesses/damage-control-continue/version.ts +42 -0
- package/.versions/1.0.3/.pi/harnesses/lib/coms-registry-entry.ts +94 -0
- package/.versions/1.0.3/.pi/harnesses/lib/context-budget-child-prompt.ts +179 -0
- package/.versions/1.0.3/.pi/harnesses/lib/context-budget-hub-prompt.ts +116 -0
- package/.versions/1.0.3/.pi/harnesses/lib/context-budget-view.ts +107 -0
- package/.versions/1.0.3/.pi/harnesses/lib/context-budget.ts +114 -0
- package/.versions/1.0.3/.pi/harnesses/lib/damage-control-shared.ts +197 -0
- package/.versions/1.0.3/.pi/harnesses/lib/fixtures/context-budget-profiles.json +11 -0
- package/.versions/1.0.3/.pi/harnesses/lib/fixtures/hub-prompt-operator.legacy.txt +73 -0
- package/.versions/1.0.3/.pi/harnesses/lib/fixtures/hub-prompt-orchestrator.legacy.txt +73 -0
- package/.versions/1.0.3/.pi/harnesses/lib/fleet-dashboard-ops.ts +155 -0
- package/.versions/1.0.3/.pi/harnesses/lib/fleet-dashboard-view.ts +142 -0
- package/.versions/1.0.3/.pi/harnesses/lib/fleet-detail-view.ts +168 -0
- package/.versions/1.0.3/.pi/harnesses/lib/fleet-overlay.ts +26 -0
- package/.versions/1.0.3/.pi/harnesses/lib/fleet-panel.ts +34 -0
- package/.versions/1.0.3/.pi/harnesses/lib/fleet-read-model.ts +131 -0
- package/.versions/1.0.3/.pi/harnesses/lib/fleet-selection.ts +24 -0
- package/.versions/1.0.3/.pi/harnesses/lib/herdr-client.ts +472 -0
- package/.versions/1.0.3/.pi/harnesses/lib/herdr-presence.ts +399 -0
- package/.versions/1.0.3/.pi/harnesses/lib/hermes-monitor-events.ts +136 -0
- package/.versions/1.0.3/.pi/harnesses/lib/hermes-monitor-herdr.ts +28 -0
- package/.versions/1.0.3/.pi/harnesses/lib/hermes-monitor-model.ts +18 -0
- package/.versions/1.0.3/.pi/harnesses/lib/hermes-monitor-registry.ts +6 -0
- package/.versions/1.0.3/.pi/harnesses/lib/hermes-monitor-socket.ts +163 -0
- package/.versions/1.0.3/.pi/harnesses/lib/hermes-monitor-store.ts +31 -0
- package/.versions/1.0.3/.pi/harnesses/lib/spawned-peers.js +190 -0
- package/.versions/1.0.3/.pi/harnesses/package-lock.json +2039 -0
- package/.versions/1.0.3/.pi/harnesses/package.json +10 -0
- package/.versions/1.0.3/.pi/prompts/af-build.md +24 -0
- package/.versions/1.0.3/.pi/prompts/af-code-simplify.md +22 -0
- package/.versions/1.0.3/.pi/prompts/af-plan.md +16 -0
- package/.versions/1.0.3/.pi/prompts/af-review.md +16 -0
- package/.versions/1.0.3/.pi/prompts/af-set-hermes-telegram.md +15 -0
- package/.versions/1.0.3/.pi/prompts/af-set-hermes-watchdog.md +6 -0
- package/.versions/1.0.3/.pi/prompts/af-ship.md +17 -0
- package/.versions/1.0.3/.pi/prompts/af-spec.md +15 -0
- package/.versions/1.0.3/.pi/prompts/af-test.md +19 -0
- package/.versions/1.0.3/.pi/skills/bowser/SKILL.md +145 -0
- package/.versions/1.0.3/.version +1 -0
- package/.versions/1.0.3/agents/architect.md +25 -0
- package/.versions/1.0.3/agents/bowser.md +28 -0
- package/.versions/1.0.3/agents/builder.md +55 -0
- package/.versions/1.0.3/agents/code-reviewer.md +209 -0
- package/.versions/1.0.3/agents/deep-researcher.md +33 -0
- package/.versions/1.0.3/agents/documenter.md +19 -0
- package/.versions/1.0.3/agents/orchestrator.md +21 -0
- package/.versions/1.0.3/agents/plan-reviewer.md +84 -0
- package/.versions/1.0.3/agents/planner.md +71 -0
- package/.versions/1.0.3/agents/releaser.md +25 -0
- package/.versions/1.0.3/agents/researcher.md +29 -0
- package/.versions/1.0.3/agents/security-auditor.md +168 -0
- package/.versions/1.0.3/agents/test-engineer.md +154 -0
- package/.versions/1.0.3/agents/web-debugger.md +44 -0
- package/.versions/1.0.3/agents/web-performance-auditor.md +194 -0
- package/.versions/1.0.3/bin/catalog/harness-runtime-closure.json +38 -0
- package/.versions/1.0.3/codex/CONDUCTOR.md +148 -0
- package/.versions/1.0.3/docs/ARCHITECTURE.md +375 -0
- package/.versions/1.0.3/docs/agent-fleet-setup.md +468 -0
- package/.versions/1.0.3/docs/claude-code-coms-bridge.md +128 -0
- package/.versions/1.0.3/docs/codex-remote-conductor.md +170 -0
- package/.versions/1.0.3/docs/coms-hermes-bridge.md +189 -0
- package/.versions/1.0.3/docs/getting-started.md +98 -0
- package/.versions/1.0.3/docs/npm-install.md +292 -0
- package/.versions/1.0.3/docs/pi-extensions.md +441 -0
- package/.versions/1.0.3/docs/pi-setup.md +74 -0
- package/.versions/1.0.3/docs/skill-anatomy.md +150 -0
- package/.versions/1.0.3/hermes/README.md +347 -0
- package/.versions/1.0.3/hermes/desktop-plugins/agent-fleet-herdr/plugin.js +1291 -0
- package/.versions/1.0.3/hermes/desktop-plugins/agent-fleet-herdr/presentation.js +672 -0
- package/.versions/1.0.3/hermes/desktop-plugins/agent-fleet-monitor/plugin.js +19 -0
- package/.versions/1.0.3/hermes/desktop-plugins/agent-fleet-monitor/state.js +10 -0
- package/.versions/1.0.3/hermes/gates/gate-o-capability.md +8 -0
- package/.versions/1.0.3/hermes/gates/gate-o-validator-fixtures.json +1 -0
- package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/activity.py +770 -0
- package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/coms_registry.py +134 -0
- package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/coms_send.py +350 -0
- package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/herdr_source.py +193 -0
- package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/manifest.json +4 -0
- package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/plugin_api.py +444 -0
- package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/sessions.py +205 -0
- package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/tasks.py +300 -0
- package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/dashboard/watch.py +819 -0
- package/.versions/1.0.3/hermes/plugins/agent-fleet-herdr/plugin.yaml +8 -0
- package/.versions/1.0.3/hermes/plugins/agent-fleet-monitor/dashboard/adapter.py +139 -0
- package/.versions/1.0.3/hermes/plugins/agent-fleet-monitor/dashboard/manifest.json +11 -0
- package/.versions/1.0.3/hermes/plugins/agent-fleet-monitor/dashboard/plugin_api.py +50 -0
- package/.versions/1.0.3/hermes/skills/hub-conductor/SKILL.md +84 -0
- package/.versions/1.0.3/hermes/skills/hub-liaison/SKILL.md +84 -0
- package/.versions/1.0.3/hermes/skills/hub-watchdog/SKILL.md +76 -0
- package/.versions/1.0.3/hermes/skills/hub-watchdog/manifest.json +1 -0
- package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog.py +249 -0
- package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_actions.py +124 -0
- package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_contract.py +76 -0
- package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_delivery.py +10 -0
- package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_engine.py +128 -0
- package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_judgment.py +41 -0
- package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_recovery.py +103 -0
- package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_state.py +163 -0
- package/.versions/1.0.3/hermes/skills/hub-watchdog/scripts/watchdog_transport.py +138 -0
- package/.versions/1.0.3/hermes/watchdog-tests/__init__.py +0 -0
- package/.versions/1.0.3/hooks/coms-stop-hook.mjs +84 -0
- package/.versions/1.0.3/install-manifest.json +2745 -0
- package/.versions/1.0.3/justfile +272 -0
- package/.versions/1.0.3/manifest-meta.json +882 -0
- package/.versions/1.0.3/references/accessibility-checklist.md +160 -0
- package/.versions/1.0.3/references/definition-of-done.md +67 -0
- package/.versions/1.0.3/references/fleet-coordination-patterns.md +151 -0
- package/.versions/1.0.3/references/observability-checklist.md +91 -0
- package/.versions/1.0.3/references/orchestration-patterns.md +370 -0
- package/.versions/1.0.3/references/performance-checklist.md +153 -0
- package/.versions/1.0.3/references/prompting-patterns.md +380 -0
- package/.versions/1.0.3/references/security-checklist.md +179 -0
- package/.versions/1.0.3/references/testing-patterns.md +236 -0
- package/.versions/1.0.3/scripts/codex-conductor.ts +41 -0
- package/.versions/1.0.3/scripts/codex-remote-control.ts +167 -0
- package/.versions/1.0.3/scripts/coms-claude-bridge.ts +411 -0
- package/.versions/1.0.3/scripts/coms-cli.ts +484 -0
- package/.versions/1.0.3/scripts/coms-hermes-bridge.ts +413 -0
- package/.versions/1.0.3/scripts/fleet.ts +185 -0
- package/.versions/1.0.3/scripts/hermes-monitor-capability-runner.ts +25 -0
- package/.versions/1.0.3/scripts/hermes-monitor-scenario.ts +474 -0
- package/.versions/1.0.3/scripts/hermes-watchdog-capability-probe.ts +45 -0
- package/.versions/1.0.3/scripts/install-hermes-plugin.sh +180 -0
- package/.versions/1.0.3/scripts/lib/claude-bridge-core.ts +210 -0
- package/.versions/1.0.3/scripts/lib/codex-conductor.ts +88 -0
- package/.versions/1.0.3/scripts/lib/codex-remote-control.ts +480 -0
- package/.versions/1.0.3/scripts/lib/coms-envelope.ts +582 -0
- package/.versions/1.0.3/scripts/lib/fake-herdr-server.ts +88 -0
- package/.versions/1.0.3/scripts/lib/fleet-command.ts +266 -0
- package/.versions/1.0.3/scripts/lib/herdr-layout.ts +281 -0
- package/.versions/1.0.3/scripts/lib/hermes-bridge-core.ts +241 -0
- package/.versions/1.0.3/scripts/lib/hermes-monitor-events.ts +1 -0
- package/.versions/1.0.3/scripts/lib/hermes-monitor-herdr.ts +2 -0
- package/.versions/1.0.3/scripts/lib/hermes-monitor-model.ts +3 -0
- package/.versions/1.0.3/scripts/lib/hermes-monitor-registry.ts +2 -0
- package/.versions/1.0.3/scripts/lib/hermes-monitor-socket.ts +2 -0
- package/.versions/1.0.3/scripts/lib/hermes-monitor-store.ts +2 -0
- package/.versions/1.0.3/scripts/lib/monitor-env.ts +146 -0
- package/.versions/1.0.3/scripts/lib/peer-launch.ts +318 -0
- package/.versions/1.0.3/scripts/lib/persona-banner.ts +62 -0
- package/.versions/1.0.3/scripts/lib/spawn-stagger.ts +101 -0
- package/.versions/1.0.3/scripts/lib/team-project.ts +213 -0
- package/.versions/1.0.3/scripts/lib/team-snapshot.ts +147 -0
- package/.versions/1.0.3/scripts/peer-banner.ts +40 -0
- package/.versions/1.0.3/scripts/peer-launch.ts +259 -0
- package/.versions/1.0.3/scripts/team-snapshot.ts +237 -0
- package/.versions/1.0.3/scripts/team-up.ts +406 -0
- package/.versions/1.0.3/skills/_internal/grilling.md +11 -0
- package/.versions/1.0.3/skills/browser-testing-with-devtools/SKILL.md +351 -0
- package/.versions/1.0.3/skills/code-review-and-quality/SKILL.md +381 -0
- package/.versions/1.0.3/skills/compound-learning/SKILL.md +137 -0
- package/.versions/1.0.3/skills/context-engineering/SKILL.md +291 -0
- package/.versions/1.0.3/skills/deprecation-and-migration/SKILL.md +206 -0
- package/.versions/1.0.3/skills/designing-agents/SKILL.md +394 -0
- package/.versions/1.0.3/skills/designing-agents/pi-harness-authoring.md +222 -0
- package/.versions/1.0.3/skills/frontend-ui-engineering/SKILL.md +328 -0
- package/.versions/1.0.3/skills/git-workflow-and-versioning/SKILL.md +316 -0
- package/.versions/1.0.3/skills/idea-refine/SKILL.md +182 -0
- package/.versions/1.0.3/skills/idea-refine/examples.md +238 -0
- package/.versions/1.0.3/skills/idea-refine/frameworks.md +99 -0
- package/.versions/1.0.3/skills/idea-refine/refinement-criteria.md +113 -0
- package/.versions/1.0.3/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/.versions/1.0.3/skills/incremental-implementation/SKILL.md +287 -0
- package/.versions/1.0.3/skills/interview-me/SKILL.md +226 -0
- package/.versions/1.0.3/skills/orchestration-verification/SKILL.md +181 -0
- package/.versions/1.0.3/skills/peer-coms/SKILL.md +90 -0
- package/.versions/1.0.3/skills/performance-optimization/SKILL.md +350 -0
- package/.versions/1.0.3/skills/planning-and-task-breakdown/SKILL.md +254 -0
- package/.versions/1.0.3/skills/security-and-hardening/SKILL.md +461 -0
- package/.versions/1.0.3/skills/spec-driven-development/SKILL.md +257 -0
- package/.versions/1.0.3/skills/using-agent-skills/SKILL.md +199 -0
- package/.versions/1.0.3/systemd/user/agent-fleet-codex-remote-control.service.in +23 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/LICENSE +21 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/README.md +11 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/api-and-interface-design/SKILL.md +294 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/browser-testing-with-devtools/SKILL.md +317 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/ci-cd-and-automation/SKILL.md +390 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/code-review-and-quality/SKILL.md +396 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/code-simplification/SKILL.md +331 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/context-engineering/SKILL.md +289 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/debugging-and-error-recovery/SKILL.md +300 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/deprecation-and-migration/SKILL.md +247 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/documentation-and-adrs/SKILL.md +278 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/doubt-driven-development/SKILL.md +243 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/frontend-ui-engineering/SKILL.md +328 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/git-workflow-and-versioning/SKILL.md +355 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/idea-refine/SKILL.md +178 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/idea-refine/examples.md +238 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/idea-refine/frameworks.md +99 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/idea-refine/refinement-criteria.md +113 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/incremental-implementation/SKILL.md +249 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/interview-me/SKILL.md +225 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/observability-and-instrumentation/SKILL.md +203 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/performance-optimization/SKILL.md +350 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/planning-and-task-breakdown/SKILL.md +234 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/security-and-hardening/SKILL.md +467 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/shipping-and-launch/SKILL.md +310 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/source-driven-development/SKILL.md +194 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/spec-driven-development/SKILL.md +206 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/test-driven-development/SKILL.md +383 -0
- package/.versions/1.0.3/vendor/agent-skills-upstream/skills/using-agent-skills/SKILL.md +191 -0
- package/.versions/1.0.4/.pi/agents/dispatch-policy.yaml +32 -0
- package/.versions/1.0.4/.pi/agents/model-profiles.yaml +27 -0
- package/.versions/1.0.4/.pi/agents/peers.yaml +142 -0
- package/.versions/1.0.4/.pi/agents/teams.yaml +41 -0
- package/.versions/1.0.4/.pi/damage-control-rules.yaml +297 -0
- package/.versions/1.0.4/.pi/extensions/agent-fleet-update-check/README.md +57 -0
- package/.versions/1.0.4/.pi/extensions/agent-fleet-update-check/index.ts +161 -0
- package/.versions/1.0.4/.pi/extensions/agent-fleet-update-check/package.json +6 -0
- package/.versions/1.0.4/.pi/extensions/btw/README.md +120 -0
- package/.versions/1.0.4/.pi/extensions/btw/index.ts +914 -0
- package/.versions/1.0.4/.pi/extensions/btw/package.json +6 -0
- package/.versions/1.0.4/.pi/extensions/btw/state.js +179 -0
- package/.versions/1.0.4/.pi/extensions/chrome-devtools-mcp/README.md +55 -0
- package/.versions/1.0.4/.pi/extensions/chrome-devtools-mcp/index.ts +93 -0
- package/.versions/1.0.4/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
- package/.versions/1.0.4/.pi/extensions/compact-and-continue/README.md +42 -0
- package/.versions/1.0.4/.pi/extensions/compact-and-continue/index.ts +120 -0
- package/.versions/1.0.4/.pi/extensions/compact-and-continue/package.json +6 -0
- package/.versions/1.0.4/.pi/extensions/mcp-bridge/README.md +46 -0
- package/.versions/1.0.4/.pi/extensions/mcp-bridge/index.ts +206 -0
- package/.versions/1.0.4/.pi/extensions/mcp-bridge/package.json +6 -0
- package/.versions/1.0.4/.pi/extensions/package-lock.json +1175 -0
- package/.versions/1.0.4/.pi/extensions/package.json +9 -0
- package/.versions/1.0.4/.pi/extensions/pi-voice-stt/README.md +205 -0
- package/.versions/1.0.4/.pi/extensions/pi-voice-stt/config.ts +198 -0
- package/.versions/1.0.4/.pi/extensions/pi-voice-stt/examples/stt.json +35 -0
- package/.versions/1.0.4/.pi/extensions/pi-voice-stt/index.ts +248 -0
- package/.versions/1.0.4/.pi/extensions/pi-voice-stt/package.json +6 -0
- package/.versions/1.0.4/.pi/extensions/pi-voice-stt/providers.ts +214 -0
- package/.versions/1.0.4/.pi/extensions/pi-voice-stt/recorder.ts +158 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/README.md +1170 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/access-approval.ts +135 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/artifacts.js +146 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/assertion-ledger.js +58 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/backend-policy.js +174 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/budget-continuation.ts +73 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/capability-confirmation.ts +47 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/capability-packs.ts +180 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/context-budget-snapshot.ts +105 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/context-pressure.ts +191 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/context-window.js +106 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/delegate.ts +446 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/docs-lane.js +122 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/drift-watchdog.js +218 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/evidence-rules.js +96 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/execution-profile.ts +69 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/external-blocker.js +85 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/footer.ts +36 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/helpers.ts +266 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/hub-state-audit.js +59 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/index.ts +10171 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-control.ts +9 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-invoke-journal.ts +131 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-invoke.ts +92 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-lifecycle.ts +13 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-publisher.ts +59 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-recovery.ts +3 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-runtime.ts +3 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-session-bridge.ts +266 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/package.json +7 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/peer-spawn-plan.ts +116 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/posture.ts +158 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/provider-semaphore.js +138 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/research-retention.js +34 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/research-watchdog.ts +40 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/return-contract.js +293 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/return-extract.js +75 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/review-findings.js +102 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/run-budget.js +537 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/run-namespace.js +87 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/safety-routing.ts +22 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/scope-gate.js +103 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/session-health.js +110 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/spawn.ts +388 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/version.ts +42 -0
- package/.versions/1.0.4/.pi/harnesses/ask-user-remote/README.md +53 -0
- package/.versions/1.0.4/.pi/harnesses/ask-user-remote/index.ts +532 -0
- package/.versions/1.0.4/.pi/harnesses/ask-user-remote/race-core.js +106 -0
- package/.versions/1.0.4/.pi/harnesses/coms/README.md +100 -0
- package/.versions/1.0.4/.pi/harnesses/coms/index.ts +1767 -0
- package/.versions/1.0.4/.pi/harnesses/coms/package.json +7 -0
- package/.versions/1.0.4/.pi/harnesses/coms/version.ts +42 -0
- package/.versions/1.0.4/.pi/harnesses/damage-control-continue/README.md +124 -0
- package/.versions/1.0.4/.pi/harnesses/damage-control-continue/index.ts +536 -0
- package/.versions/1.0.4/.pi/harnesses/damage-control-continue/package.json +7 -0
- package/.versions/1.0.4/.pi/harnesses/damage-control-continue/version.ts +42 -0
- package/.versions/1.0.4/.pi/harnesses/lib/coms-registry-entry.ts +94 -0
- package/.versions/1.0.4/.pi/harnesses/lib/context-budget-child-prompt.ts +179 -0
- package/.versions/1.0.4/.pi/harnesses/lib/context-budget-hub-prompt.ts +116 -0
- package/.versions/1.0.4/.pi/harnesses/lib/context-budget-view.ts +107 -0
- package/.versions/1.0.4/.pi/harnesses/lib/context-budget.ts +114 -0
- package/.versions/1.0.4/.pi/harnesses/lib/damage-control-shared.ts +197 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fixtures/context-budget-profiles.json +11 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fixtures/hub-prompt-operator.legacy.txt +73 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fixtures/hub-prompt-orchestrator.legacy.txt +73 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-dashboard-ops.ts +155 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-dashboard-view.ts +142 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-detail-view.ts +247 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-overlay.ts +26 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-panel.ts +34 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-read-model.ts +131 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-selection.ts +24 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-transcript-store.ts +244 -0
- package/.versions/1.0.4/.pi/harnesses/lib/herdr-client.ts +472 -0
- package/.versions/1.0.4/.pi/harnesses/lib/herdr-presence.ts +399 -0
- package/.versions/1.0.4/.pi/harnesses/lib/hermes-monitor-events.ts +136 -0
- package/.versions/1.0.4/.pi/harnesses/lib/hermes-monitor-herdr.ts +28 -0
- package/.versions/1.0.4/.pi/harnesses/lib/hermes-monitor-model.ts +18 -0
- package/.versions/1.0.4/.pi/harnesses/lib/hermes-monitor-registry.ts +6 -0
- package/.versions/1.0.4/.pi/harnesses/lib/hermes-monitor-socket.ts +163 -0
- package/.versions/1.0.4/.pi/harnesses/lib/hermes-monitor-store.ts +31 -0
- package/.versions/1.0.4/.pi/harnesses/lib/spawned-peers.js +190 -0
- package/.versions/1.0.4/.pi/harnesses/package-lock.json +2039 -0
- package/.versions/1.0.4/.pi/harnesses/package.json +10 -0
- package/.versions/1.0.4/.pi/prompts/af-build.md +24 -0
- package/.versions/1.0.4/.pi/prompts/af-code-simplify.md +22 -0
- package/.versions/1.0.4/.pi/prompts/af-plan.md +17 -0
- package/.versions/1.0.4/.pi/prompts/af-review.md +16 -0
- package/.versions/1.0.4/.pi/prompts/af-set-hermes-telegram.md +15 -0
- package/.versions/1.0.4/.pi/prompts/af-set-hermes-watchdog.md +6 -0
- package/.versions/1.0.4/.pi/prompts/af-ship.md +17 -0
- package/.versions/1.0.4/.pi/prompts/af-spec.md +15 -0
- package/.versions/1.0.4/.pi/prompts/af-test.md +19 -0
- package/.versions/1.0.4/.pi/skills/bowser/SKILL.md +145 -0
- package/.versions/1.0.4/.version +1 -0
- package/.versions/1.0.4/agents/architect.md +25 -0
- package/.versions/1.0.4/agents/bowser.md +28 -0
- package/.versions/1.0.4/agents/builder.md +56 -0
- package/.versions/1.0.4/agents/code-reviewer.md +209 -0
- package/.versions/1.0.4/agents/deep-researcher.md +33 -0
- package/.versions/1.0.4/agents/documenter.md +19 -0
- package/.versions/1.0.4/agents/orchestrator.md +21 -0
- package/.versions/1.0.4/agents/plan-reviewer.md +84 -0
- package/.versions/1.0.4/agents/planner.md +71 -0
- package/.versions/1.0.4/agents/releaser.md +25 -0
- package/.versions/1.0.4/agents/researcher.md +29 -0
- package/.versions/1.0.4/agents/security-auditor.md +168 -0
- package/.versions/1.0.4/agents/test-engineer.md +154 -0
- package/.versions/1.0.4/agents/web-debugger.md +44 -0
- package/.versions/1.0.4/agents/web-performance-auditor.md +194 -0
- package/.versions/1.0.4/bin/catalog/harness-runtime-closure.json +38 -0
- package/.versions/1.0.4/codex/CONDUCTOR.md +148 -0
- package/.versions/1.0.4/docs/ARCHITECTURE.md +375 -0
- package/.versions/1.0.4/docs/agent-fleet-setup.md +468 -0
- package/.versions/1.0.4/docs/claude-code-coms-bridge.md +128 -0
- package/.versions/1.0.4/docs/codex-remote-conductor.md +170 -0
- package/.versions/1.0.4/docs/coms-hermes-bridge.md +189 -0
- package/.versions/1.0.4/docs/getting-started.md +98 -0
- package/.versions/1.0.4/docs/npm-install.md +292 -0
- package/.versions/1.0.4/docs/pi-extensions.md +441 -0
- package/.versions/1.0.4/docs/pi-setup.md +74 -0
- package/.versions/1.0.4/docs/skill-anatomy.md +150 -0
- package/.versions/1.0.4/hermes/README.md +347 -0
- package/.versions/1.0.4/hermes/desktop-plugins/agent-fleet-herdr/plugin.js +1291 -0
- package/.versions/1.0.4/hermes/desktop-plugins/agent-fleet-herdr/presentation.js +672 -0
- package/.versions/1.0.4/hermes/desktop-plugins/agent-fleet-monitor/plugin.js +19 -0
- package/.versions/1.0.4/hermes/desktop-plugins/agent-fleet-monitor/state.js +10 -0
- package/.versions/1.0.4/hermes/gates/gate-o-capability.md +8 -0
- package/.versions/1.0.4/hermes/gates/gate-o-validator-fixtures.json +1 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/activity.py +770 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/coms_registry.py +134 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/coms_send.py +350 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/herdr_source.py +193 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/manifest.json +4 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/plugin_api.py +444 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/sessions.py +205 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/tasks.py +300 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/watch.py +819 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/plugin.yaml +8 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-monitor/dashboard/adapter.py +139 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-monitor/dashboard/manifest.json +11 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-monitor/dashboard/plugin_api.py +50 -0
- package/.versions/1.0.4/hermes/skills/hub-conductor/SKILL.md +84 -0
- package/.versions/1.0.4/hermes/skills/hub-liaison/SKILL.md +84 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/SKILL.md +76 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/manifest.json +1 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog.py +249 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_actions.py +124 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_contract.py +76 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_delivery.py +10 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_engine.py +128 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_judgment.py +41 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_recovery.py +103 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_state.py +163 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_transport.py +138 -0
- package/.versions/1.0.4/hermes/watchdog-tests/__init__.py +0 -0
- package/.versions/1.0.4/hooks/coms-stop-hook.mjs +84 -0
- package/.versions/1.0.4/install-manifest.json +2745 -0
- package/.versions/1.0.4/justfile +272 -0
- package/.versions/1.0.4/manifest-meta.json +882 -0
- package/.versions/1.0.4/references/accessibility-checklist.md +160 -0
- package/.versions/1.0.4/references/definition-of-done.md +67 -0
- package/.versions/1.0.4/references/fleet-coordination-patterns.md +151 -0
- package/.versions/1.0.4/references/observability-checklist.md +91 -0
- package/.versions/1.0.4/references/orchestration-patterns.md +370 -0
- package/.versions/1.0.4/references/performance-checklist.md +153 -0
- package/.versions/1.0.4/references/prompting-patterns.md +380 -0
- package/.versions/1.0.4/references/security-checklist.md +179 -0
- package/.versions/1.0.4/references/testing-patterns.md +236 -0
- package/.versions/1.0.4/scripts/codex-conductor.ts +41 -0
- package/.versions/1.0.4/scripts/codex-remote-control.ts +167 -0
- package/.versions/1.0.4/scripts/coms-claude-bridge.ts +411 -0
- package/.versions/1.0.4/scripts/coms-cli.ts +484 -0
- package/.versions/1.0.4/scripts/coms-hermes-bridge.ts +413 -0
- package/.versions/1.0.4/scripts/fleet.ts +185 -0
- package/.versions/1.0.4/scripts/hermes-monitor-capability-runner.ts +25 -0
- package/.versions/1.0.4/scripts/hermes-monitor-scenario.ts +474 -0
- package/.versions/1.0.4/scripts/hermes-watchdog-capability-probe.ts +45 -0
- package/.versions/1.0.4/scripts/install-hermes-plugin.sh +180 -0
- package/.versions/1.0.4/scripts/lib/claude-bridge-core.ts +210 -0
- package/.versions/1.0.4/scripts/lib/codex-conductor.ts +88 -0
- package/.versions/1.0.4/scripts/lib/codex-remote-control.ts +480 -0
- package/.versions/1.0.4/scripts/lib/coms-envelope.ts +582 -0
- package/.versions/1.0.4/scripts/lib/fake-herdr-server.ts +88 -0
- package/.versions/1.0.4/scripts/lib/fleet-command.ts +266 -0
- package/.versions/1.0.4/scripts/lib/herdr-layout.ts +281 -0
- package/.versions/1.0.4/scripts/lib/hermes-bridge-core.ts +241 -0
- package/.versions/1.0.4/scripts/lib/hermes-monitor-events.ts +1 -0
- package/.versions/1.0.4/scripts/lib/hermes-monitor-herdr.ts +2 -0
- package/.versions/1.0.4/scripts/lib/hermes-monitor-model.ts +3 -0
- package/.versions/1.0.4/scripts/lib/hermes-monitor-registry.ts +2 -0
- package/.versions/1.0.4/scripts/lib/hermes-monitor-socket.ts +2 -0
- package/.versions/1.0.4/scripts/lib/hermes-monitor-store.ts +2 -0
- package/.versions/1.0.4/scripts/lib/monitor-env.ts +146 -0
- package/.versions/1.0.4/scripts/lib/peer-launch.ts +318 -0
- package/.versions/1.0.4/scripts/lib/persona-banner.ts +62 -0
- package/.versions/1.0.4/scripts/lib/spawn-stagger.ts +101 -0
- package/.versions/1.0.4/scripts/lib/team-project.ts +213 -0
- package/.versions/1.0.4/scripts/lib/team-snapshot.ts +147 -0
- package/.versions/1.0.4/scripts/peer-banner.ts +40 -0
- package/.versions/1.0.4/scripts/peer-launch.ts +259 -0
- package/.versions/1.0.4/scripts/team-snapshot.ts +237 -0
- package/.versions/1.0.4/scripts/team-up.ts +406 -0
- package/.versions/1.0.4/skills/_internal/grilling.md +59 -0
- package/.versions/1.0.4/skills/browser-testing-with-devtools/SKILL.md +351 -0
- package/.versions/1.0.4/skills/code-review-and-quality/SKILL.md +381 -0
- package/.versions/1.0.4/skills/compound-learning/SKILL.md +137 -0
- package/.versions/1.0.4/skills/context-engineering/SKILL.md +291 -0
- package/.versions/1.0.4/skills/deprecation-and-migration/SKILL.md +206 -0
- package/.versions/1.0.4/skills/designing-agents/SKILL.md +394 -0
- package/.versions/1.0.4/skills/designing-agents/pi-harness-authoring.md +222 -0
- package/.versions/1.0.4/skills/frontend-ui-engineering/SKILL.md +328 -0
- package/.versions/1.0.4/skills/git-workflow-and-versioning/SKILL.md +316 -0
- package/.versions/1.0.4/skills/idea-refine/SKILL.md +182 -0
- package/.versions/1.0.4/skills/idea-refine/examples.md +238 -0
- package/.versions/1.0.4/skills/idea-refine/frameworks.md +99 -0
- package/.versions/1.0.4/skills/idea-refine/refinement-criteria.md +113 -0
- package/.versions/1.0.4/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/.versions/1.0.4/skills/incremental-implementation/SKILL.md +298 -0
- package/.versions/1.0.4/skills/interview-me/SKILL.md +226 -0
- package/.versions/1.0.4/skills/orchestration-verification/SKILL.md +181 -0
- package/.versions/1.0.4/skills/peer-coms/SKILL.md +90 -0
- package/.versions/1.0.4/skills/performance-optimization/SKILL.md +350 -0
- package/.versions/1.0.4/skills/planning-and-task-breakdown/SKILL.md +263 -0
- package/.versions/1.0.4/skills/security-and-hardening/SKILL.md +461 -0
- package/.versions/1.0.4/skills/spec-driven-development/SKILL.md +256 -0
- package/.versions/1.0.4/skills/using-agent-skills/SKILL.md +197 -0
- package/.versions/1.0.4/systemd/user/agent-fleet-codex-remote-control.service.in +23 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/LICENSE +21 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/README.md +11 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/api-and-interface-design/SKILL.md +294 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/browser-testing-with-devtools/SKILL.md +317 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/ci-cd-and-automation/SKILL.md +390 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/code-review-and-quality/SKILL.md +396 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/code-simplification/SKILL.md +331 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/context-engineering/SKILL.md +289 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/debugging-and-error-recovery/SKILL.md +300 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/deprecation-and-migration/SKILL.md +247 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/documentation-and-adrs/SKILL.md +278 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/doubt-driven-development/SKILL.md +243 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/frontend-ui-engineering/SKILL.md +328 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/git-workflow-and-versioning/SKILL.md +355 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/idea-refine/SKILL.md +178 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/idea-refine/examples.md +238 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/idea-refine/frameworks.md +99 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/idea-refine/refinement-criteria.md +113 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/incremental-implementation/SKILL.md +249 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/interview-me/SKILL.md +225 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/observability-and-instrumentation/SKILL.md +203 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/performance-optimization/SKILL.md +350 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/planning-and-task-breakdown/SKILL.md +234 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/security-and-hardening/SKILL.md +467 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/shipping-and-launch/SKILL.md +310 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/source-driven-development/SKILL.md +194 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/spec-driven-development/SKILL.md +206 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/test-driven-development/SKILL.md +383 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/using-agent-skills/SKILL.md +191 -0
- package/CHANGELOG.md +13 -0
- package/README.md +5 -4
- package/agents/architect.md +1 -0
- package/agents/bowser.md +1 -0
- package/agents/builder.md +2 -0
- package/agents/code-reviewer.md +1 -0
- package/agents/deep-researcher.md +1 -0
- package/agents/documenter.md +1 -0
- package/agents/orchestrator.md +1 -0
- package/agents/plan-reviewer.md +1 -0
- package/agents/planner.md +2 -1
- package/agents/releaser.md +1 -0
- package/agents/researcher.md +1 -0
- package/agents/security-auditor.md +1 -0
- package/agents/test-engineer.md +1 -0
- package/agents/web-debugger.md +1 -0
- package/agents/web-performance-auditor.md +1 -0
- package/bin/lib/validate-overrides.js +1 -1
- package/docs/ARCHITECTURE.md +25 -19
- package/docs/agent-fleet-setup.md +8 -8
- package/docs/pi-extensions.md +4 -2
- package/install-manifest.json +3 -3
- package/package.json +2 -2
- package/scripts/fleet.ts +1 -1
- package/skills/_internal/grilling.md +53 -5
- package/skills/idea-refine/SKILL.md +2 -2
- package/skills/incremental-implementation/SKILL.md +12 -1
- package/skills/planning-and-task-breakdown/SKILL.md +14 -5
- package/skills/spec-driven-development/SKILL.md +10 -11
- package/skills/using-agent-skills/SKILL.md +13 -15
|
@@ -26,14 +26,16 @@ These are independent runtime axes:
|
|
|
26
26
|
extension tools, and orchestration. Orchestrator withholds direct coding tools but keeps
|
|
27
27
|
dispatch, research, assertions, roster controls, `ask_user`, ready coms, and ready Herdr tools.
|
|
28
28
|
In orchestrator posture, raw Herdr panes are auxiliary-process orchestration—not a route around
|
|
29
|
-
delegation for reading, editing, testing, or implementing code.
|
|
29
|
+
delegation for reading, editing, testing, or implementing code. With no argument, `/af-posture`
|
|
30
|
+
opens a two-option picker.
|
|
30
31
|
- **Native roster** — local headless Pi specialists from `.pi/agents/teams.yaml`. Bare Fleet starts
|
|
31
32
|
empty; select one with `--agents frontend` or add one live with `/af-agents-add code-reviewer`.
|
|
32
33
|
- **Peer topology** — separate long-lived Pi or Claude Code processes from `peers.yaml`, connected
|
|
33
34
|
by coms and optionally placed in sibling Herdr panes. `--peers frontend` selects a standing
|
|
34
35
|
preset; `--herdr` creates a Hub-only workspace through the empty `base` preset.
|
|
35
|
-
- **
|
|
36
|
-
|
|
36
|
+
- **Posture shortcuts** — `/af-work-mode` and **Alt+M** switch operator vs orchestrator. Orchestrator
|
|
37
|
+
still requires a native roster. Budgets, nested delegation, and Verification Contract rigor follow
|
|
38
|
+
the **task tier**, not a session execution mode.
|
|
37
39
|
|
|
38
40
|
All Hub slash commands, including `/af-handoff`, are registered in both postures. A command whose
|
|
39
41
|
runtime capability is unavailable refuses with remediation rather than disappearing. `--no-coms`
|
|
@@ -99,6 +101,7 @@ Recover with one of these explicit choices:
|
|
|
99
101
|
```text
|
|
100
102
|
/af-agents-team # select a currently valid team in the live session
|
|
101
103
|
/af-posture operator # explicitly leave delegate-only posture
|
|
104
|
+
/af-work-mode operator # restore direct tools
|
|
102
105
|
just fleet --agents <name> # restart through the public Fleet CLI
|
|
103
106
|
just fleet --posture operator # restart explicitly as an operator
|
|
104
107
|
```
|
|
@@ -247,8 +250,9 @@ Every borrowed idea from another harness passes one test before it lands: *does
|
|
|
247
250
|
children inherit it). `/af-models [profile]` applies a named profile
|
|
248
251
|
from `.pi/agents/model-profiles.yaml` — a macro over the same declared candidates, validated at
|
|
249
252
|
session start (a profile with any entry outside a persona's candidates is dropped whole, with an
|
|
250
|
-
error); profiles never touch sub-role models — only `/af-agent-model` reaches those.
|
|
251
|
-
|
|
253
|
+
error); profiles never touch sub-role models — only `/af-agent-model` reaches those. Those
|
|
254
|
+
declared-candidate commands stay within their lists; Fleet Detail and the session-wide
|
|
255
|
+
substitution target picker intentionally use Pi's currently available registry. When an effective project or session override
|
|
252
256
|
fails with a model/provider error or aborted request before work begins (including local-model
|
|
253
257
|
memory-limit failures), the hub retries once with the model originally declared in the persona
|
|
254
258
|
frontmatter. For **write-capable** runs this is pre-work only: no fallback occurs after text
|
|
@@ -265,12 +269,14 @@ Every borrowed idea from another harness passes one test before it lands: *does
|
|
|
265
269
|
way — `/af-agent-model <persona>` and `/af-agent-model-thinking <persona>` accept them alongside team
|
|
266
270
|
members. Since research helpers are spawned fresh on each `/af-research` / `spawn_research`, the
|
|
267
271
|
switch lands on their next spawn (there is no running instance to `/af-agents-restart`).
|
|
268
|
-
`/af-agent-models-substitute <source> <target
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
272
|
+
`/af-agent-models-substitute [<source> <target>]` saves a runtime source → target mapping for
|
|
273
|
+
the current session. With no arguments it opens the same two-step visual picker as `m` in Fleet
|
|
274
|
+
Dashboard: first choose a source from every model configured across persona defaults, candidates,
|
|
275
|
+
fallbacks, and delegate sub-roles; then choose a target from Pi's currently available models. The
|
|
276
|
+
two-argument form performs the same operation directly. The mapping is resolved when work is
|
|
277
|
+
spawned rather than eagerly copied into today's roster, so team members, research personas, and
|
|
278
|
+
delegate sub-roles activated or created later in the session inherit it automatically. Existing
|
|
279
|
+
runs are not interrupted, and all mappings reset at the next `session_start`.
|
|
274
280
|
- **Thinking levels** — each persona's frontmatter `thinking:` sets its pi `--thinking`
|
|
275
281
|
reasoning effort (`off` · `minimal` · `low` · `medium` · `high` · `xhigh`). `/af-agent-model-thinking
|
|
276
282
|
<persona>` switches it among those six levels for the session; like a model switch it takes effect
|
|
@@ -373,7 +379,14 @@ The agent view starts with the **compact widget** enabled: one line per *running
|
|
|
373
379
|
`name · context% · state` — *below* the input box, just above pi's status bar. Idle and done agents
|
|
374
380
|
are hidden, and the coms pool widget collapses too, so an idle session collapses to just the prompt
|
|
375
381
|
and footer. **`Alt+Shift+A`** toggles that widget on or off; the footer reports
|
|
376
|
-
`Alt+A fleet · Alt+Shift+A widget:compact|off`.
|
|
382
|
+
`Alt+A fleet · Alt+M Operator · Alt+Shift+A widget:compact|off`.
|
|
383
|
+
|
|
384
|
+
### Posture picker
|
|
385
|
+
|
|
386
|
+
Press **`Alt+M`** or run **`/af-work-mode`** / **`/af-posture`** to open the posture picker:
|
|
387
|
+
**operator** (direct tools) or **orchestrator** (delegate-only). Arrow keys move, Enter applies,
|
|
388
|
+
and Esc cancels with no change. Orchestrator requires a native roster. On macOS, the outer
|
|
389
|
+
terminal must send Option as Meta or Alt+M will not reach the Hub.
|
|
377
390
|
|
|
378
391
|
### Fleet Dashboard and detail
|
|
379
392
|
|
|
@@ -393,17 +406,31 @@ and visible token totals. Finished/idle/stale rows are hidden by default.
|
|
|
393
406
|
its previous task fresh; it is refused for peer/delegate rows, running research, and rows with no previous task.
|
|
394
407
|
- **`q`** or **Esc** closes the dashboard.
|
|
395
408
|
|
|
396
|
-
The detail view streams the selected local agent's text, thinking,
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
409
|
+
The detail view streams the selected local agent's assistant text, provider-emitted thinking, tool
|
|
410
|
+
arguments, and tool results (including success/error and duration). Normal events request an immediate
|
|
411
|
+
render; a 2-second ticker recovers missed file notifications and advances elapsed time. Use **`v`** to
|
|
412
|
+
switch between scan-friendly **Compact** rows and wrapped **Verbose** output. The choice is preserved
|
|
413
|
+
while drilling into other rows in the same open dashboard.
|
|
414
|
+
|
|
415
|
+
Use **`↑`/`↓`**, **`PgUp`/`PgDn`**, and **Home**/**End** to navigate. Manual movement pauses tail-follow;
|
|
416
|
+
**End** restores it. **Enter** expands a selected tool row in Compact mode and **Ctrl+C** copies the
|
|
417
|
+
selected entry. **`m`** replaces the log area with a full-screen picker containing every model currently
|
|
418
|
+
reported by Pi's available-model registry. Use **`↑`/`↓`**, **`PgUp`/`PgDn`**, or **Home**/**End**, then
|
|
419
|
+
**Enter** to apply; **Esc** cancels back to the logs.
|
|
420
|
+
|
|
421
|
+
Each local run also writes an append-only transcript under `.pi/agent-sessions/transcripts/`. The
|
|
422
|
+
directory/file permissions are owner-only (0700/0600 where the platform supports them), large events
|
|
423
|
+
are chunked, and the live in-memory window is bounded. Common authorization headers, API keys, access
|
|
424
|
+
tokens, passwords, provider tokens, and private-key blocks become `[REDACTED]` **before both persistence
|
|
425
|
+
and display**. This is pattern-based protection, so operators should still avoid deliberately printing
|
|
426
|
+
unknown secret formats.
|
|
427
|
+
|
|
428
|
+
“Thinking” means only text explicitly emitted by the provider/runtime; hidden model reasoning is not
|
|
429
|
+
available, and personas with thinking disabled have no thinking rows. Model switching works for local
|
|
430
|
+
specialists, retained research helpers, and nested delegate roles. It applies on the next dispatch or
|
|
431
|
+
continuation and never interrupts a running child. A coms-backed specialist stores the choice for native
|
|
432
|
+
fallback runs; external coms peers control their own model, have no picker, and have no local transcript.
|
|
433
|
+
**Esc**/**`q`** returns to the dashboard. **`/af-zoom <name|rN>`** opens this same detail view directly.
|
|
407
434
|
|
|
408
435
|
### Version footer
|
|
409
436
|
|
|
@@ -533,50 +560,36 @@ and forward parent cancellation, avoiding detached-orphan processes. Caller
|
|
|
533
560
|
cancellation follows the same bounded cleanup path but is reported as `cancelled`, not
|
|
534
561
|
`tool_timeout`.
|
|
535
562
|
|
|
536
|
-
###
|
|
537
|
-
|
|
538
|
-
The hub runs
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
| Budget (per user turn) |
|
|
544
|
-
|
|
545
|
-
| `dispatch_agent` calls | 2
|
|
546
|
-
| `spawn_research` calls | 1
|
|
547
|
-
| Turn wall clock | 15 min | 60 min
|
|
548
|
-
| Per-run deadline (specialist/research/delegate) | 10 min | 30 min |
|
|
549
|
-
| Specialist session recycled after | 3 runs | 5 runs
|
|
550
|
-
| Nested delegation | off
|
|
551
|
-
|
|
552
|
-
- **fast** — single-specialist path for small, low-risk asks; assertion ledger optional,
|
|
553
|
-
no nested delegation.
|
|
554
|
-
- **standard** — batched execution: one recon max, builder batches of 4–6 plan tasks with
|
|
555
|
-
one gate each, one review gate at the end.
|
|
556
|
-
- **strict** — the full Verification Contract (parity inventories, per-batch gates,
|
|
557
|
-
second confirming reads); use for production migrations and security-sensitive work.
|
|
563
|
+
### Task-tier budgets
|
|
564
|
+
|
|
565
|
+
The hub runs **per-user-turn budgets enforced in code**, not prose, keyed off the current
|
|
566
|
+
**task tier**. This is the guardrail against runaway orchestration (the observed failure
|
|
567
|
+
mode: 100+ dispatches and 100M+ tokens for one task, most of it re-billed stale specialist
|
|
568
|
+
context).
|
|
569
|
+
|
|
570
|
+
| Budget (per user turn) | trivial | small | feature | project |
|
|
571
|
+
|-----------------------------------|---------|-------|---------|---------|
|
|
572
|
+
| `dispatch_agent` calls | 1 | 2 | 8 | 12 |
|
|
573
|
+
| `spawn_research` calls | 1 | 2 | 4 | 6 |
|
|
574
|
+
| Turn wall clock | 15 min | 15 min| 60 min | 90 min |
|
|
575
|
+
| Per-run deadline (specialist/research/delegate) | 10 min | 10 min | 30 min | 30 min |
|
|
576
|
+
| Specialist session recycled after | 3 runs | 3 runs| 5 runs | 5 runs |
|
|
577
|
+
| Nested delegation | off | off | on | on |
|
|
558
578
|
|
|
559
579
|
When a budget is exhausted, `dispatch_agent`/`spawn_research` **refuse** with instructions
|
|
560
580
|
to summarize and ask one localized Yes/No `ask_user` question. **Yes** renews the turn budget
|
|
561
581
|
inside the same tool loop; the user does not type `continue` or run a slash command. A normal
|
|
562
582
|
new user message still opens a fresh turn window. Time blocked in any `ask_user` question is
|
|
563
583
|
excluded from the turn wall clock, so a slow human answer cannot exhaust the next dispatch.
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
another pane, or the project's override file. A later `session_start` reapplies that repository's
|
|
568
|
-
configured default. Successful live switches and session-start default application append
|
|
569
|
-
`agent-hub-mode` entries to the Pi session record with an allowlisted identity (`cwd`, PID, Hub
|
|
570
|
-
session/project, and Herdr workspace/pane when available), so a mode change can be attributed to
|
|
571
|
-
the process that actually handled it. Set the project default and per-axis overrides in the
|
|
572
|
-
overrides file:
|
|
584
|
+
Raise the task with `set_task_tier` when the work outgrew the current envelope. Override keys
|
|
585
|
+
in `.ai/agent-fleet-overrides.md` are a **ceiling** (`min` with the tier); `off` stays at the
|
|
586
|
+
tier rather than lifting the cap. A leftover `mode:` key is ignored with a warning.
|
|
573
587
|
|
|
574
588
|
```markdown
|
|
575
589
|
## agent-hub
|
|
576
|
-
|
|
577
|
-
max-
|
|
578
|
-
|
|
579
|
-
turn-wall-time-s: 3600 # integer or off
|
|
590
|
+
max-dispatches-per-turn: 8 # integer ceiling, or off (stays at the tier)
|
|
591
|
+
max-research-per-turn: 4 # integer ceiling, or off (stays at the tier)
|
|
592
|
+
turn-wall-time-s: 3600 # integer ceiling, or off (stays at the tier)
|
|
580
593
|
agent-turn-timeout-s: 1800 # whole-run deadline per spawned run; integer or off
|
|
581
594
|
session-recycle-runs: 5 # recycle a specialist session after N resumed runs; integer or off
|
|
582
595
|
run-history-keep: 10 # previous sessions' artifact archives to retain; integer or off
|
|
@@ -592,9 +605,9 @@ workspace took **13 minutes**.
|
|
|
592
605
|
So there is a second envelope, **`TASK_BUDGET_MULTIPLIER` (3) × the turn envelope**, whose
|
|
593
606
|
counters are **not** reset by a user message:
|
|
594
607
|
|
|
595
|
-
| | per turn (
|
|
608
|
+
| | per turn (`feature`) | per task |
|
|
596
609
|
|---|---|---|
|
|
597
|
-
| `dispatch_agent` |
|
|
610
|
+
| `dispatch_agent` | 8 | 24 |
|
|
598
611
|
| `spawn_research` | 4 | 12 |
|
|
599
612
|
| clock | 60 min wall | 180 min **active** |
|
|
600
613
|
|
|
@@ -675,11 +688,9 @@ can no longer hold its parent for hours.
|
|
|
675
688
|
### Task triage (complexity tiers)
|
|
676
689
|
|
|
677
690
|
The dispatcher classifies the current TASK with the `set_task_tier` tool BEFORE its first
|
|
678
|
-
dispatch — `trivial` / `small` / `feature` / `project` — and
|
|
679
|
-
|
|
680
|
-
small
|
|
681
|
-
`hub-mode` status chip (`Mode: standard·small · …`), with a trailing `?` while it is only
|
|
682
|
-
assumed.
|
|
691
|
+
dispatch — `trivial` / `small` / `feature` / `project` — and that classification *is* the
|
|
692
|
+
budget envelope (see the table above). The tier shows in the `hub-tier` status chip
|
|
693
|
+
(`Tier: small · …`), with a trailing `?` while it is only assumed.
|
|
683
694
|
|
|
684
695
|
Skipping the call makes the hub assume **`small`**, not `feature`. Because the tier is
|
|
685
696
|
task-scoped, a skipped triage latches for the whole task — and skipped triage is precisely
|
|
@@ -788,11 +799,14 @@ drives the cards — not post-hoc:
|
|
|
788
799
|
partial output preserved) and the dispatch result instructs: re-dispatch ONCE with a
|
|
789
800
|
corrected, narrowed task — never the same task unchanged.
|
|
790
801
|
|
|
791
|
-
Enablement is dynamic, precedence
|
|
792
|
-
single `dispatch_agent` call → a per-agent override (`/af-watchdog builder
|
|
793
|
-
the hub-wide setting (`/af-watchdog on|off|auto`, default `auto`, project
|
|
794
|
-
`watchdog:` overrides key)
|
|
795
|
-
|
|
802
|
+
Enablement is dynamic. In **operator** posture, precedence is the `watchdog: true|false`
|
|
803
|
+
param on a single `dispatch_agent` call → a per-agent override (`/af-watchdog builder
|
|
804
|
+
on|off|clear`) → the hub-wide setting (`/af-watchdog on|off|auto`, default `auto`, project
|
|
805
|
+
default via the `watchdog:` overrides key): `on`/`auto` arm and `off` disarms. In
|
|
806
|
+
**orchestrator** posture, hub `auto`/`on` auto-arms; dispatch `watchdog: false` cannot
|
|
807
|
+
disarm it. Opt out with hub `/af-watchdog off` (or override `watchdog: off`), or a per-agent
|
|
808
|
+
`off`. Read-only research helpers are not monitored — they already run under the per-tool
|
|
809
|
+
watchdog + turn deadline and cannot write.
|
|
796
810
|
|
|
797
811
|
### Dynamic teams
|
|
798
812
|
|
|
@@ -803,7 +817,7 @@ Rosters start from `.pi/agents/teams.yaml` but are not frozen there:
|
|
|
803
817
|
- `/af-agents-save <name>` — persist the current roster as a named team back into
|
|
804
818
|
`teams.yaml` (targeted block upsert; comments and other teams untouched).
|
|
805
819
|
- `team_adjust` — the dispatcher itself may add/drop a persona **with a stated reason**;
|
|
806
|
-
disabled
|
|
820
|
+
disabled at trivial/small tiers, capped at 8 roster members, and every change is notified to the
|
|
807
821
|
human. The system prompt is rebuilt each turn, so changes take effect immediately.
|
|
808
822
|
|
|
809
823
|
### `/af-hub-report`
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
//
|
|
3
3
|
// The bug this fixes: the hub measured EVERY specialist and research helper
|
|
4
4
|
// against `ctx.model.contextWindow` — the DISPATCHER's window. A specialist on
|
|
5
|
-
// custom/Qwen3.
|
|
5
|
+
// custom/Qwen3.8-27B-Uncensored-MLX-4bit (49152) and one on a 400k hosted model were
|
|
6
6
|
// divided by the same number, so `⚠ Planner context at 315%` could mean either
|
|
7
7
|
// "the window is wrong for that provider" or "the run really did run 3× over",
|
|
8
8
|
// and nothing in the output told them apart.
|
|
@@ -36,6 +36,7 @@ import { Type } from "@sinclair/typebox";
|
|
|
36
36
|
import { appendFileSync, mkdirSync, writeFileSync } from "fs";
|
|
37
37
|
import type { ChildProcess } from "child_process";
|
|
38
38
|
import { spawnPiAgentWithModelFallback, killPiTree } from "./spawn.ts";
|
|
39
|
+
import { redactSecrets } from "../lib/fleet-transcript-store.ts";
|
|
39
40
|
import { DEFAULT_PROVIDER_LIMITS, createProviderSemaphore, parseProviderLimits } from "./provider-semaphore.js";
|
|
40
41
|
import {
|
|
41
42
|
delegateBudgetRefusal,
|
|
@@ -157,9 +158,15 @@ export default function (pi: ExtensionAPI) {
|
|
|
157
158
|
for (const child of liveChildren) killPiTree(child, "SIGTERM");
|
|
158
159
|
});
|
|
159
160
|
|
|
161
|
+
const redactValue = (value: unknown): unknown => {
|
|
162
|
+
if (typeof value === "string") return redactSecrets(value);
|
|
163
|
+
if (Array.isArray(value)) return value.map(redactValue);
|
|
164
|
+
if (value && typeof value === "object") return Object.fromEntries(Object.entries(value).map(([key, nested]) => [key, redactValue(nested)]));
|
|
165
|
+
return value;
|
|
166
|
+
};
|
|
160
167
|
const emit = (event: Record<string, unknown>) => {
|
|
161
168
|
try {
|
|
162
|
-
appendFileSync(safePathWithin(config.eventDir, "events.jsonl"), JSON.stringify(event) + "\n", "utf-8");
|
|
169
|
+
appendFileSync(safePathWithin(config.eventDir, "events.jsonl"), JSON.stringify(redactValue(event)) + "\n", { encoding: "utf-8", mode: 0o600 });
|
|
163
170
|
} catch {}
|
|
164
171
|
};
|
|
165
172
|
|
|
@@ -356,9 +363,13 @@ export default function (pi: ExtensionAPI) {
|
|
|
356
363
|
},
|
|
357
364
|
onTextDelta: (delta) => queueDelta("text", delta),
|
|
358
365
|
onThinkingDelta: (delta) => queueDelta("thinking", delta),
|
|
359
|
-
onToolStart: (toolName, argStr) => {
|
|
366
|
+
onToolStart: (toolName, argStr, callId) => {
|
|
367
|
+
flushTimeline();
|
|
368
|
+
emit({ t: "tool_start", id: childId, name: toolName, args: argStr, callId, ts: Date.now() });
|
|
369
|
+
},
|
|
370
|
+
onToolEnd: (toolName, callId, isError, resultText, durationMs) => {
|
|
360
371
|
flushTimeline();
|
|
361
|
-
emit({ t: "
|
|
372
|
+
emit({ t: "tool_result", id: childId, name: toolName, output: resultText ?? "", callId, isError: isError === true, durationMs, ts: Date.now() });
|
|
362
373
|
},
|
|
363
374
|
onUsage: (usage, source) => {
|
|
364
375
|
if (source === "message_end") {
|
|
@@ -18,11 +18,18 @@ export function normalizeWatchdogSetting(value) {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* Is the watchdog armed for one dispatch?
|
|
22
|
-
*
|
|
23
|
-
* >
|
|
21
|
+
* Is the watchdog armed for one dispatch?
|
|
22
|
+
* Operator (or omitted posture): dispatch param > per-agent /af-watchdog
|
|
23
|
+
* override ("on"/"off") > hub-wide setting ("on"/"auto" arm, "off" disarms).
|
|
24
|
+
* Orchestrator: hub `off` or per-agent `off` still disarms; otherwise armed.
|
|
25
|
+
* A specialist cannot pass `watchdog: false` to sneak around orchestrator.
|
|
24
26
|
*/
|
|
25
|
-
export function resolveWatchdogActive(dispatchParam, agentOverride, hubSetting) {
|
|
27
|
+
export function resolveWatchdogActive(dispatchParam, agentOverride, hubSetting, posture) {
|
|
28
|
+
if (posture === "orchestrator") {
|
|
29
|
+
if (normalizeWatchdogSetting(hubSetting) === "off") return false;
|
|
30
|
+
if (agentOverride === "off") return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
26
33
|
if (dispatchParam === true) return true;
|
|
27
34
|
if (dispatchParam === false) return false;
|
|
28
35
|
if (agentOverride === "on") return true;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { orchestratorNeedsRoster } from "./helpers.ts";
|
|
2
|
+
import { parsePosture, POSTURES, type Posture } from "./posture.ts";
|
|
3
|
+
|
|
4
|
+
export type WorkModeParse =
|
|
5
|
+
| { ok: true; action: "picker" }
|
|
6
|
+
| { ok: true; action: "apply"; posture: Posture; deprecatedFrom?: string }
|
|
7
|
+
| { ok: false; error: string };
|
|
8
|
+
|
|
9
|
+
function titleCase(value: string): string {
|
|
10
|
+
const trimmed = String(value ?? "").trim();
|
|
11
|
+
if (!trimmed) return "";
|
|
12
|
+
return trimmed.charAt(0).toUpperCase() + trimmed.slice(1).toLowerCase();
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function formatPickerOption(selected: boolean, label: string, description: string): string {
|
|
16
|
+
return `${selected ? "✓ " : " "}${label} — ${description}`;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const DEPRECATED_WORK_MODE: Record<string, Posture> = {
|
|
20
|
+
fast: "operator",
|
|
21
|
+
standard: "orchestrator",
|
|
22
|
+
strict: "orchestrator",
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export function compactPosture(posture: string): string {
|
|
26
|
+
return titleCase(posture) || "Posture";
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export function parseWorkModeArgs(args: string | undefined | null): WorkModeParse {
|
|
30
|
+
const tokens = String(args ?? "").trim().split(/\s+/).filter(Boolean);
|
|
31
|
+
if (tokens.length === 0) return { ok: true, action: "picker" };
|
|
32
|
+
if (tokens.length === 1) {
|
|
33
|
+
const token = tokens[0].toLowerCase();
|
|
34
|
+
const posture = parsePosture(token);
|
|
35
|
+
if (posture) return { ok: true, action: "apply", posture };
|
|
36
|
+
const mapped = DEPRECATED_WORK_MODE[token];
|
|
37
|
+
if (mapped) return { ok: true, action: "apply", posture: mapped, deprecatedFrom: token };
|
|
38
|
+
return {
|
|
39
|
+
ok: false,
|
|
40
|
+
error: `Unknown work mode "${tokens[0]}" — expected operator or orchestrator.`,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
ok: false,
|
|
45
|
+
error: `Unknown work mode "${tokens.join(" ")}" — expected operator or orchestrator.`,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function posturePickerOptions(current: Posture): { title: string; options: string[]; postures: Posture[] } {
|
|
50
|
+
const postures = [...POSTURES];
|
|
51
|
+
const options = postures.map(posture => formatPickerOption(
|
|
52
|
+
posture === current,
|
|
53
|
+
posture,
|
|
54
|
+
posture === "operator" ? "Direct tools enabled" : "Delegate-only; requires a native roster",
|
|
55
|
+
));
|
|
56
|
+
return { title: `Fleet posture — Alt+M · current ${current}`, options, postures };
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function executionPairBlockedByRoster(current: Posture, next: Posture, rosterSize: number): boolean {
|
|
60
|
+
if (next === current) return false;
|
|
61
|
+
return orchestratorNeedsRoster(next, rosterSize);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function selectedPickerValue<T>(options: readonly string[], choice: string | undefined, values: readonly T[]): T | undefined {
|
|
65
|
+
if (choice === undefined) return undefined;
|
|
66
|
+
const index = options.indexOf(choice);
|
|
67
|
+
if (index < 0) return undefined;
|
|
68
|
+
return values[index];
|
|
69
|
+
}
|
|
@@ -15,8 +15,9 @@ export function composeHubFooterLeft(
|
|
|
15
15
|
.join(" · ");
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export function composeFleetFooterHint(viewMode: "compact" | "off"): string {
|
|
19
|
-
|
|
18
|
+
export function composeFleetFooterHint(viewMode: "compact" | "off", executionPair?: string): string {
|
|
19
|
+
const work = executionPair ? ` · Alt+M ${executionPair}` : "";
|
|
20
|
+
return `Alt+A fleet${work} · Alt+Shift+A widget:${viewMode}`;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
export function renderHubFooterLeft(
|
|
@@ -23,20 +23,6 @@ export function buildHubAuditIdentity(input = {}) {
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export function buildHubModeAudit(input = {}) {
|
|
27
|
-
return {
|
|
28
|
-
schema_version: 1,
|
|
29
|
-
previous_mode: text(input.previousMode, 32),
|
|
30
|
-
mode: text(input.mode, 32),
|
|
31
|
-
source: text(input.source, 64),
|
|
32
|
-
override_file: text(input.overrideFile),
|
|
33
|
-
task_tier: text(input.taskTier, 32),
|
|
34
|
-
turn_dispatches: count(input.turnDispatches),
|
|
35
|
-
turn_research: count(input.turnResearch),
|
|
36
|
-
identity: buildHubAuditIdentity(input.identity),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
|
|
40
26
|
export function buildTaskResetAudit(input = {}) {
|
|
41
27
|
const prior = input.prior ?? {};
|
|
42
28
|
return {
|