@openrig/cli 0.7.17 → 0.7.19
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 -6
- package/daemon/assets/claude-hook-bridge.cjs +146 -0
- package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +1 -1
- 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/plugin.json +1 -1
- 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/README.md +1 -1
- package/daemon/assets/plugins/openrig-core/hooks/claude.json +14 -14
- package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +43 -22
- package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +6 -0
- package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +23 -0
- package/daemon/assets/plugins/openrig-core/skills/mission-slice-sop/SKILL.md +1 -1
- package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +11 -0
- package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +95 -7
- package/daemon/assets/skills/rigs/SKILL.md +68 -33
- package/daemon/assets/skills/rigs/references/installing-for-someone.md +2 -2
- 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 +57 -14
- package/daemon/context-packs/reference/getting-started.md +9 -4
- package/daemon/context-packs/reference/manifest.yaml +1 -1
- package/daemon/context-packs/reference/rig-spec.md +197 -1
- package/daemon/context-packs/reference/whats-new.md +187 -15
- 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/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/SKILL.md +23 -0
- 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/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/SKILL.md +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 +11 -0
- 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/refocusing/scripts/trace-to-root.py +95 -7
- 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/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 +9 -0
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +57 -9
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts +4 -1
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +15 -5
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts +5 -0
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +45 -10
- package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/kernel-authority.d.ts +8 -1
- package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
- package/daemon/dist/adapters/kernel-authority.js +45 -10
- package/daemon/dist/adapters/kernel-authority.js.map +1 -1
- package/daemon/dist/adapters/pi-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-resume.js +5 -7
- package/daemon/dist/adapters/pi-resume.js.map +1 -1
- package/daemon/dist/adapters/pi-runner-protocol.d.ts +47 -0
- package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
- package/daemon/dist/adapters/pi-runner.d.ts +84 -1
- package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner.js +799 -16
- package/daemon/dist/adapters/pi-runner.js.map +1 -1
- package/daemon/dist/adapters/pi-runtime-adapter.d.ts +7 -1
- package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runtime-adapter.js +29 -19
- package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/tmux-credential-env.d.ts +4 -0
- package/daemon/dist/adapters/tmux-credential-env.d.ts.map +1 -0
- package/daemon/dist/adapters/tmux-credential-env.js +14 -0
- package/daemon/dist/adapters/tmux-credential-env.js.map +1 -0
- package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-exec.js +4 -3
- package/daemon/dist/adapters/tmux-exec.js.map +1 -1
- package/daemon/dist/adapters/tmux-server.d.ts +2 -2
- package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-server.js +12 -4
- package/daemon/dist/adapters/tmux-server.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts +242 -14
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +966 -34
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/attention-surface.d.ts +4 -1
- package/daemon/dist/attention-surface.d.ts.map +1 -1
- package/daemon/dist/attention-surface.js.map +1 -1
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/daemon/dist/db/all-migrations.js +14 -0
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/171_claude_auto_mode.d.ts +4 -0
- package/daemon/dist/db/migrations/171_claude_auto_mode.d.ts.map +1 -0
- package/daemon/dist/db/migrations/171_claude_auto_mode.js +9 -0
- package/daemon/dist/db/migrations/171_claude_auto_mode.js.map +1 -0
- package/daemon/dist/db/migrations/171_node_input_route.d.ts +4 -0
- package/daemon/dist/db/migrations/171_node_input_route.d.ts.map +1 -0
- package/daemon/dist/db/migrations/171_node_input_route.js +6 -0
- package/daemon/dist/db/migrations/171_node_input_route.js.map +1 -0
- package/daemon/dist/db/migrations/171_seat_hook_bridge.d.ts +5 -0
- package/daemon/dist/db/migrations/171_seat_hook_bridge.d.ts.map +1 -0
- package/daemon/dist/db/migrations/171_seat_hook_bridge.js +25 -0
- package/daemon/dist/db/migrations/171_seat_hook_bridge.js.map +1 -0
- package/daemon/dist/db/migrations/172_queue_return_route.d.ts +3 -0
- package/daemon/dist/db/migrations/172_queue_return_route.d.ts.map +1 -0
- package/daemon/dist/db/migrations/172_queue_return_route.js +13 -0
- package/daemon/dist/db/migrations/172_queue_return_route.js.map +1 -0
- package/daemon/dist/db/migrations/173_node_process_limits.d.ts +4 -0
- package/daemon/dist/db/migrations/173_node_process_limits.d.ts.map +1 -0
- package/daemon/dist/db/migrations/173_node_process_limits.js +6 -0
- package/daemon/dist/db/migrations/173_node_process_limits.js.map +1 -0
- package/daemon/dist/db/migrations/174_session_launched_cwd.d.ts +6 -0
- package/daemon/dist/db/migrations/174_session_launched_cwd.d.ts.map +1 -0
- package/daemon/dist/db/migrations/174_session_launched_cwd.js +8 -0
- package/daemon/dist/db/migrations/174_session_launched_cwd.js.map +1 -0
- package/daemon/dist/db/migrations/175_core_app_access.d.ts +3 -0
- package/daemon/dist/db/migrations/175_core_app_access.d.ts.map +1 -0
- package/daemon/dist/db/migrations/175_core_app_access.js +26 -0
- package/daemon/dist/db/migrations/175_core_app_access.js.map +1 -0
- package/daemon/dist/domain/activity-grants.d.ts.map +1 -1
- package/daemon/dist/domain/activity-grants.js +8 -4
- package/daemon/dist/domain/activity-grants.js.map +1 -1
- package/daemon/dist/domain/agent-activity-store.d.ts +59 -1
- package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
- package/daemon/dist/domain/agent-activity-store.js +250 -4
- package/daemon/dist/domain/agent-activity-store.js.map +1 -1
- package/daemon/dist/domain/agent-images/resume-token-discovery.d.ts +10 -0
- package/daemon/dist/domain/agent-images/resume-token-discovery.d.ts.map +1 -1
- package/daemon/dist/domain/agent-images/resume-token-discovery.js +21 -0
- package/daemon/dist/domain/agent-images/resume-token-discovery.js.map +1 -1
- package/daemon/dist/domain/applied-launch-observation-store.d.ts +5 -0
- package/daemon/dist/domain/applied-launch-observation-store.d.ts.map +1 -1
- package/daemon/dist/domain/applied-launch-observation-store.js +57 -21
- package/daemon/dist/domain/applied-launch-observation-store.js.map +1 -1
- package/daemon/dist/domain/builtin-startup-files.d.ts +26 -12
- package/daemon/dist/domain/builtin-startup-files.d.ts.map +1 -1
- package/daemon/dist/domain/builtin-startup-files.js +73 -34
- package/daemon/dist/domain/builtin-startup-files.js.map +1 -1
- package/daemon/dist/domain/claude-activity-hooks.d.ts +4 -2
- package/daemon/dist/domain/claude-activity-hooks.d.ts.map +1 -1
- package/daemon/dist/domain/claude-activity-hooks.js +5 -3
- package/daemon/dist/domain/claude-activity-hooks.js.map +1 -1
- package/daemon/dist/domain/claude-auto-mode.d.ts +64 -0
- package/daemon/dist/domain/claude-auto-mode.d.ts.map +1 -0
- package/daemon/dist/domain/claude-auto-mode.js +114 -0
- package/daemon/dist/domain/claude-auto-mode.js.map +1 -0
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts +66 -3
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +214 -10
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/claude-continuation-launch.d.ts +5 -1
- package/daemon/dist/domain/claude-continuation-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-continuation-launch.js +51 -2
- package/daemon/dist/domain/claude-continuation-launch.js.map +1 -1
- package/daemon/dist/domain/claude-core-plugin-env.d.ts +7 -3
- package/daemon/dist/domain/claude-core-plugin-env.d.ts.map +1 -1
- package/daemon/dist/domain/claude-core-plugin-env.js +11 -8
- package/daemon/dist/domain/claude-core-plugin-env.js.map +1 -1
- package/daemon/dist/domain/codex-daemon-support.d.ts.map +1 -1
- package/daemon/dist/domain/codex-daemon-support.js +6 -1
- package/daemon/dist/domain/codex-daemon-support.js.map +1 -1
- package/daemon/dist/domain/community-harness-launch-result.d.ts +2 -0
- package/daemon/dist/domain/community-harness-launch-result.d.ts.map +1 -1
- package/daemon/dist/domain/community-harness-launch-result.js +5 -1
- package/daemon/dist/domain/community-harness-launch-result.js.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.d.ts +3 -1
- package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.js +22 -3
- package/daemon/dist/domain/compaction-restore-notice.js.map +1 -1
- package/daemon/dist/domain/configured-account.d.ts +3 -0
- package/daemon/dist/domain/configured-account.d.ts.map +1 -0
- package/daemon/dist/domain/configured-account.js +10 -0
- package/daemon/dist/domain/configured-account.js.map +1 -0
- package/daemon/dist/domain/connection-contract.d.ts +91 -0
- package/daemon/dist/domain/connection-contract.d.ts.map +1 -1
- package/daemon/dist/domain/connection-contract.js +73 -0
- package/daemon/dist/domain/connection-contract.js.map +1 -1
- package/daemon/dist/domain/context-usage-store.d.ts +5 -0
- package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-usage-store.js +37 -2
- package/daemon/dist/domain/context-usage-store.js.map +1 -1
- package/daemon/dist/domain/core-app-access.d.ts +51 -0
- package/daemon/dist/domain/core-app-access.d.ts.map +1 -0
- package/daemon/dist/domain/core-app-access.js +107 -0
- package/daemon/dist/domain/core-app-access.js.map +1 -0
- package/daemon/dist/domain/core-app-job.d.ts +411 -0
- package/daemon/dist/domain/core-app-job.d.ts.map +1 -0
- package/daemon/dist/domain/core-app-job.js +537 -0
- package/daemon/dist/domain/core-app-job.js.map +1 -0
- package/daemon/dist/domain/current-park-arm.d.ts +4 -0
- package/daemon/dist/domain/current-park-arm.d.ts.map +1 -0
- package/daemon/dist/domain/current-park-arm.js +14 -0
- package/daemon/dist/domain/current-park-arm.js.map +1 -0
- package/daemon/dist/domain/current-work.d.ts +6 -1
- package/daemon/dist/domain/current-work.d.ts.map +1 -1
- package/daemon/dist/domain/current-work.js +41 -8
- package/daemon/dist/domain/current-work.js.map +1 -1
- package/daemon/dist/domain/cwd-resolution.d.ts +14 -0
- package/daemon/dist/domain/cwd-resolution.d.ts.map +1 -1
- package/daemon/dist/domain/cwd-resolution.js +28 -3
- package/daemon/dist/domain/cwd-resolution.js.map +1 -1
- package/daemon/dist/domain/draft-aware-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/draft-aware-delivery.js +5 -1
- package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
- package/daemon/dist/domain/errors.d.ts +4 -0
- package/daemon/dist/domain/errors.d.ts.map +1 -1
- package/daemon/dist/domain/errors.js +7 -0
- package/daemon/dist/domain/errors.js.map +1 -1
- package/daemon/dist/domain/execution-view.d.ts.map +1 -1
- package/daemon/dist/domain/execution-view.js +17 -4
- package/daemon/dist/domain/execution-view.js.map +1 -1
- package/daemon/dist/domain/existing-rig-restore.d.ts +2 -0
- package/daemon/dist/domain/existing-rig-restore.d.ts.map +1 -1
- package/daemon/dist/domain/existing-rig-restore.js +1 -0
- package/daemon/dist/domain/existing-rig-restore.js.map +1 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.js +107 -3
- package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
- package/daemon/dist/domain/gateway/participants.d.ts +2 -0
- package/daemon/dist/domain/gateway/participants.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/participants.js +5 -1
- package/daemon/dist/domain/gateway/participants.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/capabilities.d.ts +9 -1
- package/daemon/dist/domain/gateway/slack/capabilities.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/capabilities.js +6 -1
- package/daemon/dist/domain/gateway/slack/capabilities.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound-admission.js +1 -1
- package/daemon/dist/domain/gateway/slack/inbound-admission.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts +4 -0
- package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.js +15 -1
- package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/manifest.d.ts +5 -1
- package/daemon/dist/domain/gateway/slack/manifest.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/manifest.js +12 -3
- package/daemon/dist/domain/gateway/slack/manifest.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.d.ts +2 -0
- package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.js +41 -18
- package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts +2 -0
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js +1 -0
- package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/settled-asks.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/settled-asks.js +6 -5
- package/daemon/dist/domain/gateway/slack/settled-asks.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-api.d.ts +1 -0
- package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-api.js +7 -2
- package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +1 -0
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.js +2 -0
- package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +4 -0
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js +26 -2
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/daemon/dist/domain/harness-not-started-notice.d.ts +36 -0
- package/daemon/dist/domain/harness-not-started-notice.d.ts.map +1 -0
- package/daemon/dist/domain/harness-not-started-notice.js +81 -0
- package/daemon/dist/domain/harness-not-started-notice.js.map +1 -0
- package/daemon/dist/domain/hook-bridge.d.ts +345 -0
- package/daemon/dist/domain/hook-bridge.d.ts.map +1 -0
- package/daemon/dist/domain/hook-bridge.js +547 -0
- package/daemon/dist/domain/hook-bridge.js.map +1 -0
- package/daemon/dist/domain/hosted-wake.d.ts +9 -0
- package/daemon/dist/domain/hosted-wake.d.ts.map +1 -1
- package/daemon/dist/domain/hosted-wake.js +45 -6
- package/daemon/dist/domain/hosted-wake.js.map +1 -1
- package/daemon/dist/domain/hot-potato-enforcer.d.ts +1 -1
- package/daemon/dist/domain/human-ask-attention.d.ts +10 -0
- package/daemon/dist/domain/human-ask-attention.d.ts.map +1 -0
- package/daemon/dist/domain/human-ask-attention.js +22 -0
- package/daemon/dist/domain/human-ask-attention.js.map +1 -0
- package/daemon/dist/domain/input-read-diagnostic.js +1 -1
- package/daemon/dist/domain/input-read-diagnostic.js.map +1 -1
- package/daemon/dist/domain/instance-initialization.d.ts +2 -0
- package/daemon/dist/domain/instance-initialization.d.ts.map +1 -1
- package/daemon/dist/domain/instance-initialization.js +2 -1
- package/daemon/dist/domain/instance-initialization.js.map +1 -1
- package/daemon/dist/domain/member-connection.d.ts +14 -0
- package/daemon/dist/domain/member-connection.d.ts.map +1 -0
- package/daemon/dist/domain/member-connection.js +34 -0
- package/daemon/dist/domain/member-connection.js.map +1 -0
- package/daemon/dist/domain/mission-control/mission-control-action-log.d.ts +4 -0
- 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 +8 -1
- 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 +10 -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 +64 -12
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
- package/daemon/dist/domain/model-divergence/current-model-reader.d.ts +3 -1
- package/daemon/dist/domain/model-divergence/current-model-reader.d.ts.map +1 -1
- package/daemon/dist/domain/model-divergence/current-model-reader.js +32 -7
- package/daemon/dist/domain/model-divergence/current-model-reader.js.map +1 -1
- package/daemon/dist/domain/native-continuation-notice.d.ts +16 -0
- package/daemon/dist/domain/native-continuation-notice.d.ts.map +1 -0
- package/daemon/dist/domain/native-continuation-notice.js +79 -0
- package/daemon/dist/domain/native-continuation-notice.js.map +1 -0
- package/daemon/dist/domain/native-permission-store.d.ts +6 -2
- package/daemon/dist/domain/native-permission-store.d.ts.map +1 -1
- package/daemon/dist/domain/native-permission-store.js +12 -5
- package/daemon/dist/domain/native-permission-store.js.map +1 -1
- package/daemon/dist/domain/native-process-lineage.d.ts +16 -0
- package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
- package/daemon/dist/domain/native-process-lineage.js +48 -3
- package/daemon/dist/domain/native-process-lineage.js.map +1 -1
- package/daemon/dist/domain/native-resume-probe.d.ts +5 -0
- package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
- package/daemon/dist/domain/native-resume-probe.js +94 -10
- package/daemon/dist/domain/native-resume-probe.js.map +1 -1
- package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-connector.js +11 -2
- package/daemon/dist/domain/network/network-connector.js.map +1 -1
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +55 -6
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/node-launcher.d.ts +14 -0
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +35 -6
- package/daemon/dist/domain/node-launcher.js.map +1 -1
- package/daemon/dist/domain/outbox-handler.d.ts +69 -1
- package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
- package/daemon/dist/domain/outbox-handler.js +337 -3
- package/daemon/dist/domain/outbox-handler.js.map +1 -1
- package/daemon/dist/domain/park-wake-text.d.ts +18 -0
- package/daemon/dist/domain/park-wake-text.d.ts.map +1 -1
- package/daemon/dist/domain/park-wake-text.js +44 -0
- package/daemon/dist/domain/park-wake-text.js.map +1 -1
- package/daemon/dist/domain/parked-query.d.ts.map +1 -1
- package/daemon/dist/domain/parked-query.js +3 -1
- package/daemon/dist/domain/parked-query.js.map +1 -1
- package/daemon/dist/domain/permission-account.d.ts +28 -1
- package/daemon/dist/domain/permission-account.d.ts.map +1 -1
- package/daemon/dist/domain/permission-account.js +55 -11
- package/daemon/dist/domain/permission-account.js.map +1 -1
- package/daemon/dist/domain/permission-drift.d.ts +2 -0
- package/daemon/dist/domain/permission-drift.d.ts.map +1 -1
- package/daemon/dist/domain/permission-drift.js.map +1 -1
- package/daemon/dist/domain/pi-compaction-request-store.d.ts +16 -0
- package/daemon/dist/domain/pi-compaction-request-store.d.ts.map +1 -0
- package/daemon/dist/domain/pi-compaction-request-store.js +40 -0
- package/daemon/dist/domain/pi-compaction-request-store.js.map +1 -0
- package/daemon/dist/domain/pi-compaction-service.d.ts +82 -0
- package/daemon/dist/domain/pi-compaction-service.d.ts.map +1 -0
- package/daemon/dist/domain/pi-compaction-service.js +229 -0
- package/daemon/dist/domain/pi-compaction-service.js.map +1 -0
- package/daemon/dist/domain/policies/idle-gate-qitem.d.ts +3 -0
- package/daemon/dist/domain/policies/idle-gate-qitem.d.ts.map +1 -1
- package/daemon/dist/domain/policies/idle-gate-qitem.js +15 -0
- package/daemon/dist/domain/policies/idle-gate-qitem.js.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +6 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js +28 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
- package/daemon/dist/domain/process-limits.d.ts +47 -0
- package/daemon/dist/domain/process-limits.d.ts.map +1 -0
- package/daemon/dist/domain/process-limits.js +123 -0
- package/daemon/dist/domain/process-limits.js.map +1 -0
- package/daemon/dist/domain/process-table.d.ts +24 -0
- package/daemon/dist/domain/process-table.d.ts.map +1 -1
- package/daemon/dist/domain/process-table.js +60 -4
- package/daemon/dist/domain/process-table.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 +27 -1
- package/daemon/dist/domain/proof/judgments.js.map +1 -1
- package/daemon/dist/domain/ps-projection.d.ts +2 -1
- package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
- package/daemon/dist/domain/ps-projection.js +6 -1
- package/daemon/dist/domain/ps-projection.js.map +1 -1
- package/daemon/dist/domain/queue-erasure.d.ts +11 -6
- package/daemon/dist/domain/queue-erasure.d.ts.map +1 -1
- package/daemon/dist/domain/queue-erasure.js +47 -21
- package/daemon/dist/domain/queue-erasure.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +122 -21
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +448 -101
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts +5 -0
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +74 -13
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/queue-transition-log.d.ts +5 -3
- package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transition-log.js +9 -6
- package/daemon/dist/domain/queue-transition-log.js.map +1 -1
- package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
- package/daemon/dist/domain/queue-waiting.js +28 -3
- package/daemon/dist/domain/queue-waiting.js.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts +20 -0
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +264 -25
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.d.ts +10 -1
- package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.js +79 -12
- package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
- package/daemon/dist/domain/reconciler.d.ts +18 -2
- package/daemon/dist/domain/reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/reconciler.js +40 -0
- package/daemon/dist/domain/reconciler.js.map +1 -1
- package/daemon/dist/domain/restore-attempt-receipt.d.ts.map +1 -1
- package/daemon/dist/domain/restore-attempt-receipt.js +3 -2
- package/daemon/dist/domain/restore-attempt-receipt.js.map +1 -1
- package/daemon/dist/domain/restore-check-service.d.ts +10 -0
- package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
- package/daemon/dist/domain/restore-check-service.js +76 -3
- package/daemon/dist/domain/restore-check-service.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +65 -3
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +311 -55
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/restore-plan-preview.d.ts +28 -1
- package/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
- package/daemon/dist/domain/restore-plan-preview.js +17 -5
- package/daemon/dist/domain/restore-plan-preview.js.map +1 -1
- package/daemon/dist/domain/restore-preconditions.d.ts +24 -0
- package/daemon/dist/domain/restore-preconditions.d.ts.map +1 -1
- package/daemon/dist/domain/restore-preconditions.js +61 -1
- package/daemon/dist/domain/restore-preconditions.js.map +1 -1
- package/daemon/dist/domain/restore-topology.d.ts +7 -1
- package/daemon/dist/domain/restore-topology.d.ts.map +1 -1
- package/daemon/dist/domain/restore-topology.js +21 -0
- package/daemon/dist/domain/restore-topology.js.map +1 -1
- package/daemon/dist/domain/resume-metadata-refresher.d.ts +2 -3
- package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
- package/daemon/dist/domain/resume-metadata-refresher.js +6 -25
- package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
- package/daemon/dist/domain/resume-token-validation.d.ts +3 -1
- package/daemon/dist/domain/resume-token-validation.d.ts.map +1 -1
- package/daemon/dist/domain/resume-token-validation.js +6 -3
- package/daemon/dist/domain/resume-token-validation.js.map +1 -1
- package/daemon/dist/domain/return-route.d.ts +73 -0
- package/daemon/dist/domain/return-route.d.ts.map +1 -0
- package/daemon/dist/domain/return-route.js +124 -0
- package/daemon/dist/domain/return-route.js.map +1 -0
- package/daemon/dist/domain/rig-expansion-service.js +1 -1
- package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
- package/daemon/dist/domain/rig-repository.d.ts +12 -0
- package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/daemon/dist/domain/rig-repository.js +74 -0
- package/daemon/dist/domain/rig-repository.js.map +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts +20 -5
- package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/daemon/dist/domain/rig-teardown.js +105 -22
- package/daemon/dist/domain/rig-teardown.js.map +1 -1
- package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-codec.js +9 -0
- package/daemon/dist/domain/rigspec-codec.js.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.d.ts +6 -0
- package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.js +30 -0
- package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +27 -2
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +95 -26
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-schema.js +44 -1
- package/daemon/dist/domain/rigspec-schema.js.map +1 -1
- package/daemon/dist/domain/rosters.d.ts +23 -0
- package/daemon/dist/domain/rosters.d.ts.map +1 -1
- package/daemon/dist/domain/rosters.js +37 -5
- package/daemon/dist/domain/rosters.js.map +1 -1
- package/daemon/dist/domain/runner-channel.d.ts +65 -0
- package/daemon/dist/domain/runner-channel.d.ts.map +1 -0
- package/daemon/dist/domain/runner-channel.js +348 -0
- package/daemon/dist/domain/runner-channel.js.map +1 -0
- package/daemon/dist/domain/runner-grant-launch.js +2 -2
- package/daemon/dist/domain/runner-permissions.d.ts +26 -3
- package/daemon/dist/domain/runner-permissions.d.ts.map +1 -1
- package/daemon/dist/domain/runner-permissions.js +160 -39
- 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/runtime-switch-materials.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-switch-materials.js +4 -3
- package/daemon/dist/domain/runtime-switch-materials.js.map +1 -1
- package/daemon/dist/domain/scope/mission-parent.d.ts +19 -0
- package/daemon/dist/domain/scope/mission-parent.d.ts.map +1 -0
- package/daemon/dist/domain/scope/mission-parent.js +134 -0
- package/daemon/dist/domain/scope/mission-parent.js.map +1 -0
- package/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
- package/daemon/dist/domain/scope/scope-audit.js +63 -3
- package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
- package/daemon/dist/domain/scope/types.d.ts +3 -1
- package/daemon/dist/domain/scope/types.d.ts.map +1 -1
- package/daemon/dist/domain/scope/types.js +5 -1
- package/daemon/dist/domain/scope/types.js.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.d.ts +6 -4
- package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.js +17 -10
- package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.d.ts +14 -2
- package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.js +55 -15
- package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
- package/daemon/dist/domain/seat-handover-service.d.ts +27 -4
- package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-handover-service.js +210 -65
- package/daemon/dist/domain/seat-handover-service.js.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.d.ts +12 -4
- package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.js +92 -17
- package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts +31 -6
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +172 -24
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.d.ts +9 -2
- package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.js +38 -3
- package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts +4 -0
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.js +11 -3
- package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
- package/daemon/dist/domain/seat-skill-apply.d.ts +1 -1
- package/daemon/dist/domain/seat-skill-apply.d.ts.map +1 -1
- package/daemon/dist/domain/seat-skill-apply.js +3 -2
- package/daemon/dist/domain/seat-skill-apply.js.map +1 -1
- package/daemon/dist/domain/seat-status-service.d.ts +4 -0
- package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-status-service.js +31 -6
- package/daemon/dist/domain/seat-status-service.js.map +1 -1
- package/daemon/dist/domain/session-registry.d.ts +5 -1
- package/daemon/dist/domain/session-registry.d.ts.map +1 -1
- package/daemon/dist/domain/session-registry.js +12 -1
- package/daemon/dist/domain/session-registry.js.map +1 -1
- package/daemon/dist/domain/session-transport.d.ts +56 -4
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +344 -18
- package/daemon/dist/domain/session-transport.js.map +1 -1
- package/daemon/dist/domain/shared-conversation.d.ts +58 -0
- package/daemon/dist/domain/shared-conversation.d.ts.map +1 -0
- package/daemon/dist/domain/shared-conversation.js +98 -0
- package/daemon/dist/domain/shared-conversation.js.map +1 -0
- package/daemon/dist/domain/shared-history-selection.d.ts.map +1 -1
- package/daemon/dist/domain/shared-history-selection.js +9 -5
- package/daemon/dist/domain/shared-history-selection.js.map +1 -1
- package/daemon/dist/domain/slices/slice-indexer.d.ts +1 -1
- package/daemon/dist/domain/slices/slice-indexer.d.ts.map +1 -1
- package/daemon/dist/domain/slices/slice-indexer.js +4 -0
- package/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts +1 -0
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +6 -4
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/startup-phase-timing.d.ts +19 -0
- package/daemon/dist/domain/startup-phase-timing.d.ts.map +1 -0
- package/daemon/dist/domain/startup-phase-timing.js +23 -0
- package/daemon/dist/domain/startup-phase-timing.js.map +1 -0
- package/daemon/dist/domain/successor-session-launcher.d.ts +9 -0
- package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.js +33 -10
- package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
- package/daemon/dist/domain/team-operations.d.ts +6 -6
- package/daemon/dist/domain/team-operations.d.ts.map +1 -1
- package/daemon/dist/domain/team-operations.js +2 -4
- package/daemon/dist/domain/team-operations.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts +35 -1
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.js +231 -33
- package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-app-provider.d.ts +6 -0
- package/daemon/dist/domain/terminal/herdr-app-provider.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-app-provider.js +23 -1
- package/daemon/dist/domain/terminal/herdr-app-provider.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-sessions.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-sessions.js +2 -1
- package/daemon/dist/domain/terminal/herdr-sessions.js.map +1 -1
- package/daemon/dist/domain/terminal/rig-viewer-records.d.ts +59 -0
- package/daemon/dist/domain/terminal/rig-viewer-records.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/rig-viewer-records.js +210 -0
- package/daemon/dist/domain/terminal/rig-viewer-records.js.map +1 -0
- package/daemon/dist/domain/terminal/terminal-provider.d.ts +2 -0
- package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.d.ts +99 -4
- package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.js +556 -36
- package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
- package/daemon/dist/domain/terminal/tile-layout.js +1 -1
- package/daemon/dist/domain/terminal/tile-layout.js.map +1 -1
- package/daemon/dist/domain/terminal/tmux-viewer-guard.d.ts +25 -0
- package/daemon/dist/domain/terminal/tmux-viewer-guard.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/tmux-viewer-guard.js +70 -0
- package/daemon/dist/domain/terminal/tmux-viewer-guard.js.map +1 -0
- package/daemon/dist/domain/terminal-policy.js +1 -1
- package/daemon/dist/domain/terminal-policy.js.map +1 -1
- package/daemon/dist/domain/transcript-grep-worker.d.ts +2 -0
- package/daemon/dist/domain/transcript-grep-worker.d.ts.map +1 -0
- package/daemon/dist/domain/transcript-grep-worker.js +108 -0
- package/daemon/dist/domain/transcript-grep-worker.js.map +1 -0
- package/daemon/dist/domain/transcript-grep.d.ts +26 -0
- package/daemon/dist/domain/transcript-grep.d.ts.map +1 -0
- package/daemon/dist/domain/transcript-grep.js +90 -0
- package/daemon/dist/domain/transcript-grep.js.map +1 -0
- package/daemon/dist/domain/transcript-store.d.ts +8 -2
- package/daemon/dist/domain/transcript-store.d.ts.map +1 -1
- package/daemon/dist/domain/transcript-store.js +10 -60
- package/daemon/dist/domain/transcript-store.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +149 -5
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/watchdog-delivery-receipts.d.ts +4 -0
- package/daemon/dist/domain/watchdog-delivery-receipts.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-delivery-receipts.js +35 -2
- package/daemon/dist/domain/watchdog-delivery-receipts.js.map +1 -1
- package/daemon/dist/domain/watchdog-delivery.d.ts +45 -1
- package/daemon/dist/domain/watchdog-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-delivery.js +66 -5
- package/daemon/dist/domain/watchdog-delivery.js.map +1 -1
- package/daemon/dist/domain/watchdog-history-log.d.ts +12 -0
- package/daemon/dist/domain/watchdog-history-log.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-history-log.js +19 -1
- package/daemon/dist/domain/watchdog-history-log.js.map +1 -1
- package/daemon/dist/domain/watchdog-jobs-repository.d.ts +32 -0
- package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-jobs-repository.js +79 -0
- package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.d.ts +22 -3
- package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.js +33 -9
- package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
- package/daemon/dist/domain/workflow-projector.js +1 -1
- package/daemon/dist/domain/workflow-projector.js.map +1 -1
- package/daemon/dist/domain/workflow-runtime.d.ts +13 -1
- package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-runtime.js +68 -9
- package/daemon/dist/domain/workflow-runtime.js.map +1 -1
- package/daemon/dist/domain/workflow-step-trail-log.d.ts +2 -2
- package/daemon/dist/domain/workflow-step-trail-log.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-step-trail-log.js.map +1 -1
- package/daemon/dist/domain/workflow-types.d.ts +3 -1
- package/daemon/dist/domain/workflow-types.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-types.js.map +1 -1
- package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts +7 -1
- package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -1
- package/daemon/dist/domain/workspace/default-workspace-scaffold.js +35 -7
- package/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -1
- package/daemon/dist/gateway-slack-surface.d.ts +2 -2
- package/daemon/dist/gateway-slack-surface.d.ts.map +1 -1
- package/daemon/dist/gateway-slack-surface.js +1 -1
- package/daemon/dist/gateway-slack-surface.js.map +1 -1
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +17 -2
- package/daemon/dist/index.js.map +1 -1
- package/daemon/dist/lib/pane-envelope.d.ts +3 -0
- package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
- package/daemon/dist/lib/pane-envelope.js +3 -1
- package/daemon/dist/lib/pane-envelope.js.map +1 -1
- package/daemon/dist/mission-parent-surface.d.ts +2 -0
- package/daemon/dist/mission-parent-surface.d.ts.map +1 -0
- package/daemon/dist/mission-parent-surface.js +2 -0
- package/daemon/dist/mission-parent-surface.js.map +1 -0
- package/daemon/dist/routes/activity.d.ts +18 -1
- package/daemon/dist/routes/activity.d.ts.map +1 -1
- package/daemon/dist/routes/activity.js +150 -9
- package/daemon/dist/routes/activity.js.map +1 -1
- package/daemon/dist/routes/agent-images.d.ts.map +1 -1
- package/daemon/dist/routes/agent-images.js +6 -1
- package/daemon/dist/routes/agent-images.js.map +1 -1
- package/daemon/dist/routes/attention.d.ts.map +1 -1
- package/daemon/dist/routes/attention.js +194 -176
- 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 +46 -7
- package/daemon/dist/routes/compaction.js.map +1 -1
- package/daemon/dist/routes/core-app.d.ts +10 -0
- package/daemon/dist/routes/core-app.d.ts.map +1 -0
- package/daemon/dist/routes/core-app.js +175 -0
- package/daemon/dist/routes/core-app.js.map +1 -0
- package/daemon/dist/routes/hook-bridge.d.ts +3 -0
- package/daemon/dist/routes/hook-bridge.d.ts.map +1 -0
- package/daemon/dist/routes/hook-bridge.js +158 -0
- package/daemon/dist/routes/hook-bridge.js.map +1 -0
- package/daemon/dist/routes/missions.d.ts.map +1 -1
- package/daemon/dist/routes/missions.js +14 -2
- package/daemon/dist/routes/missions.js.map +1 -1
- package/daemon/dist/routes/queue.d.ts +4 -1
- package/daemon/dist/routes/queue.d.ts.map +1 -1
- package/daemon/dist/routes/queue.js +239 -38
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/require-sender-identity.d.ts +4 -3
- package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
- package/daemon/dist/routes/require-sender-identity.js.map +1 -1
- package/daemon/dist/routes/restore-check.d.ts.map +1 -1
- package/daemon/dist/routes/restore-check.js +1 -0
- package/daemon/dist/routes/restore-check.js.map +1 -1
- package/daemon/dist/routes/rigspec.d.ts.map +1 -1
- package/daemon/dist/routes/rigspec.js +24 -4
- package/daemon/dist/routes/rigspec.js.map +1 -1
- package/daemon/dist/routes/scope-audit.d.ts.map +1 -1
- package/daemon/dist/routes/scope-audit.js +7 -1
- package/daemon/dist/routes/scope-audit.js.map +1 -1
- package/daemon/dist/routes/seat.d.ts.map +1 -1
- package/daemon/dist/routes/seat.js +133 -6
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/sessions.js +14 -3
- package/daemon/dist/routes/sessions.js.map +1 -1
- package/daemon/dist/routes/slices.d.ts.map +1 -1
- package/daemon/dist/routes/slices.js +21 -2
- package/daemon/dist/routes/slices.js.map +1 -1
- package/daemon/dist/routes/startup.js +9 -2
- package/daemon/dist/routes/startup.js.map +1 -1
- package/daemon/dist/routes/terminal.d.ts.map +1 -1
- package/daemon/dist/routes/terminal.js +47 -6
- package/daemon/dist/routes/terminal.js.map +1 -1
- package/daemon/dist/routes/transcripts.d.ts.map +1 -1
- package/daemon/dist/routes/transcripts.js +16 -1
- package/daemon/dist/routes/transcripts.js.map +1 -1
- package/daemon/dist/routes/up.d.ts.map +1 -1
- package/daemon/dist/routes/up.js +14 -4
- package/daemon/dist/routes/up.js.map +1 -1
- package/daemon/dist/routes/watchdog.d.ts.map +1 -1
- package/daemon/dist/routes/watchdog.js +21 -3
- package/daemon/dist/routes/watchdog.js.map +1 -1
- package/daemon/dist/routes/workflow.d.ts.map +1 -1
- package/daemon/dist/routes/workflow.js +5 -0
- package/daemon/dist/routes/workflow.js.map +1 -1
- package/daemon/dist/server.d.ts +5 -0
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +22 -0
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +140 -48
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/dist/terminal-viewer-guard-surface.d.ts +2 -0
- package/daemon/dist/terminal-viewer-guard-surface.d.ts.map +1 -0
- package/daemon/dist/terminal-viewer-guard-surface.js +2 -0
- package/daemon/dist/terminal-viewer-guard-surface.js.map +1 -0
- package/daemon/docs/reference/agent-startup-guide.md +5 -1
- package/daemon/docs/reference/claude-status-line.md +3 -2
- package/daemon/docs/reference/community-harness-examples/cursor/openrig-cursor-launch +6 -0
- package/daemon/docs/reference/community-harness-examples/dsh/README.md +8 -0
- package/daemon/docs/reference/community-harness-examples/dsh/openrig-dsh-runner.mjs +310 -20
- package/daemon/docs/reference/community-harness-examples/hermes/openrig-hermes-launch +6 -0
- package/daemon/docs/reference/community-harness-examples/openclaw/openrig-openclaw-launch +6 -0
- package/daemon/docs/reference/community-harness-examples/openshell/README.md +2 -0
- package/daemon/docs/reference/community-harness-examples/pi-tui/openrig-pi-tui-launch +6 -0
- package/daemon/docs/reference/community-harness-presets.md +7 -4
- package/daemon/docs/reference/core-app.md +212 -0
- package/daemon/docs/reference/daemon-http-clients.md +67 -12
- package/daemon/docs/reference/getting-started.md +9 -4
- package/daemon/docs/reference/harness-runner-contract.md +140 -4
- package/daemon/docs/reference/herdr-app.md +6 -0
- package/daemon/docs/reference/hosted-members.md +21 -1
- package/daemon/docs/reference/quickstart.md +4 -3
- package/daemon/docs/reference/rig-spec.md +197 -1
- package/daemon/docs/reference/rosters.md +17 -0
- package/daemon/docs/reference/sdlc-conventions.md +47 -6
- package/daemon/docs/reference/seat-delivery.md +87 -6
- package/daemon/docs/reference/slack-app-setup.md +39 -21
- package/daemon/docs/reference/terminal-sessions.md +99 -1
- package/daemon/docs/reference/whats-new.md +187 -15
- package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +23 -0
- package/daemon/specs/rigs/launch/factory/guidance/lead-first-move.md +27 -5
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +32 -8
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +1 -1
- package/daemon/specs/rigs/launch/kernel/culture/CULTURE.md +12 -0
- package/daemon/specs/rigs/launch/starter/guidance/lead-first-move.md +27 -5
- package/dist/acp/connector.js +1 -1
- package/dist/acp/connector.js.map +1 -1
- package/dist/ask-wake.d.ts.map +1 -1
- package/dist/ask-wake.js +8 -1
- package/dist/ask-wake.js.map +1 -1
- package/dist/build-info.js +3 -3
- package/dist/cli-error.d.ts.map +1 -1
- package/dist/cli-error.js +7 -1
- package/dist/cli-error.js.map +1 -1
- package/dist/client.d.ts +2 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +3 -2
- package/dist/client.js.map +1 -1
- package/dist/commands/archive.js +1 -1
- package/dist/commands/archive.js.map +1 -1
- package/dist/commands/ask.d.ts.map +1 -1
- package/dist/commands/ask.js +92 -11
- package/dist/commands/ask.js.map +1 -1
- package/dist/commands/broadcast.js +9 -5
- package/dist/commands/broadcast.js.map +1 -1
- package/dist/commands/compact.d.ts +3 -4
- package/dist/commands/compact.d.ts.map +1 -1
- package/dist/commands/compact.js +76 -16
- package/dist/commands/compact.js.map +1 -1
- package/dist/commands/config-init-workspace.d.ts.map +1 -1
- package/dist/commands/config-init-workspace.js +3 -0
- package/dist/commands/config-init-workspace.js.map +1 -1
- package/dist/commands/daemon.d.ts.map +1 -1
- package/dist/commands/daemon.js +7 -0
- package/dist/commands/daemon.js.map +1 -1
- package/dist/commands/down.d.ts.map +1 -1
- package/dist/commands/down.js +8 -1
- package/dist/commands/down.js.map +1 -1
- package/dist/commands/export.d.ts.map +1 -1
- package/dist/commands/export.js +2 -1
- package/dist/commands/export.js.map +1 -1
- package/dist/commands/fork.d.ts.map +1 -1
- package/dist/commands/fork.js +2 -0
- package/dist/commands/fork.js.map +1 -1
- package/dist/commands/launch.d.ts.map +1 -1
- package/dist/commands/launch.js +11 -3
- package/dist/commands/launch.js.map +1 -1
- package/dist/commands/ps.d.ts +30 -1
- package/dist/commands/ps.d.ts.map +1 -1
- package/dist/commands/ps.js +85 -6
- package/dist/commands/ps.js.map +1 -1
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +309 -21
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/rig.d.ts +2 -0
- package/dist/commands/rig.d.ts.map +1 -1
- package/dist/commands/rig.js +36 -2
- package/dist/commands/rig.js.map +1 -1
- package/dist/commands/roster.d.ts +8 -0
- package/dist/commands/roster.d.ts.map +1 -1
- package/dist/commands/scope.d.ts.map +1 -1
- package/dist/commands/scope.js +346 -9
- package/dist/commands/scope.js.map +1 -1
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +213 -12
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/send.d.ts +2 -0
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +50 -7
- package/dist/commands/send.js.map +1 -1
- package/dist/commands/setup.js +2 -2
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/slack.d.ts +2 -1
- package/dist/commands/slack.d.ts.map +1 -1
- package/dist/commands/slack.js +38 -2
- package/dist/commands/slack.js.map +1 -1
- package/dist/commands/terminal.d.ts +56 -0
- package/dist/commands/terminal.d.ts.map +1 -1
- package/dist/commands/terminal.js +199 -9
- package/dist/commands/terminal.js.map +1 -1
- package/dist/commands/transcript.js +1 -1
- package/dist/commands/transcript.js.map +1 -1
- package/dist/commands/unarchive.js +1 -1
- package/dist/commands/unarchive.js.map +1 -1
- package/dist/commands/up.d.ts.map +1 -1
- package/dist/commands/up.js +3 -0
- package/dist/commands/up.js.map +1 -1
- package/dist/commands/workflow-follow.d.ts +3 -1
- package/dist/commands/workflow-follow.d.ts.map +1 -1
- package/dist/commands/workflow-follow.js +25 -6
- package/dist/commands/workflow-follow.js.map +1 -1
- package/dist/commands/workflow-render.d.ts.map +1 -1
- package/dist/commands/workflow-render.js +5 -1
- package/dist/commands/workflow-render.js.map +1 -1
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +18 -4
- package/dist/commands/workflow.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +12 -0
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/lib/model-observation.d.ts.map +1 -1
- package/dist/lib/model-observation.js +9 -3
- package/dist/lib/model-observation.js.map +1 -1
- package/dist/lib/scope/mission-composition.d.ts +1 -0
- package/dist/lib/scope/mission-composition.d.ts.map +1 -1
- package/dist/lib/scope/mission-composition.js +14 -0
- package/dist/lib/scope/mission-composition.js.map +1 -1
- package/dist/lib/scope/scope-audit.d.ts.map +1 -1
- package/dist/lib/scope/scope-audit.js +63 -3
- package/dist/lib/scope/scope-audit.js.map +1 -1
- package/dist/lib/scope/scope-fs.d.ts +10 -0
- package/dist/lib/scope/scope-fs.d.ts.map +1 -1
- package/dist/lib/scope/scope-fs.js +60 -0
- package/dist/lib/scope/scope-fs.js.map +1 -1
- package/dist/lib/scope/types.d.ts +3 -1
- package/dist/lib/scope/types.d.ts.map +1 -1
- package/dist/lib/scope/types.js +5 -1
- package/dist/lib/scope/types.js.map +1 -1
- package/dist/local-db.d.ts +5 -0
- package/dist/local-db.d.ts.map +1 -0
- package/dist/local-db.js +23 -0
- package/dist/local-db.js.map +1 -0
- package/dist/local-origin.d.ts.map +1 -1
- package/dist/local-origin.js +2 -17
- package/dist/local-origin.js.map +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +138 -24
- package/dist/mcp-server.js.map +1 -1
- package/dist/restore-packet/packet-writer.d.ts.map +1 -1
- package/dist/restore-packet/packet-writer.js +8 -5
- package/dist/restore-packet/packet-writer.js.map +1 -1
- package/dist/sender-identity.d.ts +18 -6
- package/dist/sender-identity.d.ts.map +1 -1
- package/dist/sender-identity.js +67 -7
- package/dist/sender-identity.js.map +1 -1
- package/dist/terminal-window-rex.d.ts +1 -1
- package/dist/terminal-window-rex.d.ts.map +1 -1
- package/dist/terminal-window-rex.js +3 -2
- package/dist/terminal-window-rex.js.map +1 -1
- package/dist/terminal-window.d.ts +2 -1
- package/dist/terminal-window.d.ts.map +1 -1
- package/dist/terminal-window.js +570 -44
- package/dist/terminal-window.js.map +1 -1
- package/package.json +1 -1
- package/tui/dist/daemon-client.d.ts +4 -0
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +2 -1
- package/tui/dist/daemon-client.js.map +1 -1
- package/tui/dist/execution/execution-model.d.ts.map +1 -1
- package/tui/dist/execution/execution-model.js +22 -5
- package/tui/dist/execution/execution-model.js.map +1 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +6 -3
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/navigator.d.ts +1 -1
- package/tui/dist/navigator.d.ts.map +1 -1
- package/tui/dist/navigator.js +4 -2
- package/tui/dist/navigator.js.map +1 -1
- package/tui/dist/pulse/render-pulse.d.ts.map +1 -1
- package/tui/dist/pulse/render-pulse.js +7 -14
- package/tui/dist/pulse/render-pulse.js.map +1 -1
- package/tui/dist/render.d.ts.map +1 -1
- package/tui/dist/render.js +29 -21
- package/tui/dist/render.js.map +1 -1
- package/tui/dist/stylize.d.ts.map +1 -1
- package/tui/dist/stylize.js +3 -3
- package/tui/dist/stylize.js.map +1 -1
- package/tui/dist/terminals/terminal-model.d.ts +1 -0
- package/tui/dist/terminals/terminal-model.d.ts.map +1 -1
- package/tui/dist/terminals/terminal-model.js +4 -2
- package/tui/dist/terminals/terminal-model.js.map +1 -1
- package/tui/dist/types.d.ts +1 -0
- package/tui/dist/types.d.ts.map +1 -1
- package/tui/dist/visual-layout.d.ts +3 -0
- package/tui/dist/visual-layout.d.ts.map +1 -1
- package/tui/dist/visual-layout.js +17 -0
- package/tui/dist/visual-layout.js.map +1 -1
- package/ui/dist/assets/{index-BvUEh33d.js → index-B-sMy02c.js} +116 -116
- package/ui/dist/assets/{index-BX8TUZ0E.css → index-DiN7RwWg.css} +1 -1
- package/ui/dist/index.html +2 -2
|
@@ -10,9 +10,12 @@
|
|
|
10
10
|
> runner is qualified beyond that.
|
|
11
11
|
> - **Existing interfaces with author obligations:** launch-result identity, exact resume, first input and model
|
|
12
12
|
> handoff. These interfaces do not establish that a particular runner implements them correctly.
|
|
13
|
-
> - **Current source:** per-launch credentials for
|
|
14
|
-
>
|
|
15
|
-
>
|
|
13
|
+
> - **Current source:** per-launch credentials for managed Pi/OMP, Pi-RPC presets and declared community runners (section 4).
|
|
14
|
+
> Optional run-bound observations retain receipts and project current runner-reported context/community model facts.
|
|
15
|
+
> Credentials and reports do not qualify new native input, cancellation or independently verified program identity.
|
|
16
|
+
> Managed OMP and hosted Pi-RPC additionally implement optional input-only channel delivery; their wake/cancel remain unavailable.
|
|
17
|
+
> - **Unchanged:** Claude Code/Codex raw TUI and historical headless wakes, plain preset interaction, terminal typing,
|
|
18
|
+
> OMP approval/provider/state policy, and contained execution's legacy activity/lifecycle boundaries.
|
|
16
19
|
>
|
|
17
20
|
> **What has run natively, in 0.7.8's release testing, against a Claude Haiku model:**
|
|
18
21
|
> - **dsh-seat 0.3.0**, an outside runner for dsh 0.2.1-rc.2 over ACP: launch and first input, useful queue work, a
|
|
@@ -129,7 +132,7 @@ immediately before the preset's native command, after OpenRig's launcher assignm
|
|
|
129
132
|
|
|
130
133
|
## 4. Activity: report turn boundaries
|
|
131
134
|
|
|
132
|
-
Managed hosted Pi, Pi-RPC presets and declared community runners can receive an actual-launch credential in
|
|
135
|
+
Managed hosted Pi and OMP, Pi-RPC presets and declared community runners can receive an actual-launch credential in
|
|
133
136
|
`OPENRIG_ACTIVITY_HOOK_TOKEN`, with their attempt in `OPENRIG_RUN_ID`. Keep this credential in the runner's own
|
|
134
137
|
process; remove it from the native agent and tool environment. It is delivered through tmux's private environment,
|
|
135
138
|
never as a literal launch argument or launch-result field. A report that supplies `runId` requires this bound
|
|
@@ -141,6 +144,8 @@ that path adds no new run-authority claim and is not attributed to a selected ru
|
|
|
141
144
|
refused: it is never silently retried with the install token. If native dispatch already occurred before activation
|
|
142
145
|
failed, Core preserves the dispatched outcome and does not replay input; cleanup addresses only that launch's grant.
|
|
143
146
|
Unreadable observations cannot revoke a grant. Confirmed exit/replacement or intentional lifecycle cleanup still can.
|
|
147
|
+
For builtin Pi/OMP, a foreground shell proves exit only after a current-attempt runner sidecar is ready or exited.
|
|
148
|
+
Missing, unreadable, stale or pending launch evidence retains the grant; this limits cleanup, not launch or report admission.
|
|
144
149
|
|
|
145
150
|
Core activates a pending credential after dispatch against its selected session, pane and recorded runner. A staged
|
|
146
151
|
successor waits for the existing binding cutover; pending posts receive `activity_grant_pending` and must retry.
|
|
@@ -153,6 +158,66 @@ host hooks, contained guest grants and install-token Pi usage keep their legacy
|
|
|
153
158
|
current bound Pi credential. No native input channel or cancellation capability is implied by this credential.
|
|
154
159
|
|
|
155
160
|
Post each event to `POST <base>/api/activity/hooks` with `Authorization: Bearer <token>`.
|
|
161
|
+
|
|
162
|
+
The same endpoint accepts an observation-only report from a current run-bound credential:
|
|
163
|
+
|
|
164
|
+
```json
|
|
165
|
+
{"runId":"<OPENRIG_RUN_ID>","sequence":1,"occurredAt":"2026-11-12T00:00:00Z",
|
|
166
|
+
"observations":{"model":{"id":"provider/model"},"context":{"usedTokens":1000,"windowTokens":10000}}}
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
Send this separately from activity and identity posts, without `hookEvent` or `eventFamily`. It records no activity
|
|
170
|
+
or verified identity. Core stores a receipt with the authenticated run/session binding in its existing event log;
|
|
171
|
+
retrying the same observation sequence and payload returns that receipt, while conflicting reuse returns 409.
|
|
172
|
+
Observation ordering is separate from activity/turn ordering. Omitted components keep their own ages; a new run
|
|
173
|
+
cannot inherit an earlier run's reports. Counts without capacity or an explicit percentage remain reported counts,
|
|
174
|
+
not an inferred context occupancy (`availability: unknown`, `reason: window_capacity_unknown`). A valid
|
|
175
|
+
`usedTokens/windowTokens` pair or explicit percentage supplies reported occupancy. The current context reader
|
|
176
|
+
uses accepted events, rechecking run/binding, sequence and the existing ten-minute freshness policy; it never
|
|
177
|
+
revives a runner sample from the context cache. Community model reads use the same current-report boundary.
|
|
178
|
+
Observation model IDs and session references retain Unicode format characters (`\p{Cf}`), including bidi formatting,
|
|
179
|
+
zero-width joiners and non-joiners, where the existing identifier/path format permits. CLI/UI displays escape these
|
|
180
|
+
characters visibly in human CLI model output and UI event previews. These display boundaries use the existing terminal
|
|
181
|
+
JSON escape set: DEL/C1 controls, format characters, line/paragraph separators and default-ignorable code points.
|
|
182
|
+
Stored values, JSON/API payloads and identity
|
|
183
|
+
comparisons retain the original spelling. Observation Pi paths opt into format characters without changing ordinary
|
|
184
|
+
launch/resume validation; their absolute-path, traversal, length and `.jsonl` checks remain.
|
|
185
|
+
Their source is `runner_reported`, displayed as “runner-reported”; existing Claude/Codex/Pi native model
|
|
186
|
+
readers retain their evidence paths and labels. Omitted components retain their own sample times.
|
|
187
|
+
An unreadable binding or report is unknown (`binding_unverified`), not evidence of replacement. The grant and
|
|
188
|
+
existing receipt remain intact; retrying after verification recovers the same accepted receipt. A standing that becomes
|
|
189
|
+
unverified during observation admission, including a failed standing read, returns retryable `409 runner_observation_unverified`.
|
|
190
|
+
`runner_observation_unavailable` remains for a positively stale/revoked run or no bound session; invalid reports and
|
|
191
|
+
conflicting sequence reuse retain their existing refusal codes. No refusal revokes credentials or fabricates observed state.
|
|
192
|
+
|
|
193
|
+
Report changed components rather than repeating unchanged high-rate samples. Retry the same report with its original
|
|
194
|
+
sequence, timestamp and payload. If unchanged facts must remain current, renew them deliberately with a new sequence
|
|
195
|
+
and sample time before the existing freshness window expires; change-only reporting without renewal eventually becomes
|
|
196
|
+
stale. This reduces unnecessary event growth, but does not bound retention or worst-case history query cost. No default
|
|
197
|
+
physical pruning of observation events is provided.
|
|
198
|
+
|
|
199
|
+
A fresh current session component can fill an absent resume reference through the existing report-only
|
|
200
|
+
persistence path with `launcher` provenance, below Core scrape/adoption evidence. Pi and Pi-based community references
|
|
201
|
+
are promoted only if the adapter's default session-file check accepts them. A reference outside that resume format stays
|
|
202
|
+
in the accepted observation, with model/context facts and its receipt intact, but writes no resume token or identity event.
|
|
203
|
+
Generic community harnesses retain their pass-through reference behavior. A promoted reference emits the existing session-identity event once after
|
|
204
|
+
commit; it does not stamp independent verification or resumability. A known conflicting Core reference stays
|
|
205
|
+
unchanged and makes current observations unknown. A retry returns its original receipt without repeating
|
|
206
|
+
identity effects. Community process identity remains unconfirmed without independent Core evidence.
|
|
207
|
+
Runner context does not provision a collector or enable legacy watchdog/compaction enforcement; that
|
|
208
|
+
watchdog's raw cache path excludes runner-reported entries.
|
|
209
|
+
|
|
210
|
+
Core observes launch-recorded community runners independently of session reports. Once the existing startup
|
|
211
|
+
readiness is committed, a concrete foreground shell with no live child can establish the existing process
|
|
212
|
+
mismatch and end only the sampled run credential, even before any native reference was reported. A shell
|
|
213
|
+
wrapper with a live descendant, incomplete/unreadable census or changed pane/binding stays unconfirmed;
|
|
214
|
+
unknown evidence never ends a run. On Linux, a permission-hidden process (`EPERM`/`EACCES` reading its stat)
|
|
215
|
+
makes this absence check unconfirmed, even when the hidden process might be unrelated: its parent cannot be read.
|
|
216
|
+
Processes that disappeared (`ENOENT`/`ESRCH`) do not mark the census permission-incomplete; macOS retains its existing
|
|
217
|
+
`ps` listing. Other process-table consumers retain their row-only listing behavior. Pending launch remains unconfirmed until readiness. Explicit same-process
|
|
218
|
+
adoption retains the observed pane anchor and its existing ready state. Native Claude/Codex/Pi checks and
|
|
219
|
+
Pi-RPC report routing keep their existing paths. A report plus a live Node process does not independently
|
|
220
|
+
verify the native conversation.
|
|
156
221
|
- **Finding the base and token:** take them from `OPENRIG_URL` (or `OPENRIG_PORT`, with `OPENRIG_HOST` defaulting to
|
|
157
222
|
`127.0.0.1`) and `OPENRIG_ACTIVITY_HOOK_TOKEN`, or else from `$OPENRIG_HOME/activity-endpoint.json`.
|
|
158
223
|
- **Posting:** post one at a time, in order, with a short timeout. Never make the agent wait on a post.
|
|
@@ -262,6 +327,77 @@ permission or input handling in existing built-in runtimes or require every poss
|
|
|
262
327
|
- without a TTY, input is read line by line;
|
|
263
328
|
- this isn't a binary-safe channel.
|
|
264
329
|
|
|
330
|
+
### Optional run-bound native input and wake (version 1)
|
|
331
|
+
|
|
332
|
+
The optional native-channel implementation uses the launch's `OPENRIG_RUN_ID` and private `OPENRIG_ACTIVITY_HOOK_TOKEN` grant. The runner retains them; its native child and tools do not receive the credential. `GET /api/activity/runner-channel` is run-filtered SSE, and one `POST` resource at that same path carries hello, acceptance, submitted and result messages. There is no command file or global event-feed subscription.
|
|
333
|
+
|
|
334
|
+
Hello supplies `{type:"hello", version:1, runId, retained, capabilities:{input,wake,cancel}}`. Capabilities are explicit booleans intersected with the recorded runner kind and Core implementation availability. They describe this live implementation, not native identity or program qualification. Core selects generic recorded runner kinds, never a community app-name whitelist. Builtin Pi/OMP remain kind0, preset-owned runners kind1, and OpenRig-hosted Pi-RPC kind2. A shared protocol or wrapper does not qualify a program or confer another runtime's invocation mapping.
|
|
335
|
+
|
|
336
|
+
#### Runtime coverage and qualification
|
|
337
|
+
|
|
338
|
+
| Runtime class | Existing behavior and optional native-channel limits |
|
|
339
|
+
|---|---|
|
|
340
|
+
| Builtin managed Pi | Existing input/wake/named-cancel implementation and its own invocation mapping; each live capability still requires current authority and implementation evidence. |
|
|
341
|
+
| Builtin OMP | Input-only shared RPC implementation with its own tests. Keeps `omp_session_file`, OMP approval/provider/HOME/state and protocol-v2 behavior; wake/cancel remain false without a proven OMP invocation mapping. |
|
|
342
|
+
| Hosted Pi-RPC community programs | Input-only shared RPC implementation, recorded kind2 and `community:<runtime>` reference. Each executable must satisfy the declared protocol; no inherited Pi qualification or wake/cancel capability. |
|
|
343
|
+
| Preset-owned runner (`runner: true`) | Its actual implemented and declared operations intersect with Core support. The independent dsh consumer has its own mapping; another ACP or stream-JSON program does not inherit it. |
|
|
344
|
+
| Claude Code | Typed interaction and saved-session bounded headless wake remain. The separate opt-in launch-owned hook bridge supports live ordinary delivery and wake through its existing lease; it is not this structured runner channel or named cancellation. |
|
|
345
|
+
| Codex raw TUI | Existing typed interaction and saved-session bounded headless wake remain. Those headless commands are not this live native input/wake/cancel channel. |
|
|
346
|
+
| Cursor / Hermes / Pi TUI | Maintained TUI launchers have no live native consumer; new native operations are unavailable. Pi TUI is distinct from managed Pi RPC. |
|
|
347
|
+
| OpenClaw local / gateway | Same TUI limit. Client exit does not prove native turn cancellation, stopped gateway work or gateway custody. |
|
|
348
|
+
| OpenShell owned / attached | Existing scoped guest activity/work and operation/resource/native identity remain. They do not provide the hosted pane/PID run binding; no new native channel is advertised. |
|
|
349
|
+
| Terminal / stub | Existing shell or scripted-test interaction remains. No native program capability is inferred from builtin kind0 or a stub fixture. |
|
|
350
|
+
| Other external consumers | Generic contract eligibility is program-independent; actual consumer implementation and separate evidence are required for each operation. |
|
|
351
|
+
|
|
352
|
+
All classes retain typed default. Unsupported native requests refuse before a native or typed effect; absence of an active consumer is not permission to fall back after uncertainty. OMP/hosted2 input acceptance uses the correlated prompt response and does not fabricate a native invocation ID or model-work result. Optional observations remain `runner_reported`; neither reported session/model/context nor a common ABI independently verifies native identity. No new telemetry collector is installed.
|
|
353
|
+
|
|
354
|
+
The maintained TUI launchers and bounded headless wake child remove the run-ID/hook-token pair when a run ID is present, while legacy hook-only environments and required identity/provider metadata remain unchanged. The caller retains its authority; native children receive none of the new run credential. These controls do not add a native consumer to a TUI launcher.
|
|
355
|
+
|
|
356
|
+
#### Native delivery and named commands
|
|
357
|
+
|
|
358
|
+
Every seat still defaults to `typed`. `rig seat set-input-route <seat> --route native --reason ...` saves the native input preference even without a connected runner, and reports live input/wake capability separately. Saving the preference does not launch a runner, deliver or replay input, or establish a capability; native sends and wakes remain not offered while no capable runner is available. Native requests retain the existing sender, original-conversation constraint and interruption/held policy. The saved request ID's route is immutable: a preference change applies to a new ID. A native refusal or uncertain effect never types a fallback, and `--verify` never invokes a terminal-pane verifier for a native receipt.
|
|
359
|
+
|
|
360
|
+
Explicit terminal interaction, submit-only Enter, exact terminal text and OpenRig's reserved Pi compaction control keep their existing guarded typed path. They are not native model prompts and cannot reuse an ID already bound to native input. Ordinary OpenRig notices still follow the seat's selected input route.
|
|
361
|
+
|
|
362
|
+
Each request SSE event is preceded by the standard SSE comment `: runner-frame-chars=<n>`, where `<n>` is the exact JavaScript string length (UTF-16 code units) of the complete serialized receipt in its `data` field, including payload and ordered member IDs. Readers use this per-event length plus a bounded SSE envelope allowance instead of assuming a single-message quota bounds a composed group; without the comment, the existing bounded frame allowance applies. The comment is only framing metadata: it changes neither admission nor custody, and legacy SSE consumers ignore it.
|
|
363
|
+
|
|
364
|
+
A request frame contains `{version:1, runId, requestId, sequence, kind, payload}`. Input payload is `{text}`; wake payload is `{question}`. The request ID is its existing outbox operation ID. A combined send retains one primary ID plus its ordered source-member links. Sequence is run-local and ordered; an SSE cursor is not acceptance. The live receiver retains every immutable ID/payload and result for its process lifetime, acknowledges custody by POST, and waits for Core's durable acceptance response before writing the native prompt. It retries saved HTTP receipts after lost replies; it never repeats a native write to repair HTTP delivery. Restarting a runner creates a new run, not a persistent receiver command journal. At a committed Core run replacement, the earlier run's offered/accepted receipts and unanswered submitted wakes become `receiver_state_lost`/indeterminate. Never-offered requests become rejected/failed with “not offered: its run ended”; they are not replayed into the new run. Known ordinary-input submissions and terminal results keep their recorded outcomes.
|
|
365
|
+
|
|
366
|
+
An unreadable binding, including a failed grant-standing read, returns retryable `409 runner_grant_unverified`.
|
|
367
|
+
It does not revoke authority, clear the live receiver map or discard retained receipts. The existing consumers retry
|
|
368
|
+
those saved HTTP posts after verification recovers; they do not repeat native work. Positive stale/revoked authority
|
|
369
|
+
keeps its existing refusal. A new native request still requires a currently capable runner.
|
|
370
|
+
|
|
371
|
+
After native protocol submission/acceptance the runner posts `submitted`; native delivery is not model-work completion. A terminal result whose submission could not be established may instead carry `{completion:"unknown", submissionUnknown:true}` from accepted custody. Core retains that terminal uncertainty as outbox `indeterminate`, never `delivered`; it cannot include a successful wake answer or an acceptance claim. Known pre-effect native rejection is separate. Erased native content remains an unavailable opaque custody tombstone, not an executable request.
|
|
372
|
+
|
|
373
|
+
`POST /api/seat/command/:seatRef` accepts `{requestId,type:"wake",question}` and returns its saved custody stage. `GET` at the same resource with `?requestId=...` reads its result. `rig ask <rig> <question> --wake <seat>` uses this live path only when the seat explicitly selects `native`; unavailable native capability is a refusal. Historical Claude/Codex one-shot wakes and raw session tokens retain their existing semantics.
|
|
374
|
+
|
|
375
|
+
A wake waits for the current execution to finish and then gets its own native prompt. Pi's ordinary busy input continues to steer; dsh's ordinary busy input continues to queue. During the dedicated wake, later managed input waits. Pi gates the dedicated prompt on native control-state evidence and pending person/startup preflight, not on a guessed idle flag. Person controls remain usable; a person steering into the wake makes its attribution unknown. Only that prompt's actual assistant text and terminal native outcome become `{kind:"wake",answer:string|null,nativeTurnId,completion:"completed"|"interrupted"|"failed"|"unknown"}`. Tools, old output and partial streaming text are not substituted for an answer. Known terminal native outcomes release the managed barrier. Pi waits for the authoritative prompt disposition before committing any answer: only a dedicated `started` invocation can answer. A queued or otherwise uncorrelated execution reports `{completion:"unknown",answer:null,ownershipUnknown:true}` and quarantines all managed input for that run as `native_ownership_unknown`. Core persists that fence atomically with the result; reconnect, restart and content erasure cannot clear it. A handled command with no execution evidence returns no answer and can release normally. A caller timeout returns the request ID and latest saved stage for lookup; it neither clears the native barrier nor cancels the prompt.
|
|
376
|
+
|
|
377
|
+
Consumer fixtures exercise Pi RPC shapes from the installed Pi 1.5.0 SDK and dsh's ACP implementation at 0.2.1-rc.2. Stand-in native backends prove the runner/Core plumbing, not actual program or provider qualification. Separate opt-in tests execute installed Pi 1.5.0 and dsh 0.2.1-rc.2 against a loopback fake Anthropic provider with scratch homes and dummy keys. They exercise actual idle/busy input and dedicated wake sequencing, not a real vendor backend, named cancellation or other versions/forks; no program default is promoted. Set `OPENRIG_NATIVE_PROGRAM_PROOF=1`, `OPENRIG_NATIVE_PI_BIN` and `OPENRIG_NATIVE_DSH_BIN` to explicit installed executables, then run the existing `runner-conformance-real-routes.test.ts` in a private network namespace with loopback enabled.
|
|
378
|
+
|
|
379
|
+
The existing `tmux-server-isolation-daemon.test.ts` also launches managed Pi and a declared dsh preset through the built CLI and daemon with offline native backends. It kills only its scratch daemon with SIGKILL during a wake and restarts it through the normal daemon startup. It checks retained run authority, receiver/native-child and pane process lineage, the recovered answer, duplicate-ID retry and a subsequent wake without repeated native prompts. This covers daemon OS-process recovery with a live receiver map; it does not establish receiver-map persistence after the runner itself dies or combine the crash with the installed-program provider test.
|
|
380
|
+
|
|
381
|
+
Managed Pi and dsh additionally post `{type:"turn",runId,sequence,nativeTurnId,state:"opened"|"closed",acceptedTurnIds}` through the authenticated channel. Core retains these as `agent.runner_turn` events and exposes the latest open bound invocation in seat status. This sequence belongs to the turn-report family, independently of observation samples and outbox delivery sequences. Identical retries are idempotent; conflicting sequence reuse, closed-epoch reuse and regressing accepted mappings are refused. Missing evidence provides no target and never proves idle.
|
|
382
|
+
|
|
383
|
+
Pi's native scope is an agent invocation from `agent_start` (or `turn_start` when closed) to `agent_end`; steers have distinct accepted IDs inside that invocation. dsh's native scope is its one outstanding prompt RPC, not the ACP session. The foundation retains Pi followups at the runner and supports internal successor/permission preparation fences. Native permission metadata requires a bound run grant and matching authenticated turn evidence; legacy install authority cannot authenticate these additional fields. A committed turn withdrawal blocks later submissions and decisions, and remains unconfirmed while an existing submission is still in flight or its handoff cannot be followed locally. Managed Pi and the dsh example implement named cancellation when their live capabilities declare it. Other implementations must declare only operations they actually implement and qualify.
|
|
384
|
+
|
|
385
|
+
### Named managed cancellation
|
|
386
|
+
|
|
387
|
+
`POST /api/seat/command/:seatRef` accepts `{type:"cancel",requestId,target:{runId,nativeTurnId}}`. Obtain the exact target from `rig seat status <seat> --json` (`nativeInput.target`), then freeze it. `rig seat cancel <seat> --run-id <run> --native-turn-id <epoch> --request-id <id>` sends that explicit target; repeating the same command reconciles its retained receipt. Missing target is invalid. Neither an accepted-input ordinal nor a native session ID substitutes for the native invocation ID. This operation does not change the seat's typed/native input preference or synthesize typed controls.
|
|
388
|
+
|
|
389
|
+
Cancellation shares the existing outbox and run-bound stream, with `kind:"cancel",payload:{target}`. Control can overtake an unacknowledged ordinary input, while ordinary input/wake FIFO and immutable identities remain intact. Reconnect may replay an older unacknowledged frame even after a higher control cursor; the receiver's retained map reconciles that ID without a repeated native effect.
|
|
390
|
+
|
|
391
|
+
Temporary connection or grant-standing uncertainty refuses fresh cancellation with a retryable response before consuming its ID. A declared unsupported operation remains `not-supported`. Missing invocation ownership is unknown, never proof of `not-this-turn`; a lost receiver map keeps that target refusal for the rest of the run, cleared only by a new run. It does not make unrelated input unavailable merely because a cancellation needs reconciliation. Original input/wake uncertainty and no-replay guards still apply. Legacy install-token reporting cannot claim native authority. An authenticated permission ask without verified invocation correlation is accepted with a diagnostic; claimed invocation tags are denial-only hints, so withdrawal still rejects late permissions for that named turn.
|
|
392
|
+
|
|
393
|
+
The runner posts `{type:"cancel-prepare",runId,requestId,sequence}` on the existing channel. Core derives the immutable target from its receipt and withdraws its asks before confirming preparation. `receipt.withdrawal` keeps pending/confirmed stage, counts and timestamps, including partial failure. No native abort is written until permission submission/callback drain and an exact target recheck. A legitimate pending drain can continue; person input remains usable and may supersede unsubmitted local preparation. Actual failed preparation is retired by the runner as `stage:"rejected",result:{kind:"cancel",reason,applied:false}`, with no outcome. Withdrawn approvals stay withdrawn. Core receipt acceptance alone never proves that no native operation was written.
|
|
394
|
+
|
|
395
|
+
The four effect outcomes remain `requested`, `cancelled`, `not-this-turn`, and `not-supported`. Submitted cancellation is `requested,confirmed:false`; native operation acceptance is separate evidence. Pi records its correlated abort acknowledgement as `operationAccepted`. For a Pi cancellation whose target ended during preparation or after submission, its agent_settled event releases the cancellation hold, without waiting for an abort ACK or another cancellation state query. Person prompts entered before settlement stay in the existing held prompt queue and are sent afterward; agent_end alone is not native readiness. A correlated abort ACK is not a settlement fallback. Normal input/wake readiness still applies: Pi can retain native queued words after abort, and a dedicated wake still waits for native idle with an empty queue. In that case an explicit person continuation can let those words run before the dedicated wake. This is a disclosed limitation, not automatic successor progress. A bare agent_settled releases the hold too: aborted is optional evidence, not a continuation requirement. Pi may use agent_settled.aborted when present, or prior native abort evidence, with known-safe empty-queue evidence; a retained or unknown queue stays requested/unconfirmed. A late ACK does not revise the immutable final result. Continuing is not cancellation proof and never restores withdrawn approvals; dsh uses its exact outstanding prompt's cancelled response. Normal end or process exit never invents cancellation proof. Before submission, a positively ended/replaced target is not-this-turn. Requested work with unknown native acceptance retains indeterminate custody.
|
|
396
|
+
|
|
397
|
+
Pi never clears queued words for managed cancellation. Unknown or person-owned native queues reject only that local preparation without disabling ordinary input. Person prompts and native controls remain usable. dsh sends managed `session/cancel` once for the exact outstanding prompt; a person's repeated `/abort` remains available. A person abort before prompt write suppresses it as a local interruption without sending a premature native cancel. Opened/closed report retries remain ordered but do not gate ordinary dsh prompts or terminal progress; shutdown retains its existing total two-second drain bound.
|
|
398
|
+
|
|
399
|
+
`rig seat status <seat> --json` projects body-free `nativeInput.unresolved` evidence across current and older runs: request/target/member IDs, sender/destination, stage, withdrawal, reconciliation and uncertain requested outcomes. Historical evidence does not imply all current work is held. The pane and status identify the person operating the seat or its responsible agent as reconciler. A submitted Pi cancellation waits for native agent_settled; ordinary native readiness and dedicated-wake queue ownership requirements still apply. The supported continuation is a new plain prompt in that pane, without resending retained words, distinct from /abort and rig seat stop. Known retained input IDs and waiting managed IDs are reported in the authenticated cancellation result. Existing responsible-agent work uses the ordinary queue route to a different bound node, with quoted nonerased words read from the same node/run Outbox owner. Existing owner/escalation and receiving-agent settings supply routing; missing or unavailable owners leave visible concrete guidance rather than another wake behind the stranded queue. This work is a captured report, not proof of delivery, pickup or automatic progress. Erasure and immutable queue-ID retries retain their existing ownership rules. If ownership cannot be recovered, an explicit scoped manual choice is `rig seat stop <seat> --reason <text>`; nothing restarts, replays, or releases on a timer. A cancel request carries no fallback words. Erasure preserves opaque custody/target evidence and rejects reuse/late results while removing content and free-form detail; unresolved erased IDs remain inspectable. Fixture tests prove protocol plumbing; installed-program qualification is recorded separately.
|
|
400
|
+
|
|
265
401
|
## 6. Cancel: requested isn't the same as done
|
|
266
402
|
|
|
267
403
|
- **On `/abort` or Ctrl-C:** send the agent's cancel (for ACP, the `session/cancel` notification, which has no reply),
|
|
@@ -88,6 +88,12 @@ Other layouts and other herdr-app windows don't show Rig views. Each window (app
|
|
|
88
88
|
start, so an interactive one takes input as soon as it runs. When the seat's session is replaced (a handover, a fresh
|
|
89
89
|
launch, a restart), the tile follows the same seat to its new session, except an ssh tile on an isolated local tmux
|
|
90
90
|
server ([terminal sessions](terminal-sessions.md#replacing-a-seats-session)).
|
|
91
|
+
- A local interactive cell sizes its seat like any terminal you use (tmux's `window-size latest`) while herdr-app shows
|
|
92
|
+
it. While no pane shows it (another view or page, or **Your tabs**), herdr-core runs its terminal at the headless
|
|
93
|
+
size, and the cell then leaves the seat's size to the seat's other clients. OpenRig recognises that state by the
|
|
94
|
+
headless size, 200 columns by 120 rows; a cell shown in a pane of exactly that size counts as not shown. If
|
|
95
|
+
herdr-core's headless size was changed from that default, a cell that no pane shows isn't recognised and can still
|
|
96
|
+
size the seat. This needs tmux 3.2 or later. With an older tmux, a cell that no pane shows can still size the seat.
|
|
91
97
|
|
|
92
98
|
## What OpenRig keeps in the app home
|
|
93
99
|
|
|
@@ -72,6 +72,22 @@ entry. The entry holds secret names, never values:
|
|
|
72
72
|
- `authorization_ref`, when the tool needs one, names the secret holding the `Authorization` header value.
|
|
73
73
|
- Credentials in the URL itself (`https://user:pass@host/…`) are sent as Basic `Authorization` instead, unless
|
|
74
74
|
`authorization_ref` is set: then its value is sent, and the URL's credentials are dropped.
|
|
75
|
+
- `signing_secret_ref`, when the trigger verifies signed webhooks, names the secret holding a
|
|
76
|
+
[Standard Webhooks](https://github.com/standard-webhooks/standard-webhooks/blob/main/spec/standard-webhooks.md)
|
|
77
|
+
signing secret.
|
|
78
|
+
- **Use the `whsec_` form** (`whsec_` followed by base64): the sender and the receiver both decode it to the same
|
|
79
|
+
key.
|
|
80
|
+
- **A value without `whsec_` is used as its raw UTF-8 bytes,** as receivers that accept raw secrets read it.
|
|
81
|
+
- **The headers:** each ring then carries three, alongside any `Authorization`:
|
|
82
|
+
- `webhook-id`, new for every ring, including a row rung again for a new wake;
|
|
83
|
+
- `webhook-timestamp`, in seconds;
|
|
84
|
+
- `webhook-signature`, which is `v1,` and the base64 HMAC-SHA256 of `<webhook-id>.<webhook-timestamp>.` and
|
|
85
|
+
the body bytes exactly as sent.
|
|
86
|
+
- **When the ring isn't sent:** if the secret it names isn't set, or is `whsec_` followed by nothing or by text
|
|
87
|
+
that isn't valid base64 (with its padding), the ring isn't sent. The result is
|
|
88
|
+
`failed:webhook (<url_ref>) not rung: its signing secret (<name>) …`, never an unsigned ring.
|
|
89
|
+
- **Header names:** a receiver that reads other header names, such as a provider's own prefixed ones, doesn't
|
|
90
|
+
verify these.
|
|
75
91
|
- The daemon reads each from its environment (the name, or `OPENRIG_<NAME>`), else from `secrets_env_file`, an env file kept at mode 0600.
|
|
76
92
|
- **The ring:** when a row lands for the member, the daemon POSTs
|
|
77
93
|
`{"source":"openrig.queue","schema_version":1,"event":"work-waiting","qitem_id":…,"destination":…,"summary":…,"from":…}`.
|
|
@@ -171,7 +187,11 @@ and nothing else is offered:
|
|
|
171
187
|
is exactly that seat.
|
|
172
188
|
- **What it reaches:**
|
|
173
189
|
- It hands work to its rigs' other seats, never to a person or another host's seat.
|
|
174
|
-
- It reads the items it sent and the items addressed to it from those seats
|
|
190
|
+
- It reads the items it sent and the items addressed to it from those seats or from an external address
|
|
191
|
+
(`<id>@external`), never the team's internal items or an external address's items to another seat. The address is
|
|
192
|
+
matched by its shape, not looked up among registered people: a registered person, a shared channel's address (which
|
|
193
|
+
its unregistered writers post under) and any other `@external` ref count. A person's answer addressed to its seat is
|
|
194
|
+
readable this way too.
|
|
175
195
|
- With `queue`/`claim` and `queue`/`update`, it claims and closes only items addressed to its own seat that it can read,
|
|
176
196
|
and waits (blocked) only on an item it names and can read. Its answers hide what reading the item hides.
|
|
177
197
|
- **A first task without a seat address:** with `--task-destination <member@rig>` on the same `rig mcp serve`, a
|
|
@@ -12,15 +12,16 @@ In your project folder, add OpenRig's `rigs` skill to the agent you use:
|
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
14
|
# Claude Code
|
|
15
|
-
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.
|
|
15
|
+
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.19/skills/rigs --skill rigs --agent claude-code
|
|
16
16
|
# Codex
|
|
17
|
-
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.
|
|
17
|
+
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.19/skills/rigs --skill rigs --agent codex
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
These use this release's tag, for a new install. If OpenRig is already installed, replace the tag after `tree/` with
|
|
21
21
|
the one that matches `rig --version` (`v` and its version number), or upgrade first. If the command fails with `npx: command not found`, Node.js isn't
|
|
22
22
|
installed or isn't on your PATH yet (see [What you need](#what-you-need)). Then type `/rigs` in Claude Code, or `$rigs` in Codex, and say what
|
|
23
|
-
you want built.
|
|
23
|
+
you want built. If Claude Code was already running when you added the skill, type `/reload-skills` first, or start a new
|
|
24
|
+
session: a session doesn't see a skills folder created after it started.
|
|
24
25
|
|
|
25
26
|
The skill has your agent work through the steps below in order. It says what it will run and change before it runs
|
|
26
27
|
it, and it asks before installing anything on your system. It finishes when you're talking to the operator.
|
|
@@ -294,6 +294,67 @@ managed-launch path. Other version pairs and native enforcement need their own c
|
|
|
294
294
|
The launch still uses inline JSON, subject to the operating system's argument-size
|
|
295
295
|
limits.
|
|
296
296
|
|
|
297
|
+
### Per-member Claude auto mode settings
|
|
298
|
+
|
|
299
|
+
A Claude member can carry its own [`autoMode` block](https://code.claude.com/docs/en/auto-mode-config),
|
|
300
|
+
which steers the auto mode classifier. Claude reads `autoMode` from user settings, managed
|
|
301
|
+
settings and `--settings`, but not from a project's `.claude/settings*.json`. OpenRig passes the
|
|
302
|
+
block in the seat's `--settings`, so it applies to this seat only:
|
|
303
|
+
|
|
304
|
+
```yaml
|
|
305
|
+
claude_auto_mode:
|
|
306
|
+
environment:
|
|
307
|
+
- "$defaults"
|
|
308
|
+
- "Source control: github.com/acme; pushing issue branches and opening PRs is routine for this team"
|
|
309
|
+
soft_deny: ["$defaults", "Never run database migrations outside the migrations CLI"]
|
|
310
|
+
classifyAllShell: false # optional
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
The field takes Claude's own keys: `environment`, `allow`, `soft_deny` and `hard_deny`, each a
|
|
314
|
+
list of prose entries, and `classifyAllShell` (true or false). It is also supported on legacy
|
|
315
|
+
flat Claude nodes. Other runtimes and other keys are refused. Entries are prose the classifier
|
|
316
|
+
reads, not tool patterns. Use `claude_permissions` for tool rules.
|
|
317
|
+
|
|
318
|
+
For an existing seat, put the complete replacement block in a JSON file:
|
|
319
|
+
|
|
320
|
+
```sh
|
|
321
|
+
rig seat set-permissions dev-build@team --auto-mode auto-mode.json --reason "Trust the team's GitHub org"
|
|
322
|
+
rig seat set-permissions dev-build@team --clear-auto-mode --reason "Back to user settings only"
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
Each change is audited. It applies at the next managed launch or resume, and it leaves the
|
|
326
|
+
permission mode, running process and history unchanged. Restore and same-seat handover read the
|
|
327
|
+
same record. A fork copies the source's current block. Export writes the current record for
|
|
328
|
+
Claude members only. On another runtime, the block stays dormant and applies again if the seat
|
|
329
|
+
switches back to Claude.
|
|
330
|
+
|
|
331
|
+
How Claude combines the block with your other settings:
|
|
332
|
+
|
|
333
|
+
- **Scopes add up.** Claude adds the seat's entries to the entries from your user and managed
|
|
334
|
+
settings. The seat block can't remove those entries. It's additive, not a hard boundary, though:
|
|
335
|
+
Claude treats `allow` entries as exceptions to `soft_deny` entries from any scope, so the seat's
|
|
336
|
+
`allow` can override a user or managed `soft_deny`.
|
|
337
|
+
- **`$defaults` decides the built-in entries.** Claude puts its built-in entries for a section
|
|
338
|
+
where any scope lists `"$defaults"`. A non-empty list without `"$defaults"` drops the built-in
|
|
339
|
+
entries for that section, unless another scope keeps `"$defaults"` there. The built-in
|
|
340
|
+
`soft_deny` entries include force-push protection.
|
|
341
|
+
- **An empty list adds no entries.** Claude's docs say a list without `"$defaults"` replaces the
|
|
342
|
+
built-in entries, but Claude Code 2.1.322 kept them for an empty list, so OpenRig warns that it
|
|
343
|
+
may replace them. `--clear-auto-mode` only stops OpenRig passing a block. Neither removes user or
|
|
344
|
+
managed entries.
|
|
345
|
+
|
|
346
|
+
OpenRig warns when a list leaves out `"$defaults"`, or when an entry looks like a tool rule, in
|
|
347
|
+
`rig spec validate`, `rig up --plan`, the `set-permissions` output and `rig seat status`. It never
|
|
348
|
+
adds `"$defaults"` for you or refuses the block. `rig seat status` shows the saved block and the
|
|
349
|
+
block the current occupant's launch sent, and notes when the next launch isn't planned in auto
|
|
350
|
+
mode. To see the classifier's effective lists for a block, run the `claude --settings '…'
|
|
351
|
+
auto-mode config` command that status prints. It shows the lists as they would be where you
|
|
352
|
+
run it, so your user and managed settings are included.
|
|
353
|
+
|
|
354
|
+
If the saved block can't be read, the seat still launches, resumes, forks and exports without it.
|
|
355
|
+
The launch result, `rig seat status`, the fork result and the exported file say the block wasn't
|
|
356
|
+
sent or carried. Set it again with `--auto-mode`, or clear it with `--clear-auto-mode`.
|
|
357
|
+
|
|
297
358
|
### Per-member Codex permissions
|
|
298
359
|
|
|
299
360
|
Codex members can record their own sandbox and approval choice, even when they share a project folder:
|
|
@@ -876,6 +937,7 @@ directory's `CLAUDE.md`, including blocks written by other rigs.
|
|
|
876
937
|
| `advisor` | string | no | — | Claude-only Advisor model for this seat. Overrides the AgentSpec profile/default; blank or non-string values are ignored with an advisory. |
|
|
877
938
|
| `claude_mcp` | `none` | no | normal loading | Claude members only. Disable MCP server loading for this agent on every launch and resume. Omit the field to keep Claude's normal configuration; see [Claude MCP loading](#claude-mcp-loading-runtime-claude-code). |
|
|
878
939
|
| `launch_wrapper` | string[] | no | — | Local `pi`, `codex`, `claude-code` and community-harness members; runner presets must declare wrapper support. Literal argument prefix applied to the native executable and its arguments on fresh launch, relaunch, rebuild, resume, fork, restore and handover; `[]` explicitly clears a stored wrapper when re-applying an authored spec, while omitting the key leaves an existing seat's stored choice unchanged. See [Launch wrapper](#launch-wrapper-runtime-pi-and-codex). |
|
|
940
|
+
| `process_limits` | map | no | — | Linux/systemd hosts only, opt-in for this seat, each key on its own. `{ tasks_max: N }` (an integer from 1 to 4194304) and `{ memory_max: <size> }` (an integer number of bytes, or `<n>K`, `M`, `G` or `T`, base 1024; a whole number of MiB up to 2^53 − 2^20 bytes) put the seat's own processes in a systemd user scope of their own with `TasksMax=N` and `MemoryMax=<bytes>`; both keys together share that one scope. The other seats, the daemon and the terminal server stay outside it. Applies to the seat's new launches; a fresh launch the host can't cap is not started, and a recovery goes ahead with a warning. Any other key (a CPU limit) is refused. `{}` clears the stored limits when re-applying an authored spec, a mapping replaces them whole, and omitting the key leaves them unchanged. Valid on terminal members too. See [Process limits](#process-limits-linuxsystemd). |
|
|
879
941
|
| `permission_policy` | string | no | — | Member-level permission policy; overrides the rig's. Not valid on terminal members. |
|
|
880
942
|
| `env` | map | no | — | Launch environment for this seat, laid over the rig's `env`. Same rules as the rig-level field. Valid on terminal members too. See "Launch environment" below. |
|
|
881
943
|
| `agent_file` | string | no | — | Claude members only. A Claude agent definition (a `.md` file with `name` in its frontmatter) for this seat. It's copied into the seat's own storage and launched as `--agent openrig:<name>`. A path beside the spec: no `..`, not absolute. |
|
|
@@ -1037,6 +1099,140 @@ members:
|
|
|
1037
1099
|
- **Persistence and clear:** On new seats, absent or `launch_wrapper: []` stores no wrapper. Applying an authored spec to an existing seat retains the stored selection when absent, clears it with `launch_wrapper: []`, and replaces it with a non-empty array. Recreation/import uses the incoming spec; older snapshots preserve the current selection. First-start retry refuses wrapper changes. Runtime switches carry it to supported successors; validation occurs at execution. There is no live edit verb: change the spec and use the supported create/recreate/apply flow. Export and node inventory include the configured value.
|
|
1038
1100
|
- **Boundary:** An argv prefix is not proof of sandbox isolation, tooling availability, memory wiring or governance enforcement. Verify the wrapper and runtime independently.
|
|
1039
1101
|
|
|
1102
|
+
### Process limits (Linux/systemd)
|
|
1103
|
+
|
|
1104
|
+
Set `process_limits` on a member to cap how many tasks (processes and threads) that seat's own processes may hold at
|
|
1105
|
+
once, how much memory they may be charged, or both, so a seat that forks or allocates without end hits its own limit
|
|
1106
|
+
instead of the host's:
|
|
1107
|
+
|
|
1108
|
+
```yaml
|
|
1109
|
+
members:
|
|
1110
|
+
- id: impl
|
|
1111
|
+
agent_ref: local:agents/impl
|
|
1112
|
+
profile: default
|
|
1113
|
+
runtime: codex
|
|
1114
|
+
cwd: .
|
|
1115
|
+
process_limits:
|
|
1116
|
+
tasks_max: 512
|
|
1117
|
+
memory_max: 4G
|
|
1118
|
+
```
|
|
1119
|
+
|
|
1120
|
+
- **Opt-in, per seat and per key, no default:** Only a member with `process_limits.tasks_max` or
|
|
1121
|
+
`process_limits.memory_max` gets a limit, and only the keys it sets. Without the map, a seat launches exactly as
|
|
1122
|
+
before. `tasks_max` and `memory_max` are the only supported keys; any other key, such as a CPU limit, is refused by
|
|
1123
|
+
name rather than accepted and ignored.
|
|
1124
|
+
- **The boundary:** The seat's pane command starts in a transient `systemd-run --user --scope` of its own, in
|
|
1125
|
+
`openrigseats.slice`, with `TasksMax=N` and/or `MemoryMax=<bytes>` as its only limits (one scope for both). The
|
|
1126
|
+
seat's processes leave the terminal server's scope:
|
|
1127
|
+
a limit an operator put on that scope no longer covers this seat. The other seats, the daemon and the terminal server
|
|
1128
|
+
stay where they were, outside this seat's limit. Processes the seat itself starts through `systemd-run --user` land
|
|
1129
|
+
in units of their own and are not counted against it. The limit guards the host against a seat's runaway forks; it
|
|
1130
|
+
is not isolation. The seat's environment names the shared terminal server (`TMUX`), so a pane, window, popup or
|
|
1131
|
+
`run-shell` the seat asks that server for (a harness's teammate panes too) is forked by the server, outside this
|
|
1132
|
+
seat's scope and its limit. The limit is also cooperative: a process in the seat that reaches the user manager can
|
|
1133
|
+
raise its own scope's `TasksMax` with `systemctl --user set-property`. The short-lived terminal OpenRig opens to
|
|
1134
|
+
check that a Claude conversation can be resumed runs without the seat's identity, outside any seat scope.
|
|
1135
|
+
- **What `memory_max` counts:** the memory charged to the seat's scope (`memory.max`): its processes' RAM and the page
|
|
1136
|
+
cache their file reads and writes bring in. Swap is not limited (no `MemorySwapMax=` is set): on a host with swap, a
|
|
1137
|
+
seat at its limit is reclaimed and may swap, which shows as a limit hit, not as an OOM kill. When reclaim can't keep
|
|
1138
|
+
it under the limit, the kernel's OOM killer kills a process in the seat's scope. With `OOMPolicy=continue` (systemd
|
|
1139
|
+
253 or later, set when the host takes it) the rest of the scope goes on; on an older systemd, that first OOM kill
|
|
1140
|
+
stops the seat's whole scope, so the whole seat ends. Pages a process was charged before it entered the scope stay
|
|
1141
|
+
charged where they were. The panes the terminal server forks (above) are outside this limit too.
|
|
1142
|
+
- **A fresh launch that can't get the limit is not started:** A fresh launch (first launch by `rig up`, `rig seat launch
|
|
1143
|
+
--fresh`, and a relaunch without a snapshot; a first start through the restore path, such as a never-occupied seat's
|
|
1144
|
+
start or auto-rehydrate, is a recovery, below) says it couldn't apply the limit instead of starting the seat without
|
|
1145
|
+
it, with one of four codes:
|
|
1146
|
+
- `process_limits_unsupported` for a positive inability of the host: not Linux, `systemd-run` or `systemctl` not on
|
|
1147
|
+
the daemon's `PATH`, a systemd too old for seat scopes (it needs 236 or later), no user manager running for the
|
|
1148
|
+
user (no socket to reach it), or a throwaway scope with no cgroup v2 path, no `pids.max`, or a `pids.max` that is
|
|
1149
|
+
not the value (the pids controller is not delegated), no `memory.max`, or a `memory.max` that is not the value (the
|
|
1150
|
+
memory controller is not delegated), or a `MemoryMax=` systemd refused. The seat has one scope, so a host that
|
|
1151
|
+
supports only one of the requested keys refuses the whole seat; `processLimits.limit` (`tasks_max` or
|
|
1152
|
+
`memory_max`) names the one it can't give when it is known;
|
|
1153
|
+
- `process_limits_setup` when this setup can't use a scope, with the way out: no `XDG_RUNTIME_DIR` and no
|
|
1154
|
+
`/run/user/<uid>` (start the daemon with `XDG_RUNTIME_DIR` set, or as a systemd user service), coreutils' `timeout`
|
|
1155
|
+
not on the daemon's `PATH`, `terminal.inherit_tmux_environment` on (a seat with a limit needs the scoped launch
|
|
1156
|
+
environment: set it to false), a daemon that gives seats no launch environment, or a seat placed in an environment
|
|
1157
|
+
guest (its agent runs in the guest, and a scope on this host would hold only the local viewer);
|
|
1158
|
+
- `process_limits_unverified` (retryable, save where said below) when it isn't known either way: the user manager
|
|
1159
|
+
timed out or its socket refused the connection (starting or restarting), the probe read nothing (no `pids.max` or
|
|
1160
|
+
`memory.max` it asked for) or output it could not understand, the probe command ended with SIGKILL (exit 137)
|
|
1161
|
+
under the requested `MemoryMax=` (the process and the cause aren't confirmed: the OOM killer at that limit, the
|
|
1162
|
+
host's OOM killer, systemd-oomd or a manual kill look the same; a larger value may help; `processLimits.limit` is
|
|
1163
|
+
`memory_max`), an error not recognized, a launch setting that couldn't be read, a failed check from the last minute (reported with its age), or a scope start the launch
|
|
1164
|
+
didn't see in time (its new session is removed, by the identity tmux printed when it made it, and the seat is never
|
|
1165
|
+
started again without the limit; when it can't be removed, the refusal says the session may still be running and
|
|
1166
|
+
how to stop it, without a retry, and its `processLimits` carries `possiblyRunning: true` and `retryable` false). What
|
|
1167
|
+
was seen of the command is said apart from what became of its terminal: only a start that failed before the command
|
|
1168
|
+
(the pane died with its start marker still pending) reads "not started" and retryable. When the command started in
|
|
1169
|
+
the scope but its process wasn't seen there in time, when the time ran out with the pane still alive (its wrapper
|
|
1170
|
+
can still start the command after the last look), or when its pane or its start marker couldn't be read, the
|
|
1171
|
+
refusal says the command started (or may have), what became of its terminal, and suggests no retry:
|
|
1172
|
+
`processLimits.commandStarted` is `true` or `"unknown"`, and `retryable` is false. A capped launch whose `new-session`
|
|
1173
|
+
printed no pane and whose session can't be read back is refused the same possibly-running way (a session positively
|
|
1174
|
+
absent stays `session_not_created`). The first launch after that minute checks again, so a setup fixed meanwhile is
|
|
1175
|
+
seen;
|
|
1176
|
+
- `process_limits_invalid` when the seat's stored value can't be read: only this seat is affected, and the value is
|
|
1177
|
+
kept until a re-applied spec replaces or clears it.
|
|
1178
|
+
Over HTTP, `process_limits_unverified` answers 409 and the other three 422, with `retryable` and `processLimits` (the
|
|
1179
|
+
kind, the reason, the requested values and, when known, the `limit`). A daemon that is not itself a systemd user service is no reason: the probe
|
|
1180
|
+
decides. To launch an existing seat as before, re-apply its spec with `process_limits: {}`: with the key just
|
|
1181
|
+
removed, the stored limit stays (see "Persistence and clear").
|
|
1182
|
+
- **A recovery goes ahead without it, and says so:** A handover, a runtime switch and a restart in place choose their
|
|
1183
|
+
path before anything is stopped. A restore and a resume (`rig up` from a snapshot, an auto-rehydrate, a resume of the
|
|
1184
|
+
seat's own conversation) are recoveries too, the fresh launch a restore falls back to for a seat with no saved startup
|
|
1185
|
+
context included: nothing of the seat runs then, and right after a reboot the user manager
|
|
1186
|
+
may not answer yet. Where the limit can't be applied, they go on without it and return a structured
|
|
1187
|
+
warning (`processLimits`: `state: "not_applied"`, the kind, the reason, whether a retry may help); the request stays
|
|
1188
|
+
stored, and the seat's status reads "requested, not applied" until a fresh launch applies it. A recovery never stops a
|
|
1189
|
+
seat and then fails for its limit. A scope failure late in the path (after the check) starts the seat again without
|
|
1190
|
+
the limit only when the seat's command is seen not to have started in the scope; when that can't be told (the start
|
|
1191
|
+
wasn't seen in time, or the command started in the scope and ended), nothing is run a second time, and the warning
|
|
1192
|
+
reads `state: "unknown"`, with `commandStarted` (`true` or `"unknown"`) as in the fresh refusal; its `retryable` only
|
|
1193
|
+
says the limit check may pass at the next fresh launch, since nothing is refused or run again. A restart in place
|
|
1194
|
+
keeps the process tree it has (and a limit already applied to it); when that process's limit can't be read back, its
|
|
1195
|
+
warning reads `unknown`. A bare agent pane's respawn carries no seat environment: it keeps the limit, in a new scope,
|
|
1196
|
+
only when the running process reads back as `applied` and a new scope can be made; otherwise it comes back without
|
|
1197
|
+
the limit, with the warning.
|
|
1198
|
+
- **When it applies:** Each launch reads the stored value and starts the seat's new pane in a new scope. A seat that is
|
|
1199
|
+
already running is never moved or stopped: a changed value applies at that seat's next launch. A daemon restart
|
|
1200
|
+
relaunches nothing, so running seats keep the scope they started in.
|
|
1201
|
+
- **Status:** `rig seat status <seat>` reads the limit back from the seat's running process, never from the spec
|
|
1202
|
+
alone. It reads the seat's own pane or, when no pane is recorded for the seat, its session's active pane, and says
|
|
1203
|
+
which (`readFrom`). The states: `applied` (its process is in a seat scope whose `pids.max` and `memory.max` are the
|
|
1204
|
+
values, each one requested), "requested, not applied" (known not under it: not running, launched before the key or by
|
|
1205
|
+
a recovery without it, another `pids.max` or `memory.max`, the reason naming which, or placed in an environment guest, whose pane holds only a local viewer, with the reason), `unsupported`
|
|
1206
|
+
(not under it, and the host positively can't make the scope), `unknown` (the readback failed), "stored value invalid"
|
|
1207
|
+
(the stored request can't be read; only this seat is affected, and the value is kept). A seat with no limit stored
|
|
1208
|
+
shows nothing and is not read at all, so a seat whose limit was cleared while it ran stays in its launch's scope,
|
|
1209
|
+
unreported, until its next fresh launch starts it without one. With `tasks_max`, it also shows `pids.current` and how many times a fork hit the limit (`pids.events` `max`). With `memory_max`, apart from those, it shows `memory.current`, how many times the seat's usage was about to go over the limit (`memory.events` `max`), and how many processes in its scope an OOM killer killed (`memory.events` `oom_kill`: any OOM killer, so a kill there is not proof that this limit ended the seat). Never
|
|
1210
|
+
stop a seat's scope by hand: that kills every process in it; use `rig seat stop`. Stopping a seat ends its session,
|
|
1211
|
+
not its scope: a process the seat left running detached stays in that old scope, under its limit, until it exits,
|
|
1212
|
+
and the status, which reads only the running seat's pane, doesn't show it.
|
|
1213
|
+
- **Values:** `tasks_max` takes any count from 1 (systemd's own minimum) to 4194304 (the kernel's `PID_MAX_LIMIT`). No
|
|
1214
|
+
floor is imposed for every runtime: how many tasks a harness needs is the operator's choice, and a fork past the
|
|
1215
|
+
limit fails visibly as a limit hit. `memory_max` takes an integer number of bytes or a string `<n>K`, `<n>M`, `<n>G`
|
|
1216
|
+
or `<n>T` (base 1024, as systemd reads it; `512M` and `536870912` are the same value), and it must be a whole number
|
|
1217
|
+
of MiB: the kernel keeps `memory.max` in pages and reads back the page multiple below, so only a MiB multiple reads
|
|
1218
|
+
back exactly as asked on every page size. There is no floor in the spec: the throwaway `/bin/sh` that proves the
|
|
1219
|
+
limit inside a scope with it decides the low end. When the probe ends with SIGKILL at launch, the refusal is
|
|
1220
|
+
`process_limits_unverified` with `limit: memory_max`, saying what was seen and that a larger value may help
|
|
1221
|
+
(`process_limits_unverified`, above). Its top is 2^53 − 2^20 bytes (9007199253692416), the largest MiB multiple the daemon
|
|
1222
|
+
keeps exactly. As for `tasks_max`, no floor is imposed for every runtime, and the OOM kills show in the status. A
|
|
1223
|
+
percentage, `infinity`, 0, a negative or fractional value, a lowercase or unknown suffix, an empty string, a number
|
|
1224
|
+
of bytes written as a string, a value that isn't a whole number of MiB or one above that top is refused by name.
|
|
1225
|
+
- **Persistence and clear:** On new seats, absent or `process_limits: {}` stores no limit. Applying an authored spec to
|
|
1226
|
+
an existing seat retains the stored limits when the key is absent, clears both with `process_limits: {}`, and
|
|
1227
|
+
replaces them whole otherwise (`{ tasks_max: 8 }` over a stored `{ tasks_max: 8, memory_max: 4G }` clears the memory
|
|
1228
|
+
limit); the new value is stored before that launch. First-start retry refuses a changed limit, and keeps a stored
|
|
1229
|
+
value it can't read as it is (that launch reports `process_limits_invalid`). Export includes the configured value,
|
|
1230
|
+
with `memory_max` in bytes. A
|
|
1231
|
+
seat whose stored value can't be read is exported without `process_limits`, and the rest of the rig exports as usual.
|
|
1232
|
+
The stored value stays as it is, and the export names the seat: a `# Not carried:` line at the top of the YAML (which
|
|
1233
|
+
`rig export` prints) with how to fix or clear it, and the `X-OpenRig-Export-Warnings` header on YAML and JSON (which
|
|
1234
|
+
`rig spec show --json` prints as a warning).
|
|
1235
|
+
|
|
1040
1236
|
### Pi (`runtime: pi`)
|
|
1041
1237
|
|
|
1042
1238
|
`runtime: pi` launches the Pi coding agent (`pi --mode rpc`) through OpenRig's RPC runner.
|
|
@@ -1060,7 +1256,7 @@ members:
|
|
|
1060
1256
|
- **Credentials:** Provision each seat separately, or put the provider's key variable in `recovery.provider_auth_env_allowlist` (for example `ANTHROPIC_API_KEY` or `MISTRAL_API_KEY`). The allowlist accepts the key variable of every provider in OpenRig's OMP provider map, from `anthropic` through `litellm`. A seat receives a key only when its `model` is written as `provider/id`, such as `anthropic/claude-sonnet-4-5`. Short names such as `opus` pass no key. A provider whose key is scoped to one endpoint also accepts that endpoint's variable: `anthropic`, `openai` and `litellm` each take their `<PROVIDER>_BASE_URL` — `ANTHROPIC_BASE_URL`, `OPENAI_BASE_URL`, `LITELLM_BASE_URL`. The allowlist admits each variable on its own, so an endpoint named without its key is admitted too, which suits a keyless local proxy. The launch gate admits these endpoint names for OMP seats; the match against the seat's declared `provider/id` happens at the OMP child, which forwards a matching endpoint already in the runner's environment just as it forwards a key. OMP also reads the launch directory's `.env`, so use a trusted working directory.
|
|
1061
1257
|
- **Approval posture:** The default floor is `--approval-mode always-ask`. Because the runner is headless, OMP approval requests are cancelled and the seat stays in needing-attention after the turn ends, until the next agent run starts. A `full_bypass` permission policy selects `--approval-mode yolo`.
|
|
1062
1258
|
- **Model errors:** Errors are printed in the pane. A completed assistant failure with a numeric `errorStatus` of 408, 429, 500, 502, 503, 504, or 529 returns to idle at terminal `agent_end`, allowing an ordinary retry. Until that terminal boundary it stays in needing-attention. Intermediate `agent_end(isTerminal:false)` events do not release attention. A statusless failed retry summary retains that classification only when its attempt matches an announced retry and its final error exactly matches the latest typed transient assistant failure in that attempt. New assistant/turn boundaries invalidate the previous failure; unmatched summaries remain runtime errors. Rejected prompts, auth/configuration failures, exhausted retries without a typed transient status, and untyped errors (including text such as `529 overloaded`) retain attention until the next agent run starts. The runner does not classify diagnostic text. A transient failure does not clear a denied approval or another unresolved runtime failure in the same turn.
|
|
1063
|
-
- **Restore:** OMP creates its session file after the first persisted turn. A new seat with no persisted turn has no resume token, so a restore leaves it awaiting a decision. Start it fresh with `rig seat launch <seat> --fresh --reason "<why>"`, the command `rig start` and `rig up --existing` print for that seat. After that file exists, OpenRig restores that exact session file. If a full rig restore leaves an OMP seat in `attention_required` or `failed`, `rig seat clear-attention` cannot yet reconcile it to `operator_recovered`, even with `--reason`, because restore reconciliation only verifies Claude Code and Codex processes ([#41](https://github.com/mvschwarz/openrig/issues/41)). Relaunch that seat with `rig seat launch <seat> --fresh --reason "<why>"`, or restore it manually. `rig seat launch --fresh` refuses a managed seat whose pane is still running unless you add `--stop`, which ends what is running there; add it only when you mean to replace that session.
|
|
1259
|
+
- **Restore:** OMP creates its session file after the first persisted turn. A new seat with no persisted turn has no resume token, so a restore leaves it awaiting a decision. Start it fresh with `rig seat launch <seat> --fresh --reason "<why>"`, the command `rig start` and `rig up --existing` print for that seat. After that file exists, OpenRig restores that exact session file. If a full rig restore leaves an OMP seat in `attention_required` or `failed`, `rig seat clear-attention` cannot yet reconcile it to `operator_recovered`, even with `--reason`, because restore reconciliation only verifies Claude Code and Codex processes ([#41](https://github.com/mvschwarz/openrig/issues/41)). Relaunch that seat with `rig seat launch <seat> --fresh --reason "<why>"`, or restore it manually. `rig seat launch --fresh` refuses a managed seat whose pane is still running unless you add `--stop`, which ends what is running there; add it only when you mean to replace that session. A pane that holds only a shell after a failed start (the harness never started, or returned to the shell, and the pane is an idle shell now) is replaced without `--stop`.
|
|
1064
1260
|
|
|
1065
1261
|
### Terminal Nodes
|
|
1066
1262
|
|
|
@@ -109,6 +109,23 @@ the direction marks are allowed, as names need them. A label that breaks those r
|
|
|
109
109
|
loading: it's ignored with `label_problem`, and the member is named by its seat as before. An external caller's entry
|
|
110
110
|
carries that `label_problem`, so an unusable label doesn't read as absent.
|
|
111
111
|
|
|
112
|
+
A member whose owner says it takes no requests declares `takes_requests: false`, with an optional `takes_requests_note`
|
|
113
|
+
saying why in plain text (the label rule). `rig_team` shows it as `takesRequests: false` and `takesRequestsNote` on that
|
|
114
|
+
entry, so a sender's assistant can choose another before sending. Work sent to it is still written:
|
|
115
|
+
`rig_queue_create` and `rig_queue_handoff` answer as before, and add `requestsAdvisory` with the note, so the sender
|
|
116
|
+
can send it elsewhere. When some rosters can't be read, or this daemon's host id isn't known yet, `requestsAdvisory`
|
|
117
|
+
says whether it takes requests isn't known, and the write goes ahead. A `takes_requests` that isn't `true` or `false`,
|
|
118
|
+
or a note that breaks the label rule or comes without `takes_requests: false`, doesn't stop the roster loading:
|
|
119
|
+
`takes_requests_problem` says why, and an unusable note leaves the flag in place.
|
|
120
|
+
|
|
121
|
+
A member can also carry `app`, which client the participant uses (such as `chatgpt`, `claude`, `claude-code`, `codex`,
|
|
122
|
+
`hermes`, `openrig` or `studio`), and `kind`, what kind of participant it is (`persistent` or `shared`), as the service
|
|
123
|
+
that issued its access recorded them. Each is a short lowercase token: a letter, then up to 31 lowercase letters, digits
|
|
124
|
+
or hyphens. OpenRig passes the value through as recorded and doesn't keep its own list: the issuing service owns the
|
|
125
|
+
values. `rig_team` shows them as `participant: { app, kind }` on that member's entry, apart from a seat's own `kind`
|
|
126
|
+
(its node kind). Absent or empty is unknown; neither is inferred from a name or label. A value that isn't a token is
|
|
127
|
+
dropped on its own, `participant_problem` (`participantProblem` in `rig_team`) says why, and the roster still loads.
|
|
128
|
+
|
|
112
129
|
The roster at `rosters/network-<rig>.json` names that rig's team. Without that file, the roster whose `id` is the
|
|
113
130
|
rig's name does (the `<rig>.json` the starter and factory leads write; the first by file name if several do). For an
|
|
114
131
|
external caller, `rig_team` reports its `name` as `rig.displayName`, beside the rig's own name. The name follows the
|