@chankov/agent-fleet 2.2.3 → 2.2.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/agents/model-profiles.yaml +3 -3
- package/.pi/agents/peers.yaml +2 -2
- package/.pi/agents/voices.yaml +2 -2
- package/.pi/harnesses/agent-hub/README.md +8 -1
- package/.pi/harnesses/agent-hub/access-approval.ts +20 -8
- package/.pi/harnesses/agent-hub/damage-guard-state.ts +5 -2
- package/.pi/harnesses/agent-hub/execution-trace.ts +1 -1
- package/.pi/harnesses/agent-hub/index.ts +26 -4
- package/.pi/harnesses/agent-hub/no-progress.ts +34 -2
- package/.pi/harnesses/agent-hub/package.json +1 -1
- package/.pi/harnesses/agent-hub/permission-relay.ts +15 -6
- package/.pi/harnesses/agent-hub/process-obligations.ts +20 -0
- package/.pi/harnesses/agent-hub/spawn.ts +4 -0
- package/.pi/harnesses/agent-hub/task-continuation.ts +19 -2
- package/.pi/harnesses/agent-hub/task-triage-authorization.ts +22 -5
- package/.pi/harnesses/agent-hub/tools/action-executors.ts +9 -3
- package/.pi/harnesses/agent-hub/tools/dispatch-execution.ts +11 -6
- package/.pi/harnesses/coms/package.json +1 -1
- package/.pi/harnesses/damage-control-continue/README.md +15 -3
- package/.pi/harnesses/damage-control-continue/index.ts +100 -62
- package/.pi/harnesses/damage-control-continue/package.json +1 -1
- package/.pi/harnesses/lib/bash-policy-analysis.ts +30 -18
- package/.pi/harnesses/lib/damage-control-shared.ts +6 -3
- package/.pi/harnesses/lib/exact-permission-port.ts +10 -3
- package/.versions/2.2.4/.pi/agent-fleet/hermes/README.md +347 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-herdr/plugin.js +1291 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-herdr/presentation.js +672 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-monitor/plugin.js +19 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/desktop-plugins/agent-fleet-monitor/state.js +10 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/gates/gate-o-capability.md +8 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/gates/gate-o-validator-fixtures.json +1 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/activity.py +773 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/coms_registry.py +134 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/coms_send.py +350 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/herdr_source.py +193 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/manifest.json +4 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/plugin_api.py +444 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/sessions.py +205 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/tasks.py +300 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/dashboard/watch.py +819 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/plugins/agent-fleet-herdr/plugin.yaml +8 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/plugins/agent-fleet-monitor/dashboard/adapter.py +139 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/plugins/agent-fleet-monitor/dashboard/manifest.json +11 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/plugins/agent-fleet-monitor/dashboard/plugin_api.py +50 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/skills/hub-conductor/SKILL.md +84 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/skills/hub-liaison/SKILL.md +84 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/skills/hub-watchdog/SKILL.md +76 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/skills/hub-watchdog/manifest.json +1 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog.py +249 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_actions.py +124 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_contract.py +76 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_delivery.py +10 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_engine.py +128 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_judgment.py +41 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_recovery.py +103 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_state.py +163 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/skills/hub-watchdog/scripts/watchdog_transport.py +138 -0
- package/.versions/2.2.4/.pi/agent-fleet/hermes/watchdog-tests/__init__.py +0 -0
- package/.versions/2.2.4/.pi/agent-fleet/hooks/coms-stop-hook.mjs +124 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/claude-code-preflight.ts +70 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/coms-claude-bridge.ts +440 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/coms-cli.ts +430 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/coms-hermes-bridge.ts +416 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/exec-at-target.ts +10 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/0.167-shared.json +1900 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/README.md +223 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/assessment.md +83 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/bootstrap-profile-0.167.json +5627 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/bootstrap-profile.md +43 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/bootstrap.md +45 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/capture-profile.ts +53 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/capture.ts +102 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/catalog.md +91 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/channel.md +21 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/measurement.md +133 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/measurements.json +74 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/notification-profile-0.167.json +2679 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/observer.md +101 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/opaque-response.md +57 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/open-sent.md +68 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/probe-reader.md +51 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/profile.md +71 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/projection.md +147 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/reconnect.md +40 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/response-unions.md +74 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/semver.md +124 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/surface.md +73 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/fleet-codex-allowlist-store-child.ts +31 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/response-fixture.ts +23 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fleet-codex-local-mcp.mjs +26 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fleet-codex-local-mcp.ts +63 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/fleet.ts +244 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/flow.ts +166 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/hermes-monitor-capability-runner.ts +25 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/hermes-monitor-scenario.ts +474 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/hermes-watchdog-capability-probe.ts +45 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/install-hermes-plugin.sh +180 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/claude-bridge-core.ts +208 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/codex-bootstrap-files.ts +46 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/codex-bootstrap-probe.ts +52 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/codex-bootstrap-producer.ts +131 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/codex-connection-history.ts +51 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/codex-daemon-observer.ts +137 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/codex-desktop-discovery.ts +84 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/codex-desktop-preflight.ts +130 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/codex-desktop-queue-host.ts +113 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/codex-measurement.ts +218 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/codex-native-presence.ts +61 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/codex-probe-transcript.ts +135 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/codex-send-lineage.ts +72 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/codex-unix-queue-rpc.ts +101 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/coms-envelope.ts +582 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fake-herdr-server.ts +88 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-allowlist-store.ts +453 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-allowlist.ts +175 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-answer-transport.ts +73 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-answers.ts +74 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-bootstrap.ts +207 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-connections.ts +76 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-event-reply.ts +58 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-event-runtime.ts +132 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-instruction-store.ts +428 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-instruction-transport.ts +160 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-instructions.ts +175 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-local-mcp.ts +435 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-native-history.ts +215 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-observation-store.ts +208 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-observe-transport.ts +49 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-observe.ts +93 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-overview.ts +52 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-permission-transport.ts +44 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-permissions.ts +83 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-readonly.ts +213 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-relay-latency.ts +45 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-response-read.ts +26 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-response-transport.ts +38 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-codex-resync.ts +212 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/fleet-command.ts +264 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/flow-command.ts +107 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/flow-maintenance.ts +239 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/herdr-layout.ts +281 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/hermes-bridge-core.ts +241 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/hermes-monitor-events.ts +1 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/hermes-monitor-herdr.ts +2 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/hermes-monitor-model.ts +3 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/hermes-monitor-registry.ts +2 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/hermes-monitor-socket.ts +2 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/hermes-monitor-store.ts +2 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/monitor-env.ts +146 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/peer-launch.ts +318 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/peer-target.ts +1 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/persona-banner.ts +62 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/persona-dirs.ts +25 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/resource-closure.js +1 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/runtime-dependencies.js +124 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/session-launch.ts +56 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/spawn-stagger.ts +101 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/team-project.ts +176 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/lib/team-snapshot.ts +160 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/package-lock.json +57 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/package.json +10 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/peer-banner.ts +41 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/peer-launch.ts +289 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/pi-session.ts +9 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/team-snapshot.ts +245 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/team-up.ts +378 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/agent-phase.ts +181 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/changes.ts +61 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/debate.ts +149 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/env.ts +36 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/envelopes.ts +169 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/gates.ts +81 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/git.ts +108 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/isolated-snapshot.ts +130 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/merge.ts +95 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/model-profile.ts +22 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/model-visibility.ts +92 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/permissions.ts +137 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/personas.ts +57 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/poll.ts +86 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/project-policy.ts +37 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/quality.ts +78 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/run.ts +109 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/scout-data-boundary.ts +55 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/trace.ts +52 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/voices.ts +128 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/writer-lease-race.worker.mjs +36 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/lib/writer-lease.ts +148 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/tsconfig.json +22 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/wf-build-test.ts +61 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/wf-debate.ts +87 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/wf-document.ts +50 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/wf-poll.ts +95 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/wf-quality.ts +20 -0
- package/.versions/2.2.4/.pi/agent-fleet/scripts/workflows/wf-scout.ts +40 -0
- package/.versions/2.2.4/.pi/agents/dispatch-policy.yaml +32 -0
- package/.versions/2.2.4/.pi/agents/model-profiles.yaml +132 -0
- package/.versions/2.2.4/.pi/agents/peers.yaml +147 -0
- package/.versions/2.2.4/.pi/agents/teams.yaml +41 -0
- package/.versions/2.2.4/.pi/agents/voices.yaml +13 -0
- package/.versions/2.2.4/.pi/damage-control-rules.yaml +297 -0
- package/.versions/2.2.4/.pi/extensions/btw/README.md +120 -0
- package/.versions/2.2.4/.pi/extensions/btw/index.ts +916 -0
- package/.versions/2.2.4/.pi/extensions/btw/package.json +6 -0
- package/.versions/2.2.4/.pi/extensions/btw/state.js +179 -0
- package/.versions/2.2.4/.pi/extensions/chrome-devtools-mcp/README.md +55 -0
- package/.versions/2.2.4/.pi/extensions/chrome-devtools-mcp/index.ts +93 -0
- package/.versions/2.2.4/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
- package/.versions/2.2.4/.pi/extensions/compact-and-continue/README.md +42 -0
- package/.versions/2.2.4/.pi/extensions/compact-and-continue/index.ts +136 -0
- package/.versions/2.2.4/.pi/extensions/compact-and-continue/package.json +6 -0
- package/.versions/2.2.4/.pi/extensions/mcp-bridge/README.md +46 -0
- package/.versions/2.2.4/.pi/extensions/mcp-bridge/index.ts +206 -0
- package/.versions/2.2.4/.pi/extensions/mcp-bridge/package.json +6 -0
- package/.versions/2.2.4/.pi/extensions/package-lock.json +1175 -0
- package/.versions/2.2.4/.pi/extensions/package.json +9 -0
- package/.versions/2.2.4/.pi/extensions/pi-voice-stt/README.md +224 -0
- package/.versions/2.2.4/.pi/extensions/pi-voice-stt/config.ts +199 -0
- package/.versions/2.2.4/.pi/extensions/pi-voice-stt/examples/stt.json +35 -0
- package/.versions/2.2.4/.pi/extensions/pi-voice-stt/index.ts +248 -0
- package/.versions/2.2.4/.pi/extensions/pi-voice-stt/package.json +6 -0
- package/.versions/2.2.4/.pi/extensions/pi-voice-stt/providers.ts +214 -0
- package/.versions/2.2.4/.pi/extensions/pi-voice-stt/recorder.ts +158 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/README.md +1664 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/acceptance.ts +204 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/access-approval.ts +278 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/action-authorization.ts +10 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/agentic-contract.ts +43 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/agentic-evidence.ts +64 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/agentic-hub.ts +55 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/agentic-runtime.ts +56 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/agentic-sources-worker.mjs +4 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/agentic-sources.ts +74 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/agentic-state.ts +23 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/approval-wait.ts +1 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/artifacts.js +146 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/assertion-ledger.js +68 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/assist-profile.ts +19 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/backend-policy.js +174 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/bounded-output.ts +26 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/budget-recovery.ts +151 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/capability-confirmation.ts +47 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/capability-packs.ts +187 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/codex-bootstrap.ts +117 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/agent-model-thinking.ts +10 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/agent-model.ts +10 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/agent-models-substitute.ts +10 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/agents-add.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/agents-drop.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/agents-history.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/agents-kill.ts +10 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/agents-list.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/agents-restart.ts +10 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/agents-save.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/agents-team.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/audit.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/compound.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/coms.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/config.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/context-command.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/context.ts +43 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/debate.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/dispatch-policy.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/handoff.ts +10 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/hub-report.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/models.ts +10 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/poll.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/recover.ts +81 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/retry.ts +10 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/task-triage-recover.ts +12 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/task-triage-waive.ts +12 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/watchdog.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/commands/zoom.ts +10 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/config/agents.ts +183 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/config/model-profiles.ts +240 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/config/overrides.ts +166 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context/agent-state.ts +30 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context/assertion-journal.ts +133 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context/assertions-artifacts.ts +234 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context/budgets.ts +152 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context/hub-state.ts +40 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context-budget-snapshot.ts +105 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context-compaction-monitor.ts +35 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context-compaction-preflight.ts +21 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context-compaction-runtime.ts +69 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context-compaction.ts +34 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context-continuity-broker.ts +44 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context-continuity-child.ts +83 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context-continuity-client.ts +22 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context-continuity-compat.ts +45 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context-continuity-owners.ts +17 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context-continuity-registry.ts +8 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context-continuity.ts +82 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context-pressure.ts +222 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/context-window.js +108 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/damage-guard-approval.ts +83 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/damage-guard-broker.ts +125 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/damage-guard-contract.ts +22 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/damage-guard-descendant.ts +76 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/damage-guard-hub.ts +263 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/damage-guard-identity.ts +12 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/damage-guard-owners.ts +59 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/damage-guard-state.ts +46 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/damage-guard-test-tsconfig.json +19 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/debate-command.ts +176 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/delegate.ts +478 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/deterministic-fs.ts +195 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/diagnostic-probe-extension.ts +26 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/diagnostic-series-budget.ts +178 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/dispatch-coms.ts +258 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/dispatch-core.ts +27 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/dispatch-native-complete.ts +176 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/dispatch-native-prepare.ts +318 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/dispatch-native-spawn.ts +264 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/dispatch-native-types.ts +297 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/dispatch-native.ts +242 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/dispatch-observability.ts +225 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/dispatch-triage-contract.ts +27 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/dispatch-triage-eval.ts +77 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/dispatch-triage-policy.ts +29 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/dispatch-triage-runtime.ts +55 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/dispatch-triage-state.ts +33 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/docs-lane.js +123 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/drift-judge.ts +352 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/drift-runtime.ts +480 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/drift-system1-policy.ts +39 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/drift-system1.ts +469 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/drift-watchdog.js +344 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/evidence-manifest.ts +51 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/evidence-rules.js +96 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/execution-evidence.ts +96 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/execution-trace.ts +241 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/external-blocker.js +92 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/adapters.ts +88 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/broker-client.ts +62 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/broker.ts +128 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/child-extension.ts +42 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/descendant.ts +67 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/discovery-worker.mjs +15 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/discovery.ts +126 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/evaluate.ts +57 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/hub.ts +170 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/native-context.ts +8 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/native-fixture.test-support.ts +108 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/owners.ts +100 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/results.ts +55 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/runtime.ts +130 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/semantic-profiles.ts +18 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/sources.ts +69 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/file-discovery/state.ts +22 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/filesystem-tool.ts +166 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/fixtures/registration-surface.json +69 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/fixtures/t0a-synthetic/catalog.ts +189 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/footer.ts +29 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/helpers.ts +269 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/history-projection.ts +116 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/hub-state-audit.js +41 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/index.ts +2827 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/input/completions.ts +82 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/input/shortcuts.ts +16 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/lifecycle/context-pressure.ts +231 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/lifecycle/monitor-session.ts +104 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/lifecycle/session-orchestration.ts +143 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/lifecycle/turn-handlers.ts +90 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/monitor-control.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/monitor-invoke-journal.ts +131 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/monitor-invoke.ts +92 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/monitor-lifecycle.ts +13 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/monitor-publisher.ts +59 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/monitor-recovery.ts +3 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/monitor-runtime.ts +3 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/monitor-session-bridge.ts +266 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/no-progress.ts +773 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/operator-current-state.ts +102 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/operator-watchdog.ts +97 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/orchestration-activation.ts +109 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/orchestration-metrics.ts +78 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/orchestration-route.ts +68 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/package.json +7 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/peer-spawn-plan.ts +116 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/permission-channel.ts +87 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/permission-relay.ts +93 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/policy/models.ts +153 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/policy/profile-activation.ts +62 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/policy/profile-runtime.ts +120 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/policy/roster.ts +103 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/policy/work-mode.ts +104 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/poll-command.ts +184 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/presentation.ts +54 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/private-config-current-state.ts +81 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/private-config-fixtures.ts +26 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/private-config-review.ts +100 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/proactive-config.ts +22 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/proactive-evaluate.ts +138 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/proactive-external-git.ts +82 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/proactive-external.ts +142 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/proactive-feedback.ts +104 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/proactive-findings.ts +115 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/proactive-local.ts +89 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/proactive-observer.ts +106 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/proactive-rules.ts +171 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/proactive-runtime.ts +318 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/proactive-selection.ts +68 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/proactive-snapshot-worker.mjs +12 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/proactive-snapshot.ts +287 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/proactive-types.ts +70 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/process-obligations.ts +230 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/prompts/context.ts +72 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/prompts/fragments.ts +94 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/prompts/session-start.ts +89 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/prompts/system-prompt.ts +142 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/provider-semaphore.js +143 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/reconcile.ts +26 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/recover-policy.ts +44 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/recover-state.ts +144 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/recovery-continuation.ts +134 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/recovery-contract.ts +151 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/rerun-policy.ts +40 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/research/controls.ts +74 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/research/runtime.ts +215 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/research/spawn-run.ts +221 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/research-watchdog.ts +40 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/return-contract.js +371 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/return-extract.js +77 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/review-closure.ts +43 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/review-continuity.ts +76 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/review-findings.js +96 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/review-reuse.ts +48 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/review-verdict.ts +6 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/routing-observation.ts +41 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/routing-proposal.ts +46 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/run-budget.js +362 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/run-namespace.js +93 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/runtime-receipts.ts +63 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/runtime-test-check.ts +85 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/safety-routing.ts +28 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/scope-gate.js +271 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/scope-overlap.ts +46 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/session-audit.ts +331 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/session-health.js +110 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/session-start.ts +42 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/spawn.ts +706 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/specialist-result-receipt.ts +13 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/specialist-result.ts +78 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/system1-activity.ts +625 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/system1-communication-store.ts +225 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/system1-report.ts +275 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/system1-runtime.ts +271 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/task-brief.ts +98 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/task-continuation.ts +21 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/task-resume-contract.ts +80 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/task-triage-authorization.ts +187 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/task-triage-config.ts +21 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/task-triage-contract.ts +14 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/task-triage-live-stage-boundary.mjs +49 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/task-triage-obligations.ts +120 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/task-triage-policy.ts +16 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/task-triage-review-contract.mjs +43 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/task-triage-reviewer-only-contract.mjs +156 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/task-triage-reviewer-only-diagnostics.mjs +112 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/task-triage-runtime.ts +132 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/task-triage-stage-guard.ts +21 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/task-triage-state.ts +46 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/timeline.ts +72 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tool-catalog-runtime.ts +83 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tool-catalog-state.ts +125 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tool-protocol.ts +134 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/action-executors.ts +243 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/ask-system1-files.ts +15 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/ask-system1.ts +25 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/coms-tools.ts +139 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/context.ts +151 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/dispatch-agent.ts +93 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/dispatch-execution.ts +976 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/dispatch-triage.ts +16 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/execution-orchestration.ts +23 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/fleet-tools.ts +201 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/herdr-executors.ts +100 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/poll-panel-core.ts +30 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/poll-panel.ts +33 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/recover-task.ts +16 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/run-flow.ts +177 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/set-task-tier.ts +31 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/spawn-research.ts +67 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/team-adjust.ts +29 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tools/verification-contract.ts +81 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/tsconfig.json +22 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/types.ts +66 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/ui/activity-dots.ts +25 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/ui/context-budget.ts +89 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/ui/detail-panel.ts +192 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/ui/fleet-actions.ts +78 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/ui/fleet-dashboard.ts +173 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/ui/fleet-editor.ts +44 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/ui/fleet-source.ts +179 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/ui/grid.ts +159 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/ui/history-store.ts +137 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/ui/history.ts +234 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/ui/pool.ts +103 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/ui/running-strip.ts +2 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/ui/system1-communication.ts +59 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/ui/zoom.ts +206 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/unknown-tool-counter.ts +116 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/verification-diagnostics.ts +23 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/version.ts +42 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/watchdog-evaluation.ts +110 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/work-mode.ts +185 -0
- package/.versions/2.2.4/.pi/harnesses/agent-hub/write-isolation.ts +232 -0
- package/.versions/2.2.4/.pi/harnesses/ask-user-remote/README.md +59 -0
- package/.versions/2.2.4/.pi/harnesses/ask-user-remote/index.ts +571 -0
- package/.versions/2.2.4/.pi/harnesses/ask-user-remote/questions.ts +206 -0
- package/.versions/2.2.4/.pi/harnesses/ask-user-remote/race-core.js +124 -0
- package/.versions/2.2.4/.pi/harnesses/ask-user-remote/runtime-ask.ts +90 -0
- package/.versions/2.2.4/.pi/harnesses/coms/README.md +105 -0
- package/.versions/2.2.4/.pi/harnesses/coms/index.ts +308 -0
- package/.versions/2.2.4/.pi/harnesses/coms/package.json +7 -0
- package/.versions/2.2.4/.pi/harnesses/coms/version.ts +42 -0
- package/.versions/2.2.4/.pi/harnesses/damage-control-continue/README.md +173 -0
- package/.versions/2.2.4/.pi/harnesses/damage-control-continue/index.ts +699 -0
- package/.versions/2.2.4/.pi/harnesses/damage-control-continue/package.json +7 -0
- package/.versions/2.2.4/.pi/harnesses/damage-control-continue/result-screen.ts +98 -0
- package/.versions/2.2.4/.pi/harnesses/damage-control-continue/system1-child.ts +45 -0
- package/.versions/2.2.4/.pi/harnesses/damage-control-continue/system1-client.ts +85 -0
- package/.versions/2.2.4/.pi/harnesses/damage-control-continue/system1-guard.ts +65 -0
- package/.versions/2.2.4/.pi/harnesses/damage-control-continue/version.ts +42 -0
- package/.versions/2.2.4/.pi/harnesses/lib/approval-wait.ts +17 -0
- package/.versions/2.2.4/.pi/harnesses/lib/bash-policy-analysis.ts +205 -0
- package/.versions/2.2.4/.pi/harnesses/lib/changed-file-diagnostics.ts +642 -0
- package/.versions/2.2.4/.pi/harnesses/lib/clarification-policy.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/lib/codex-compat.ts +97 -0
- package/.versions/2.2.4/.pi/harnesses/lib/codex-contract.ts +259 -0
- package/.versions/2.2.4/.pi/harnesses/lib/codex-notification-profile.ts +75 -0
- package/.versions/2.2.4/.pi/harnesses/lib/coms-core-io.ts +422 -0
- package/.versions/2.2.4/.pi/harnesses/lib/coms-core.ts +738 -0
- package/.versions/2.2.4/.pi/harnesses/lib/coms-instruction-receipts.ts +113 -0
- package/.versions/2.2.4/.pi/harnesses/lib/coms-observation.ts +74 -0
- package/.versions/2.2.4/.pi/harnesses/lib/coms-registry-entry.ts +99 -0
- package/.versions/2.2.4/.pi/harnesses/lib/coms-response-read.ts +107 -0
- package/.versions/2.2.4/.pi/harnesses/lib/context-budget-child-prompt.ts +214 -0
- package/.versions/2.2.4/.pi/harnesses/lib/context-budget-hub-prompt.ts +124 -0
- package/.versions/2.2.4/.pi/harnesses/lib/context-budget-view.ts +112 -0
- package/.versions/2.2.4/.pi/harnesses/lib/context-budget.ts +114 -0
- package/.versions/2.2.4/.pi/harnesses/lib/context-compaction-policy.js +35 -0
- package/.versions/2.2.4/.pi/harnesses/lib/damage-action-hash.ts +28 -0
- package/.versions/2.2.4/.pi/harnesses/lib/damage-auto-policy.ts +52 -0
- package/.versions/2.2.4/.pi/harnesses/lib/damage-control-presentation.ts +14 -0
- package/.versions/2.2.4/.pi/harnesses/lib/damage-control-shared.ts +279 -0
- package/.versions/2.2.4/.pi/harnesses/lib/damage-guard-port.ts +25 -0
- package/.versions/2.2.4/.pi/harnesses/lib/damage-policy.ts +35 -0
- package/.versions/2.2.4/.pi/harnesses/lib/damage-result-evidence.ts +25 -0
- package/.versions/2.2.4/.pi/harnesses/lib/damage-result-view.ts +16 -0
- package/.versions/2.2.4/.pi/harnesses/lib/deterministic-handle-path.ts +25 -0
- package/.versions/2.2.4/.pi/harnesses/lib/exact-permission-port.ts +47 -0
- package/.versions/2.2.4/.pi/harnesses/lib/execution-trace.ts +45 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fixtures/context-budget-profiles.json +11 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fixtures/hub-prompt-operator.legacy.txt +73 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fixtures/hub-prompt-orchestrator.legacy.txt +73 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-bootstrap-channel.ts +148 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-codex-catalog.ts +30 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-codex-chat-view.ts +55 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-codex-event-bridge.ts +82 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-codex-namespace.ts +2 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-codex-policy-snapshot.ts +10 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-config/cli-bridge.ts +111 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-config/mutations.ts +201 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-config/snapshot.ts +417 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-config/transition.ts +68 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-config/ui.ts +269 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-config/view.ts +338 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-connection-control.ts +94 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-connection-diagnostics.ts +7 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-dashboard-ops.ts +178 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-dashboard-view.ts +174 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-detail-view.ts +339 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-event-source.ts +21 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-notification-admission.ts +32 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-notification-bootstrap.ts +172 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-notification-validation.ts +122 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-overlay.ts +26 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-panel.ts +34 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-question-reference.ts +42 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-read-model.ts +609 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-selection.ts +24 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-strip-controller.ts +75 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-strip-view.ts +179 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-target-identity.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/lib/fleet-transcript-store.ts +244 -0
- package/.versions/2.2.4/.pi/harnesses/lib/herdr-client.ts +472 -0
- package/.versions/2.2.4/.pi/harnesses/lib/herdr-presence.ts +399 -0
- package/.versions/2.2.4/.pi/harnesses/lib/hermes-monitor-events.ts +136 -0
- package/.versions/2.2.4/.pi/harnesses/lib/hermes-monitor-herdr.ts +28 -0
- package/.versions/2.2.4/.pi/harnesses/lib/hermes-monitor-model.ts +18 -0
- package/.versions/2.2.4/.pi/harnesses/lib/hermes-monitor-registry.ts +6 -0
- package/.versions/2.2.4/.pi/harnesses/lib/hermes-monitor-socket.ts +163 -0
- package/.versions/2.2.4/.pi/harnesses/lib/hermes-monitor-store.ts +31 -0
- package/.versions/2.2.4/.pi/harnesses/lib/identical-dialog.ts +27 -0
- package/.versions/2.2.4/.pi/harnesses/lib/installation-state.js +62 -0
- package/.versions/2.2.4/.pi/harnesses/lib/peer-target.ts +24 -0
- package/.versions/2.2.4/.pi/harnesses/lib/policy-roots.js +117 -0
- package/.versions/2.2.4/.pi/harnesses/lib/policy-roots.ts +32 -0
- package/.versions/2.2.4/.pi/harnesses/lib/process-shared.ts +9 -0
- package/.versions/2.2.4/.pi/harnesses/lib/resource-closure.js +26 -0
- package/.versions/2.2.4/.pi/harnesses/lib/safe-source-read.js +29 -0
- package/.versions/2.2.4/.pi/harnesses/lib/semantic-approval.ts +80 -0
- package/.versions/2.2.4/.pi/harnesses/lib/session-target.ts +62 -0
- package/.versions/2.2.4/.pi/harnesses/lib/spawned-peers.js +191 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/config-agentic.js +15 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/config-context-compaction.js +16 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/config-damage-guard.js +24 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/config-file-discovery.js +23 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/config-json.js +37 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/config-loader.js +53 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/config-proactive.js +68 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/config-triage.js +42 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/config-v2.js +112 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/config.js +50 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/contracts.ts +154 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/demo.ts +95 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/jev.ts +503 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/payload-screen.ts +65 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/selection.js +11 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/service.ts +245 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/worktree-scopes.js +110 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/worktree-scopes.ts +13 -0
- package/.versions/2.2.4/.pi/harnesses/lib/system1/worktree-service.ts +24 -0
- package/.versions/2.2.4/.pi/harnesses/lib/target-capabilities.js +7 -0
- package/.versions/2.2.4/.pi/harnesses/lib/update-check.ts +227 -0
- package/.versions/2.2.4/.pi/harnesses/lib/workspace-context.js +115 -0
- package/.versions/2.2.4/.pi/harnesses/lib/workspace-context.ts +22 -0
- package/.versions/2.2.4/.pi/harnesses/package-lock.json +2121 -0
- package/.versions/2.2.4/.pi/harnesses/package.json +13 -0
- package/.versions/2.2.4/.pi/prompts/af-build.md +27 -0
- package/.versions/2.2.4/.pi/prompts/af-code-simplify.md +22 -0
- package/.versions/2.2.4/.pi/prompts/af-constraints.md +31 -0
- package/.versions/2.2.4/.pi/prompts/af-plan.md +17 -0
- package/.versions/2.2.4/.pi/prompts/af-review.md +16 -0
- package/.versions/2.2.4/.pi/prompts/af-set-hermes-telegram.md +15 -0
- package/.versions/2.2.4/.pi/prompts/af-set-hermes-watchdog.md +6 -0
- package/.versions/2.2.4/.pi/prompts/af-setup-rules.md +20 -0
- package/.versions/2.2.4/.pi/prompts/af-ship.md +17 -0
- package/.versions/2.2.4/.pi/prompts/af-spec.md +15 -0
- package/.versions/2.2.4/.pi/prompts/af-test.md +19 -0
- package/.versions/2.2.4/.pi/skills/bowser/SKILL.md +145 -0
- package/.versions/2.2.4/.version +1 -0
- package/.versions/2.2.4/agents/architect.md +24 -0
- package/.versions/2.2.4/agents/bowser.md +28 -0
- package/.versions/2.2.4/agents/builder.md +55 -0
- package/.versions/2.2.4/agents/code-reviewer.md +209 -0
- package/.versions/2.2.4/agents/deep-researcher.md +32 -0
- package/.versions/2.2.4/agents/documenter.md +22 -0
- package/.versions/2.2.4/agents/plan-reviewer.md +83 -0
- package/.versions/2.2.4/agents/planner.md +107 -0
- package/.versions/2.2.4/agents/releaser.md +24 -0
- package/.versions/2.2.4/agents/researcher.md +30 -0
- package/.versions/2.2.4/agents/security-auditor.md +167 -0
- package/.versions/2.2.4/agents/test-engineer.md +153 -0
- package/.versions/2.2.4/agents/web-debugger.md +44 -0
- package/.versions/2.2.4/agents/web-performance-auditor.md +194 -0
- package/.versions/2.2.4/bin/catalog/harness-runtime-closure.json +85 -0
- package/.versions/2.2.4/docs/ARCHITECTURE.md +1291 -0
- package/.versions/2.2.4/docs/agent-fleet-setup.md +1161 -0
- package/.versions/2.2.4/docs/claude-code-coms-bridge.md +147 -0
- package/.versions/2.2.4/docs/codex-local-mcp.md +528 -0
- package/.versions/2.2.4/docs/codex-session-bridge.md +44 -0
- package/.versions/2.2.4/docs/codex-setup.md +183 -0
- package/.versions/2.2.4/docs/coms-hermes-bridge.md +188 -0
- package/.versions/2.2.4/docs/fleet-native-voice.md +151 -0
- package/.versions/2.2.4/docs/getting-started.md +126 -0
- package/.versions/2.2.4/docs/npm-install.md +535 -0
- package/.versions/2.2.4/docs/pi-extensions.md +450 -0
- package/.versions/2.2.4/docs/pi-setup.md +92 -0
- package/.versions/2.2.4/docs/skill-anatomy.md +150 -0
- package/.versions/2.2.4/install-manifest.json +3227 -0
- package/.versions/2.2.4/justfile +246 -0
- package/.versions/2.2.4/manifest-meta.json +1099 -0
- package/.versions/2.2.4/references/accessibility-checklist.md +160 -0
- package/.versions/2.2.4/references/communication-contract.md +26 -0
- package/.versions/2.2.4/references/definition-of-done.md +67 -0
- package/.versions/2.2.4/references/fleet-coordination-patterns.md +171 -0
- package/.versions/2.2.4/references/observability-checklist.md +92 -0
- package/.versions/2.2.4/references/orchestration-patterns.md +370 -0
- package/.versions/2.2.4/references/performance-checklist.md +236 -0
- package/.versions/2.2.4/references/prompting-patterns.md +380 -0
- package/.versions/2.2.4/references/security-checklist.md +245 -0
- package/.versions/2.2.4/references/testing-patterns.md +235 -0
- package/.versions/2.2.4/references/workflow-authoring.md +304 -0
- package/.versions/2.2.4/skills/_internal/grilling.md +59 -0
- package/.versions/2.2.4/skills/browser-testing-with-devtools/SKILL.md +351 -0
- package/.versions/2.2.4/skills/code-review-and-quality/SKILL.md +396 -0
- package/.versions/2.2.4/skills/compound-learning/SKILL.md +137 -0
- package/.versions/2.2.4/skills/constraint-driven-development/SKILL.md +338 -0
- package/.versions/2.2.4/skills/constraint-driven-development/references/floor-guard.md +99 -0
- package/.versions/2.2.4/skills/context-engineering/SKILL.md +341 -0
- package/.versions/2.2.4/skills/deprecation-and-migration/SKILL.md +247 -0
- package/.versions/2.2.4/skills/designing-agents/SKILL.md +394 -0
- package/.versions/2.2.4/skills/designing-agents/pi-harness-authoring.md +222 -0
- package/.versions/2.2.4/skills/drafting-workflows/SKILL.md +143 -0
- package/.versions/2.2.4/skills/drafting-workflows/scripts/make-workflow.ts +177 -0
- package/.versions/2.2.4/skills/fleet-connect/SKILL.md +29 -0
- package/.versions/2.2.4/skills/fleet-connect.zip +0 -0
- package/.versions/2.2.4/skills/fleet-native-voice/SKILL.md +103 -0
- package/.versions/2.2.4/skills/fleet-native-voice/agents/openai.yaml +4 -0
- package/.versions/2.2.4/skills/fleet-native-voice.zip +0 -0
- package/.versions/2.2.4/skills/frontend-ui-engineering/SKILL.md +328 -0
- package/.versions/2.2.4/skills/git-workflow-and-versioning/SKILL.md +316 -0
- package/.versions/2.2.4/skills/idea-refine/SKILL.md +182 -0
- package/.versions/2.2.4/skills/idea-refine/examples.md +238 -0
- package/.versions/2.2.4/skills/idea-refine/frameworks.md +99 -0
- package/.versions/2.2.4/skills/idea-refine/refinement-criteria.md +113 -0
- package/.versions/2.2.4/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/.versions/2.2.4/skills/incremental-implementation/SKILL.md +353 -0
- package/.versions/2.2.4/skills/incremental-implementation.zip +0 -0
- package/.versions/2.2.4/skills/interview-me/SKILL.md +226 -0
- package/.versions/2.2.4/skills/orchestration-verification/SKILL.md +182 -0
- package/.versions/2.2.4/skills/peer-coms/SKILL.md +90 -0
- package/.versions/2.2.4/skills/performance-optimization/SKILL.md +496 -0
- package/.versions/2.2.4/skills/planning-and-task-breakdown/SKILL.md +318 -0
- package/.versions/2.2.4/skills/planning-and-task-breakdown.zip +0 -0
- package/.versions/2.2.4/skills/repository-ai-setup/SKILL.md +135 -0
- package/.versions/2.2.4/skills/repository-ai-setup/references/agent-fleet-ai-state.template.json +4 -0
- package/.versions/2.2.4/skills/repository-ai-setup/references/apply-contract.md +74 -0
- package/.versions/2.2.4/skills/repository-ai-setup/references/provenance-template.md +16 -0
- package/.versions/2.2.4/skills/repository-ai-setup/references/setup-flow.md +108 -0
- package/.versions/2.2.4/skills/repository-ai-setup/references/verify-setup.md +20 -0
- package/.versions/2.2.4/skills/repository-ai-setup.zip +0 -0
- package/.versions/2.2.4/skills/security-and-hardening/SKILL.md +524 -0
- package/.versions/2.2.4/skills/spec-driven-development/SKILL.md +295 -0
- package/.versions/2.2.4/skills/spec-driven-development.zip +0 -0
- package/.versions/2.2.4/skills/using-agent-skills/SKILL.md +198 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/LICENSE +21 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/README.md +430 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/api-and-interface-design/SKILL.md +367 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/browser-testing-with-devtools/SKILL.md +317 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/ci-cd-and-automation/SKILL.md +390 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/code-review-and-quality/SKILL.md +396 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/code-simplification/SKILL.md +331 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/constraint-driven-development/SKILL.md +311 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/constraint-driven-development/references/floor-guard.md +99 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/context-engineering/SKILL.md +337 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/debugging-and-error-recovery/SKILL.md +300 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/deprecation-and-migration/SKILL.md +247 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/documentation-and-adrs/SKILL.md +288 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/doubt-driven-development/SKILL.md +243 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/frontend-ui-engineering/SKILL.md +328 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/git-workflow-and-versioning/SKILL.md +355 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/idea-refine/SKILL.md +178 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/idea-refine/examples.md +238 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/idea-refine/frameworks.md +99 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/idea-refine/refinement-criteria.md +113 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/incremental-implementation/SKILL.md +249 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/interview-me/SKILL.md +225 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/observability-and-instrumentation/SKILL.md +238 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/performance-optimization/SKILL.md +496 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/planning-and-task-breakdown/SKILL.md +257 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/security-and-hardening/SKILL.md +524 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/shipping-and-launch/SKILL.md +330 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/source-driven-development/SKILL.md +216 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/spec-driven-development/SKILL.md +245 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/test-driven-development/SKILL.md +398 -0
- package/.versions/2.2.4/vendor/agent-skills-upstream/skills/using-agent-skills/SKILL.md +192 -0
- package/CHANGELOG.md +25 -0
- package/README.md +3 -3
- package/agents/architect.md +2 -2
- package/agents/bowser.md +1 -1
- package/agents/builder.md +2 -2
- package/agents/code-reviewer.md +2 -2
- package/agents/deep-researcher.md +1 -1
- package/agents/documenter.md +1 -1
- package/agents/plan-reviewer.md +2 -2
- package/agents/planner.md +5 -5
- package/agents/releaser.md +1 -1
- package/agents/researcher.md +1 -1
- package/agents/security-auditor.md +1 -1
- package/agents/test-engineer.md +2 -2
- package/agents/web-debugger.md +2 -2
- package/agents/web-performance-auditor.md +2 -2
- package/bin/force-patch-changesets.js +2 -3
- package/bin/snapshot-version.js +1 -1
- package/docs/agent-fleet-setup.md +3 -3
- package/docs/codex-local-mcp.md +13 -5
- package/install-manifest.json +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Kernel prerequisite — bounded primitive response anyOf (дял 8a)
|
|
2
|
+
|
|
3
|
+
След profile-only inventory потребителят изрично разреши **„Да — отделен малък kernel дял“**:
|
|
4
|
+
само bounded disjoint primitive response-anyOf support. Това не приема незавършения дял 8
|
|
5
|
+
и не разрешава opaque/presence schema или open sent request-field support. Няма runtime
|
|
6
|
+
admission, qualification, нови qualified fingerprints, минимални defaults или live операции.
|
|
7
|
+
|
|
8
|
+
## Договор и рутинни решения
|
|
9
|
+
|
|
10
|
+
`codex-contract.ts` допуска response `anyOf` с 1–5 branches, всяко с един primitive type.
|
|
11
|
+
Допустимите типове са string, integer, number, boolean, null. Всички branches трябва да са
|
|
12
|
+
в обработваните от caller-а типове; за разлика от request selection не избираме само удобен
|
|
13
|
+
branch. Duplicate types и integer/number overlap отказват, дори constraints да изглеждат
|
|
14
|
+
disjoint. Не решаваме enum/range disjointness и не разширяваме general JSON Schema support.
|
|
15
|
+
Object/array, nested anyOf, multi-type branches, literal/variant selectors и непознати used
|
|
16
|
+
assertions остават fail-closed. Existing local refs/singleton allOf/bounds продължават да важат.
|
|
17
|
+
|
|
18
|
+
Всички branch assertions се проектират със съществуващия primitive projector. Без assertions
|
|
19
|
+
union се нормализира към съществуващата flat type-set node форма (напр. string|null). Иначе
|
|
20
|
+
се пазят отделни `anyOf` branch nodes, deterministic sorted по bounded canonical JSON с
|
|
21
|
+
code-unit comparison, не locale. Не се factoring-ват ограничения между различни типове.
|
|
22
|
+
Format/domain остава `fleet-codex-projection/v1`: досега използван response-anyOf се отказваше,
|
|
23
|
+
а всички предишни успешни inputs/outputs запазват алгоритъма си. Няма промяна на comparator,
|
|
24
|
+
request-anyOf selection, version policy, authority или production profile.
|
|
25
|
+
|
|
26
|
+
Преди промяната operator VM върху съществуващия test preamble измери стария 10-root projection
|
|
27
|
+
hash `5e63613f5b517437753f6f73b286eb289d7de5896c67c895eabab4fcdc725472`.
|
|
28
|
+
Той е pinned regression assertion, **не qualified fingerprint**. Реалният captured
|
|
29
|
+
ClientRequest.RequestId от 0.167-shared fixture вече се проектира като response и запазва int64.
|
|
30
|
+
Original 0.167.1 JSONRPCResponse.id reproduction преди промяната отказа unsupported_anyof;
|
|
31
|
+
opaque result и open initialized.params остават отделни blocker-и за пълния profile.
|
|
32
|
+
|
|
33
|
+
## Проверки
|
|
34
|
+
|
|
35
|
+
6 нови теста; общо 19 projection теста. Старият nullable nextCursor anyOf refusal е преместен
|
|
36
|
+
в положителен same-projection тест за новия разрешен случай — не е премахнато покритието.
|
|
37
|
+
Проверени са branch order/ref/allOf/annotations, всички branch types, numeric overlap,
|
|
38
|
+
branch constraints, missing/unknown types, max count преди iteration, frozen/detached inputs,
|
|
39
|
+
и непроменен отказ за двата неразрешени prerequisites.
|
|
40
|
+
|
|
41
|
+
Първият run имаше 1 fixture failure: singleton-allOf wrapper премести definitions под wrapper,
|
|
42
|
+
въпреки че local refs остават document-root относителни. Definitions са оставени на root,
|
|
43
|
+
без отслабване на resolver-а. След поправката: 297/297 targeted в 11 файла, 906/906 fast
|
|
44
|
+
(47 bounded + 859 parallel, 109 файла), strict TypeScript за kernel/tests/assessment test,
|
|
45
|
+
manifest check 103 items, whitespace. Финалните measured-ID/before-iteration/numeric-overlap
|
|
46
|
+
assertions са включени в повторените зелени runs със същите 297/906 резултати. Original offline
|
|
47
|
+
JSONRPCResponse.id също вече се проектира с int64, а result:true продължава да отказва.
|
|
48
|
+
Parent adversarial проверка намери defensive sparse-array пропуск: map skip-ваше holes,
|
|
49
|
+
което при unconstrained union можеше да даде flat projection без branch validation. Pure
|
|
50
|
+
reproduction го потвърди. След max-count guard се ползва Array.from (max5); добавени са
|
|
51
|
+
sparse и mixed-sparse negative assertions. След тази поправка отново 297/297 targeted,
|
|
52
|
+
906/906 fast, strict TS, manifest103 и whitespace са зелени. Няма broad exception promise
|
|
53
|
+
за произволни getters/Proxies; supported input остава inert JSON.
|
|
54
|
+
|
|
55
|
+
Първи source-only review `hub-scout-d217ca01-b7f4-483b-b61d-aa1fd227c319` прочете целия kernel,
|
|
56
|
+
тест 55–275, този документ и relevant projection/surface бележки, без потвърден дефект.
|
|
57
|
+
Не е изпълнявал тестове. Review snapshot е преди Array.from/sparse-test промяната;
|
|
58
|
+
тези две source версии не се представят за свежо reviewed.
|
|
59
|
+
|
|
60
|
+
Фокусираният follow-up `hub-scout-760a825a-0165-49e2-9f2e-19e35df966b3` прочете final kernel
|
|
61
|
+
99–160, тестове 199–285, целия този evidence документ и projection.md15–40, без потвърден
|
|
62
|
+
дефект. Първият преглед покрива останалия непроменен kernel. Parent провери **шест** current/
|
|
63
|
+
snapshot SHA256 съвпадения: kernel, тест, този документ, projection/surface docs и captured
|
|
64
|
+
0.167-shared.json. Source/test mismatch спрямо първия snapshot е потвърден и не е скрит.
|
|
65
|
+
Reviewers не са изпълнявали независимо тестове/commands; 297/906 е реалният parent run,
|
|
66
|
+
не независимо потвърждение или live evidence. Финалният review/results appendix е parent-only
|
|
67
|
+
metadata update. Потребителят прие дял 8a с **„Одобрявам — продължи“** и разреши само отделен
|
|
68
|
+
дял 8b: explicit response opaque/presence result:true support със запазена requiredness и
|
|
69
|
+
отказ на unsupported constraints. Няма разрешение за open sent properties, general schema
|
|
70
|
+
support, full profile/admission или live операции; следващият user gate остава задължителен.
|
|
71
|
+
|
|
72
|
+
Рискът е в разширения supported-schema договор. Kernel-ът е offline и няма production caller/
|
|
73
|
+
qualified profile, но не бива да се третира като доказателство за Desktop identity, capability,
|
|
74
|
+
доставка, permissions или readiness. Дял 8/profile остава отложен до другите предпоставки.
|
package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/semver.md
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# Codex compatibility — независим semver дял (Фаза 1.1)
|
|
2
|
+
|
|
3
|
+
Това е само чистата version-prefilter логика от Фаза 1.1. Отворените измервания от
|
|
4
|
+
[Фаза 0](README.md#остава-във-фаза-0) остават незавършени. Този дял не зависи от отговора
|
|
5
|
+
на Desktop consumer/wake въпросите и **не** обявява Фаза 0 или цялата Фаза 1 за готова.
|
|
6
|
+
Работи се на `main`, без staging/commit според вече приетото решение.
|
|
7
|
+
|
|
8
|
+
## Обхват, риск и решения
|
|
9
|
+
|
|
10
|
+
- Нов shared pure модул: `.pi/harnesses/lib/codex-compat.ts`. Няма imports, I/O, clock,
|
|
11
|
+
environment, мрежа, socket discovery, daemon start, config write, UI или runtime wiring.
|
|
12
|
+
- Нисък текущ риск: новата логика се използва само от тестове. Има бъдещ admission риск
|
|
13
|
+
при интеграцията, затова не се допуска `eligible` да означава `compatible`/`verified`.
|
|
14
|
+
- Няма default minimum или готов production denylist. Policy се подава **изрично** от
|
|
15
|
+
бъдещия caller като инертни JSON данни `{minimum, denylist}`. Версии в тестовете са
|
|
16
|
+
fixtures, не нови pins.
|
|
17
|
+
- Използва се SemVer 2.0 precedence с ASCII prerelease identifiers. Не се преизползва
|
|
18
|
+
Pi-specific comparator-ът от `context-continuity-compat.ts`: той умишлено допуска само
|
|
19
|
+
plain numeric Pi releases и няма нужната prerelease семантика. Няма нов npm dependency.
|
|
20
|
+
- Numeric core/prerelease identifiers се сравняват по дължина и ASCII, не чрез `Number`,
|
|
21
|
+
за да няма загуба на precision над `Number.MAX_SAFE_INTEGER`.
|
|
22
|
+
- Build metadata се валидира, но не влияе на precedence. Denylist използва същото SemVer
|
|
23
|
+
равенство: добавяне/смяна на `+build` не заобикаля забранена версия. Prerelease е значим.
|
|
24
|
+
- Входът е ограничен до 256 ASCII символа на версия и 128 denylist entries. Невалидна или
|
|
25
|
+
прекомерна policy/entry отказва целия prefilter; няма trim/coercion/banner/UA extraction,
|
|
26
|
+
ranges, wildcards, implied defaults или скрит upper-major ceiling. Ограниченията са
|
|
27
|
+
локална обратима защита за бъдещи config входове, не нова product support гаранция.
|
|
28
|
+
- Тестът е добавен в `bin/test/run-fast.js`, за да се изпълнява от `npm test` и release CI.
|
|
29
|
+
Shared lib е част от съществуващия copy-tree companion; не е нужен нов manifest item.
|
|
30
|
+
|
|
31
|
+
## Вътрешен договор
|
|
32
|
+
|
|
33
|
+
`compareCodexVersions(left, right)` връща `-1 | 0 | 1 | undefined`; последното означава
|
|
34
|
+
невалиден вход, **не** равенство. Приема само реални SemVer version полета, не CLI output,
|
|
35
|
+
`v` prefix или initialize UA. Caller-ът ще трябва отделно да измери/извлече версиите.
|
|
36
|
+
|
|
37
|
+
`assessCodexVersion(observed, policy)` връща `{eligible, reason}`:
|
|
38
|
+
|
|
39
|
+
| reason | eligible | Значение |
|
|
40
|
+
| --- | --- | --- |
|
|
41
|
+
| `invalid_policy` | false | Липсващ/невалиден minimum/denylist, излишни JSON policy keys или невалидна entry |
|
|
42
|
+
| `invalid_version` | false | Observed версията не е валиден ограничен SemVer |
|
|
43
|
+
| `denied_version` | false | Съвпада със забранена release/prerelease версия, без значение от build metadata |
|
|
44
|
+
| `below_minimum` | false | Валидна е, но е под изричния minimum |
|
|
45
|
+
| `meets_minimum` | true | Минала е **само version prefilter-а** |
|
|
46
|
+
|
|
47
|
+
Редът е: проверка на **цялата** policy → observed version → denylist → inclusive minimum.
|
|
48
|
+
Дори по-ранна matching deny entry не скрива по-късна невалидна entry. Policy/input не се
|
|
49
|
+
мутират. Version eligibility не установява daemon/Desktop identity, socket epoch, contract
|
|
50
|
+
projection, loaded consumer, catalog, mapping, grant, lease, probe или човешко потвърждение.
|
|
51
|
+
|
|
52
|
+
Договорът е за инертни JSON данни (например от `JSON.parse`), не за произволни JavaScript
|
|
53
|
+
обекти. Getters/Proxy traps могат да хвърлят; модулът **не** обещава `never throws` за тях.
|
|
54
|
+
Symbol/non-enumerable свойства и странични свойства по масив не са част от JSON договора
|
|
55
|
+
и не се валидират като общ JavaScript object модел. Бъдещият caller трябва да подава JSON
|
|
56
|
+
данни или да третира неочаквано изключение като блокер, **никога** като разрешение/fallback.
|
|
57
|
+
|
|
58
|
+
`matchesDesktopQueueTuple`, `notificationPreview` и реалният delivery path са непроменени.
|
|
59
|
+
Новите `0.167.x` схеми/версии не получават admission само защото semver prefilter-ът е готов.
|
|
60
|
+
Не е активирано известие и не е извършена live queue/thread проба.
|
|
61
|
+
|
|
62
|
+
## Acceptance и проверки
|
|
63
|
+
|
|
64
|
+
11 нови теста проверяват:
|
|
65
|
+
- canonical SemVer prerelease реда за всички двойки; Codex alpha numeric компоненти;
|
|
66
|
+
- core/prerelease числа над safe integer precision; ASCII и prefix наредба;
|
|
67
|
+
- inclusive minimum, prerelease floor, бъдещи major версии без имплицитна support гаранция;
|
|
68
|
+
- denylist и невъзможност за build-metadata bypass;
|
|
69
|
+
- invalid version/policy, sparse denylist, липсващи/излишни keys, граници на размерите;
|
|
70
|
+
- неизменяемост, frozen inputs и детерминизъм.
|
|
71
|
+
|
|
72
|
+
Първо тестът е пуснат без имплементацията и отказва с `ERR_MODULE_NOT_FOUND` (очакван red).
|
|
73
|
+
След имплементацията петте целеви файла минават **92/92**, включително старите contract,
|
|
74
|
+
exact-tuple, catalog и desktop-queue регресии:
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
node --experimental-strip-types --test \
|
|
78
|
+
.pi/harnesses/lib/codex-compat.test.ts \
|
|
79
|
+
.pi/agent-fleet/scripts/fleet-codex-notification-contract.test.ts \
|
|
80
|
+
.pi/agent-fleet/scripts/fleet-codex-event-compatibility.test.ts \
|
|
81
|
+
.pi/agent-fleet/scripts/fleet-codex-catalog-readiness.test.ts \
|
|
82
|
+
.pi/agent-fleet/scripts/fleet-codex-desktop-queue.test.ts
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Strict TypeScript `--noEmit` за модула **и** теста минава. `npm run check:manifest` минава
|
|
86
|
+
с непроменени 103 items. `npm test` минава **808/808** (47 bounded-integration + 761 parallel
|
|
87
|
+
теста, без fail/skip). Двата fast-lane етапа се броят заедно, не само последният summary.
|
|
88
|
+
Coms Code Reviewer независимо потвърди 92/92 целеви теста, двата fast-lane етапа (808 общо),
|
|
89
|
+
strict TypeScript и manifest check. Няма блокиращи находки. Реакция на двете бележки:
|
|
90
|
+
- Премахнати са неверният коментар за JS `$` и излишната full-match проверка. Проверено е
|
|
91
|
+
с Node: без `m` regex-ът вече изисква край на входа; newline regression тестът остава.
|
|
92
|
+
- Уточнен е JSON input договорът и липсата на blanket exception-catching за exotic JS
|
|
93
|
+
обекти. Това е ограничение за бъдещата интеграция, не нов runtime fallback.
|
|
94
|
+
|
|
95
|
+
Докладът `01M7570XFDDCA5FCBQX8NKZ8GE` е възстановен от reviewer pane-а при диагностика на
|
|
96
|
+
изтеклия Coms reply budget. След поправките отново минават 92/92 целеви и 808/808 fast теста,
|
|
97
|
+
strict TypeScript, manifest и whitespace/newline проверките.
|
|
98
|
+
|
|
99
|
+
Старото допълнително focused ревю `01M757H7240QACQ77SAF1GRHB0` остана без доклад след
|
|
100
|
+
два await периода; не се брои за проведено. Потребителят поиска нов опит, вместо затваряне
|
|
101
|
+
само с първото ревю. Актуалният human-scoped Coms pool вече предостави `code-reviewer2`.
|
|
102
|
+
|
|
103
|
+
**Новото независимо ревю `01M759R973XQ4B75S2DX24PW3A` е проведено: няма блокиращи находки.**
|
|
104
|
+
Докладът е възстановен от pane `wA:p82` при диагностика на изтеклия reply bridge budget.
|
|
105
|
+
Reviewer-ът прочете текущия код след поправките и независимо изпълни:
|
|
106
|
+
- 11/11 semver теста; strict TypeScript за модула и теста;
|
|
107
|
+
- 20 000 сравнителни случайни двойки спрямо наличния `semver@7.8.5`: без разминавания
|
|
108
|
+
в избрания малък numeric/prerelease/build домейн (не е доказателство за всички входове);
|
|
109
|
+
- допълнителни JSON policy/denylist/size проби, manifest и whitespace check.
|
|
110
|
+
Този reviewer не е пускал целия 92/808 набор; той е повторен от оператора след поправките.
|
|
111
|
+
Единствената LOW бележка е била остарелият pending текст тук — с този запис е адресирана.
|
|
112
|
+
Няма останали блокиращи findings. Потребителят изрично прие дяла с „Одобрявам — продължи
|
|
113
|
+
със следващия дял“. Няма staging/commit. Следващият одобрен обхват е
|
|
114
|
+
[offline projection/fingerprint](projection.md).
|
|
115
|
+
|
|
116
|
+
## Следващ обхват
|
|
117
|
+
|
|
118
|
+
Извън semver дяла са projection/fingerprint, daemon schema measurement, нов approval формат,
|
|
119
|
+
`assessQueueCompatibility`, catalog subset промяна, bootstrap, TUI и live activation.
|
|
120
|
+
Projection kernel-ът вече е отделният одобрен [дял 3](projection.md); останалите части
|
|
121
|
+
изискват собствените си fixtures/мутации и оставащите проверки от плана. При бъдещото
|
|
122
|
+
runtime свързване `eligible: true` е необходимо само за новата compatibility пътека,
|
|
123
|
+
**никога достатъчно**. Старият exact-tuple път трябва да запази обратната съвместимост.
|
|
124
|
+
Changeset-ът остава за планираната интегрирана functionality, не за този unused internal дял.
|
package/.versions/2.2.4/.pi/agent-fleet/scripts/fixtures/codex-notification-contracts/surface.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Offline used-surface inventory — дял 8, незавършен
|
|
2
|
+
|
|
3
|
+
Дял 7 е приет. Разрешението за дял 8 е само offline used-surface profile и reference/
|
|
4
|
+
мутационни fixtures: без нови qualified fingerprints, runtime admission или live операции.
|
|
5
|
+
Настоящият inventory не е работещ пълен profile, qualification или завършена Фаза 1.
|
|
6
|
+
|
|
7
|
+
## Проверени consumers и данни
|
|
8
|
+
|
|
9
|
+
- `scripts/lib/codex-unix-queue-rpc.ts`: initialize request със string UUID id, clientInfo
|
|
10
|
+
name/title/version, experimentalApi=true; response id/error/result/userAgent; следва
|
|
11
|
+
`initialized` с `params:{}`; method response id/error/own result. Не изпраща approval replies.
|
|
12
|
+
- `scripts/lib/codex-daemon-observer.ts`: отделен initialize-only request (experimentalApi=false),
|
|
13
|
+
проверява object frame, own method/error, id, result object и userAgent. Не изпраща initialized.
|
|
14
|
+
Ignore-ва notification/server-request frames; epoch/UA граматиката са отделни local guards.
|
|
15
|
+
- `scripts/lib/codex-desktop-queue-host.ts`:
|
|
16
|
+
- `thread/read`: threadId/includeTurns=false; чете thread.id и thread.status.type=notLoaded.
|
|
17
|
+
- `thread/queue/add`: threadId/clientUserMessageId/input с един text/text_elements=[];
|
|
18
|
+
чете queuedSubmission.id/clientUserMessageId/input.length/input[0].type/text.
|
|
19
|
+
- `thread/queue/list`: threadId/limit=100/cursor; чете data[], clientUserMessageId, nextCursor,
|
|
20
|
+
matching input.length/input[0].text и id. Queue observation не е model-delivery ACK.
|
|
21
|
+
- `thread/loaded/list` е в RPC whitelist, но няма production caller в проверените scripts/lib
|
|
22
|
+
и harnesses/lib; не се добавят fictitious consumed fields само заради allowlist.
|
|
23
|
+
- readState/canAcceptDirectInput не се четат от тези consumers. ServerNotification payloads
|
|
24
|
+
също не се четат; frame/payload/message-count budgets и filtering остават local guards.
|
|
25
|
+
Това трябва да се преоцени при бъдеща probe/bootstrap wiring, не да се декларира вече готово.
|
|
26
|
+
|
|
27
|
+
Оригиналните exports за 0.167.0 и 0.167.1 съществуват в
|
|
28
|
+
`/tmp/fleet-codex-contract-wLLGaX/`. Четени са само вече налични JSON файлове — без binary,
|
|
29
|
+
socket, queue или live probe. JSONRPC envelope/ClientNotification sources още не са добавени
|
|
30
|
+
към fixed six-root exporter; бъдещото му wiring/разширяване не е разрешено от този дял.
|
|
31
|
+
Наличните Linux CLI exports не доказват actual Desktop executable/consumer identity.
|
|
32
|
+
|
|
33
|
+
## Възпроизведени kernel предпоставки
|
|
34
|
+
|
|
35
|
+
Пълният profile не може честно да пропусне използваните envelope полета. Pure `projectSchema`
|
|
36
|
+
върху непроменения 0.167.1 export възпроизведе:
|
|
37
|
+
|
|
38
|
+
| Реален wire случай | Възпроизведен отказ преди дял 8a |
|
|
39
|
+
|---|---|
|
|
40
|
+
| JSONRPCResponse.id → RequestId anyOf(string, integer/int64) | unsupported_anyof:envelope.id |
|
|
41
|
+
| JSONRPCResponse.result е JSON Schema `true`; presence/payload са нужни отделно | object_required:envelope.result |
|
|
42
|
+
| initialized изпраща params={}, недекларирано property, разрешено от open schema | used_field_missing:envelope.params |
|
|
43
|
+
|
|
44
|
+
Не е допустимо да заобиколим това чрез непълен „пълен profile“, подмяна на raw schemas,
|
|
45
|
+
response-as-request selection или мълчаливо разрешаване на general anyOf. Особено важно:
|
|
46
|
+
ако игнорираме изпращаното initialized.params, бъдеща optional typed params декларация може
|
|
47
|
+
да промени приемането на нашия пакет, без projection да забележи.
|
|
48
|
+
|
|
49
|
+
## Material scope gate и разрешен prerequisite
|
|
50
|
+
|
|
51
|
+
Profile дял 8 е отложен преди implementation. Промяна в kernel договора е извън първоначалния
|
|
52
|
+
profile-only обхват; потребителят отговори **„Да — отделен малък kernel дял“** на отделния
|
|
53
|
+
scope въпрос. Разрешен е само дял 8a: bounded disjoint primitive response-anyOf support,
|
|
54
|
+
с непроменени съществуващи projections/hashes, fail-closed general/object compositions,
|
|
55
|
+
собствени тестове/review/user gate. Това не приема profile дял 8 и не разрешава останалите
|
|
56
|
+
opaque/presence или open sent request-field предпоставки. Няма runtime admission,
|
|
57
|
+
minimum defaults, нови qualified fingerprints, qualification или live операции.
|
|
58
|
+
[Дял 8a implementation/evidence](response-unions.md) е приет. Отделно е разрешен
|
|
59
|
+
[дял 8b](opaque-response.md), само required opaque response property със schema true.
|
|
60
|
+
303/912 проверки са зелени; source-only review няма потвърден дефект, дял 8b е приет.
|
|
61
|
+
След status/checkpoint/manual compaction gate потребителят написа „продължи“ за отделния
|
|
62
|
+
[8c](open-sent.md). Минималният open sent empty-object template сега проектира original
|
|
63
|
+
initialized.params и в двата offline exports; 309/918 са зелени, source-only review няма
|
|
64
|
+
потвърден дефект (без независимо изпълнени тестове). Дял 8c е приет; потребителят изрично
|
|
65
|
+
отмени междинните phase gates и поиска вътрешни reviews/корекции. Profile е в работа,
|
|
66
|
+
без нови live permissions или fabricated qualification.
|
|
67
|
+
Full profile, qualification, runtime admission и live операции не са разрешени от този дял.
|
|
68
|
+
|
|
69
|
+
След whole-plan указанието [current profile](profile.md) покри12roots/8files от двете реални
|
|
70
|
+
offline CLI exports, no qualification. Known text_elements:[] не избира непращани items.
|
|
71
|
+
Legacy RPC null/binary/method/error guards са поправени и tested с owned fake endpoints;
|
|
72
|
+
reconcile type:text guard съгласува selected variant. Schema projection пак не е runtime
|
|
73
|
+
value validator. [Bootstrap core](bootstrap.md) е mocked coordinator, още не production driver.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Temp-directory/fake-target subprocess fixture. No Fleet configuration or transport.
|
|
2
|
+
import { createInterface } from 'node:readline';
|
|
3
|
+
import { AllowedSessionsStore, StoreError, type WriteStage } from '../lib/fleet-codex-allowlist-store.ts';
|
|
4
|
+
const [root, mode, alias = 'child', phase] = process.argv.slice(2);
|
|
5
|
+
const context = { hostProfile: 'fake-host', principal: 'fake-user', threadId: 'fake-A' };
|
|
6
|
+
const target = { project: 'fake-project', peer: 'fake-peer', sessionId: 'fake-session-1', startedAt: '2000-01-01T00:00:00Z' };
|
|
7
|
+
const input = createInterface({ input: process.stdin });
|
|
8
|
+
const lines = input[Symbol.asyncIterator]();
|
|
9
|
+
const emit = (message: object) => process.stdout.write(JSON.stringify(message)+'\n');
|
|
10
|
+
const wait = async () => { if ((await lines.next()).done) throw new Error('closed test barrier'); };
|
|
11
|
+
let paused = false;
|
|
12
|
+
const store = new AllowedSessionsStore(root, context, { checkpoint: async (stage: WriteStage) => {
|
|
13
|
+
if (!paused && (mode === 'hold' && stage === 'locked' || mode === 'interrupt' && stage === phase)) {
|
|
14
|
+
paused = true; emit({ stage }); await wait();
|
|
15
|
+
}
|
|
16
|
+
} });
|
|
17
|
+
try {
|
|
18
|
+
if (mode === 'hold') await store.open();
|
|
19
|
+
else {
|
|
20
|
+
await store.open();
|
|
21
|
+
const h = mode === 'stale' || mode === 'roundtrip' ? await store.resolve('shop', [target]) : undefined;
|
|
22
|
+
emit({ ready: true }); await wait();
|
|
23
|
+
if (mode === 'stale') await store.grantSend(h!, [target]);
|
|
24
|
+
else if (mode === 'roundtrip') {
|
|
25
|
+
const decision = await store.authorize(h!, 'send', [target]);
|
|
26
|
+
emit({ ok: true, decision });
|
|
27
|
+
} else await store.enroll({ alias, target: { ...target, peer: alias } }, [{ ...target, peer: alias }]);
|
|
28
|
+
}
|
|
29
|
+
if (mode !== 'roundtrip') emit({ ok: true });
|
|
30
|
+
} catch (e) { emit({ ok: false, code: e instanceof StoreError ? e.code : 'FIXTURE_ERROR' }); }
|
|
31
|
+
finally { input.close(); }
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {mkdtemp,mkdir,rm} from 'node:fs/promises';
|
|
2
|
+
import {tmpdir} from 'node:os';
|
|
3
|
+
import {join} from 'node:path';
|
|
4
|
+
import {createServer,type Socket} from 'node:net';
|
|
5
|
+
import {LocalCodexMcp,type LocalMcpOptions} from '../lib/fleet-codex-local-mcp.ts';
|
|
6
|
+
import {SessionResponseReader,responseReference} from '../../../harnesses/lib/coms-response-read.ts';
|
|
7
|
+
export const responseOwner={project:'fixture',peer:'orchestrator',sessionId:'response-fixture',startedAt:'2026-11-11T00:00:00.000Z'};
|
|
8
|
+
export const responseThread='11111111-1111-4111-8111-111111111111',responseWire='a'.repeat(64);
|
|
9
|
+
export async function makeResponseFixture(t:{after:(fn:()=>Promise<void>)=>void},text='б🙂'.repeat(1200)+'END_MARK',extra:Partial<LocalMcpOptions>={}){
|
|
10
|
+
const root=await mkdtemp(join(tmpdir(),'afr-')),registryRoot=join(root,'registry'),policyRoot=join(root,'policy');await mkdir(join(registryRoot,'sockets'),{recursive:true});
|
|
11
|
+
const entries=new Map<string,any>();let leaf='source';entries.set(leaf,{id:leaf,type:'message',message:{role:'assistant',stopReason:'stop',content:[{type:'text',text}]}});
|
|
12
|
+
const manager={getLeafId:()=>leaf,getEntry:(id:string)=>entries.get(id)},append=(customType:string,data:unknown)=>{leaf='meta-'+entries.size;entries.set(leaf,{id:leaf,type:'custom',customType,data:structuredClone(data)});};
|
|
13
|
+
const reader=new SessionResponseReader();reader.capture(responseOwner,responseWire,'source',manager,append);const reference=responseReference(responseOwner,responseWire),sockets=new Set<Socket>();let reads=0;
|
|
14
|
+
let intercept:((s:Socket,e:any)=>boolean|Promise<boolean>)|undefined;
|
|
15
|
+
const server=createServer(s=>{sockets.add(s);s.on('error',()=>{});s.on('close',()=>sockets.delete(s));let b='';s.on('data',d=>{b+=d;const end=b.indexOf('\n');if(end<0)return;const e=JSON.parse(b.slice(0,end));reads++;void Promise.resolve(intercept?.(s,e)).then(handled=>{if(!handled){reader.handle(s,e,()=>responseOwner,manager);s.end();}}).catch(()=>s.destroy());});});
|
|
16
|
+
await new Promise<void>(r=>server.listen(join(registryRoot,'sockets',responseOwner.sessionId+'.sock'),r));
|
|
17
|
+
t.after(async()=>{for(const s of sockets)s.destroy();await new Promise<void>(r=>server.close(()=>r()));await rm(root,{recursive:true,force:true});});
|
|
18
|
+
let target={...responseOwner};const options:LocalMcpOptions={registryRoot,policyRoot,hostProfile:'fixture',principal:'fixture',now:()=>Date.parse(responseOwner.startedAt),registryReader:async()=>({status:'complete',partial:false,reasons:[],observedAt:responseOwner.startedAt,entriesSeen:1,candidates:[{target:{...target},presence:'fresh',heartbeatAt:responseOwner.startedAt}]}),...extra};
|
|
19
|
+
let service=new LocalCodexMcp(options);const meta={threadId:responseThread,sessionId:'fixture-host'},selectors={project:responseOwner.project,peer:responseOwner.peer};
|
|
20
|
+
const call=(name:string,args:unknown,metadata:unknown=meta,signal?:AbortSignal)=>service.call(name,args,metadata,signal);
|
|
21
|
+
const p=await call('fleet_binding_prepare',{intent:'enroll_read',...selectors});await call('fleet_binding_commit',{proposalId:p.proposalId});
|
|
22
|
+
return {root,registryRoot,policyRoot,entries,manager,reader,reference,text,options,meta,selectors,call,service:()=>service,restart:()=>{service=new LocalCodexMcp(options);},changeTarget:()=>target={...responseOwner,sessionId:'replacement'},intercept:(fn:typeof intercept)=>intercept=fn,reads:()=>reads,args:{...selectors,reference}};
|
|
23
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Fixed native STDIO bootstrap. Node's automatic TS stripping rejects node_modules;
|
|
3
|
+
// strip only this distribution's trusted .pi sources, never user-selected code.
|
|
4
|
+
import {registerHooks, stripTypeScriptTypes} from 'node:module';
|
|
5
|
+
import {readFileSync} from 'node:fs';
|
|
6
|
+
import {fileURLToPath} from 'node:url';
|
|
7
|
+
import {resolve, sep} from 'node:path';
|
|
8
|
+
|
|
9
|
+
try {
|
|
10
|
+
const sourceRoot=resolve(fileURLToPath(new URL('../../',import.meta.url)))+sep;
|
|
11
|
+
registerHooks({
|
|
12
|
+
load(url,context,nextLoad){
|
|
13
|
+
if(url.startsWith('file:')){
|
|
14
|
+
const filename=fileURLToPath(url);
|
|
15
|
+
if(filename.startsWith(sourceRoot)&&filename.endsWith('.ts')){
|
|
16
|
+
return {format:'module',source:stripTypeScriptTypes(readFileSync(filename,'utf8'),{mode:'strip',sourceUrl:url}),shortCircuit:true};
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return nextLoad(url,context);
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
await import('./fleet-codex-local-mcp.ts');
|
|
23
|
+
} catch {
|
|
24
|
+
process.stderr.write('LOCAL_MCP_START_FAILED\n');
|
|
25
|
+
process.exitCode=1;
|
|
26
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Fixed launcher options only. Never reads env identity or discovers policy roots.
|
|
3
|
+
import { LocalCodexMcp, McpProtocol, parseLauncher } from './lib/fleet-codex-local-mcp.ts';
|
|
4
|
+
async function main() {
|
|
5
|
+
let protocol: McpProtocol;
|
|
6
|
+
try { protocol = new McpProtocol(new LocalCodexMcp(parseLauncher(process.argv.slice(2)))); }
|
|
7
|
+
catch { process.stderr.write('LOCAL_MCP_START_FAILED\n'); process.exitCode = 64; return; }
|
|
8
|
+
process.stdout.on('error',() => {});
|
|
9
|
+
const tasks = new Set<Promise<void>>();
|
|
10
|
+
async function output(response: unknown) {
|
|
11
|
+
if (response === undefined) return;
|
|
12
|
+
let line = JSON.stringify(response)+'\n';
|
|
13
|
+
if (Buffer.byteLength(line)>262144) line = JSON.stringify({ jsonrpc: '2.0', id: (response as { id?: unknown }).id ?? null,
|
|
14
|
+
error: { code: -32000, message: 'OUTPUT_LIMIT' } })+'\n';
|
|
15
|
+
await new Promise<void>((r,j) => process.stdout.write(line,e => e ? j(e) : r()));
|
|
16
|
+
}
|
|
17
|
+
const error = (message: string,code = -32700) => output({ jsonrpc: '2.0', id: null, error: { code,message } });
|
|
18
|
+
let buffered = Buffer.alloc(0), dropping = false, failed = false;
|
|
19
|
+
const schedule = async (line: Buffer) => {
|
|
20
|
+
if (!line.length) return;
|
|
21
|
+
let value: unknown;
|
|
22
|
+
try { value = JSON.parse(new TextDecoder('utf-8',{ fatal:true }).decode(line)); }
|
|
23
|
+
catch { await error('PARSE_ERROR'); return; }
|
|
24
|
+
const record = value && typeof value === 'object' && !Array.isArray(value) ? value as Record<string,unknown> : undefined;
|
|
25
|
+
// Control notifications, especially cancellation, must not wait behind eight slow calls.
|
|
26
|
+
if (record?.jsonrpc === '2.0' && typeof record.method === 'string' && !Object.hasOwn(record,'id')) {
|
|
27
|
+
await protocol.handle(record); return;
|
|
28
|
+
}
|
|
29
|
+
if (tasks.size>=8) {
|
|
30
|
+
const id = record?.id;
|
|
31
|
+
await output({ jsonrpc:'2.0', id: typeof id === 'string' && id.length<=128 || typeof id === 'number' && Number.isSafeInteger(id) ? id : null,
|
|
32
|
+
error: { code:-32000, message:'BUSY' } }); return;
|
|
33
|
+
}
|
|
34
|
+
let task: Promise<void>;
|
|
35
|
+
task = protocol.handle(value).then(output).catch(() => { failed = true; process.stdin.destroy(); }).finally(() => tasks.delete(task));
|
|
36
|
+
tasks.add(task);
|
|
37
|
+
};
|
|
38
|
+
try {
|
|
39
|
+
for await (const raw of process.stdin) {
|
|
40
|
+
if (failed) break;
|
|
41
|
+
const chunk = Buffer.isBuffer(raw) ? raw : Buffer.from(raw);
|
|
42
|
+
let offset = 0;
|
|
43
|
+
while (offset<chunk.length) {
|
|
44
|
+
const end = chunk.indexOf(10,offset), stop = end === -1 ? chunk.length : end;
|
|
45
|
+
if (!dropping) {
|
|
46
|
+
const part = chunk.subarray(offset,stop);
|
|
47
|
+
if (buffered.length+part.length>65536) { buffered = Buffer.alloc(0); dropping = true; await error('INPUT_LIMIT',-32600); }
|
|
48
|
+
else buffered = Buffer.concat([buffered,part]);
|
|
49
|
+
}
|
|
50
|
+
if (end !== -1) { if (!dropping) await schedule(buffered); buffered = Buffer.alloc(0); dropping = false; }
|
|
51
|
+
offset = end === -1 ? chunk.length : end+1;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
if (buffered.length && !dropping && !failed) await schedule(buffered);
|
|
55
|
+
// Native host EOF invalidates bootstrap presence/rights writes immediately;
|
|
56
|
+
// unrelated legacy requests retain their existing bounded drain behavior.
|
|
57
|
+
protocol.stopBootstrap();
|
|
58
|
+
await Promise.all(tasks);
|
|
59
|
+
if (failed) throw new Error('STDIO_FAILED');
|
|
60
|
+
} catch { process.stderr.write('LOCAL_MCP_IO_FAILED\n'); process.exitCode = 1; }
|
|
61
|
+
finally { protocol.close(); }
|
|
62
|
+
}
|
|
63
|
+
await main();
|