@openrig/cli 0.7.23 → 0.7.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/daemon/assets/claude-hook-bridge.cjs +575 -6
- package/daemon/assets/claude-hook-bridge.d.cts +5 -0
- package/daemon/assets/claude-permission-policies.cjs +4 -3
- package/daemon/assets/guidance/openrig-context-entry.md +1 -0
- package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +4 -3
- package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +3 -2
- package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/README.md +64 -9
- package/daemon/assets/plugins/openrig/hooks/claude.json +39 -0
- package/daemon/assets/plugins/openrig/hooks/codex.json +27 -0
- package/daemon/assets/plugins/openrig/hooks/scripts/claude-hook-bridge.cjs +715 -0
- package/daemon/assets/plugins/openrig/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/scripts/run-rig.cjs +30 -0
- package/daemon/assets/plugins/openrig/skills/working-with-an-openrig-team/SKILL.md +71 -9
- package/daemon/assets/plugins/openrig-codex/.agents/plugins/marketplace.json +15 -0
- package/daemon/assets/plugins/openrig-codex/.codex-plugin/plugin.json +42 -0
- package/daemon/assets/plugins/openrig-codex/LICENSE +200 -0
- package/daemon/assets/plugins/openrig-codex/assets/logo.svg +1 -0
- package/daemon/assets/plugins/openrig-codex/hooks/codex.json +27 -0
- package/daemon/assets/plugins/openrig-codex/hooks/scripts/claude-hook-bridge.cjs +715 -0
- package/daemon/assets/plugins/openrig-codex/skills/working-with-an-openrig-team/SKILL.md +175 -0
- package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/README.md +10 -2
- package/daemon/assets/plugins/openrig-core/hooks/claude.json +9 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +37 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/compaction-restore-bridge.cjs +3 -1
- package/daemon/assets/plugins/openrig-core/hooks/scripts/permission-answer.cjs +270 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +24 -6
- package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/precompact-hook.mjs +7 -8
- package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs +45 -5
- package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +4 -2
- package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +163 -23
- package/daemon/assets/skills/rigs/SKILL.md +122 -21
- 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 +113 -12
- package/daemon/context-packs/reference/acp-agents.md +9 -2
- package/daemon/context-packs/reference/getting-started.md +31 -7
- package/daemon/context-packs/reference/manifest.yaml +1 -1
- package/daemon/context-packs/reference/rig-spec.md +8 -0
- package/daemon/context-packs/reference/tmux-servers.md +16 -0
- package/daemon/context-packs/reference/whats-new.md +106 -12
- 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/claude-compaction-restore/scripts/precompact-hook.mjs +7 -8
- package/daemon/context-packs/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs +45 -5
- 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-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 +71 -9
- package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
- package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
- package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-user/SKILL.md +4 -2
- package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
- package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/scripts/trace-to-root.py +163 -23
- 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 +10 -1
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +231 -33
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume-launch.d.ts +3 -0
- package/daemon/dist/adapters/claude-resume-launch.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume-launch.js +5 -0
- package/daemon/dist/adapters/claude-resume-launch.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +59 -21
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts +22 -0
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.js +53 -16
- package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/pi-community-runtime-adapter.d.ts +9 -0
- package/daemon/dist/adapters/pi-community-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-community-runtime-adapter.js +6 -0
- package/daemon/dist/adapters/pi-community-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/pi-runtime-adapter.d.ts +3 -0
- package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runtime-adapter.js +9 -3
- package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts +52 -9
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +102 -19
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/conversation-key-surface.d.ts +2 -0
- package/daemon/dist/conversation-key-surface.d.ts.map +1 -0
- package/daemon/dist/conversation-key-surface.js +5 -0
- package/daemon/dist/conversation-key-surface.js.map +1 -0
- package/daemon/dist/daemon-shutdown.d.ts +3 -0
- package/daemon/dist/daemon-shutdown.d.ts.map +1 -1
- package/daemon/dist/daemon-shutdown.js +5 -0
- package/daemon/dist/daemon-shutdown.js.map +1 -1
- 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/179_community_harness_runtime_switches.d.ts +14 -0
- package/daemon/dist/db/migrations/179_community_harness_runtime_switches.d.ts.map +1 -0
- package/daemon/dist/db/migrations/179_community_harness_runtime_switches.js +54 -0
- package/daemon/dist/db/migrations/179_community_harness_runtime_switches.js.map +1 -0
- package/daemon/dist/db/migrations/195_workflow_start_operations.d.ts +4 -0
- package/daemon/dist/db/migrations/195_workflow_start_operations.d.ts.map +1 -0
- package/daemon/dist/db/migrations/195_workflow_start_operations.js +13 -0
- package/daemon/dist/db/migrations/195_workflow_start_operations.js.map +1 -0
- package/daemon/dist/db/migrations/196_queue_item_evidence_ref_roots.d.ts +5 -0
- package/daemon/dist/db/migrations/196_queue_item_evidence_ref_roots.d.ts.map +1 -0
- package/daemon/dist/db/migrations/196_queue_item_evidence_ref_roots.js +7 -0
- package/daemon/dist/db/migrations/196_queue_item_evidence_ref_roots.js.map +1 -0
- package/daemon/dist/db/migrations/199_queue_items_native_permission_index.d.ts +9 -0
- package/daemon/dist/db/migrations/199_queue_items_native_permission_index.d.ts.map +1 -0
- package/daemon/dist/db/migrations/199_queue_items_native_permission_index.js +14 -0
- package/daemon/dist/db/migrations/199_queue_items_native_permission_index.js.map +1 -0
- package/daemon/dist/domain/agent-manifest.d.ts.map +1 -1
- package/daemon/dist/domain/agent-manifest.js +8 -0
- package/daemon/dist/domain/agent-manifest.js.map +1 -1
- package/daemon/dist/domain/background-process-evidence.d.ts +23 -0
- package/daemon/dist/domain/background-process-evidence.d.ts.map +1 -0
- package/daemon/dist/domain/background-process-evidence.js +81 -0
- package/daemon/dist/domain/background-process-evidence.js.map +1 -0
- package/daemon/dist/domain/chat-repository.d.ts +1 -1
- package/daemon/dist/domain/chat-repository.d.ts.map +1 -1
- package/daemon/dist/domain/chat-repository.js +2 -2
- package/daemon/dist/domain/chat-repository.js.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts +16 -6
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +13 -8
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/codex-member-permissions.d.ts +35 -0
- package/daemon/dist/domain/codex-member-permissions.d.ts.map +1 -1
- package/daemon/dist/domain/codex-member-permissions.js +106 -1
- package/daemon/dist/domain/codex-member-permissions.js.map +1 -1
- package/daemon/dist/domain/community-harness-presets.d.ts +9 -0
- package/daemon/dist/domain/community-harness-presets.d.ts.map +1 -1
- package/daemon/dist/domain/community-harness-presets.js +25 -1
- package/daemon/dist/domain/community-harness-presets.js.map +1 -1
- package/daemon/dist/domain/current-work.d.ts +31 -4
- package/daemon/dist/domain/current-work.d.ts.map +1 -1
- package/daemon/dist/domain/current-work.js +48 -3
- package/daemon/dist/domain/current-work.js.map +1 -1
- package/daemon/dist/domain/feed/attention-aggregator.d.ts +5 -5
- package/daemon/dist/domain/feed/attention-aggregator.d.ts.map +1 -1
- package/daemon/dist/domain/feed/attention-aggregator.js +10 -4
- package/daemon/dist/domain/feed/attention-aggregator.js.map +1 -1
- package/daemon/dist/domain/files/path-safety.d.ts +7 -0
- package/daemon/dist/domain/files/path-safety.d.ts.map +1 -1
- package/daemon/dist/domain/files/path-safety.js +23 -0
- package/daemon/dist/domain/files/path-safety.js.map +1 -1
- package/daemon/dist/domain/frontmatter.d.ts.map +1 -1
- package/daemon/dist/domain/frontmatter.js +4 -2
- package/daemon/dist/domain/frontmatter.js.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.d.ts +3 -0
- package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.js +9 -0
- package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
- package/daemon/dist/domain/gateway/human-quiet-windows.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/human-quiet-windows.js +2 -1
- package/daemon/dist/domain/gateway/human-quiet-windows.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts +6 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.js +4 -1
- package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.d.ts +3 -0
- package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.js +3 -2
- package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts +4 -0
- package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/outbound-driver.js +1 -0
- package/daemon/dist/domain/gateway/slack/outbound-driver.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts +2 -0
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js +1 -0
- package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +10 -2
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.js +60 -6
- package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +3 -13
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js +70 -22
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/daemon/dist/domain/health-detectors.d.ts +4 -0
- package/daemon/dist/domain/health-detectors.d.ts.map +1 -1
- package/daemon/dist/domain/health-detectors.js +4 -1
- package/daemon/dist/domain/health-detectors.js.map +1 -1
- package/daemon/dist/domain/health-diagnosis.d.ts.map +1 -1
- package/daemon/dist/domain/health-diagnosis.js +14 -9
- package/daemon/dist/domain/health-diagnosis.js.map +1 -1
- package/daemon/dist/domain/health-passive-ceremony.d.ts +2 -0
- package/daemon/dist/domain/health-passive-ceremony.d.ts.map +1 -1
- package/daemon/dist/domain/health-passive-ceremony.js +71 -13
- package/daemon/dist/domain/health-passive-ceremony.js.map +1 -1
- package/daemon/dist/domain/history-query.d.ts +1 -1
- package/daemon/dist/domain/history-query.d.ts.map +1 -1
- package/daemon/dist/domain/history-query.js +1 -2
- package/daemon/dist/domain/history-query.js.map +1 -1
- package/daemon/dist/domain/hosts/read-through.d.ts.map +1 -1
- package/daemon/dist/domain/hosts/read-through.js +6 -0
- package/daemon/dist/domain/hosts/read-through.js.map +1 -1
- package/daemon/dist/domain/managed-restore-read-access.d.ts +18 -0
- package/daemon/dist/domain/managed-restore-read-access.d.ts.map +1 -1
- package/daemon/dist/domain/managed-restore-read-access.js +41 -1
- package/daemon/dist/domain/managed-restore-read-access.js.map +1 -1
- package/daemon/dist/domain/mission-control/audit-browse.d.ts +1 -1
- package/daemon/dist/domain/mission-control/audit-browse.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/audit-browse.js +3 -6
- package/daemon/dist/domain/mission-control/audit-browse.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 +21 -4
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
- package/daemon/dist/domain/native-resume-probe.d.ts +22 -0
- package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
- package/daemon/dist/domain/native-resume-probe.js +30 -0
- package/daemon/dist/domain/native-resume-probe.js.map +1 -1
- package/daemon/dist/domain/network/network-requests.d.ts +3 -2
- package/daemon/dist/domain/network/network-requests.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-requests.js +34 -8
- package/daemon/dist/domain/network/network-requests.js.map +1 -1
- package/daemon/dist/domain/node-launcher.d.ts +2 -2
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +9 -7
- package/daemon/dist/domain/node-launcher.js.map +1 -1
- package/daemon/dist/domain/pane-cutover.d.ts +36 -9
- package/daemon/dist/domain/pane-cutover.d.ts.map +1 -1
- package/daemon/dist/domain/pane-cutover.js +82 -13
- package/daemon/dist/domain/pane-cutover.js.map +1 -1
- package/daemon/dist/domain/projection-planner.d.ts +17 -3
- package/daemon/dist/domain/projection-planner.d.ts.map +1 -1
- package/daemon/dist/domain/projection-planner.js +9 -1
- package/daemon/dist/domain/projection-planner.js.map +1 -1
- package/daemon/dist/domain/queue-destination-check.d.ts +8 -0
- package/daemon/dist/domain/queue-destination-check.d.ts.map +1 -1
- package/daemon/dist/domain/queue-destination-check.js +17 -4
- package/daemon/dist/domain/queue-destination-check.js.map +1 -1
- package/daemon/dist/domain/queue-erasure.js +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +20 -1
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +93 -14
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts +23 -3
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +618 -13
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/queue-transfer-export.d.ts +1 -1
- package/daemon/dist/domain/queue-transfer-export.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transfer-export.js +3 -1
- package/daemon/dist/domain/queue-transfer-export.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 +1 -1
- package/daemon/dist/domain/queue-transition-log.js.map +1 -1
- package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
- package/daemon/dist/domain/queue-waiting.js +7 -0
- 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 +20 -4
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/rehydrate-eligibility.d.ts +8 -0
- package/daemon/dist/domain/rehydrate-eligibility.d.ts.map +1 -1
- package/daemon/dist/domain/rehydrate-eligibility.js +61 -9
- package/daemon/dist/domain/rehydrate-eligibility.js.map +1 -1
- package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
- package/daemon/dist/domain/restore-check-service.js +5 -2
- package/daemon/dist/domain/restore-check-service.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +3 -0
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +42 -0
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/return-route.d.ts +13 -2
- package/daemon/dist/domain/return-route.d.ts.map +1 -1
- package/daemon/dist/domain/return-route.js +30 -1
- package/daemon/dist/domain/return-route.js.map +1 -1
- package/daemon/dist/domain/rig-lifecycle-service.d.ts +1 -0
- package/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/rig-lifecycle-service.js +23 -2
- package/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/rig-mode/operating-posture.d.ts.map +1 -1
- package/daemon/dist/domain/rig-mode/operating-posture.js +23 -4
- package/daemon/dist/domain/rig-mode/operating-posture.js.map +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts +30 -2
- package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/daemon/dist/domain/rig-teardown.js +76 -8
- package/daemon/dist/domain/rig-teardown.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +11 -9
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +100 -43
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.js +26 -3
- package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
- package/daemon/dist/domain/roster-ready-notice.d.ts +11 -0
- package/daemon/dist/domain/roster-ready-notice.d.ts.map +1 -0
- package/daemon/dist/domain/roster-ready-notice.js +35 -0
- package/daemon/dist/domain/roster-ready-notice.js.map +1 -0
- package/daemon/dist/domain/runner-permissions.d.ts +140 -5
- package/daemon/dist/domain/runner-permissions.d.ts.map +1 -1
- package/daemon/dist/domain/runner-permissions.js +593 -16
- package/daemon/dist/domain/runner-permissions.js.map +1 -1
- package/daemon/dist/domain/runtime-adapter.d.ts +3 -1
- package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-exit.d.ts +79 -0
- package/daemon/dist/domain/runtime-exit.d.ts.map +1 -0
- package/daemon/dist/domain/runtime-exit.js +301 -0
- package/daemon/dist/domain/runtime-exit.js.map +1 -0
- package/daemon/dist/domain/runtime-switch-materials.d.ts +4 -1
- package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-switch-materials.js +66 -13
- package/daemon/dist/domain/runtime-switch-materials.js.map +1 -1
- package/daemon/dist/domain/scope/attestation-lineage.generated.js +2 -2
- package/daemon/dist/domain/scope/attestation-lineage.generated.js.map +1 -1
- package/daemon/dist/domain/scope/logical-checkbox.d.ts.map +1 -1
- package/daemon/dist/domain/scope/logical-checkbox.js +18 -0
- package/daemon/dist/domain/scope/logical-checkbox.js.map +1 -1
- package/daemon/dist/domain/scope/scaffold-placeholder.js +2 -2
- package/daemon/dist/domain/scope/scaffold-placeholder.js.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.js +5 -2
- package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-handover-service.d.ts +5 -2
- package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-handover-service.js +30 -6
- package/daemon/dist/domain/seat-handover-service.js.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.d.ts +18 -0
- package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.js +155 -6
- package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.d.ts +6 -0
- package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.js +28 -4
- package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts +37 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +44 -8
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-pool-executor.d.ts +61 -3
- package/daemon/dist/domain/seat-pool-executor.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-executor.js +735 -59
- package/daemon/dist/domain/seat-pool-executor.js.map +1 -1
- package/daemon/dist/domain/seat-pool-slots.d.ts +24 -0
- package/daemon/dist/domain/seat-pool-slots.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-slots.js +50 -0
- package/daemon/dist/domain/seat-pool-slots.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts +2 -1
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.js +68 -20
- package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +9 -2
- package/daemon/dist/domain/session-transport.js.map +1 -1
- package/daemon/dist/domain/skill-catalog.d.ts.map +1 -1
- package/daemon/dist/domain/skill-catalog.js +24 -10
- package/daemon/dist/domain/skill-catalog.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts +5 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +43 -7
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.d.ts +1 -0
- package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.js +5 -0
- package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
- package/daemon/dist/domain/stream-reader-actions.d.ts +23 -0
- package/daemon/dist/domain/stream-reader-actions.d.ts.map +1 -1
- package/daemon/dist/domain/stream-reader-actions.js +43 -0
- package/daemon/dist/domain/stream-reader-actions.js.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.d.ts +24 -3
- package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.js +54 -23
- package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
- package/daemon/dist/domain/terminal/earlier-tile-attach-0723.d.ts +2 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0723.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0723.js +48 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0723.js.map +1 -0
- package/daemon/dist/domain/terminal/rex-agent-status.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/rex-agent-status.js +5 -2
- package/daemon/dist/domain/terminal/rex-agent-status.js.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.d.ts +11 -5
- package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.js +32 -12
- package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
- package/daemon/dist/domain/transcript-redaction.d.ts +10 -8
- package/daemon/dist/domain/transcript-redaction.d.ts.map +1 -1
- package/daemon/dist/domain/transcript-redaction.js +51 -22
- package/daemon/dist/domain/transcript-redaction.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +7 -1
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js +3 -0
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/whoami-service.d.ts +11 -0
- package/daemon/dist/domain/whoami-service.d.ts.map +1 -1
- package/daemon/dist/domain/whoami-service.js +13 -0
- package/daemon/dist/domain/whoami-service.js.map +1 -1
- package/daemon/dist/domain/workflow-reconciliation.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-reconciliation.js +9 -0
- package/daemon/dist/domain/workflow-reconciliation.js.map +1 -1
- package/daemon/dist/domain/workflow-runtime.d.ts +2 -0
- package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-runtime.js +45 -2
- package/daemon/dist/domain/workflow-runtime.js.map +1 -1
- package/daemon/dist/routes/activity.d.ts.map +1 -1
- package/daemon/dist/routes/activity.js +59 -2
- package/daemon/dist/routes/activity.js.map +1 -1
- package/daemon/dist/routes/compaction.d.ts.map +1 -1
- package/daemon/dist/routes/compaction.js +26 -9
- 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 +64 -25
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/require-sender-identity.d.ts +15 -0
- package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
- package/daemon/dist/routes/require-sender-identity.js +51 -5
- package/daemon/dist/routes/require-sender-identity.js.map +1 -1
- package/daemon/dist/routes/seat.js +6 -0
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/stream.d.ts.map +1 -1
- package/daemon/dist/routes/stream.js +28 -1
- package/daemon/dist/routes/stream.js.map +1 -1
- package/daemon/dist/routes/workflow.d.ts.map +1 -1
- package/daemon/dist/routes/workflow.js +48 -41
- package/daemon/dist/routes/workflow.js.map +1 -1
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +17 -1
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +34 -6
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/dist/transcript-redaction-surface.d.ts +2 -0
- package/daemon/dist/transcript-redaction-surface.d.ts.map +1 -0
- package/daemon/dist/transcript-redaction-surface.js +2 -0
- package/daemon/dist/transcript-redaction-surface.js.map +1 -0
- package/daemon/docs/reference/acp-agents.md +9 -2
- package/daemon/docs/reference/agent-spec.md +22 -1
- package/daemon/docs/reference/agent-startup-guide.md +10 -0
- package/daemon/docs/reference/community-harness-examples/cursor/cursor.yaml +3 -1
- package/daemon/docs/reference/community-harness-presets.md +27 -2
- package/daemon/docs/reference/daemon-http-clients.md +57 -0
- package/daemon/docs/reference/developing.md +3 -2
- package/daemon/docs/reference/getting-started.md +31 -7
- package/daemon/docs/reference/harness-runner-contract.md +72 -0
- package/daemon/docs/reference/hosted-members.md +21 -2
- package/daemon/docs/reference/network-connector.md +32 -3
- package/daemon/docs/reference/quickstart.md +4 -4
- package/daemon/docs/reference/refocus-channel.md +48 -0
- package/daemon/docs/reference/rig-bundle.md +11 -1
- package/daemon/docs/reference/rig-spec.md +8 -0
- package/daemon/docs/reference/seat-node-targeting.md +10 -0
- package/daemon/docs/reference/seat-pools.md +76 -10
- package/daemon/docs/reference/slack-app-setup.md +15 -0
- package/daemon/docs/reference/terminal-sessions.md +71 -3
- package/daemon/docs/reference/tmux-servers.md +16 -0
- package/daemon/docs/reference/whats-new.md +106 -12
- package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +71 -9
- package/daemon/specs/rigs/launch/factory/guidance/lead-first-move.md +4 -1
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +2 -1
- package/daemon/specs/rigs/launch/starter/guidance/lead-first-move.md +4 -1
- package/dist/bin-wrapper.d.ts.map +1 -1
- package/dist/bin-wrapper.js +24 -5
- package/dist/bin-wrapper.js.map +1 -1
- package/dist/build-info.js +3 -3
- package/dist/client.d.ts +4 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +7 -1
- package/dist/client.js.map +1 -1
- package/dist/commands/add.js +1 -1
- package/dist/commands/add.js.map +1 -1
- package/dist/commands/agent.js +1 -1
- package/dist/commands/agent.js.map +1 -1
- package/dist/commands/bundle.d.ts.map +1 -1
- package/dist/commands/bundle.js +18 -4
- package/dist/commands/bundle.js.map +1 -1
- package/dist/commands/create.d.ts.map +1 -1
- package/dist/commands/create.js +6 -2
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/down.d.ts.map +1 -1
- package/dist/commands/down.js +12 -1
- package/dist/commands/down.js.map +1 -1
- package/dist/commands/expand.js +1 -1
- package/dist/commands/expand.js.map +1 -1
- package/dist/commands/fork.js +1 -1
- package/dist/commands/fork.js.map +1 -1
- package/dist/commands/grow.d.ts.map +1 -1
- package/dist/commands/grow.js +9 -4
- package/dist/commands/grow.js.map +1 -1
- package/dist/commands/import.js +1 -1
- package/dist/commands/import.js.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +57 -22
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/network.d.ts +2 -3
- package/dist/commands/network.d.ts.map +1 -1
- package/dist/commands/network.js +54 -9
- package/dist/commands/network.js.map +1 -1
- package/dist/commands/ps.d.ts +1 -0
- package/dist/commands/ps.d.ts.map +1 -1
- package/dist/commands/ps.js +22 -19
- package/dist/commands/ps.js.map +1 -1
- package/dist/commands/queue.d.ts +2 -0
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +29 -6
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/reconcile-session.js +1 -1
- package/dist/commands/reconcile-session.js.map +1 -1
- package/dist/commands/restore.js +1 -1
- package/dist/commands/restore.js.map +1 -1
- package/dist/commands/rig.js +2 -2
- package/dist/commands/rig.js.map +1 -1
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +55 -16
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/skill.js +1 -1
- package/dist/commands/skill.js.map +1 -1
- package/dist/commands/start.d.ts.map +1 -1
- package/dist/commands/start.js +3 -2
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/terminal.d.ts.map +1 -1
- package/dist/commands/terminal.js +20 -4
- package/dist/commands/terminal.js.map +1 -1
- package/dist/commands/up.d.ts.map +1 -1
- package/dist/commands/up.js +2 -1
- package/dist/commands/up.js.map +1 -1
- package/dist/commands/whoami.d.ts.map +1 -1
- package/dist/commands/whoami.js +6 -0
- package/dist/commands/whoami.js.map +1 -1
- package/dist/commands/workflow-follow.d.ts.map +1 -1
- package/dist/commands/workflow-follow.js +37 -34
- package/dist/commands/workflow-follow.js.map +1 -1
- package/dist/commands/workflow-render.d.ts +1 -1
- package/dist/commands/workflow-render.d.ts.map +1 -1
- package/dist/commands/workflow-render.js +2 -7
- package/dist/commands/workflow-render.js.map +1 -1
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +22 -2
- package/dist/commands/workflow.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts +24 -0
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +45 -8
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/lib/bundle-source.d.ts +4 -0
- package/dist/lib/bundle-source.d.ts.map +1 -1
- package/dist/lib/bundle-source.js +14 -2
- package/dist/lib/bundle-source.js.map +1 -1
- package/dist/lib/context-git.js +2 -2
- package/dist/lib/context-git.js.map +1 -1
- package/dist/lib/frontmatter.d.ts.map +1 -1
- package/dist/lib/frontmatter.js +4 -2
- package/dist/lib/frontmatter.js.map +1 -1
- package/dist/lib/scope/attestation-lineage.js +2 -2
- package/dist/lib/scope/attestation-lineage.js.map +1 -1
- package/dist/lib/scope/logical-checkbox.d.ts.map +1 -1
- package/dist/lib/scope/logical-checkbox.js +18 -0
- package/dist/lib/scope/logical-checkbox.js.map +1 -1
- package/dist/lib/scope/progress-edit.js +1 -1
- package/dist/lib/scope/progress-edit.js.map +1 -1
- package/dist/lib/scope/scaffold-placeholder.js +2 -2
- package/dist/lib/scope/scaffold-placeholder.js.map +1 -1
- package/dist/lib/terminal-cell.d.ts +5 -0
- package/dist/lib/terminal-cell.d.ts.map +1 -0
- package/dist/lib/terminal-cell.js +22 -0
- package/dist/lib/terminal-cell.js.map +1 -0
- package/dist/mcp-http.d.ts +1 -1
- package/dist/mcp-http.d.ts.map +1 -1
- package/dist/mcp-http.js +6 -3
- package/dist/mcp-http.js.map +1 -1
- package/dist/mcp-server.d.ts +5 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +111 -13
- package/dist/mcp-server.js.map +1 -1
- package/dist/release-surface/extract-surface.d.ts.map +1 -1
- package/dist/release-surface/extract-surface.js +38 -20
- package/dist/release-surface/extract-surface.js.map +1 -1
- package/dist/release-surface/generate.d.ts.map +1 -1
- package/dist/release-surface/generate.js +3 -0
- package/dist/release-surface/generate.js.map +1 -1
- package/dist/release-surface/surface-diff.d.ts +1 -0
- package/dist/release-surface/surface-diff.d.ts.map +1 -1
- package/dist/release-surface/surface-diff.js +19 -18
- package/dist/release-surface/surface-diff.js.map +1 -1
- package/dist/restore-packet/redaction.d.ts +4 -26
- package/dist/restore-packet/redaction.d.ts.map +1 -1
- package/dist/restore-packet/redaction.js +19 -63
- package/dist/restore-packet/redaction.js.map +1 -1
- package/dist/terminal-orca.d.ts +7 -0
- package/dist/terminal-orca.d.ts.map +1 -0
- package/dist/terminal-orca.js +239 -0
- package/dist/terminal-orca.js.map +1 -0
- package/package.json +1 -1
- package/tui/dist/connected-assistants.d.ts +1 -1
- package/tui/dist/connected-assistants.d.ts.map +1 -1
- package/tui/dist/connected-assistants.js +3 -1
- package/tui/dist/connected-assistants.js.map +1 -1
- package/tui/dist/daemon-client.d.ts +4 -0
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +12 -8
- 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 -0
- package/tui/dist/health/health-model.js.map +1 -1
- package/tui/dist/hydrate.d.ts +3 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +40 -25
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/live.d.ts +5 -1
- package/tui/dist/live.d.ts.map +1 -1
- package/tui/dist/live.js +20 -2
- package/tui/dist/live.js.map +1 -1
- package/tui/dist/main.js +5 -2
- package/tui/dist/main.js.map +1 -1
- package/tui/dist/pulse/pulse-model.d.ts.map +1 -1
- package/tui/dist/pulse/pulse-model.js +3 -2
- package/tui/dist/pulse/pulse-model.js.map +1 -1
- package/tui/dist/render.d.ts.map +1 -1
- package/tui/dist/render.js +6 -5
- package/tui/dist/render.js.map +1 -1
- package/tui/dist/types.d.ts +10 -4
- package/tui/dist/types.d.ts.map +1 -1
- package/ui/dist/assets/index-Chh-NS8Z.css +32 -0
- package/ui/dist/assets/index-DG_7XFcL.js +628 -0
- package/ui/dist/index.html +2 -2
- package/ui/dist/assets/index-B-sMy02c.js +0 -623
- package/ui/dist/assets/index-DiN7RwWg.css +0 -32
|
@@ -133,7 +133,9 @@ layer sets `sandbox_workspace_write.network_access` and no managed requirement
|
|
|
133
133
|
could restrict it; if Codex can't be asked or doesn't answer in time, the launch
|
|
134
134
|
is left unchanged. To keep it off, set `network_access = false` under
|
|
135
135
|
`[sandbox_workspace_write]` in your Codex configuration. If Codex does not answer
|
|
136
|
-
within a few seconds, the seat starts without it.
|
|
136
|
+
within a few seconds, the seat starts without it. The workspace-write sandbox limits the seat's direct file edits;
|
|
137
|
+
with network access on, it isn't isolation from the trusted OpenRig service or the agents the seat works with.
|
|
138
|
+
A command allowance does not
|
|
137
139
|
change general sandbox/network settings. The starter's `profile: default` selects OpenRig resources, not a native
|
|
138
140
|
permission profile.
|
|
139
141
|
Agent-guided setup [recommends keeping the team default](#have-your-agent-configure-permissions)
|
|
@@ -191,15 +193,15 @@ agent doing the setup. These use this release's tag:
|
|
|
191
193
|
|
|
192
194
|
```sh
|
|
193
195
|
# Claude Code
|
|
194
|
-
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.
|
|
196
|
+
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.24/skills/rigs" --skill rigs --agent claude-code
|
|
195
197
|
|
|
196
198
|
# Codex
|
|
197
|
-
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.
|
|
199
|
+
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.24/skills/rigs" --skill rigs --agent codex
|
|
198
200
|
# OMP (Oh My Pi): the pi target installs to .agents/skills, which OMP reads
|
|
199
|
-
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.
|
|
201
|
+
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.24/skills/rigs" --skill rigs --agent pi
|
|
200
202
|
```
|
|
201
203
|
|
|
202
|
-
**OMP:** this pin installs the shared skill only. The `v0.7.
|
|
204
|
+
**OMP:** this pin installs the shared skill only. The `v0.7.24` skill includes OMP attachment guidance (`rig attach --self … --runtime omp`),
|
|
203
205
|
but complete setup from OMP has not been verified. OMP isn't a kernel provider; Claude Code or Codex must still be
|
|
204
206
|
signed in. To invoke the skill in OMP, type `/skill:rigs`; if OMP was already open when you installed it, type
|
|
205
207
|
`/reload-plugins` first.
|
|
@@ -220,11 +222,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
|
|
|
220
222
|
script will do and changes nothing:
|
|
221
223
|
|
|
222
224
|
```sh
|
|
223
|
-
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
225
|
+
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.24/scripts/install.sh | sh -s -- --dry-run
|
|
224
226
|
```
|
|
225
227
|
|
|
226
228
|
The same command without `--dry-run`,
|
|
227
|
-
`curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
229
|
+
`curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.24/scripts/install.sh | sh`, installs the
|
|
228
230
|
latest published `@openrig/cli` with `npm install -g`, runs the Node.js and SQLite check if the installed checker is
|
|
229
231
|
present (otherwise it reports the check skipped), then runs `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
|
|
230
232
|
Codex and may install a missing one, as described below. A failed step prints
|
|
@@ -418,6 +420,20 @@ its `code`, `message` and `blockers`; `neverLaunched` marks a rig none of whose
|
|
|
418
420
|
seats has ever run. A preview that failed outright stays under `previewErrors`.
|
|
419
421
|
Left-out rigs don't change the exit code.
|
|
420
422
|
|
|
423
|
+
Under the default restore policy (`resume_if_possible`), a seat with neither
|
|
424
|
+
saved startup context nor a resume token doesn't hold back the rest of its rig
|
|
425
|
+
when OpenRig can still tell which session is that seat's current one. The other
|
|
426
|
+
seats resume their own conversations, and that seat isn't started: it reads
|
|
427
|
+
`awaiting-decision`, and the run exits 1 as for any seat awaiting a decision.
|
|
428
|
+
Without saved startup context it can't be started fresh, so no fresh start is
|
|
429
|
+
offered; restore its original session by hand. For a Claude Code, Codex, Pi or
|
|
430
|
+
OMP seat whose session is the newest one under its name, the reason also names
|
|
431
|
+
the command that records that session's resume token: pipe the token to
|
|
432
|
+
`rig seat set-resume-token <session> --token-stdin --reason "<why>"`. A seat
|
|
433
|
+
whose current session has no resume token waits the same way even with saved
|
|
434
|
+
startup context. A seat set to start fresh still leaves the rig out, as does a rig
|
|
435
|
+
where every seat lacks both, or where which session is current is unclear.
|
|
436
|
+
|
|
421
437
|
Restore requests run one at a time by default. To keep up to two requests
|
|
422
438
|
outstanding, for example, use `rig start --last --concurrency 2`. A request that
|
|
423
439
|
times out can keep running in the daemon, so more than two restores can still be
|
|
@@ -882,6 +898,14 @@ login. A source account override or Claude token is cleared only at commit;
|
|
|
882
898
|
credentials are never converted between runtimes. Pi-to-Pi account changes keep
|
|
883
899
|
Pi settings, but cross-runtime switches resolve settings afresh for the target.
|
|
884
900
|
|
|
901
|
+
A runtime listed by `rig community-harness list` can be the target too: pass its
|
|
902
|
+
name, for example `--runtime cursor`. The switch needs that harness's preset
|
|
903
|
+
installed on the daemon, and refuses with `runtime_target_unavailable` when it
|
|
904
|
+
isn't. A community harness places no guidance, skills or startup files, so a
|
|
905
|
+
switch to one doesn't project the seat's skill loadout and says so in its notes.
|
|
906
|
+
Moving the other way works the same: a seat on a community harness can switch to
|
|
907
|
+
a built-in runtime while its own preset is still installed.
|
|
908
|
+
|
|
885
909
|
A configured `launch_wrapper` carries across runtime switches among Pi, Codex
|
|
886
910
|
and Claude Code. It must support each successor executable and preserve that
|
|
887
911
|
runtime's credential environment. A wrapped Pi seat cannot switch to Claude
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Reference guides the help pack and command help link to, loaded one file or section at a time by address
|
|
2
2
|
# (rig context get reference/<file>#<section>). Each file is a symlink to docs/reference/.
|
|
3
3
|
name: reference
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.24"
|
|
5
5
|
taxonomy: world
|
|
6
6
|
purpose: "Version-matched reference guides the help guide and command help link to. Load a single file or section by address; don't load the whole pack."
|
|
7
7
|
files:
|
|
@@ -396,6 +396,14 @@ envelope. An OpenRig older than 0.7.3 doesn't read a recorded envelope, so after
|
|
|
396
396
|
the seat launches without it. The field is also supported on legacy flat Codex nodes; other
|
|
397
397
|
runtimes reject it.
|
|
398
398
|
|
|
399
|
+
A seat in a narrower sandbox still has to run `rig` and reach the OpenRig daemon, which `rig`
|
|
400
|
+
talks to over 127.0.0.1: `rig up`, `rig up --plan`, a seat's first `rig launch` and
|
|
401
|
+
`rig seat set-permissions` warn, and carry on with the permissions as written, when a Codex
|
|
402
|
+
seat's permissions don't let it read the OpenRig home, the rig install or node, or leave
|
|
403
|
+
network off (read-only never has network). The node they check is the one the daemon runs on,
|
|
404
|
+
while `rig` in the seat runs on the first `node` on the seat's own PATH, so that part of the
|
|
405
|
+
warning is conditional: check with `rig whoami` inside the seat.
|
|
406
|
+
|
|
399
407
|
For an explicit filesystem policy, use `filesystem` **instead of** `sandbox` and its
|
|
400
408
|
workspace-write fields. This is the same per-seat selection and audited setter:
|
|
401
409
|
|
|
@@ -185,6 +185,22 @@ session names on the selected server.
|
|
|
185
185
|
Dedicated selection requires POSIX tmux. On native Windows (not a supported platform;
|
|
186
186
|
the [README](../../README.md) covers WSL2), psmux retains its existing server behavior; requesting `isolated` produces a status note and a pending choice.
|
|
187
187
|
|
|
188
|
+
## Background work after a pane disappears
|
|
189
|
+
|
|
190
|
+
When an unexpectedly missing seat pane or session is positively observed, `rig ps`
|
|
191
|
+
reports that background work is unknown. It also lists descendants sampled under
|
|
192
|
+
that occupant before the loss when their PID and start time still match a later
|
|
193
|
+
process observation. The executable name is shown without arguments or paths.
|
|
194
|
+
This is a partial observation, not a complete process inventory: unsampled or
|
|
195
|
+
unreadable work, a daemon restart, or changed process identity can leave the
|
|
196
|
+
list empty while work is still running. Explicitly stopped seats are not labeled
|
|
197
|
+
as unexpected loss. OpenRig does not terminate these processes.
|
|
198
|
+
Live-pane samples are taken only on identity-check passes that already inspect
|
|
199
|
+
native processes; if no such pass occurs before the loss, attribution remains
|
|
200
|
+
unknown. On a host with only token-bound Claude seats, these native-process
|
|
201
|
+
samples are not taken, so the process list remains empty. A later check of previously sampled identities shares the existing
|
|
202
|
+
process-table reader and does not create a new polling loop.
|
|
203
|
+
|
|
188
204
|
## When the server stops answering
|
|
189
205
|
|
|
190
206
|
The tmux server can go away while the daemon keeps running: something kills it, or
|
|
@@ -1,9 +1,102 @@
|
|
|
1
|
-
# What changed in OpenRig 0.7.
|
|
1
|
+
# What changed in OpenRig 0.7.24
|
|
2
|
+
|
|
3
|
+
This note is for an agent on an install that was just upgraded to 0.7.24.
|
|
4
|
+
OpenRig 0.7.24 is a patch for people who work with their team from their own Claude Code or Codex conversation. The team's questions can now come back to that conversation by themselves, and a team seat's Claude Code permission prompt can be answered from there. The TUI's Topology view opens on a busy daemon, and the notice a new agent gets when its team is recorded reads as information, not work.
|
|
5
|
+
|
|
6
|
+
## Before you upgrade
|
|
7
|
+
|
|
8
|
+
Run the upgrade in the environment that owns your daemon, keeping the same `OPENRIG_HOME` (legacy `RIGGED_HOME`) if you set it. Stop the daemon, back up its database, install the patch, then restart it. Your agents keep running; do not use `rig down` for this upgrade.
|
|
9
|
+
|
|
10
|
+
If the daemon was started with `--db`, or with `OPENRIG_DB` (legacy `RIGGED_DB`) set differently from this shell, replace the `DB=` line below with that actual database path. Pass the same `--db "$DB"` to every `rig daemon start`, including recovery; `rig config get db.path` reads this shell's configuration, not the running daemon's launch arguments or environment.
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
DB="$(rig config get db.path)" &&
|
|
14
|
+
STOP="$(rig daemon stop)" && printf '%s\n' "$STOP" &&
|
|
15
|
+
{ printf '%s\n' "$STOP" | grep -qx 'Daemon stopped' || { echo "The stop wasn't confirmed clean; see below before continuing." >&2; false; }; } &&
|
|
16
|
+
BACKUP="$DB.before-0.7.24-$(date -u +%Y%m%dT%H%M%SZ)" &&
|
|
17
|
+
{ [ ! -e "$BACKUP" ] || { echo "$BACKUP already exists; keep it and run again." >&2; false; }; } &&
|
|
18
|
+
cp "$DB" "$BACKUP" &&
|
|
19
|
+
{ [ ! -e "$DB-wal" ] || cp "$DB-wal" "$BACKUP-wal"; } &&
|
|
20
|
+
npm install -g @openrig/cli@0.7.24 &&
|
|
21
|
+
rig daemon start --db "$DB"
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
A failure stops the following commands; fix it before continuing. Back up and install only after `rig daemon stop` prints `Daemon stopped`. If it reports no recorded target or doesn't confirm the stop, make sure the daemon is running on its original home and database, then run the whole block again; `daemon-shutdown.json`, `daemon.log` and `rig context get help` explain an unconfirmed stop.
|
|
25
|
+
|
|
26
|
+
This release adds four database migrations, which apply at the first start. Three are additive: `195_workflow_start_operations`, `196_queue_item_evidence_ref_roots` and `199_queue_items_native_permission_index`. The fourth, `179_community_harness_runtime_switches`, rebuilds the `seat_runtime_switches` table so it can hold a community harness's name, and keeps its rows. Keep the backup, because downgrading a migrated database is not established. Bundled `openrig` is 0.7.24; `openrig-core` is 0.1.40. A Codex seat left running across the upgrade may need a restart afterwards; see Known issues.
|
|
27
|
+
|
|
28
|
+
## Working with your team from your own conversation
|
|
29
|
+
|
|
30
|
+
With the openrig plugin installed in your own Claude Code or Codex (not a seat), work you hand over with its own return address (`--return-route auto`, or the MCP server's `returnRoute`) gives the team's questions, seat prompts and results a route back to that conversation, with their sender. Claude Code is woken when a turn ends; Codex gets a message queued for the thread. In Codex, hand work over with `rig queue create --return-route auto` in the shell: the MCP server's `returnRoute` doesn't reach Codex yet. A team seat's Claude Code permission prompt becomes a question there, and your answer reaches that exact prompt as Allow once or Deny, never a lasting permission change. Without an answer, Claude Code's own prompt carries on. The plugin's MCP server also keeps serving when the app starts before the daemon. ([#3964](https://github.com/mvschwarz/openrig/pull/3964), [#3969](https://github.com/mvschwarz/openrig/pull/3969), [#3920](https://github.com/mvschwarz/openrig/pull/3920))
|
|
31
|
+
|
|
32
|
+
## Topology, the TUI and the web UI
|
|
33
|
+
|
|
34
|
+
On a long-lived install, the TUI's Topology view opens even while the daemon is busy, and anything still loading shows as pending, never as empty. A wake pass on a daemon with many live seats now makes one query instead of one per seat, which the change's own measurement puts at removing stalls of seconds at about a hundred seats; it hasn't yet been confirmed over a long live run. In the web UI, seat cards show the model on its own line and name community runtimes, the hover toolbar copies a seat's full session name, and a feed card's seat tag opens the right seat. ([#3965](https://github.com/mvschwarz/openrig/pull/3965), [#3864](https://github.com/mvschwarz/openrig/pull/3864), [#3413](https://github.com/mvschwarz/openrig/pull/3413), [#3442](https://github.com/mvschwarz/openrig/pull/3442), [#3977](https://github.com/mvschwarz/openrig/pull/3977))
|
|
35
|
+
|
|
36
|
+
## New teams and the roster notice
|
|
37
|
+
|
|
38
|
+
When OpenRig records a new team's seats and edges, each agent that started gets one notice asking it to run `rig whoami` again. The notice says plainly that it's information, with nothing to claim, write or follow up, so agents don't take it as work, and the stuck-work sweep doesn't chase it. Refocus sets it aside when it settles a seat's mission. ([#3849](https://github.com/mvschwarz/openrig/pull/3849), [#3973](https://github.com/mvschwarz/openrig/pull/3973), [#3948](https://github.com/mvschwarz/openrig/pull/3948))
|
|
39
|
+
|
|
40
|
+
## Codex, Claude and community seats
|
|
41
|
+
|
|
42
|
+
`rig up`, `rig grow` and `rig seat set-permissions` warn when a Codex seat's sandbox can't reach `rig` or the OpenRig home, and say what breaks; nothing is refused. Sends reach a Claude seat whose input sits above a Remote Control status row. A restore applies the MCP and settings fragments a Claude seat's spec marks `on_restore: follow_source` before Claude resumes, and a fresh launch of an existing Claude seat reads today's selection of both kinds. On a handover, an agent exits through its own shutdown, so its SessionEnd hooks run. A seat can switch to an installed community harness and back: each switch starts a new conversation with a handover, and the harness's conversation is recorded so a later resume can reopen it. Its handover keeps its harness, and a daemon route reports its declared model and effort catalog. The Cursor example preset passes the seat's model. A resumed Claude seat no longer reads as partially restored when an identity sweep overlaps its check, and a stuck `git` can't hold up a seat's skills. ([#3923](https://github.com/mvschwarz/openrig/pull/3923), [#3925](https://github.com/mvschwarz/openrig/pull/3925), [#3710](https://github.com/mvschwarz/openrig/pull/3710), [#3921](https://github.com/mvschwarz/openrig/pull/3921), [#3860](https://github.com/mvschwarz/openrig/pull/3860), [#3955](https://github.com/mvschwarz/openrig/pull/3955), [#3959](https://github.com/mvschwarz/openrig/pull/3959), [#3597](https://github.com/mvschwarz/openrig/pull/3597), [#3960](https://github.com/mvschwarz/openrig/pull/3960), [#3897](https://github.com/mvschwarz/openrig/pull/3897))
|
|
43
|
+
|
|
44
|
+
## Restore and recovery
|
|
45
|
+
|
|
46
|
+
After a reboot, a seat with neither saved startup context nor a resume token waits for a decision (`awaitingDecision`) while the rest of its rig resumes, instead of the whole rig being left out. A seat whose tmux session is gone is no longer verified by a recycled pane, and a slow restore is no longer reported as back at its shell. When a seat's pane disappears, `rig ps` and `/healthz` show its background work as unknown, listing earlier-seen processes that still match. Refocus shows held and pending work as labelled context when nothing is in progress. ([#3863](https://github.com/mvschwarz/openrig/pull/3863), [#3843](https://github.com/mvschwarz/openrig/pull/3843), [#3859](https://github.com/mvschwarz/openrig/pull/3859), [#3821](https://github.com/mvschwarz/openrig/pull/3821))
|
|
47
|
+
|
|
48
|
+
## Queue and workflow
|
|
49
|
+
|
|
50
|
+
`rig workflow instantiate --operation-key <key>` records what a start created, so a retry recovers it and `rig workflow operation <key>` reads it back. `rig workflow watch` catches up on outcomes it missed while reconnecting, and workflow tables line up wide characters. A grouped wake names its blocker once, the stuck-work sweep stops filing findings to seats it can't reach, and `rig queue create` accepts an adopted seat's bare session name. `rig mcp token add --allow <object>:<actions>` issues an MCP token limited to the tools it names. ([#3847](https://github.com/mvschwarz/openrig/pull/3847), [#3940](https://github.com/mvschwarz/openrig/pull/3940), [#3854](https://github.com/mvschwarz/openrig/pull/3854), [#3899](https://github.com/mvschwarz/openrig/pull/3899), [#3531](https://github.com/mvschwarz/openrig/pull/3531), [#3804](https://github.com/mvschwarz/openrig/pull/3804), [#3922](https://github.com/mvschwarz/openrig/pull/3922))
|
|
51
|
+
|
|
52
|
+
Experimental and unsupported, as before: `rig network peers` and `rig network request` default to the calling seat and leave it out of its own peer list, and `rig whoami` names a seat's network binding. A hosted member's awaiting-pickup message says how often it has been checking in. The seat pool settles an add by its actual result and drains idle agents after a capture, but nothing arms a pool yet. ([#3961](https://github.com/mvschwarz/openrig/pull/3961), [#3929](https://github.com/mvschwarz/openrig/pull/3929), [#3931](https://github.com/mvschwarz/openrig/pull/3931), [#3906](https://github.com/mvschwarz/openrig/pull/3906), [#3942](https://github.com/mvschwarz/openrig/pull/3942), [#3819](https://github.com/mvschwarz/openrig/pull/3819))
|
|
53
|
+
|
|
54
|
+
## Terminal, Slack and tools
|
|
55
|
+
|
|
56
|
+
- Terminal: a Herdr tile gives its seat's size back however it closes, and focusing a tile fits its own seat to it. `rig terminal open <view> --provider orca` opens seats in an existing Orca workspace on macOS (opt-in). The daemon writes its Rex tile status as its own record, so an agent's own report in that pane stays. ([#3974](https://github.com/mvschwarz/openrig/pull/3974), [#3975](https://github.com/mvschwarz/openrig/pull/3975), [#3543](https://github.com/mvschwarz/openrig/pull/3543), [#3748](https://github.com/mvschwarz/openrig/pull/3748))
|
|
57
|
+
- Slack attaches a scoped grant's evidence file only from that grant's shared roots, and records where each inbound attachment came from beside it. ([#3952](https://github.com/mvschwarz/openrig/pull/3952), [#3914](https://github.com/mvschwarz/openrig/pull/3914))
|
|
58
|
+
- Docs: the ACP page shows how to add OpenRig as an agent in T3 Code and in Zed, and the packaged capability map teaches what 0.7.19 to 0.7.23 added. ([#3978](https://github.com/mvschwarz/openrig/pull/3978), [#3943](https://github.com/mvschwarz/openrig/pull/3943))
|
|
59
|
+
- Daemon routes read one host's attention (`?host=<id>`) and reader actions in pages, and a compaction trigger with `earlyAck: true` returns a Claude seat's admitted attempt ID. ([#3811](https://github.com/mvschwarz/openrig/pull/3811), [#3838](https://github.com/mvschwarz/openrig/pull/3838), [#3912](https://github.com/mvschwarz/openrig/pull/3912))
|
|
60
|
+
- Also: fixes for CRLF, commented-out and empty-header text in proof and scope files, a literal `|` or leading `:` in search terms and pack paths, impossible quiet-until dates, audit page order, health's ceremony checks, and `rig release surface-diff`. ([#3936](https://github.com/mvschwarz/openrig/pull/3936), [#3932](https://github.com/mvschwarz/openrig/pull/3932), [#3934](https://github.com/mvschwarz/openrig/pull/3934), [#3933](https://github.com/mvschwarz/openrig/pull/3933), [#3937](https://github.com/mvschwarz/openrig/pull/3937), [#3930](https://github.com/mvschwarz/openrig/pull/3930), [#3935](https://github.com/mvschwarz/openrig/pull/3935), [#3938](https://github.com/mvschwarz/openrig/pull/3938), [#3855](https://github.com/mvschwarz/openrig/pull/3855), [#3575](https://github.com/mvschwarz/openrig/pull/3575), [#3576](https://github.com/mvschwarz/openrig/pull/3576), [#3785](https://github.com/mvschwarz/openrig/pull/3785), [#3782](https://github.com/mvschwarz/openrig/pull/3782), [#3723](https://github.com/mvschwarz/openrig/pull/3723), [#3939](https://github.com/mvschwarz/openrig/pull/3939))
|
|
61
|
+
|
|
62
|
+
## Behaviour that changed
|
|
63
|
+
|
|
64
|
+
- A team Claude Code seat running `rig seat decide-permission` now asks its person first by default, as `rig seat set-permissions` does, so a seat can't approve its own waiting tool call. ([#3969](https://github.com/mvschwarz/openrig/pull/3969))
|
|
65
|
+
- A team Claude Code seat's permission prompt now also goes to a person through OpenRig, for up to a day: the person chosen for the seat (`rig seat set-permissions-to`), else the conversation that handed the seat its work, else the default person. A person sees it in the Feed and Steering, or through their connector. The prompt stays open in the seat's terminal meanwhile, and whichever answer comes first counts, as Allow once or Deny. Prompts that need the person's own input, such as `AskUserQuestion`, stay in the terminal. While the question is open, OpenRig holds its usual alert about the seat's waiting prompt; once it's decided, including by an agent acting on the person's words, the seat's next prompt alerts as usual. To keep a Claude Code seat's prompts in its terminal only, run `rig seat set-permissions-to <seat> --deny`; on a Claude Code seat that stops the question and refuses nothing. ([#3969](https://github.com/mvschwarz/openrig/pull/3969), [#4007](https://github.com/mvschwarz/openrig/pull/4007))
|
|
66
|
+
- `rig down` lets each agent exit through its own shutdown before it closes the terminals; `rig down --force` skips that. ([#3921](https://github.com/mvschwarz/openrig/pull/3921))
|
|
67
|
+
- `rig bundle create` no longer records the builder's host name and session in the bundle; `--include-builder-identity` records them. A private receipt is written beside the archive. ([#3950](https://github.com/mvschwarz/openrig/pull/3950))
|
|
68
|
+
- The full-transcript read and restore packets mask known credential shapes only (`rig transcript`, which reads the tail or searches, masks nothing, as before). Commit hashes and long paths stay visible, and an opaque secret with no known shape is no longer masked. ([#3837](https://github.com/mvschwarz/openrig/pull/3837))
|
|
69
|
+
- Staged launch files, Claude's restore packets and the CLI's compile cache move from the system temp folder to `$OPENRIG_HOME/run`. Old packets aren't swept. ([#3691](https://github.com/mvschwarz/openrig/pull/3691))
|
|
70
|
+
- With the daemon stopped, twenty more commands given `--json` print a JSON error on stdout instead of plain text on stderr, and still exit 1. ([#3853](https://github.com/mvschwarz/openrig/pull/3853))
|
|
71
|
+
|
|
72
|
+
## Known issues
|
|
73
|
+
|
|
74
|
+
- If a team Claude Code seat has overlapping permission requests for the same command, completion of the earlier call can withdraw the later question and incorrectly report that it was answered in the terminal. The later native prompt remains open; answer it in that seat's terminal. OpenRig's usual prompt alerts still apply.
|
|
75
|
+
- If you register yourself as OpenRig's default person, a seat's permission prompt on work that didn't come from your conversation, such as during its startup, goes to the Feed and Steering rather than to your conversation.
|
|
76
|
+
- A team seat can send its final result to the operator instead of your conversation; if a result seems late, ask your agent to check the team's progress.
|
|
77
|
+
- If you named a team Claude Code seat as `agents.operator_session`, that seat now gets a permission prompt when it settles a runner's permission request; answer it there. The default, the kernel operator, is unchanged.
|
|
78
|
+
- A Codex seat left running across the upgrade can have its OpenRig hooks turned off ("plugin contents changed; hook approval required") when the daemon updates `openrig-core` beneath it, so it misses refocus after compaction. `rig seat restart <seat> --keep-conversation` can refuse with `settings_drift` because the upgrade also changes the seat's instructions. In the tested two-seat Codex upgrade, `rig down <rig>` followed by `rig up <rig> --existing` restored the hooks and resumed both original conversations. This restarts the whole rig; finish its current work first.
|
|
79
|
+
- Bringing the team's work into your own Codex conversation hasn't been confirmed on a live Codex run yet. A backlog of several hundred tasks can fail to reach Codex on Linux, and a conversation open for over a week can stop being woken. If something doesn't arrive, ask your agent to list the tasks at its conversation's address.
|
|
80
|
+
- A team seat may say work it sent to your own conversation wasn't delivered when the plugin already brought it to you. If you've seen it, ignore that message.
|
|
81
|
+
- The Pi tool-selection recovery page links a community helper that's no longer available. Its other steps still apply.
|
|
82
|
+
- A `rig send` while Claude's `AskUserQuestion` dialog is open can become its answer.
|
|
83
|
+
- When a Codex seat's `config.toml` or `hooks.json` is a symbolic link, hook trust is recorded under the link's target, so hooks may need review again. With a linked `config.toml`, OpenRig can miss a setting that turns its hooks off and set them up anyway. Review hook prompts yourself.
|
|
84
|
+
- The tmux outage record is in memory, so a restart during a loss records it again.
|
|
85
|
+
- Only one earlier restore packet is kept aside while a new one builds.
|
|
86
|
+
- A percent `context-usage-threshold` doesn't fire for a Pi seat; use a token threshold.
|
|
87
|
+
- A return route doesn't guarantee a question's arrival.
|
|
88
|
+
- Nothing arms a seat pool yet: its storage, add and dispatch paths ship, but a `pool:` block starts no agents.
|
|
89
|
+
|
|
90
|
+
## Credits
|
|
91
|
+
|
|
92
|
+
Thanks to Danny, Duc, Edward Bowie, Hyein Cho, James B. Shields, James Poindexter, Jin Hyuk Jung (salbang), JUSHUANGHUI LI, Mike Schwarz, NIKHIL, NIKHILA, Roberto Campos, Samuel Smith, Vitalii, Wu Shuwen (dajiaohuang), Zach Rodgers, billbenetti, and w4rc0n. Their contributions also make the parallel test suites finish sooner and clean up after themselves.
|
|
93
|
+
|
|
94
|
+
## What changed in OpenRig 0.7.23
|
|
2
95
|
|
|
3
96
|
This note is for an agent on an install that was just upgraded to 0.7.23.
|
|
4
97
|
OpenRig 0.7.23 is a patch for teams that reach past one computer, and for recovery that says what it did. A seat connected to a hub can send requests to its peers there and get the answers back as local work. Codex seats explain sign-in and restart in place on a Mac. `rig start --last` names any rig it leaves out.
|
|
5
98
|
|
|
6
|
-
|
|
99
|
+
### Before you upgrade
|
|
7
100
|
|
|
8
101
|
Run the upgrade in the environment that owns your daemon, keeping the same `OPENRIG_HOME` (legacy `RIGGED_HOME`) if you set it. Stop the daemon, back up its database, install the patch, then restart it. Your agents keep running; do not use `rig down` for this upgrade.
|
|
9
102
|
|
|
@@ -25,29 +118,29 @@ A failure stops the following commands; fix it before continuing. Back up and in
|
|
|
25
118
|
|
|
26
119
|
This release adds twelve additive database migrations (`179_remote_control_observations` through `194_workflow_run_title`), which apply at the first start; coming from 0.7.19 or earlier, 0.7.20's three apply too. Keep the backup, because downgrading a migrated database is not established. Bundled `openrig` is 0.7.23; `openrig-core` is 0.1.37.
|
|
27
120
|
|
|
28
|
-
|
|
121
|
+
### Requests between connected teams
|
|
29
122
|
|
|
30
123
|
A seat connected to a hub can list its peers there with `rig network peers <binding-or-seat>`, and send one a request with `rig network request <binding-or-seat> <peer> --id <request-id> --body-file <path>`. The daemon reaches the hub as the seat's participant, so the agent never holds that token, and the answer comes back to a local queue item. A provider-managed binding can rotate its credential without changing identity and finish its removal after a local disconnect, retrying lost replies after a restart. Grant keys accept an opaque prefixed principal from the issuing service, and a new connection says when setup is still finishing. Like the rest of `rig network`, this is experimental and unsupported; use it at your own risk. ([#3686](https://github.com/mvschwarz/openrig/pull/3686), [#3816](https://github.com/mvschwarz/openrig/pull/3816), [#3740](https://github.com/mvschwarz/openrig/pull/3740), [#3725](https://github.com/mvschwarz/openrig/pull/3725), [#3754](https://github.com/mvschwarz/openrig/pull/3754))
|
|
31
124
|
|
|
32
|
-
|
|
125
|
+
### Codex and Claude seats
|
|
33
126
|
|
|
34
127
|
A Codex seat at the newer sign-in chooser reports that it needs signing in and tells the person to open its terminal. On a Mac, `rig seat restart <codex-seat> --keep-conversation` and `rig provider switch` now restart a Codex seat in place on its own conversation. A status line the person chose is read as the status line, a seat moved with `rig seat set-runtime` launches on its new runtime, and an idle Codex seat's permission alert reads its pane. ([#3808](https://github.com/mvschwarz/openrig/pull/3808), [#3840](https://github.com/mvschwarz/openrig/pull/3840), [#3803](https://github.com/mvschwarz/openrig/pull/3803), [#3807](https://github.com/mvschwarz/openrig/pull/3807), [#3713](https://github.com/mvschwarz/openrig/pull/3713))
|
|
35
128
|
|
|
36
129
|
For Claude, a foreground process alone no longer proves a resumed conversation, and the trust dialog is read from its first frame. A paste submits when a notice shares the paste-hint row, and a wrapped launch names a conflicting `claude` function or alias. Auth and billing stop failures raise attention with typed reasons, finished-turn prose above an idle prompt reads idle, and a seat's self-report follows it after `/rename`. ([#3712](https://github.com/mvschwarz/openrig/pull/3712), [#3518](https://github.com/mvschwarz/openrig/pull/3518), [#3724](https://github.com/mvschwarz/openrig/pull/3724), [#3747](https://github.com/mvschwarz/openrig/pull/3747), [#3596](https://github.com/mvschwarz/openrig/pull/3596), [#3545](https://github.com/mvschwarz/openrig/pull/3545), [#3605](https://github.com/mvschwarz/openrig/pull/3605))
|
|
37
130
|
|
|
38
|
-
|
|
131
|
+
### Restore and recovery
|
|
39
132
|
|
|
40
133
|
`rig start --last` names every rig it leaves out, and why. A restore that rolls a resume back tells the seat's owner, a recreated seat's checks and reports follow its live node, and a seat's continuity notice stays armed across `rig up --existing` and `rig seat launch --fresh`. Stopped seats survive unreadable tmux probes, a fresh launch reopens the terminal server over a stale socket, and the PreCompact hook builds a packet from the last 256 MB of a larger transcript and says what it covers. The docs show how to keep tmux experiments off the team's server and bring seats back if one ends it. ([#3823](https://github.com/mvschwarz/openrig/pull/3823), [#3714](https://github.com/mvschwarz/openrig/pull/3714), [#3813](https://github.com/mvschwarz/openrig/pull/3813), [#3706](https://github.com/mvschwarz/openrig/pull/3706), [#3588](https://github.com/mvschwarz/openrig/pull/3588), [#3715](https://github.com/mvschwarz/openrig/pull/3715), [#3471](https://github.com/mvschwarz/openrig/pull/3471), [#3798](https://github.com/mvschwarz/openrig/pull/3798), [#3786](https://github.com/mvschwarz/openrig/pull/3786), [#3589](https://github.com/mvschwarz/openrig/pull/3589), [#3718](https://github.com/mvschwarz/openrig/pull/3718), [#3832](https://github.com/mvschwarz/openrig/pull/3832), [#3796](https://github.com/mvschwarz/openrig/pull/3796))
|
|
41
134
|
|
|
42
|
-
|
|
135
|
+
### Queue and workflow
|
|
43
136
|
|
|
44
137
|
`rig queue relay-answer` lets an agent pass on a person's answer to the agent that asked; it's always shown as relayed. With `cold_start: true` on a pod or member, queued work for a dormant seat starts just that seat. Queue transfer exports `openrig.queue-transfer/v2` and stages an import for review. Run titles show on queue packets, workflow steps take an optional label, and same-role handoffs get advice and `next_owner: same_as_previous`. `rig queue list` says when it cut a page. A usage-limit blocker releases its dependents at its wake time, a draft-held wake retries when the seat goes idle, and refused creates are recorded in the event log. ([#3539](https://github.com/mvschwarz/openrig/pull/3539), [#3173](https://github.com/mvschwarz/openrig/pull/3173), [#3762](https://github.com/mvschwarz/openrig/pull/3762), [#3776](https://github.com/mvschwarz/openrig/pull/3776), [#3846](https://github.com/mvschwarz/openrig/pull/3846), [#3812](https://github.com/mvschwarz/openrig/pull/3812), [#3764](https://github.com/mvschwarz/openrig/pull/3764), [#3595](https://github.com/mvschwarz/openrig/pull/3595), [#3711](https://github.com/mvschwarz/openrig/pull/3711), [#3563](https://github.com/mvschwarz/openrig/pull/3563), [#3580](https://github.com/mvschwarz/openrig/pull/3580), [#3790](https://github.com/mvschwarz/openrig/pull/3790), [#3773](https://github.com/mvschwarz/openrig/pull/3773), [#3802](https://github.com/mvschwarz/openrig/pull/3802), [#3770](https://github.com/mvschwarz/openrig/pull/3770), [#3818](https://github.com/mvschwarz/openrig/pull/3818))
|
|
45
138
|
|
|
46
|
-
|
|
139
|
+
### Seat pools and opt-in controls
|
|
47
140
|
|
|
48
141
|
The seat pool's add, whole-rig hold and dispatch paths are in place, but nothing arms a pool yet (see Known issues). Opt-in `keep_alive` relaunches a seat that falls. Also opt-in: seat grouping beneath `openrigseats.slice`, a per-rig onboarding pack override, a trace of state-changing requests, and `daemon.start_readiness_wait_seconds`, with docs for running the daemon under a supervisor. ([#3810](https://github.com/mvschwarz/openrig/pull/3810), [#3771](https://github.com/mvschwarz/openrig/pull/3771), [#3494](https://github.com/mvschwarz/openrig/pull/3494), [#3495](https://github.com/mvschwarz/openrig/pull/3495), [#3424](https://github.com/mvschwarz/openrig/pull/3424), [#3568](https://github.com/mvschwarz/openrig/pull/3568), [#3789](https://github.com/mvschwarz/openrig/pull/3789), [#3720](https://github.com/mvschwarz/openrig/pull/3720), [#3660](https://github.com/mvschwarz/openrig/pull/3660), [#3661](https://github.com/mvschwarz/openrig/pull/3661))
|
|
49
142
|
|
|
50
|
-
|
|
143
|
+
### Terminal, TUI, Slack and tools
|
|
51
144
|
|
|
52
145
|
- Terminal: a browser viewer can learn the pane's size with `?geometry=1`, Herdr views open once and keep agents at their own size, and undelivered WebSocket input is reported. ([#3775](https://github.com/mvschwarz/openrig/pull/3775), [#3801](https://github.com/mvschwarz/openrig/pull/3801), [#3752](https://github.com/mvschwarz/openrig/pull/3752))
|
|
53
146
|
- TUI and Slack: a Feed row jumps to the seat that raised it, the reply composer follows the caret, and Slack links HTTPS evidence and bounds status text. ([#3769](https://github.com/mvschwarz/openrig/pull/3769), [#3763](https://github.com/mvschwarz/openrig/pull/3763), [#3684](https://github.com/mvschwarz/openrig/pull/3684), [b712401](https://github.com/mvschwarz/openrig/commit/b71240148d7f02024cf97dc3cd90f675ca5f9da0))
|
|
@@ -56,24 +149,25 @@ The seat pool's add, whole-rig hold and dispatch paths are in place, but nothing
|
|
|
56
149
|
- Install and data: a fresh install pins a compatible `@hono/node-ws`, the CLI reports the Node 22.14 minimum consistently, migrations record what they applied, transcripts and the event stream recover from partial lines and rollbacks, the VPS bootstrap verifies its installers, and a daemon start archives a reservation from this boot once its launcher and child are both gone. ([#3742](https://github.com/mvschwarz/openrig/pull/3742), [#3822](https://github.com/mvschwarz/openrig/pull/3822), [#3384](https://github.com/mvschwarz/openrig/pull/3384), [#3826](https://github.com/mvschwarz/openrig/pull/3826), [#3824](https://github.com/mvschwarz/openrig/pull/3824), [#3795](https://github.com/mvschwarz/openrig/pull/3795), [#3658](https://github.com/mvschwarz/openrig/pull/3658))
|
|
57
150
|
- Also: `rig scope slice create --execution-depends-on` writes the build-order edges readiness reads, held messages retire without a seat identity, terminal mission views resolve through the project catalog, progress files ignore commented-out headings, and the docs clarify daemon bearer-token boundaries. ([#3618](https://github.com/mvschwarz/openrig/pull/3618), [#3729](https://github.com/mvschwarz/openrig/pull/3729), [#3613](https://github.com/mvschwarz/openrig/pull/3613), [#3522](https://github.com/mvschwarz/openrig/pull/3522), [#3745](https://github.com/mvschwarz/openrig/pull/3745))
|
|
58
151
|
|
|
59
|
-
|
|
152
|
+
### Behaviour that changed
|
|
60
153
|
|
|
61
154
|
- `rig start --last` lists the rigs it leaves out (`leftOut` in `--json`) with each one's reason; left-out rigs don't change its exit code. ([#3823](https://github.com/mvschwarz/openrig/pull/3823))
|
|
62
155
|
- Adding a person whose id a seat already uses prints a warning; the person is still added. ([#3690](https://github.com/mvschwarz/openrig/pull/3690))
|
|
63
156
|
|
|
64
|
-
|
|
157
|
+
### Known issues
|
|
65
158
|
|
|
66
159
|
- After a reboot, a rig with a seat that has neither saved startup context nor a resume token is left out of `rig start --last`; the output names it and why.
|
|
67
160
|
- A seat whose tmux session is gone can read as running if its pane id is reused, and a slow restore of a seat's original conversation can report the wrong outcome. Check the seat's screen with `rig capture`.
|
|
68
161
|
- A `rig send` while Claude's `AskUserQuestion` dialog is open can become its answer.
|
|
69
|
-
-
|
|
162
|
+
- The fixes for a paste left unsubmitted when a Claude notice shares the row under the input ([#3724](https://github.com/mvschwarz/openrig/pull/3724)) and for an idle Codex seat reading as waiting on a permission ([#3713](https://github.com/mvschwarz/openrig/pull/3713)) haven't been confirmed on an installed release yet. If you still see either, check the seat's screen with `rig capture`.
|
|
163
|
+
- When a Codex seat's `config.toml` or `hooks.json` is a symbolic link, hook trust is recorded under the link's target, so hooks may need review again. With a linked `config.toml`, OpenRig can miss a setting that turns its hooks off and set them up anyway. Review hook prompts yourself.
|
|
70
164
|
- The tmux outage record is in memory, so a restart during a loss records it again.
|
|
71
165
|
- Only one earlier restore packet is kept aside while a new one builds.
|
|
72
166
|
- A percent `context-usage-threshold` doesn't fire for a Pi seat; use a token threshold.
|
|
73
167
|
- A return route doesn't guarantee a question's arrival.
|
|
74
168
|
- Nothing arms a seat pool yet: its storage, add and dispatch paths ship, but a `pool:` block starts no agents.
|
|
75
169
|
|
|
76
|
-
|
|
170
|
+
### Credits
|
|
77
171
|
|
|
78
172
|
Thanks to Dery Ferdika, Devulapalli Naga Sri Vaishnavi, Edward Bowie, Evgeny Zotov, Leon.C, Mike Schwarz, NIKHILA, Roberto Campos, Wu Shuwen (dajiaohuang), billbenetti, bobbiejaxn, and w4rc0n. Their contributions also run the Linux seat-environment check on every merge to main and pin the two redaction pattern lists to each other.
|
|
79
173
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "agent-operated-software"
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.24"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when designing, building, operating, or diagnosing an ongoing application whose live backend or control loop includes OpenRig agents, including applications with a Markdown, YAML, or JSON agent control plane or a thin surface over specialist agent roles."
|
|
7
7
|
files:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "agent-operated-workflows"
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.24"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when a bounded real-world procedure has a deterministic happy path but brownfield, variable, or partially knowable state; when an operation must resume from verified evidence; or when deciding whether agent judgment or ordinary code should own a procedure's control loop."
|
|
7
7
|
files:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "applying-a-permission-policy"
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.24"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use before launching a team during agent-guided setup, or when a user asks to configure OpenRig command permissions, reduce repeated native approval prompts, or apply a selected rig/seat permission policy."
|
|
7
7
|
files:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "claude-compaction-restore"
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.24"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when a Claude Code session is about to compact, has just compacted, reached its context limit, resumed after /compact, or must rebuild its working picture of a long-running seat from its own restore map, its JSONL transcript and the files it touched."
|
|
7
7
|
files:
|
|
@@ -8,12 +8,11 @@ import { fileURLToPath } from "node:url";
|
|
|
8
8
|
|
|
9
9
|
const skillRoot = path.resolve(fileURLToPath(new URL("..", import.meta.url)));
|
|
10
10
|
const restoreScript = path.join(skillRoot, "scripts", "restore-from-jsonl.mjs");
|
|
11
|
-
// P6(C) injectable output-root: the packet
|
|
12
|
-
//
|
|
13
|
-
// hermetic env-var OPENRIG_COMPACTION_OUT_ROOT
|
|
14
|
-
// same injected clock + sessionId
|
|
15
|
-
// dir. Mirrors the injectable-clock seam (OPENRIG_TEST_CLOCK_NOW).
|
|
16
|
-
const outRoot = process.env.OPENRIG_COMPACTION_OUT_ROOT || "/tmp/claude-compaction-restore";
|
|
11
|
+
// P6(C) injectable output-root: restore-from-jsonl.mjs decides where the packet goes (OPENRIG_COMPACTION_OUT_ROOT, then
|
|
12
|
+
// the folder the seat's launch grants it reads in, then beside its restore maps in its launch project, then the OpenRig
|
|
13
|
+
// home's folder), so this hook passes no --out. The hermetic env-var OPENRIG_COMPACTION_OUT_ROOT makes it per-run
|
|
14
|
+
// isolated, so concurrent writers with the same injected clock + sessionId don't collide on the same
|
|
15
|
+
// `${sessionId}-${stamp}` dir. Mirrors the injectable-clock seam (OPENRIG_TEST_CLOCK_NOW).
|
|
17
16
|
// The packet is built by a detached copy of this hook (--finish), so a large transcript can take as long as it needs. The
|
|
18
17
|
// hook waits for it for 25 s by default, inside its own 30 s timeout (hooks/claude.json): a packet ready by then is
|
|
19
18
|
// reported as before; otherwise the hook says the packet is still being built, and the finisher writes the pending
|
|
@@ -263,7 +262,7 @@ function runsForThisSeatsProject(env = process.env) {
|
|
|
263
262
|
if (!runsForThisSeatsProject()) process.exit(0);
|
|
264
263
|
|
|
265
264
|
function restoreText(outputDir) {
|
|
266
|
-
return `Pre-compaction restore seed packet prepared at ${outputDir}. This hook output is informational. After compaction, OpenRig may send a later normal user message asking you to restore from this packet; treat that later normal user message as the action request. The restore protocol is: load/read the claude-compaction-restore skill, run "node ~/.claude/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs --
|
|
265
|
+
return `Pre-compaction restore seed packet prepared at ${outputDir}. This hook output is informational. After compaction, OpenRig may send a later normal user message asking you to restore from this packet; treat that later normal user message as the action request. The restore protocol is: load/read the claude-compaction-restore skill, run "node ~/.claude/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs --json" yourself when needed (it writes under ${path.dirname(outputDir)}), read the generated restore-instructions.md, read the generated touched-files.md, identify remembered important files, read those files in full, read root/as-built/codemap docs before real work, then reply with "restored from packet at <path>; resumed at step <X>" with the files you read in full. If any step fails, report the failure explicitly.`;
|
|
267
266
|
}
|
|
268
267
|
|
|
269
268
|
function failureText(reason) {
|
|
@@ -359,7 +358,7 @@ try {
|
|
|
359
358
|
const { jobPath, resultPath, reportPath } = packetJobPaths(input, jobId);
|
|
360
359
|
writeExpectedSentinel(input, { jobId, resultPath, reportPath }); // R5: sentinel FIRST, before the packet + marker (catches hook-died-partway)
|
|
361
360
|
supersedeEarlierMarker(input);
|
|
362
|
-
const args = [restoreScript, "--
|
|
361
|
+
const args = [restoreScript, "--json"];
|
|
363
362
|
if (input.cwd) args.push("--cwd", input.cwd);
|
|
364
363
|
if (input.transcript_path && input.transcript_path.endsWith(".jsonl") && fs.existsSync(input.transcript_path)) {
|
|
365
364
|
// The transcript as it stands now: compaction appends to it once this hook returns, and the packet is of what came
|
package/daemon/context-packs/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs
CHANGED
|
@@ -23,12 +23,49 @@ function stripBinary(text) {
|
|
|
23
23
|
(m) => `[base64 omitted: ~${m.length} bytes]`);
|
|
24
24
|
return s;
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
// Where packets go without --out (the PreCompact hook gives none, so this is the one place it's decided). The folder is
|
|
27
|
+
// created owner-only by writeOutputs:
|
|
28
|
+
// 1. OPENRIG_COMPACTION_OUT_ROOT, an explicit root (the test suites' own folder);
|
|
29
|
+
// 2. OPENRIG_COMPACTION_PACKET_ROOT: the OpenRig home's packet folder, which a seat's launch names when it grants the seat
|
|
30
|
+
// reads of its own packets there;
|
|
31
|
+
// 3. without it (a seat launched before packets moved into the OpenRig home, whose grant names only the old /tmp folder),
|
|
32
|
+
// the `packets` folder in the seat's launch project's OpenRig compaction folder, beside its restore maps: a seat reads its own working
|
|
33
|
+
// directory without a grant. The compaction folder ignores itself in Git, as the daemon makes it for the maps;
|
|
34
|
+
// without OpenRig's ignore file there, or a folder it can write, it's
|
|
35
|
+
// 4. the OpenRig home's packet folder.
|
|
36
|
+
function defaultOutRoot(env = process.env) {
|
|
37
|
+
if (env.OPENRIG_COMPACTION_OUT_ROOT) return env.OPENRIG_COMPACTION_OUT_ROOT;
|
|
38
|
+
const granted = env.OPENRIG_COMPACTION_PACKET_ROOT;
|
|
39
|
+
if (granted && path.isAbsolute(granted)) return granted;
|
|
40
|
+
return launchProjectPackets(env)
|
|
41
|
+
?? path.join(env.OPENRIG_HOME || env.RIGGED_HOME || path.join(os.homedir(), ".openrig"), "run", "compaction-restore");
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function launchProjectPackets(env) {
|
|
45
|
+
const project = env.OPENRIG_SEAT_PROJECT_DIR || env.CLAUDE_PROJECT_DIR;
|
|
46
|
+
if (!project || !path.isAbsolute(project) || !fs.existsSync(project)) return null;
|
|
47
|
+
try {
|
|
48
|
+
const compaction = path.join(project, ".openrig", "compaction");
|
|
49
|
+
fs.mkdirSync(compaction, { recursive: true });
|
|
50
|
+
const ignore = path.join(compaction, ".gitignore");
|
|
51
|
+
try {
|
|
52
|
+
fs.writeFileSync(ignore, "*\n", { flag: "wx", mode: 0o600 });
|
|
53
|
+
} catch (error) {
|
|
54
|
+
if (error.code !== "EEXIST" || !fs.lstatSync(ignore).isFile() || fs.readFileSync(ignore, "utf8") !== "*\n") return null;
|
|
55
|
+
}
|
|
56
|
+
const packets = path.join(compaction, "packets");
|
|
57
|
+
fs.mkdirSync(packets, { recursive: true, mode: 0o700 });
|
|
58
|
+
fs.accessSync(packets, fs.constants.W_OK | fs.constants.X_OK);
|
|
59
|
+
return packets;
|
|
60
|
+
} catch {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
27
64
|
|
|
28
65
|
function parseArgs(argv) {
|
|
29
66
|
const args = {
|
|
30
67
|
jsonl: null,
|
|
31
|
-
out:
|
|
68
|
+
out: null,
|
|
32
69
|
cwd: process.cwd(),
|
|
33
70
|
json: false,
|
|
34
71
|
tailBytes: 0,
|
|
@@ -486,7 +523,9 @@ function nowIso() {
|
|
|
486
523
|
function writeOutputs(summary, outRoot, staging) {
|
|
487
524
|
const stamp = nowIso().replace(/[:.]/g, "-");
|
|
488
525
|
const base = path.join(outRoot, `${summary.sessionId ?? "unknown-session"}-${stamp}`);
|
|
489
|
-
|
|
526
|
+
// Owner-only: a packet holds an extract of the conversation.
|
|
527
|
+
fs.mkdirSync(outRoot, { recursive: true, mode: 0o700 });
|
|
528
|
+
fs.mkdirSync(base, { recursive: true, mode: 0o700 });
|
|
490
529
|
|
|
491
530
|
const outputPaths = {
|
|
492
531
|
dir: base,
|
|
@@ -515,8 +554,9 @@ async function main() {
|
|
|
515
554
|
|
|
516
555
|
// The two text files are written while the transcript is read, before the packet's folder is named (its session id
|
|
517
556
|
// comes from the transcript), so they start in a staging folder beside it. Packet readers match `<session id>-*`.
|
|
518
|
-
const outRoot = path.resolve(args.out);
|
|
519
|
-
|
|
557
|
+
const outRoot = path.resolve(args.out ?? defaultOutRoot());
|
|
558
|
+
// Owner-only from its first creation: the staging folder below is made inside it.
|
|
559
|
+
fs.mkdirSync(outRoot, { recursive: true, mode: 0o700 });
|
|
520
560
|
// A handled stop part way still removes the staging folder: SIGTERM (the PreCompact hook's time limit) exits 143, and
|
|
521
561
|
// SIGINT (a person's Ctrl-C on the manual route) exits 130. A stop that can't be handled (SIGKILL) or a failed removal
|
|
522
562
|
// can still leave it.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "agent-starters"
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.24"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when creating, refreshing, packaging, inspecting, promoting, or deprecating a named per-seat starting point — Agent Starter manifest authoring, the 6-state lifecycle (captured → named → inspectable → used → promoted → deprecated), provenance honesty, and refusal rules. NOT a VM image; a managed starting point composed from agent role + startup context + optional native session source + provenance."
|
|
7
7
|
files:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "agent-startup-and-context-ingestion"
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.24"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when designing or auditing how an agent becomes useful after launch — AGENTS.md overlays, role files, skills, rig specs, workflow specs, startup checklists, refocus messages, \"rig context\" surface. Covers the 4 failure modes that make startup context fail (old rig spec misses current operating mode; current agents never told about new guidance; startup file as dumping ground; orchestrator transmits implementation without preserving product intent)."
|
|
7
7
|
files:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "cross-host-rig-commands"
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.24"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when addressing a registered remote OpenRig host, choosing its transport, or interpreting a cross-host result."
|
|
7
7
|
files:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "human-in-the-loop"
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.24"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when classifying a slice closeout (auto-continue / human gate / park), routing a real decision to a human, or designing a human queue/dashboard surface. Treats humans as durable network participants with attention surfaces, queues, and decision records — escalation lands as a durable attention item, not a chat message. Approval is NOT required for every clean closeout; the default RSI conveyor continues unless an explicit human gate is reached."
|
|
7
7
|
files:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "messaging-the-human"
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.24"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when you're about to ask a person something (a question, a choice or an approval), before you use your harness's own question prompt, which shows only in your terminal; and when project policy calls for a human decision or update, a human delivery is pending or failed, or a reply must resume the right work."
|
|
7
7
|
files:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "openrig-architect"
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.24"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when designing multi-agent topologies that run ON OpenRig — authoring RigSpec and AgentSpec files for new rigs, creating agent startup content (guidance / skills / culture), or diagnosing why a launched rig's agents aren't behaving as intended. NOT for changing OpenRig itself (use developing-openrig); NOT for ordinary CLI operation of an existing rig (use openrig-user). Covers the full authoring lifecycle from user intent to validated, launchable rig."
|
|
7
7
|
files:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "openrig-cmux"
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.24"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when opening OpenRig fleet terminals into cmux — turning a rig, pod, mission, slice, or saved view into live agent tiles via `rig terminal --provider cmux`, or driving cmux on an agent's request. Same OpenRig view semantics as openrig-herdr (the verbs, honest-partial/degrade, read-only cross-rig, scroll/copy, same-size-only duplicates); cmux is the **best-effort** provider (herdr is the default and the proof-gated one). Prefer openrig-herdr unless cmux is specifically wanted."
|
|
7
7
|
files:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "openrig-herdr"
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.24"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when opening OpenRig fleet terminals as a herdr wall — turning a rig, pod, mission, slice, or saved view into live interactive agent tiles via `rig terminal`, watching another rig read-only, or driving herdr on an agent's request (\"open all my rigs + a mission as views\"). Covers the `rig terminal open|views|status` verbs, the honest-partial/degrade reading of the result, the read-only-by-construction rail for cross-rig views, scroll/copy out of the box, and the same-size-only duplicate-pane "
|
|
7
7
|
files:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "openrig-skills"
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.24"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when an agent running inside OpenRig needs the right skill or context for fleet recovery, seat handover, new-seat orientation, a watchdog wake, cross-host reach to an agent on another machine, rig packaging, an OpenRig upgrade, systematic debugging, queue triage, or implementation planning; also when the agent doesn't know what applies or nothing is projected on cold boot. Installing, starting or updating OpenRig, getting back to a team or bringing a stopped one back from a person's own sess"
|
|
7
7
|
files:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "openrig-software-factory"
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.24"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when a user wants a continuing software team for a real repository, or has a first OpenRig team and needs a repeatable path for reviewed work and later tasks."
|
|
7
7
|
files:
|