@openrig/cli 0.7.4 → 0.7.6
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 +5 -5
- package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/hooks/claude.json +11 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +5 -0
- package/daemon/assets/plugins/openrig-core/skills/queue-handoff/SKILL.md +5 -1
- 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 +49 -8
- package/daemon/context-packs/reference/getting-started.md +47 -3
- package/daemon/context-packs/reference/manifest.yaml +1 -1
- package/daemon/context-packs/reference/rig-spec.md +147 -4
- package/daemon/context-packs/reference/whats-new.md +104 -117
- package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
- package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
- package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
- package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-architect/SKILL.md +0 -1
- package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +0 -1
- package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/SKILL.md +11 -0
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-lifecycle/SKILL.md +2 -2
- 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/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/SKILL.md +5 -1
- package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
- package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
- package/daemon/context-packs/skills/session-compaction-and-restore/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 +3 -3
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +76 -28
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +20 -4
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +5 -2
- package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts +2 -0
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.js +37 -14
- package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/pi-runner-protocol.d.ts +1 -1
- package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner-protocol.js +3 -1
- package/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts +6 -5
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +16 -12
- 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 +6 -0
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/126_escalation_target_refs.d.ts +4 -0
- package/daemon/dist/db/migrations/126_escalation_target_refs.d.ts.map +1 -0
- package/daemon/dist/db/migrations/126_escalation_target_refs.js +30 -0
- package/daemon/dist/db/migrations/126_escalation_target_refs.js.map +1 -0
- package/daemon/dist/db/migrations/141_node_account_home.d.ts +3 -0
- package/daemon/dist/db/migrations/141_node_account_home.d.ts.map +1 -0
- package/daemon/dist/db/migrations/141_node_account_home.js +6 -0
- package/daemon/dist/db/migrations/141_node_account_home.js.map +1 -0
- package/daemon/dist/db/migrations/141_session_agent_runner.d.ts +3 -0
- package/daemon/dist/db/migrations/141_session_agent_runner.d.ts.map +1 -0
- package/daemon/dist/db/migrations/141_session_agent_runner.js +11 -0
- package/daemon/dist/db/migrations/141_session_agent_runner.js.map +1 -0
- package/daemon/dist/domain/activity-taxonomy.d.ts +7 -2
- package/daemon/dist/domain/activity-taxonomy.d.ts.map +1 -1
- package/daemon/dist/domain/activity-taxonomy.js +10 -2
- package/daemon/dist/domain/activity-taxonomy.js.map +1 -1
- package/daemon/dist/domain/agent-activity-store.d.ts +6 -3
- package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
- package/daemon/dist/domain/agent-activity-store.js +18 -10
- package/daemon/dist/domain/agent-activity-store.js.map +1 -1
- package/daemon/dist/domain/claim-service.js +1 -1
- package/daemon/dist/domain/claim-service.js.map +1 -1
- package/daemon/dist/domain/claude-credential-precedence.d.ts +8 -0
- package/daemon/dist/domain/claude-credential-precedence.d.ts.map +1 -1
- package/daemon/dist/domain/claude-credential-precedence.js +49 -4
- package/daemon/dist/domain/claude-credential-precedence.js.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.d.ts +24 -3
- package/daemon/dist/domain/claude-managed-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.js +92 -29
- package/daemon/dist/domain/claude-managed-launch.js.map +1 -1
- package/daemon/dist/domain/claude-seat-token.d.ts +14 -2
- package/daemon/dist/domain/claude-seat-token.d.ts.map +1 -1
- package/daemon/dist/domain/claude-seat-token.js +54 -7
- package/daemon/dist/domain/claude-seat-token.js.map +1 -1
- package/daemon/dist/domain/codex-rebuild-permissions.d.ts.map +1 -1
- package/daemon/dist/domain/codex-rebuild-permissions.js +6 -4
- package/daemon/dist/domain/codex-rebuild-permissions.js.map +1 -1
- package/daemon/dist/domain/community-harness-presets.d.ts +5 -0
- package/daemon/dist/domain/community-harness-presets.d.ts.map +1 -1
- package/daemon/dist/domain/community-harness-presets.js +9 -2
- package/daemon/dist/domain/community-harness-presets.js.map +1 -1
- package/daemon/dist/domain/composer-prompts.d.ts +13 -0
- package/daemon/dist/domain/composer-prompts.d.ts.map +1 -1
- package/daemon/dist/domain/composer-prompts.js +32 -0
- package/daemon/dist/domain/composer-prompts.js.map +1 -1
- package/daemon/dist/domain/escalation-owner.d.ts +13 -0
- package/daemon/dist/domain/escalation-owner.d.ts.map +1 -0
- package/daemon/dist/domain/escalation-owner.js +92 -0
- package/daemon/dist/domain/escalation-owner.js.map +1 -0
- package/daemon/dist/domain/escalation-target-ref.d.ts +3 -0
- package/daemon/dist/domain/escalation-target-ref.d.ts.map +1 -0
- package/daemon/dist/domain/escalation-target-ref.js +6 -0
- package/daemon/dist/domain/escalation-target-ref.js.map +1 -0
- package/daemon/dist/domain/gateway/destination-resolver.d.ts +2 -0
- package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.js +10 -1
- package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/config.d.ts +7 -0
- package/daemon/dist/domain/gateway/slack/config.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/config.js +5 -0
- package/daemon/dist/domain/gateway/slack/config.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts +4 -0
- package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.js +11 -3
- package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js +8 -15
- package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-api.d.ts +5 -1
- package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-api.js +7 -1
- package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +3 -0
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.js +12 -5
- package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js +19 -5
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/daemon/dist/domain/graph-projection.d.ts.map +1 -1
- package/daemon/dist/domain/graph-projection.js +2 -1
- package/daemon/dist/domain/graph-projection.js.map +1 -1
- package/daemon/dist/domain/markdown-address.d.ts.map +1 -1
- package/daemon/dist/domain/markdown-address.js +14 -1
- package/daemon/dist/domain/markdown-address.js.map +1 -1
- package/daemon/dist/domain/mission-control/notification-adapter-ntfy.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/notification-adapter-ntfy.js +2 -0
- package/daemon/dist/domain/mission-control/notification-adapter-ntfy.js.map +1 -1
- package/daemon/dist/domain/mission-control/notification-adapter-webhook.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/notification-adapter-webhook.js +2 -0
- package/daemon/dist/domain/mission-control/notification-adapter-webhook.js.map +1 -1
- package/daemon/dist/domain/model-divergence/current-model-reader.d.ts +1 -1
- package/daemon/dist/domain/model-divergence/current-model-reader.d.ts.map +1 -1
- package/daemon/dist/domain/model-divergence/current-model-reader.js.map +1 -1
- package/daemon/dist/domain/native-process-arguments.d.ts +7 -0
- package/daemon/dist/domain/native-process-arguments.d.ts.map +1 -0
- package/daemon/dist/domain/native-process-arguments.js +188 -0
- package/daemon/dist/domain/native-process-arguments.js.map +1 -0
- package/daemon/dist/domain/native-process-lineage.d.ts +8 -0
- package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
- package/daemon/dist/domain/native-process-lineage.js +87 -29
- package/daemon/dist/domain/native-process-lineage.js.map +1 -1
- package/daemon/dist/domain/native-resume-probe.d.ts +3 -0
- package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
- package/daemon/dist/domain/native-resume-probe.js +7 -0
- package/daemon/dist/domain/native-resume-probe.js.map +1 -1
- package/daemon/dist/domain/node-inventory.d.ts +3 -3
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +40 -29
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +6 -4
- package/daemon/dist/domain/node-launcher.js.map +1 -1
- package/daemon/dist/domain/pane-cutover.d.ts +1 -1
- package/daemon/dist/domain/pane-cutover.d.ts.map +1 -1
- package/daemon/dist/domain/pane-cutover.js +3 -3
- package/daemon/dist/domain/pane-cutover.js.map +1 -1
- package/daemon/dist/domain/periodic-snapshot-scheduler.d.ts +3 -0
- package/daemon/dist/domain/periodic-snapshot-scheduler.d.ts.map +1 -1
- package/daemon/dist/domain/periodic-snapshot-scheduler.js +15 -11
- package/daemon/dist/domain/periodic-snapshot-scheduler.js.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
- package/daemon/dist/domain/process-table.d.ts +2 -0
- package/daemon/dist/domain/process-table.d.ts.map +1 -1
- package/daemon/dist/domain/process-table.js +3 -0
- package/daemon/dist/domain/process-table.js.map +1 -1
- package/daemon/dist/domain/proof/source-watch.d.ts +1 -1
- package/daemon/dist/domain/proof/source-watch.d.ts.map +1 -1
- package/daemon/dist/domain/proof/source-watch.js +14 -1
- package/daemon/dist/domain/proof/source-watch.js.map +1 -1
- package/daemon/dist/domain/provider/claude-seat-switch.d.ts.map +1 -1
- package/daemon/dist/domain/provider/claude-seat-switch.js +19 -9
- package/daemon/dist/domain/provider/claude-seat-switch.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service-impl.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-service-impl.js +3 -0
- package/daemon/dist/domain/provider/provider-service-impl.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service.d.ts +6 -0
- package/daemon/dist/domain/provider/provider-service.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-types.d.ts +3 -2
- package/daemon/dist/domain/provider/provider-types.d.ts.map +1 -1
- package/daemon/dist/domain/ps-projection.d.ts +4 -3
- package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
- package/daemon/dist/domain/ps-projection.js +10 -7
- package/daemon/dist/domain/ps-projection.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +16 -2
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +102 -24
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts +2 -2
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +151 -27
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/queue-transition-log.d.ts +14 -0
- package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transition-log.js +53 -0
- package/daemon/dist/domain/queue-transition-log.js.map +1 -1
- package/daemon/dist/domain/queue-waiting.d.ts +1 -1
- package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
- package/daemon/dist/domain/queue-waiting.js +5 -4
- package/daemon/dist/domain/queue-waiting.js.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +186 -48
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/reply-to-choice.d.ts +3 -0
- package/daemon/dist/domain/reply-to-choice.d.ts.map +1 -1
- package/daemon/dist/domain/reply-to-choice.js +12 -0
- package/daemon/dist/domain/reply-to-choice.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +7 -2
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +69 -22
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/rig-edge-ops.d.ts +1 -1
- package/daemon/dist/domain/rig-edge-ops.d.ts.map +1 -1
- package/daemon/dist/domain/rig-edge-ops.js +8 -6
- package/daemon/dist/domain/rig-edge-ops.js.map +1 -1
- package/daemon/dist/domain/rig-expansion-service.d.ts.map +1 -1
- package/daemon/dist/domain/rig-expansion-service.js +20 -35
- package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
- package/daemon/dist/domain/rig-repository.d.ts +3 -1
- package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/daemon/dist/domain/rig-repository.js +37 -9
- package/daemon/dist/domain/rig-repository.js.map +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts +2 -2
- package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/daemon/dist/domain/rig-teardown.js +9 -5
- package/daemon/dist/domain/rig-teardown.js.map +1 -1
- package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-codec.js +4 -0
- package/daemon/dist/domain/rigspec-codec.js.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.js +7 -3
- package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +12 -8
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-schema.js +37 -2
- package/daemon/dist/domain/rigspec-schema.js.map +1 -1
- package/daemon/dist/domain/rosters.d.ts +2 -0
- package/daemon/dist/domain/rosters.d.ts.map +1 -1
- package/daemon/dist/domain/rosters.js +6 -0
- package/daemon/dist/domain/rosters.js.map +1 -1
- package/daemon/dist/domain/runtime-adapter.d.ts +11 -0
- package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-adapter.js.map +1 -1
- package/daemon/dist/domain/scope/scope-audit.d.ts +1 -0
- package/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
- package/daemon/dist/domain/scope/scope-audit.js +4 -0
- package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
- package/daemon/dist/domain/seat-activity-service.d.ts +8 -1
- package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-activity-service.js +92 -35
- package/daemon/dist/domain/seat-activity-service.js.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.js +2 -2
- package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.d.ts +1 -1
- package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.js +11 -2
- package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.js +13 -1
- package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.d.ts +4 -1
- package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.js +21 -8
- package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +19 -11
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.d.ts +1 -1
- package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.js +66 -13
- package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-home.d.ts +7 -3
- package/daemon/dist/domain/seat-runtime-home.d.ts.map +1 -1
- package/daemon/dist/domain/seat-runtime-home.js +32 -3
- package/daemon/dist/domain/seat-runtime-home.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts +13 -0
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.js +48 -6
- package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
- package/daemon/dist/domain/seat-status-service.d.ts +4 -2
- package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-status-service.js +5 -3
- package/daemon/dist/domain/seat-status-service.js.map +1 -1
- package/daemon/dist/domain/session-registry.d.ts +10 -2
- package/daemon/dist/domain/session-registry.d.ts.map +1 -1
- package/daemon/dist/domain/session-registry.js +24 -2
- package/daemon/dist/domain/session-registry.js.map +1 -1
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +39 -18
- package/daemon/dist/domain/session-transport.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +12 -2
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/startup-proof.d.ts +3 -1
- package/daemon/dist/domain/startup-proof.d.ts.map +1 -1
- package/daemon/dist/domain/startup-proof.js +7 -2
- package/daemon/dist/domain/startup-proof.js.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.d.ts +1 -1
- package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts +13 -5
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.js +55 -79
- package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-follow-view.d.ts +28 -0
- package/daemon/dist/domain/terminal/herdr-follow-view.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/herdr-follow-view.js +355 -0
- package/daemon/dist/domain/terminal/herdr-follow-view.js.map +1 -0
- package/daemon/dist/domain/terminal/herdr-sessions.d.ts +2 -1
- package/daemon/dist/domain/terminal/herdr-sessions.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-sessions.js +34 -9
- package/daemon/dist/domain/terminal/herdr-sessions.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-transport.d.ts +3 -2
- package/daemon/dist/domain/terminal/herdr-transport.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-transport.js +10 -6
- package/daemon/dist/domain/terminal/herdr-transport.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-viewer.d.ts +84 -0
- package/daemon/dist/domain/terminal/herdr-viewer.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/herdr-viewer.js +311 -0
- package/daemon/dist/domain/terminal/herdr-viewer.js.map +1 -0
- package/daemon/dist/domain/terminal/scope-task-terminal-view.d.ts +28 -0
- package/daemon/dist/domain/terminal/scope-task-terminal-view.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/scope-task-terminal-view.js +268 -0
- package/daemon/dist/domain/terminal/scope-task-terminal-view.js.map +1 -0
- package/daemon/dist/domain/terminal/task-terminal-view.d.ts +12 -2
- package/daemon/dist/domain/terminal/task-terminal-view.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/task-terminal-view.js +6 -1
- package/daemon/dist/domain/terminal/task-terminal-view.js.map +1 -1
- package/daemon/dist/domain/terminal/terminal-follow-policy.d.ts +65 -0
- package/daemon/dist/domain/terminal/terminal-follow-policy.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/terminal-follow-policy.js +93 -0
- package/daemon/dist/domain/terminal/terminal-follow-policy.js.map +1 -0
- package/daemon/dist/domain/terminal/terminal-following.d.ts +39 -0
- package/daemon/dist/domain/terminal/terminal-following.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/terminal-following.js +135 -0
- package/daemon/dist/domain/terminal/terminal-following.js.map +1 -0
- package/daemon/dist/domain/terminal/terminal-provider.d.ts +10 -0
- package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.d.ts +29 -0
- package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.js +143 -35
- package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.js +1 -1
- package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
- package/daemon/dist/domain/terminal/view-composer.js +1 -1
- package/daemon/dist/domain/terminal/view-composer.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +37 -2
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js +5 -0
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/workflow-runtime.js +1 -1
- package/daemon/dist/domain/workflow-runtime.js.map +1 -1
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +1 -0
- package/daemon/dist/index.js.map +1 -1
- package/daemon/dist/routes/activity.d.ts.map +1 -1
- package/daemon/dist/routes/activity.js +58 -7
- package/daemon/dist/routes/activity.js.map +1 -1
- package/daemon/dist/routes/provider.d.ts +1 -0
- package/daemon/dist/routes/provider.d.ts.map +1 -1
- package/daemon/dist/routes/provider.js +49 -10
- package/daemon/dist/routes/provider.js.map +1 -1
- package/daemon/dist/routes/rigs.js +3 -97
- package/daemon/dist/routes/rigs.js.map +1 -1
- package/daemon/dist/routes/scope-audit.d.ts.map +1 -1
- package/daemon/dist/routes/scope-audit.js +2 -2
- package/daemon/dist/routes/scope-audit.js.map +1 -1
- package/daemon/dist/routes/seat.d.ts +4 -1
- package/daemon/dist/routes/seat.d.ts.map +1 -1
- package/daemon/dist/routes/seat.js +8 -2
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/sessions.js +4 -3
- package/daemon/dist/routes/sessions.js.map +1 -1
- package/daemon/dist/routes/slices.d.ts.map +1 -1
- package/daemon/dist/routes/slices.js +1 -0
- package/daemon/dist/routes/slices.js.map +1 -1
- package/daemon/dist/routes/terminal.d.ts +3 -1
- package/daemon/dist/routes/terminal.d.ts.map +1 -1
- package/daemon/dist/routes/terminal.js +61 -3
- package/daemon/dist/routes/terminal.js.map +1 -1
- package/daemon/dist/routes/transport.d.ts.map +1 -1
- package/daemon/dist/routes/transport.js +3 -0
- package/daemon/dist/routes/transport.js.map +1 -1
- package/daemon/dist/server.js +1 -1
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +35 -11
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/docs/reference/agent-startup-guide.md +9 -0
- package/daemon/docs/reference/agent-state-taxonomy.md +21 -1
- package/daemon/docs/reference/author-contracts.md +74 -0
- package/daemon/docs/reference/community-harness-examples/cursor/cursor.yaml +1 -0
- package/daemon/docs/reference/community-harness-examples/cursor/openrig-cursor-launch +6 -0
- package/daemon/docs/reference/community-harness-examples/hermes/hermes.yaml +1 -0
- package/daemon/docs/reference/community-harness-examples/hermes/openrig-hermes-launch +15 -0
- package/daemon/docs/reference/community-harness-examples/pi-tui/openrig-pi-tui-launch +100 -0
- package/daemon/docs/reference/community-harness-examples/pi-tui/pi-tui.yaml +15 -0
- package/daemon/docs/reference/community-harness-presets.md +155 -3
- package/daemon/docs/reference/edge-types.md +40 -11
- package/daemon/docs/reference/execution-platform-contract.md +138 -0
- package/daemon/docs/reference/getting-started.md +47 -3
- package/daemon/docs/reference/harness-runner-contract.md +242 -0
- package/daemon/docs/reference/hosted-members.md +5 -1
- package/daemon/docs/reference/publishing-a-rig-bundle.md +5 -0
- package/daemon/docs/reference/quickstart.md +1 -1
- package/daemon/docs/reference/rig-spec.md +147 -4
- package/daemon/docs/reference/sdlc-conventions.md +6 -0
- package/daemon/docs/reference/seat-delivery.md +6 -0
- package/daemon/docs/reference/slack-app-setup.md +8 -0
- package/daemon/docs/reference/terminal-sessions.md +215 -7
- package/daemon/docs/reference/whats-new.md +104 -117
- package/daemon/specs/agents/shared/skills/core/openrig-architect/SKILL.md +0 -1
- package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +0 -1
- package/daemon/specs/agents/shared/skills/core/rig-bundles-and-shareable-artifacts/SKILL.md +11 -0
- package/daemon/specs/agents/shared/skills/core/rig-lifecycle/SKILL.md +2 -2
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +11 -2
- package/daemon/specs/rigs/launch/kernel/culture/CULTURE.md +2 -1
- package/dist/build-info.js +3 -3
- package/dist/client.js +3 -3
- package/dist/client.js.map +1 -1
- package/dist/commands/attach.d.ts.map +1 -1
- package/dist/commands/attach.js +9 -9
- package/dist/commands/attach.js.map +1 -1
- package/dist/commands/capture.d.ts.map +1 -1
- package/dist/commands/capture.js +12 -4
- package/dist/commands/capture.js.map +1 -1
- package/dist/commands/chatroom.d.ts +7 -0
- package/dist/commands/chatroom.d.ts.map +1 -1
- package/dist/commands/chatroom.js +21 -4
- package/dist/commands/chatroom.js.map +1 -1
- package/dist/commands/crash-cart.d.ts +6 -0
- package/dist/commands/crash-cart.d.ts.map +1 -1
- package/dist/commands/crash-cart.js +10 -5
- package/dist/commands/crash-cart.js.map +1 -1
- package/dist/commands/edge.d.ts.map +1 -1
- package/dist/commands/edge.js +10 -5
- package/dist/commands/edge.js.map +1 -1
- package/dist/commands/host.d.ts +8 -0
- package/dist/commands/host.d.ts.map +1 -1
- package/dist/commands/host.js +74 -8
- package/dist/commands/host.js.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +4 -1
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/provider.d.ts +1 -0
- package/dist/commands/provider.d.ts.map +1 -1
- package/dist/commands/provider.js +146 -7
- package/dist/commands/provider.js.map +1 -1
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +40 -11
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/scope.js +3 -3
- package/dist/commands/scope.js.map +1 -1
- package/dist/commands/seat.d.ts +1 -0
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +61 -9
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +18 -23
- package/dist/commands/send.js.map +1 -1
- package/dist/commands/slack.d.ts.map +1 -1
- package/dist/commands/slack.js +2 -0
- package/dist/commands/slack.js.map +1 -1
- package/dist/commands/start.d.ts.map +1 -1
- package/dist/commands/start.js +7 -0
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/startup-proof.d.ts.map +1 -1
- package/dist/commands/startup-proof.js +4 -1
- package/dist/commands/startup-proof.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +3 -1
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/terminal.d.ts +32 -0
- package/dist/commands/terminal.d.ts.map +1 -1
- package/dist/commands/terminal.js +31 -9
- package/dist/commands/terminal.js.map +1 -1
- package/dist/commands/transcript.js +1 -1
- package/dist/commands/transcript.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +29 -4
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/lib/account-home-switch.d.ts +6 -0
- package/dist/lib/account-home-switch.d.ts.map +1 -0
- package/dist/lib/account-home-switch.js +8 -0
- package/dist/lib/account-home-switch.js.map +1 -0
- package/dist/lib/scope/scope-audit.d.ts +1 -0
- package/dist/lib/scope/scope-audit.d.ts.map +1 -1
- package/dist/lib/scope/scope-audit.js +4 -0
- package/dist/lib/scope/scope-audit.js.map +1 -1
- package/dist/lib/scope/scope-fs.d.ts.map +1 -1
- package/dist/lib/scope/scope-fs.js +13 -4
- package/dist/lib/scope/scope-fs.js.map +1 -1
- package/dist/mcp-server.d.ts +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +4 -3
- package/dist/mcp-server.js.map +1 -1
- package/dist/openrig-compat.d.ts +9 -1
- package/dist/openrig-compat.d.ts.map +1 -1
- package/dist/openrig-compat.js +19 -3
- package/dist/openrig-compat.js.map +1 -1
- package/dist/terminal-window.d.ts +3 -3
- package/dist/terminal-window.d.ts.map +1 -1
- package/dist/terminal-window.js +31 -5
- package/dist/terminal-window.js.map +1 -1
- package/package.json +1 -1
- package/tui/dist/attention/attention-model.js +9 -7
- package/tui/dist/attention/attention-model.js.map +1 -1
- package/tui/dist/config/config-model.d.ts.map +1 -1
- package/tui/dist/config/config-model.js +2 -2
- package/tui/dist/config/config-model.js.map +1 -1
- package/tui/dist/daemon-client.d.ts +1 -0
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +1 -1
- package/tui/dist/daemon-client.js.map +1 -1
- package/tui/dist/health/health-model.d.ts.map +1 -1
- package/tui/dist/health/health-model.js +2 -2
- package/tui/dist/health/health-model.js.map +1 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +3 -0
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/navigator.d.ts.map +1 -1
- package/tui/dist/navigator.js +8 -5
- package/tui/dist/navigator.js.map +1 -1
- package/tui/dist/render.d.ts.map +1 -1
- package/tui/dist/render.js +17 -14
- package/tui/dist/render.js.map +1 -1
- package/tui/dist/state.d.ts.map +1 -1
- package/tui/dist/state.js +2 -1
- package/tui/dist/state.js.map +1 -1
- package/tui/dist/stylize.js +1 -1
- package/tui/dist/stylize.js.map +1 -1
- package/tui/dist/terminals/open-window.js +2 -2
- package/tui/dist/terminals/open-window.js.map +1 -1
- package/tui/dist/topology/host-label.d.ts +7 -0
- package/tui/dist/topology/host-label.d.ts.map +1 -0
- package/tui/dist/topology/host-label.js +34 -0
- package/tui/dist/topology/host-label.js.map +1 -0
- package/tui/dist/types.d.ts +3 -0
- package/tui/dist/types.d.ts.map +1 -1
- package/ui/dist/assets/{index-DV0UNxFw.js → index-CMBgYrS7.js} +166 -166
- package/ui/dist/index.html +1 -1
|
@@ -511,9 +511,9 @@ pods:
|
|
|
511
511
|
**Where the declared names reach, by runtime.** Declared values are handed to the seat's terminal as tmux environment, so most seats take them as given:
|
|
512
512
|
|
|
513
513
|
- Plain Claude Code (no permission mode selected), Codex and terminal seats take a spec `HOME`, `PATH` or `CLAUDE_CONFIG_DIR` as given.
|
|
514
|
-
- The cleared environment (`env -i`) belongs only to a managed Claude launch, which is the one used when a permission mode is selected for the seat (for example `permission_policy: builtin:auto`). It forwards the declared names through the cleared environment, except `PATH`, `HOME` and `CLAUDE_CONFIG_DIR`, which OpenRig sets for that launch itself, and `CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN`, for which it sets its own renderer setting. A spec value for any of those four is not forwarded as such; an absolute `CLAUDE_CONFIG_DIR` becomes the config dir OpenRig sets (see "A seat's own account" below). A seat that selected the shipped `openrig-core` plugin also has `CLAUDE_CODE_PLUGIN_DIRS` (the vendored plugin, added after a list the seat declares itself) among its declared names, so it is forwarded like the others and the plugin's hooks load in a seat with a permission mode as in one without; a seat that didn't select the plugin has no such name added. Beyond the declared names, the launch also forwards, by name and only when the seat's terminal has them set, the terminal and locale variables (`TERM`, `COLORTERM`, `TERM_PROGRAM`, `TERM_PROGRAM_VERSION`, `LANG` and the `LC_*` names) and the person's editor and display session: `EDITOR`, `VISUAL`, `DISPLAY`, `XAUTHORITY` and `WAYLAND_DISPLAY`. They let Claude's external-editor action open the person's editor and let image paste reach the clipboard, without a value in a spec. `WAYLAND_DISPLAY` is passed as an absolute path: an absolute value is kept, and a relative one is joined to the terminal's `XDG_RUNTIME_DIR`; if the terminal has no `XDG_RUNTIME_DIR` for it, the name is left out. The runtime directory and its `disabled:` bus address (see "The runtime directory, on Linux" above) are forwarded together, and the runtime directory is also forwarded beside a declared `DBUS_SESSION_BUS_ADDRESS`. A terminal's own `XDG_RUNTIME_DIR` or `DBUS_SESSION_BUS_ADDRESS`, from a shell startup file or tmux's `update-environment`, is not, because D-Bus clients look for the session bus at `$XDG_RUNTIME_DIR/bus` when no address is set; declare it in `env:` to forward it. `XDG_SESSION_TYPE
|
|
514
|
+
- The cleared environment (`env -i`) belongs only to a managed Claude launch, which is the one used when a permission mode is selected for the seat (for example `permission_policy: builtin:auto`). It forwards the declared names through the cleared environment, except `PATH`, `HOME` and `CLAUDE_CONFIG_DIR`, which OpenRig sets for that launch itself, and `CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN`, for which it sets its own renderer setting. A spec value for any of those four is not forwarded as such; an absolute `CLAUDE_CONFIG_DIR` becomes the config dir OpenRig sets (see "A seat's own account" below). A seat that selected the shipped `openrig-core` plugin also has `CLAUDE_CODE_PLUGIN_DIRS` (the vendored plugin, added after a list the seat declares itself) among its declared names, so it is forwarded like the others and the plugin's hooks load in a seat with a permission mode as in one without; a seat that didn't select the plugin has no such name added. Beyond the declared names, the launch also forwards, by name and only when the seat's terminal has them set, the terminal and locale variables (`TERM`, `COLORTERM`, `TERM_PROGRAM`, `TERM_PROGRAM_VERSION`, `LANG` and the `LC_*` names) and the person's editor and display session: `EDITOR`, `VISUAL`, `DISPLAY`, `XAUTHORITY` and `WAYLAND_DISPLAY`. They let Claude's external-editor action open the person's editor and let image paste reach the clipboard, without a value in a spec. `WAYLAND_DISPLAY` is passed as an absolute path: an absolute value is kept, and a relative one is joined to the terminal's `XDG_RUNTIME_DIR`; if the terminal has no `XDG_RUNTIME_DIR` for it, the name is left out. The runtime directory and its `disabled:` bus address (see "The runtime directory, on Linux" above) are forwarded together, and the runtime directory is also forwarded beside a declared `DBUS_SESSION_BUS_ADDRESS`. A terminal's own `XDG_RUNTIME_DIR` or `DBUS_SESSION_BUS_ADDRESS`, from a shell startup file or tmux's `update-environment`, is not, because D-Bus clients look for the session bus at `$XDG_RUNTIME_DIR/bus` when no address is set; declare it in `env:` to forward it. `XDG_SESSION_TYPE` and `XDG_CURRENT_DESKTOP` are not forwarded. The SSH agent socket (`SSH_AUTH_SOCK`) is forwarded when OpenRig itself was started with one, so git over SSH works in the seat; a socket only the seat's terminal has stays out. To check, run `ssh-add -l` inside the seat. If it can't reach an SSH agent, start the OpenRig daemon from a terminal where `ssh-add -l` works. A running seat picks the names up at its next managed Claude launch, not before: `rig seat launch <seat> --fresh --stop --reason "<why>"` for that seat alone (a new conversation), or a restore of the whole rig (`rig down <rig>`, then `rig up <rig> --existing`, which resumes each conversation but restarts every seat in the rig), or a handover. A seat that is up keeps the environment it started with.
|
|
515
515
|
- Codex seats run OpenRig's own Codex executable whatever a spec `PATH` says. They use the seat's own `CODEX_HOME` when its `env:` declares an absolute one, else the daemon's when the daemon has one.
|
|
516
|
-
- On Pi and OMP seats the values reach the terminal. The agent process gets only what the runner passes on, so a spec or one-off value reaches it only for the names the runner always passes: `PATH`, `HOME`, `USER`, `LOGNAME`, `TERM`, `LANG`, `LC_ALL`, `SHELL` and `TMPDIR`. Pi's agent process receives the runner's `HOME`, so a spec or one-off `HOME` value that reaches the runner is passed to Pi; OMP's agent process gets its seat state directory (`$OPENRIG_HOME/state/omp/<seat>`, see Oh My Pi below) as `HOME`, so a `HOME` value does not reach it. The selected provider's variables are passed separately, as described under each runtime.
|
|
516
|
+
- On Pi and OMP seats the values reach the terminal. The agent process gets only what the runner passes on, so a spec or one-off value reaches it only for the names the runner always passes: `PATH`, `HOME`, `USER`, `LOGNAME`, `SSH_AUTH_SOCK`, `TERM`, `LANG`, `LC_ALL`, `SHELL` and `TMPDIR`. Pi's agent process receives the runner's `HOME`, so a spec or one-off `HOME` value that reaches the runner is passed to Pi; OMP's agent process gets its seat state directory (`$OPENRIG_HOME/state/omp/<seat>`, see Oh My Pi below) as `HOME`, so a `HOME` value does not reach it. The selected provider's variables are passed separately, as described under each runtime.
|
|
517
517
|
|
|
518
518
|
**A seat's own account.** Claude Code keeps its login in its config dir and Codex in its home, so a seat whose `env:`
|
|
519
519
|
declares an absolute `CLAUDE_CONFIG_DIR` (Claude Code) or `CODEX_HOME` (Codex) runs on whatever login that directory
|
|
@@ -526,6 +526,105 @@ only the stored `env:`. Seats may share a home. Live usage refresh (`rig provide
|
|
|
526
526
|
daemon's own logins; reading each seat's home would need a native reader per home. OpenRig doesn't copy logins or conversation history between homes, so a conversation saved under a seat's earlier home
|
|
527
527
|
doesn't resume after the seat moves to another one. The `openrig-user` skill has the setup steps.
|
|
528
528
|
|
|
529
|
+
**A seat's own subscription token.** A Claude member can start on a prepared subscription token from its first launch,
|
|
530
|
+
with no conversation to switch first. Name the token file beside its config dir:
|
|
531
|
+
|
|
532
|
+
```yaml
|
|
533
|
+
- id: dev
|
|
534
|
+
runtime: claude-code
|
|
535
|
+
env:
|
|
536
|
+
CLAUDE_CONFIG_DIR: /abs/claude-dev
|
|
537
|
+
claude_token: { label: dev-sub, file: /abs/tokens/dev.token }
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
The label and the absolute path are stored on the seat when the rig is created, as `rig provider switch --seat <seat>
|
|
541
|
+
--to-account <label> --token-file <path>` stores them. Its launches run the same token step, which reads the file as
|
|
542
|
+
Claude starts; a launch path that can't run it (a pane shell other than a POSIX one, for example) starts without it and
|
|
543
|
+
warns. The file's contents never pass through OpenRig: validation doesn't read it, and they don't reach the spec, the
|
|
544
|
+
seat's record or the launch command. A missing, empty or unreadable file doesn't refuse the spec; the seat starts on its
|
|
545
|
+
config dir's stored login (or a token the daemon gives every seat) and says so. A launch also warns when a setting Claude
|
|
546
|
+
Code ranks above the token would be used instead: an `apiKeyHelper`, or an outranking `env` entry in the user, project
|
|
547
|
+
or local settings. Managed settings aren't inspected. `rig export` writes the seat's current reference, except for a seat
|
|
548
|
+
with an account home or an API-key selection (select those again after import), so a later switch shows there, and `rig provider switch --stored-login` removes it. Only
|
|
549
|
+
`claude-code` members and legacy flat nodes accept it, and there's no rig-level default.
|
|
550
|
+
|
|
551
|
+
**Switching to an isolated account home.** A running Codex or Claude Code seat can change its native account home
|
|
552
|
+
while staying in its rig:
|
|
553
|
+
|
|
554
|
+
```sh
|
|
555
|
+
rig provider switch --seat dev-impl@my-rig --to-account api-account \
|
|
556
|
+
--account-home /home/me/accounts/codex-api --model gpt-5.5 --reason "Use the API budget" --dry-run
|
|
557
|
+
rig seat set-runtime dev-impl@my-rig --runtime claude-code \
|
|
558
|
+
--account-home /home/me/accounts/claude-api --model claude-sonnet-4-6 --reason "Codex limit"
|
|
559
|
+
```
|
|
560
|
+
|
|
561
|
+
The directory must already exist and contain the runtime's login or API settings. You choose the account and budget;
|
|
562
|
+
OpenRig does not choose or create credentials. `--account-home` sets `CODEX_HOME` for Codex or `CLAUDE_CONFIG_DIR` for
|
|
563
|
+
Claude Code before the successor starts.
|
|
564
|
+
|
|
565
|
+
This switch starts a fresh conversation with a handover, even when the runtime stays the same. The existing
|
|
566
|
+
subscription-login switch preserves the conversation. Once the successor confirms, OpenRig commits its home, runtime,
|
|
567
|
+
model, profile and permission selection together. The seat keeps its address, edges, queue rows and claims. If OpenRig
|
|
568
|
+
refuses the switch before cutover, the predecessor's configuration stays unchanged.
|
|
569
|
+
|
|
570
|
+
For a Claude plan authenticated with `setup-token`, supply the token file with the home:
|
|
571
|
+
|
|
572
|
+
```sh
|
|
573
|
+
rig provider switch --seat dev-impl@my-rig --to-account claude-plan \
|
|
574
|
+
--account-home /home/me/accounts/claude-plan --token-file /home/me/credentials/claude-plan-token \
|
|
575
|
+
--reason "The plan reset"
|
|
576
|
+
# Across runtimes, use set-runtime with --account-home, --token-file and --account-label.
|
|
577
|
+
```
|
|
578
|
+
|
|
579
|
+
To return to the seat's configured login:
|
|
580
|
+
|
|
581
|
+
```sh
|
|
582
|
+
rig provider switch --seat dev-impl@my-rig --clear-account-home --reason "The plan reset" --dry-run
|
|
583
|
+
rig provider switch --seat dev-impl@my-rig --clear-account-home --reason "The plan reset"
|
|
584
|
+
# Across runtimes: rig seat set-runtime dev-impl@my-rig --runtime claude-code --clear-account-home --reason "Return to configured login"
|
|
585
|
+
```
|
|
586
|
+
|
|
587
|
+
Clearing the selection also starts a successor with a fresh conversation and a handover. OpenRig removes the saved
|
|
588
|
+
account-home override and its token reference only after the successor confirms. The successor starts with the member's
|
|
589
|
+
or rig's configured home, falling back to the daemon's selection and then the native default, as an ordinary launch does.
|
|
590
|
+
If there was no account-home override, OpenRig preserves any unrelated legacy per-seat token. Clear uses the current
|
|
591
|
+
configuration; it does not remember a prior login or restore old credentials. Use clear on its own, without
|
|
592
|
+
`--to-account`, `--stored-login`, `--account-home` or a new token reference.
|
|
593
|
+
|
|
594
|
+
**Anthropic profile limitation.** An active or default profile in Anthropic's configuration directory can override a
|
|
595
|
+
stored Claude login. `CLAUDE_CONFIG_DIR` does not isolate that directory, and OpenRig does not change `ANTHROPIC_CONFIG_DIR`
|
|
596
|
+
or rewrite global profiles. Check or deselect the profile before using a stored-login account home, and verify the
|
|
597
|
+
running account privately.
|
|
598
|
+
|
|
599
|
+
An isolated Claude launch removes `ANTHROPIC_PROFILE`, `ANTHROPIC_FEDERATION_RULE_ID` and `ANTHROPIC_ORGANIZATION_ID`
|
|
600
|
+
from its inherited environment. It also refuses profile selectors in the selected home's or project's settings `env`
|
|
601
|
+
blocks. An explicit subscription token takes precedence over these selectors, including in the legacy
|
|
602
|
+
subscription-token switch.
|
|
603
|
+
|
|
604
|
+
OpenRig receives only the token's label and file path. The launch reads the token; if the required file is unusable, no agent
|
|
605
|
+
starts. Selecting an API home without `--token-file` clears an older seat token reference when the selection commits.
|
|
606
|
+
The home's API helper can stay in its user settings. For a selected plan token, OpenRig refuses a home whose API helper
|
|
607
|
+
or credential environment would take precedence over that token. Both modes refuse project credential overrides.
|
|
608
|
+
OpenRig leaves those settings unchanged.
|
|
609
|
+
|
|
610
|
+
The selected home persists across managed launches and restores. These launches exclude inherited Claude/OpenAI
|
|
611
|
+
credentials and routing variables so credentials from the daemon or shell cannot override the selected home. OpenRig
|
|
612
|
+
refuses to launch if it cannot read the saved selection or the shell cannot enforce isolation. Launches without a home
|
|
613
|
+
selection and existing subscription-login switches keep their behavior. A Claude seat using account-home mode must
|
|
614
|
+
use that mode for later account changes too.
|
|
615
|
+
|
|
616
|
+
User-managed provider settings can still affect authentication. After a real tool turn, check which account and billing
|
|
617
|
+
identity the runtime used. Do not print tokens or the process environment. The configured home alone cannot verify the
|
|
618
|
+
running account.
|
|
619
|
+
|
|
620
|
+
Before downgrading to a version without account-home switching, stop the managed seats. Select their accounts using
|
|
621
|
+
that version's supported setup before resuming. Older versions ignore the saved selection and may launch with inherited
|
|
622
|
+
or default credentials. Rolling back the binary alone does not preserve the selected billing account.
|
|
623
|
+
|
|
624
|
+
OpenRig leaves the imported team file unchanged. Exporting and reimporting a team does not preserve account-home
|
|
625
|
+
isolation, so configure it explicitly for each new rig. If a switch is interrupted, inspect it with `rig seat status`
|
|
626
|
+
and follow the printed recovery command. Wait until the outcome is known before starting another switch.
|
|
627
|
+
|
|
529
628
|
**Do not put secrets in `env:` or `--env`.** The values are not secret, and nothing here encrypts or hides them (see #306):
|
|
530
629
|
|
|
531
630
|
- Spec values are stored in OpenRig's database and in rig snapshots, and `rig export` and bundles copy them, so a secret put there by mistake travels with the rig.
|
|
@@ -534,6 +633,45 @@ doesn't resume after the seat moves to another one. The `openrig-user` skill has
|
|
|
534
633
|
|
|
535
634
|
Use `env:` for settings only. Credentials belong in the provider's own login or a secret store the seat reads at run time.
|
|
536
635
|
|
|
636
|
+
### Switching credentials while keeping the conversation
|
|
637
|
+
|
|
638
|
+
`rig provider switch` resumes a running seat in its existing home and pane. For Claude Code,
|
|
639
|
+
select an API-key file, a subscription-token file, or the home's stored login:
|
|
640
|
+
|
|
641
|
+
```sh
|
|
642
|
+
rig provider precheck --seat dev-a@my-rig --to-account api-budget --api-key-file /secure/claude-api-key
|
|
643
|
+
rig provider switch --seat dev-a@my-rig --to-account api-budget --api-key-file /secure/claude-api-key
|
|
644
|
+
rig provider switch --seat dev-a@my-rig --to-account plan --token-file /secure/claude-plan-token
|
|
645
|
+
rig provider switch --seat dev-a@my-rig --stored-login
|
|
646
|
+
```
|
|
647
|
+
|
|
648
|
+
The API-key file must be private (0600 or 0400), nonempty, and at most 8192 bytes, containing
|
|
649
|
+
one key with optional surrounding whitespace. Only the reference is stored. The child reads the
|
|
650
|
+
key at launch; key bytes never enter command arguments, snapshots or switch reports. Classic
|
|
651
|
+
launches require a supported POSIX pane shell. Missing/invalid API-key files prevent launch.
|
|
652
|
+
Settings that could override the key cause a refusal; OpenRig does not edit those settings.
|
|
653
|
+
Native managed settings and a signed-in Claude gateway cannot be ruled out; Claude may require API-key approval before its
|
|
654
|
+
first turn. Check `/status` after a real tool turn to confirm the authentication method.
|
|
655
|
+
|
|
656
|
+
For Codex, a saved native API-key login is selected with the existing `--to-account <name>`
|
|
657
|
+
path, exactly like a saved subscription login. Prepare it using native `codex login --with-api-key`
|
|
658
|
+
with the key on stdin, then `rig auth save --codex-home <home> <name>`; never put a key in argv.
|
|
659
|
+
Use the seat's existing home. Preparing a login replaces that home's active credentials, so do it
|
|
660
|
+
before running seats there, or prepare/import a native auth profile separately. Switches preserve
|
|
661
|
+
an outgoing credential copy and report peers sharing the home. A native keyring or administrator
|
|
662
|
+
policy can override `auth.json`; the report remains unverified until native account verification.
|
|
663
|
+
|
|
664
|
+
Select or clear an account home in a separate operation: `--api-key-file` cannot be combined with
|
|
665
|
+
`--account-home` or `--clear-account-home`. A credential switch inside an already selected home
|
|
666
|
+
keeps that home.
|
|
667
|
+
|
|
668
|
+
Both paths retain the conversation and launch settings, interrupt in-flight work, and report
|
|
669
|
+
uncertain restarts without retrying. They do not move account homes or start a fresh conversation.
|
|
670
|
+
The caller chooses subscription-first order and configures/enforces the API budget; this command
|
|
671
|
+
neither selects accounts automatically nor imposes a spending limit. Downgrade only after switching
|
|
672
|
+
API-key Claude seats back to subscription credentials: older OpenRig versions cannot read the new
|
|
673
|
+
credential kind correctly.
|
|
674
|
+
|
|
537
675
|
### Choosing the Claude instruction file
|
|
538
676
|
|
|
539
677
|
OpenRig writes its instructions for Claude Code members into managed blocks in
|
|
@@ -597,6 +735,7 @@ directory's `CLAUDE.md`, including blocks written by other rigs.
|
|
|
597
735
|
| `profile` | string | yes | — | Profile name from the referenced AgentSpec. Use `default` for the default profile. Exception: `none` for terminal nodes. |
|
|
598
736
|
| `codex_config_profile` | string | no | — | Codex-only native profile passed as `-p <name>`; letters, numbers, `_`, `.`, `-`. Separate from the AgentSpec `profile`. With the normal launch mode, this replaces OpenRig's explicit workspace-write sandbox flag. A full-bypass policy instead emits danger-full-access and omits this profile argument. |
|
|
599
737
|
| `codex_permissions` | mapping | no | — | Codex-only sandbox and approval envelope, emitted as explicit flags on every managed launch and resume; see [per-member Codex permissions](#per-member-codex-permissions). |
|
|
738
|
+
| `claude_token` | mapping | no | — | Claude-only `{ label, file }`: the seat's own subscription token file, by absolute path, used from its first launch; see "A seat's own subscription token" under [launch environment](#launch-environment). |
|
|
600
739
|
| `runtime` | string | yes | — | Agent runtime. Current supported values: `claude-code`, `codex`, `pi`, `omp`, `terminal`, `stub`. `stub` is a deterministic test harness, not an agent: a Node runner in the seat's tmux pane goes through the normal launch, skill projection, startup-file and readiness path, follows `<cwd>/.openrig/stub/script.json` when present, and calls no model. See "What a stub can and cannot prove" in `docs/as-built/test-layers.md`. |
|
|
601
740
|
| `cwd` | string | yes | — | Working directory for the agent. A relative path resolves against the rig root (the directory containing the rig spec). If that path exists as written, it is used. Otherwise a leading `~` or `~/` expands to the home directory (`~user` does not) and `$VAR` / `${VAR}` expand from the daemon host's environment; a relative result still resolves against the rig root. A reference to an unset variable stays as written, so the cwd is that literal path and works only if it exists. Use `"."` for the rig root itself. Can be overridden at launch time with `rig up --cwd`. A cwd inside the OpenRig installation fails preflight unless `--cwd` is given. Editing this declaration does not update an existing seat; use [`rig seat set-cwd`](agent-startup-guide.md#change-an-existing-seats-working-directory) to save its future launch directory. |
|
|
602
741
|
| `label` | string | no | — | Human-readable member name. Shown in UI when present. |
|
|
@@ -653,7 +792,7 @@ own defaults/settings apply. Other runtimes ignore this field.
|
|
|
653
792
|
- **State:** Each seat uses `$OPENRIG_HOME/state/pi/<session>/agent` as its Pi agent directory, with `sessions/` beside it, instead of your default `~/.pi/agent`. The runner sets `PI_CODING_AGENT_DIR` to that directory. `<session>` is the seat's session name, unchanged; for a pod member it is `{podId}-{memberId}@{rigName}`. `$OPENRIG_HOME` defaults to `~/.openrig`. OpenRig creates these directories at launch and does not copy anything from `~/.pi/agent`.
|
|
654
793
|
- **Thinking level:** A Pi seat's effort (the choice saved with `rig seat set-effort`, else the spec's `effort`) is sent to Pi as `--thinking <level>` on every managed launch and resume: fresh launch, successor and restore. Pi accepts `off`, `minimal`, `low`, `medium`, `high`, `xhigh` and `max`; OpenRig passes the value as written and does not translate it, so Codex's `none` is not mapped to `off`. Only a value of the shape `set-effort` accepts (a letter, then up to 31 letters, digits, `-` or `_`) is sent; any other spec value, such as one with a space or one that starts with `--`, is left out, and `rig seat effort` says so. An unfamiliar level gets an advisory (a warning from `set-effort`), never a refusal, and Pi itself ignores an unknown level with a warning and keeps the level it would use without the flag: a model suffix, the resumed session's level, or its default. With no effort resolved, no flag is sent. The effort wins over a model suffix, and the model string is never changed. `rig seat effort` reports the level sent at launch and, on Pi 0.99.0 or later, the `thinkingLevel` Pi records on this launch's latest successful assistant turn (error and aborted turns are skipped); that is the session's level after Pi's own cap, not proof the provider applied it, and it is shown apart from the level sent when they differ. On older Pi it is NOT VERIFIED. Without an effort, you can still set the level as a model suffix, for example `model: openrouter/x-ai/grok-4:high`. Pi first looks for a model whose id is the whole pin, and uses it when there is one, suffix included. Only when there is none does Pi read the suffix as the level and record the model without it. Any other suffix, such as OpenRouter's `:free`, stays part of the model id. The model-divergence check reads the pin literally when the seat's `models.json` defines a model with that exact id; otherwise it accepts the model with or without the suffix. If the seat's `models.json` can't be read, a pin with a suffix stays unchecked, with the usual warning, when the recorded model matches the whole pin or the pin without its suffix. A record that matches neither is reported.
|
|
655
794
|
- **Custom models:** Pi reads `models.json` from its agent directory, so a seat reads `$OPENRIG_HOME/state/pi/<session>/agent/models.json`, not `~/.pi/agent/models.json`. Custom provider and model definitions for a seat go in that file. A seat that uses only providers Pi already includes does not need one. OpenRig does not create or write `models.json`.
|
|
656
|
-
- **Credentials:** The Pi process receives only `PATH`, `HOME`, `USER`, `LOGNAME`, `TERM`, `LANG`, `LC_ALL`, `SHELL`, `TMPDIR`, a fixed set of OpenRig seat and instance variables, `PI_CODING_AGENT_DIR`, `PI_CODING_AGENT_SESSION_DIR`, and at most one provider key. That key is `OPENROUTER_API_KEY`, `ZAI_API_KEY`, `KIMI_API_KEY` or `MINIMAX_API_KEY`, passed only when it is set in the seat's environment and the seat's `model` is written as `openrouter/<id>`, `zai/<id>`, `kimi-coding/<id>` or `minimax/<id>`. Naming that variable in `recovery.provider_auth_env_allowlist` (empty by default) makes the daemon add it, when set in the daemon's environment, to the seat's launch environment. No other variable reaches Pi, including other providers' keys and a custom provider's own key variable.
|
|
795
|
+
- **Credentials:** The Pi process receives only `PATH`, `HOME`, `USER`, `LOGNAME`, `SSH_AUTH_SOCK`, `TERM`, `LANG`, `LC_ALL`, `SHELL`, `TMPDIR`, a fixed set of OpenRig seat and instance variables, `PI_CODING_AGENT_DIR`, `PI_CODING_AGENT_SESSION_DIR`, and at most one provider key. That key is `OPENROUTER_API_KEY`, `ZAI_API_KEY`, `KIMI_API_KEY` or `MINIMAX_API_KEY`, passed only when it is set in the seat's environment and the seat's `model` is written as `openrouter/<id>`, `zai/<id>`, `kimi-coding/<id>` or `minimax/<id>`. Naming that variable in `recovery.provider_auth_env_allowlist` (empty by default) makes the daemon add it, when set in the daemon's environment, to the seat's launch environment. No other variable reaches Pi, including other providers' keys and a custom provider's own key variable.
|
|
657
796
|
|
|
658
797
|
- **Extension dialogs:** The RPC runner shows extension `select`, `confirm`, `input` and `editor` requests in the pane and cancels them because the managed pane cannot answer them. The seat needs attention through the end of the turn, until a new agent run starts. Review the cancelled request and send an instruction the extension can complete without a dialog. Extension `notify` text is shown without raising attention or sending a response.
|
|
659
798
|
|
|
@@ -718,7 +857,11 @@ This is human-authored (you choose the pod/member IDs) and system-validated (the
|
|
|
718
857
|
| `spawned_by` | Source was spawned by target; the target launches first. Constrains launch order. | Child → parent in hierarchical topologies |
|
|
719
858
|
| `can_observe` | Source can observe target's output. Does NOT constrain launch order. | Reviewer → implementer, monitor → worker |
|
|
720
859
|
| `collaborates_with` | Peer collaboration relationship. Does NOT constrain launch order. | Co-equal peers working together |
|
|
721
|
-
| `escalates_to` |
|
|
860
|
+
| `escalates_to` | Fallback queue escalation for a seat without a declared delegation parent. Does NOT constrain launch order. | Local member or same-daemon `pod-member@rig` address |
|
|
861
|
+
|
|
862
|
+
A named `escalates_to` target may be in another rig on the same daemon and need not exist at import time.
|
|
863
|
+
See [fallback escalation across rigs](edge-types.md#fallback-escalation-across-rigs) for precedence, single-hop delivery,
|
|
864
|
+
cycle detection and visible fallback outcomes.
|
|
722
865
|
|
|
723
866
|
### Pod-Local Edges
|
|
724
867
|
|
|
@@ -165,6 +165,12 @@ commit. Evidence capture (`proof add`), policy acceptance, higher outcome
|
|
|
165
165
|
judgment and publication are distinct. This optional component does not select
|
|
166
166
|
Part B or add a mandatory review gate.
|
|
167
167
|
|
|
168
|
+
A judgment binds the slice's path, the item's text and the policy. Moving or
|
|
169
|
+
renaming a slice (`rig scope slice move`, or by hand) reopens its judged items:
|
|
170
|
+
`rig proof show` reports each as `unknown`, and each needs a new judgment on its
|
|
171
|
+
current revision. `rig scope audit` checks structure only and never reads proof
|
|
172
|
+
readiness, so a passing audit doesn't mean the proof still stands.
|
|
173
|
+
|
|
168
174
|
The project readiness that `rig proof show --project` reports counts only
|
|
169
175
|
missions whose `mission.yaml` carries `metadata.status: active` or
|
|
170
176
|
`metadata.status: release-candidate`. `rig scope mission create` writes
|
|
@@ -16,6 +16,12 @@ type: `openrig-urgent`, `urgent-only` and `sends-only`. Sibling seats keep their
|
|
|
16
16
|
|
|
17
17
|
Lifecycle work is refused at `openrig-urgent` and `urgent-only`, as at `hold`.
|
|
18
18
|
|
|
19
|
+
A terminal member (`runtime: terminal`) defaults to `sends-only`, which holds OpenRig's own notices. Set one
|
|
20
|
+
to `off` and those notices, such as park reminders and other watchdog messages, type into whatever the pane
|
|
21
|
+
is running, and a shell prompt runs each line as a command, From and To lines included: OpenRig doesn't check
|
|
22
|
+
a terminal pane's foreground process. `openrig-urgent` and `draft-aware` type only into a recognized empty agent composer, so
|
|
23
|
+
a shell prompt holds them. Keep the default for a seat that may fall back to a shell.
|
|
24
|
+
|
|
19
25
|
Runtime permissions are separate. Recipient and interactive-prompt checks still
|
|
20
26
|
apply. `--raw` and `--force` do not bypass the typing guard. A deliberate
|
|
21
27
|
`--dangerously-interact --reason` remains available at every interruption level
|
|
@@ -109,6 +109,14 @@ reaction on any other message, including a person's reply in the thread, is igno
|
|
|
109
109
|
`reaction_added` event: add both under **OAuth & Permissions** and **Event Subscriptions**, then
|
|
110
110
|
reinstall the app to the workspace.
|
|
111
111
|
|
|
112
|
+
To have reactions ignored instead, run `rig slack setup --reactions off`. The agent that asked
|
|
113
|
+
never hears of a reaction, including one still waiting to be retried, and a person answers an ask by
|
|
114
|
+
typing a reply in its thread. Slack still sends the event and the manifest keeps it, so switching
|
|
115
|
+
back with `--reactions route` needs no change to the app. Like any saved change, the setting reaches
|
|
116
|
+
a running connector when it next rewires, which a daemon restart does (`rig daemon stop`, then
|
|
117
|
+
`rig daemon start`). See [One channel per rig or seat](#one-channel-per-rig-or-seat-optional) for
|
|
118
|
+
why disabling and re-enabling the connector isn't the same.
|
|
119
|
+
|
|
112
120
|
The manifest also turns on **Interactivity**, so the human can answer a decision's structured
|
|
113
121
|
questions by clicking a button (`rig queue create --human-questions-file`). In Socket Mode the
|
|
114
122
|
clicks arrive over the same socket, so no request URL is needed. An app created from an older
|
|
@@ -30,16 +30,44 @@ With neither a provider nor a session, the daemon's open and preview APIs try
|
|
|
30
30
|
a live Herdr first, then a live cmux. An explicit session always selects Herdr
|
|
31
31
|
and skips that fallback, including when the daemon's default Herdr endpoint is down.
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
Session paths use the daemon's `XDG_CONFIG_HOME` when set, or `HOME/.config`
|
|
34
|
+
when unset. Relative paths (including an empty value) resolve from the daemon's
|
|
35
|
+
startup directory, matching Herdr's configuration selection. Named sessions live under
|
|
36
|
+
`herdr/sessions/<name>/herdr.sock`; `default` uses `herdr/herdr.sock` directly.
|
|
37
|
+
These settings are captured when the daemon starts.
|
|
38
|
+
|
|
39
|
+
If the requested name equals the daemon's `HERDR_SESSION`, it keeps that
|
|
40
|
+
session's explicit `HERDR_SOCKET_PATH`. A different requested name uses the
|
|
41
|
+
configuration-tree path, without reusing the override or inferring a session
|
|
42
|
+
from an arbitrary socket path. With an explicit socket but no configured
|
|
43
|
+
session name, omit `--session` to keep that exact endpoint. A missing selected
|
|
44
|
+
socket never falls back to another session. Viewer and follow operations carry
|
|
45
|
+
that exact socket to the CLI through `HERDR_SOCKET_PATH`, without an explicit
|
|
46
|
+
CLI `--session` that would override it. They check that the CLI reports the
|
|
47
|
+
selected socket before changing its panes. Daemon-side CLI calls retain the
|
|
48
|
+
startup environment; desktop follow uses the socket confirmed by the daemon.
|
|
49
|
+
|
|
50
|
+
The selection belongs to the request. Saved views still describe membership
|
|
51
|
+
and layout, so pass `--session` again when reopening the view in that session.
|
|
37
52
|
|
|
38
53
|
The existing view rules apply: saved views, rig and pod views, read-only mission
|
|
39
54
|
and slice views, pagination, absent seats and partial results all use the same
|
|
40
55
|
composer. Selecting a session changes where those tiles are placed. It does
|
|
41
56
|
not relaunch the seats' tmux sessions or move queue ownership.
|
|
42
57
|
|
|
58
|
+
## Open results
|
|
59
|
+
|
|
60
|
+
For Herdr, a successful layout request alone does not count its seats as opened.
|
|
61
|
+
OpenRig checks the returned tab's pane list. A missing tab identity or an
|
|
62
|
+
unreadable, empty or unattributable listing puts the affected seats in
|
|
63
|
+
`degraded`, with `code: "pane_unconfirmed"`, instead of `opened`. The CLI and
|
|
64
|
+
TUI name those seats as unconfirmed. Inspect the terminal before retrying:
|
|
65
|
+
the layout may have taken effect even though its panes could not be confirmed.
|
|
66
|
+
Confirmed seats on other pages still count; with none confirmed, the command
|
|
67
|
+
returns a nonzero exit status. Reusing an existing workspace keeps its separate
|
|
68
|
+
reuse result. This pane check does not prove desktop visibility or create a
|
|
69
|
+
verified viewer mapping.
|
|
70
|
+
|
|
43
71
|
## Replacing a seat's session
|
|
44
72
|
|
|
45
73
|
New tiles keep their place when a seat's tmux session is replaced. They wait up
|
|
@@ -156,7 +184,7 @@ GET /api/terminal/preview?view=qitem:<id>&provider=herdr
|
|
|
156
184
|
POST /api/terminal/open {"view":"qitem:<id>","provider":"herdr","expectedPlan":"<preview planId>"}
|
|
157
185
|
```
|
|
158
186
|
|
|
159
|
-
Preview and open include `task: {qitemId, name, complete, issues, members}`. Each member
|
|
187
|
+
Preview and open include `task: {kind:"qitem", id, qitemId, name, complete, issues, members}`. Each member
|
|
160
188
|
names its structured `{hostId, nodeId}` key (null when unresolved), seat,
|
|
161
189
|
contributing `obligations`, `availability` and `viewerStatus`. Stopped, missing,
|
|
162
190
|
external and unresolved remote owners remain visible. Remote queues are not
|
|
@@ -180,7 +208,187 @@ its name, falling back to the qitem ID. The existing preview `view` string is
|
|
|
180
208
|
unchanged. A following view derives membership when requested; it does not
|
|
181
209
|
mean an open workspace updates itself.
|
|
182
210
|
|
|
183
|
-
Preview is read-only.
|
|
184
|
-
`not-provisioned
|
|
211
|
+
Preview is read-only. A member without owned viewer provenance is
|
|
212
|
+
`not-provisioned`; the ensure operation below can establish a reusable provider
|
|
185
213
|
mapping. An explicit open retains the provider's existing workspace behavior;
|
|
186
214
|
it does not continuously reconcile the view or change an agent's lifecycle.
|
|
215
|
+
|
|
216
|
+
## Following one task
|
|
217
|
+
|
|
218
|
+
`rig terminal open qitem:<id> --follow` keeps one workspace following the
|
|
219
|
+
task's current obligation owners. A joining member gets a verified local
|
|
220
|
+
viewer tile without taking focus. A departing member loses only its viewer,
|
|
221
|
+
after a grace period; the agent and its conversation keep running. The
|
|
222
|
+
explanation strip names joins, departures, unavailable terminals and limits.
|
|
223
|
+
The first workspace on an empty provider may become focused.
|
|
224
|
+
|
|
225
|
+
This increment supports the qualified **Linux Herdr 0.9.5/protocol 22**
|
|
226
|
+
endpoint. Other platforms/providers and other selector kinds retain ordinary
|
|
227
|
+
one-shot open. Use `--provider herdr --json` to operate without opening a
|
|
228
|
+
desktop window, and `--session <name>` to select that endpoint. Opening a tile
|
|
229
|
+
can change the agent's terminal size; `ignore-size` does not guarantee isolation.
|
|
230
|
+
|
|
231
|
+
```bash
|
|
232
|
+
rig terminal open qitem:example --follow --provider herdr --json
|
|
233
|
+
rig terminal open qitem:example --follow --provider herdr --pin reviewer@team
|
|
234
|
+
rig terminal open qitem:example --follow --provider herdr --max-tiles 12
|
|
235
|
+
rig terminal open qitem:example --follow --provider herdr --suppress reviewer@team --suppression-ms 60000
|
|
236
|
+
rig terminal open qitem:example --no-follow
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
`--unpin` and `--unsuppress` reverse those presentation choices. The default
|
|
240
|
+
cap is eight tiles; explicitly raising `--max-tiles` overrides it. Pins can
|
|
241
|
+
exceed the cap rather than being evicted. A departed tile retained for typed or
|
|
242
|
+
unconfirmed input does not consume a slot for joining members. Disabling removes
|
|
243
|
+
the saved following selector and keeps the existing layout intact.
|
|
244
|
+
|
|
245
|
+
The default departure grace is four seconds (`--grace-ms`). A focused leaver
|
|
246
|
+
gets another twelve seconds for reading (`--focus-retention-ms`); before its
|
|
247
|
+
tile closes, focus moves to a verified surviving member, or to the explanation
|
|
248
|
+
strip when none remains. Typed or unconfirmed input keeps the tile, labeled
|
|
249
|
+
as no longer participating. Explicit suppression also retains a typed draft.
|
|
250
|
+
Pi, terminal and community harness input may be unreadable to the composer
|
|
251
|
+
inspector: those tiles remain while input is unconfirmed, even after unpinning.
|
|
252
|
+
Each input-retained departure gets one delayed recheck after thirty seconds.
|
|
253
|
+
After that, queue or node/session lifecycle events, or an explicit repeat of
|
|
254
|
+
the follow command, can reconsider it. Activity hooks do not wake following,
|
|
255
|
+
and input is not repeatedly polled. Draft text is never saved.
|
|
256
|
+
|
|
257
|
+
Following consumes Core events and one-shot retention/suppression deadlines,
|
|
258
|
+
not repeated CLI membership queries. Complete empty membership drains the
|
|
259
|
+
tiles and preserves the workspace. Once no retained tiles remain, following
|
|
260
|
+
stops and the selector releases its active slot; new work does not automatically
|
|
261
|
+
restart it. Run `--follow` again to resume the same workspace. An incomplete source, failed provider read
|
|
262
|
+
or changed pane/terminal generation retains the previous view and reports
|
|
263
|
+
the uncertainty. It never authorizes a blind workspace rebuild or close.
|
|
264
|
+
`rig terminal views --json` and `rig terminal status --json` include the saved
|
|
265
|
+
active selectors and latest following status. Active selectors and owned viewer provenance
|
|
266
|
+
survive daemon restarts; task membership is always re-derived.
|
|
267
|
+
|
|
268
|
+
The owner-authorized HTTP operation is `POST /api/terminal/follow` with
|
|
269
|
+
`{view:"qitem:<id>",provider:"herdr",session?,enabled:true,maxTiles?,pin?,unpin?,
|
|
270
|
+
suppress?,unsuppress?,suppressionMs?,graceMs?,focusRetentionMs?,expectedPlan?}`.
|
|
271
|
+
Seat controls are arrays of names from the current/retained view. It uses the
|
|
272
|
+
existing terminal bearer boundary, like ensure-viewer. The response includes
|
|
273
|
+
the stable `workspaceId`, normal open partitions, `viewDescriptor`, and
|
|
274
|
+
`following:{id,enabled,state,maxTiles,tiles,events,overflow,nextAt?}`. Presentation
|
|
275
|
+
provenance grants no membership or input authority. This is a local native
|
|
276
|
+
viewer operation; browser input and remote-host provisioning are separate.
|
|
277
|
+
|
|
278
|
+
## Ensuring an owner viewer
|
|
279
|
+
|
|
280
|
+
The owner-facing HTTP operation `POST /api/terminal/viewer/ensure` accepts
|
|
281
|
+
`{view:"qitem:<id>", member:{hostId,nodeId}, provider:"herdr", session,
|
|
282
|
+
expectedPlan}`. Use a current preview's member key and plan. This explicit
|
|
283
|
+
operation uses the daemon's existing terminal bearer and browser boundary;
|
|
284
|
+
a bridge must retain its signed-in owner, Origin and expiry controls. It does
|
|
285
|
+
not grant authority based on task membership or accept a caller terminal ID.
|
|
286
|
+
|
|
287
|
+
On the qualified Linux Herdr 0.9.5/protocol 22 endpoint, it creates one viewer
|
|
288
|
+
or reuses an owned, verified `{workspaceId,paneId,terminalId,readOnly}` mapping.
|
|
289
|
+
A repeated/concurrent request does not create another viewer. A lost create
|
|
290
|
+
reply is reconciled before starting anything else; a lost run reply is checked
|
|
291
|
+
against the actual foreground process, never blindly repeated. Unknown or
|
|
292
|
+
changed terminal identity remains unconfirmed. The operation does not relayout,
|
|
293
|
+
close departed viewers, take over control, focus existing panes or launch/stop
|
|
294
|
+
agents. A first workspace on an otherwise empty Herdr server may become focused.
|
|
295
|
+
|
|
296
|
+
Preview remains passive and names `not-provisioned`, `verified` or `unconfirmed`
|
|
297
|
+
viewer status. Studio can ensure a new member, add its browser frame, and retain
|
|
298
|
+
a pinned leaver labeled as no longer participating. The provider mapping is
|
|
299
|
+
small presentation provenance, separate from queue membership. Herdr display
|
|
300
|
+
labels are not that provenance. Other providers/platforms remain unsupported
|
|
301
|
+
for ensure-viewer until qualified; ordinary open retains its existing behavior.
|
|
302
|
+
|
|
303
|
+
Writable tile clients use `tmux attach -f ignore-size`; read-only clients keep
|
|
304
|
+
`-r` (which also implies ignore-size). This can avoid contributing to sizing
|
|
305
|
+
when other clients establish the agent window's dimensions. It is **not resize
|
|
306
|
+
isolation**: opening a tile can change the agent's terminal size when it is the
|
|
307
|
+
only sizing client. Observers of a Herdr terminal do not themselves resize it;
|
|
308
|
+
a controlling browser can. No cross-version resize guarantee is implied.
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
## Following a slice's current work
|
|
312
|
+
|
|
313
|
+
Use `rig terminal open slice:<name-or-id> --follow --provider herdr` to keep
|
|
314
|
+
one workspace following the current destination owners of that slice's active
|
|
315
|
+
queue rows. `pending`, `in-progress` and `blocked` rows count. A member can own
|
|
316
|
+
several rows; `task.members[].obligations` preserves every row and state.
|
|
317
|
+
|
|
318
|
+
A slice resolves within the daemon's configured slice index, by exact directory
|
|
319
|
+
name or unique frontmatter `id`. Tags must name it exactly: `rig queue create
|
|
320
|
+
--slice <name-or-id> ...` associates a row. Handoff inherits those tags unless
|
|
321
|
+
replaced; merely linking an untagged child does not associate it. A mission-only
|
|
322
|
+
tag does not put a row in every slice. No project is inferred from a tag or the
|
|
323
|
+
caller's working directory. A bare name or ID claimed by multiple slices is
|
|
324
|
+
`scope_ambiguous`; no first-match scope is selected. Selecting a unique key can
|
|
325
|
+
still follow a slice whose other alias is reused: a row carrying that colliding
|
|
326
|
+
alias must have exactly one `mission:` tag naming exactly one indexed claimant.
|
|
327
|
+
Rows placed in another mission are excluded. Missing, contradictory or otherwise
|
|
328
|
+
unplaceable mission/alias tags make the snapshot incomplete, retaining previous
|
|
329
|
+
viewers. A unique alias on its own retains exact matching. Flat legacy slices
|
|
330
|
+
without an indexed parent mission cannot disambiguate a colliding alias.
|
|
331
|
+
|
|
332
|
+
Slice keys are case-sensitive and can include Unicode, plus signs and internal
|
|
333
|
+
spaces. They cannot be empty or contain slash, backslash, control characters,
|
|
334
|
+
or leading/trailing whitespace. Pass the literal selector in JSON or a quoted
|
|
335
|
+
CLI argument; encode it once as a GET query value. Do not double-decode it.
|
|
336
|
+
|
|
337
|
+
Slice previews and open results use `task: {kind:"slice", id, name, complete,
|
|
338
|
+
issues, members}`. `id` is the unique frontmatter id, or the directory name when
|
|
339
|
+
no id is present. There is no synthetic `qitemId`. Preserve the preview's `view`
|
|
340
|
+
for the ensure request. All successful previews, including qitem previews,
|
|
341
|
+
include `capabilities: {ensureViewer:boolean}`. True means that the resolved
|
|
342
|
+
view/provider implements ensure; the existing member, completeness, owner and
|
|
343
|
+
`expectedPlan` checks still apply. A missing capability/task on an older daemon
|
|
344
|
+
is unsupported scoped membership, not an empty team.
|
|
345
|
+
|
|
346
|
+
New slice workspaces default to four automatic tiles; `--max-tiles` overrides
|
|
347
|
+
that. Qitem views retain their eight-tile default. The full membership and
|
|
348
|
+
obligation list remains available when tiles exceed capacity. Pins, drafts,
|
|
349
|
+
unknown input and focus retention still protect departed viewers. Closing a
|
|
350
|
+
viewer never stops its agent. Opening a tile can change the agent's dimensions.
|
|
351
|
+
|
|
352
|
+
A known empty slice remains enabled in the same workspace; later associated
|
|
353
|
+
work can join it. An incomplete queue read (`task.complete:false` plus `issues`)
|
|
354
|
+
retains previous viewers. A missing scope is `scope_not_found`, duplicate scope
|
|
355
|
+
identity is `scope_ambiguous`, unreadable/capped index data is `scope_unavailable`,
|
|
356
|
+
and an unavailable resolver is `scope_unsupported`. None is authoritative empty.
|
|
357
|
+
Ensure of an incomplete snapshot returns `viewer_unconfirmed`; changed plans
|
|
358
|
+
return `preview_changed` before provisioning. Mission following is a separate
|
|
359
|
+
increment; the existing mission display projection is not authoritative follow
|
|
360
|
+
or ensure capability.
|
|
361
|
+
|
|
362
|
+
Ordinary ownership changes follow queue/session/node events. Node and directory
|
|
363
|
+
changes under the primary configured index use the existing filesystem watcher,
|
|
364
|
+
with a coalesced scope invalidation event. There is no repeating membership
|
|
365
|
+
poll. Structural edits under additional legacy roots, or a filesystem where
|
|
366
|
+
watching is unavailable, require `rig`'s existing slice refresh endpoint
|
|
367
|
+
`POST /api/slices/refresh` or reopening the view. Missing or unreadable sources
|
|
368
|
+
keep prior viewers; they never certify that the work disappeared.
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
Scope identity reads are bounded to 4,096 directory entries, 16 KiB per selected
|
|
372
|
+
node-header read, and 8 MiB of source bytes per index generation. The byte budget
|
|
373
|
+
counts the bounded read, including text after short frontmatter. An index that
|
|
374
|
+
exceeds these limits is too large for this read; use a smaller configured index
|
|
375
|
+
or a qitem view. This is separate from unreadable or malformed sources.
|
|
376
|
+
Queue membership reads are bounded to 50,000 active rows plus one lookahead,
|
|
377
|
+
16 KiB of encoded tags per row and 8 MiB of aggregate encoded tags. They remain
|
|
378
|
+
fresh on each render. Identities are reused within a scope-source generation
|
|
379
|
+
only while the primary-root watcher is live and existing additional roots are
|
|
380
|
+
covered by that root. A source event or explicit refresh invalidates them;
|
|
381
|
+
errors discard the cache. Unavailable watching or an existing unwatched legacy
|
|
382
|
+
root uses fresh bounded identity reads instead. Missing legacy roots are checked
|
|
383
|
+
on each call so an appearing root cannot reuse an older cached identity set.
|
|
384
|
+
|
|
385
|
+
Error bodies remain authoritative. `scope_unsupported` is HTTP 400,
|
|
386
|
+
`scope_not_found` is 404, and `scope_ambiguous`/`scope_unavailable` are 409.
|
|
387
|
+
An incomplete queue snapshot is a successful preview with `task.complete:false`;
|
|
388
|
+
ensure returns `viewer_unconfirmed` without a provider effect. Unsupported
|
|
389
|
+
ensure view kinds now return `view_required` (400), where they previously returned
|
|
390
|
+
200 with an error body. Unsupported follow view kinds
|
|
391
|
+
retain `follow_view_required` in a 200 `ok:false` body, as before. A changed
|
|
392
|
+
preview remains `preview_changed` (409). During automatic refresh a missing or
|
|
393
|
+
ambiguous slice retains the existing tiles and names the source problem in the
|
|
394
|
+
explanation strip; refresh or reopen it under the current unambiguous key.
|