@openrig/cli 0.7.24 → 0.7.26
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/README.md +7 -7
- package/daemon/assets/claude-hook-bridge.cjs +151 -37
- package/daemon/assets/claude-hook-bridge.d.cts +9 -2
- package/daemon/assets/claude-permission-policies.cjs +22 -1
- package/daemon/assets/claude-permission-policies.d.cts +2 -0
- package/daemon/assets/claude-statusline-context.cjs +14 -0
- package/daemon/assets/claude-team-permissions.cjs +54 -6
- package/daemon/assets/guidance/openrig-context-entry.md +4 -5
- package/daemon/assets/guidance/openrig-start.md +3 -0
- package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +2 -2
- package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/README.md +33 -18
- package/daemon/assets/plugins/openrig/hooks/scripts/claude-hook-bridge.cjs +151 -37
- package/daemon/assets/plugins/openrig/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/scripts/run-rig.cjs +16 -13
- package/daemon/assets/plugins/openrig/skills/working-with-an-openrig-team/SKILL.md +32 -19
- package/daemon/assets/plugins/openrig-codex/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-codex/hooks/scripts/claude-hook-bridge.cjs +151 -37
- package/daemon/assets/plugins/openrig-codex/skills/working-with-an-openrig-team/SKILL.md +32 -19
- package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/hooks/scripts/permission-answer.cjs +3 -2
- package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +47 -14
- package/daemon/assets/plugins/openrig-core/skills/session-compaction-and-restore/SKILL.md +5 -2
- package/daemon/assets/skills/rigs/SKILL.md +99 -34
- package/daemon/assets/skills/rigs/references/installing-for-someone.md +1 -1
- package/daemon/context-packs/help/help.md +9 -0
- package/daemon/context-packs/help/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +179 -25
- package/daemon/context-packs/reference/getting-started.md +73 -11
- package/daemon/context-packs/reference/manifest.yaml +1 -1
- package/daemon/context-packs/reference/rig-spec.md +218 -23
- package/daemon/context-packs/reference/whats-new.md +190 -14
- package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
- package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
- package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
- package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/cross-host-rig-commands/SKILL.md +9 -1
- package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/working-with-an-openrig-team/SKILL.md +32 -19
- package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
- package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
- package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-user/SKILL.md +47 -14
- package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
- package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
- package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
- package/daemon/context-packs/skills/session-compaction-and-restore/SKILL.md +5 -2
- package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
- package/daemon/context-packs/world-example/manifest.yaml +1 -1
- package/daemon/context-packs/world-public/manifest.yaml +1 -1
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +25 -8
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts +2 -0
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +44 -8
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-resume.d.ts +3 -0
- package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-resume.js +7 -3
- package/daemon/dist/adapters/codex-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts +49 -4
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +238 -25
- package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts +12 -5
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.js +15 -5
- package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/kernel-authority.d.ts +2 -2
- package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
- package/daemon/dist/adapters/kernel-authority.js +5 -3
- package/daemon/dist/adapters/kernel-authority.js.map +1 -1
- package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner.js +9 -0
- package/daemon/dist/adapters/pi-runner.js.map +1 -1
- package/daemon/dist/adapters/pi-session-cwd.d.ts +26 -0
- package/daemon/dist/adapters/pi-session-cwd.d.ts.map +1 -0
- package/daemon/dist/adapters/pi-session-cwd.js +89 -0
- package/daemon/dist/adapters/pi-session-cwd.js.map +1 -0
- package/daemon/dist/adapters/shell-quote.d.ts +2 -0
- package/daemon/dist/adapters/shell-quote.d.ts.map +1 -1
- package/daemon/dist/adapters/shell-quote.js +43 -0
- package/daemon/dist/adapters/shell-quote.js.map +1 -1
- package/daemon/dist/adapters/tmux-credential-env.d.ts +15 -2
- package/daemon/dist/adapters/tmux-credential-env.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-credential-env.js +82 -2
- package/daemon/dist/adapters/tmux-credential-env.js.map +1 -1
- package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-exec.js +2 -6
- package/daemon/dist/adapters/tmux-exec.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts +31 -1
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +104 -8
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/attention-surface.d.ts +5 -0
- package/daemon/dist/attention-surface.d.ts.map +1 -1
- package/daemon/dist/attention-surface.js.map +1 -1
- package/daemon/dist/bind-plan-surface.d.ts +3 -0
- package/daemon/dist/bind-plan-surface.d.ts.map +1 -0
- package/daemon/dist/bind-plan-surface.js +5 -0
- package/daemon/dist/bind-plan-surface.js.map +1 -0
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/db/all-migrations.d.ts +4 -1
- package/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/daemon/dist/db/all-migrations.js +30 -393
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/187_provider_account_refs.d.ts +8 -0
- package/daemon/dist/db/migrations/187_provider_account_refs.d.ts.map +1 -0
- package/daemon/dist/db/migrations/187_provider_account_refs.js +25 -0
- package/daemon/dist/db/migrations/187_provider_account_refs.js.map +1 -0
- package/daemon/dist/db/migrations/188_provider_account_assignments.d.ts +14 -0
- package/daemon/dist/db/migrations/188_provider_account_assignments.d.ts.map +1 -0
- package/daemon/dist/db/migrations/188_provider_account_assignments.js +45 -0
- package/daemon/dist/db/migrations/188_provider_account_assignments.js.map +1 -0
- package/daemon/dist/db/migrations/191_queue_transfer_activation.d.ts +3 -0
- package/daemon/dist/db/migrations/191_queue_transfer_activation.d.ts.map +1 -0
- package/daemon/dist/db/migrations/191_queue_transfer_activation.js +49 -0
- package/daemon/dist/db/migrations/191_queue_transfer_activation.js.map +1 -0
- package/daemon/dist/db/migrations/191_seat_reap_state.d.ts +3 -0
- package/daemon/dist/db/migrations/191_seat_reap_state.d.ts.map +1 -0
- package/daemon/dist/db/migrations/191_seat_reap_state.js +19 -0
- package/daemon/dist/db/migrations/191_seat_reap_state.js.map +1 -0
- package/daemon/dist/db/migrations/197_session_agent_activity_hooks.d.ts +3 -0
- package/daemon/dist/db/migrations/197_session_agent_activity_hooks.d.ts.map +1 -0
- package/daemon/dist/db/migrations/197_session_agent_activity_hooks.js +9 -0
- package/daemon/dist/db/migrations/197_session_agent_activity_hooks.js.map +1 -0
- package/daemon/dist/db/migrations/200_context_configured_budget.d.ts +3 -0
- package/daemon/dist/db/migrations/200_context_configured_budget.d.ts.map +1 -0
- package/daemon/dist/db/migrations/200_context_configured_budget.js +5 -0
- package/daemon/dist/db/migrations/200_context_configured_budget.js.map +1 -0
- package/daemon/dist/db/migrations/200_seat_cold_start_standby_stop.d.ts +3 -0
- package/daemon/dist/db/migrations/200_seat_cold_start_standby_stop.d.ts.map +1 -0
- package/daemon/dist/db/migrations/200_seat_cold_start_standby_stop.js +5 -0
- package/daemon/dist/db/migrations/200_seat_cold_start_standby_stop.js.map +1 -0
- package/daemon/dist/db/migrations/200_sessions_earlier_handover_origin.d.ts +11 -0
- package/daemon/dist/db/migrations/200_sessions_earlier_handover_origin.d.ts.map +1 -0
- package/daemon/dist/db/migrations/200_sessions_earlier_handover_origin.js +34 -0
- package/daemon/dist/db/migrations/200_sessions_earlier_handover_origin.js.map +1 -0
- package/daemon/dist/db/migrations/201_queue_transitions_archive_actor_index.d.ts +7 -0
- package/daemon/dist/db/migrations/201_queue_transitions_archive_actor_index.d.ts.map +1 -0
- package/daemon/dist/db/migrations/201_queue_transitions_archive_actor_index.js +12 -0
- package/daemon/dist/db/migrations/201_queue_transitions_archive_actor_index.js.map +1 -0
- package/daemon/dist/db/migrations/201_roster_event_index.d.ts +4 -0
- package/daemon/dist/db/migrations/201_roster_event_index.d.ts.map +1 -0
- package/daemon/dist/db/migrations/201_roster_event_index.js +9 -0
- package/daemon/dist/db/migrations/201_roster_event_index.js.map +1 -0
- package/daemon/dist/db/migrations/202_network_requester_questions.d.ts +4 -0
- package/daemon/dist/db/migrations/202_network_requester_questions.d.ts.map +1 -0
- package/daemon/dist/db/migrations/202_network_requester_questions.js +10 -0
- package/daemon/dist/db/migrations/202_network_requester_questions.js.map +1 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.d.ts +3 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.d.ts.map +1 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.js +22 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.js.map +1 -0
- package/daemon/dist/domain/activity-taxonomy.d.ts +16 -5
- package/daemon/dist/domain/activity-taxonomy.d.ts.map +1 -1
- package/daemon/dist/domain/activity-taxonomy.js +30 -5
- package/daemon/dist/domain/activity-taxonomy.js.map +1 -1
- package/daemon/dist/domain/agent-activity-store.d.ts +4 -0
- package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
- package/daemon/dist/domain/agent-activity-store.js +21 -0
- package/daemon/dist/domain/agent-activity-store.js.map +1 -1
- package/daemon/dist/domain/agent-images/agent-image-destination.d.ts +15 -0
- package/daemon/dist/domain/agent-images/agent-image-destination.d.ts.map +1 -0
- package/daemon/dist/domain/agent-images/agent-image-destination.js +79 -0
- package/daemon/dist/domain/agent-images/agent-image-destination.js.map +1 -0
- package/daemon/dist/domain/agent-images/agent-image-library-service.d.ts.map +1 -1
- package/daemon/dist/domain/agent-images/agent-image-library-service.js +9 -1
- package/daemon/dist/domain/agent-images/agent-image-library-service.js.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts +4 -3
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.js +55 -11
- package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
- package/daemon/dist/domain/bundle-content-routing.d.ts +7 -0
- package/daemon/dist/domain/bundle-content-routing.d.ts.map +1 -1
- package/daemon/dist/domain/bundle-content-routing.js +20 -15
- package/daemon/dist/domain/bundle-content-routing.js.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts +40 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +101 -11
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/claude-continuation-launch.d.ts +19 -2
- package/daemon/dist/domain/claude-continuation-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-continuation-launch.js +143 -3
- package/daemon/dist/domain/claude-continuation-launch.js.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.d.ts +22 -5
- package/daemon/dist/domain/claude-managed-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.js +41 -5
- package/daemon/dist/domain/claude-managed-launch.js.map +1 -1
- package/daemon/dist/domain/claude-permission-rules.d.ts +3 -1
- package/daemon/dist/domain/claude-permission-rules.d.ts.map +1 -1
- package/daemon/dist/domain/claude-permission-rules.js +8 -7
- package/daemon/dist/domain/claude-permission-rules.js.map +1 -1
- package/daemon/dist/domain/claude-seat-token.d.ts +25 -1
- package/daemon/dist/domain/claude-seat-token.d.ts.map +1 -1
- package/daemon/dist/domain/claude-seat-token.js +56 -9
- package/daemon/dist/domain/claude-seat-token.js.map +1 -1
- package/daemon/dist/domain/codex-auth.d.ts +34 -0
- package/daemon/dist/domain/codex-auth.d.ts.map +1 -1
- package/daemon/dist/domain/codex-auth.js +212 -0
- package/daemon/dist/domain/codex-auth.js.map +1 -1
- package/daemon/dist/domain/codex-member-permissions.d.ts +17 -0
- package/daemon/dist/domain/codex-member-permissions.d.ts.map +1 -1
- package/daemon/dist/domain/codex-member-permissions.js +80 -0
- package/daemon/dist/domain/codex-member-permissions.js.map +1 -1
- package/daemon/dist/domain/community-harness-launch-result.d.ts +9 -0
- package/daemon/dist/domain/community-harness-launch-result.d.ts.map +1 -1
- package/daemon/dist/domain/community-harness-launch-result.js +14 -2
- package/daemon/dist/domain/community-harness-launch-result.js.map +1 -1
- package/daemon/dist/domain/community-harness-presets.d.ts +15 -0
- package/daemon/dist/domain/community-harness-presets.d.ts.map +1 -1
- package/daemon/dist/domain/community-harness-presets.js +82 -48
- package/daemon/dist/domain/community-harness-presets.js.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.d.ts +33 -5
- package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.js +221 -48
- package/daemon/dist/domain/compaction-restore-notice.js.map +1 -1
- package/daemon/dist/domain/context-usage-store.d.ts +1 -0
- package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-usage-store.js +34 -3
- package/daemon/dist/domain/context-usage-store.js.map +1 -1
- package/daemon/dist/domain/crash-cart-detect.d.ts +7 -0
- package/daemon/dist/domain/crash-cart-detect.d.ts.map +1 -1
- package/daemon/dist/domain/crash-cart-detect.js +10 -5
- package/daemon/dist/domain/crash-cart-detect.js.map +1 -1
- package/daemon/dist/domain/crash-cart-discovery.d.ts +9 -16
- package/daemon/dist/domain/crash-cart-discovery.d.ts.map +1 -1
- package/daemon/dist/domain/crash-cart-discovery.js +22 -40
- package/daemon/dist/domain/crash-cart-discovery.js.map +1 -1
- package/daemon/dist/domain/crash-cart-emit.d.ts +1 -1
- package/daemon/dist/domain/crash-cart-emit.d.ts.map +1 -1
- package/daemon/dist/domain/crash-cart-emit.js +4 -0
- package/daemon/dist/domain/crash-cart-emit.js.map +1 -1
- package/daemon/dist/domain/current-park-arm.d.ts +2 -0
- package/daemon/dist/domain/current-park-arm.d.ts.map +1 -1
- package/daemon/dist/domain/current-park-arm.js +5 -0
- package/daemon/dist/domain/current-park-arm.js.map +1 -1
- package/daemon/dist/domain/current-work.d.ts +16 -4
- package/daemon/dist/domain/current-work.d.ts.map +1 -1
- package/daemon/dist/domain/current-work.js +3 -6
- package/daemon/dist/domain/current-work.js.map +1 -1
- package/daemon/dist/domain/cwd-resolution.d.ts +12 -1
- package/daemon/dist/domain/cwd-resolution.d.ts.map +1 -1
- package/daemon/dist/domain/cwd-resolution.js +39 -2
- package/daemon/dist/domain/cwd-resolution.js.map +1 -1
- package/daemon/dist/domain/draft-aware-delivery.d.ts +17 -2
- package/daemon/dist/domain/draft-aware-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/draft-aware-delivery.js +98 -9
- package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
- package/daemon/dist/domain/draft-held-reoffer.d.ts +61 -0
- package/daemon/dist/domain/draft-held-reoffer.d.ts.map +1 -0
- package/daemon/dist/domain/draft-held-reoffer.js +143 -0
- package/daemon/dist/domain/draft-held-reoffer.js.map +1 -0
- package/daemon/dist/domain/execution-view.d.ts +20 -0
- package/daemon/dist/domain/execution-view.d.ts.map +1 -1
- package/daemon/dist/domain/execution-view.js +50 -16
- package/daemon/dist/domain/execution-view.js.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.d.ts +10 -2
- package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.js +26 -3
- package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.js +5 -4
- package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
- package/daemon/dist/domain/generated-file-hygiene.d.ts.map +1 -1
- package/daemon/dist/domain/generated-file-hygiene.js +35 -2
- package/daemon/dist/domain/generated-file-hygiene.js.map +1 -1
- package/daemon/dist/domain/graph-projection.d.ts +7 -1
- package/daemon/dist/domain/graph-projection.d.ts.map +1 -1
- package/daemon/dist/domain/graph-projection.js +2 -0
- package/daemon/dist/domain/graph-projection.js.map +1 -1
- package/daemon/dist/domain/health-context-samples.d.ts +23 -0
- package/daemon/dist/domain/health-context-samples.d.ts.map +1 -0
- package/daemon/dist/domain/health-context-samples.js +113 -0
- package/daemon/dist/domain/health-context-samples.js.map +1 -0
- package/daemon/dist/domain/health-detectors.d.ts +3 -0
- package/daemon/dist/domain/health-detectors.d.ts.map +1 -1
- package/daemon/dist/domain/health-detectors.js +8 -7
- package/daemon/dist/domain/health-detectors.js.map +1 -1
- package/daemon/dist/domain/home-isolation.d.ts.map +1 -1
- package/daemon/dist/domain/home-isolation.js +21 -8
- package/daemon/dist/domain/home-isolation.js.map +1 -1
- package/daemon/dist/domain/hook-bridge.d.ts +7 -5
- package/daemon/dist/domain/hook-bridge.d.ts.map +1 -1
- package/daemon/dist/domain/hook-bridge.js +12 -11
- package/daemon/dist/domain/hook-bridge.js.map +1 -1
- package/daemon/dist/domain/kernel-boot-tracker.d.ts +7 -5
- package/daemon/dist/domain/kernel-boot-tracker.d.ts.map +1 -1
- package/daemon/dist/domain/kernel-boot-tracker.js +11 -6
- package/daemon/dist/domain/kernel-boot-tracker.js.map +1 -1
- package/daemon/dist/domain/kernel-boot.d.ts.map +1 -1
- package/daemon/dist/domain/kernel-boot.js +6 -2
- package/daemon/dist/domain/kernel-boot.js.map +1 -1
- package/daemon/dist/domain/kernel-hook-review.d.ts +10 -2
- package/daemon/dist/domain/kernel-hook-review.d.ts.map +1 -1
- package/daemon/dist/domain/kernel-hook-review.js +18 -4
- package/daemon/dist/domain/kernel-hook-review.js.map +1 -1
- package/daemon/dist/domain/managed-restore-read-access.d.ts +6 -2
- package/daemon/dist/domain/managed-restore-read-access.d.ts.map +1 -1
- package/daemon/dist/domain/managed-restore-read-access.js +35 -4
- package/daemon/dist/domain/managed-restore-read-access.js.map +1 -1
- package/daemon/dist/domain/mission-control/audit-browse.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/audit-browse.js +1 -0
- package/daemon/dist/domain/mission-control/audit-browse.js.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-action-log.d.ts +3 -1
- package/daemon/dist/domain/mission-control/mission-control-action-log.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-action-log.js +7 -0
- package/daemon/dist/domain/mission-control/mission-control-action-log.js.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts +3 -0
- package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js +56 -13
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.d.ts +8 -0
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.d.ts.map +1 -0
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.js +17 -0
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.js.map +1 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.d.ts +12 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.d.ts.map +1 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.js +19 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.js.map +1 -0
- package/daemon/dist/domain/native-process-arguments.d.ts +6 -3
- package/daemon/dist/domain/native-process-arguments.d.ts.map +1 -1
- package/daemon/dist/domain/native-process-arguments.js +56 -23
- package/daemon/dist/domain/native-process-arguments.js.map +1 -1
- package/daemon/dist/domain/native-resume-probe.d.ts +9 -0
- package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
- package/daemon/dist/domain/native-resume-probe.js +15 -1
- package/daemon/dist/domain/native-resume-probe.js.map +1 -1
- package/daemon/dist/domain/network/hub-client.d.ts +14 -4
- package/daemon/dist/domain/network/hub-client.d.ts.map +1 -1
- package/daemon/dist/domain/network/hub-client.js +26 -9
- package/daemon/dist/domain/network/hub-client.js.map +1 -1
- package/daemon/dist/domain/network/network-connector.d.ts +2 -0
- package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-connector.js +162 -16
- package/daemon/dist/domain/network/network-connector.js.map +1 -1
- package/daemon/dist/domain/network/network-requests.d.ts +4 -1
- package/daemon/dist/domain/network/network-requests.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-requests.js +141 -14
- package/daemon/dist/domain/network/network-requests.js.map +1 -1
- package/daemon/dist/domain/node-inventory.d.ts +47 -0
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +270 -158
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/node-launcher.d.ts +1 -0
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +13 -5
- package/daemon/dist/domain/node-launcher.js.map +1 -1
- package/daemon/dist/domain/outbox-handler.d.ts +66 -0
- package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
- package/daemon/dist/domain/outbox-handler.js +117 -8
- package/daemon/dist/domain/outbox-handler.js.map +1 -1
- package/daemon/dist/domain/pane-cutover.d.ts +6 -2
- package/daemon/dist/domain/pane-cutover.d.ts.map +1 -1
- package/daemon/dist/domain/pane-cutover.js +14 -4
- package/daemon/dist/domain/pane-cutover.js.map +1 -1
- package/daemon/dist/domain/parked-owner-escalation.d.ts +1 -0
- package/daemon/dist/domain/parked-owner-escalation.d.ts.map +1 -1
- package/daemon/dist/domain/parked-owner-escalation.js +3 -1
- package/daemon/dist/domain/parked-owner-escalation.js.map +1 -1
- package/daemon/dist/domain/parked-query.js +1 -1
- package/daemon/dist/domain/parked-query.js.map +1 -1
- package/daemon/dist/domain/permission-account.d.ts.map +1 -1
- package/daemon/dist/domain/permission-account.js +20 -1
- package/daemon/dist/domain/permission-account.js.map +1 -1
- package/daemon/dist/domain/policies/idle-gate-qitem.d.ts +1 -0
- package/daemon/dist/domain/policies/idle-gate-qitem.d.ts.map +1 -1
- package/daemon/dist/domain/policies/idle-gate-qitem.js +1 -0
- package/daemon/dist/domain/policies/idle-gate-qitem.js.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +21 -0
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js +185 -26
- package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
- package/daemon/dist/domain/policies/seat-pool.d.ts +2 -1
- package/daemon/dist/domain/policies/seat-pool.d.ts.map +1 -1
- package/daemon/dist/domain/policies/seat-pool.js.map +1 -1
- package/daemon/dist/domain/policies/workflow-keepalive.d.ts +1 -0
- package/daemon/dist/domain/policies/workflow-keepalive.d.ts.map +1 -1
- package/daemon/dist/domain/policies/workflow-keepalive.js +4 -1
- package/daemon/dist/domain/policies/workflow-keepalive.js.map +1 -1
- package/daemon/dist/domain/profile-resolver.d.ts +2 -0
- package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/profile-resolver.js +10 -4
- package/daemon/dist/domain/profile-resolver.js.map +1 -1
- package/daemon/dist/domain/project-lifecycle-compiler.d.ts.map +1 -1
- package/daemon/dist/domain/project-lifecycle-compiler.js +35 -1
- package/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -1
- package/daemon/dist/domain/proof/judgments.d.ts +7 -0
- package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
- package/daemon/dist/domain/proof/judgments.js +18 -10
- package/daemon/dist/domain/proof/judgments.js.map +1 -1
- package/daemon/dist/domain/provider/assignment-apply.d.ts +85 -0
- package/daemon/dist/domain/provider/assignment-apply.d.ts.map +1 -0
- package/daemon/dist/domain/provider/assignment-apply.js +270 -0
- package/daemon/dist/domain/provider/assignment-apply.js.map +1 -0
- package/daemon/dist/domain/provider/assignment-plan.d.ts +150 -0
- package/daemon/dist/domain/provider/assignment-plan.d.ts.map +1 -0
- package/daemon/dist/domain/provider/assignment-plan.js +218 -0
- package/daemon/dist/domain/provider/assignment-plan.js.map +1 -0
- package/daemon/dist/domain/provider/claude-seat-switch.d.ts +1 -1
- package/daemon/dist/domain/provider/claude-seat-switch.d.ts.map +1 -1
- package/daemon/dist/domain/provider/claude-seat-switch.js +37 -6
- package/daemon/dist/domain/provider/claude-seat-switch.js.map +1 -1
- package/daemon/dist/domain/provider/provider-account-assignments.d.ts +64 -0
- package/daemon/dist/domain/provider/provider-account-assignments.d.ts.map +1 -0
- package/daemon/dist/domain/provider/provider-account-assignments.js +75 -0
- package/daemon/dist/domain/provider/provider-account-assignments.js.map +1 -0
- package/daemon/dist/domain/provider/provider-account-refs.d.ts +91 -0
- package/daemon/dist/domain/provider/provider-account-refs.d.ts.map +1 -0
- package/daemon/dist/domain/provider/provider-account-refs.js +164 -0
- package/daemon/dist/domain/provider/provider-account-refs.js.map +1 -0
- package/daemon/dist/domain/provider/provider-collect.d.ts +3 -1
- package/daemon/dist/domain/provider/provider-collect.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-collect.js +2 -0
- package/daemon/dist/domain/provider/provider-collect.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service-impl.d.ts +43 -1
- package/daemon/dist/domain/provider/provider-service-impl.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-service-impl.js +376 -20
- package/daemon/dist/domain/provider/provider-service-impl.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service.d.ts +82 -6
- package/daemon/dist/domain/provider/provider-service.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-types.d.ts +40 -1
- package/daemon/dist/domain/provider/provider-types.d.ts.map +1 -1
- package/daemon/dist/domain/provider/usage-across-hosts.d.ts.map +1 -1
- package/daemon/dist/domain/provider/usage-across-hosts.js +13 -1
- package/daemon/dist/domain/provider/usage-across-hosts.js.map +1 -1
- package/daemon/dist/domain/ps-projection.d.ts +5 -3
- package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
- package/daemon/dist/domain/ps-projection.js +10 -3
- package/daemon/dist/domain/ps-projection.js.map +1 -1
- package/daemon/dist/domain/queue-display.d.ts +7 -0
- package/daemon/dist/domain/queue-display.d.ts.map +1 -0
- package/daemon/dist/domain/queue-display.js +20 -0
- package/daemon/dist/domain/queue-display.js.map +1 -0
- package/daemon/dist/domain/queue-owner.d.ts +4 -2
- package/daemon/dist/domain/queue-owner.d.ts.map +1 -1
- package/daemon/dist/domain/queue-owner.js +7 -5
- package/daemon/dist/domain/queue-owner.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +104 -24
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +600 -89
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts +4 -0
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +1890 -1817
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/queue-transfer-activation.d.ts +28 -0
- package/daemon/dist/domain/queue-transfer-activation.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-activation.js +187 -0
- package/daemon/dist/domain/queue-transfer-activation.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-mapping.d.ts +31 -0
- package/daemon/dist/domain/queue-transfer-mapping.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-mapping.js +33 -0
- package/daemon/dist/domain/queue-transfer-mapping.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-operation.d.ts +24 -0
- package/daemon/dist/domain/queue-transfer-operation.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-operation.js +41 -0
- package/daemon/dist/domain/queue-transfer-operation.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-parse.d.ts +8 -0
- package/daemon/dist/domain/queue-transfer-parse.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transfer-parse.js +16 -6
- package/daemon/dist/domain/queue-transfer-parse.js.map +1 -1
- package/daemon/dist/domain/queue-transfer-records.d.ts +160 -0
- package/daemon/dist/domain/queue-transfer-records.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-records.js +94 -0
- package/daemon/dist/domain/queue-transfer-records.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-recovery.d.ts +40 -0
- package/daemon/dist/domain/queue-transfer-recovery.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-recovery.js +136 -0
- package/daemon/dist/domain/queue-transfer-recovery.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-relinquish.d.ts +70 -0
- package/daemon/dist/domain/queue-transfer-relinquish.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-relinquish.js +204 -0
- package/daemon/dist/domain/queue-transfer-relinquish.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-review.d.ts +1 -0
- package/daemon/dist/domain/queue-transfer-review.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transfer-review.js +15 -13
- package/daemon/dist/domain/queue-transfer-review.js.map +1 -1
- package/daemon/dist/domain/queue-transfer-staging.d.ts +14 -0
- package/daemon/dist/domain/queue-transfer-staging.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transfer-staging.js +9 -1
- package/daemon/dist/domain/queue-transfer-staging.js.map +1 -1
- package/daemon/dist/domain/queue-transfer-write.d.ts +14 -0
- package/daemon/dist/domain/queue-transfer-write.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-write.js +42 -0
- package/daemon/dist/domain/queue-transfer-write.js.map +1 -0
- package/daemon/dist/domain/queue-transition-log.d.ts +8 -0
- package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transition-log.js +27 -14
- package/daemon/dist/domain/queue-transition-log.js.map +1 -1
- package/daemon/dist/domain/queue-waiting.d.ts +10 -1
- package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
- package/daemon/dist/domain/queue-waiting.js +20 -14
- package/daemon/dist/domain/queue-waiting.js.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts +10 -3
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +60 -23
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.d.ts +1 -0
- package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.js +21 -19
- package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
- package/daemon/dist/domain/receiver-context.d.ts +3 -2
- package/daemon/dist/domain/receiver-context.d.ts.map +1 -1
- package/daemon/dist/domain/receiver-context.js +5 -4
- package/daemon/dist/domain/receiver-context.js.map +1 -1
- package/daemon/dist/domain/reconciler.d.ts +2 -0
- package/daemon/dist/domain/reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/reconciler.js +17 -1
- package/daemon/dist/domain/reconciler.js.map +1 -1
- package/daemon/dist/domain/relayed-answers.d.ts +1 -0
- package/daemon/dist/domain/relayed-answers.d.ts.map +1 -1
- package/daemon/dist/domain/relayed-answers.js.map +1 -1
- package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
- package/daemon/dist/domain/restore-check-service.js +9 -3
- package/daemon/dist/domain/restore-check-service.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +7 -0
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +54 -14
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/return-route.d.ts +4 -0
- package/daemon/dist/domain/return-route.d.ts.map +1 -1
- package/daemon/dist/domain/return-route.js +13 -0
- package/daemon/dist/domain/return-route.js.map +1 -1
- package/daemon/dist/domain/rig-mode/operating-posture.d.ts +3 -0
- package/daemon/dist/domain/rig-mode/operating-posture.d.ts.map +1 -1
- package/daemon/dist/domain/rig-mode/operating-posture.js +27 -8
- package/daemon/dist/domain/rig-mode/operating-posture.js.map +1 -1
- package/daemon/dist/domain/rig-status-compose.d.ts +3 -0
- package/daemon/dist/domain/rig-status-compose.d.ts.map +1 -1
- package/daemon/dist/domain/rig-status-compose.js +4 -1
- package/daemon/dist/domain/rig-status-compose.js.map +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/daemon/dist/domain/rig-teardown.js +3 -2
- package/daemon/dist/domain/rig-teardown.js.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.d.ts +2 -0
- package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.js +38 -2
- package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +4 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +32 -13
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts +3 -0
- package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.js +25 -7
- package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
- package/daemon/dist/domain/roster-ready-notice.d.ts +1 -1
- package/daemon/dist/domain/roster-ready-notice.d.ts.map +1 -1
- package/daemon/dist/domain/roster-ready-notice.js +2 -1
- package/daemon/dist/domain/roster-ready-notice.js.map +1 -1
- package/daemon/dist/domain/runner-permissions.d.ts +3 -2
- package/daemon/dist/domain/runner-permissions.d.ts.map +1 -1
- package/daemon/dist/domain/runner-permissions.js +30 -19
- package/daemon/dist/domain/runner-permissions.js.map +1 -1
- package/daemon/dist/domain/runtime-adapter.d.ts +2 -0
- package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-adapter.js.map +1 -1
- package/daemon/dist/domain/scope/manifest-editor.d.ts +35 -0
- package/daemon/dist/domain/scope/manifest-editor.d.ts.map +1 -0
- package/daemon/dist/domain/scope/manifest-editor.js +197 -0
- package/daemon/dist/domain/scope/manifest-editor.js.map +1 -0
- package/daemon/dist/domain/scope/mission-frontmatter.d.ts +9 -0
- package/daemon/dist/domain/scope/mission-frontmatter.d.ts.map +1 -0
- package/daemon/dist/domain/scope/mission-frontmatter.js +36 -0
- package/daemon/dist/domain/scope/mission-frontmatter.js.map +1 -0
- package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-activity-service.js +53 -20
- package/daemon/dist/domain/seat-activity-service.js.map +1 -1
- package/daemon/dist/domain/seat-cold-start.d.ts +8 -2
- package/daemon/dist/domain/seat-cold-start.d.ts.map +1 -1
- package/daemon/dist/domain/seat-cold-start.js +75 -19
- package/daemon/dist/domain/seat-cold-start.js.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.d.ts +6 -1
- package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.js +23 -2
- package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
- package/daemon/dist/domain/seat-evidence.d.ts +13 -0
- package/daemon/dist/domain/seat-evidence.d.ts.map +1 -0
- package/daemon/dist/domain/seat-evidence.js +29 -0
- package/daemon/dist/domain/seat-evidence.js.map +1 -0
- package/daemon/dist/domain/seat-handover-service.d.ts +5 -1
- package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-handover-service.js +49 -35
- package/daemon/dist/domain/seat-handover-service.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts +26 -6
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +108 -17
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-pool-dispatch-guard.d.ts +28 -0
- package/daemon/dist/domain/seat-pool-dispatch-guard.d.ts.map +1 -0
- package/daemon/dist/domain/seat-pool-dispatch-guard.js +123 -0
- package/daemon/dist/domain/seat-pool-dispatch-guard.js.map +1 -0
- package/daemon/dist/domain/seat-pool-executor.d.ts +64 -3
- package/daemon/dist/domain/seat-pool-executor.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-executor.js +993 -102
- package/daemon/dist/domain/seat-pool-executor.js.map +1 -1
- package/daemon/dist/domain/seat-pool-slots.d.ts +90 -2
- package/daemon/dist/domain/seat-pool-slots.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-slots.js +88 -3
- package/daemon/dist/domain/seat-pool-slots.js.map +1 -1
- package/daemon/dist/domain/seat-pool-spec.d.ts +4 -1
- package/daemon/dist/domain/seat-pool-spec.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-spec.js +14 -2
- package/daemon/dist/domain/seat-pool-spec.js.map +1 -1
- package/daemon/dist/domain/seat-reaper-eligibility.d.ts +34 -0
- package/daemon/dist/domain/seat-reaper-eligibility.d.ts.map +1 -0
- package/daemon/dist/domain/seat-reaper-eligibility.js +30 -0
- package/daemon/dist/domain/seat-reaper-eligibility.js.map +1 -0
- package/daemon/dist/domain/seat-reaper-events.d.ts +31 -0
- package/daemon/dist/domain/seat-reaper-events.d.ts.map +1 -0
- package/daemon/dist/domain/seat-reaper-events.js +2 -0
- package/daemon/dist/domain/seat-reaper-events.js.map +1 -0
- package/daemon/dist/domain/seat-reaper-service.d.ts +59 -0
- package/daemon/dist/domain/seat-reaper-service.d.ts.map +1 -0
- package/daemon/dist/domain/seat-reaper-service.js +311 -0
- package/daemon/dist/domain/seat-reaper-service.js.map +1 -0
- package/daemon/dist/domain/seat-reaper-settings.d.ts +14 -0
- package/daemon/dist/domain/seat-reaper-settings.d.ts.map +1 -0
- package/daemon/dist/domain/seat-reaper-settings.js +32 -0
- package/daemon/dist/domain/seat-reaper-settings.js.map +1 -0
- package/daemon/dist/domain/seat-reaper-store.d.ts +19 -0
- package/daemon/dist/domain/seat-reaper-store.d.ts.map +1 -0
- package/daemon/dist/domain/seat-reaper-store.js +45 -0
- package/daemon/dist/domain/seat-reaper-store.js.map +1 -0
- package/daemon/dist/domain/seat-reaper-workspace.d.ts +4 -0
- package/daemon/dist/domain/seat-reaper-workspace.d.ts.map +1 -0
- package/daemon/dist/domain/seat-reaper-workspace.js +43 -0
- package/daemon/dist/domain/seat-reaper-workspace.js.map +1 -0
- package/daemon/dist/domain/seat-restart-in-place.d.ts +11 -3
- package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.js +39 -48
- package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.js +5 -7
- package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
- package/daemon/dist/domain/seat-skill-storage.d.ts.map +1 -1
- package/daemon/dist/domain/seat-skill-storage.js +27 -5
- package/daemon/dist/domain/seat-skill-storage.js.map +1 -1
- package/daemon/dist/domain/seat-standby.d.ts +13 -0
- package/daemon/dist/domain/seat-standby.d.ts.map +1 -0
- package/daemon/dist/domain/seat-standby.js +21 -0
- package/daemon/dist/domain/seat-standby.js.map +1 -0
- package/daemon/dist/domain/seat-startup-text.d.ts +159 -0
- package/daemon/dist/domain/seat-startup-text.d.ts.map +1 -0
- package/daemon/dist/domain/seat-startup-text.js +200 -0
- package/daemon/dist/domain/seat-startup-text.js.map +1 -0
- package/daemon/dist/domain/seat-status-service.d.ts +18 -0
- package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-status-service.js +25 -5
- package/daemon/dist/domain/seat-status-service.js.map +1 -1
- package/daemon/dist/domain/seat-structural-activity-service.d.ts +7 -0
- package/daemon/dist/domain/seat-structural-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-structural-activity-service.js +16 -1
- package/daemon/dist/domain/seat-structural-activity-service.js.map +1 -1
- package/daemon/dist/domain/session-registry.d.ts +15 -3
- package/daemon/dist/domain/session-registry.d.ts.map +1 -1
- package/daemon/dist/domain/session-registry.js +52 -5
- package/daemon/dist/domain/session-registry.js.map +1 -1
- package/daemon/dist/domain/session-transport.d.ts +12 -5
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +129 -18
- package/daemon/dist/domain/session-transport.js.map +1 -1
- package/daemon/dist/domain/shared-conversation.d.ts.map +1 -1
- package/daemon/dist/domain/shared-conversation.js +3 -1
- package/daemon/dist/domain/shared-conversation.js.map +1 -1
- package/daemon/dist/domain/slices/slice-indexer.d.ts +2 -2
- package/daemon/dist/domain/slices/slice-indexer.d.ts.map +1 -1
- package/daemon/dist/domain/slices/slice-indexer.js +4 -15
- package/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
- package/daemon/dist/domain/snapshot-capture.d.ts +4 -1
- package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
- package/daemon/dist/domain/snapshot-capture.js +14 -18
- package/daemon/dist/domain/snapshot-capture.js.map +1 -1
- package/daemon/dist/domain/snapshot-repository.d.ts +37 -0
- package/daemon/dist/domain/snapshot-repository.d.ts.map +1 -1
- package/daemon/dist/domain/snapshot-repository.js +68 -0
- package/daemon/dist/domain/snapshot-repository.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts +8 -20
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +94 -27
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.d.ts +4 -1
- package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.js +12 -1
- package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.d.ts +9 -5
- package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.js +17 -6
- package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.d.ts +2 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.js +54 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.js.map +1 -0
- package/daemon/dist/domain/terminal/herdr-app-provider.d.ts +28 -3
- package/daemon/dist/domain/terminal/herdr-app-provider.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-app-provider.js +216 -52
- package/daemon/dist/domain/terminal/herdr-app-provider.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-app-state.d.ts +7 -2
- package/daemon/dist/domain/terminal/herdr-app-state.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-app-state.js.map +1 -1
- package/daemon/dist/domain/terminal/terminal-provider.d.ts +17 -0
- package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.d.ts +4 -4
- package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.js +14 -8
- package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +71 -4
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/usage-samples-store.d.ts.map +1 -1
- package/daemon/dist/domain/usage-samples-store.js.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.js +45 -2
- package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/daemon/dist/domain/view-projector.d.ts.map +1 -1
- package/daemon/dist/domain/view-projector.js +5 -2
- package/daemon/dist/domain/view-projector.js.map +1 -1
- package/daemon/dist/domain/watchdog-delivery.d.ts +3 -0
- package/daemon/dist/domain/watchdog-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-delivery.js +26 -4
- package/daemon/dist/domain/watchdog-delivery.js.map +1 -1
- package/daemon/dist/domain/watchdog-history-log.d.ts +10 -0
- package/daemon/dist/domain/watchdog-history-log.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-history-log.js +35 -1
- package/daemon/dist/domain/watchdog-history-log.js.map +1 -1
- package/daemon/dist/domain/watchdog-job-update.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-job-update.js +29 -4
- package/daemon/dist/domain/watchdog-job-update.js.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.js +4 -1
- package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
- package/daemon/dist/domain/watchdog-scheduler.d.ts +4 -0
- package/daemon/dist/domain/watchdog-scheduler.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-scheduler.js +14 -0
- package/daemon/dist/domain/watchdog-scheduler.js.map +1 -1
- package/daemon/dist/domain/workflow-role-context.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-role-context.js +1 -0
- package/daemon/dist/domain/workflow-role-context.js.map +1 -1
- package/daemon/dist/domain/workflow-role-resolver.d.ts +3 -0
- package/daemon/dist/domain/workflow-role-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-role-resolver.js +12 -6
- package/daemon/dist/domain/workflow-role-resolver.js.map +1 -1
- package/daemon/dist/domain/workspace/project-catalog.d.ts +7 -0
- package/daemon/dist/domain/workspace/project-catalog.d.ts.map +1 -1
- package/daemon/dist/domain/workspace/project-catalog.js +16 -9
- package/daemon/dist/domain/workspace/project-catalog.js.map +1 -1
- package/daemon/dist/domain/workspace/project-registration.d.ts +5 -1
- package/daemon/dist/domain/workspace/project-registration.d.ts.map +1 -1
- package/daemon/dist/domain/workspace/project-registration.js +11 -7
- package/daemon/dist/domain/workspace/project-registration.js.map +1 -1
- package/daemon/dist/index.d.ts +3 -0
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +14 -4
- package/daemon/dist/index.js.map +1 -1
- package/daemon/dist/middleware/auth-bearer-token.d.ts +8 -12
- package/daemon/dist/middleware/auth-bearer-token.d.ts.map +1 -1
- package/daemon/dist/middleware/auth-bearer-token.js +18 -36
- package/daemon/dist/middleware/auth-bearer-token.js.map +1 -1
- package/daemon/dist/queue-transfer-records-surface.d.ts +6 -0
- package/daemon/dist/queue-transfer-records-surface.d.ts.map +1 -0
- package/daemon/dist/queue-transfer-records-surface.js +6 -0
- package/daemon/dist/queue-transfer-records-surface.js.map +1 -0
- package/daemon/dist/rig-lookup-surface.d.ts +2 -0
- package/daemon/dist/rig-lookup-surface.d.ts.map +1 -0
- package/daemon/dist/rig-lookup-surface.js +5 -0
- package/daemon/dist/rig-lookup-surface.js.map +1 -0
- package/daemon/dist/routes/activity.d.ts.map +1 -1
- package/daemon/dist/routes/activity.js +4 -3
- package/daemon/dist/routes/activity.js.map +1 -1
- package/daemon/dist/routes/attention.d.ts.map +1 -1
- package/daemon/dist/routes/attention.js +3 -1
- package/daemon/dist/routes/attention.js.map +1 -1
- package/daemon/dist/routes/compaction.d.ts.map +1 -1
- package/daemon/dist/routes/compaction.js +2 -0
- package/daemon/dist/routes/compaction.js.map +1 -1
- package/daemon/dist/routes/mission-control.d.ts.map +1 -1
- package/daemon/dist/routes/mission-control.js +2 -1
- package/daemon/dist/routes/mission-control.js.map +1 -1
- package/daemon/dist/routes/missions.d.ts +3 -6
- package/daemon/dist/routes/missions.d.ts.map +1 -1
- package/daemon/dist/routes/missions.js +42 -76
- package/daemon/dist/routes/missions.js.map +1 -1
- package/daemon/dist/routes/network.d.ts.map +1 -1
- package/daemon/dist/routes/network.js +19 -1
- package/daemon/dist/routes/network.js.map +1 -1
- package/daemon/dist/routes/provider.d.ts.map +1 -1
- package/daemon/dist/routes/provider.js +156 -5
- package/daemon/dist/routes/provider.js.map +1 -1
- package/daemon/dist/routes/queue-transfer.d.ts +9 -0
- package/daemon/dist/routes/queue-transfer.d.ts.map +1 -0
- package/daemon/dist/routes/queue-transfer.js +109 -0
- package/daemon/dist/routes/queue-transfer.js.map +1 -0
- package/daemon/dist/routes/queue.d.ts.map +1 -1
- package/daemon/dist/routes/queue.js +80 -51
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/rigs.js +3 -0
- package/daemon/dist/routes/rigs.js.map +1 -1
- package/daemon/dist/routes/rigspec.d.ts.map +1 -1
- package/daemon/dist/routes/rigspec.js +4 -0
- package/daemon/dist/routes/rigspec.js.map +1 -1
- package/daemon/dist/routes/seat.d.ts.map +1 -1
- package/daemon/dist/routes/seat.js +19 -3
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/terminal-ws.d.ts +0 -5
- package/daemon/dist/routes/terminal-ws.d.ts.map +1 -1
- package/daemon/dist/routes/terminal-ws.js +0 -6
- package/daemon/dist/routes/terminal-ws.js.map +1 -1
- package/daemon/dist/routes/transport.js +1 -1
- package/daemon/dist/routes/transport.js.map +1 -1
- package/daemon/dist/scope-manifest-surface.d.ts +4 -0
- package/daemon/dist/scope-manifest-surface.d.ts.map +1 -0
- package/daemon/dist/scope-manifest-surface.js +4 -0
- package/daemon/dist/scope-manifest-surface.js.map +1 -0
- package/daemon/dist/server.d.ts +2 -1
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +6 -6
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +126 -61
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/docs/reference/agent-startup-guide.md +26 -4
- package/daemon/docs/reference/agent-state-taxonomy.md +22 -1
- package/daemon/docs/reference/claude-status-line.md +28 -0
- package/daemon/docs/reference/community-harness-examples/hermes/hermes.yaml +3 -0
- package/daemon/docs/reference/community-harness-examples/hermes/openrig-hermes-launch +10 -0
- package/daemon/docs/reference/community-harness-presets.md +79 -8
- package/daemon/docs/reference/daemon-http-clients.md +49 -2
- package/daemon/docs/reference/getting-started.md +73 -11
- package/daemon/docs/reference/harness-runner-contract.md +12 -4
- package/daemon/docs/reference/help.md +9 -0
- package/daemon/docs/reference/herdr-app.md +45 -4
- package/daemon/docs/reference/hosted-members.md +1 -1
- package/daemon/docs/reference/network-connector.md +66 -1
- package/daemon/docs/reference/pi-tool-selection-recovery.md +13 -29
- package/daemon/docs/reference/queue-transfer-activation.md +89 -0
- package/daemon/docs/reference/queue-transfer-staging.md +1 -1
- package/daemon/docs/reference/quickstart.md +4 -4
- package/daemon/docs/reference/refocus-channel.md +21 -0
- package/daemon/docs/reference/rig-bundle.md +25 -0
- package/daemon/docs/reference/rig-spec.md +218 -23
- package/daemon/docs/reference/scoped-operating-posture.md +6 -1
- package/daemon/docs/reference/sdlc-conventions.md +10 -4
- package/daemon/docs/reference/seat-delivery.md +108 -12
- package/daemon/docs/reference/seat-node-targeting.md +2 -2
- package/daemon/docs/reference/seat-pools.md +181 -18
- package/daemon/docs/reference/seat-scaling.md +137 -0
- package/daemon/docs/reference/whats-new.md +190 -14
- package/daemon/specs/agents/development/implementer/guidance/role.md +11 -0
- package/daemon/specs/agents/development/qa/guidance/role.md +5 -0
- package/daemon/specs/agents/shared/skills/core/cross-host-rig-commands/SKILL.md +9 -1
- package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +32 -19
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +8 -3
- package/dist/build-info.js +3 -3
- package/dist/cli-error.d.ts +2 -0
- package/dist/cli-error.d.ts.map +1 -1
- package/dist/cli-error.js +25 -8
- package/dist/cli-error.js.map +1 -1
- package/dist/client.d.ts +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +13 -0
- package/dist/client.js.map +1 -1
- package/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/auth.js +52 -1
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +3 -0
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/crash-cart.d.ts.map +1 -1
- package/dist/commands/crash-cart.js +65 -17
- package/dist/commands/crash-cart.js.map +1 -1
- package/dist/commands/daemon.d.ts +7 -20
- package/dist/commands/daemon.d.ts.map +1 -1
- package/dist/commands/daemon.js +117 -46
- package/dist/commands/daemon.js.map +1 -1
- package/dist/commands/doctor.d.ts +26 -0
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +148 -2
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/import.d.ts +5 -0
- package/dist/commands/import.d.ts.map +1 -1
- package/dist/commands/import.js +24 -4
- package/dist/commands/import.js.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +4 -2
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/network.d.ts +4 -0
- package/dist/commands/network.d.ts.map +1 -1
- package/dist/commands/network.js +78 -10
- package/dist/commands/network.js.map +1 -1
- package/dist/commands/provider.d.ts +5 -1
- package/dist/commands/provider.d.ts.map +1 -1
- package/dist/commands/provider.js +427 -17
- package/dist/commands/provider.js.map +1 -1
- package/dist/commands/ps.d.ts +16 -1
- package/dist/commands/ps.d.ts.map +1 -1
- package/dist/commands/ps.js +35 -4
- package/dist/commands/ps.js.map +1 -1
- package/dist/commands/queue-transfer.d.ts +10 -0
- package/dist/commands/queue-transfer.d.ts.map +1 -0
- package/dist/commands/queue-transfer.js +140 -0
- package/dist/commands/queue-transfer.js.map +1 -0
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +20 -6
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/scope.d.ts.map +1 -1
- package/dist/commands/scope.js +258 -17
- package/dist/commands/scope.js.map +1 -1
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +132 -23
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/setup.d.ts +34 -0
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +111 -18
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/terminal.d.ts +11 -0
- package/dist/commands/terminal.d.ts.map +1 -1
- package/dist/commands/terminal.js +10 -7
- package/dist/commands/terminal.js.map +1 -1
- package/dist/config-store.d.ts +9 -1
- package/dist/config-store.d.ts.map +1 -1
- package/dist/config-store.js +46 -0
- package/dist/config-store.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts +53 -2
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +500 -192
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/daemon-reachability.js +2 -2
- package/dist/daemon-reachability.js.map +1 -1
- package/dist/daemon-start-lock.d.ts +28 -0
- package/dist/daemon-start-lock.d.ts.map +1 -1
- package/dist/daemon-start-lock.js +107 -13
- package/dist/daemon-start-lock.js.map +1 -1
- package/dist/lib/seat-activity.d.ts +4 -1
- package/dist/lib/seat-activity.d.ts.map +1 -1
- package/dist/lib/seat-activity.js +4 -3
- package/dist/lib/seat-activity.js.map +1 -1
- package/dist/mcp-server.d.ts +2 -2
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +126 -27
- package/dist/mcp-server.js.map +1 -1
- package/dist/process-liveness.d.ts +21 -0
- package/dist/process-liveness.d.ts.map +1 -0
- package/dist/process-liveness.js +43 -0
- package/dist/process-liveness.js.map +1 -0
- package/dist/remote-host-ops.d.ts +1 -1
- package/dist/remote-host-ops.d.ts.map +1 -1
- package/dist/remote-host-ops.js +3 -14
- package/dist/remote-host-ops.js.map +1 -1
- package/dist/system-preflight.d.ts +9 -0
- package/dist/system-preflight.d.ts.map +1 -1
- package/dist/system-preflight.js +27 -8
- package/dist/system-preflight.js.map +1 -1
- package/dist/tmux-health.d.ts +10 -1
- package/dist/tmux-health.d.ts.map +1 -1
- package/dist/tmux-health.js +31 -2
- package/dist/tmux-health.js.map +1 -1
- package/package.json +4 -2
- package/scripts/check-abi.mjs +18 -2
- package/tui/dist/attention/attention-model.d.ts +1 -1
- package/tui/dist/attention/attention-model.d.ts.map +1 -1
- package/tui/dist/attention/attention-model.js +6 -0
- package/tui/dist/attention/attention-model.js.map +1 -1
- package/tui/dist/daemon-client.d.ts +21 -2
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +36 -5
- package/tui/dist/daemon-client.js.map +1 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +6 -2
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/main.js +11 -8
- package/tui/dist/main.js.map +1 -1
- package/tui/dist/terminals/open-window.d.ts +9 -3
- package/tui/dist/terminals/open-window.d.ts.map +1 -1
- package/tui/dist/terminals/open-window.js +22 -4
- package/tui/dist/terminals/open-window.js.map +1 -1
- package/tui/dist/terminals/terminal-model.d.ts +3 -0
- package/tui/dist/terminals/terminal-model.d.ts.map +1 -1
- package/tui/dist/terminals/terminal-model.js +6 -1
- package/tui/dist/terminals/terminal-model.js.map +1 -1
- package/tui/dist/topology/glyphs.d.ts.map +1 -1
- package/tui/dist/topology/glyphs.js +11 -1
- package/tui/dist/topology/glyphs.js.map +1 -1
- package/tui/dist/topology/graph-types.d.ts +8 -0
- package/tui/dist/topology/graph-types.d.ts.map +1 -1
- package/tui/dist/types.d.ts +3 -2
- package/tui/dist/types.d.ts.map +1 -1
- package/ui/dist/assets/{index-DG_7XFcL.js → index-D7OUklzs.js} +148 -148
- package/ui/dist/index.html +1 -1
|
@@ -249,21 +249,37 @@ Claude members can record tool rules independently, even when they share a proje
|
|
|
249
249
|
```yaml
|
|
250
250
|
claude_permissions:
|
|
251
251
|
allow: ["Bash(node lane-reader.mjs *)"]
|
|
252
|
+
ask: ["Bash(git push *)"]
|
|
252
253
|
deny: ["Read(./private/**)"]
|
|
253
254
|
```
|
|
254
255
|
|
|
255
|
-
This field accepts only `allow` and `deny` lists of native Claude rule strings. It is
|
|
256
|
-
also supported on legacy flat Claude nodes.
|
|
257
|
-
|
|
258
|
-
|
|
256
|
+
This field accepts only `allow`, `ask` and `deny` lists of native Claude rule strings. It is
|
|
257
|
+
also supported on legacy flat Claude nodes. `ask` goes into Claude's native `permissions.ask`:
|
|
258
|
+
Claude checks deny rules, then ask rules, then allow rules, so a matching ask rule prompts even
|
|
259
|
+
when an allow rule also matches. Which modes prompt for an ask rule, and which deny it, is
|
|
260
|
+
Claude's behaviour; OpenRig records and sends the rules and doesn't verify the effect. An empty
|
|
261
|
+
or absent `ask` is left out of the record, which keeps a seat without asks exactly as before.
|
|
262
|
+
Other runtimes, mode settings, arbitrary settings and parenthesized MCP rules are rejected. Shape
|
|
263
|
+
validation does not establish support by every Claude version.
|
|
264
|
+
|
|
265
|
+
An OpenRig that reads seat rules but lacks `ask` support (such as 0.7.24) refuses to launch, fork
|
|
266
|
+
or export a seat whose rules include `ask`, and refuses a spec that declares it, naming the key. An
|
|
267
|
+
OpenRig from before seat rules doesn't refuse: it leaves the recorded rules out of its launches
|
|
268
|
+
(see Downgrade below). Before downgrading, or before running
|
|
269
|
+
such a seat from an older daemon on another machine, record its rules without `ask`:
|
|
270
|
+
`rig seat set-permissions <seat> --rules <file without ask> --reason "<why>"`. The audit event
|
|
271
|
+
keeps the earlier rules, asks included, so they can be recorded again after an upgrade.
|
|
259
272
|
|
|
260
273
|
After composition, launches and resumes keep settings of at most 64 KiB inline, byte-identical.
|
|
261
274
|
Larger JSON values go through Claude's native `--settings` file form: a content-addressed 0600
|
|
262
275
|
file under OpenRig's seat-specific `state/claude-settings/` storage. OpenRig publishes the complete
|
|
263
276
|
file atomically and prunes older files only when their bytes still match their digest. It keeps
|
|
264
277
|
the current files and files named by captured live arguments. Continuations
|
|
265
|
-
can rewrite OpenRig's own unchanged files to apply the selected auto-mode block
|
|
266
|
-
|
|
278
|
+
can rewrite OpenRig's own unchanged files to apply the selected auto-mode block. For a seat with
|
|
279
|
+
recorded rules, cleared ones included, they also send its composed allow, ask and deny lists and the
|
|
280
|
+
team or kernel default's permission hook in place of the running ones, and keep the running
|
|
281
|
+
process's other permissions fields (such as `additionalDirectories`) and other hooks. Foreign files stay
|
|
282
|
+
opaque, and a continuation that can't apply the rules says so. A failed write falls back inline with a warning naming the size and failure, never a size
|
|
267
283
|
refusal. Rules are never truncated or dropped, and shared Claude settings are not changed.
|
|
268
284
|
|
|
269
285
|
The initial spec records the rules on the stable seat. For an existing seat, put the
|
|
@@ -274,10 +290,12 @@ rig seat set-permissions dev-reader@team --rules member-rules.json --reason "Sel
|
|
|
274
290
|
rig seat status dev-reader@team --json
|
|
275
291
|
```
|
|
276
292
|
|
|
277
|
-
Choose either `--rules` or `--mode`, never both. Empty allow and deny lists clear the
|
|
293
|
+
Choose either `--rules` or `--mode`, never both. Empty allow, ask and deny lists clear the
|
|
278
294
|
seat's rules. Updating rules leaves the permission mode, running process and history
|
|
279
295
|
unchanged; they apply at the next separately authorized managed launch or resume.
|
|
280
|
-
Restore and same-seat handover read that same record
|
|
296
|
+
Restore and same-seat handover read that same record, and so does a same-conversation
|
|
297
|
+
relaunch that keeps the running Claude's options, such as a provider switch: it sends the
|
|
298
|
+
recorded rules instead of the permissions the running process started with. A fork copies the source's
|
|
281
299
|
currently recorded rules independently, including retained-seat updates. Export
|
|
282
300
|
contains the current record. An invalid or unreadable record refuses that seat's
|
|
283
301
|
launch, fork or export with a repair message rather than silently omitting its denies.
|
|
@@ -426,8 +444,12 @@ The mapping accepts native `read`, `write` and `deny` values at absolute paths,
|
|
|
426
444
|
It must be nonempty; nested subpath maps and arbitrary Codex settings are not part
|
|
427
445
|
of this option. Omitted network access becomes `false`. Include the read access
|
|
428
446
|
your tools and installed Codex executable need; this custom profile adds no
|
|
429
|
-
workspace, temporary, queue-state
|
|
430
|
-
|
|
447
|
+
workspace, temporary, queue-state or seat-folder write grants of its own. When
|
|
448
|
+
it lets the seat write its working folder, OpenRig adds a write rule for the
|
|
449
|
+
seat's Git directories, the same ones a plain workspace-write seat gets through
|
|
450
|
+
`--add-dir`, because Codex keeps `.git` read-only inside a writable root unless
|
|
451
|
+
the profile names it. Naming a Git directory yourself, for example as `read`,
|
|
452
|
+
keeps your rule and Codex's protection. Native Codex decides whether the host can enforce the supplied rules.
|
|
431
453
|
Filesystem approval accepts `never` or `on-request`; the retired `untrusted`
|
|
432
454
|
approval is rejected before the selection is saved.
|
|
433
455
|
|
|
@@ -545,7 +567,9 @@ Claude keeps `acceptEdits` and receives inline session settings allowing ordinar
|
|
|
545
567
|
`rig` commands, project reads and common project test commands (for example,
|
|
546
568
|
`npm test`, `pnpm test`, `pytest`, `go test` and `cargo test`). Lifecycle commands
|
|
547
569
|
such as `rig up`, `rig down`, `rig restore`, `rig bundle install` and seat stop or
|
|
548
|
-
handover ask through a session `PreToolUse` hook
|
|
570
|
+
handover ask through a session `PreToolUse` hook, and so do the commands that choose
|
|
571
|
+
or answer a permission (`rig seat set-permissions`, `rig seat decide-permission` and
|
|
572
|
+
`rig policy apply`). Their literal help forms, such
|
|
549
573
|
as `rig down --help`, `rig bundle install -h` and `rig help down`, run without
|
|
550
574
|
that lifecycle prompt. Native personal, project and managed deny/ask rules still
|
|
551
575
|
apply; OpenRig does not remove or override them.
|
|
@@ -729,8 +753,10 @@ The label and the absolute path are stored on the seat when the rig is created,
|
|
|
729
753
|
--to-account <label> --token-file <path>` stores them. Its launches run the same token step, which reads the file as
|
|
730
754
|
Claude starts; a launch path that can't run it (a pane shell other than a POSIX one, for example) starts without it and
|
|
731
755
|
warns. The file's contents never pass through OpenRig: validation doesn't read it, and they don't reach the spec, the
|
|
732
|
-
seat's record or the launch command. A missing, empty or unreadable file doesn't refuse the spec; the seat starts on
|
|
733
|
-
config dir's stored login
|
|
756
|
+
seat's record or the launch command. A missing, empty or unreadable file doesn't refuse the spec; the seat starts on
|
|
757
|
+
whatever credential it would otherwise receive (its config dir's stored login, a token the daemon gives every seat, or one
|
|
758
|
+
in the seat's `env:`) and says so. A resume reports what the token step did as Claude started, and says when it can't tell.
|
|
759
|
+
A launch also warns when a setting Claude
|
|
734
760
|
Code ranks above the token would be used instead: an `apiKeyHelper`, or an outranking `env` entry in the user, project
|
|
735
761
|
or local settings. Managed settings aren't inspected. `rig export` writes the seat's current reference, except for a seat
|
|
736
762
|
with an account home or an API-key selection (select those again after import), so a later switch shows there, and `rig provider switch --stored-login` removes it. Only
|
|
@@ -818,9 +844,11 @@ refuses to launch if it cannot read the saved selection or the shell cannot enfo
|
|
|
818
844
|
selection and existing subscription-login switches keep their behavior. A Claude seat using account-home mode must
|
|
819
845
|
use that mode for later account changes too.
|
|
820
846
|
|
|
821
|
-
User-managed provider settings can still affect authentication. After a real tool turn, check
|
|
822
|
-
|
|
823
|
-
|
|
847
|
+
User-managed provider settings can still affect authentication. After a real tool turn, check what the runtime used. For
|
|
848
|
+
a login stored in the seat's home (`/login`), the seat's own `/status` shows the account that login saved. For a token
|
|
849
|
+
login, Claude doesn't report which account the token belongs to (`claude auth status` says only that a token is set):
|
|
850
|
+
OpenRig shows your label for it and whether the token was applied, and the account behind it is unverified. Do not print
|
|
851
|
+
tokens or the process environment. The configured home alone cannot verify the running account.
|
|
824
852
|
|
|
825
853
|
Before downgrading to a version without account-home switching, stop the managed seats. Select their accounts using
|
|
826
854
|
that version's supported setup before resuming. Older versions ignore the saved selection and may launch with inherited
|
|
@@ -848,6 +876,12 @@ launch would use and restore's automatic periodic carry. It then prints the laun
|
|
|
848
876
|
`rig launch <rig> <seat>` when the resume comes through the periodic carry, which naming a
|
|
849
877
|
snapshot would turn off. Otherwise it refuses and changes nothing. `rig provider precheck` gives
|
|
850
878
|
the same answer.
|
|
879
|
+
A materialized Claude Code seat that has never launched has no conversation to resume: the switch
|
|
880
|
+
saves its reference for its first launch, in the same write that checks the seat still has no
|
|
881
|
+
session, records who asked (`node.claude_token_ref_changed`), and prints `rig launch <rig> <seat>`.
|
|
882
|
+
A first launch that started in the meantime is left as it is. A saved label or a readable file
|
|
883
|
+
isn't proof of the account: when the launch can't apply a token file, Claude starts on the login it
|
|
884
|
+
would use otherwise and the launch says so.
|
|
851
885
|
For Claude Code, select an API-key file, a subscription-token file, or the home's stored login:
|
|
852
886
|
|
|
853
887
|
```sh
|
|
@@ -884,6 +918,144 @@ neither selects accounts automatically nor imposes a spending limit. Downgrade o
|
|
|
884
918
|
API-key Claude seats back to subscription credentials: older OpenRig versions cannot read the new
|
|
885
919
|
credential kind correctly.
|
|
886
920
|
|
|
921
|
+
### Assigning an account to a whole rig
|
|
922
|
+
|
|
923
|
+
`rig provider switch` moves one seat. `rig provider assign` moves every seat of one provider in a rig to one
|
|
924
|
+
account, in two steps: a plan that changes nothing, then an apply of exactly that plan. Each seat moves through the
|
|
925
|
+
same switch, so it keeps its conversation the way `rig provider switch` would. The exception is `--account-home`,
|
|
926
|
+
where a fresh successor takes the seat with a handover.
|
|
927
|
+
|
|
928
|
+
**Accounts.** The daemon knows each account by your label and a reference on its own machine:
|
|
929
|
+
|
|
930
|
+
```sh
|
|
931
|
+
rig provider account add work --provider claude --token-file /home/me/keys/claude-work
|
|
932
|
+
rig provider account add budget --provider claude --api-key-file /home/me/keys/claude-api
|
|
933
|
+
rig provider account add team --provider codex --codex-home /home/me/.codex --login team
|
|
934
|
+
rig provider account list
|
|
935
|
+
rig provider account remove budget --provider claude
|
|
936
|
+
```
|
|
937
|
+
|
|
938
|
+
- A Claude reference is the absolute path of a file holding a subscription token or an API key. As with
|
|
939
|
+
`rig provider switch`, an API-key file must be private (0600 or 0400); a subscription token file has no mode rule, and
|
|
940
|
+
one that group or others can read is added with a warning.
|
|
941
|
+
A Codex reference is a Codex home and the name of a login saved there (`rig auth list --codex-home <home>` lists
|
|
942
|
+
them).
|
|
943
|
+
- Only the reference is stored, never a credential. Adding or checking a Claude reference looks at the file's
|
|
944
|
+
permissions, not its contents, and copies nothing; the seat's own shell reads the file when Claude starts with it.
|
|
945
|
+
- Adding an account checks the reference first. If the check fails, nothing is stored and the refusal says why.
|
|
946
|
+
- Removing a label a rig is assigned to goes ahead with a warning naming those rigs. Their seats, the seats'
|
|
947
|
+
credentials, and the recorded assignment and results stay as they were. Status shows the reference as missing, and
|
|
948
|
+
planning or applying that label is refused until it's added again. Added again naming another reference, it's another
|
|
949
|
+
account: seats an apply put on the earlier reference aren't on it, and the next apply moves them.
|
|
950
|
+
- A label is your name for a reference, not proof of the login a running seat uses.
|
|
951
|
+
|
|
952
|
+
**The plan.** `rig provider assign my-rig --provider claude --account work` prints one row per seat of that provider,
|
|
953
|
+
and changes nothing. The rig is named by its id, or by a name only one rig has: a name two rigs share is refused with
|
|
954
|
+
both ids (`rig_ambiguous`), and nothing is done. A switch or restart reaches a seat by its session name, so a seat
|
|
955
|
+
that name doesn't reach alone (another rig with the same name and member has it, or an archived one does) is refused
|
|
956
|
+
with `seat_name_shared`, and no restart command is printed for it. In this run, team-dev and team-qa are running on the default login, and team-review has its own
|
|
957
|
+
token file. The paths and the host id are shortened; a digest belongs to its own plan, so yours will differ:
|
|
958
|
+
|
|
959
|
+
```text
|
|
960
|
+
Plan a4814078dba8 on host-a: rig my-rig's claude seats to work (the token file /home/me/keys/claude-work).
|
|
961
|
+
team-dev@my-rig: from the login in /home/me/.claude; precheck safe; in place: the seat is relaunched in its own pane and keeps its conversation; activity idle
|
|
962
|
+
team-qa@my-rig: from the login in /home/me/.claude; precheck safe; in place: the seat is relaunched in its own pane and keeps its conversation; activity idle
|
|
963
|
+
team-review@my-rig: kept (seat override): its own token file /home/me/keys/claude-own ("own"); --include-overrides moves it too
|
|
964
|
+
A plan only: nothing was changed. Apply exactly this plan with: rig provider assign my-rig --provider claude --account work --apply --plan a4814078dba8
|
|
965
|
+
```
|
|
966
|
+
|
|
967
|
+
Applying it in the same run:
|
|
968
|
+
|
|
969
|
+
```text
|
|
970
|
+
Applied plan a4814078dba8 on host-a: rig my-rig's claude seats to work (the token file /home/me/keys/claude-work).
|
|
971
|
+
team-dev@my-rig: switched: Relaunched team-dev@my-rig in its own pane on its own token ("work"), resuming its conversation. Work in flight when it stopped didn't carry over.
|
|
972
|
+
team-qa@my-rig: switched: Relaunched team-qa@my-rig in its own pane on its own token ("work"), resuming its conversation. Work in flight when it stopped didn't carry over.
|
|
973
|
+
team-review@my-rig: unchanged: kept (seat override): its own token file /home/me/keys/claude-own ("own")
|
|
974
|
+
Each result is reported on its own: nothing was rolled back or retried.
|
|
975
|
+
```
|
|
976
|
+
|
|
977
|
+
The rows read like this:
|
|
978
|
+
- **A seat that would change** shows its configured account, the switch's precheck verdict, how it keeps its
|
|
979
|
+
conversation, and what it's doing now, as `rig ps` reads it. A busy seat is noted, not refused: a switch interrupts
|
|
980
|
+
work in flight, including background commands. A Claude seat that was already switched in place reads its activity
|
|
981
|
+
as unknown until its next fresh launch: that relaunch keeps an earlier occupant generation, so its hooks aren't
|
|
982
|
+
counted (#3677).
|
|
983
|
+
- **`unchanged`** means the seat is already on the account. One on a Codex home the plan switches restarts with it:
|
|
984
|
+
the row says so, and shows what the seat is doing.
|
|
985
|
+
- **`kept (seat override)`** means the seat has its own choice of account: its own token or API-key file, its own home,
|
|
986
|
+
or a saved login in the Codex seat registry. It's kept unless you add `--include-overrides`. A seat you bring in that
|
|
987
|
+
way that's already on the account follows the assignment from then on.
|
|
988
|
+
- **Seats of the other runtime** are listed as not affected.
|
|
989
|
+
|
|
990
|
+
Codex seats have two extra cases:
|
|
991
|
+
- **In place, on Linux and macOS only.** A Codex seat switches in place by changing its Codex home's active login, so every seat
|
|
992
|
+
on that home moves with it. The plan lists each home's seats: this rig's "would restart", and a seat in another rig
|
|
993
|
+
shows the `rig seat restart` it would need, whatever its rig is named. Elsewhere the row reads "unsupported in place".
|
|
994
|
+
- **To a prepared home.** `--account-home <dir>` moves the seats that aren't on the account yet to that home instead,
|
|
995
|
+
as fresh successors with a handover. A seat already on the account's own saved login stays where it is. Nothing falls back to this by itself. A successor uses the login active in that home, which isn't checked
|
|
996
|
+
against the account: the plan, the result and status say so.
|
|
997
|
+
|
|
998
|
+
**Applying it.** `--apply --plan <digest>` computes the plan again, and refuses without changing anything unless it's
|
|
999
|
+
still the plan you reviewed. A seat's activity changing doesn't count as a change. Only one apply runs for a rig at a
|
|
1000
|
+
time. Seats move one at a time, and each gets one result:
|
|
1001
|
+
|
|
1002
|
+
| Result | Meaning |
|
|
1003
|
+
|---|---|
|
|
1004
|
+
| `unchanged` | Already on the account, or kept as an override. |
|
|
1005
|
+
| `switched` | Moved to the account. A running seat was relaunched or restarted on it. A stopped Claude seat has the reference saved for its next launch. A Codex seat's move is confirmed at its next tool turn. The detail says when a token hasn't taken effect yet. |
|
|
1006
|
+
| `pending-successor` | Moved to the prepared home, where a fresh successor took the seat with a handover. |
|
|
1007
|
+
| `unsupported` | Can't move in place here, for example a Codex seat that isn't on Linux or macOS. |
|
|
1008
|
+
| `failed-before-effect` | Refused or failed before changing anything, including a seat whose precheck was unsafe (unless another seat then switched its Codex home: that's `unknown`, with its restart command). |
|
|
1009
|
+
| `unknown` | Something may have changed. The result names the command that recovers or checks it. |
|
|
1010
|
+
|
|
1011
|
+
- **A failure doesn't stop the others.** Nothing is rolled back or retried.
|
|
1012
|
+
- **After an unknown on a Codex home,** that home's remaining seats are skipped: when the switch of the home itself
|
|
1013
|
+
ends unknown, its login isn't known. A seat whose restart on a switched home doesn't confirm is unknown on its own,
|
|
1014
|
+
and the home's other seats still restart, because the home's login is known.
|
|
1015
|
+
- **Seats in another rig** on a switched home are listed with their restart command, never restarted.
|
|
1016
|
+
- **A home switched again while its seats restart** (by another rig's apply, or `rig provider switch`): a seat restarted
|
|
1017
|
+
after that switch, or during it, is `unknown` with its restart command, not `switched`. Only this daemon's switches
|
|
1018
|
+
are seen; a `rig auth switch` run by hand isn't.
|
|
1019
|
+
- **Each result is stored as it lands,** with what the seat was doing when it was reached. Status `--json` shows it as
|
|
1020
|
+
`applied.activity`.
|
|
1021
|
+
- **The rig's assignment** (label, reference, who asked, when) is stored with the first seat that's on the account or
|
|
1022
|
+
may be. An apply where every seat was refused leaves the rig's earlier assignment as it was.
|
|
1023
|
+
- **The CLI waits about 120 seconds** for each seat that changes or restarts. If it times out, the apply may still be
|
|
1024
|
+
running: don't run it again, and read the plan to see each seat's result.
|
|
1025
|
+
- **The exit code** is 1 when any seat's result is `failed-before-effect` or `unknown`. `unchanged` and `unsupported`
|
|
1026
|
+
results leave it at 0.
|
|
1027
|
+
|
|
1028
|
+
**Status.** `rig provider status` shows each Claude and Codex seat against its rig's assignment, beside its configured
|
|
1029
|
+
account. In `--json` this is `assignment` on each `bindings` row, and on each `seatAccounts` row when usage windows are on. A seat's state is one of:
|
|
1030
|
+
- **follows:** configured as the assigned account, or still as this assignment's apply left it. A Codex seat with no
|
|
1031
|
+
login of its own reads "still as the apply of `<label>` left its home". The login active in that home isn't read,
|
|
1032
|
+
so a later switch there isn't seen, whether by `rig auth switch`, `rig provider switch`, or another rig's apply on
|
|
1033
|
+
the same home. Status still reads follows, and applying the assignment again doesn't move the seat; the plan says
|
|
1034
|
+
so on its row. Move it with `rig provider switch --seat`.
|
|
1035
|
+
- **override:** configured with its own choice of another account.
|
|
1036
|
+
- **not applied:** the rig has an assignment, but the seat isn't on it yet. Its last result says why; a seat no apply
|
|
1037
|
+
has reached yet has none.
|
|
1038
|
+
- **no assignment:** the rig has none for that provider.
|
|
1039
|
+
|
|
1040
|
+
When the assigned label has been removed, `referenceMissing` is set and status says the reference is missing. With no
|
|
1041
|
+
reference to compare a seat's configuration with, a seat follows only when it's still as an apply of that label left it.
|
|
1042
|
+
|
|
1043
|
+
"Configured" and "applied" describe what the seat's next launch uses and what an apply reported. They aren't proof of
|
|
1044
|
+
the login a running session uses.
|
|
1045
|
+
|
|
1046
|
+
**Other machines.**
|
|
1047
|
+
- `--host <id>` runs `rig provider account`, `assign` or `status` on that registered machine over its SSH entry. The
|
|
1048
|
+
rig, the labels and the paths are that machine's.
|
|
1049
|
+
- A lost connection during an add, a remove or an apply is reported as an unknown outcome, naming the read that checks
|
|
1050
|
+
it.
|
|
1051
|
+
- `rig provider status --all-hosts` (or `--hosts`) shows each HTTP host's seats with their assignments. An SSH entry
|
|
1052
|
+
there points at `rig provider status --host <id>`.
|
|
1053
|
+
|
|
1054
|
+
**What it doesn't do.**
|
|
1055
|
+
- It doesn't sign in, or create or copy credentials. Signing in on another machine is tracked in #3628.
|
|
1056
|
+
- It doesn't assign seats added to the rig later: run the assignment again.
|
|
1057
|
+
- A Codex seat moves in place only on Linux and macOS.
|
|
1058
|
+
|
|
887
1059
|
### Choosing the Claude instruction file
|
|
888
1060
|
|
|
889
1061
|
OpenRig writes its instructions for Claude Code members into managed blocks in
|
|
@@ -950,7 +1122,7 @@ directory's `CLAUDE.md`, including blocks written by other rigs.
|
|
|
950
1122
|
| `codex_permissions` | mapping | no | — | Codex-only sandbox and approval envelope, emitted as explicit flags on every managed launch and resume; see [per-member Codex permissions](#per-member-codex-permissions). |
|
|
951
1123
|
| `claude_token` | mapping | no | — | Claude-only `{ label, file }`: the seat's own subscription token file, by absolute path, used from its first launch; see "A seat's own subscription token" under [launch environment](#launch-environment). |
|
|
952
1124
|
| `runtime` | string | yes | — | Agent runtime. Current supported values: `claude-code`, `codex`, `pi`, `omp`, `terminal`, `stub`. `stub` is a deterministic test harness, not an agent: a Node runner in the seat's tmux pane goes through the normal launch, skill projection, startup-file and readiness path, follows `<cwd>/.openrig/stub/script.json` when present, and calls no model. See "What a stub can and cannot prove" in `docs/as-built/test-layers.md`. |
|
|
953
|
-
| `cwd` | string | yes | — | Working directory for the agent. A relative path resolves against the rig root (the directory containing the rig spec). If that path exists as written, it is used. Otherwise a leading `~` or `~/` expands to the home directory (`~user` does not) and `$VAR` / `${VAR}` expand from the daemon host's environment; a relative result still resolves against the rig root. A reference to an unset variable stays as written, so the cwd is that literal path and works only if it exists. Use `"."` for the rig root itself. Can be overridden at launch time with `rig up --cwd`. A cwd inside the OpenRig installation fails preflight unless `--cwd` is given. Editing this declaration does not update an existing seat; use [`rig seat set-cwd`](agent-startup-guide.md#change-an-existing-seats-working-directory) to save its future launch directory. |
|
|
1125
|
+
| `cwd` | string | yes | — | Working directory for the agent. `${project:<id>}/relative/path` (or `${project:<id>}` for its root) resolves against that named project in the workspace catalog, in any rig spec. A missing, ambiguous or malformed project reference reports a preflight error; register or correct the project, or supply `--cwd`. Bundles that carry the named project preview its destination and register it before launch ([member working directories in a carried project](rig-bundle.md#member-working-directories-in-a-carried-project)). A relative path resolves against the rig root (the directory containing the rig spec). If that path exists as written, it is used. Otherwise a leading `~` or `~/` expands to the home directory (`~user` does not) and `$VAR` / `${VAR}` expand from the daemon host's environment; a relative result still resolves against the rig root. A reference to an unset variable stays as written, so the cwd is that literal path and works only if it exists. Use `"."` for the rig root itself. Can be overridden at launch time with `rig up --cwd`. A cwd inside the OpenRig installation fails preflight unless `--cwd` is given. Editing this declaration does not update an existing seat; use [`rig seat set-cwd`](agent-startup-guide.md#change-an-existing-seats-working-directory) to save its future launch directory. |
|
|
954
1126
|
| `label` | string | no | — | Human-readable member name. Shown in UI when present. |
|
|
955
1127
|
| `model` | string | no | — | Model override. Runtime-specific (e.g., `claude-opus-4-6` for Claude Code). |
|
|
956
1128
|
| `effort` | string | no | — | Reasoning effort override, trimmed. Claude gets `--effort`, Codex `-c model_reasoning_effort=…`, Pi `--thinking` (see "Pi" below). A non-string value is ignored with an advisory. |
|
|
@@ -1504,6 +1676,7 @@ members:
|
|
|
1504
1676
|
dispatch_tag: role:impl
|
|
1505
1677
|
cwd_template: /work/{rig}/{slot}
|
|
1506
1678
|
drain: false
|
|
1679
|
+
dispatch_guard: [/usr/local/bin/pool-guard, --strict]
|
|
1507
1680
|
```
|
|
1508
1681
|
|
|
1509
1682
|
Stored and validated; it has no runtime effect until the seat pool job is armed.
|
|
@@ -1518,6 +1691,7 @@ Stored and validated; it has no runtime effect until the seat pool job is armed.
|
|
|
1518
1691
|
| `dispatch_tag` | non-empty string | none: every row to the model | Move only the model's rows that carry this tag. |
|
|
1519
1692
|
| `cwd_template` | absolute path; only `{rig}` and `{slot}` | none: the model's folder | Each pool agent's working folder, with `{rig}` and `{slot}` filled in. `{slot}` is optional: without it the agents share one folder. |
|
|
1520
1693
|
| `drain` | `true` or `false` | `false` | Empties the pool. |
|
|
1694
|
+
| `dispatch_guard` | non-empty list of non-empty strings; the first an absolute path | none: no guard | A command, with its own arguments, asked once per planned move; exit 75 vetoes that move. See [Seat pools: the dispatch guard](seat-pools.md#the-dispatch-guard). Never a shell string. |
|
|
1521
1695
|
|
|
1522
1696
|
- **Validation:** whatever is wrong inside the block is an advisory, never a spec error, reported as
|
|
1523
1697
|
`<pod>.<member> pool.<field>: <reason>; pool not used`: a wrong type, a value out of bounds, `max` below `min`, a
|
|
@@ -1527,6 +1701,8 @@ Stored and validated; it has no runtime effect until the seat pool job is armed.
|
|
|
1527
1701
|
seat replaces a stored block whole, clears it with `pool: {}` and leaves it unchanged when the key is absent. A block
|
|
1528
1702
|
that can't be used is stored as written (as JSON: a number JSON can't hold, such as `.inf` or `.nan`, is stored as
|
|
1529
1703
|
`null`, still unusable), with its error, rather than clearing the one before; it is not a removal.
|
|
1704
|
+
A `dispatch_guard` written as one string (`"/usr/local/bin/pool-guard --strict"`), an empty list, a list item that
|
|
1705
|
+
isn't non-empty text, or a command that isn't an absolute path is an advisory like the others.
|
|
1530
1706
|
A fresh launch of the seat from its recorded launch keeps the stored block.
|
|
1531
1707
|
- **Export and bundles:** `rig spec export` leaves the pool's agents out and writes the model member with its block;
|
|
1532
1708
|
an edge touching a pool agent is left out and named in a "Not carried" line. `rig bundle create` doesn't count pool
|
|
@@ -1678,18 +1854,37 @@ Rig names resolve only among unarchived rigs, and an ambiguous name requires an
|
|
|
1678
1854
|
explicit ID. These commands target the local daemon, as `rig add` does.
|
|
1679
1855
|
|
|
1680
1856
|
Managed Claude compaction also uses the delegation parent for two diagnostic notices: repeated
|
|
1681
|
-
|
|
1857
|
+
automatic preparation attempts that end without `/compact` (three for one occupant, whether the
|
|
1858
|
+
request was never delivered or was delivered and no complete restore map followed) and repeated
|
|
1859
|
+
restore-delivery failures. If the seat has no recorded
|
|
1682
1860
|
parent session (including when it is outside the recorded topology), these notices go to the
|
|
1683
1861
|
configured registered human operator, or the default registered person when no operator is set.
|
|
1684
|
-
If no registered person can be selected,
|
|
1685
|
-
|
|
1686
|
-
|
|
1862
|
+
If no registered person can be selected, they go to the receiving agent (`agents.operator_session`,
|
|
1863
|
+
else the kernel operator seat when this host has one), and the notice says it is a receiver fallback,
|
|
1864
|
+
not the person's selection. With neither, OpenRig creates no notice rather than inventing a
|
|
1865
|
+
destination: `rig compact <seat> --state` reports a restore-delivery notice failure, and for a
|
|
1866
|
+
preparation notice its `preparationNotice` reads `not_addressed` with the reason; later polls try
|
|
1867
|
+
again. A parent is the source of a `delegates_to` edge
|
|
1687
1868
|
to the seat; declare one when an agent should receive these notices. With multiple parents, the
|
|
1688
1869
|
parent session with the latest creation time is selected; `escalates_to` is not used for these
|
|
1689
1870
|
notices. The restore-delivery notice to a person omits local paths and
|
|
1690
1871
|
points to `rig compact <seat> --state` on the host; the preparation notice includes its state-file
|
|
1691
|
-
evidence reference and attempt details
|
|
1692
|
-
|
|
1872
|
+
evidence reference and attempt details, the latest context sample, the seat's newest complete restore
|
|
1873
|
+
map and the existing recovery choices (to a person, without local paths). Treat these notices and any
|
|
1874
|
+
chat relay accordingly.
|
|
1875
|
+
|
|
1876
|
+
A recipient must be able to act. A parent or receiving agent whose own managed compaction OpenRig has
|
|
1877
|
+
recorded as failing (its own preparation notice's run: three automatic attempts ended without
|
|
1878
|
+
`/compact` for its current occupant, its usage still above the threshold) is passed over, with that
|
|
1879
|
+
named, for the next route. A notice already with an agent that becomes unable this way moves, as the
|
|
1880
|
+
same row with its history, to the next capable recipient: a pending notice with a wake, a claimed one
|
|
1881
|
+
without. Unknown or unread capacity is not inability. When no capable recipient resolves, the notice
|
|
1882
|
+
stays with the first agent the route reached and says plainly that no capable recipient was
|
|
1883
|
+
established. The notices an unable agent holds are re-checked on each of its polls, with or without
|
|
1884
|
+
a fresh usage sample and also when nobody can receive its own notice, so a capable recipient chosen
|
|
1885
|
+
later takes them at the next poll; once
|
|
1886
|
+
the agent can act again, the ones it kept stop saying that no capable recipient was established.
|
|
1887
|
+
Otherwise existing notices keep their destination when the topology changes.
|
|
1693
1888
|
|
|
1694
1889
|
A `delegates_to` edge also decides routing. A seat's stuck-row findings and recovery go to its most
|
|
1695
1890
|
recently started parent. A person's top-level Slack message in the rig's mapped channel goes to the rig's
|
|
@@ -51,7 +51,12 @@ another preference store or infer delegation from workflow existence or activity
|
|
|
51
51
|
The existing SQLite mode-binding table remains the only preference store. Matching
|
|
52
52
|
posture bindings resolve in this order: qitem, workstream, mission, project, rig,
|
|
53
53
|
global host. The qualifiers are respectively a qitem ID, `project/mission/slice-id`,
|
|
54
|
-
`project/mission`, project ID, canonical rig ID, and null. Rig names resolve to IDs
|
|
54
|
+
`project/mission`, project ID, canonical rig ID, and null. Rig names resolve to IDs: an ID
|
|
55
|
+
resolves exactly, and a name to the one live rig with it. Archived rigs of that name count only
|
|
56
|
+
when no live one has it, and a name that still matches several rigs reports `unknown` with their
|
|
57
|
+
IDs in the reason, so one can be named by ID. A qitem addressed to a seat takes that seat's rig;
|
|
58
|
+
one addressed to a person (`<person>@external`) names no rig, and its posture comes from its work
|
|
59
|
+
scope.
|
|
55
60
|
The workstream is an existing authored slice, found by its directory or SPEC ID;
|
|
56
61
|
the returned identity uses its SPEC ID and project/mission qualification.
|
|
57
62
|
|
|
@@ -37,7 +37,7 @@ one does not deprecate the others. Nothing below deletes or overrides an existin
|
|
|
37
37
|
| **PRODUCT / MISSION PREPARATION** | **The product-management pass** — the layer above planning, run by the advisor/PM seat before planners touch a mission. The build is a lossy compression pipeline (PM intent → planner spec → builder code); nothing leaks downward by proximity, so this pass grounds in the raw sources, synthesizes ONE scope of record, presents owner decisions decision-ready, mints slices at plan time, deposits the full design contract INLINE in each design-bearing spec (owner words verbatim, settled decisions, evidence, shape of done, anti-goals), routes the complete reading list and internet-research assignments from the spec itself, frames each slice's planning-dial rung with its reason, and rereads every spec as the narrow downstream reader. The measuring stick: SPEC.md alone, plus what it explicitly routes to, reproduces the intent in a reader with none of the author's context. Full reference: `product-management-pass.md`. |
|
|
38
38
|
| **PLAN** | **The planning dial** — planning rigor is a spectrum chosen per piece: P0 mini-requirements and pointers (simple, reversible work) · P1 an authored spec with a proof contract (the default) · P2 plus a research round before the spec freezes, run BEFORE build dispatch · P3 plus an adversarial pass by a non-author, judged against product goals, landing amendments with proof-contract teeth · P4 plus a blind from-scratch design diffed against priors before proceeding. Dial up by what the piece is, exactly as build care is priced below. Full reference: `planning-dial.md`. |
|
|
39
39
|
| **BUILD** | **Part A, the simple flow** (below — the default) · **product-journey components** — a mission-selectable menu for greenfield work, drift recovery, public journey probes, one evidence-gated look at the layer below, minimal repair, independent QA/review, integration, and installed smoke; compose only what the work needs in mission/slice YAML, never as a new mode or mandatory pipeline. Full reference: `product-journey-sdlc.md` · **the wave model** — slices build in parallel in disjoint file territories, an integrator merges serially, and independent review fires once per wave (two reviewers with different vantages, never the writers; fix rounds re-earn verdicts at one final revision; per-slice discipline stays failing-test-first and verify-by-effect). The wave IS the care dial: what shares a wave decides how much review each piece gets · **Part B, the rigorous overlay** (below — only when assigned). These combine: a wave can carry one Part-B piece. Full wave reference: `wave-sdlc.md`. |
|
|
40
|
-
| **DISPATCH DATA** | **The execution-data conventions (S27)** — three tiny data disciplines that make execution state derivable instead of hand-tabulated, consumed by `rig view show execution`. **EC-1, edges in frontmatter:** every open slice carries its build-order edges in `depends_on:` (an inline JSON array; an explicit `[]` is a statement, absence is INDETERMINATE), and the execution view's sequencing reads them as edges. Proof readiness and eligibility use only `slice.yaml`'s `execution.depends_on`; frontmatter-only edges stay advisory there (#1372). `rig scope slice create` keeps the two paths apart: `--depends-on` writes the advisory SPEC frontmatter list, and `--execution-depends-on` writes `slice.yaml` `execution.depends_on` (#3615). Recorded edges never make a slice runnable; lifecycle eligibility also needs its execution contract. When `slice.yaml` carries `execution.depends_on`, that list takes precedence; soft/serialization edges are one machine-readable Territory line, exactly `SOFT-AFTER: [ids] — reason`. In `rig view show execution`, each `readiness.slices[]` entry says which applied in `dependsOnBasis`: `slice.yaml` (its list, `[]` included), `frontmatter-advisory` (an inline JSON array in the SPEC frontmatter only), `frontmatter-unparsed` (a frontmatter list in another form, not read as edges) or `not-recorded` (no order recorded: INDETERMINATE, not none). In all but `slice.yaml`, eligibility assumes no recorded edges. **EC-2, wave-as-data:** wave composition + review model live in `mission.yaml` `arrangement.waves` (`{id, slices, review_model?}`; a slice may also name its wave in `slice.yaml` `execution.wave`). Only when the mission has no `mission.yaml`, or it is malformed, does the view fall back to the legacy form: the newest queue row tagged `format:wave-map-v1` and `mission:<mission>` whose body carries one fenced ```json block (`{format:"wave-map-v1", mission, waves:[{id, slices, serialized_order?, review_model?}]}`) — composition only, never status labels (status derives at read time); the planning dial recorded at lock surfaces as the frontmatter field `approved-spec-dial:` beside the approve stamp. **EC-3, dispatch names the worktree:** build batons carry the exact body line `worktree_path=<path>` from dispatch onward — it is Q1's join key; batons without it join by naming only and the view marks them `fragile_join`. **Lanes:** Q1 lists each in-progress row as a lane; a row parked on `external:<what>` also appears as a waiting lane, marked `waiting: {on}`. `external:` records an outside dependency (a review, a decision, a capacity limit, a lifecycle step); it does not mean an outside party owns all the work, or that the parked seat is the slice's builder. The views show it as a waiting row (the seat, the blocker, a link to the row), not as the slice's assignment. It yields to an in-progress lane on the same slice, and it is not counted in `lanes_live`, so `q1_lanes` can be longer than `lanes_live`. Rows parked on a qitem, a human seat, or a `fold:`/`auth:` gate are not lanes. Existing batons are never rewritten. |
|
|
40
|
+
| **DISPATCH DATA** | **The execution-data conventions (S27)** — three tiny data disciplines that make execution state derivable instead of hand-tabulated, consumed by `rig view show execution`. **EC-1, edges in frontmatter:** every open slice carries its build-order edges in `depends_on:` (an inline JSON array; an explicit `[]` is a statement, absence is INDETERMINATE), and the execution view's sequencing reads them as edges. Proof readiness and eligibility use only `slice.yaml`'s `execution.depends_on`; frontmatter-only edges stay advisory there (#1372). `rig scope slice create` keeps the two paths apart: `--depends-on` writes the advisory SPEC frontmatter list, and `--execution-depends-on` writes `slice.yaml` `execution.depends_on` (#3615). On an existing slice, `rig scope slice set <slice> --execution-depends-on <ids...>` replaces that list with the same sibling and self checks, and `--clear-execution-depends-on` removes it; the output says when proof readiness can't read the edges (a cycle or an unknown sibling). Proof readiness and the project lifecycle compiler both resolve an edge by a sibling's own identity first, else by the dot-ID one sibling declares in its `SPEC.md`; a dot-ID two slices declare resolves to nothing. Recorded edges never make a slice runnable; lifecycle eligibility also needs its execution contract. When `slice.yaml` carries `execution.depends_on`, that list takes precedence; soft/serialization edges are one machine-readable Territory line, exactly `SOFT-AFTER: [ids] — reason`. In `rig view show execution`, each `readiness.slices[]` entry says which applied in `dependsOnBasis`: `slice.yaml` (its list, `[]` included), `frontmatter-advisory` (an inline JSON array in the SPEC frontmatter only), `frontmatter-unparsed` (a frontmatter list in another form, not read as edges) or `not-recorded` (no order recorded: INDETERMINATE, not none). In all but `slice.yaml`, eligibility assumes no recorded edges. **EC-2, wave-as-data:** wave composition + review model live in `mission.yaml` `arrangement.waves` (`{id, slices, review_model?}`, or `{id, lanes: {<lane>: [...]}}`; a slice may also name its wave in `slice.yaml` `execution.wave`, which the view reads first). `rig scope mission set <mission> --wave <id> --slices <a,b>` sets a wave's slices (adding the wave when absent, keeping its other keys), `--lane <name>` sets one lane of a lane-shaped wave, and it never writes a `slices` list beside a wave's lanes. A wave is composition, not dispatch. `rig scope slice set <slice> --owner <component>=<member>@<rig>` sets a planned owner in `slice.yaml` `sdlc.components[]` (`--clear-owner <component>` removes one): planned metadata the view shows, not a queue assignment. Each setter edits only its field, keeps comments and other keys, writes nothing on a rerun, leaves a file it can't parse untouched, and prints what the view now reads. Only when the mission has no `mission.yaml`, or it is malformed, does the view fall back to the legacy form: the newest queue row tagged `format:wave-map-v1` and `mission:<mission>` whose body carries one fenced ```json block (`{format:"wave-map-v1", mission, waves:[{id, slices, serialized_order?, review_model?}]}`) — composition only, never status labels (status derives at read time); the planning dial recorded at lock surfaces as the frontmatter field `approved-spec-dial:` beside the approve stamp. **EC-3, dispatch names the worktree:** build batons carry the exact body line `worktree_path=<path>` from dispatch onward — it is Q1's join key; batons without it join by naming only and the view marks them `fragile_join`. **Lanes:** Q1 lists each in-progress row as a lane; a row parked on `external:<what>` also appears as a waiting lane, marked `waiting: {on}`. `external:` records an outside dependency (a review, a decision, a capacity limit, a lifecycle step); it does not mean an outside party owns all the work, or that the parked seat is the slice's builder. The views show it as a waiting row (the seat, the blocker, a link to the row), not as the slice's assignment. It yields to an in-progress lane on the same slice, and it is not counted in `lanes_live`, so `q1_lanes` can be longer than `lanes_live`. Rows parked on a qitem, a human seat, or a `fold:`/`auth:` gate are not lanes. Existing batons are never rewritten. |
|
|
41
41
|
| **RELEASE** | The release ceremony conventions (publication identity, honest release notes) and the CAPABILITY-DELTA LIFECYCLE LAW: each release's delta is authored at the fence and bound to the exact candidate, then reconciled to the published cut. Expiry requires both the canon header naming the absorbed delta and a distinct successor delta existing; a draft header alone is insufficient. Verify the actual boundary event and stop citing an expired delta. Full statement: `release-boundary.md` §6. |
|
|
42
42
|
| **BOUNDARY** | **The release boundary** — housekeeping run once per fence so the next release starts clean: seats reset or re-primed per their continuity needs, memory distilled (keep what changed a decision recently), every queue swept by destination and dispositioned, substrate torn down, boards frozen as records, a clean-box baseline captured. A checklist of judgment guides, not gates. Full reference: `release-boundary.md`. |
|
|
43
43
|
|
|
@@ -236,9 +236,15 @@ missions whose `mission.yaml` carries `metadata.status: active` or
|
|
|
236
236
|
a mission does not change the project's readiness. A `planned` mission stays
|
|
237
237
|
outside the rollup, even after its slices are accepted, until someone changes
|
|
238
238
|
its status to `active` (or `release-candidate` for a release that is ready to
|
|
239
|
-
judge)
|
|
240
|
-
`metadata.status: complete`,
|
|
241
|
-
|
|
239
|
+
judge), with `rig scope mission set <mission> --status active`. Nothing changes
|
|
240
|
+
the status automatically. A mission can also carry `metadata.status: complete`,
|
|
241
|
+
which `rig scope mission set <mission> --status complete` and
|
|
242
|
+
`POST /api/missions/:missionId/complete` write; a `complete` mission is outside
|
|
243
|
+
the rollup too. A status is a label for planning and the rollup, not proof that
|
|
244
|
+
the work is done: readiness is judged separately. `--status` goes through the
|
|
245
|
+
daemon, so the slice list shows the new word at once; with no daemon answering
|
|
246
|
+
it's written directly, and a running daemon can show the earlier word for up to
|
|
247
|
+
a minute.
|
|
242
248
|
Missions created before this default carry no status and are not counted either;
|
|
243
249
|
add the line by hand to include them. It also writes `metadata.name`, the mission's folder name, which
|
|
244
250
|
the project lifecycle compiler requires; a mission created without it refuses to
|
|
@@ -193,6 +193,23 @@ behaviour rather than being labelled the person or a peer. The existing
|
|
|
193
193
|
adds no restriction there. Its existing-input check applies independently of the
|
|
194
194
|
typing mode. Plain tmux is not prevented.
|
|
195
195
|
|
|
196
|
+
### Files read during managed restore
|
|
197
|
+
|
|
198
|
+
A managed restore no longer stops at a permission prompt to read OpenRig's own
|
|
199
|
+
role file or other shipped spec files. A role file from your own spec root still
|
|
200
|
+
asks.
|
|
201
|
+
|
|
202
|
+
The launch settings OpenRig builds for a Claude seat allow reading its restore
|
|
203
|
+
files. They also allow reading Markdown files under the installed daemon's own
|
|
204
|
+
`specs` directory, where a restore map can name a seat's role file. OpenRig grants
|
|
205
|
+
the directory both where it's named and where it resolves, when the install uses a
|
|
206
|
+
symlink. It doesn't move the files or rewrite saved restore maps.
|
|
207
|
+
|
|
208
|
+
These allowances are reads only. The seat's native mode and its existing deny and
|
|
209
|
+
ask rules still apply, and custom spec roots aren't included. A Claude seat that's
|
|
210
|
+
already running gets this at its next fresh launch, resume or fork. A continuation
|
|
211
|
+
that keeps its captured native arguments keeps the earlier allowances.
|
|
212
|
+
|
|
196
213
|
### Deliberate interaction and existing input
|
|
197
214
|
|
|
198
215
|
A managed `rig send <seat> "<answer>" --dangerously-interact --reason "<why>" can
|
|
@@ -259,7 +276,8 @@ and effective modes and retains the text `Typing guard: on (hold)` for hold.
|
|
|
259
276
|
|
|
260
277
|
A held send immediately returns `outcome: "retained"`, `sent: false`, its exact
|
|
261
278
|
reason and the saved attempt's `outboxIds`. No automatic
|
|
262
|
-
retry is scheduled
|
|
279
|
+
retry is scheduled, except for a message held only for a draft (see "Messages held
|
|
280
|
+
for a draft" below). `rig send` to several seats and `rig broadcast` print a held
|
|
263
281
|
recipient as `retained, not delivered; inspect with rig seat held-messages`, never
|
|
264
282
|
as sent, and their summary adds the held count (`1/3 delivered, 1 held`). A held
|
|
265
283
|
recipient alone doesn't make the command fail. The reasons are:
|
|
@@ -292,7 +310,7 @@ refusal nor retries an attempt; missing metadata cannot establish which check
|
|
|
292
310
|
caused a historical refusal.
|
|
293
311
|
|
|
294
312
|
Clearing a draft, changing modes or restarting does not flush saved messages or
|
|
295
|
-
callbacks. To try again, send a current request: it rechecks the recipient and input.
|
|
313
|
+
callbacks, except a message held only for a draft (below). To try again, send a current request: it rechecks the recipient and input.
|
|
296
314
|
A caller abort before paste cancels input; after a write may have started, the
|
|
297
315
|
result preserves that uncertainty rather than claiming nothing was sent.
|
|
298
316
|
|
|
@@ -308,10 +326,12 @@ preserving evidence; it does not deliver a message or close queue work.
|
|
|
308
326
|
A seat holds one message per sender, so one sender can't fill its held quota and
|
|
309
327
|
drop everyone else's messages. A sender's newest held message retires its earlier
|
|
310
328
|
ones at that seat into itself (`retired_by: outbox@system`, reason `coalesced into
|
|
311
|
-
<id>`), in every mode, `draft-aware` included
|
|
329
|
+
<id>`), in every mode, `draft-aware` included, except a message held only for a
|
|
330
|
+
draft, which keeps its own outcome (below). The newest names them: `rig seat
|
|
312
331
|
held-messages` shows `coalesced: { count, outboxIds }` on it, and each coalesced
|
|
313
|
-
record stays readable with `--id`. Held messages are never replayed
|
|
314
|
-
|
|
332
|
+
record stays readable with `--id`. Held messages are never replayed, except a message
|
|
333
|
+
held only for a draft (below), and a `draft-aware` queue wake's bounded retry, below,
|
|
334
|
+
delivers only an entry still held, so this changes
|
|
315
335
|
no delivery. A `draft-aware` attempt takes its sender's place only once it settles
|
|
316
336
|
as held; one that is then delivered leaves the held messages as they are. A queue
|
|
317
337
|
wake to a `draft-aware` seat counts its sender's held message there as room, by the
|
|
@@ -326,6 +346,63 @@ watchdog's reminders (one per job), and an unattributed sender.
|
|
|
326
346
|
A backlog held before this change clears at that sender's next held message to the
|
|
327
347
|
seat, or at once with `rig seat retire-held-message`.
|
|
328
348
|
|
|
349
|
+
**Messages held for a draft.** In `draft-aware` mode, a plain message from an agent
|
|
350
|
+
or a person that is held only because the input showed a draft (`draft_input_busy`,
|
|
351
|
+
`draft_input_unknown` or `draft_input_changed`) is marked when it's first held, and
|
|
352
|
+
its result says it goes once the input is clear.
|
|
353
|
+
|
|
354
|
+
- When the seat is idle with `draft-aware` still on, marked messages are sent oldest
|
|
355
|
+
first, each through the same guarded delivery. That delivery reads the input again
|
|
356
|
+
and holds the message again if it still isn't clear.
|
|
357
|
+
- A try runs when the seat's activity changes, and the seat-activity check offers it
|
|
358
|
+
again when the state stays the same: about every 4.5 seconds after a try that met
|
|
359
|
+
recent typing, a drain, a restore or an input it couldn't read, and at once for a newly
|
|
360
|
+
held message. A draft it saw in the input on two tries waits until the pane changes. A
|
|
361
|
+
try that couldn't read the input, or its clients' activity, isn't a draft seen, so the
|
|
362
|
+
offers go on and the next one finds a reader that has recovered.
|
|
363
|
+
- Each message keeps its own outcome, and the pass stops at the first one that isn't
|
|
364
|
+
delivered, except one whose own paste was just refused, which it goes past (below).
|
|
365
|
+
A delivered or uncertain message is never sent again. A drain, a pending
|
|
366
|
+
restore or leaving `draft-aware` stops the pass until it clears, including one that
|
|
367
|
+
takes effect while the message waits for its turn to type, or just before its paste;
|
|
368
|
+
nothing is typed then. One the pass gave to the seat's hook bridge waits there through
|
|
369
|
+
a drain that starts later, as the bridge's automatic deliveries do (below).
|
|
370
|
+
- Order holds per sender: while a sender's marked message is still owed at the seat
|
|
371
|
+
(held, or being tried again), that sender's later plain message is held behind it
|
|
372
|
+
(`draft_held_behind_earlier`), marked too, and typed after it, even with the input
|
|
373
|
+
clear or with the seat's hook bridge live. Other senders' messages aren't held behind
|
|
374
|
+
it. This holds for messages that are saved with room in the seat's held quota; one
|
|
375
|
+
that can't be saved goes as it would without it.
|
|
376
|
+
- A marked message whose own paste is then refused (control characters, a long Codex
|
|
377
|
+
paste, the viewport) is no longer owed: it stays held and readable, its result says to
|
|
378
|
+
send it again changed, and later messages stop waiting behind it: the same pass goes
|
|
379
|
+
on to them.
|
|
380
|
+
- A marked message being tried again when the daemon stopped, including one the hook
|
|
381
|
+
bridge had handed back for typing, reads uncertain after the restart: it isn't typed
|
|
382
|
+
again, and later messages don't wait behind it. One that was only queued for the bridge
|
|
383
|
+
stays queued and still owed, and the bridge delivers it (below).
|
|
384
|
+
- A message held for an earlier occupant of the seat stays held and listed. Later
|
|
385
|
+
messages for the current occupant still go.
|
|
386
|
+
- Marked messages aren't coalesced by the one-per-sender rule above. Instead, one
|
|
387
|
+
sender keeps at most five at a seat. Past that, its oldest is coalesced into the
|
|
388
|
+
newest (`coalesced into <id>`, readable with `--id`), and the sender's result names
|
|
389
|
+
it.
|
|
390
|
+
- At a full quota, a new message takes its sender's place as above, among that sender's
|
|
391
|
+
unmarked held messages: marked ones aren't replaced. When marked messages fill the
|
|
392
|
+
quota, a new one can't be held, and it says the seat's held quota is full.
|
|
393
|
+
- Not marked, so held as above:
|
|
394
|
+
- messages held before this behaviour;
|
|
395
|
+
- `hold`-mode messages;
|
|
396
|
+
- other held reasons;
|
|
397
|
+
- queue wakes, which have their own retry;
|
|
398
|
+
- messages from OpenRig's own senders (the daemon, `system:*` actors, watchdogs).
|
|
399
|
+
- Leaving `draft-aware` (to `off` or `hold`) leaves marked messages held until it's on
|
|
400
|
+
again.
|
|
401
|
+
- Releasing `hold` tells the seat once what was held, with `rig seat held-messages`.
|
|
402
|
+
Nothing held is typed. That notice is one best-effort attempt when the release takes
|
|
403
|
+
effect: a daemon restart before then, or the notice itself being held, leaves no
|
|
404
|
+
notice. `rig seat held-messages` always lists what's held.
|
|
405
|
+
|
|
329
406
|
### Claude hook bridge (opt-in)
|
|
330
407
|
|
|
331
408
|
A Claude seat can opt in to receiving messages through its own launch-owned hooks instead of typed input. OpenRig then
|
|
@@ -369,10 +446,10 @@ The bridge is used only for an occupant launched with it, once its waiter has ar
|
|
|
369
446
|
- A waiter is live while it has polled within 20 s and its seat is idle or within 15 minutes of its turn's start; with no waiter polling, while the seat is in a turn the bridge waits on, for at most 15 minutes.
|
|
370
447
|
- A new message goes behind messages already queued for the seat, even after the seat opts out, so they're typed in order. A send cancelled while it waits for the seat's lease isn't queued.
|
|
371
448
|
- Messages already queued are typed in order, by one sweep at a time (every 5 s) once they've waited 20 s without a live waiter. The sweep takes back each message under the seat's delivery lease, just before typing it; one the bridge took first isn't typed, and nothing behind it overtakes it. A waiter's poll takes the same lease, so it can't take the next message while an earlier one is being typed.
|
|
372
|
-
- A daemon restart leaves messages that were only queued for the bridge queued; they aren't marked indeterminate. A batch a waiter had taken before the restart
|
|
449
|
+
- A daemon restart leaves messages that were only queued for the bridge queued; they aren't marked indeterminate, and the bridge delivers each once, by the rules above: to a waiter at the seat's next turn boundary, or typed after the bound. Restart recovery runs before the bridge's sweep can take one. A batch a waiter had taken before the restart reads uncertain after it, and a message the bridge had handed back for typing isn't sent again.
|
|
373
450
|
- A waiter exits by itself shortly before its hook timeout and reports that it expired. The next turn re-arms it.
|
|
374
451
|
|
|
375
|
-
**What still decides first.** The typing guard: hold and the interruption levels hold or refuse as for typed delivery. A rig's delivery drain holds the bridge's automatic deliveries (queue wakes) as it holds typed ones: while the seat's rig is drained, no waiter takes them and no fallback types them,
|
|
452
|
+
**What still decides first.** The typing guard: hold and the interruption levels hold or refuse as for typed delivery. A rig's delivery drain holds the bridge's automatic deliveries (queue wakes, and a held message's retry) as it holds typed ones: while the seat's rig is drained, no waiter takes them and no fallback types them, and they're delivered in their order once the drain ends. A fallback reads the drain under the seat's lease when it takes one back for typing; a held message's retry is also read again just before its paste, and one a drain or a pending restore refuses there goes back to the held list. A change of the seat's typing mode alone doesn't hold a retry the bridge already has: the typing guard decides it as for any typed delivery. A direct send and an explicit queue notification pass a drain, and pass any held wakes, as on the typed path. A queue wake whose row no longer wants it (claimed, closed or moved on) isn't handed over: it ends `failed` (`not-delivered`), as the typed path refuses it. If the drain can't be read, delivery goes ahead and the daemon log says so.
|
|
376
453
|
The bridge only replaces how an admitted message reaches the seat. Watchdog reminders and queue wakes take the same path.
|
|
377
454
|
|
|
378
455
|
**Cost.** Each wake is one model turn on the seat's own login. A burst of messages to an idle seat can cost several.
|
|
@@ -420,8 +497,17 @@ Migration `100_typing_guard_modes` extends the existing guard/audit rows and
|
|
|
420
497
|
adds receipt metadata to the original outbox rows; it creates no tables, retry
|
|
421
498
|
indexes or executable requests. Combined wakes retain each original ID and body.
|
|
422
499
|
A held queue wake stays on the existing queue recovery path. A row created straight to
|
|
423
|
-
a `draft-aware` seat
|
|
424
|
-
`draft-aware` mode,
|
|
500
|
+
a `draft-aware` seat, or handed to it with `rig queue handoff`, is tried again when the
|
|
501
|
+
seat next reports idle while it's still in `draft-aware` mode, whichever wake was held (the
|
|
502
|
+
row's own, its unpark's or its reroute's), through the same guarded
|
|
503
|
+
delivery and within `queue.wake_retry_cap`. A held wake not tried yet, and each try the guard
|
|
504
|
+
held, gets one more offer while the seat stays idle with nothing new to report, so a draft
|
|
505
|
+
deleted or left with no report doesn't strand it: after about 4.5 s, and not before the
|
|
506
|
+
guard's quiet window for activity at the seat's own terminal has ended. An offer that
|
|
507
|
+
couldn't try (a drain, an owed restore, the seat not idle, or a drain that starts during
|
|
508
|
+
the pass) is offered again later, and records no try. The
|
|
509
|
+
wake ladder doesn't also retry these rows on its own timer; a handed-off row at a seat
|
|
510
|
+
that isn't in `draft-aware` mode keeps the ladder's retry.
|
|
425
511
|
Switching modes alone replays nothing; a retry already admitted while the seat was
|
|
426
512
|
`draft-aware` goes once. Still held past that cap or
|
|
427
513
|
`queue.wake_unconfirmed_window_minutes`, or held in `hold` mode past the window, the row
|
|
@@ -504,10 +590,20 @@ current parked-row eligibility and stop checks still apply. This changes message
|
|
|
504
590
|
structured continuity actions such as creating a cutover baton.
|
|
505
591
|
|
|
506
592
|
The parked-owner supervisor also retries current obligations despite an earlier failed, unknown or unrecorded attempt.
|
|
507
|
-
|
|
508
|
-
|
|
593
|
+
An owner with open obligations whose activity is unknown is also eligible; the reminder and its evidence note say
|
|
594
|
+
activity was unknown. `rig parked` still reports that uncertainty. Unknown activity gets no waiting-state grace.
|
|
595
|
+
For a positively idle seat, its first reminder waits until the waiting state has been unchanged for 5 minutes, then goes
|
|
596
|
+
on the next watchdog tick, so a seat that just handed work off or asked a person isn't interrupted; a seat still holding the work after
|
|
509
597
|
that is reminded as before. A seat at an approval or question prompt gets no grace, so the prompt-blocked alert isn't delayed.
|
|
510
|
-
A recorded success to the same known occupant waits for a change in its obligations
|
|
598
|
+
A recorded success to the same known occupant waits for a change in its obligations, and then for that owner's
|
|
599
|
+
minimum interval: one hour by default, counted from the reminder that was typed and submitted (an attempt that may or
|
|
600
|
+
may not have been sent, a failed one and a refused one start nothing), and tied to the agent running as the owner, so a
|
|
601
|
+
replacement doesn't inherit it. When it ends, one reminder names the eligible open items and marks the ones that opened
|
|
602
|
+
since the last one. The job's `context.owner_min_interval_s` sets it: a number for every owner, a map from owner session
|
|
603
|
+
to seconds for one at a time, and `0` turns it off; an operator sets it with
|
|
604
|
+
`rig watchdog update <jobId> --spec <file>`, and the daemon keeps the key when it rewrites the job's spec at start.
|
|
605
|
+
An agent at a prompt isn't held: the attempt's refusal is what alerts the prompt, and a refusal for this agent newer than
|
|
606
|
+
the last reminder (a return to ability) doesn't wait out the interval either. Rotation includes retained attempts,
|
|
511
607
|
so a held input cannot starve another owner. Interactive prompts stay with the existing prompt-refusal recovery.
|
|
512
608
|
Its own reminders wait while managed compaction owes the turn boundary, restore or audit, including a fresh check
|
|
513
609
|
at the paste and Enter boundary. A stage that begins after paste leaves an honest partial-input result; OpenRig
|