@openrig/cli 0.7.16 → 0.7.18
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 +9 -9
- package/daemon/assets/onboarding/02-self-and-competent-action.md +5 -41
- 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/skills/working-with-an-openrig-team/SKILL.md +22 -6
- package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +5 -0
- package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +23 -0
- 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 +25 -5
- package/daemon/assets/skills/rigs/SKILL.md +95 -42
- package/daemon/assets/skills/rigs/references/installing-for-someone.md +47 -0
- package/daemon/context-packs/help/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +123 -35
- package/daemon/context-packs/reference/getting-started.md +8 -8
- package/daemon/context-packs/reference/manifest.yaml +1 -1
- package/daemon/context-packs/reference/rig-spec.md +166 -0
- package/daemon/context-packs/reference/whats-new.md +294 -6
- 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-software-factory/references/worked-example.md +1 -1
- package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +2 -0
- package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/working-with-an-openrig-team/SKILL.md +22 -6
- package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
- package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
- package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-user/SKILL.md +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 +25 -5
- 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.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +52 -8
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts +2 -1
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +17 -7
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/kernel-authority.d.ts +1 -1
- package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
- package/daemon/dist/adapters/kernel-authority.js +22 -10
- package/daemon/dist/adapters/kernel-authority.js.map +1 -1
- package/daemon/dist/adapters/openshell-driver.d.ts +1 -0
- package/daemon/dist/adapters/openshell-driver.d.ts.map +1 -1
- package/daemon/dist/adapters/openshell-driver.js +3 -0
- package/daemon/dist/adapters/openshell-driver.js.map +1 -1
- package/daemon/dist/adapters/openshell-podman-observer.d.ts +9 -7
- package/daemon/dist/adapters/openshell-podman-observer.d.ts.map +1 -1
- package/daemon/dist/adapters/openshell-podman-observer.js +20 -3
- package/daemon/dist/adapters/openshell-podman-observer.js.map +1 -1
- package/daemon/dist/adapters/pi-runner-protocol.d.ts +43 -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 +88 -5
- package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner.js +707 -43
- package/daemon/dist/adapters/pi-runner.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 +223 -12
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +836 -30
- 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 +12 -0
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/168_context_usage_occupant_generation.d.ts +6 -0
- package/daemon/dist/db/migrations/168_context_usage_occupant_generation.d.ts.map +1 -0
- package/daemon/dist/db/migrations/168_context_usage_occupant_generation.js +10 -0
- package/daemon/dist/db/migrations/168_context_usage_occupant_generation.js.map +1 -0
- package/daemon/dist/db/migrations/170_rig_delivery_drains.d.ts +3 -0
- package/daemon/dist/db/migrations/170_rig_delivery_drains.d.ts.map +1 -0
- package/daemon/dist/db/migrations/170_rig_delivery_drains.js +21 -0
- package/daemon/dist/db/migrations/170_rig_delivery_drains.js.map +1 -0
- 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/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/domain/activity-grants.d.ts.map +1 -1
- package/daemon/dist/domain/activity-grants.js +2 -0
- package/daemon/dist/domain/activity-grants.js.map +1 -1
- package/daemon/dist/domain/agent-activity-store.d.ts +36 -1
- package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
- package/daemon/dist/domain/agent-activity-store.js +192 -3
- 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-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 +2 -0
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +11 -4
- 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/codex-thread-id.d.ts +13 -0
- package/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
- package/daemon/dist/domain/codex-thread-id.js +132 -9
- package/daemon/dist/domain/codex-thread-id.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/connection-contract.d.ts +91 -0
- package/daemon/dist/domain/connection-contract.d.ts.map +1 -1
- package/daemon/dist/domain/connection-contract.js +75 -1
- package/daemon/dist/domain/connection-contract.js.map +1 -1
- package/daemon/dist/domain/context-usage-store.d.ts +16 -2
- package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-usage-store.js +70 -15
- package/daemon/dist/domain/context-usage-store.js.map +1 -1
- package/daemon/dist/domain/current-work.d.ts +11 -1
- package/daemon/dist/domain/current-work.d.ts.map +1 -1
- package/daemon/dist/domain/current-work.js +107 -12
- package/daemon/dist/domain/current-work.js.map +1 -1
- package/daemon/dist/domain/cwd-resolution.d.ts +2 -0
- package/daemon/dist/domain/cwd-resolution.d.ts.map +1 -1
- package/daemon/dist/domain/cwd-resolution.js +7 -2
- 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/environment-lifecycle.d.ts +15 -0
- package/daemon/dist/domain/environment-lifecycle.d.ts.map +1 -1
- package/daemon/dist/domain/environment-lifecycle.js +22 -4
- package/daemon/dist/domain/environment-lifecycle.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 +8 -1
- 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/expected-conversation.d.ts.map +1 -1
- package/daemon/dist/domain/expected-conversation.js +26 -11
- package/daemon/dist/domain/expected-conversation.js.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.d.ts +4 -0
- package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.js +10 -3
- package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts +3 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.js +120 -6
- package/daemon/dist/domain/gateway/operator-delivery-engine.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 +1 -0
- package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.js +4 -1
- 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/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/health-diagnosis.d.ts.map +1 -1
- package/daemon/dist/domain/health-diagnosis.js +4 -0
- package/daemon/dist/domain/health-diagnosis.js.map +1 -1
- package/daemon/dist/domain/hot-potato-enforcer.d.ts +1 -1
- 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-write-contract.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js +1 -1
- 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-model-picker.d.ts +2 -0
- package/daemon/dist/domain/native-model-picker.d.ts.map +1 -1
- package/daemon/dist/domain/native-model-picker.js +8 -2
- package/daemon/dist/domain/native-model-picker.js.map +1 -1
- 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-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 +172 -21
- 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 +16 -5
- package/daemon/dist/domain/network/network-connector.js.map +1 -1
- package/daemon/dist/domain/network/network-installations.d.ts +5 -4
- package/daemon/dist/domain/network/network-installations.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-installations.js +42 -11
- package/daemon/dist/domain/network/network-installations.js.map +1 -1
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +28 -0
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/node-launcher.d.ts +11 -0
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +23 -7
- package/daemon/dist/domain/node-launcher.js.map +1 -1
- package/daemon/dist/domain/occupant-invalidator.d.ts +4 -1
- package/daemon/dist/domain/occupant-invalidator.d.ts.map +1 -1
- package/daemon/dist/domain/occupant-invalidator.js +10 -2
- package/daemon/dist/domain/occupant-invalidator.js.map +1 -1
- package/daemon/dist/domain/operation-correlation.d.ts +1 -1
- package/daemon/dist/domain/operation-correlation.d.ts.map +1 -1
- package/daemon/dist/domain/operation-correlation.js +1 -1
- package/daemon/dist/domain/operation-correlation.js.map +1 -1
- package/daemon/dist/domain/outbox-handler.d.ts +50 -0
- package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
- package/daemon/dist/domain/outbox-handler.js +255 -1
- package/daemon/dist/domain/outbox-handler.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/process-limits.d.ts +37 -0
- package/daemon/dist/domain/process-limits.d.ts.map +1 -0
- package/daemon/dist/domain/process-limits.js +69 -0
- package/daemon/dist/domain/process-limits.js.map +1 -0
- package/daemon/dist/domain/process-table.d.ts +9 -0
- package/daemon/dist/domain/process-table.d.ts.map +1 -1
- package/daemon/dist/domain/process-table.js +21 -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 +18 -7
- package/daemon/dist/domain/queue-erasure.d.ts.map +1 -1
- package/daemon/dist/domain/queue-erasure.js +270 -41
- package/daemon/dist/domain/queue-erasure.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +81 -16
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +325 -76
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts +3 -0
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +90 -30
- 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-wake-ladder.d.ts +8 -0
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +245 -41
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.d.ts +2 -1
- package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.js +31 -4
- package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
- package/daemon/dist/domain/restore-check-service.d.ts +23 -0
- package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
- package/daemon/dist/domain/restore-check-service.js +198 -12
- package/daemon/dist/domain/restore-check-service.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +64 -3
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +335 -82
- 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 +26 -0
- package/daemon/dist/domain/restore-preconditions.d.ts.map +1 -1
- package/daemon/dist/domain/restore-preconditions.js +63 -1
- package/daemon/dist/domain/restore-preconditions.js.map +1 -1
- package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
- package/daemon/dist/domain/resume-metadata-refresher.js +4 -1
- 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-delivery-drain.d.ts +46 -0
- package/daemon/dist/domain/rig-delivery-drain.d.ts.map +1 -0
- package/daemon/dist/domain/rig-delivery-drain.js +128 -0
- package/daemon/dist/domain/rig-delivery-drain.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-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/rig-lifecycle-service.js +4 -1
- package/daemon/dist/domain/rig-lifecycle-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 +73 -0
- package/daemon/dist/domain/rig-repository.js.map +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts +22 -3
- package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/daemon/dist/domain/rig-teardown.js +99 -20
- 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 +22 -2
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +82 -23
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.js +16 -1
- package/daemon/dist/domain/rigspec-preflight.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 +12 -0
- package/daemon/dist/domain/rosters.d.ts.map +1 -1
- package/daemon/dist/domain/rosters.js +17 -4
- package/daemon/dist/domain/rosters.js.map +1 -1
- package/daemon/dist/domain/runner-channel.d.ts +33 -0
- package/daemon/dist/domain/runner-channel.d.ts.map +1 -0
- package/daemon/dist/domain/runner-channel.js +179 -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/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/scope-audit.d.ts.map +1 -1
- package/daemon/dist/domain/scope/scope-audit.js +55 -3
- package/daemon/dist/domain/scope/scope-audit.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.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.js +2 -1
- 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 +209 -64
- package/daemon/dist/domain/seat-handover-service.js.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.d.ts +8 -1
- package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.js +52 -12
- package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.d.ts +3 -2
- package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.js +16 -4
- package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts +21 -4
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +68 -2
- 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 +34 -2
- 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 +9 -3
- package/daemon/dist/domain/seat-runtime-switch-service.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-name.d.ts +13 -0
- package/daemon/dist/domain/session-name.d.ts.map +1 -1
- package/daemon/dist/domain/session-name.js +77 -0
- package/daemon/dist/domain/session-name.js.map +1 -1
- package/daemon/dist/domain/session-registry.d.ts +7 -1
- package/daemon/dist/domain/session-registry.d.ts.map +1 -1
- package/daemon/dist/domain/session-registry.js +7 -4
- package/daemon/dist/domain/session-registry.js.map +1 -1
- package/daemon/dist/domain/session-transport.d.ts +16 -3
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +161 -16
- 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 +1 -0
- package/daemon/dist/domain/shared-history-selection.d.ts.map +1 -1
- package/daemon/dist/domain/shared-history-selection.js +3 -1
- package/daemon/dist/domain/shared-history-selection.js.map +1 -1
- package/daemon/dist/domain/snapshot-capture.d.ts +4 -1
- package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
- package/daemon/dist/domain/snapshot-capture.js +19 -12
- package/daemon/dist/domain/snapshot-capture.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/startup-submission-evidence.d.ts.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.js +3 -2
- package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
- 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 +24 -7
- 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-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-policy.js +1 -1
- package/daemon/dist/domain/terminal-policy.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +91 -6
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.js +6 -0
- package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/daemon/dist/domain/watchdog-delivery.d.ts +1 -1
- package/daemon/dist/domain/watchdog-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-delivery.js +6 -3
- package/daemon/dist/domain/watchdog-delivery.js.map +1 -1
- package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-jobs-repository.js +1 -0
- package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.d.ts +9 -0
- package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.js +42 -5
- package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
- package/daemon/dist/domain/workflow-instance-store.d.ts +3 -2
- package/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-instance-store.js +6 -4
- package/daemon/dist/domain/workflow-instance-store.js.map +1 -1
- package/daemon/dist/domain/workflow-projector.d.ts +48 -0
- package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-projector.js +160 -90
- package/daemon/dist/domain/workflow-projector.js.map +1 -1
- package/daemon/dist/domain/workflow-reconciliation.d.ts +7 -1
- package/daemon/dist/domain/workflow-reconciliation.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-reconciliation.js +51 -13
- package/daemon/dist/domain/workflow-reconciliation.js.map +1 -1
- package/daemon/dist/domain/workflow-runtime.d.ts +5 -3
- package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-runtime.js +48 -22
- package/daemon/dist/domain/workflow-runtime.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 +13 -2
- package/daemon/dist/index.js.map +1 -1
- package/daemon/dist/routes/activity.d.ts.map +1 -1
- package/daemon/dist/routes/activity.js +105 -2
- 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 +2 -1
- package/daemon/dist/routes/attention.js.map +1 -1
- package/daemon/dist/routes/compaction.d.ts.map +1 -1
- package/daemon/dist/routes/compaction.js +46 -7
- package/daemon/dist/routes/compaction.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 +266 -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 +18 -0
- package/daemon/dist/routes/restore-check.js.map +1 -1
- package/daemon/dist/routes/rig-delivery-drain.d.ts +3 -0
- package/daemon/dist/routes/rig-delivery-drain.d.ts.map +1 -0
- package/daemon/dist/routes/rig-delivery-drain.js +46 -0
- package/daemon/dist/routes/rig-delivery-drain.js.map +1 -0
- 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/seat.d.ts.map +1 -1
- package/daemon/dist/routes/seat.js +107 -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/startup.d.ts.map +1 -1
- package/daemon/dist/routes/startup.js +127 -29
- package/daemon/dist/routes/startup.js.map +1 -1
- package/daemon/dist/routes/up.d.ts.map +1 -1
- package/daemon/dist/routes/up.js +16 -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 +18 -1
- package/daemon/dist/routes/watchdog.js.map +1 -1
- package/daemon/dist/routes/workflow.js +1 -1
- package/daemon/dist/routes/workflow.js.map +1 -1
- package/daemon/dist/server.d.ts +3 -0
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +13 -0
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +57 -16
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/docs/reference/agent-startup-guide.md +5 -3
- package/daemon/docs/reference/community-harness-examples/dsh/README.md +8 -0
- package/daemon/docs/reference/community-harness-examples/dsh/openrig-dsh-runner.mjs +139 -5
- package/daemon/docs/reference/community-harness-presets.md +2 -0
- package/daemon/docs/reference/daemon-http-clients.md +123 -6
- package/daemon/docs/reference/getting-started.md +8 -8
- package/daemon/docs/reference/harness-runner-contract.md +91 -1
- package/daemon/docs/reference/herdr-app.md +6 -0
- package/daemon/docs/reference/hosted-members.md +4 -2
- package/daemon/docs/reference/network-connector.md +4 -3
- package/daemon/docs/reference/queue-erasure.md +16 -1
- package/daemon/docs/reference/quickstart.md +2 -2
- package/daemon/docs/reference/rig-spec.md +166 -0
- package/daemon/docs/reference/rosters.md +9 -0
- package/daemon/docs/reference/sdlc-conventions.md +5 -1
- package/daemon/docs/reference/slack-app-setup.md +39 -21
- package/daemon/docs/reference/whats-new.md +294 -6
- package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +23 -0
- package/daemon/specs/agents/shared/skills/core/openrig-software-factory/references/worked-example.md +1 -1
- package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +2 -0
- package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +22 -6
- package/daemon/specs/rigs/launch/factory/guidance/lead-first-move.md +26 -5
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +92 -18
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +9 -6
- package/daemon/specs/rigs/launch/kernel/culture/CULTURE.md +12 -0
- package/daemon/specs/rigs/launch/starter/guidance/lead-first-move.md +26 -5
- package/dist/acp/connector.js +1 -1
- package/dist/acp/connector.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/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/config.d.ts.map +1 -1
- package/dist/commands/config.js +2 -0
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/down.d.ts.map +1 -1
- package/dist/commands/down.js +7 -1
- package/dist/commands/down.js.map +1 -1
- package/dist/commands/environment.js +1 -1
- package/dist/commands/environment.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/network.d.ts +2 -0
- package/dist/commands/network.d.ts.map +1 -1
- package/dist/commands/network.js +14 -1
- package/dist/commands/network.js.map +1 -1
- package/dist/commands/ps.d.ts +28 -0
- package/dist/commands/ps.d.ts.map +1 -1
- package/dist/commands/ps.js +76 -2
- package/dist/commands/ps.js.map +1 -1
- package/dist/commands/queue.d.ts +1 -1
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +350 -29
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/restore.d.ts.map +1 -1
- package/dist/commands/restore.js +6 -1
- package/dist/commands/restore.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 +3 -0
- package/dist/commands/roster.d.ts.map +1 -1
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +128 -9
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +47 -6
- package/dist/commands/send.js.map +1 -1
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +5 -3
- 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.map +1 -1
- package/dist/commands/terminal.js +5 -5
- package/dist/commands/terminal.js.map +1 -1
- package/dist/commands/up.d.ts.map +1 -1
- package/dist/commands/up.js +10 -0
- package/dist/commands/up.js.map +1 -1
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +10 -4
- package/dist/commands/workflow.js.map +1 -1
- package/dist/config-store.d.ts +3 -1
- package/dist/config-store.d.ts.map +1 -1
- package/dist/config-store.js +5 -0
- package/dist/config-store.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +1 -0
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/lib/bundle-check.d.ts.map +1 -1
- package/dist/lib/bundle-check.js +33 -3
- package/dist/lib/bundle-check.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/scope-audit.d.ts.map +1 -1
- package/dist/lib/scope/scope-audit.js +55 -3
- package/dist/lib/scope/scope-audit.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 +170 -27
- package/dist/mcp-server.js.map +1 -1
- package/dist/person-registration-offer.d.ts.map +1 -1
- package/dist/person-registration-offer.js +2 -1
- package/dist/person-registration-offer.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.js +3 -3
- package/dist/terminal-window.js.map +1 -1
- package/package.json +2 -2
- package/tui/dist/config/config-model.js +1 -1
- package/tui/dist/config/config-model.js.map +1 -1
- package/tui/dist/daemon-client.d.ts +3 -1
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +6 -3
- package/tui/dist/daemon-client.js.map +1 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +31 -1
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/render.d.ts.map +1 -1
- package/tui/dist/render.js +106 -15
- package/tui/dist/render.js.map +1 -1
- package/tui/dist/types.d.ts +2 -0
- package/tui/dist/types.d.ts.map +1 -1
- package/ui/dist/assets/{index-BvUEh33d.js → index-1O1f3A7K.js} +55 -55
- package/ui/dist/index.html +1 -1
|
@@ -11,7 +11,8 @@
|
|
|
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
13
|
> - **Current source:** per-launch credentials for hosted Pi, Pi-RPC presets and declared community runners (section 4).
|
|
14
|
-
>
|
|
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.
|
|
15
16
|
> - **Unchanged:** plain community presets and the other built-in runtimes (Claude Code, Codex, OMP, terminal).
|
|
16
17
|
>
|
|
17
18
|
> **What has run natively, in 0.7.8's release testing, against a Claude Haiku model:**
|
|
@@ -153,6 +154,66 @@ host hooks, contained guest grants and install-token Pi usage keep their legacy
|
|
|
153
154
|
current bound Pi credential. No native input channel or cancellation capability is implied by this credential.
|
|
154
155
|
|
|
155
156
|
Post each event to `POST <base>/api/activity/hooks` with `Authorization: Bearer <token>`.
|
|
157
|
+
|
|
158
|
+
The same endpoint accepts an observation-only report from a current run-bound credential:
|
|
159
|
+
|
|
160
|
+
```json
|
|
161
|
+
{"runId":"<OPENRIG_RUN_ID>","sequence":1,"occurredAt":"2026-11-12T00:00:00Z",
|
|
162
|
+
"observations":{"model":{"id":"provider/model"},"context":{"usedTokens":1000,"windowTokens":10000}}}
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Send this separately from activity and identity posts, without `hookEvent` or `eventFamily`. It records no activity
|
|
166
|
+
or verified identity. Core stores a receipt with the authenticated run/session binding in its existing event log;
|
|
167
|
+
retrying the same observation sequence and payload returns that receipt, while conflicting reuse returns 409.
|
|
168
|
+
Observation ordering is separate from activity/turn ordering. Omitted components keep their own ages; a new run
|
|
169
|
+
cannot inherit an earlier run's reports. Counts without capacity or an explicit percentage remain reported counts,
|
|
170
|
+
not an inferred context occupancy (`availability: unknown`, `reason: window_capacity_unknown`). A valid
|
|
171
|
+
`usedTokens/windowTokens` pair or explicit percentage supplies reported occupancy. The current context reader
|
|
172
|
+
uses accepted events, rechecking run/binding, sequence and the existing ten-minute freshness policy; it never
|
|
173
|
+
revives a runner sample from the context cache. Community model reads use the same current-report boundary.
|
|
174
|
+
Observation model IDs and session references retain Unicode format characters (`\p{Cf}`), including bidi formatting,
|
|
175
|
+
zero-width joiners and non-joiners, where the existing identifier/path format permits. CLI/UI displays escape these
|
|
176
|
+
characters visibly in human CLI model output and UI event previews. These display boundaries use the existing terminal
|
|
177
|
+
JSON escape set: DEL/C1 controls, format characters, line/paragraph separators and default-ignorable code points.
|
|
178
|
+
Stored values, JSON/API payloads and identity
|
|
179
|
+
comparisons retain the original spelling. Observation Pi paths opt into format characters without changing ordinary
|
|
180
|
+
launch/resume validation; their absolute-path, traversal, length and `.jsonl` checks remain.
|
|
181
|
+
Their source is `runner_reported`, displayed as “runner-reported”; existing Claude/Codex/Pi native model
|
|
182
|
+
readers retain their evidence paths and labels. Omitted components retain their own sample times.
|
|
183
|
+
An unreadable binding or report is unknown (`binding_unverified`), not evidence of replacement. The grant and
|
|
184
|
+
existing receipt remain intact; retrying after verification recovers the same accepted receipt. A standing that becomes
|
|
185
|
+
unverified during observation admission, including a failed standing read, returns retryable `409 runner_observation_unverified`.
|
|
186
|
+
`runner_observation_unavailable` remains for a positively stale/revoked run or no bound session; invalid reports and
|
|
187
|
+
conflicting sequence reuse retain their existing refusal codes. No refusal revokes credentials or fabricates observed state.
|
|
188
|
+
|
|
189
|
+
Report changed components rather than repeating unchanged high-rate samples. Retry the same report with its original
|
|
190
|
+
sequence, timestamp and payload. If unchanged facts must remain current, renew them deliberately with a new sequence
|
|
191
|
+
and sample time before the existing freshness window expires; change-only reporting without renewal eventually becomes
|
|
192
|
+
stale. This reduces unnecessary event growth, but does not bound retention or worst-case history query cost. No default
|
|
193
|
+
physical pruning of observation events is provided.
|
|
194
|
+
|
|
195
|
+
A fresh current session component can fill an absent resume reference through the existing report-only
|
|
196
|
+
persistence path with `launcher` provenance, below Core scrape/adoption evidence. Pi and Pi-based community references
|
|
197
|
+
are promoted only if the adapter's default session-file check accepts them. A reference outside that resume format stays
|
|
198
|
+
in the accepted observation, with model/context facts and its receipt intact, but writes no resume token or identity event.
|
|
199
|
+
Generic community harnesses retain their pass-through reference behavior. A promoted reference emits the existing session-identity event once after
|
|
200
|
+
commit; it does not stamp independent verification or resumability. A known conflicting Core reference stays
|
|
201
|
+
unchanged and makes current observations unknown. A retry returns its original receipt without repeating
|
|
202
|
+
identity effects. Community process identity remains unconfirmed without independent Core evidence.
|
|
203
|
+
Runner context does not provision a collector or enable legacy watchdog/compaction enforcement; that
|
|
204
|
+
watchdog's raw cache path excludes runner-reported entries.
|
|
205
|
+
|
|
206
|
+
Core observes launch-recorded community runners independently of session reports. Once the existing startup
|
|
207
|
+
readiness is committed, a concrete foreground shell with no live child can establish the existing process
|
|
208
|
+
mismatch and end only the sampled run credential, even before any native reference was reported. A shell
|
|
209
|
+
wrapper with a live descendant, incomplete/unreadable census or changed pane/binding stays unconfirmed;
|
|
210
|
+
unknown evidence never ends a run. On Linux, a permission-hidden process (`EPERM`/`EACCES` reading its stat)
|
|
211
|
+
makes this absence check unconfirmed, even when the hidden process might be unrelated: its parent cannot be read.
|
|
212
|
+
Processes that disappeared (`ENOENT`/`ESRCH`) do not mark the census permission-incomplete; macOS retains its existing
|
|
213
|
+
`ps` listing. Other process-table consumers retain their row-only listing behavior. Pending launch remains unconfirmed until readiness. Explicit same-process
|
|
214
|
+
adoption retains the observed pane anchor and its existing ready state. Native Claude/Codex/Pi checks and
|
|
215
|
+
Pi-RPC report routing keep their existing paths. A report plus a live Node process does not independently
|
|
216
|
+
verify the native conversation.
|
|
156
217
|
- **Finding the base and token:** take them from `OPENRIG_URL` (or `OPENRIG_PORT`, with `OPENRIG_HOST` defaulting to
|
|
157
218
|
`127.0.0.1`) and `OPENRIG_ACTIVITY_HOOK_TOKEN`, or else from `$OPENRIG_HOME/activity-endpoint.json`.
|
|
158
219
|
- **Posting:** post one at a time, in order, with a short timeout. Never make the agent wait on a post.
|
|
@@ -262,6 +323,35 @@ permission or input handling in existing built-in runtimes or require every poss
|
|
|
262
323
|
- without a TTY, input is read line by line;
|
|
263
324
|
- this isn't a binary-safe channel.
|
|
264
325
|
|
|
326
|
+
### Optional run-bound native input and wake (version 1)
|
|
327
|
+
|
|
328
|
+
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.
|
|
329
|
+
|
|
330
|
+
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 implements managed built-in Pi and declared preset contract families; a live runner must explicitly declare its supported operations. Hosted Pi-RPC remains a separate adoption; cancellation is false. Built-in managed Pi and the dsh example have independently authored consumers. Other programs, including Pi-compatible forks and OMP, require their own adoption and evidence.
|
|
331
|
+
|
|
332
|
+
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.
|
|
333
|
+
|
|
334
|
+
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.
|
|
335
|
+
|
|
336
|
+
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.
|
|
337
|
+
|
|
338
|
+
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.
|
|
339
|
+
|
|
340
|
+
An unreadable binding, including a failed grant-standing read, returns retryable `409 runner_grant_unverified`.
|
|
341
|
+
It does not revoke authority, clear the live receiver map or discard retained receipts. The existing consumers retry
|
|
342
|
+
those saved HTTP posts after verification recovers; they do not repeat native work. Positive stale/revoked authority
|
|
343
|
+
keeps its existing refusal. A new native request still requires a currently capable runner.
|
|
344
|
+
|
|
345
|
+
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.
|
|
346
|
+
|
|
347
|
+
`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.
|
|
348
|
+
|
|
349
|
+
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.
|
|
350
|
+
|
|
351
|
+
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.
|
|
352
|
+
|
|
353
|
+
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.
|
|
354
|
+
|
|
265
355
|
## 6. Cancel: requested isn't the same as done
|
|
266
356
|
|
|
267
357
|
- **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
|
|
|
@@ -89,7 +89,8 @@ These facts stay separate on the row:
|
|
|
89
89
|
- **Wake:** with a trigger, the row's wake result is `wake-accepted:webhook (<url_ref>) answered <status>` when the trigger took the
|
|
90
90
|
ring, `indeterminate:webhook …` when it didn't answer in time, or `failed:webhook …`. Accepted means the tool's trigger
|
|
91
91
|
answered, not that the member read the row.
|
|
92
|
-
- With no trigger, the result is `
|
|
92
|
+
- With no trigger, the result is `awaiting-pickup: …`: no wake is sent, and the work waits until the member reads its queue (rows
|
|
93
|
+
recorded before this wording read `unroutable: …`, and both are read the same way). The member finds work by reading its own inbox and picks a row up by claiming
|
|
93
94
|
it, so a row gets no finding of its own. Work it leaves unclaimed past the stuck sweep's unclaimed age
|
|
94
95
|
(`queue.stuck_sweep_unclaimed_age_minutes`, 60 by default) is listed in one standing notice per member. The notice goes to
|
|
95
96
|
the operator seat when it's a person, else the rows' creator when they all share one, else the operator agent, else the
|
|
@@ -182,7 +183,8 @@ and nothing else is offered:
|
|
|
182
183
|
can address count, and the first of these that any of them matches decides, so another seat's slug never makes an exact
|
|
183
184
|
name ambiguous and a seat the grant can't address never shadows one it can. The item is stored under that
|
|
184
185
|
seat's actual session. A slug two seats match returns `destination_ambiguous` with the candidates, and a name that no
|
|
185
|
-
seat the grant can reach has returns `destination_not_found`.
|
|
186
|
+
seat the grant can reach has returns `destination_not_found`. If the team couldn't be read to check, it returns
|
|
187
|
+
`destination_unchecked` and nothing was written; try again. A name the grant can't address as written (its own seat,
|
|
186
188
|
or another assistant's without `team`/`list`) stays `out_of_scope`, whether or not that seat exists.
|
|
187
189
|
- **Two assistants together:** a grant with `team`/`list` sees its rigs' seats with `rig_team`, and may address and hear from
|
|
188
190
|
another connected assistant's seat. A grant without it never reaches a seat in the service's caller form
|
|
@@ -83,7 +83,7 @@ rig network connect <seat> --hub <url> --as <participant> --token-file <path>
|
|
|
83
83
|
- `<participant>` is the participant's address in the hub (`member@rig`), and the token file holds its bearer.
|
|
84
84
|
- The binding follows the seat's node, so a relaunched or renamed seat keeps it.
|
|
85
85
|
- The token is stored at `<OpenRig home>/network-secrets/<binding>/credential.json` (a 0700 folder and a 0600 file). It
|
|
86
|
-
is never returned by the API or shown in status. A
|
|
86
|
+
is never returned by the API or shown in status. A user name or password in the hub URL is refused: put the token in its token file, not in the URL.
|
|
87
87
|
- A plain-http hub URL needs `--allow-http` (see Limits).
|
|
88
88
|
- One active binding per local seat, and one per hub participant.
|
|
89
89
|
- On a daemon with an operator bearer configured, `connect` and `disconnect` send `OPENRIG_AUTH_BEARER_TOKEN`, as the
|
|
@@ -92,7 +92,7 @@ rig network connect <seat> --hub <url> --as <participant> --token-file <path>
|
|
|
92
92
|
## What the connector does
|
|
93
93
|
|
|
94
94
|
The daemon runs the connector for every active binding. It normally polls every 30 seconds
|
|
95
|
-
(`OPENRIG_NETWORK_POLL_SECONDS
|
|
95
|
+
(`OPENRIG_NETWORK_POLL_SECONDS`; a value under 5 is ignored); a failing hub, backoff or a backlog can delay it. Each binding's pass has
|
|
96
96
|
a deadline of 60 seconds, so one slow hub doesn't hold the others. With no active binding it makes no network call.
|
|
97
97
|
|
|
98
98
|
1. It lists the participant's own items on the hub, claims each pending one, and creates a local queue item for the
|
|
@@ -144,7 +144,8 @@ a replaced installation. `--json` adds the connector's view: each binding's next
|
|
|
144
144
|
- **The seat has no session:** its hub items stay pending and unclaimed, and the last error says why. They're taken
|
|
145
145
|
once the seat has a session again. A stopped seat still has its session, so it still takes items; they wait for it.
|
|
146
146
|
- **The hub can't be reached, or a pass runs past its deadline:** the binding stays active, the error is recorded, and
|
|
147
|
-
retries back off, doubling
|
|
147
|
+
retries back off, doubling to 5 minutes by default, or to the poll interval when that is longer, with up to 20%
|
|
148
|
+
jitter either way. A failure on this machine is recorded as local, not as the hub's.
|
|
148
149
|
- **The hub refuses the credential** (HTTP 401): the binding is marked revoked and its credential removed. No new work
|
|
149
150
|
comes in; local items and results stay.
|
|
150
151
|
|
|
@@ -63,6 +63,19 @@ Records that name the account but also belong elsewhere are counted under `rig.l
|
|
|
63
63
|
- **When nothing of the rig is left,** the record becomes a completion receipt: the rig's name is cleared, and its id, the membership digest and the time stay. An identical rerun, after a lost response say, still verifies and reports the same clean result, with `rig.completedAt`. The receipt is kept for good. It holds no content.
|
|
64
64
|
- **A removed rig's id that was never verified** with this membership erases nothing keyed by it. Those records are counted under `rig.left`, the name-bound tables are listed under `rig.unknown`, and the run isn't clean.
|
|
65
65
|
|
|
66
|
+
**An account rig that never had a member** (no assistant ever connected) has no members to name. Give an empty members file (or `[]`) with `--rig`. It's accepted only when this daemon can show the rig never had a session:
|
|
67
|
+
- no session on any of its nodes;
|
|
68
|
+
- no event of the rig, or of its nodes, that names a session;
|
|
69
|
+
- no node removed from it, since a node's sessions are deleted with it;
|
|
70
|
+
- no record under an address at the rig in queue rows and their transitions, inbox and outbox entries, stream items, inbox check-ins, stream reader actions and subscriptions, or chatroom posts. A grant-service caller or a hosted member works with no session row, and this is where it shows. Name those seats instead. These are the tables the check reads; it reads no others;
|
|
71
|
+
- an address at the rig is `<name>@<rig>`, or `<name>@<rig>@<host>` where the host is this one. One whose host is shown to be another host names that host's rig, so it doesn't count and isn't erased. Shown means a registered entry whose host id is declared, or learned at its current URL, and differs from this daemon's own id. Anything else counts, including an entry known only by its name, or a daemon whose own id isn't known;
|
|
72
|
+
- no earlier erasure that recorded members for it.
|
|
73
|
+
|
|
74
|
+
Otherwise it's refused (`erase_rig_mismatch`, `erase_rig_had_sessions` or `erase_rig_history_unknown`), and nothing is erased. The run then erases the rig's records as a members run does and records the rig with no members. So once the rig is removed, the same command completes as above.
|
|
75
|
+
- **A removed rig is accepted with no members only on that record,** and only if nothing since shows a member came later. That means no node, seat or session event of the rig, no event naming a session, and no queue work at the rig's name. Otherwise it's refused with `erase_rig_had_sessions`.
|
|
76
|
+
- **The proof is checked again in each transaction that deletes or records.** If anything new for the rig appears while the run yields (an event of the rig or its nodes, a session, a record at its address, or an existing row moved to its address), the run stops with `error.stage` `rig`. It erases nothing more, writes no record, and can be rerun. The check in the transaction that writes the record reads every record at the rig's address, not only those added since the proof, because a table can give a new record a deleted record's position.
|
|
77
|
+
- **A grant-service connection that never listed its inbox or did any work** leaves nothing in this database: its presence is kept in the MCP server's own file. The check can't see it. One that listed its inbox left a check-in, which counts.
|
|
78
|
+
|
|
66
79
|
**Retention windows** (`rig config set …`, read at the daily sweep and at daemon start):
|
|
67
80
|
|
|
68
81
|
| Setting | Default | Effect |
|
|
@@ -127,9 +140,11 @@ The command prints one JSON report (`--json` makes it a single line):
|
|
|
127
140
|
|---|---|
|
|
128
141
|
| `erase_scope_required` | no scope named |
|
|
129
142
|
| `erase_scope_conflict` | more than one scope |
|
|
130
|
-
| `erase_members_invalid` | an empty list
|
|
143
|
+
| `erase_members_invalid` | an empty list without `--rig`, or names with surrounding spaces |
|
|
131
144
|
| `erase_rig_invalid` | a rig without `--members`, or an empty rig id |
|
|
132
145
|
| `erase_rig_mismatch` | the rig exists, and its sessions and the members don't match both ways |
|
|
146
|
+
| `erase_rig_had_sessions` | an empty members list, and the rig's events name a session, or an earlier erasure recorded members for it |
|
|
147
|
+
| `erase_rig_history_unknown` | an empty members list, and a node was removed from the rig, or the rig is removed and no earlier run recorded it with no members |
|
|
133
148
|
| `erase_ids_invalid` | an empty ids list, or ids with surrounding spaces |
|
|
134
149
|
| `erase_action_invalid` | an action other than `delete` or `scrub` |
|
|
135
150
|
| `erase_routine_off` | both windows are `0` |
|
|
@@ -12,9 +12,9 @@ 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.18/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.18/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
|
|
@@ -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. `{ tasks_max: N }` (an integer from 1 to 4194304) puts the seat's own processes in a systemd user scope of their own with `TasksMax=N`; 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 memory or CPU limit) is refused. `{}` clears a stored limit when re-applying an authored spec; omitting the key leaves it 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,110 @@ 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, so a seat that forks without end hits its own limit instead of the host's:
|
|
1106
|
+
|
|
1107
|
+
```yaml
|
|
1108
|
+
members:
|
|
1109
|
+
- id: impl
|
|
1110
|
+
agent_ref: local:agents/impl
|
|
1111
|
+
profile: default
|
|
1112
|
+
runtime: codex
|
|
1113
|
+
cwd: .
|
|
1114
|
+
process_limits:
|
|
1115
|
+
tasks_max: 512
|
|
1116
|
+
```
|
|
1117
|
+
|
|
1118
|
+
- **Opt-in, per seat, no default:** Only a member with `process_limits.tasks_max` gets a limit. Without the key, a seat
|
|
1119
|
+
launches exactly as before. `tasks_max` is the only supported key; any other key, such as a memory or CPU limit, is
|
|
1120
|
+
refused by name rather than accepted and ignored.
|
|
1121
|
+
- **The boundary:** The seat's pane command starts in a transient `systemd-run --user --scope` of its own, in
|
|
1122
|
+
`openrigseats.slice`, with `TasksMax=N` as its only limit. The seat's processes leave the terminal server's scope:
|
|
1123
|
+
a limit an operator put on that scope no longer covers this seat. The other seats, the daemon and the terminal server
|
|
1124
|
+
stay where they were, outside this seat's limit. Processes the seat itself starts through `systemd-run --user` land
|
|
1125
|
+
in units of their own and are not counted against it. The limit guards the host against a seat's runaway forks; it
|
|
1126
|
+
is not isolation. The seat's environment names the shared terminal server (`TMUX`), so a pane, window, popup or
|
|
1127
|
+
`run-shell` the seat asks that server for (a harness's teammate panes too) is forked by the server, outside this
|
|
1128
|
+
seat's scope and its limit. The limit is also cooperative: a process in the seat that reaches the user manager can
|
|
1129
|
+
raise its own scope's `TasksMax` with `systemctl --user set-property`. The short-lived terminal OpenRig opens to
|
|
1130
|
+
check that a Claude conversation can be resumed runs without the seat's identity, outside any seat scope.
|
|
1131
|
+
- **A fresh launch that can't get the limit is not started:** A fresh launch (first launch by `rig up`, `rig seat launch
|
|
1132
|
+
--fresh`, and a relaunch without a snapshot; a first start through the restore path, such as a never-occupied seat's
|
|
1133
|
+
start or auto-rehydrate, is a recovery, below) says it couldn't apply the limit instead of starting the seat without
|
|
1134
|
+
it, with one of four codes:
|
|
1135
|
+
- `process_limits_unsupported` for a positive inability of the host: not Linux, `systemd-run` or `systemctl` not on
|
|
1136
|
+
the daemon's `PATH`, a systemd too old for seat scopes (it needs 236 or later), no user manager running for the
|
|
1137
|
+
user (no socket to reach it), or a throwaway scope with no cgroup v2 path, no `pids.max`, or a `pids.max` that is
|
|
1138
|
+
not the value (the pids controller is not delegated);
|
|
1139
|
+
- `process_limits_setup` when this setup can't use a scope, with the way out: no `XDG_RUNTIME_DIR` and no
|
|
1140
|
+
`/run/user/<uid>` (start the daemon with `XDG_RUNTIME_DIR` set, or as a systemd user service), coreutils' `timeout`
|
|
1141
|
+
not on the daemon's `PATH`, `terminal.inherit_tmux_environment` on (a seat with a limit needs the scoped launch
|
|
1142
|
+
environment: set it to false), a daemon that gives seats no launch environment, or a seat placed in an environment
|
|
1143
|
+
guest (its agent runs in the guest, and a scope on this host would hold only the local viewer);
|
|
1144
|
+
- `process_limits_unverified` (retryable) when it isn't known either way: the user manager timed out or its socket
|
|
1145
|
+
refused the connection (starting or restarting), the probe read nothing or output it could not understand, an error not recognized, a launch setting
|
|
1146
|
+
that couldn't be read, a failed check from the last minute (reported with its age), or a scope start the launch
|
|
1147
|
+
didn't see in time (its new session is removed, by the identity tmux printed when it made it, and the seat is never
|
|
1148
|
+
started again without the limit; when it can't be removed, the refusal says the session may still be running and
|
|
1149
|
+
how to stop it, without a retry, and its `processLimits` carries `possiblyRunning: true` and `retryable` false). What
|
|
1150
|
+
was seen of the command is said apart from what became of its terminal: only a start that failed before the command
|
|
1151
|
+
(the pane died with its start marker still pending) reads "not started" and retryable. When the command started in
|
|
1152
|
+
the scope but its process wasn't seen there in time, when the time ran out with the pane still alive (its wrapper
|
|
1153
|
+
can still start the command after the last look), or when its pane or its start marker couldn't be read, the refusal says the
|
|
1154
|
+
command started (or may have), what became of its terminal, and suggests no retry:
|
|
1155
|
+
`processLimits.commandStarted` is `true` or `"unknown"`, and `retryable` is false. A capped launch whose `new-session`
|
|
1156
|
+
printed no pane and whose session can't be read back is refused the same possibly-running way (a session positively
|
|
1157
|
+
absent stays `session_not_created`). The first launch after that minute checks again, so a setup fixed meanwhile is
|
|
1158
|
+
seen;
|
|
1159
|
+
- `process_limits_invalid` when the seat's stored value can't be read: only this seat is affected, and the value is
|
|
1160
|
+
kept until a re-applied spec replaces or clears it.
|
|
1161
|
+
Over HTTP, `process_limits_unverified` answers 409 and the other three 422, with `retryable` and `processLimits` (the
|
|
1162
|
+
kind, the reason and the requested value). A daemon that is not itself a systemd user service is no reason: the probe
|
|
1163
|
+
decides. To launch an existing seat as before, re-apply its spec with `process_limits: {}`: with the key just
|
|
1164
|
+
removed, the stored limit stays (see "Persistence and clear").
|
|
1165
|
+
- **A recovery goes ahead without it, and says so:** A handover, a runtime switch and a restart in place choose their
|
|
1166
|
+
path before anything is stopped. A restore and a resume (`rig up` from a snapshot, an auto-rehydrate, a resume of the
|
|
1167
|
+
seat's own conversation) are recoveries too, the fresh launch a restore falls back to for a seat with no saved startup
|
|
1168
|
+
context included: nothing of the seat runs then, and right after a reboot the user manager
|
|
1169
|
+
may not answer yet. Where the limit can't be applied, they go on without it and return a structured
|
|
1170
|
+
warning (`processLimits`: `state: "not_applied"`, the kind, the reason, whether a retry may help); the request stays
|
|
1171
|
+
stored, and the seat's status reads "requested, not applied" until a fresh launch applies it. A recovery never stops a
|
|
1172
|
+
seat and then fails for its limit. A scope failure late in the path (after the check) starts the seat again without
|
|
1173
|
+
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
|
|
1174
|
+
wasn't seen in time, or the command started in the scope and ended), nothing is run a second time, and the warning
|
|
1175
|
+
reads `state: "unknown"`. A restart in place keeps the process tree it has (and a limit already applied to it); when
|
|
1176
|
+
that process's limit can't be read back, its warning reads `unknown`. A bare agent pane's respawn carries no seat
|
|
1177
|
+
environment: it keeps the limit, in a new scope, only when the running process reads back as `applied` and a new
|
|
1178
|
+
scope can be made; otherwise it comes back without the limit, with the warning.
|
|
1179
|
+
- **When it applies:** Each launch reads the stored value and starts the seat's new pane in a new scope. A seat that is
|
|
1180
|
+
already running is never moved or stopped: a changed value applies at that seat's next launch. A daemon restart
|
|
1181
|
+
relaunches nothing, so running seats keep the scope they started in.
|
|
1182
|
+
- **Status:** `rig seat status <seat>` reads the limit back from the seat's running process, never from the spec
|
|
1183
|
+
alone. It reads the seat's own pane or, when no pane is recorded for the seat, its session's active pane, and says
|
|
1184
|
+
which (`readFrom`). The states: `applied` (its process is in a seat scope whose `pids.max` is the value), "requested,
|
|
1185
|
+
not applied" (known not under it: not running, launched before the key or by a recovery without it, another
|
|
1186
|
+
`pids.max`, or placed in an environment guest, whose pane holds only a local viewer, with the reason), `unsupported`
|
|
1187
|
+
(not under it, and the host positively can't make the scope), `unknown` (the readback failed), "stored value invalid"
|
|
1188
|
+
(the stored request can't be read; only this seat is affected, and the value is kept). A seat with no limit stored
|
|
1189
|
+
shows nothing and is not read at all, so a seat whose limit was cleared while it ran stays in its launch's scope,
|
|
1190
|
+
unreported, until its next fresh launch starts it without one. It also shows `pids.current` and how many times a fork hit the limit (`pids.events` `max`). Never
|
|
1191
|
+
stop a seat's scope by hand: that kills every process in it; use `rig seat stop`. Stopping a seat ends its session,
|
|
1192
|
+
not its scope: a process the seat left running detached stays in that old scope, under its limit, until it exits,
|
|
1193
|
+
and the status, which reads only the running seat's pane, doesn't show it.
|
|
1194
|
+
- **Values:** `tasks_max` takes any count from 1 (systemd's own minimum) to 4194304 (the kernel's `PID_MAX_LIMIT`). No
|
|
1195
|
+
floor is imposed for every runtime: how many tasks a harness needs is the operator's choice, and a fork past the
|
|
1196
|
+
limit fails visibly as a limit hit.
|
|
1197
|
+
- **Persistence and clear:** On new seats, absent or `process_limits: {}` stores no limit. Applying an authored spec to
|
|
1198
|
+
an existing seat retains the stored limit when the key is absent, clears it with `process_limits: {}`, and replaces it
|
|
1199
|
+
otherwise; the new value is stored before that launch. First-start retry refuses a changed limit, and keeps a stored
|
|
1200
|
+
value it can't read as it is (that launch reports `process_limits_invalid`). Export includes the configured value. A
|
|
1201
|
+
seat whose stored value can't be read is exported without `process_limits`, and the rest of the rig exports as usual.
|
|
1202
|
+
The stored value stays as it is, and the export names the seat: a `# Not carried:` line at the top of the YAML (which
|
|
1203
|
+
`rig export` prints) with how to fix or clear it, and the `X-OpenRig-Export-Warnings` header on YAML and JSON (which
|
|
1204
|
+
`rig spec show --json` prints as a warning).
|
|
1205
|
+
|
|
1040
1206
|
### Pi (`runtime: pi`)
|
|
1041
1207
|
|
|
1042
1208
|
`runtime: pi` launches the Pi coding agent (`pi --mode rpc`) through OpenRig's RPC runner.
|
|
@@ -109,6 +109,15 @@ 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
|
+
|
|
112
121
|
The roster at `rosters/network-<rig>.json` names that rig's team. Without that file, the roster whose `id` is the
|
|
113
122
|
rig's name does (the `<rig>.json` the starter and factory leads write; the first by file name if several do). For an
|
|
114
123
|
external caller, `rig_team` reports its `name` as `rig.displayName`, beside the rig's own name. The name follows the
|
|
@@ -37,7 +37,7 @@ one does not deprecate the others. Nothing below deletes or overrides an existin
|
|
|
37
37
|
| **PRODUCT / MISSION PREPARATION** | **The product-management pass** — the layer above planning, run by the advisor/PM seat before planners touch a mission. The build is a lossy compression pipeline (PM intent → planner spec → builder code); nothing leaks downward by proximity, so this pass grounds in the raw sources, synthesizes ONE scope of record, presents owner decisions decision-ready, mints slices at plan time, deposits the full design contract INLINE in each design-bearing spec (owner words verbatim, settled decisions, evidence, shape of done, anti-goals), routes the complete reading list and internet-research assignments from the spec itself, frames each slice's planning-dial rung with its reason, and rereads every spec as the narrow downstream reader. The measuring stick: SPEC.md alone, plus what it explicitly routes to, reproduces the intent in a reader with none of the author's context. Full reference: `product-management-pass.md`. |
|
|
38
38
|
| **PLAN** | **The planning dial** — planning rigor is a spectrum chosen per piece: P0 mini-requirements and pointers (simple, reversible work) · P1 an authored spec with a proof contract (the default) · P2 plus a research round before the spec freezes, run BEFORE build dispatch · P3 plus an adversarial pass by a non-author, judged against product goals, landing amendments with proof-contract teeth · P4 plus a blind from-scratch design diffed against priors before proceeding. Dial up by what the piece is, exactly as build care is priced below. Full reference: `planning-dial.md`. |
|
|
39
39
|
| **BUILD** | **Part A, the simple flow** (below — the default) · **product-journey components** — a mission-selectable menu for greenfield work, drift recovery, public journey probes, one evidence-gated look at the layer below, minimal repair, independent QA/review, integration, and installed smoke; compose only what the work needs in mission/slice YAML, never as a new mode or mandatory pipeline. Full reference: `product-journey-sdlc.md` · **the wave model** — slices build in parallel in disjoint file territories, an integrator merges serially, and independent review fires once per wave (two reviewers with different vantages, never the writers; fix rounds re-earn verdicts at one final revision; per-slice discipline stays failing-test-first and verify-by-effect). The wave IS the care dial: what shares a wave decides how much review each piece gets · **Part B, the rigorous overlay** (below — only when assigned). These combine: a wave can carry one Part-B piece. Full wave reference: `wave-sdlc.md`. |
|
|
40
|
-
| **DISPATCH DATA** | **The execution-data conventions (S27)** — three tiny data disciplines that make execution state derivable instead of hand-tabulated, consumed by `rig view show execution`. **EC-1, edges in frontmatter:** every open slice carries its
|
|
40
|
+
| **DISPATCH DATA** | **The execution-data conventions (S27)** — three tiny data disciplines that make execution state derivable instead of hand-tabulated, consumed by `rig view show execution`. **EC-1, edges in frontmatter:** every open slice carries its build-order edges in `depends_on:` (an inline JSON array; an explicit `[]` is a statement, absence is INDETERMINATE), and the execution view's sequencing reads them as edges. Proof readiness and eligibility use only `slice.yaml`'s `execution.depends_on`; frontmatter-only edges stay advisory there (#1372). When `slice.yaml` carries `execution.depends_on`, that list takes precedence; soft/serialization edges are one machine-readable Territory line, exactly `SOFT-AFTER: [ids] — reason`. In `rig view show execution`, each `readiness.slices[]` entry says which applied in `dependsOnBasis`: `slice.yaml` (its list, `[]` included), `frontmatter-advisory` (an inline JSON array in the SPEC frontmatter only), `frontmatter-unparsed` (a frontmatter list in another form, not read as edges) or `not-recorded` (no order recorded: INDETERMINATE, not none). In all but `slice.yaml`, eligibility assumes no recorded edges. **EC-2, wave-as-data:** wave composition + review model live in `mission.yaml` `arrangement.waves` (`{id, slices, review_model?}`; a slice may also name its wave in `slice.yaml` `execution.wave`). Only when the mission has no `mission.yaml`, or it is malformed, does the view fall back to the legacy form: the newest queue row tagged `format:wave-map-v1` and `mission:<mission>` whose body carries one fenced ```json block (`{format:"wave-map-v1", mission, waves:[{id, slices, serialized_order?, review_model?}]}`) — composition only, never status labels (status derives at read time); the planning dial recorded at lock surfaces as the frontmatter field `approved-spec-dial:` beside the approve stamp. **EC-3, dispatch names the worktree:** build batons carry the exact body line `worktree_path=<path>` from dispatch onward — it is Q1's join key; batons without it join by naming only and the view marks them `fragile_join`. **Lanes:** Q1 lists each in-progress row as a lane; a row parked on `external:<what>` also appears as a waiting lane, marked `waiting: {on}`. `external:` records an outside dependency (a review, a decision, a capacity limit, a lifecycle step); it does not mean an outside party owns all the work, or that the parked seat is the slice's builder. The views show it as a waiting row (the seat, the blocker, a link to the row), not as the slice's assignment. It yields to an in-progress lane on the same slice, and it is not counted in `lanes_live`, so `q1_lanes` can be longer than `lanes_live`. Rows parked on a qitem, a human seat, or a `fold:`/`auth:` gate are not lanes. Existing batons are never rewritten. |
|
|
41
41
|
| **RELEASE** | The release ceremony conventions (publication identity, honest release notes) and the CAPABILITY-DELTA LIFECYCLE LAW: each release's delta is authored at the fence and bound to the exact candidate, then reconciled to the published cut. Expiry requires both the canon header naming the absorbed delta and a distinct successor delta existing; a draft header alone is insufficient. Verify the actual boundary event and stop citing an expired delta. Full statement: `release-boundary.md` §6. |
|
|
42
42
|
| **BOUNDARY** | **The release boundary** — housekeeping run once per fence so the next release starts clean: seats reset or re-primed per their continuity needs, memory distilled (keep what changed a decision recently), every queue swept by destination and dispositioned, substrate torn down, boards frozen as records, a clean-box baseline captured. A checklist of judgment guides, not gates. Full reference: `release-boundary.md`. |
|
|
43
43
|
|
|
@@ -121,6 +121,10 @@ Each slice directory carries:
|
|
|
121
121
|
approval starts here.
|
|
122
122
|
- **`## Proof contract`** — a checkbox list of promised deliverables (see
|
|
123
123
|
B1). The UI's DELIVERED section pairs each item with its proof.
|
|
124
|
+
- Since 2026-11-15 the scope audit also accepts, in place of those two lists,
|
|
125
|
+
a single `## Requirements` list of bullets that start `R<n>.` and carry
|
|
126
|
+
their proof after `Observable:`; the scaffold and `rig proof` still use the
|
|
127
|
+
two lists.
|
|
124
128
|
- **`PROGRESS.md`** — the slice's current delivery state and retained outcome
|
|
125
129
|
log. Record material changes with links to proof; historical checkboxes are
|
|
126
130
|
testimony, not current acceptance authority. For a selected proof policy,
|
|
@@ -18,6 +18,7 @@ create it in.
|
|
|
18
18
|
rig slack manifest # the manifest as YAML
|
|
19
19
|
rig slack manifest --url # Slack's create-app link with the manifest prefilled
|
|
20
20
|
rig slack manifest --json # the manifest, its scopes and events, and why each scope is requested
|
|
21
|
+
rig slack manifest --private-channel # opt in to private-channel scopes and message.groups
|
|
21
22
|
```
|
|
22
23
|
|
|
23
24
|
The TUI shows the same link on the Connections page while Slack is not configured. Neither the
|
|
@@ -32,8 +33,8 @@ not fill in; if so, follow the form.
|
|
|
32
33
|
1. Open the link from `rig slack manifest --url` in a browser.
|
|
33
34
|
> **Note on Slack's manifest dialog:** If opening the link results in an empty manifest `{}`
|
|
34
35
|
> or Slack reports an error translating the manifest, copy the output of `rig slack manifest`
|
|
35
|
-
> (run without
|
|
36
|
-
> an app manifest" dialog.
|
|
36
|
+
> (run without `--url`, and with `--private-channel` if you chose it) and paste it directly into
|
|
37
|
+
> the **YAML** tab in Slack's "Create an app from an app manifest" dialog.
|
|
37
38
|
2. Sign in to Slack if asked, pick the workspace, review the prefilled manifest, and click
|
|
38
39
|
**Next**, then **Create**. (If **Create** stays disabled, go **Back** and check that a
|
|
39
40
|
development workspace is selected and the manifest step shows no error).
|
|
@@ -53,9 +54,10 @@ not fill in; if so, follow the form.
|
|
|
53
54
|
`rig slack verify` reports NOT ready until the app is a member.
|
|
54
55
|
9. Register yourself as the human the connector delivers to, with a Slack binding that names
|
|
55
56
|
your Slack user ID (`rig gateway human add`; its `--help` shows the binding format).
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
If the shared channel is registered, messages from otherwise unregistered Slack users
|
|
58
|
+
can be admitted as that channel participant; the envelope preserves the actual Slack
|
|
59
|
+
sender. `rig slack enable` needs a readable human registry: on a fresh install with no
|
|
60
|
+
registry, or with an invalid one, it is refused.
|
|
59
61
|
10. Run `rig slack setup --channel <channel-id> --secrets-env-file <path>`, then
|
|
60
62
|
`rig slack verify`, then `rig slack enable`.
|
|
61
63
|
11. Enabling treats the asks already open as seen, so none of them post. To see them in Slack, run
|
|
@@ -77,8 +79,8 @@ not fill in; if so, follow the form.
|
|
|
77
79
|
|
|
78
80
|
## What the app asks for
|
|
79
81
|
|
|
80
|
-
Run `rig slack manifest --json` for the exact list and the reason for each scope.
|
|
81
|
-
groups:
|
|
82
|
+
Run `rig slack manifest --json` for the exact list and the reason for each scope. The default
|
|
83
|
+
manifest has two groups:
|
|
82
84
|
|
|
83
85
|
- **Baseline scopes**: posting messages, reading message history in public channels the app is
|
|
84
86
|
a member of, and reading channel details.
|
|
@@ -102,26 +104,42 @@ If a feature scope was not granted, the effect differs by feature:
|
|
|
102
104
|
- **Named bots** (`users:read`): Slack refuses the bot lookup, so a named bot's posts are not
|
|
103
105
|
delivered, and the daemon log names the refusal. Nothing else changes.
|
|
104
106
|
|
|
105
|
-
So after installing, compare the granted scopes Slack shows for the app with
|
|
106
|
-
|
|
107
|
+
So after installing, compare the granted scopes Slack shows for the app with the eight scopes that
|
|
108
|
+
the default manifest lists.
|
|
107
109
|
|
|
108
110
|
The app subscribes to messages in public channels it is a member of (`message.channels`), to
|
|
109
|
-
mentions of the app (`app_mention`), and to emoji reactions (`reaction_added`). The manifest does
|
|
111
|
+
mentions of the app (`app_mention`), and to emoji reactions (`reaction_added`). The default manifest does
|
|
110
112
|
not request direct-message or private-channel access.
|
|
111
113
|
|
|
112
114
|
### Using a private channel
|
|
113
115
|
|
|
114
|
-
The
|
|
115
|
-
|
|
116
|
-
the
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
116
|
+
The public-channel manifest is still the default. To create an app that can read private channels,
|
|
117
|
+
use `rig slack manifest --private-channel` (or add `--url` or `--json`). It adds the bot scopes
|
|
118
|
+
`groups:history` and `groups:read` and the `message.groups` event; the default manifest adds none of
|
|
119
|
+
these. Review the private-channel manifest in Slack, reinstall the app, and invite it to each
|
|
120
|
+
private default or mapped channel. This manifest and verify diagnostic do not prove that live
|
|
121
|
+
Slack delivery will work.
|
|
122
|
+
|
|
123
|
+
`groups:read` is also needed for Slack's `conversations.info` lookup to inspect private-channel
|
|
124
|
+
details. Without access, Slack can refuse the lookup, for example with `missing_scope` or
|
|
125
|
+
`channel_not_found`; the exact error depends on the lookup and access conditions. A failed or
|
|
126
|
+
malformed privacy lookup leaves privacy unknown and does not establish that the channel is public
|
|
127
|
+
or private. `rig slack verify` uses its existing lookup. For a channel Slack identifies as private,
|
|
128
|
+
it reports missing private-channel scopes only when the grant header is available and points to
|
|
129
|
+
`rig slack manifest --private-channel`. This is diagnostic only: it does not change existing
|
|
130
|
+
readiness or exit behavior. Human output says `channel privacy unknown` when privacy is unavailable,
|
|
131
|
+
and `private channel grant status unknown` when privacy is known but Slack did not return an
|
|
132
|
+
available scope list. Both are informational lines, not private-scope warnings. With `--json`, each
|
|
133
|
+
`member` includes `isPrivate` (`true`, `false`, or `null` when privacy is unavailable) and
|
|
134
|
+
`privateScopes` with `status` (`not-applicable`, `unknown`, `missing`, or `complete`) and a `missing`
|
|
135
|
+
list. An unavailable grant header leaves the private-scope status unknown.
|
|
136
|
+
|
|
137
|
+
If you explicitly want `rig slack verify` to include these scopes in its configured baseline, use
|
|
138
|
+
the existing `--required-scopes` option:
|
|
139
|
+
|
|
140
|
+
```sh
|
|
141
|
+
rig slack setup --required-scopes chat:write,channels:history,channels:read,groups:history,groups:read
|
|
142
|
+
```
|
|
125
143
|
|
|
126
144
|
Direct messages are not supported.
|
|
127
145
|
|