@openrig/cli 0.7.15 → 0.7.17
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/README.md +26 -7
- 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/skills/claude-compaction-restore/SKILL.md +4 -1
- package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md +1 -1
- package/daemon/assets/skills/rigs/SKILL.md +155 -41
- 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 +169 -40
- package/daemon/context-packs/reference/getting-started.md +12 -11
- package/daemon/context-packs/reference/manifest.yaml +4 -1
- package/daemon/context-packs/reference/product-journey-sdlc.md +348 -0
- package/daemon/context-packs/reference/rig-spec.md +92 -4
- package/daemon/context-packs/reference/whats-new.md +397 -5
- 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/SKILL.md +4 -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/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/manifest.yaml +1 -1
- package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
- package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/seat-continuity-and-handover/SKILL.md +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 +42 -6
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +4 -2
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-resume.d.ts +2 -0
- package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-resume.js +28 -11
- package/daemon/dist/adapters/codex-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts +15 -0
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +75 -28
- package/daemon/dist/adapters/codex-runtime-adapter.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.d.ts +38 -4
- package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner.js +244 -30
- package/daemon/dist/adapters/pi-runner.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts +6 -0
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +17 -3
- package/daemon/dist/adapters/tmux.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 +8 -0
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/167_seat_handover_attempts.d.ts +14 -0
- package/daemon/dist/db/migrations/167_seat_handover_attempts.d.ts.map +1 -0
- package/daemon/dist/db/migrations/167_seat_handover_attempts.js +54 -0
- package/daemon/dist/db/migrations/167_seat_handover_attempts.js.map +1 -0
- 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/169_seat_runtime_home_records.d.ts +5 -0
- package/daemon/dist/db/migrations/169_seat_runtime_home_records.d.ts.map +1 -0
- package/daemon/dist/db/migrations/169_seat_runtime_home_records.js +25 -0
- package/daemon/dist/db/migrations/169_seat_runtime_home_records.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/domain/claim-service.d.ts +1 -3
- package/daemon/dist/domain/claim-service.d.ts.map +1 -1
- package/daemon/dist/domain/claim-service.js +3 -1
- package/daemon/dist/domain/claim-service.js.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts +11 -0
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +83 -36
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/codex-filesystem-preflight.d.ts +33 -0
- package/daemon/dist/domain/codex-filesystem-preflight.d.ts.map +1 -0
- package/daemon/dist/domain/codex-filesystem-preflight.js +255 -0
- package/daemon/dist/domain/codex-filesystem-preflight.js.map +1 -0
- package/daemon/dist/domain/codex-member-permissions.d.ts +23 -2
- package/daemon/dist/domain/codex-member-permissions.d.ts.map +1 -1
- package/daemon/dist/domain/codex-member-permissions.js +55 -9
- package/daemon/dist/domain/codex-member-permissions.js.map +1 -1
- package/daemon/dist/domain/codex-network-default.d.ts +13 -0
- package/daemon/dist/domain/codex-network-default.d.ts.map +1 -1
- package/daemon/dist/domain/codex-network-default.js +37 -30
- package/daemon/dist/domain/codex-network-default.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/compaction-restore-notice.d.ts.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.js +59 -13
- package/daemon/dist/domain/compaction-restore-notice.js.map +1 -1
- package/daemon/dist/domain/connection-contract.d.ts.map +1 -1
- package/daemon/dist/domain/connection-contract.js +2 -1
- package/daemon/dist/domain/connection-contract.js.map +1 -1
- package/daemon/dist/domain/context-usage-store.d.ts +11 -2
- package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-usage-store.js +33 -13
- package/daemon/dist/domain/context-usage-store.js.map +1 -1
- package/daemon/dist/domain/current-work.d.ts +5 -0
- package/daemon/dist/domain/current-work.d.ts.map +1 -1
- package/daemon/dist/domain/current-work.js +66 -4
- package/daemon/dist/domain/current-work.js.map +1 -1
- package/daemon/dist/domain/destination-successor.d.ts +3 -0
- package/daemon/dist/domain/destination-successor.d.ts.map +1 -0
- package/daemon/dist/domain/destination-successor.js +49 -0
- package/daemon/dist/domain/destination-successor.js.map +1 -0
- 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/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 +14 -4
- package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
- 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/health-passive-ceremony.d.ts +3 -0
- package/daemon/dist/domain/health-passive-ceremony.d.ts.map +1 -1
- package/daemon/dist/domain/health-passive-ceremony.js +45 -4
- package/daemon/dist/domain/health-passive-ceremony.js.map +1 -1
- package/daemon/dist/domain/hosts/fleet-scopes.d.ts +111 -0
- package/daemon/dist/domain/hosts/fleet-scopes.d.ts.map +1 -0
- package/daemon/dist/domain/hosts/fleet-scopes.js +231 -0
- package/daemon/dist/domain/hosts/fleet-scopes.js.map +1 -0
- package/daemon/dist/domain/hosts/read-through.d.ts +1 -1
- package/daemon/dist/domain/hosts/read-through.d.ts.map +1 -1
- package/daemon/dist/domain/hosts/read-through.js +4 -0
- package/daemon/dist/domain/hosts/read-through.js.map +1 -1
- 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/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.map +1 -1
- package/daemon/dist/domain/native-permission-store.js +12 -5
- package/daemon/dist/domain/native-permission-store.js.map +1 -1
- package/daemon/dist/domain/native-process-lineage.d.ts +11 -1
- package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
- package/daemon/dist/domain/native-process-lineage.js +25 -4
- package/daemon/dist/domain/native-process-lineage.js.map +1 -1
- package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
- package/daemon/dist/domain/native-resume-probe.js +109 -26
- 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 +5 -3
- 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-launcher.d.ts +6 -0
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +10 -3
- 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/permission-account.d.ts.map +1 -1
- package/daemon/dist/domain/permission-account.js +8 -6
- package/daemon/dist/domain/permission-account.js.map +1 -1
- package/daemon/dist/domain/permission-drift.d.ts.map +1 -1
- package/daemon/dist/domain/permission-drift.js +1 -1
- package/daemon/dist/domain/permission-drift.js.map +1 -1
- package/daemon/dist/domain/queue-destination-check.d.ts +2 -0
- package/daemon/dist/domain/queue-destination-check.d.ts.map +1 -1
- package/daemon/dist/domain/queue-destination-check.js +8 -11
- package/daemon/dist/domain/queue-destination-check.js.map +1 -1
- package/daemon/dist/domain/queue-erasure.d.ts +7 -1
- package/daemon/dist/domain/queue-erasure.d.ts.map +1 -1
- package/daemon/dist/domain/queue-erasure.js +226 -20
- package/daemon/dist/domain/queue-erasure.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +39 -17
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +96 -64
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +49 -21
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/queue-transition-log.d.ts +6 -0
- package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transition-log.js +9 -0
- package/daemon/dist/domain/queue-transition-log.js.map +1 -1
- package/daemon/dist/domain/queue-waiting.d.ts +4 -4
- package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
- package/daemon/dist/domain/queue-waiting.js +30 -16
- package/daemon/dist/domain/queue-waiting.js.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +90 -24
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/receiver-context.js +1 -1
- package/daemon/dist/domain/receiver-context.js.map +1 -1
- package/daemon/dist/domain/restore-check-service.d.ts +13 -0
- package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
- package/daemon/dist/domain/restore-check-service.js +122 -9
- package/daemon/dist/domain/restore-check-service.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +4 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +132 -48
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/restore-preconditions.d.ts +2 -0
- package/daemon/dist/domain/restore-preconditions.d.ts.map +1 -1
- package/daemon/dist/domain/restore-preconditions.js +2 -0
- package/daemon/dist/domain/restore-preconditions.js.map +1 -1
- package/daemon/dist/domain/resume-metadata-refresher.d.ts +17 -4
- package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
- package/daemon/dist/domain/resume-metadata-refresher.js +64 -15
- package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
- package/daemon/dist/domain/resume-token-capture.d.ts +6 -0
- package/daemon/dist/domain/resume-token-capture.d.ts.map +1 -1
- package/daemon/dist/domain/resume-token-capture.js +14 -8
- package/daemon/dist/domain/resume-token-capture.js.map +1 -1
- 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-edge-ops.js +1 -1
- package/daemon/dist/domain/rig-edge-ops.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-teardown.d.ts +20 -3
- package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/daemon/dist/domain/rig-teardown.js +71 -11
- package/daemon/dist/domain/rig-teardown.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +6 -2
- 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 +36 -1
- package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
- package/daemon/dist/domain/rosters.d.ts +19 -0
- package/daemon/dist/domain/rosters.d.ts.map +1 -1
- package/daemon/dist/domain/rosters.js +69 -12
- package/daemon/dist/domain/rosters.js.map +1 -1
- package/daemon/dist/domain/runtime-adapter.d.ts +15 -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/seat-delivery-guard.d.ts +8 -2
- package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.js +38 -3
- package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
- package/daemon/dist/domain/seat-handover-attempts.d.ts +50 -0
- package/daemon/dist/domain/seat-handover-attempts.d.ts.map +1 -0
- package/daemon/dist/domain/seat-handover-attempts.js +75 -0
- package/daemon/dist/domain/seat-handover-attempts.js.map +1 -0
- package/daemon/dist/domain/seat-handover-service.d.ts +64 -1
- package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-handover-service.js +443 -29
- package/daemon/dist/domain/seat-handover-service.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 +47 -2
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +48 -2
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-home-record-types.d.ts +16 -0
- package/daemon/dist/domain/seat-runtime-home-record-types.d.ts.map +1 -0
- package/daemon/dist/domain/seat-runtime-home-record-types.js +2 -0
- package/daemon/dist/domain/seat-runtime-home-record-types.js.map +1 -0
- package/daemon/dist/domain/seat-runtime-home-record.d.ts +173 -0
- package/daemon/dist/domain/seat-runtime-home-record.d.ts.map +1 -0
- package/daemon/dist/domain/seat-runtime-home-record.js +317 -0
- package/daemon/dist/domain/seat-runtime-home-record.js.map +1 -0
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts +7 -0
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.js +47 -2
- package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
- package/daemon/dist/domain/seat-skill-storage.d.ts +16 -1
- package/daemon/dist/domain/seat-skill-storage.d.ts.map +1 -1
- package/daemon/dist/domain/seat-skill-storage.js +178 -1
- package/daemon/dist/domain/seat-skill-storage.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 +1 -0
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +33 -9
- package/daemon/dist/domain/session-transport.js.map +1 -1
- 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/skill-catalog.d.ts +3 -0
- package/daemon/dist/domain/skill-catalog.d.ts.map +1 -1
- package/daemon/dist/domain/skill-catalog.js +7 -3
- package/daemon/dist/domain/skill-catalog.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 +24 -12
- package/daemon/dist/domain/snapshot-capture.js.map +1 -1
- 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 +16 -0
- package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.js +70 -38
- package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +43 -2
- 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-browser.d.ts.map +1 -1
- package/daemon/dist/domain/user-settings/settings-browser.js +3 -1
- package/daemon/dist/domain/user-settings/settings-browser.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-policy-engine.d.ts +4 -0
- package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.js +28 -1
- package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
- package/daemon/dist/domain/workflow-exception-escalation.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-exception-escalation.js +13 -8
- package/daemon/dist/domain/workflow-exception-escalation.js.map +1 -1
- package/daemon/dist/domain/workflow-instance-store.d.ts +14 -2
- package/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-instance-store.js +41 -4
- package/daemon/dist/domain/workflow-instance-store.js.map +1 -1
- package/daemon/dist/domain/workflow-projector.d.ts +55 -0
- package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-projector.js +355 -174
- 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 +11 -3
- package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-runtime.js +141 -27
- package/daemon/dist/domain/workflow-runtime.js.map +1 -1
- package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
- package/daemon/dist/lib/pane-envelope.js +12 -7
- package/daemon/dist/lib/pane-envelope.js.map +1 -1
- package/daemon/dist/routes/compaction.d.ts.map +1 -1
- package/daemon/dist/routes/compaction.js +6 -3
- package/daemon/dist/routes/compaction.js.map +1 -1
- package/daemon/dist/routes/queue.d.ts.map +1 -1
- package/daemon/dist/routes/queue.js +78 -31
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/restore-check.d.ts.map +1 -1
- package/daemon/dist/routes/restore-check.js +17 -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/scopes.d.ts.map +1 -1
- package/daemon/dist/routes/scopes.js +102 -19
- package/daemon/dist/routes/scopes.js.map +1 -1
- package/daemon/dist/routes/seat.d.ts.map +1 -1
- package/daemon/dist/routes/seat.js +50 -2
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/sessions.d.ts.map +1 -1
- package/daemon/dist/routes/sessions.js +54 -10
- 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 +230 -40
- package/daemon/dist/routes/startup.js.map +1 -1
- package/daemon/dist/routes/transport.d.ts.map +1 -1
- package/daemon/dist/routes/transport.js +36 -2
- package/daemon/dist/routes/transport.js.map +1 -1
- package/daemon/dist/routes/up.js +2 -0
- 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 +7 -1
- package/daemon/dist/routes/watchdog.js.map +1 -1
- package/daemon/dist/routes/workflow.d.ts.map +1 -1
- package/daemon/dist/routes/workflow.js +23 -5
- package/daemon/dist/routes/workflow.js.map +1 -1
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +2 -0
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +111 -37
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/docs/reference/agent-startup-guide.md +90 -2
- package/daemon/docs/reference/daemon-http-clients.md +69 -0
- package/daemon/docs/reference/developing.md +1 -1
- package/daemon/docs/reference/gateway-participants.md +5 -3
- package/daemon/docs/reference/getting-started.md +12 -11
- 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 +92 -4
- package/daemon/docs/reference/rosters.md +26 -0
- package/daemon/docs/reference/seat-delivery.md +7 -1
- package/daemon/docs/reference/whats-new.md +397 -5
- 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/kernel/agents/operator/agent/guidance/role.md +78 -18
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +9 -6
- package/dist/build-info.js +3 -3
- package/dist/client.d.ts +7 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +11 -2
- package/dist/client.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 +5 -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/launch.d.ts.map +1 -1
- package/dist/commands/launch.js +8 -0
- package/dist/commands/launch.js.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +18 -1
- package/dist/commands/mcp.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.map +1 -1
- package/dist/commands/ps.js +11 -5
- 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 +49 -12
- 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/roster.d.ts +4 -2
- package/dist/commands/roster.d.ts.map +1 -1
- package/dist/commands/roster.js +2 -2
- package/dist/commands/roster.js.map +1 -1
- package/dist/commands/seat.d.ts +2 -0
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +201 -14
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +31 -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/up.d.ts.map +1 -1
- package/dist/commands/up.js +7 -0
- package/dist/commands/up.js.map +1 -1
- package/dist/commands/walk.d.ts.map +1 -1
- package/dist/commands/walk.js +4 -0
- package/dist/commands/walk.js.map +1 -1
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +30 -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/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/mcp-http.d.ts +3 -0
- package/dist/mcp-http.d.ts.map +1 -1
- package/dist/mcp-http.js +13 -0
- package/dist/mcp-http.js.map +1 -1
- package/dist/mcp-server.d.ts +9 -2
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +287 -69
- 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/package.json +2 -2
- package/tui/dist/commands/registry.d.ts.map +1 -1
- package/tui/dist/commands/registry.js +1 -0
- package/tui/dist/commands/registry.js.map +1 -1
- package/tui/dist/config/config-model.js +1 -1
- package/tui/dist/config/config-model.js.map +1 -1
- package/tui/dist/crash-cart/start-daemon.d.ts.map +1 -1
- package/tui/dist/crash-cart/start-daemon.js +4 -2
- package/tui/dist/crash-cart/start-daemon.js.map +1 -1
- package/tui/dist/daemon-client.d.ts +12 -1
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +44 -2
- package/tui/dist/daemon-client.js.map +1 -1
- package/tui/dist/hydrate.d.ts +1 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +43 -1
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/main.js +3 -0
- package/tui/dist/main.js.map +1 -1
- package/tui/dist/page-read.d.ts.map +1 -1
- package/tui/dist/page-read.js +2 -1
- package/tui/dist/page-read.js.map +1 -1
- package/tui/dist/render.d.ts.map +1 -1
- package/tui/dist/render.js +110 -16
- package/tui/dist/render.js.map +1 -1
- package/tui/dist/scopes/fleet-scopes-model.d.ts +73 -0
- package/tui/dist/scopes/fleet-scopes-model.d.ts.map +1 -0
- package/tui/dist/scopes/fleet-scopes-model.js +102 -0
- package/tui/dist/scopes/fleet-scopes-model.js.map +1 -0
- package/tui/dist/scopes/scopes-model.d.ts +2 -0
- package/tui/dist/scopes/scopes-model.d.ts.map +1 -1
- package/tui/dist/scopes/scopes-model.js +7 -4
- package/tui/dist/scopes/scopes-model.js.map +1 -1
- package/tui/dist/sections.d.ts.map +1 -1
- package/tui/dist/sections.js +5 -0
- package/tui/dist/sections.js.map +1 -1
- package/tui/dist/startup.d.ts +5 -0
- package/tui/dist/startup.d.ts.map +1 -1
- package/tui/dist/startup.js +12 -0
- package/tui/dist/startup.js.map +1 -1
- package/tui/dist/state.d.ts.map +1 -1
- package/tui/dist/state.js +12 -5
- package/tui/dist/state.js.map +1 -1
- package/tui/dist/types.d.ts +18 -1
- package/tui/dist/types.d.ts.map +1 -1
|
@@ -42,10 +42,11 @@ They are recognized from each harness's English prompt text.
|
|
|
42
42
|
pre-approves N tool permissions" (from the folder's `.claude/settings.json`): OpenRig never
|
|
43
43
|
answers it, not even with `recovery.auto_drive_provider_prompts`, because its default choice
|
|
44
44
|
declines those permissions (or exits) and approving them is your call. With that setting on,
|
|
45
|
-
the plain workspace trust prompt is answered only when its options are exactly "No, exit" and
|
|
45
|
+
when a Claude Code seat is resumed, the plain workspace trust prompt is answered only when its options are exactly "No, exit" and
|
|
46
46
|
"Yes, I trust this folder": Claude Code 2.1.322 opens it on "No, exit", so OpenRig moves the
|
|
47
47
|
selection down once and presses Enter only after it reads the focus on "Yes". Any other option
|
|
48
48
|
set, a prompt drawn without a cursor or a focus that does not reach "Yes" gets no confirmation.
|
|
49
|
+
A fresh launch still stops at the trust prompt for you to answer.
|
|
49
50
|
|
|
50
51
|
## Continue a Codex fork whose child ID arrived late
|
|
51
52
|
|
|
@@ -292,6 +293,32 @@ guidance names that pane and the result carries `replacementStarted` and `succes
|
|
|
292
293
|
already ended, the new one may be working there without being registered as the seat's occupant, and another
|
|
293
294
|
handover or `rig seat launch <seat> --fresh --stop --reason <why>` ends it if it goes ahead.
|
|
294
295
|
|
|
296
|
+
**Adopting the successor of a failed handover.** When a handover fails after its successor was launched in the
|
|
297
|
+
respawned pane (the readiness window closed, the context packet didn't land, or the final binding step refused for a
|
|
298
|
+
reason that can change), it records the attempt for a Claude Code successor whose launch named its session id, and its
|
|
299
|
+
guidance leads with `rig seat handover <seat> --recover --reason <why>` and says not to retry the handover, which
|
|
300
|
+
would end that successor. The recovery adopts the successor that is running there and keeps its conversation. It
|
|
301
|
+
first proves, reading only, that the attempt still replaces the seat's current occupant and that the pane is the seat
|
|
302
|
+
session's only pane, with exactly one foreground Claude that names the session id OpenRig generated for that launch,
|
|
303
|
+
the same process in two samples, proven as the launch's readiness proves it (a `#!` wrapper that starts Claude without
|
|
304
|
+
exec included, when the launch recorded its executable: a launch in a native Claude permission mode, `auto` or another
|
|
305
|
+
mode the harness advertises). A classic launch records no executable, and the `floor` and `full_bypass` postures
|
|
306
|
+
launch classically too. A wrapper whose Claude runs as `node cli.js` or under another name is then not proven; when a
|
|
307
|
+
second sample, a few seconds later, finds the same foreground, the refusal says `--recover` can't prove it, and to run
|
|
308
|
+
it again only once the pane shows a waiting wrapper has started Claude (a wrapper still starting, which the second
|
|
309
|
+
sample sees exec Claude or start it, is proven). A
|
|
310
|
+
`/clear` in the successor before the recovery is followed: the conversation it adopts is the one Claude's own session
|
|
311
|
+
file for that process names, when it is newer than the process, even when that is the retiring occupant's conversation
|
|
312
|
+
or a fork parent's. The result says so; a fork successor on its parent's or the retiring occupant's conversation is
|
|
313
|
+
reported as no distinct fork (`forkId: "none"`, continuity `resumed`), and the parent seat is left as it was: both seats
|
|
314
|
+
then name the same conversation, so restoring both opens it twice. Then it commits
|
|
315
|
+
the handover with the occupant generation the attempt reserved, so the successor's identity hooks are accepted from
|
|
316
|
+
then on. It types nothing into the pane, and a packet the failed handover didn't deliver is not delivered: the result
|
|
317
|
+
says so, and a rebuild whose priming never arrived is recorded as fresh. Anything it can't prove, such as another
|
|
318
|
+
conversation, two Claudes or a changed pane, refuses with `successor_identity_unproven` and changes nothing; an
|
|
319
|
+
attempt that another occupant has replaced since is closed as `handover_attempt_superseded`. It adopts Claude Code
|
|
320
|
+
successors only (`recover_runtime_unsupported` otherwise).
|
|
321
|
+
|
|
295
322
|
**Claude submission check.** For each startup message to a Claude seat, OpenRig makes a bounded check that the prompt
|
|
296
323
|
was submitted. When the capture can't tell, it records the submission as unverified and carries on. When it sees the
|
|
297
324
|
same prompt still sitting in the input, it presses Enter once more; if it's still there, it warns "Startup prompt still
|
|
@@ -415,7 +442,7 @@ Each startup file and action specifies when it applies:
|
|
|
415
442
|
- `restore` — delivered when a seat is restored without its earlier conversation: a restore whose resume falls back to a fresh conversation, or a retried start
|
|
416
443
|
- Default: `[fresh_start, restore]` (both)
|
|
417
444
|
|
|
418
|
-
**An exact resume delivers neither.** When a restore reopens the seat's saved conversation (`rig up <rig> --existing` with a resume token), OpenRig types no startup actions and delivers no startup files, `restore` ones included: the conversation already has them, and typing them again would add turns to it. The one exception: the guidance file's managed blocks are brought up to date before the harness starts. A missing block is put back, and a stale one is refreshed (see below).
|
|
445
|
+
**An exact resume delivers neither.** When a restore reopens the seat's saved conversation (`rig up <rig> --existing` with a resume token), OpenRig types no startup actions and delivers no startup files, `restore` ones included: the conversation already has them, and typing them again would add turns to it. The one exception: the guidance file's managed blocks are brought up to date before the harness starts. A missing block is put back, except on an eligible Codex resume, where it goes with the resume instead (see [Codex guidance at launch](#codex-guidance-at-launch)), and a stale one is refreshed (see below).
|
|
419
446
|
|
|
420
447
|
**A seat handover does the same put-back.** Before a fresh, fork or rebuild successor starts, the handover puts the seat's missing managed guidance blocks back in its guidance file from the saved startup context. That's the rig's Claude file (`CLAUDE.md`, or `CLAUDE.local.md` when the rig uses it) for Claude, and `AGENTS.md` for Codex, Pi and omp. So a seat rebuilt into a new working directory keeps its guidance.
|
|
421
448
|
|
|
@@ -447,6 +474,7 @@ running seat only through the action in the last column.
|
|
|
447
474
|
| Reasoning effort | `rig seat set-effort` | `rig seat effort <seat>`: requested, saved, sent at launch, and what the session recorded, which is not verified until it takes a turn | Its next managed continuation; nothing restarts |
|
|
448
475
|
| Permissions | `rig seat set-permissions` (`--mode`, `--rules`, or for Codex `--codex-permissions` or `--codex-profile`), shown by `rig seat status` | What it launched with; a status read doesn't prove the running process enforces the selection | Its next managed launch or resume ([per-seat permission mode](getting-started.md#per-seat-permission-mode)) |
|
|
449
476
|
| Working directory | `rig seat set-cwd`, shown by `rig seat status` as **Working directory for future launches** | The directory it started in | `rig seat launch --fresh --stop` (a blank conversation) or `rig handover --source rebuild` (durable context); [details](#change-an-existing-seats-working-directory) |
|
|
477
|
+
| Runtime home (`CLAUDE_CONFIG_DIR`, `CODEX_HOME`) of an existing seat | `rig seat record-runtime-home`, shown by `rig seat runtime-home` | The home it started with; whether a running process uses the recorded one isn't checked | Its next resume, restore or launch; [details](#record-where-an-existing-seats-conversation-lives) |
|
|
450
478
|
| Launch wrapper (`launch_wrapper`) | Member `launch_wrapper` in `rig.yaml` (`pi`, `codex` and `claude-code` only; `launch_wrapper: []` clears, omitting retains on existing-seat apply; surfaced as `launchWrapper` in `rig ps --nodes --json` when set; no live `rig seat` edit verb) | The literal wrapper argv that prefixes the resolved Codex entry or Claude executable (preserving TTY stdio) or the resolved Pi child executable inside OpenRig's host runner (preserving RPC pipes and runner lifecycle) when that session launched; a configured prefix is not proof of isolation, tooling, memory or governance | Supported spec create/recreate/apply flow, then the seat's next managed launch, resume, restore or handover (fails closed when wrapper support is unavailable; never falls back to bare child launch; [details](rig-spec.md#launch-wrapper-runtime-pi-and-codex)) |
|
|
451
479
|
| Startup files and skills | The spec's startup files, skills and actions | What its conversation read when it started; editing a file afterwards doesn't reach it | A fresh launch or a handover delivers them again; for the running seat, send or walk the change (`rig walk <seat> --through <files>`) |
|
|
452
480
|
| Guidance blocks (`CLAUDE.md`, `AGENTS.md`) | The seat's startup selection, which OpenRig merges into its guidance file as managed blocks at each start and restore | `rig seat status` **Guidance**: when OpenRig wrote each of its blocks, before or after the session's recorded startup finish (for a claimed session, when OpenRig recorded it). That's chronology, not what the agent has: the harness reads the file earlier in startup, Claude Code reloads it after `/compact` or `/clear`, Codex reads it at session start, and the agent can read it, or be sent it, at any time. OpenRig doesn't record what an agent read | Claude: its next compaction, `/clear` or restart. Codex: its next start. Without either, [tell it](#new-guidance-for-a-running-seat) |
|
|
@@ -612,6 +640,66 @@ This separates provider files, not OS users or accounts. Project-local resources
|
|
|
612
640
|
still use the selected project directory; shared project and system settings
|
|
613
641
|
remain shared.
|
|
614
642
|
|
|
643
|
+
### Record where an existing seat's conversation lives
|
|
644
|
+
|
|
645
|
+
When an existing seat's conversation lives under a different runtime home from the one OpenRig has for it (after a
|
|
646
|
+
recovery, say, or a move between homes), record that home so the seat's next resume or restore launches from it, with
|
|
647
|
+
the same conversation and no successor:
|
|
648
|
+
|
|
649
|
+
```bash
|
|
650
|
+
rig seat runtime-home dev-impl@my-rig
|
|
651
|
+
rig seat record-runtime-home dev-impl@my-rig --home /home/me/.codex-b \
|
|
652
|
+
--expect-occupant <generation> --expect-original <conversation id> --expect-revision <n> --reason "home after recovery"
|
|
653
|
+
```
|
|
654
|
+
|
|
655
|
+
`rig seat runtime-home` shows the home the next launch uses and where it comes from, with the seat's current occupant
|
|
656
|
+
generation, its original conversation and the revision of its latest recorded home (0 when none), and prints the
|
|
657
|
+
record command with those values. It works for Claude Code and Codex seats.
|
|
658
|
+
|
|
659
|
+
- **What it's recorded against.** The occupant, original conversation and revision you read. If any of them changed
|
|
660
|
+
since, because a successor took the seat or someone else recorded a home, nothing is applied and the current values
|
|
661
|
+
are shown, so a replacement occupant is never changed by mistake.
|
|
662
|
+
- **Retrying is safe.** Each recording has an operation id, generated and printed when you don't pass
|
|
663
|
+
`--operation-id`. If the result is unknown (a timeout, a lost connection or an unreadable answer), run the same
|
|
664
|
+
command with that id: it returns what was recorded, or records it once, even if the seat's runtime changed since. The
|
|
665
|
+
same id with a different request applies nothing.
|
|
666
|
+
- **What changes.** Only the seat's home and an audit record (`seat.runtime_home_recorded`). No running process,
|
|
667
|
+
pane, login, credential, conversation, model, effort or cwd changes; nothing is copied, switched or launched.
|
|
668
|
+
- **Where it's stored, and credentials.** In the place that decides the seat's home today, so credential handling
|
|
669
|
+
stays as it is. A seat on a home chosen by an account switch keeps that, with provider credentials still unset at
|
|
670
|
+
launch, and gets the new path. Any other seat gets its own `env:` value for the home variable, as a seat that declares
|
|
671
|
+
one in its spec has, and nothing is unset.
|
|
672
|
+
- **What it says, and doesn't.** The result says whether the home exists and whether the original conversation's
|
|
673
|
+
record was found in it; a path it can't read leaves that unknown, never "not found". That doesn't show one copy of a conversation is fresher than another, and whether a running
|
|
674
|
+
process uses the home isn't checked (the result says `runningProcess: unverified`).
|
|
675
|
+
- **Restore.** Snapshots carry each seat's recorded home. Reviewing a selected history shows the current record beside
|
|
676
|
+
the snapshot's, whether it was recorded for the selected conversation or another one, and which home the resume
|
|
677
|
+
uses (`uses`):
|
|
678
|
+
- the home recorded for the selected conversation, when the latest record is its own and the seat's home is still
|
|
679
|
+
that record's (the same path, set in the same place the record wrote it);
|
|
680
|
+
- the newest home recorded for the selected conversation, when a later record is for another one and the seat's home
|
|
681
|
+
is still that later record's. The resume writes it back as a new revision for the selected conversation before it
|
|
682
|
+
launches. It's put back, as a new revision, only when the launch is known to have been rolled back and the seat's
|
|
683
|
+
conversation is the one it had before: OpenRig undid the launch and its terminal is known to be gone (none was
|
|
684
|
+
created, or tmux confirmed the stop), or it stopped before starting one, so no session was registered and no resume
|
|
685
|
+
was sent. A terminal registered without a resume, a creation or stop tmux couldn't confirm, or a launch that failed
|
|
686
|
+
with an error isn't known to be undone, so the home stays. After a confirmed resume it stays, a Claude
|
|
687
|
+
conversation continued under a new id included, and when what the launch left isn't known it stays too and the
|
|
688
|
+
result says so;
|
|
689
|
+
- otherwise the seat's home as set, with no record revision for the selected conversation: when nothing was recorded,
|
|
690
|
+
when the home changed since the latest record (an account or runtime switch, say, including one that leaves the
|
|
691
|
+
same path coming from the rig's declaration), which isn't undone, or when no home was recorded for this
|
|
692
|
+
conversation.
|
|
693
|
+
|
|
694
|
+
The review also says whether the selected conversation's record is found in that home, as context. The result
|
|
695
|
+
names the home the resume was bound to and attempted, and whether OpenRig registered a terminal session for it
|
|
696
|
+
(`sessionRegistered`). That isn't the native resume: whether that ran and took is the result's `ok` and `code`. For a
|
|
697
|
+
written-back home, it says whether it was put back (`putBack`), or why not (`notPutBack`). A launch that fails with an
|
|
698
|
+
error returns `launch_error`, with the same home named and nothing put back, since what it left isn't known.
|
|
699
|
+
|
|
700
|
+
A recording made after the review, even to the same home, changes the review's revision, so a resume reviewed before
|
|
701
|
+
it doesn't run. Review again and decide.
|
|
702
|
+
|
|
615
703
|
### Codex guidance at launch
|
|
616
704
|
|
|
617
705
|
On a fresh launch of Codex 0.164.0 or later, OpenRig passes a seat's managed guidance (OpenRig's start file and the
|
|
@@ -232,6 +232,7 @@ With `needs-me.read` supported:
|
|
|
232
232
|
Success is 201 with `instance`, `spec`, `entryQitemId` and `entryOwnerSession`, any `advisories`, and
|
|
233
233
|
`scopeIgnored` when a scope wasn't applied. The instance keeps `rootObjective`, which every instance read returns
|
|
234
234
|
(`/api/workflow/list`, `/api/workflow/<id>` and its `trace`). An instance started before it was kept reads `null`.
|
|
235
|
+
- **`GET /api/workflow/list`** accepts exact `project`, `mission`, `slice`, `rig` (the bound rig), and `name` (the workflow name) filters, repeatable `tag` filters on the instance's free-form scope tags, and `limit` from 1 to 10,000. Filters combine with AND and apply before the limit; results keep their existing oldest-first order. Instances without the requested scope or binding do not match. Without these filters, existing list behavior is unchanged.
|
|
235
236
|
- **`GET /api/provider/usage`** returns `{ hostUsage }`, this host's usage rows (`host: "local"`, a `provider`
|
|
236
237
|
and a `state`). A Claude row's `windows` are the seats' status-line readings, one entry per reading, each with
|
|
237
238
|
its `window`, `usedPercent`, `resetsAt`, `asOf` and `seatSession`. A Codex row has `windows: []`. Treating the
|
|
@@ -267,3 +268,71 @@ With `needs-me.read` supported:
|
|
|
267
268
|
subject to the existing project filter and the newest 500 rows per slice. Counts are recomputed on every list
|
|
268
269
|
request. `?refresh=1|true` invalidates the separate listing cache, not a stored queue-count snapshot. This
|
|
269
270
|
resolution does not change the returned slice list or filters.
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
## Resume one banked original conversation
|
|
274
|
+
|
|
275
|
+
The opt-in original-only operation reuses `startup-history.v1`. It targets one exact rig and node,
|
|
276
|
+
with a retained snapshot and captured history. Platform boot enrollment remains an operator step.
|
|
277
|
+
These routes use the existing terminal bearer token.
|
|
278
|
+
|
|
279
|
+
1. Read `GET /api/startup/<rigId>/nodes/<nodeId>/original?snapshotId=<id>&historySessionId=<id>`.
|
|
280
|
+
The preview uses that explicitly retained usable snapshot, even when a newer snapshot exists.
|
|
281
|
+
It returns `revision`, the selected history and current model, effort, cwd, permission and runtime-home
|
|
282
|
+
provenance. `accountHome.authentication: "unconfirmed"` means that the home selection is configuration,
|
|
283
|
+
not proof of an authenticated account. A `daemon_environment` home is the daemon fallback, not a seat setting;
|
|
284
|
+
`native_default` means the runtime default.
|
|
285
|
+
2. POST to the same `/original` path, without query fields, with `action: "resume"`, `snapshotId`,
|
|
286
|
+
`historySessionId`, that `revision`, an `operationId` UUID, and `expectedOriginal` containing the banked
|
|
287
|
+
`nodeId`, `sessionName`, `runtime` (`claude-code` or `codex`) and `nativeId`.
|
|
288
|
+
Keep native conversation IDs in the private bank and request body. They are not returned in diagnostics.
|
|
289
|
+
|
|
290
|
+
The operation keeps the current selected launch choices. Its original-only native effect uses the retained
|
|
291
|
+
history and existing selected-history ownership checks. A positively established matching original already
|
|
292
|
+
running returns `code: "already_running_original"` and `nativeEffect: false`. A confirmed resume returns
|
|
293
|
+
`code: "resumed"`, with `sourceSessionId`, `resultSessionId` and `operationId`.
|
|
294
|
+
|
|
295
|
+
An unavailable source, changed selection, different occupant, restoring-only result or unconfirmed native
|
|
296
|
+
identity returns a partial result. Existing occupants stay in place. This selected operation never substitutes
|
|
297
|
+
a fresh conversation. Its current-original check needs the existing qualified occupant, pane and native-record
|
|
298
|
+
evidence; a stored resume token by itself is insufficient. A legacy named history that cannot establish the
|
|
299
|
+
banked native identity remains partial. For Codex, the PID/start-time log and transcript are resolved in the
|
|
300
|
+
current selected runtime home used for launch. With no explicit home, the existing default-home and PID-bound
|
|
301
|
+
process-HOME reader supplies the home; the transcript lookup uses that same positively resolved home. Another
|
|
302
|
+
home's copy of the same thread UUID is not selected. These checks also serve conditional sends and record reads.
|
|
303
|
+
If a recorded explicit home changes before its running process is relaunched, its record may be unavailable;
|
|
304
|
+
the check does not borrow another home's copy or change the running process's account.
|
|
305
|
+
|
|
306
|
+
Retain the operation ID after a timeout. Repeating that same request first reconciles current native identity;
|
|
307
|
+
it reports a matching running original or `operation_unconfirmed`, and never dispatches that operation again.
|
|
308
|
+
The correlation survives daemon restart. An operation ID reused with different input returns
|
|
309
|
+
`operation_conflict`. Inspect the recorded operation and seat before selecting any new attempt.
|
|
310
|
+
|
|
311
|
+
A source-level fixture pass establishes the tested ownership, selection and reporting paths. Actual native
|
|
312
|
+
conversation usefulness and authenticated-account continuity need a qualified runtime observation.
|
|
313
|
+
|
|
314
|
+
## Per-rig delivery drain
|
|
315
|
+
|
|
316
|
+
A maintenance owner can hold automatic queue wakes, watchdog delivery and stuck-sweep findings directed to one rig:
|
|
317
|
+
|
|
318
|
+
- `GET /api/rigs/:rigId/delivery-drain` reads its current control and retained-notice counts.
|
|
319
|
+
- `POST /api/rigs/:rigId/delivery-drain` begins a window, or renews the same window's review deadline:
|
|
320
|
+
|
|
321
|
+
```json
|
|
322
|
+
{"drainId":"maintenance-window-1","owner":"maintainer@example","reviewAt":"2026-12-01T12:30:00Z"}
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
- `POST /api/rigs/:rigId/delivery-drain/end` with `{"drainId":"maintenance-window-1"}` explicitly ends that window.
|
|
326
|
+
|
|
327
|
+
Status includes the owner, start, review deadline and drain ID, `retainedWorkCount`, and `nativeStartsDeferred: false`.
|
|
328
|
+
The retained count is pending queue-wake intents plus due watchdog jobs, excluding maintenance review jobs; it is a count of notifications, not unique tasks. Work keeps its existing queue/outbox/job identities. Other destination rigs continue normally; a row's source rig and a watchdog's registering rig are provenance, not drain admission criteria.
|
|
329
|
+
|
|
330
|
+
A deadline prompts the recorded owner through the existing watchdog; it never ends a drain automatically. Review checks and repeat prompts have a five-minute minimum interval, including a past or near deadline. Its review job remains usable even if its owner's rig also has a delivery drain. Repeating BEGIN with the same ID and settings keeps the same window and job; renewal preserves the start. An active window is returned as status if a different ID is requested. A completed window's ID never starts it again.
|
|
331
|
+
|
|
332
|
+
END changes only the named current window and schedules one existing recovery pass for its pending queue notices. Repeating END does not schedule another pass. A delayed END for an earlier window cannot end a later one. `releaseScheduled` reports scheduling, not successful delivery: notices still use current queue state, recipient checks and normal receipts. The END pass adds no retry of failed, uncertain, in-flight, delivered or manually retained input. Completed work reconciles normally; existing failed or uncertain outcomes keep their ordinary recovery and visibility.
|
|
333
|
+
|
|
334
|
+
This is delivery-only maintenance. Direct sends, control/END requests and ordinary reads stay usable. Automatic native starts are **not deferred**, and input already in flight can finish. Coordinate native or daemon lifecycle work separately; this control does not promise all-activity quiet or graceful stop.
|
|
335
|
+
|
|
336
|
+
The automatic wake ladder also waits before attempt budgets, rung markers and escalation for work whose destination rig is drained, including a held escalation target. It resumes at the retained rung after END. Legacy workflow packets without outbox intents remain owed: their existing keepalive resumes after END, and the sweep reports them if they stay unclaimed. END's scoped recovery pass covers pending intents. Diagnosis re-presentations wait before spending their presentation receipt. An explicit resolve notification remains an explicit action and can pass through the delivery hold.
|
|
337
|
+
|
|
338
|
+
All watchdog evaluation for the held rig waits, including the context-usage watchdog's managed-compaction action. This does not add a native-start hold. If a drain admission read fails, automatic delivery proceeds and reports the uncertainty. Control/status failures remain errors, and failed BEGIN/END writes never report success.
|
|
@@ -33,7 +33,7 @@ suite. Both sets are readable in the root `package.json` scripts.
|
|
|
33
33
|
|
|
34
34
|
| Lane | Command | Meaning |
|
|
35
35
|
|---|---|---|
|
|
36
|
-
| Portability report | `node scripts/portability-report.mjs` | lists added lines with machine-specific values; findings
|
|
36
|
+
| Portability report | `node scripts/portability-report.mjs` | lists added lines with machine-specific values; findings don't fail it by default, and `--strict` exits 1 when it finds any. The workflow (`.github/workflows/portability-report.yml`) runs it without `--strict`. |
|
|
37
37
|
|
|
38
38
|
## The norm (web-UI freeze at 0.5.0)
|
|
39
39
|
|
|
@@ -26,9 +26,11 @@ A person can also bind to a local bridge adapter using a `relay` binding:
|
|
|
26
26
|
`rig gateway human add bob --display-name "Bob" --delivery-class B --binding "relay:local-bridge:file:/etc/openrig/relay.env:primary:handle=bob-ops"`
|
|
27
27
|
(see [Gateway Relay Reference](gateway-relay.md) for endpoint, secret provisioning, and custody architecture).
|
|
28
28
|
`human@host` is the unnamed person at the terminal; `human@kernel` is also accepted as a human/gate address.
|
|
29
|
-
These aliases (including `human-<name>@host` and `human-<name>@kernel`) are not agent sessions
|
|
30
|
-
`
|
|
31
|
-
|
|
29
|
+
These aliases (including `human-<name>@host` and `human-<name>@kernel`) are not agent sessions. A row addressed to
|
|
30
|
+
`human@host` names no person: it asks no one, waits on Steering and in the Feed, and OpenRig reports it as undeliverable. To reply to a person, use
|
|
31
|
+
their registered address:
|
|
32
|
+
`rig queue create --destination <their address> --human-intent update --summary "<one line>" --evidence-ref "<path>" --body "..." --verify`,
|
|
33
|
+
substituting your summary, evidence path and reply. A reply destination doesn't identify
|
|
32
34
|
who acted or determine who may answer an ask. Clients acting as a registered person name that person's
|
|
33
35
|
`actorSession`; a seat identity header takes precedence. The terminal's primary-user authority records the unnamed
|
|
34
36
|
`human@host` actor, not the person whose queue is being viewed.
|
|
@@ -112,8 +112,9 @@ including its `bwrap` AppArmor profile guidance; changes to AppArmor are the own
|
|
|
112
112
|
**Choose permissions before starting the team.** Ordinary OpenRig launches use
|
|
113
113
|
Codex's `-s workspace-write`, with approval policy from your native configuration,
|
|
114
114
|
or Claude Code's `acceptEdits`, which still leaves commands subject to native
|
|
115
|
-
rules and prompts. A team seat with no permission policy
|
|
116
|
-
|
|
115
|
+
rules and prompts. A team seat with no permission policy (or with `standard` or
|
|
116
|
+
`open`, whose rules aren't applied at launch), per-seat choice or (for Codex)
|
|
117
|
+
named profile also gets a per-launch
|
|
117
118
|
[team default](rig-spec.md#team-launch-defaults): Claude runs ordinary `rig`
|
|
118
119
|
commands, project reads and common tests without prompting, while lifecycle
|
|
119
120
|
commands such as `rig up` and `rig down` still ask; Codex also gets the OpenRig
|
|
@@ -185,10 +186,10 @@ agent doing the setup. Both use this release's tag:
|
|
|
185
186
|
|
|
186
187
|
```sh
|
|
187
188
|
# Claude Code
|
|
188
|
-
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.
|
|
189
|
+
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.17/skills/rigs" --skill rigs --agent claude-code
|
|
189
190
|
|
|
190
191
|
# Codex
|
|
191
|
-
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.
|
|
192
|
+
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.17/skills/rigs" --skill rigs --agent codex
|
|
192
193
|
```
|
|
193
194
|
|
|
194
195
|
If OpenRig is already installed, use the release tag matching your installed `rig --version` instead: replace the tag
|
|
@@ -203,11 +204,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
|
|
|
203
204
|
script will do and changes nothing:
|
|
204
205
|
|
|
205
206
|
```sh
|
|
206
|
-
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
207
|
+
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.17/scripts/install.sh | sh -s -- --dry-run
|
|
207
208
|
```
|
|
208
209
|
|
|
209
210
|
The same command without `--dry-run`,
|
|
210
|
-
`curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
211
|
+
`curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.17/scripts/install.sh | sh`, installs the
|
|
211
212
|
latest published `@openrig/cli` with `npm install -g`, runs the Node.js and SQLite check if the installed checker is
|
|
212
213
|
present (otherwise it reports the check skipped), then runs `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
|
|
213
214
|
Codex and may install a missing one, as described below. A failed step prints
|
|
@@ -671,7 +672,7 @@ rig ps --nodes --rig starter
|
|
|
671
672
|
Preview the selected seats, models and resources. Plan checks resolution and
|
|
672
673
|
preflight for the working directory. The kernel is already your entry point; this step starts the chosen project
|
|
673
674
|
team. Read readiness for the project seats, not only daemon health. Have the person answer a named authentication, trust, hook-review or
|
|
674
|
-
permission prompt before giving that seat work; a launch default, or their answer for another seat, isn't their answer to this one. When a seat stops at such a prompt, `rig up` reports
|
|
675
|
+
permission prompt before giving that seat work; a launch default, or their answer for another seat, isn't their answer to this one. When the person works through their own agent, the `rigs` skill tells that agent to bring each trust, hook-review or permission prompt to them as a question and to send their choice itself, rather than have them open that seat's terminal or type into it; a sign-in still needs the person. When a seat stops at such a prompt, `rig up` reports
|
|
675
676
|
`Status: partial`, prints `Startup attention (<seat>): <reason>` and exits 1;
|
|
676
677
|
`rig ps --nodes` repeats it as "Startup details". The reason ends with the command
|
|
677
678
|
to run once the prompt is answered: `rig seat continue <seat>`, which delivers the
|
|
@@ -757,9 +758,9 @@ Herdr, use `rig terminal open starter --provider herdr`; for the shared
|
|
|
757
758
|
dashboard together with the kernel conversations, use the
|
|
758
759
|
[saved first view](#open-the-kernel-conversations). The equivalent
|
|
759
760
|
cmux provider is also available. Read the opened/absent/degraded result: a
|
|
760
|
-
partial terminal view is not a healthy team.
|
|
761
|
-
|
|
762
|
-
when
|
|
761
|
+
partial terminal view is not a healthy team. A `--provider herdr` open focuses a
|
|
762
|
+
workspace that still shows this view live instead of adding a copy; otherwise it
|
|
763
|
+
adds a new workspace, numbered when the name is taken. From inside Herdr, `rig terminal open <view> --window`
|
|
763
764
|
focuses a matching space instead of adding one. Herdr's own status for a seat can
|
|
764
765
|
read idle or unknown while OpenRig shows it waiting (`needs-input`), for example in
|
|
765
766
|
a narrow tile that wraps Claude's footer, or in a tile that shows the inner tmux
|
|
@@ -1288,7 +1289,7 @@ and `off` for ordinary automatic sends (`--enabled false`).
|
|
|
1288
1289
|
In the shipped `starter`, `dev-build` runs Claude Code. For a **Claude Code** seat,
|
|
1289
1290
|
OpenRig normally passes `--permission-mode acceptEdits`: edits can proceed, while
|
|
1290
1291
|
other actions follow native rules and prompts. For a seat with no permission
|
|
1291
|
-
policy or per-seat choice it also passes the per-launch team default (`--settings` allowing ordinary
|
|
1292
|
+
policy (or with `standard` or `open`) and no per-seat choice it also passes the per-launch team default (`--settings` allowing ordinary
|
|
1292
1293
|
`rig` commands, project reads and common tests, with a session hook asking for
|
|
1293
1294
|
lifecycle commands while allowing literal help forms such as `rig down --help`);
|
|
1294
1295
|
personal and project rules still apply. Nothing is written to your settings files. To explicitly select the bypass launch flag for that rig:
|
|
@@ -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.17/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.17/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
|
|
@@ -324,6 +324,89 @@ envelope. An OpenRig older than 0.7.3 doesn't read a recorded envelope, so after
|
|
|
324
324
|
the seat launches without it. The field is also supported on legacy flat Codex nodes; other
|
|
325
325
|
runtimes reject it.
|
|
326
326
|
|
|
327
|
+
For an explicit filesystem policy, use `filesystem` **instead of** `sandbox` and its
|
|
328
|
+
workspace-write fields. This is the same per-seat selection and audited setter:
|
|
329
|
+
|
|
330
|
+
```yaml
|
|
331
|
+
cwd: /workspace/shared
|
|
332
|
+
env:
|
|
333
|
+
CODEX_HOME: /accounts/codex # existing account home; never copied
|
|
334
|
+
codex_permissions:
|
|
335
|
+
approval: never
|
|
336
|
+
filesystem:
|
|
337
|
+
":minimal": read
|
|
338
|
+
":workspace_roots": write
|
|
339
|
+
"/workspace/shared/private": deny
|
|
340
|
+
network_access: false
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
The mapping accepts native `read`, `write` and `deny` values at absolute paths,
|
|
344
|
+
`~/path`, or `:root`, `:minimal`, `:workspace_roots` (alias `:project_roots`),
|
|
345
|
+
`:tmpdir` and `:slash_tmp`.
|
|
346
|
+
It must be nonempty; nested subpath maps and arbitrary Codex settings are not part
|
|
347
|
+
of this option. Omitted network access becomes `false`. Include the read access
|
|
348
|
+
your tools and installed Codex executable need; this custom profile adds no
|
|
349
|
+
workspace, temporary, queue-state, seat-folder or Git-directory write grants of
|
|
350
|
+
its own. Native Codex decides whether the host can enforce the supplied rules.
|
|
351
|
+
Filesystem approval accepts `never` or `on-request`; the retired `untrusted`
|
|
352
|
+
approval is rejected before the selection is saved.
|
|
353
|
+
|
|
354
|
+
OpenRig emits the policy as invocation-local `permissions.openrig-seat` and
|
|
355
|
+
`default_permissions` overrides, with the selected approval. It writes no policy
|
|
356
|
+
file, so two seats can share both `CODEX_HOME` and `cwd` without overwriting each
|
|
357
|
+
other. Clearing the selection changes only that seat's record. Existing
|
|
358
|
+
account-scoped `codex_config_fragment` resources and their root-key rejection
|
|
359
|
+
stay unchanged.
|
|
360
|
+
|
|
361
|
+
Before dispatch, OpenRig compares Codex's native configuration with the seat's
|
|
362
|
+
selection. Positive evidence of access widening, a conflicting profile or
|
|
363
|
+
approval choice, an excluding managed allowlist, or a missing/empty selected
|
|
364
|
+
profile refuses launch. Compatible managed defaults and allowlists, harmless
|
|
365
|
+
descriptions and provably narrower flat rules are accepted. Legacy sandbox
|
|
366
|
+
settings are inert under the invocation's explicit permission-profile selection.
|
|
367
|
+
Null fields are treated as absent, including unfamiliar optional fields.
|
|
368
|
+
Managed `defaultPermissions` is a fallback, not a forced selection; the
|
|
369
|
+
effective profile and managed allowlist determine whether the agent's choice holds.
|
|
370
|
+
|
|
371
|
+
A timeout, reader failure, unfamiliar representation or unsupported managed
|
|
372
|
+
requirement continues with the authored flags and reports `policy not verified:
|
|
373
|
+
<reason>` in the launch observation and status. The policy is never dropped or
|
|
374
|
+
swapped, and account/project settings are never edited to make the check pass.
|
|
375
|
+
Absent selection or approval fields, unfamiliar approval strings or profile formats,
|
|
376
|
+
and unclear overlap between native selectors and authored path rules are also unverified.
|
|
377
|
+
An authored selector that may cover an extra grant is considered before a literal
|
|
378
|
+
ancestor would reject that grant, except that an explicit non-root deny ancestor
|
|
379
|
+
always takes precedence over possible selector coverage. A full-root deny, written
|
|
380
|
+
as `/` or `:root`, is a default narrower grants may refine: possible authored
|
|
381
|
+
selector coverage stays unverified, while a proven outside grant still refuses.
|
|
382
|
+
Codex 0.167.2's `:minimal` adds system read defaults, not `/home` or `/Users`
|
|
383
|
+
user-data coverage; extra grants there under a root deny or with no root rule still refuse unless
|
|
384
|
+
another authored rule may cover them. Other minimal-path coverage stays unexpanded.
|
|
385
|
+
Duplicate aliases from a
|
|
386
|
+
lower layer leave their own coverage unverified; they do not hide a known widening
|
|
387
|
+
at another path.
|
|
388
|
+
Inconclusive coverage warnings name the extra rule and access. An excluding managed
|
|
389
|
+
allowlist is reported before an effective selection or approval mismatch.
|
|
390
|
+
Concrete refusals name the conflicting rule and offer a remedy; handover preserves
|
|
391
|
+
that remedy while leaving the predecessor running.
|
|
392
|
+
Without an explicit `CODEX_HOME`, OpenRig resolves the normal account home and
|
|
393
|
+
pins it for both the read and launch; an unresolvable home is reported as
|
|
394
|
+
unverified. A named `codex_config_profile` is retained but unverified because the
|
|
395
|
+
native reader cannot load that layer on this path. A `launch_wrapper` is also
|
|
396
|
+
retained and unverified: it may change the effective home/configuration, so a
|
|
397
|
+
read without that wrapper cannot certify the launch.
|
|
398
|
+
|
|
399
|
+
The filesystem selection replaces permission-mode and team/kernel defaults,
|
|
400
|
+
including ambient YOLO. Fresh launches, both resume paths and restore emit the
|
|
401
|
+
same selection. A rebuild uses the saved filesystem policy ahead of an observed
|
|
402
|
+
predecessor sandbox; clearing or replacing the policy after a snapshot takes
|
|
403
|
+
effect on restore. Status reports the plan and its limits, not observed native
|
|
404
|
+
enforcement. Handover checks the successor's filesystem selection before
|
|
405
|
+
signaling the predecessor; a concrete conflict leaves that predecessor running.
|
|
406
|
+
Configuration can change between the preflight and native startup;
|
|
407
|
+
the read and launch are not atomic. Codex's sandbox governs local command
|
|
408
|
+
execution, not every connector, account or external service.
|
|
409
|
+
|
|
327
410
|
For an existing seat, put the envelope in a JSON file, or change its profile, with the existing
|
|
328
411
|
audited permission command:
|
|
329
412
|
|
|
@@ -369,8 +452,12 @@ the Codex version and configuration being used.
|
|
|
369
452
|
|
|
370
453
|
A non-kernel Claude or Codex seat with no authored permission policy, explicit
|
|
371
454
|
seat permission selection, or named Codex profile receives the team launch
|
|
372
|
-
default.
|
|
373
|
-
|
|
455
|
+
default. So does one whose policy is `builtin:standard` or `builtin:open`, with
|
|
456
|
+
no seat permission selection, Claude rules of its own, or named Codex profile:
|
|
457
|
+
those policies default to allow, and their rules aren't applied at launch, so
|
|
458
|
+
recording one doesn't leave the seat stricter than recording none. The member's
|
|
459
|
+
own policy decides over the rig's. Any other explicit policy, including `none`
|
|
460
|
+
or `builtin:locked`, keeps its existing meaning. The default is derived again for fresh launch, resume, fork
|
|
374
461
|
and handover; it is not saved as a user choice. Kernel, Pi and terminal behavior
|
|
375
462
|
is unchanged.
|
|
376
463
|
|
|
@@ -472,7 +559,8 @@ launches with `-s danger-full-access -a never`, plus per-launch `-c` overrides t
|
|
|
472
559
|
full-access and GPT-5.1 migration notices, whatever the rig's non-interruptive choice.
|
|
473
560
|
|
|
474
561
|
**Config-surface policies are recorded, not applied at launch.** The seat still starts at
|
|
475
|
-
the floor
|
|
562
|
+
the floor: with the [team launch default](#team-launch-defaults) for `standard` and `open`,
|
|
563
|
+
and without it for any other. The plan's line for that seat says which. The `allow`, `ask` and `deny` rules take effect once they are translated into the
|
|
476
564
|
runtime's native settings. The `applying-a-permission-policy` skill in `openrig-core` does
|
|
477
565
|
that translation, with per-runtime limits. For example, Claude's prefix rules can't
|
|
478
566
|
reliably tell `git push --force` from `git push`. An `ask` waits for a person, so it pauses
|
|
@@ -798,7 +886,7 @@ directory's `CLAUDE.md`, including blocks written by other rigs.
|
|
|
798
886
|
| `restore_policy` | string | no | the AgentSpec's | Restore behavior. One of: `resume_if_possible`, `relaunch_fresh`, `checkpoint_only`. The default comes from the AgentSpec's `defaults.lifecycle` (else `resume_if_possible`) as narrowed by its profile; a member value may only narrow it further, in that order. |
|
|
799
887
|
| `compaction_strategy` | string | no | — | `default-compaction`, `managed-compaction`, `handover` or `apprentice-handover`; `harness_native` and `pod_continuity` are accepted as deprecated aliases, and `custom_prompt` is refused. `managed-compaction` and `apprentice-handover` create their jobs only for `claude-code` seats; see [Codex compaction and sizing](agent-startup-guide.md#codex-compaction-and-sizing). |
|
|
800
888
|
| `mechanic` | string | no | — | A canonical `seat@rig` session address, for `apprentice-handover`. |
|
|
801
|
-
| `session_source` | object | no | — | Start the seat from an existing session: `fork` with `native_id`, `rebuild` with `artifact_set`, or `agent_image` with `image_name`. A Claude Code `fork` needs Claude Code 2.0.73 or later. Not valid on terminal members. |
|
|
889
|
+
| `session_source` | object | no | — | Start the seat from an existing session: `fork` with `native_id`, `rebuild` with `artifact_set`, or `agent_image` with `image_name`. A Claude Code `fork` needs Claude Code 2.0.73 or later. Not valid on terminal members. Rebuild `artifact_set` paths are read as given, relative to the daemon's working directory, so an absolute path is the reliable form. |
|
|
802
890
|
| `starter_ref` | object | no | — | `{ name }` of an agent starter (`^[a-zA-Z0-9][a-zA-Z0-9_-]*$`) whose files lead the seat's startup. Not valid on terminal members or with a fork. |
|
|
803
891
|
| `startup` | StartupBlock | no | — | Member-level startup files and actions. Applied only to this member. |
|
|
804
892
|
|
|
@@ -89,6 +89,9 @@ labelled observation.
|
|
|
89
89
|
|
|
90
90
|
A member marked `"hosted": true` is a hosted member: a tool outside the terminal that reaches the team over MCP, with no node or pane.
|
|
91
91
|
`rig_team` lists it with its capabilities and caveat, no pane and activity unknown, unless its seat is one of the rig's nodes.
|
|
92
|
+
For a caller on an external grant, a node seat on a roster keeps its own `rig_team` entry, with that entry's label,
|
|
93
|
+
capabilities, `use_when`, caveat and presence added, so an assistant can see a disconnected seat for what it is. A seat
|
|
94
|
+
on no roster reads as before, and so does every seat for an internal caller.
|
|
92
95
|
`show` and `find` say it's hosted rather than unmatched. See [Hosted members](hosted-members.md).
|
|
93
96
|
Its entry can declare `wake.webhook`, the secret names for a trigger OpenRig rings when work lands for it
|
|
94
97
|
(see [Ring it when work lands](hosted-members.md#ring-it-when-work-lands)).
|
|
@@ -97,3 +100,26 @@ an hourly schedule is `60`), or `check_in_on_request: true` when it checks in on
|
|
|
97
100
|
its person set up, not something OpenRig observes. With neither, its check-in status reads unknown: OpenRig doesn't
|
|
98
101
|
assume a cadence. A value that can't be used doesn't stop the roster loading: that member's check-in
|
|
99
102
|
status reads unknown, with the reason. See [Check-in status](hosted-members.md#check-in-status).
|
|
103
|
+
|
|
104
|
+
Any member can declare a `label`: how the person knows it, which an assistant can say back, such as
|
|
105
|
+
`"claude (Sam's assistant, invited)"`. It's plain text of at most 200 characters, with no control characters, line or
|
|
106
|
+
paragraph separators, bidirectional embeddings, overrides or isolates, word joiner or invisible operators (U+2060 to
|
|
107
|
+
U+2064), byte-order mark (U+FEFF), or angle brackets. The zero-width space, the zero-width joiner and non-joiner, and
|
|
108
|
+
the direction marks are allowed, as names need them. A label that breaks those rules doesn't stop the roster
|
|
109
|
+
loading: it's ignored with `label_problem`, and the member is named by its seat as before. An external caller's entry
|
|
110
|
+
carries that `label_problem`, so an unusable label doesn't read as absent.
|
|
111
|
+
|
|
112
|
+
The roster at `rosters/network-<rig>.json` names that rig's team. Without that file, the roster whose `id` is the
|
|
113
|
+
rig's name does (the `<rig>.json` the starter and factory leads write; the first by file name if several do). For an
|
|
114
|
+
external caller, `rig_team` reports its `name` as `rig.displayName`, beside the rig's own name. The name follows the
|
|
115
|
+
label rule; one that breaks it isn't shown, and
|
|
116
|
+
`rig.displayNameProblem` says why. When an external caller's default list of its own open items is empty,
|
|
117
|
+
`rig_queue_list` adds a line its assistant can repeat, such as
|
|
118
|
+
`No open requests are addressed to you on the team "Sam's team".` (a list of every state says `No requests …`).
|
|
119
|
+
If the owner hasn't named the team, the name is `Your OpenRig team`, and the line says `on your OpenRig team`. Without
|
|
120
|
+
that roster, or with a name that can't be shown, there's no display name, and the line says `on your OpenRig team`.
|
|
121
|
+
|
|
122
|
+
Labels, names and caveats are as the roster's writer last authored them, not live observations. Presence is OpenRig's
|
|
123
|
+
own reading. When some rosters can't be read, or this daemon's host id isn't known yet, `rig_team` says so in
|
|
124
|
+
`hostedMembersNote`: hosted members, and the roster entries of the team's seats, may be missing. The seats themselves
|
|
125
|
+
are still listed.
|
|
@@ -24,9 +24,15 @@ a shell prompt holds them. Keep the default for a seat that may fall back to a s
|
|
|
24
24
|
|
|
25
25
|
Runtime permissions are separate. Recipient and interactive-prompt checks still
|
|
26
26
|
apply. `--raw` and `--force` do not bypass the typing guard. A deliberate
|
|
27
|
-
`--dangerously-interact --reason` remains available
|
|
27
|
+
`--dangerously-interact --reason` remains available in every mode, `hold` included,
|
|
28
28
|
and uses the existing-input check below. Direct human input remains available.
|
|
29
29
|
|
|
30
|
+
An ordinary `rig send` types the message inside its From/To envelope, whose first
|
|
31
|
+
line is `From:`, so a message that starts with `/` stays literal text rather than
|
|
32
|
+
running as the agent's slash command. `--raw` and `--dangerously-interact` type the
|
|
33
|
+
exact text, with no envelope. Claude Code (2.1.322) turns a pasted tab into four
|
|
34
|
+
spaces, so tabs reach a Claude Code seat as spaces.
|
|
35
|
+
|
|
30
36
|
A message sent to a busy Codex seat joins its running turn and may redirect it.
|
|
31
37
|
For separate work, create a queue row instead:
|
|
32
38
|
`rig queue create --destination <seat> --summary "<one line>" --body-file <file>`.
|