@openrig/cli 0.6.6 → 0.6.8
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 +97 -28
- package/daemon/assets/claude-team-permissions.cjs +262 -0
- package/daemon/assets/onboarding/02-self-and-competent-action.md +20 -13
- package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus-health.cjs +41 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +69 -12
- package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/SKILL.md +13 -2
- package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/precompact-hook.mjs +4 -0
- package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +6 -0
- package/daemon/assets/plugins/openrig-core/skills/openrig-skills/SKILL.md +1 -1
- package/daemon/assets/plugins/openrig-core/skills/refocusing/SKILL.md +31 -4
- package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +24 -13
- package/daemon/assets/plugins/openrig-core/skills/retiring-and-inheriting-a-seat/SKILL.md +3 -0
- package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md +42 -0
- package/daemon/assets/plugins/openrig-core/skills/session-compaction-and-restore/SKILL.md +6 -0
- package/daemon/assets/skills/rigs/SKILL.md +133 -0
- package/daemon/context-packs/help/help.md +48 -19
- 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 +239 -43
- package/daemon/context-packs/reference/getting-started.md +356 -212
- package/daemon/context-packs/reference/instance-layout.md +5 -0
- package/daemon/context-packs/reference/manifest.yaml +4 -1
- package/daemon/context-packs/reference/rig-spec.md +48 -20
- package/daemon/context-packs/reference/whats-new.md +96 -0
- package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
- package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
- package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
- package/daemon/context-packs/skills/claude-compaction-restore/SKILL.md +13 -2
- package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/claude-compaction-restore/scripts/precompact-hook.mjs +4 -0
- package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +6 -0
- package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-architect/SKILL.md +3 -0
- 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/SKILL.md +1 -1
- package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-software-factory/SKILL.md +19 -12
- package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-software-factory/references/worked-example.md +17 -16
- package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +2 -0
- package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
- package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
- package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
- package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
- package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/SKILL.md +31 -4
- package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/scripts/trace-to-root.py +24 -13
- package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/SKILL.md +3 -0
- package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/seat-continuity-and-handover/SKILL.md +42 -0
- package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
- package/daemon/context-packs/skills/session-compaction-and-restore/SKILL.md +6 -0
- 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 +1 -1
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +23 -13
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-resume.js +17 -0
- package/daemon/dist/adapters/codex-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +2 -2
- package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
- package/daemon/dist/adapters/kernel-authority.js +29 -11
- package/daemon/dist/adapters/kernel-authority.js.map +1 -1
- package/daemon/dist/adapters/pi-readiness.d.ts +15 -0
- package/daemon/dist/adapters/pi-readiness.d.ts.map +1 -0
- package/daemon/dist/adapters/pi-readiness.js +90 -0
- package/daemon/dist/adapters/pi-readiness.js.map +1 -0
- package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner-protocol.js +1 -0
- package/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
- package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner.js +13 -2
- package/daemon/dist/adapters/pi-runner.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +9 -6
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/daemon/dist/db/all-migrations.js +4 -0
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/096_rig_install_root.d.ts +3 -0
- package/daemon/dist/db/migrations/096_rig_install_root.d.ts.map +1 -0
- package/daemon/dist/db/migrations/096_rig_install_root.js +5 -0
- package/daemon/dist/db/migrations/096_rig_install_root.js.map +1 -0
- package/daemon/dist/db/migrations/097_thread_part_map.d.ts +3 -0
- package/daemon/dist/db/migrations/097_thread_part_map.d.ts.map +1 -0
- package/daemon/dist/db/migrations/097_thread_part_map.js +20 -0
- package/daemon/dist/db/migrations/097_thread_part_map.js.map +1 -0
- package/daemon/dist/domain/activity-taxonomy.d.ts +7 -0
- package/daemon/dist/domain/activity-taxonomy.d.ts.map +1 -1
- package/daemon/dist/domain/activity-taxonomy.js.map +1 -1
- package/daemon/dist/domain/agent-activity-store.d.ts +12 -0
- package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
- package/daemon/dist/domain/agent-activity-store.js +55 -30
- package/daemon/dist/domain/agent-activity-store.js.map +1 -1
- package/daemon/dist/domain/agent-images/agent-image-types.d.ts +1 -1
- package/daemon/dist/domain/agent-images/agent-image-types.d.ts.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.js +6 -4
- package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
- package/daemon/dist/domain/bundle-install-context.d.ts +2 -2
- package/daemon/dist/domain/bundle-install-context.d.ts.map +1 -1
- package/daemon/dist/domain/bundle-install-context.js +16 -3
- package/daemon/dist/domain/bundle-install-context.js.map +1 -1
- package/daemon/dist/domain/bundle-types.d.ts +1 -1
- package/daemon/dist/domain/bundle-types.d.ts.map +1 -1
- package/daemon/dist/domain/chat-repository.d.ts +5 -0
- package/daemon/dist/domain/chat-repository.d.ts.map +1 -1
- package/daemon/dist/domain/chat-repository.js +8 -0
- package/daemon/dist/domain/chat-repository.js.map +1 -1
- package/daemon/dist/domain/claim-service.d.ts.map +1 -1
- package/daemon/dist/domain/claim-service.js +5 -4
- package/daemon/dist/domain/claim-service.js.map +1 -1
- package/daemon/dist/domain/claude-activity-hooks.d.ts +3 -0
- package/daemon/dist/domain/claude-activity-hooks.d.ts.map +1 -1
- package/daemon/dist/domain/claude-activity-hooks.js +8 -1
- package/daemon/dist/domain/claude-activity-hooks.js.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts +34 -2
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +195 -107
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
- package/daemon/dist/domain/codex-thread-id.js +4 -2
- package/daemon/dist/domain/codex-thread-id.js.map +1 -1
- package/daemon/dist/domain/context-monitor.d.ts +5 -0
- package/daemon/dist/domain/context-monitor.d.ts.map +1 -1
- package/daemon/dist/domain/context-monitor.js +23 -6
- package/daemon/dist/domain/context-monitor.js.map +1 -1
- package/daemon/dist/domain/execution-view.d.ts.map +1 -1
- package/daemon/dist/domain/execution-view.js +57 -11
- package/daemon/dist/domain/execution-view.js.map +1 -1
- package/daemon/dist/domain/gateway/connections-projection.d.ts +4 -0
- package/daemon/dist/domain/gateway/connections-projection.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/connections-projection.js +2 -0
- package/daemon/dist/domain/gateway/connections-projection.js.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.js +7 -4
- package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
- package/daemon/dist/domain/gateway/human-readiness.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/human-readiness.js +23 -6
- package/daemon/dist/domain/gateway/human-readiness.js.map +1 -1
- package/daemon/dist/domain/gateway/human-registry.d.ts +2 -2
- package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/human-registry.js +2 -2
- package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/capabilities.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/capabilities.js +3 -1
- package/daemon/dist/domain/gateway/slack/capabilities.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/channel-map.d.ts +39 -0
- package/daemon/dist/domain/gateway/slack/channel-map.d.ts.map +1 -0
- package/daemon/dist/domain/gateway/slack/channel-map.js +114 -0
- package/daemon/dist/domain/gateway/slack/channel-map.js.map +1 -0
- package/daemon/dist/domain/gateway/slack/config.d.ts +7 -0
- package/daemon/dist/domain/gateway/slack/config.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/config.js +19 -2
- package/daemon/dist/domain/gateway/slack/config.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts +24 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.js +105 -3
- package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.d.ts +7 -0
- package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.js +36 -0
- package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts +2 -0
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js +1 -0
- package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-api.d.ts +7 -2
- package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-api.js +35 -3
- package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +34 -7
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.js +268 -51
- package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +17 -0
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js +107 -24
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/socket-inbound.d.ts +2 -0
- package/daemon/dist/domain/gateway/slack/socket-inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/socket-inbound.js +40 -0
- package/daemon/dist/domain/gateway/slack/socket-inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/thread-routing.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/thread-routing.js +22 -2
- package/daemon/dist/domain/gateway/slack/thread-routing.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts +14 -0
- package/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/thread-seat-map.js +27 -0
- package/daemon/dist/domain/gateway/slack/thread-seat-map.js.map +1 -1
- package/daemon/dist/domain/generated-file-hygiene.d.ts.map +1 -1
- package/daemon/dist/domain/generated-file-hygiene.js +7 -4
- package/daemon/dist/domain/generated-file-hygiene.js.map +1 -1
- package/daemon/dist/domain/managed-blocks.d.ts.map +1 -1
- package/daemon/dist/domain/managed-blocks.js +5 -2
- package/daemon/dist/domain/managed-blocks.js.map +1 -1
- package/daemon/dist/domain/markdown-address.d.ts.map +1 -1
- package/daemon/dist/domain/markdown-address.js +23 -6
- package/daemon/dist/domain/markdown-address.js.map +1 -1
- package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
- package/daemon/dist/domain/native-process-lineage.js +50 -3
- package/daemon/dist/domain/native-process-lineage.js.map +1 -1
- package/daemon/dist/domain/node-inventory.d.ts +2 -2
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +30 -4
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +1 -0
- package/daemon/dist/domain/node-launcher.js.map +1 -1
- package/daemon/dist/domain/pane-binding-observation.d.ts +1 -0
- package/daemon/dist/domain/pane-binding-observation.d.ts.map +1 -1
- package/daemon/dist/domain/pane-binding-observation.js +3 -1
- package/daemon/dist/domain/pane-binding-observation.js.map +1 -1
- package/daemon/dist/domain/plugin-vendor-service.d.ts +6 -0
- package/daemon/dist/domain/plugin-vendor-service.d.ts.map +1 -1
- package/daemon/dist/domain/plugin-vendor-service.js +12 -0
- package/daemon/dist/domain/plugin-vendor-service.js.map +1 -1
- package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/profile-resolver.js +54 -15
- package/daemon/dist/domain/profile-resolver.js.map +1 -1
- package/daemon/dist/domain/ps-projection.d.ts +11 -9
- package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
- package/daemon/dist/domain/ps-projection.js +15 -12
- package/daemon/dist/domain/ps-projection.js.map +1 -1
- package/daemon/dist/domain/queue-nudge-text.d.ts +4 -0
- package/daemon/dist/domain/queue-nudge-text.d.ts.map +1 -0
- package/daemon/dist/domain/queue-nudge-text.js +35 -0
- package/daemon/dist/domain/queue-nudge-text.js.map +1 -0
- package/daemon/dist/domain/queue-repository.d.ts +7 -0
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +50 -20
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-retention.d.ts +2 -2
- package/daemon/dist/domain/queue-retention.js +4 -4
- package/daemon/dist/domain/queue-wait-backoff.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wait-backoff.js +6 -2
- package/daemon/dist/domain/queue-wait-backoff.js.map +1 -1
- package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
- package/daemon/dist/domain/queue-waiting.js +7 -2
- package/daemon/dist/domain/queue-waiting.js.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts +15 -2
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +29 -6
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/rehydrate-eligibility.d.ts.map +1 -1
- package/daemon/dist/domain/rehydrate-eligibility.js +5 -2
- package/daemon/dist/domain/rehydrate-eligibility.js.map +1 -1
- package/daemon/dist/domain/reply-to-choice.d.ts +6 -2
- package/daemon/dist/domain/reply-to-choice.d.ts.map +1 -1
- package/daemon/dist/domain/reply-to-choice.js +9 -6
- package/daemon/dist/domain/reply-to-choice.js.map +1 -1
- package/daemon/dist/domain/restore-check-service.d.ts +5 -1
- package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
- package/daemon/dist/domain/restore-check-service.js +17 -3
- package/daemon/dist/domain/restore-check-service.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +1 -0
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +17 -11
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/rig-repository.d.ts +3 -1
- package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/daemon/dist/domain/rig-repository.js +13 -4
- package/daemon/dist/domain/rig-repository.js.map +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/daemon/dist/domain/rig-teardown.js +6 -0
- package/daemon/dist/domain/rig-teardown.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +1 -0
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.js +8 -4
- package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
- package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-schema.js +19 -4
- package/daemon/dist/domain/rigspec-schema.js.map +1 -1
- package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-activity-service.js +16 -6
- package/daemon/dist/domain/seat-activity-service.js.map +1 -1
- package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-handover-service.js +9 -1
- package/daemon/dist/domain/seat-handover-service.js.map +1 -1
- package/daemon/dist/domain/session-jsonl.d.ts.map +1 -1
- package/daemon/dist/domain/session-jsonl.js +10 -4
- package/daemon/dist/domain/session-jsonl.js.map +1 -1
- package/daemon/dist/domain/session-transport.d.ts +16 -21
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +70 -37
- package/daemon/dist/domain/session-transport.js.map +1 -1
- package/daemon/dist/domain/skill-audit.d.ts +19 -0
- package/daemon/dist/domain/skill-audit.d.ts.map +1 -1
- package/daemon/dist/domain/skill-audit.js +97 -5
- package/daemon/dist/domain/skill-audit.js.map +1 -1
- package/daemon/dist/domain/skill-catalog.d.ts +11 -0
- package/daemon/dist/domain/skill-catalog.d.ts.map +1 -1
- package/daemon/dist/domain/skill-catalog.js +145 -12
- package/daemon/dist/domain/skill-catalog.js.map +1 -1
- package/daemon/dist/domain/skill-mirror-drift.d.ts +6 -1
- package/daemon/dist/domain/skill-mirror-drift.d.ts.map +1 -1
- package/daemon/dist/domain/skill-mirror-drift.js +23 -12
- package/daemon/dist/domain/skill-mirror-drift.js.map +1 -1
- package/daemon/dist/domain/snapshot-repository.d.ts.map +1 -1
- package/daemon/dist/domain/snapshot-repository.js +12 -32
- package/daemon/dist/domain/snapshot-repository.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts +4 -1
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.js +14 -7
- package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
- package/daemon/dist/domain/terminal/terminal-provider.d.ts +9 -0
- package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.d.ts +4 -0
- package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.js +23 -11
- package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
- package/daemon/dist/domain/transcript-store.d.ts.map +1 -1
- package/daemon/dist/domain/transcript-store.js +21 -9
- package/daemon/dist/domain/transcript-store.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +2 -0
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/usage-samples-store.js +2 -2
- package/daemon/dist/domain/usage-samples-store.js.map +1 -1
- package/daemon/dist/domain/usage-series.d.ts.map +1 -1
- package/daemon/dist/domain/usage-series.js +42 -10
- package/daemon/dist/domain/usage-series.js.map +1 -1
- package/daemon/dist/domain/user-settings/settings-browser.d.ts.map +1 -1
- package/daemon/dist/domain/user-settings/settings-browser.js +2 -0
- package/daemon/dist/domain/user-settings/settings-browser.js.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.js +1 -1
- package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/daemon/dist/domain/watchdog-due.d.ts +17 -0
- package/daemon/dist/domain/watchdog-due.d.ts.map +1 -0
- package/daemon/dist/domain/watchdog-due.js +45 -0
- package/daemon/dist/domain/watchdog-due.js.map +1 -0
- package/daemon/dist/domain/watchdog-scheduler.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-scheduler.js +3 -7
- package/daemon/dist/domain/watchdog-scheduler.js.map +1 -1
- package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-projector.js +15 -5
- package/daemon/dist/domain/workflow-projector.js.map +1 -1
- package/daemon/dist/domain/workflow-runtime.js +1 -1
- package/daemon/dist/domain/workflow-runtime.js.map +1 -1
- package/daemon/dist/domain/workflow-step-trail-log.d.ts +6 -0
- package/daemon/dist/domain/workflow-step-trail-log.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-step-trail-log.js +11 -0
- package/daemon/dist/domain/workflow-step-trail-log.js.map +1 -1
- package/daemon/dist/domain/workflow-validator.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-validator.js +22 -1
- package/daemon/dist/domain/workflow-validator.js.map +1 -1
- package/daemon/dist/domain/workspace/project-catalog.js +1 -1
- package/daemon/dist/domain/workspace/project-catalog.js.map +1 -1
- package/daemon/dist/gateway-slack-surface.d.ts +1 -0
- package/daemon/dist/gateway-slack-surface.d.ts.map +1 -1
- package/daemon/dist/gateway-slack-surface.js +2 -1
- package/daemon/dist/gateway-slack-surface.js.map +1 -1
- package/daemon/dist/index.d.ts +1 -0
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +7 -7
- package/daemon/dist/index.js.map +1 -1
- package/daemon/dist/routes/agent-images.js +5 -5
- package/daemon/dist/routes/agent-images.js.map +1 -1
- package/daemon/dist/routes/bootstrap-failure-response.d.ts +13 -0
- package/daemon/dist/routes/bootstrap-failure-response.d.ts.map +1 -0
- package/daemon/dist/routes/bootstrap-failure-response.js +52 -0
- package/daemon/dist/routes/bootstrap-failure-response.js.map +1 -0
- package/daemon/dist/routes/bundles.d.ts.map +1 -1
- package/daemon/dist/routes/bundles.js +23 -36
- package/daemon/dist/routes/bundles.js.map +1 -1
- package/daemon/dist/routes/chat.d.ts.map +1 -1
- package/daemon/dist/routes/chat.js +16 -1
- package/daemon/dist/routes/chat.js.map +1 -1
- package/daemon/dist/routes/restore-check.d.ts.map +1 -1
- package/daemon/dist/routes/restore-check.js +2 -0
- package/daemon/dist/routes/restore-check.js.map +1 -1
- package/daemon/dist/routes/rigs.js +2 -2
- package/daemon/dist/routes/rigs.js.map +1 -1
- package/daemon/dist/routes/seat.js +13 -13
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/sessions.js +11 -11
- package/daemon/dist/routes/sessions.js.map +1 -1
- package/daemon/dist/routes/skills.d.ts.map +1 -1
- package/daemon/dist/routes/skills.js +15 -7
- package/daemon/dist/routes/skills.js.map +1 -1
- package/daemon/dist/routes/terminal-ws.js +15 -2
- package/daemon/dist/routes/terminal-ws.js.map +1 -1
- package/daemon/dist/routes/terminal.d.ts.map +1 -1
- package/daemon/dist/routes/terminal.js +6 -4
- package/daemon/dist/routes/terminal.js.map +1 -1
- package/daemon/dist/routes/up.d.ts.map +1 -1
- package/daemon/dist/routes/up.js +5 -56
- package/daemon/dist/routes/up.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +32 -7
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/dist/terminal/TerminalSessionBroker.d.ts.map +1 -1
- package/daemon/dist/terminal/TerminalSessionBroker.js +9 -1
- package/daemon/dist/terminal/TerminalSessionBroker.js.map +1 -1
- package/daemon/docs/reference/agent-spec.md +10 -10
- package/daemon/docs/reference/agent-startup-guide.md +7 -2
- package/daemon/docs/reference/bundle-formats.md +6 -4
- package/daemon/docs/reference/chain-file-convention.md +2 -2
- package/daemon/docs/reference/developing.md +1 -1
- package/daemon/docs/reference/edge-types.md +1 -1
- package/daemon/docs/reference/getting-started.md +356 -212
- package/daemon/docs/reference/help.md +48 -19
- package/daemon/docs/reference/instance-layout.md +5 -0
- package/daemon/docs/reference/non-interruptive-mode.md +7 -4
- package/daemon/docs/reference/project-workspace.md +2 -2
- package/daemon/docs/reference/publishing-a-rig-bundle.md +15 -10
- package/daemon/docs/reference/refocus-channel.md +14 -2
- package/daemon/docs/reference/rig-bundle.md +39 -19
- package/daemon/docs/reference/rig-spec.md +48 -20
- package/daemon/docs/reference/rosters.md +2 -1
- package/daemon/docs/reference/schemas/registry-entry.v1.schema.json +1 -1
- package/daemon/docs/reference/sdlc-conventions.md +4 -2
- package/daemon/docs/reference/slack-app-setup.md +69 -9
- package/daemon/docs/reference/topology-naming.md +74 -0
- package/daemon/docs/reference/whats-new.md +96 -0
- package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +6 -0
- package/daemon/specs/agents/shared/skills/core/openrig-architect/SKILL.md +3 -0
- package/daemon/specs/agents/shared/skills/core/openrig-skills/SKILL.md +1 -1
- package/daemon/specs/agents/shared/skills/core/openrig-software-factory/SKILL.md +19 -12
- package/daemon/specs/agents/shared/skills/core/openrig-software-factory/references/worked-example.md +17 -16
- package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +2 -0
- package/daemon/specs/rigs/launch/factory/guidance/lead-first-move.md +60 -0
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +105 -19
- package/daemon/specs/rigs/launch/kernel/culture/CULTURE.md +5 -2
- package/daemon/specs/rigs/launch/starter/guidance/lead-first-move.md +44 -0
- package/dist/build-info.js +3 -3
- package/dist/cli-error.d.ts.map +1 -1
- package/dist/cli-error.js +11 -3
- package/dist/cli-error.js.map +1 -1
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -0
- package/dist/client.js.map +1 -1
- package/dist/commands/agent-image.js +2 -2
- package/dist/commands/agent-image.js.map +1 -1
- package/dist/commands/bundle.d.ts.map +1 -1
- package/dist/commands/bundle.js +5 -4
- package/dist/commands/bundle.js.map +1 -1
- package/dist/commands/chatroom.d.ts.map +1 -1
- package/dist/commands/chatroom.js +21 -1
- package/dist/commands/chatroom.js.map +1 -1
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +12 -2
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/doctor.d.ts +3 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +14 -7
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/down.d.ts.map +1 -1
- package/dist/commands/down.js +42 -0
- package/dist/commands/down.js.map +1 -1
- package/dist/commands/gateway.d.ts.map +1 -1
- package/dist/commands/gateway.js +4 -3
- package/dist/commands/gateway.js.map +1 -1
- package/dist/commands/launch.d.ts.map +1 -1
- package/dist/commands/launch.js +114 -8
- package/dist/commands/launch.js.map +1 -1
- package/dist/commands/package.d.ts.map +1 -1
- package/dist/commands/package.js +6 -3
- package/dist/commands/package.js.map +1 -1
- package/dist/commands/policy.d.ts.map +1 -1
- package/dist/commands/policy.js +6 -5
- package/dist/commands/policy.js.map +1 -1
- package/dist/commands/proof.js +1 -1
- package/dist/commands/proof.js.map +1 -1
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +6 -3
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/restore-packet.d.ts.map +1 -1
- package/dist/commands/restore-packet.js +6 -4
- package/dist/commands/restore-packet.js.map +1 -1
- package/dist/commands/scope.js +6 -6
- package/dist/commands/scope.js.map +1 -1
- package/dist/commands/setup.d.ts +6 -15
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +121 -332
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/skill.d.ts.map +1 -1
- package/dist/commands/skill.js +12 -1
- package/dist/commands/skill.js.map +1 -1
- package/dist/commands/slack.d.ts +5 -1
- package/dist/commands/slack.d.ts.map +1 -1
- package/dist/commands/slack.js +143 -6
- package/dist/commands/slack.js.map +1 -1
- package/dist/commands/stream.js +1 -1
- package/dist/commands/stream.js.map +1 -1
- package/dist/commands/terminal.d.ts +33 -0
- package/dist/commands/terminal.d.ts.map +1 -1
- package/dist/commands/terminal.js +30 -12
- package/dist/commands/terminal.js.map +1 -1
- package/dist/commands/tui.js +4 -4
- package/dist/commands/tui.js.map +1 -1
- package/dist/commands/workflow-follow.d.ts +1 -1
- package/dist/commands/workflow-follow.d.ts.map +1 -1
- package/dist/commands/workflow-follow.js +4 -3
- package/dist/commands/workflow-follow.js.map +1 -1
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +30 -18
- package/dist/commands/workflow.js.map +1 -1
- package/dist/config-store.js +1 -1
- package/dist/config-store.js.map +1 -1
- package/dist/front-door.d.ts.map +1 -1
- package/dist/front-door.js +4 -2
- package/dist/front-door.js.map +1 -1
- package/dist/herdr-launch-config.d.ts +3 -0
- package/dist/herdr-launch-config.d.ts.map +1 -0
- package/dist/herdr-launch-config.js +37 -0
- package/dist/herdr-launch-config.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/launch-plan-guard.d.ts +27 -0
- package/dist/launch-plan-guard.d.ts.map +1 -0
- package/dist/launch-plan-guard.js +73 -0
- package/dist/launch-plan-guard.js.map +1 -0
- package/dist/lib/bundle-source.d.ts +2 -0
- package/dist/lib/bundle-source.d.ts.map +1 -1
- package/dist/lib/bundle-source.js +12 -1
- package/dist/lib/bundle-source.js.map +1 -1
- package/dist/lib/context-git.d.ts +2 -0
- package/dist/lib/context-git.d.ts.map +1 -1
- package/dist/lib/context-git.js +55 -5
- package/dist/lib/context-git.js.map +1 -1
- package/dist/lib/scope/scope-fs.d.ts +3 -2
- package/dist/lib/scope/scope-fs.d.ts.map +1 -1
- package/dist/lib/scope/scope-fs.js +97 -9
- package/dist/lib/scope/scope-fs.js.map +1 -1
- package/dist/lib/scope/templates.d.ts.map +1 -1
- package/dist/lib/scope/templates.js +28 -24
- package/dist/lib/scope/templates.js.map +1 -1
- package/dist/provider-auth.d.ts +32 -0
- package/dist/provider-auth.d.ts.map +1 -0
- package/dist/provider-auth.js +128 -0
- package/dist/provider-auth.js.map +1 -0
- package/dist/terminal-window.d.ts +19 -0
- package/dist/terminal-window.d.ts.map +1 -0
- package/dist/terminal-window.js +513 -0
- package/dist/terminal-window.js.map +1 -0
- package/package.json +2 -2
- package/tui/dist/commands/registry.js +2 -2
- package/tui/dist/commands/registry.js.map +1 -1
- package/tui/dist/config/config-model.d.ts.map +1 -1
- package/tui/dist/config/config-model.js +1 -0
- package/tui/dist/config/config-model.js.map +1 -1
- package/tui/dist/connections/connections-model.d.ts +5 -0
- package/tui/dist/connections/connections-model.d.ts.map +1 -1
- package/tui/dist/connections/connections-model.js +1 -1
- package/tui/dist/connections/connections-model.js.map +1 -1
- package/tui/dist/daemon-client.d.ts +5 -0
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js.map +1 -1
- package/tui/dist/execution/workflow-model.d.ts.map +1 -1
- package/tui/dist/execution/workflow-model.js +3 -1
- package/tui/dist/execution/workflow-model.js.map +1 -1
- package/tui/dist/hydrate.d.ts +1 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +3 -1
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/main.js +39 -15
- package/tui/dist/main.js.map +1 -1
- package/tui/dist/page-read.js +1 -1
- package/tui/dist/page-read.js.map +1 -1
- package/tui/dist/pending-address.d.ts +7 -0
- package/tui/dist/pending-address.d.ts.map +1 -0
- package/tui/dist/pending-address.js +11 -0
- package/tui/dist/pending-address.js.map +1 -0
- package/tui/dist/render.d.ts.map +1 -1
- package/tui/dist/render.js +10 -6
- package/tui/dist/render.js.map +1 -1
- package/tui/dist/scopes/scopes-model.js +4 -4
- package/tui/dist/socket-server.d.ts +3 -1
- package/tui/dist/socket-server.d.ts.map +1 -1
- package/tui/dist/socket-server.js +6 -0
- package/tui/dist/socket-server.js.map +1 -1
- package/tui/dist/state.d.ts.map +1 -1
- package/tui/dist/state.js +40 -13
- package/tui/dist/state.js.map +1 -1
- package/tui/dist/stylize.js +1 -1
- package/tui/dist/stylize.js.map +1 -1
- package/tui/dist/terminals/open-window.d.ts +5 -0
- package/tui/dist/terminals/open-window.d.ts.map +1 -0
- package/tui/dist/terminals/open-window.js +55 -0
- package/tui/dist/terminals/open-window.js.map +1 -0
- package/tui/dist/terminals/terminal-model.d.ts.map +1 -1
- package/tui/dist/terminals/terminal-model.js +16 -17
- package/tui/dist/terminals/terminal-model.js.map +1 -1
- package/tui/dist/types.d.ts +16 -1
- package/tui/dist/types.d.ts.map +1 -1
- package/ui/dist/assets/{index-HHSvwF97.js → index-D5n8EwkG.js} +1 -1
- package/ui/dist/index.html +1 -1
|
@@ -79,6 +79,11 @@ Missing or malformed selections fail; absence is never inferred as disablement.
|
|
|
79
79
|
`rig context work-install --json` reports the effective state, source, manifest,
|
|
80
80
|
context selectors, and skills. With `--runtime`, its managed skill loadout then
|
|
81
81
|
combines System World, topology, and Project World selectors with provenance.
|
|
82
|
+
The catalog is a Git checkout. A skill folder with uncommitted or untracked content is
|
|
83
|
+
skipped by itself and named. With `--runtime`, work-install reports selected skips with
|
|
84
|
+
exit 1. It inspects by default; `--apply-skills` projects the remaining clean skills while
|
|
85
|
+
keeping any previously projected copy of the skipped skill. An uncommitted change directly
|
|
86
|
+
in the catalog root, such as `catalog.yaml`, still makes the whole catalog unavailable.
|
|
82
87
|
|
|
83
88
|
For a pre-0.5.9 home, use the `openrig-upgrade` skill's
|
|
84
89
|
`migrate-telemetry-state-0.5.9.mjs` helper as an Agent-Operated Migration. Its
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Reference guides the help pack links 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.6.
|
|
4
|
+
version: "0.6.8"
|
|
5
5
|
taxonomy: world
|
|
6
6
|
purpose: "Version-matched reference guides the help guide links to. Load a single file or section by address; don't load the whole pack."
|
|
7
7
|
files:
|
|
@@ -14,3 +14,6 @@ files:
|
|
|
14
14
|
- path: rig-spec.md
|
|
15
15
|
role: reference
|
|
16
16
|
summary: "The rig specification format."
|
|
17
|
+
- path: whats-new.md
|
|
18
|
+
role: reference
|
|
19
|
+
summary: "What changed in the installed version, for an agent on an upgraded install."
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
# RigSpec Reference
|
|
2
2
|
|
|
3
3
|
Version: 0.2 (pod-aware)
|
|
4
|
-
Last validated against code: 2026-10-
|
|
5
|
-
Source of truth: `packages/daemon/src/domain/rigspec-schema.ts`, `packages/daemon/src/domain/types.ts`, `packages/daemon/src/domain/startup-validation.ts`, `packages/daemon/src/domain/permission-policy/policy-ref.ts`, `packages/daemon/src/domain/profile-resolver.ts`, `packages/daemon/src/domain/rigspec-preflight.ts`
|
|
4
|
+
Last validated against code: 2026-10-07, at the 0.6.6 cut `2620dea8` (whole document at `fcaf1f8e`; changes to its sources since then checked)
|
|
5
|
+
Source of truth: `packages/daemon/src/domain/rigspec-schema.ts`, `packages/daemon/src/domain/types.ts`, `packages/daemon/src/domain/startup-validation.ts`, `packages/daemon/src/domain/permission-policy/policy-ref.ts`, `packages/daemon/src/domain/profile-resolver.ts`, `packages/daemon/src/domain/rigspec-preflight.ts`, `packages/daemon/src/adapters/kernel-authority.ts`, `packages/daemon/src/domain/native-permission-store.ts`, `packages/daemon/src/domain/codex-team-workspace.ts`
|
|
6
6
|
|
|
7
7
|
This is the canonical reference for the pod-aware RigSpec YAML format. Every field, validation rule, and default documented here was traced from the actual parser and validator code, not from prior documentation.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
For choosing IDs, see [naming rigs, pods and seats](topology-naming.md). Keep the same
|
|
12
|
+
logical names in edges, startup instructions, workflow targets and runtime presets.
|
|
13
|
+
|
|
11
14
|
## Minimal Valid Example
|
|
12
15
|
|
|
13
16
|
```yaml
|
|
@@ -18,7 +21,7 @@ pods:
|
|
|
18
21
|
- id: dev
|
|
19
22
|
label: Development
|
|
20
23
|
members:
|
|
21
|
-
- id:
|
|
24
|
+
- id: build
|
|
22
25
|
agent_ref: "local:agents/impl"
|
|
23
26
|
profile: default
|
|
24
27
|
runtime: claude-code
|
|
@@ -105,7 +108,7 @@ pods:
|
|
|
105
108
|
required: true
|
|
106
109
|
actions: []
|
|
107
110
|
members:
|
|
108
|
-
- id:
|
|
111
|
+
- id: build
|
|
109
112
|
agent_ref: "local:agents/impl"
|
|
110
113
|
profile: default
|
|
111
114
|
runtime: claude-code
|
|
@@ -131,7 +134,7 @@ pods:
|
|
|
131
134
|
cwd: "."
|
|
132
135
|
edges:
|
|
133
136
|
- kind: delegates_to
|
|
134
|
-
from:
|
|
137
|
+
from: build
|
|
135
138
|
to: qa
|
|
136
139
|
|
|
137
140
|
- id: rev
|
|
@@ -152,13 +155,13 @@ pods:
|
|
|
152
155
|
edges:
|
|
153
156
|
- kind: delegates_to
|
|
154
157
|
from: orch.lead
|
|
155
|
-
to: dev.
|
|
158
|
+
to: dev.build
|
|
156
159
|
- kind: delegates_to
|
|
157
160
|
from: orch.peer
|
|
158
161
|
to: dev.qa
|
|
159
162
|
- kind: can_observe
|
|
160
163
|
from: rev.r1
|
|
161
|
-
to: dev.
|
|
164
|
+
to: dev.build
|
|
162
165
|
- kind: can_observe
|
|
163
166
|
from: rev.r2
|
|
164
167
|
to: dev.qa
|
|
@@ -226,12 +229,35 @@ Claude keeps `acceptEdits` and receives inline session settings allowing ordinar
|
|
|
226
229
|
`rig` commands, project reads and common project test commands (for example,
|
|
227
230
|
`npm test`, `pnpm test`, `pytest`, `go test` and `cargo test`). Lifecycle commands
|
|
228
231
|
such as `rig up`, `rig down`, `rig restore`, `rig bundle install` and seat stop or
|
|
229
|
-
handover
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
handover ask through a session `PreToolUse` hook. Their literal help forms, such
|
|
233
|
+
as `rig down --help`, `rig bundle install -h` and `rig help down`, run without
|
|
234
|
+
that lifecycle prompt. Native personal, project and managed deny/ask rules still
|
|
235
|
+
apply; OpenRig does not remove or override them.
|
|
236
|
+
|
|
237
|
+
For allowances, the hook recognizes literal command words (including quoted or absolute paths),
|
|
238
|
+
leading environment assignments that do not change executable lookup or startup,
|
|
239
|
+
and `env`, `command` and `exec` wrappers without options other than `--`.
|
|
240
|
+
Relative executable paths and assignments such as `PATH` or `NODE_OPTIONS` stay
|
|
241
|
+
with native checks. The same existing team allowances apply after spelling
|
|
242
|
+
normalization; project `node_modules/.bin/vitest` and `jest` paths match their
|
|
243
|
+
existing `npx` allowances. It does not automatically allow pipelines, command
|
|
244
|
+
substitutions, redirects, heredocs, shell functions or other unrecognized syntax.
|
|
245
|
+
Lifecycle prefixes are checked at every word position, including after wrappers,
|
|
246
|
+
control-flow words and CLI argument separators. A `--` separator before or after
|
|
247
|
+
the subcommand ends option parsing, so a later `--help` is an operand and still
|
|
248
|
+
asks. Ask detection also scans with comment text retained, so a `#` inside a
|
|
249
|
+
substitution does not hide a later lifecycle command. Unquoted prose or comments
|
|
250
|
+
containing a lifecycle command may also ask; ordinary trailing comments do not
|
|
251
|
+
change allowance matching. Quoted messages and quoted heredoc bodies remain data.
|
|
252
|
+
Arithmetic shifts are not treated as heredoc operators. These are command
|
|
253
|
+
allowances, not containment: a project's test command can execute code. The
|
|
254
|
+
hook and allowances are passed with `--settings` at launch, including resume
|
|
255
|
+
and fork; nothing is written to personal or project permission files.
|
|
256
|
+
|
|
257
|
+
If the helper asset is missing at launch, OpenRig falls back to the native lifecycle
|
|
258
|
+
ask rules; help can prompt in that fallback. A helper that disappears or times out
|
|
259
|
+
after launch cannot supply a decision, leaving Claude's remaining native rules
|
|
260
|
+
in effect. The hook is a convenience policy, not a containment boundary.
|
|
235
261
|
|
|
236
262
|
Codex keeps `workspace-write` with its existing approval policy and receives the
|
|
237
263
|
configured OpenRig workspace root plus its pod's shared state directory as
|
|
@@ -267,7 +293,8 @@ The destructive class is `delete_everything`, `drop_persistent_store` and
|
|
|
267
293
|
**At launch.** `builtin:yolo` selects Claude `--dangerously-skip-permissions`, Codex
|
|
268
294
|
`-s danger-full-access -a never`, and Pi `--approve`. `builtin:auto` selects Claude
|
|
269
295
|
`--permission-mode auto`, while Codex and Pi do not have an auto mode and launch at the floor.
|
|
270
|
-
Every other seat launches at the floor
|
|
296
|
+
Every other seat launches at the floor (a non-kernel seat with no policy also gets the
|
|
297
|
+
[team launch default](#team-launch-defaults) above):
|
|
271
298
|
- Claude `--permission-mode acceptEdits`;
|
|
272
299
|
- Codex `-s workspace-write`, or `-p <profile>` when the member sets
|
|
273
300
|
`codex_config_profile`, in which case the profile governs its own sandbox;
|
|
@@ -276,7 +303,8 @@ Every other seat launches at the floor:
|
|
|
276
303
|
Seats of the rig named `kernel` are the exception. With no member or rig policy, no
|
|
277
304
|
per-seat choice and (for Codex) no named profile, Claude launches in `acceptEdits` with a
|
|
278
305
|
per-launch `--settings` allow list for its file tools and operational commands, and Codex
|
|
279
|
-
launches with `-s danger-full-access -a never
|
|
306
|
+
launches with `-s danger-full-access -a never`, plus per-launch `-c` overrides that hide its
|
|
307
|
+
full-access and GPT-5.1 migration notices, whatever the rig's non-interruptive choice.
|
|
280
308
|
|
|
281
309
|
**Config-surface policies are recorded, not applied at launch.** The seat still starts at
|
|
282
310
|
the floor. The `allow`, `ask` and `deny` rules take effect once they are translated into the
|
|
@@ -388,7 +416,7 @@ directory's `CLAUDE.md`, including blocks written by other rigs.
|
|
|
388
416
|
|
|
389
417
|
- **State:** Each seat uses `$OPENRIG_HOME/state/pi/<session>/agent` as its Pi agent directory, with `sessions/` beside it, instead of your default `~/.pi/agent`. The runner sets `PI_CODING_AGENT_DIR` to that directory. `<session>` is the seat's session name, unchanged; for a pod member it is `{podId}-{memberId}@{rigName}`. `$OPENRIG_HOME` defaults to `~/.openrig`. OpenRig creates these directories at launch and does not copy anything from `~/.pi/agent`.
|
|
390
418
|
- **Custom models:** Pi reads `models.json` from its agent directory, so a seat reads `$OPENRIG_HOME/state/pi/<session>/agent/models.json`, not `~/.pi/agent/models.json`. Custom provider and model definitions for a seat go in that file. A seat that uses only providers Pi already includes does not need one. OpenRig does not create or write `models.json`.
|
|
391
|
-
- **Credentials:** The Pi process receives only `PATH`, `HOME`, `USER`, `LOGNAME`, `TERM`, `LANG`, `LC_ALL`, `SHELL`, `TMPDIR`, a fixed set of OpenRig seat and instance variables, `PI_CODING_AGENT_DIR`, `PI_CODING_AGENT_SESSION_DIR`, and at most one provider key. That key is `OPENROUTER_API_KEY`, `ZAI_API_KEY` or `
|
|
419
|
+
- **Credentials:** The Pi process receives only `PATH`, `HOME`, `USER`, `LOGNAME`, `TERM`, `LANG`, `LC_ALL`, `SHELL`, `TMPDIR`, a fixed set of OpenRig seat and instance variables, `PI_CODING_AGENT_DIR`, `PI_CODING_AGENT_SESSION_DIR`, and at most one provider key. That key is `OPENROUTER_API_KEY`, `ZAI_API_KEY`, `KIMI_API_KEY` or `MINIMAX_API_KEY`, passed only when it is set in the seat's environment and the seat's `model` is written as `openrouter/<id>`, `zai/<id>`, `kimi-coding/<id>` or `minimax/<id>`. Naming that variable in `recovery.provider_auth_env_allowlist` (empty by default) makes the daemon add it, when set in the daemon's environment, to the seat's launch environment. No other variable reaches Pi, including other providers' keys and a custom provider's own key variable.
|
|
392
420
|
|
|
393
421
|
### Oh My Pi (`runtime: omp`)
|
|
394
422
|
|
|
@@ -428,7 +456,7 @@ The canonical session name is derived from the pod ID, member ID, and rig name:
|
|
|
428
456
|
{podId}-{memberId}@{rigName}
|
|
429
457
|
```
|
|
430
458
|
|
|
431
|
-
Example: pod `dev`, member `
|
|
459
|
+
Example: pod `dev`, member `build`, rig `my-team` → session `dev-build@my-team`
|
|
432
460
|
|
|
433
461
|
Pod and member IDs cannot contain `@` because the first `@` separates their portion
|
|
434
462
|
of the session address from the rig name. Rig names may still contain `@`.
|
|
@@ -457,13 +485,13 @@ Edges within a pod use **unqualified member IDs** (just the member `id`, not `po
|
|
|
457
485
|
pods:
|
|
458
486
|
- id: dev
|
|
459
487
|
members:
|
|
460
|
-
- id:
|
|
488
|
+
- id: build
|
|
461
489
|
# ...
|
|
462
490
|
- id: qa
|
|
463
491
|
# ...
|
|
464
492
|
edges:
|
|
465
493
|
- kind: delegates_to
|
|
466
|
-
from:
|
|
494
|
+
from: build # NOT dev.build
|
|
467
495
|
to: qa # NOT dev.qa
|
|
468
496
|
```
|
|
469
497
|
|
|
@@ -477,7 +505,7 @@ Edges between pods use **fully-qualified `pod.member` IDs**:
|
|
|
477
505
|
edges:
|
|
478
506
|
- kind: delegates_to
|
|
479
507
|
from: orch.lead # pod.member format
|
|
480
|
-
to: dev.
|
|
508
|
+
to: dev.build # pod.member format
|
|
481
509
|
```
|
|
482
510
|
|
|
483
511
|
Cross-pod edges must reference different pods. An edge where both `from` and `to` are in the same pod is a validation error — use pod-local edges instead.
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# What changed in OpenRig 0.6.8
|
|
2
|
+
|
|
3
|
+
This note is for an agent on an install that was just upgraded to 0.6.8. It lists only what behaves differently from
|
|
4
|
+
0.6.7 and what to do about it. For everything OpenRig can do, read the capability map:
|
|
5
|
+
`rig context get onboarding-width/public-what-you-can-do.md`. Each release replaces this file, so
|
|
6
|
+
`rig context get reference/whats-new.md` describes the installed version once the upgraded daemon is running. Without
|
|
7
|
+
a running daemon, read `$OPENRIG_HOME/reference/whats-new.md`. The daemon refreshes that copy when it starts, so right
|
|
8
|
+
after an upgrade it can still hold the previous version's note.
|
|
9
|
+
|
|
10
|
+
## Skills from the managed catalog
|
|
11
|
+
|
|
12
|
+
- **A skill with uncommitted changes in the catalog now blocks only itself.** Before, one edited skill made the whole
|
|
13
|
+
catalog unavailable to work-install, launch and restore preflight. Now that skill is skipped and named, and the
|
|
14
|
+
remaining clean skills stay available for projection.
|
|
15
|
+
- **Read the warning, don't retry.** `catalog_skill_skipped` names a skill nobody selected; `selected_skill_skipped`
|
|
16
|
+
names the selector and the folder. The fix is to commit or restore that folder's content in the catalog, then run the
|
|
17
|
+
projection again.
|
|
18
|
+
- **A selected skipped skill makes the inspection commands exit 1.** `rig context work-install --runtime <runtime>`
|
|
19
|
+
and `rig skill loadout --runtime <runtime>` inspect by default. Use `--apply-skills` with work-install or `--apply`
|
|
20
|
+
with skill loadout to project the remaining clean skills. Read the warnings and projection result; exit 1 alone does
|
|
21
|
+
not say whether files were changed. With `--json`, skipped skills are in `skillLoadout.skipped` or
|
|
22
|
+
`loadout.skipped`, respectively.
|
|
23
|
+
- **A seat keeps the copy it already has** of a skipped skill, unchanged. After the catalog change is committed or
|
|
24
|
+
restored, the next applied projection can refresh it. No seat receives the skipped skill's uncommitted files, and
|
|
25
|
+
launch only warns about the skip.
|
|
26
|
+
- **An uncommitted `catalog.yaml` still makes the whole catalog unavailable,** because it changes every selection.
|
|
27
|
+
|
|
28
|
+
## Launch plans
|
|
29
|
+
|
|
30
|
+
- **`rig launch <rig> <seat> --plan` previews one seat's launch** without launching it, locally or with `--host`. Use
|
|
31
|
+
it before starting a single seat, as `--seats … --plan` already allowed for several.
|
|
32
|
+
- **A plan is never sent to a daemon older than 0.5.9,** which would ignore the flag and launch. If `rig launch --plan`
|
|
33
|
+
refuses for that reason, restart or upgrade that daemon. If it exits non-zero saying the daemon may have acted, check
|
|
34
|
+
`rig ps --nodes -A` before retrying.
|
|
35
|
+
|
|
36
|
+
## Slack
|
|
37
|
+
|
|
38
|
+
- **Answer a person's thread reply in that thread.** When someone replies inside a thread OpenRig opened, answer with
|
|
39
|
+
`rig queue create --human-intent update --reply-to <the inbound reply's row>`, and the answer posts in that thread.
|
|
40
|
+
A top-level message is still answered top-level.
|
|
41
|
+
- **A short rate limit is waited out.** When Slack asks for a pause of 10 seconds or less, OpenRig waits and retries the
|
|
42
|
+
post once. A longer pause is still left to the usual retry of retained messages.
|
|
43
|
+
|
|
44
|
+
## Managed compaction
|
|
45
|
+
|
|
46
|
+
- **A quiet seat is restored after `/compact`.** The turn boundary, the restore request and the read-depth
|
|
47
|
+
audit now reach a Claude seat that takes no turn after compacting. Before, they waited for the seat's next turn,
|
|
48
|
+
so a seat with nothing to do could sit unrestored. Each stage still waits until the seat's screen shows it idle.
|
|
49
|
+
|
|
50
|
+
## Workflows
|
|
51
|
+
|
|
52
|
+
- **Validate before you run.** `rig workflow validate` reports `step_cannot_finish` when no allowed exit can finish a
|
|
53
|
+
step or route onward, and such a workflow cannot be instantiated. Allow `done` or an exit with a route onward. In a
|
|
54
|
+
dependency graph, `handoff` can also finish a sink without a next step. A spec that validated on 0.6.7 may need a
|
|
55
|
+
correction.
|
|
56
|
+
|
|
57
|
+
## The TUI
|
|
58
|
+
|
|
59
|
+
- **Type whole commands on an empty command line.** The footer toggle is now `F`, and in a selected Scopes view the
|
|
60
|
+
mini-requirements and narrative keys are `M` and `N`, so `find`, `feed`, `mission`, `narrative` and `needs` reach the
|
|
61
|
+
command line intact.
|
|
62
|
+
- **`j` and `k` move the selection down and up** when the command line is empty. With text on the line they're ordinary
|
|
63
|
+
letters.
|
|
64
|
+
|
|
65
|
+
## Smaller changes
|
|
66
|
+
|
|
67
|
+
- **A Claude seat launched with `--remote-control`** confirms its identity instead of staying "identity not confirmed".
|
|
68
|
+
- **`rig down` still saves its recovery snapshot** when finding one seat's resume details fails.
|
|
69
|
+
- **A wake for a handed-off task shows its summary** on one line, so read it to see what the task is for.
|
|
70
|
+
- **`rig scope audit` accepts slice folders numbered 100 and above.** `rig proof add --file` keeps a leading UTF-8
|
|
71
|
+
byte-order mark.
|
|
72
|
+
- **Building from source no longer needs POSIX shell tools** for the CLI and TUI output. It hasn't been run on Windows
|
|
73
|
+
yet; WSL2 is still the way to run OpenRig there.
|
|
74
|
+
- **A topology naming reference** explains how to name a team's pods and seats: `rig context get
|
|
75
|
+
reference/topology-naming.md`.
|
|
76
|
+
|
|
77
|
+
## What to stop doing
|
|
78
|
+
|
|
79
|
+
- **Stop treating a non-zero work-install exit as proof that nothing changed.** Read the skipped-skill warnings and
|
|
80
|
+
projection result. Inspection alone changes no skill files; an applied projection can update clean skills while
|
|
81
|
+
reporting a skipped one.
|
|
82
|
+
- **Stop scripting around the TUI's single-letter keys.** Type the command whole.
|
|
83
|
+
- **Stop assuming a workflow that validated on 0.6.7 can finish.** Validate it again on 0.6.8.
|
|
84
|
+
|
|
85
|
+
## Known gaps in 0.6.8
|
|
86
|
+
|
|
87
|
+
- **Not yet checked on a real machine:** the full first install from nothing, on Mac, Linux and Windows.
|
|
88
|
+
- **Only one selected lifecycle-help command has been checked in a live Claude session;** source and parser coverage
|
|
89
|
+
is broader. If a help command still asks, report it.
|
|
90
|
+
- **Codex team seats aren't asked before lifecycle commands yet.**
|
|
91
|
+
- **The send gate trusts the most recently recorded hook.** If hooks are recorded out of order, it can hold a send for
|
|
92
|
+
a question that's already answered, or miss one that's waiting. `rig capture` shows the real screen.
|
|
93
|
+
- **A Codex seat whose permission request was approved automatically can still read "needs input".**
|
|
94
|
+
- **A launched team still writes its skills into its working folder.**
|
|
95
|
+
- **After a restart, `rig status` shows `Kernel: skipped` whatever the kernel seats' state.** Read them with
|
|
96
|
+
`rig ps --nodes --rig kernel --full`.
|
|
@@ -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.6.
|
|
4
|
+
version: "0.6.8"
|
|
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.6.
|
|
4
|
+
version: "0.6.8"
|
|
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.6.
|
|
4
|
+
version: "0.6.8"
|
|
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:
|
|
@@ -92,8 +92,10 @@ You are about to lose every connection you have built. Spend this turn making th
|
|
|
92
92
|
What were the threads? What did you work out about how the pieces fit? What is unfinished? What did you
|
|
93
93
|
decide, and why? What were you about to be wrong about?
|
|
94
94
|
2. **Write the restore map at the exact path named in OpenRig's preparation request.** Follow that
|
|
95
|
-
request's completion
|
|
96
|
-
|
|
95
|
+
request's completion instructions: use your ordinary file-edit tool to write the named `.tmp` file,
|
|
96
|
+
with the exact completion marker as its last line, then finish and close it. The daemon publishes
|
|
97
|
+
the completed map atomically; do not run a shell rename or write the final file incrementally.
|
|
98
|
+
Do not substitute the seat folder or another map. Managed preparation normally publishes
|
|
97
99
|
`<launch cwd>/.openrig/compaction/preparation/<session>/<attempt>/RESTORE-MAP.md`; its parent
|
|
98
100
|
compaction folder ignores itself in Git because maps hold private working context. Unknown or
|
|
99
101
|
unwritable launch directories retain the instance-home fallback named in the request; it may need
|
|
@@ -149,6 +151,15 @@ already leaves you. The edges are the point.
|
|
|
149
151
|
|
|
150
152
|
You have facts without connections. Rebuild the connections before you act on anything.
|
|
151
153
|
|
|
154
|
+
Use the native read tool for file reads throughout restoration. Load `refocusing`
|
|
155
|
+
and consume the current topology and work trace that actually arrived with the
|
|
156
|
+
restore request; do not rerun Python merely to duplicate it. If no current trace
|
|
157
|
+
arrived, name that delivery gap. A packet pointer, compact summary or truncated
|
|
158
|
+
extract is not a full source read. Read required notes and full sources separately
|
|
159
|
+
and complete the restore steps and read-depth audit below; partial reading does
|
|
160
|
+
not establish completed restoration. The earlier acknowledgement-only boundary
|
|
161
|
+
is not a restore request.
|
|
162
|
+
|
|
152
163
|
1. **Check for a hold first.** Read the restore request, the per-seat instruction file
|
|
153
164
|
(`<OPENRIG_HOME>/compaction/post-compact-extra/<session>.md`, named by your full session such as
|
|
154
165
|
`dev-impl@my-rig.md`) when it exists, the newest row or message from whoever routes your work, and any hold
|
|
@@ -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.6.
|
|
4
|
+
version: "0.6.8"
|
|
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:
|
|
@@ -125,6 +125,8 @@ function writeExpectedSentinel(input) {
|
|
|
125
125
|
fs.mkdirSync(path.dirname(p), { recursive: true });
|
|
126
126
|
fs.writeFileSync(p, `${JSON.stringify({
|
|
127
127
|
version: 1,
|
|
128
|
+
managedRefocusPending: typeof input.custom_instructions === "string"
|
|
129
|
+
&& input.custom_instructions.trimStart().startsWith("OpenRig managed compaction; wait for the restore request."),
|
|
128
130
|
sessionName: process.env.OPENRIG_SESSION_NAME || process.env.RIGGED_SESSION_NAME || null,
|
|
129
131
|
sessionId: input.session_id || input.sessionId || null,
|
|
130
132
|
transcriptPath: input.transcript_path || null,
|
|
@@ -137,6 +139,8 @@ function writePendingRestoreMarker(input, parsed, restoreInstruction, customMess
|
|
|
137
139
|
fs.mkdirSync(path.dirname(markerPath), { recursive: true });
|
|
138
140
|
const payload = {
|
|
139
141
|
version: 1,
|
|
142
|
+
managedRefocusPending: typeof input.custom_instructions === "string"
|
|
143
|
+
&& input.custom_instructions.trimStart().startsWith("OpenRig managed compaction; wait for the restore request."),
|
|
140
144
|
createdAt: nowIso(),
|
|
141
145
|
sessionName: process.env.OPENRIG_SESSION_NAME || process.env.RIGGED_SESSION_NAME || null,
|
|
142
146
|
sessionId: input.session_id || input.sessionId || null,
|
|
@@ -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.6.
|
|
4
|
+
version: "0.6.8"
|
|
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.6.
|
|
4
|
+
version: "0.6.8"
|
|
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.6.
|
|
4
|
+
version: "0.6.8"
|
|
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.6.
|
|
4
|
+
version: "0.6.8"
|
|
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:
|
|
@@ -92,6 +92,12 @@ the human (a pending human decision, or a row parked on the human), since a
|
|
|
92
92
|
reply in that thread would answer the decision. In every such case the
|
|
93
93
|
`--verify` result says `threaded: false` with the reason.
|
|
94
94
|
|
|
95
|
+
To answer a reply the human typed inside one of your threads, `--reply-to` the
|
|
96
|
+
row their reply landed as. The update posts in that thread unless one of the
|
|
97
|
+
cases above applies, and `--verify` reports it the same way. A message the
|
|
98
|
+
human started at the top level of the channel has no thread yet, so the answer
|
|
99
|
+
posts as a new message.
|
|
100
|
+
|
|
95
101
|
A **decision** with a few clear choices can carry `--human-questions-file <path>`:
|
|
96
102
|
a JSON array of 1–4 questions, each
|
|
97
103
|
`{"id", "question", "options": [{"id", "label", "recommended"?}]}` with 2–4
|
|
@@ -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.6.
|
|
4
|
+
version: "0.6.8"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use 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:
|
|
@@ -39,6 +39,9 @@ the format you will author. Load the selected paths from public onboarding;
|
|
|
39
39
|
consult additional skills when their triggers apply. A design task does not
|
|
40
40
|
require reading the whole command library.
|
|
41
41
|
|
|
42
|
+
- Read `topology-naming.md` before choosing new identities: rig = purpose, pod =
|
|
43
|
+
domain, member = role. Keep names stable across runtime choices and match every
|
|
44
|
+
edge, preset and workflow target to the declared IDs.
|
|
42
45
|
- Read the relevant sections of `rig-spec.md` and `agent-spec.md` before writing
|
|
43
46
|
those declarations. Consult `agent-startup-guide.md` for startup/loadout work
|
|
44
47
|
and `edge-types.md` when selecting relationships. Resolve the installed
|
|
@@ -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.6.
|
|
4
|
+
version: "0.6.8"
|
|
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.6.
|
|
4
|
+
version: "0.6.8"
|
|
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.6.
|
|
4
|
+
version: "0.6.8"
|
|
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:
|
|
@@ -57,7 +57,7 @@ These are auto-delivered to every rig; their name+description are already in you
|
|
|
57
57
|
- **loading-addressable-markdown** — a task names Markdown as `path#h2-slug` or `path#h2-slug/h3-slug` outside the context-pack library.
|
|
58
58
|
- **session-compaction-and-restore** — preparing for, or recovering from, compaction (any runtime). The write- and read-side protocol.
|
|
59
59
|
- **queue-handoff** — you're passing durable work to another seat or ending your turn. The queue is the work ledger, not chat.
|
|
60
|
-
- **refocusing** — a long-running seat may have lost the product outcome, crossed a major boundary, or compacted and needs a fresh path-based trace.
|
|
60
|
+
- **refocusing** — invoke as `refocusing` when a long-running seat may have lost the product outcome, crossed a major boundary, or compacted and needs a fresh path-based trace.
|
|
61
61
|
- **seat-continuity-and-handover** — handing your seat's work across a restart or to another owner.
|
|
62
62
|
- **orienting-to-an-inherited-seat** — you just inherited an existing seat through a planned handover and need to verify its identity, state, and testimony.
|
|
63
63
|
- **retiring-and-inheriting-a-seat** — you're planning a seat transition and need to retire the current occupant into a fresh successor without losing continuity.
|
|
@@ -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.6.
|
|
4
|
+
version: "0.6.8"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when you're operating OpenRig and need 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 use when you don't know what applies or nothing is projected on cold boot."
|
|
7
7
|
files:
|
|
@@ -51,7 +51,7 @@ or `codex login` once when that selected login is missing. No credential copying
|
|
|
51
51
|
unused provider prerequisite or silent model/provider fallback.
|
|
52
52
|
|
|
53
53
|
Read the compatible getting-started guide's **Choose your providers** and
|
|
54
|
-
**
|
|
54
|
+
**Start the kernel and check its state** sections before launch. The choice selects
|
|
55
55
|
the two project agents. Kernel auto-boot independently uses available
|
|
56
56
|
authenticated accounts, so it may use both even when the project uses one.
|
|
57
57
|
Do not add an unused-provider login gate or manual kernel setup to this path.
|
|
@@ -63,7 +63,8 @@ Show the chosen team, resolved runtimes/models and exact
|
|
|
63
63
|
retain `gpt-6-astra`; Claude seats use the configured native default without an
|
|
64
64
|
OpenRig model override. Confirm that model with the user and its availability;
|
|
65
65
|
verify the native session's actual model before consequential work. Use the
|
|
66
|
-
chosen rig name in owner/checker addresses
|
|
66
|
+
chosen rig name in owner/checker addresses (in the starter, `dev-build@<rig>` and
|
|
67
|
+
`dev-review@<rig>`) throughout the same task and return.
|
|
67
68
|
|
|
68
69
|
## Establish the working agreement
|
|
69
70
|
|
|
@@ -79,16 +80,21 @@ model turns, but delivered wakes and resumed work **can spend tokens**. Prefer
|
|
|
79
80
|
an event-driven wait to frequent empty reminders. Wakes cannot answer a user
|
|
80
81
|
question, clear a permission prompt or guarantee progress.
|
|
81
82
|
|
|
82
|
-
**Ask once before launching or assigning work
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
83
|
+
**Ask once before launching or assigning work.** For a team with no permission
|
|
84
|
+
policy, seat choice or named Codex profile, recommend keeping the team default:
|
|
85
|
+
Claude team seats run ordinary `rig` commands, project reads and common tests
|
|
86
|
+
without prompts, and lifecycle commands such as `rig up` and `rig down` still
|
|
87
|
+
ask. Only if they want more, offer: “Remember these selected OpenRig commands in
|
|
88
|
+
your native settings for this project?” **Yes** / **No — keep the team default**.
|
|
89
|
+
Reuse an existing explicit choice for this scope.
|
|
90
|
+
Explain that a remembered allowance can cover all `rig` verbs, but Claude team
|
|
91
|
+
seats still ask before lifecycle commands, at personal project scope unless the
|
|
92
|
+
user explicitly chooses user-wide sessions. It is not global YOLO or permission
|
|
93
|
+
to invent work.
|
|
88
94
|
On an actual Yes, follow [Applying a permission policy](#find-the-compatible-permission-guide)
|
|
89
95
|
to add existing native rules, preserve stricter/unrelated settings, and verify
|
|
90
|
-
the target conversation. No or no answer leaves settings alone and
|
|
91
|
-
|
|
96
|
+
the target conversation. No or no answer leaves settings alone and keeps the
|
|
97
|
+
team default. Remember the explicit choice and exact additions in the
|
|
92
98
|
existing onboarding context; “Undo the OpenRig command allowances added by this
|
|
93
99
|
setup” removes only those additions. Broader access remains a separate opt-in.
|
|
94
100
|
|
|
@@ -102,8 +108,9 @@ or explicitly reports none. Preserve work and custody before a supported stop.
|
|
|
102
108
|
|
|
103
109
|
Choose the team size separately from the coordination method above:
|
|
104
110
|
|
|
105
|
-
1. **Use the two-agent starter.** Keep the
|
|
106
|
-
while that pair meets the workload. The
|
|
111
|
+
1. **Use the two-agent starter.** Keep its builder (the owner) and independent
|
|
112
|
+
reviewer (the checker) while that pair meets the workload. The builder can
|
|
113
|
+
implement and coordinate.
|
|
107
114
|
2. **Add one or two seats to the running rig.** This is the usual next step.
|
|
108
115
|
Follow [Grow the running team](references/worked-example.md#grow-the-running-team)
|
|
109
116
|
for `rig grow` commands, readiness/context/work
|
|
@@ -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.6.
|
|
4
|
+
version: "0.6.8"
|
|
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:
|