@openrig/cli 0.5.10 → 0.5.11
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/daemon/assets/plugins/openrig-core/README.md +24 -5
- package/daemon/assets/plugins/openrig-core/skills/agent-operated-workflows/SKILL.md +4 -2
- package/daemon/assets/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.md +11 -14
- package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/SKILL.md +51 -59
- package/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model/SKILL.md +11 -10
- package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/SKILL.md +39 -50
- package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/scripts/trunk-diff.sh +1 -1
- package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/templates/LEARNED.md +7 -5
- package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/templates/PLAYBOOK.md +3 -4
- package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/templates/SPEC.md +7 -7
- package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +55 -64
- package/daemon/assets/plugins/openrig-core/skills/orienting-to-an-inherited-seat/CHANGELOG.md +14 -58
- package/daemon/assets/plugins/openrig-core/skills/queue-handoff/SKILL.md +8 -9
- package/daemon/assets/plugins/openrig-core/skills/retiring-and-inheriting-a-seat/CHANGELOG.md +20 -46
- package/daemon/assets/plugins/openrig-core/skills/retiring-and-inheriting-a-seat/SKILL.md +62 -76
- package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md +28 -22
- package/daemon/assets/plugins/openrig-core/skills/session-compaction-and-restore/SKILL.md +13 -15
- package/daemon/context-packs/onboarding-width/manifest.yaml +1 -3
- package/daemon/context-packs/onboarding-width/public-reference-material.md +19 -24
- package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +55 -24
- package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
- package/daemon/context-packs/skills/agent-operated-workflows/SKILL.md +4 -2
- package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
- package/daemon/context-packs/skills/applying-a-permission-policy/SKILL.md +11 -14
- package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
- package/daemon/context-packs/skills/claude-compaction-restore/SKILL.md +51 -59
- package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-starters/SKILL.md +21 -19
- package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/SKILL.md +11 -10
- 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/SKILL.md +84 -148
- package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +3 -3
- package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-architect/SKILL.md +40 -47
- 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-upgrade/SKILL.md +16 -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/SKILL.md +12 -10
- 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/SKILL.md +15 -13
- 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/SKILL.md +11 -10
- 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/SKILL.md +39 -50
- package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-operating-model/scripts/trunk-diff.sh +1 -1
- package/daemon/context-packs/skills/openrig-operating-model/templates/LEARNED.md +7 -5
- package/daemon/context-packs/skills/openrig-operating-model/templates/PLAYBOOK.md +3 -4
- package/daemon/context-packs/skills/openrig-operating-model/templates/SPEC.md +7 -7
- package/daemon/context-packs/skills/openrig-user/SKILL.md +55 -64
- package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
- package/daemon/context-packs/skills/orienting-to-an-inherited-seat/CHANGELOG.md +14 -58
- 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/SKILL.md +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/SKILL.md +2 -2
- package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/requirements-writer/SKILL.md +1 -1
- package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/ui-mockup/SKILL.md +3 -3
- 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/SKILL.md +41 -59
- 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/LOCAL-INSIGHTS.md +24 -53
- 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/find-polluter.sh +29 -15
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/test-driven-development/SKILL.md +47 -40
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/verification-before-completion/SKILL.md +3 -3
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/queue-handoff/SKILL.md +8 -9
- package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
- package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/CHANGELOG.md +20 -46
- package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/SKILL.md +62 -76
- 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 +28 -22
- package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
- package/daemon/context-packs/skills/session-compaction-and-restore/SKILL.md +13 -15
- 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/build-your-world.md +12 -7
- package/daemon/context-packs/world-public/manifest.yaml +1 -1
- package/daemon/dist/adapters/tmux.d.ts +7 -9
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +7 -35
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/daemon-shutdown.d.ts +27 -0
- package/daemon/dist/daemon-shutdown.d.ts.map +1 -0
- package/daemon/dist/daemon-shutdown.js +84 -0
- package/daemon/dist/daemon-shutdown.js.map +1 -0
- package/daemon/dist/domain/codex-thread-id.d.ts +1 -0
- package/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
- package/daemon/dist/domain/codex-thread-id.js +32 -23
- package/daemon/dist/domain/codex-thread-id.js.map +1 -1
- package/daemon/dist/domain/context-usage-store.d.ts +2 -0
- package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-usage-store.js +7 -28
- package/daemon/dist/domain/context-usage-store.js.map +1 -1
- package/daemon/dist/domain/crash-cart-conductor.js +1 -1
- package/daemon/dist/domain/crash-cart-conductor.js.map +1 -1
- package/daemon/dist/domain/execution-view.d.ts.map +1 -1
- package/daemon/dist/domain/execution-view.js +24 -3
- package/daemon/dist/domain/execution-view.js.map +1 -1
- package/daemon/dist/domain/gateway/channel-operations.d.ts +1 -1
- package/daemon/dist/domain/gateway/channel-operations.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/connections-projection.d.ts +61 -0
- package/daemon/dist/domain/gateway/connections-projection.d.ts.map +1 -0
- package/daemon/dist/domain/gateway/connections-projection.js +149 -0
- package/daemon/dist/domain/gateway/connections-projection.js.map +1 -0
- package/daemon/dist/domain/gateway/human-registry.d.ts +3 -1
- package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/human-registry.js +3 -1
- package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js +3 -2
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/daemon/dist/domain/health-diagnosis.js +1 -1
- package/daemon/dist/domain/health-diagnosis.js.map +1 -1
- package/daemon/dist/domain/lifecycle-obligations.d.ts +18 -0
- package/daemon/dist/domain/lifecycle-obligations.d.ts.map +1 -0
- package/daemon/dist/domain/lifecycle-obligations.js +35 -0
- package/daemon/dist/domain/lifecycle-obligations.js.map +1 -0
- package/daemon/dist/domain/model-divergence/current-generation-record.d.ts.map +1 -1
- package/daemon/dist/domain/model-divergence/current-generation-record.js +6 -1
- package/daemon/dist/domain/model-divergence/current-generation-record.js.map +1 -1
- package/daemon/dist/domain/policies/workflow-keepalive.d.ts +1 -0
- package/daemon/dist/domain/policies/workflow-keepalive.d.ts.map +1 -1
- package/daemon/dist/domain/policies/workflow-keepalive.js +7 -4
- package/daemon/dist/domain/policies/workflow-keepalive.js.map +1 -1
- package/daemon/dist/domain/project-lifecycle-compiler.d.ts +7 -0
- package/daemon/dist/domain/project-lifecycle-compiler.d.ts.map +1 -1
- package/daemon/dist/domain/project-lifecycle-compiler.js +119 -23
- package/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +1 -0
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +8 -1
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +27 -11
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/startup-proof.d.ts.map +1 -1
- package/daemon/dist/domain/startup-proof.js +10 -9
- package/daemon/dist/domain/startup-proof.js.map +1 -1
- package/daemon/dist/domain/startup-resolver.d.ts +3 -1
- package/daemon/dist/domain/startup-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/startup-resolver.js +18 -0
- package/daemon/dist/domain/startup-resolver.js.map +1 -1
- package/daemon/dist/domain/startup-validation.d.ts.map +1 -1
- package/daemon/dist/domain/startup-validation.js +12 -1
- package/daemon/dist/domain/startup-validation.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +13 -1
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.js +14 -0
- package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/daemon/dist/domain/workflow-boot-sweep.d.ts +1 -0
- package/daemon/dist/domain/workflow-boot-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-boot-sweep.js +3 -0
- package/daemon/dist/domain/workflow-boot-sweep.js.map +1 -1
- package/daemon/dist/domain/workflow-exception-escalation.d.ts +4 -3
- package/daemon/dist/domain/workflow-exception-escalation.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-exception-escalation.js +22 -21
- package/daemon/dist/domain/workflow-exception-escalation.js.map +1 -1
- package/daemon/dist/domain/workflow-exception-router.d.ts +4 -3
- package/daemon/dist/domain/workflow-exception-router.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-exception-router.js +7 -6
- package/daemon/dist/domain/workflow-exception-router.js.map +1 -1
- package/daemon/dist/domain/workflow-human-destination.d.ts +18 -0
- package/daemon/dist/domain/workflow-human-destination.d.ts.map +1 -0
- package/daemon/dist/domain/workflow-human-destination.js +40 -0
- package/daemon/dist/domain/workflow-human-destination.js.map +1 -0
- package/daemon/dist/domain/workflow-projector.d.ts +4 -3
- package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-projector.js +26 -17
- package/daemon/dist/domain/workflow-projector.js.map +1 -1
- package/daemon/dist/domain/workflow-role-context.d.ts +4 -6
- package/daemon/dist/domain/workflow-role-context.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-role-context.js +7 -14
- package/daemon/dist/domain/workflow-role-context.js.map +1 -1
- package/daemon/dist/domain/workflow-runtime.d.ts +12 -3
- package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-runtime.js +66 -14
- package/daemon/dist/domain/workflow-runtime.js.map +1 -1
- package/daemon/dist/domain/workflow-validator.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-validator.js +39 -24
- package/daemon/dist/domain/workflow-validator.js.map +1 -1
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +37 -96
- package/daemon/dist/index.js.map +1 -1
- package/daemon/dist/project-lifecycle-surface.d.ts +1 -1
- package/daemon/dist/project-lifecycle-surface.d.ts.map +1 -1
- package/daemon/dist/routes/gateway.d.ts.map +1 -1
- package/daemon/dist/routes/gateway.js +10 -0
- package/daemon/dist/routes/gateway.js.map +1 -1
- package/daemon/dist/routes/queue.d.ts.map +1 -1
- package/daemon/dist/routes/queue.js +4 -3
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/require-sender-identity.d.ts +3 -1
- package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
- package/daemon/dist/routes/require-sender-identity.js +11 -5
- package/daemon/dist/routes/require-sender-identity.js.map +1 -1
- package/daemon/dist/routes/sessions.d.ts.map +1 -1
- package/daemon/dist/routes/sessions.js +95 -27
- package/daemon/dist/routes/sessions.js.map +1 -1
- package/daemon/dist/routes/workflow.d.ts.map +1 -1
- package/daemon/dist/routes/workflow.js +6 -1
- package/daemon/dist/routes/workflow.js.map +1 -1
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +2 -1
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +6 -3
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/docs/reference/agent-spec.md +6 -0
- package/daemon/docs/reference/getting-started.md +134 -28
- package/daemon/docs/reference/health-diagnosis.md +26 -0
- package/daemon/docs/reference/mission-install.md +5 -0
- package/daemon/docs/reference/project-release-profile.yaml +82 -0
- package/daemon/docs/reference/release-boundary.md +5 -0
- package/daemon/docs/reference/rig-spec.md +43 -4
- package/daemon/specs/agents/conveyor/planner/guidance/role.md +5 -3
- package/daemon/specs/agents/conveyor/planner/startup/context.md +13 -4
- package/daemon/specs/agents/design/product-designer/agent.yaml +4 -3
- package/daemon/specs/agents/design/product-designer/guidance/role.md +12 -10
- package/daemon/specs/agents/product-management/pm/guidance/role.md +19 -17
- package/daemon/specs/agents/shared/skills/core/agent-starters/SKILL.md +21 -19
- package/daemon/specs/agents/shared/skills/core/agent-startup-and-context-ingestion/SKILL.md +11 -10
- package/daemon/specs/agents/shared/skills/core/cross-host-rig-commands/SKILL.md +84 -148
- package/daemon/specs/agents/shared/skills/core/openrig-architect/SKILL.md +40 -47
- package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +16 -0
- package/daemon/specs/agents/shared/skills/core/session-source-fork/SKILL.md +12 -10
- package/daemon/specs/agents/shared/skills/core/topology-mutation-and-seat-management/SKILL.md +15 -13
- package/daemon/specs/agents/shared/skills/pm/exec-summary/SKILL.md +1 -1
- package/daemon/specs/agents/shared/skills/pm/plan-review/SKILL.md +2 -2
- package/daemon/specs/agents/shared/skills/pm/requirements-writer/SKILL.md +1 -1
- package/daemon/specs/agents/shared/skills/pm/ui-mockup/SKILL.md +3 -3
- package/daemon/specs/agents/shared/skills/pods/orchestration-team/SKILL.md +41 -59
- package/daemon/specs/agents/shared/skills/process/agent-browser/LOCAL-INSIGHTS.md +24 -53
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/find-polluter.sh +29 -15
- package/daemon/specs/agents/shared/skills/process/test-driven-development/SKILL.md +47 -40
- package/daemon/specs/agents/shared/skills/process/verification-before-completion/SKILL.md +3 -3
- package/daemon/specs/rigs/launch/first-project/CULTURE.md +39 -0
- package/daemon/specs/rigs/launch/first-project/rig.yaml +31 -0
- package/daemon/specs/rigs/launch/kernel/agents/advisor/lead/startup/context.md +1 -1
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +21 -7
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +2 -2
- package/daemon/specs/rigs/launch/kernel/agents/queue/worker/guidance/role.md +19 -11
- package/daemon/specs/rigs/launch/kernel/agents/queue/worker/startup/context.md +3 -2
- package/daemon/specs/rigs/launch/kernel/culture/CULTURE.md +15 -8
- package/daemon/specs/rigs/launch/kernel/rig-claude-only.yaml +7 -0
- package/daemon/specs/rigs/launch/kernel/rig-codex-only.yaml +7 -0
- package/daemon/specs/rigs/launch/kernel/rig.yaml +9 -4
- package/daemon/specs/rigs/preview/product-team/topology/seats/dev1-qa/CRAFT.md +6 -4
- package/dist/build-info.js +3 -3
- package/dist/client.d.ts +6 -20
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +53 -32
- package/dist/client.js.map +1 -1
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +1 -0
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +15 -13
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/daemon.d.ts.map +1 -1
- package/dist/commands/daemon.js +31 -27
- package/dist/commands/daemon.js.map +1 -1
- package/dist/commands/destroy.js +1 -1
- package/dist/commands/destroy.js.map +1 -1
- package/dist/commands/health.d.ts.map +1 -1
- package/dist/commands/health.js +59 -7
- package/dist/commands/health.js.map +1 -1
- package/dist/commands/launch.d.ts.map +1 -1
- package/dist/commands/launch.js +2 -2
- package/dist/commands/launch.js.map +1 -1
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +9 -5
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +4 -8
- package/dist/commands/send.js.map +1 -1
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +10 -9
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/tui.d.ts +2 -0
- package/dist/commands/tui.d.ts.map +1 -1
- package/dist/commands/tui.js +26 -10
- package/dist/commands/tui.js.map +1 -1
- package/dist/commands/walk.d.ts.map +1 -1
- package/dist/commands/walk.js +24 -48
- package/dist/commands/walk.js.map +1 -1
- package/dist/commands/workflow-render.d.ts +19 -0
- package/dist/commands/workflow-render.d.ts.map +1 -1
- package/dist/commands/workflow-render.js +12 -1
- package/dist/commands/workflow-render.js.map +1 -1
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +4 -2
- package/dist/commands/workflow.js.map +1 -1
- package/dist/config-store.d.ts +2 -1
- package/dist/config-store.d.ts.map +1 -1
- package/dist/config-store.js +15 -0
- package/dist/config-store.js.map +1 -1
- package/dist/cross-host-executor.d.ts +1 -1
- package/dist/cross-host-executor.js +2 -2
- package/dist/cross-host-executor.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts +8 -11
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +281 -146
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/daemon-start-lock.d.ts +9 -0
- package/dist/daemon-start-lock.d.ts.map +1 -0
- package/dist/daemon-start-lock.js +47 -0
- package/dist/daemon-start-lock.js.map +1 -0
- package/dist/front-door.d.ts.map +1 -1
- package/dist/front-door.js +8 -1
- package/dist/front-door.js.map +1 -1
- package/dist/lib/file-transfer.js +1 -1
- package/dist/lib/file-transfer.js.map +1 -1
- package/dist/lib/walk-consumption.d.ts +6 -0
- package/dist/lib/walk-consumption.d.ts.map +1 -0
- package/dist/lib/walk-consumption.js +78 -0
- package/dist/lib/walk-consumption.js.map +1 -0
- package/dist/local-origin.d.ts +3 -0
- package/dist/local-origin.d.ts.map +1 -0
- package/dist/local-origin.js +37 -0
- package/dist/local-origin.js.map +1 -0
- package/dist/read-view.d.ts +17 -0
- package/dist/read-view.d.ts.map +1 -0
- package/dist/read-view.js +17 -0
- package/dist/read-view.js.map +1 -0
- package/dist/shared-tui.d.ts +12 -0
- package/dist/shared-tui.d.ts.map +1 -0
- package/dist/shared-tui.js +37 -0
- package/dist/shared-tui.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/adapters/tmux.d.ts +7 -9
- package/node_modules/@openrig/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/adapters/tmux.js +7 -35
- package/node_modules/@openrig/daemon/dist/adapters/tmux.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/build-info.js +3 -3
- package/node_modules/@openrig/daemon/dist/daemon-shutdown.d.ts +27 -0
- package/node_modules/@openrig/daemon/dist/daemon-shutdown.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/daemon-shutdown.js +84 -0
- package/node_modules/@openrig/daemon/dist/daemon-shutdown.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/codex-thread-id.d.ts +1 -0
- package/node_modules/@openrig/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/codex-thread-id.js +32 -23
- package/node_modules/@openrig/daemon/dist/domain/codex-thread-id.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-usage-store.d.ts +2 -0
- package/node_modules/@openrig/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-usage-store.js +7 -28
- package/node_modules/@openrig/daemon/dist/domain/context-usage-store.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/crash-cart-conductor.js +1 -1
- package/node_modules/@openrig/daemon/dist/domain/crash-cart-conductor.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/execution-view.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/execution-view.js +24 -3
- package/node_modules/@openrig/daemon/dist/domain/execution-view.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/channel-operations.d.ts +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/channel-operations.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/connections-projection.d.ts +61 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/connections-projection.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/connections-projection.js +149 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/connections-projection.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.d.ts +3 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.js +3 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.js +3 -2
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.js +1 -1
- package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/lifecycle-obligations.d.ts +18 -0
- package/node_modules/@openrig/daemon/dist/domain/lifecycle-obligations.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/lifecycle-obligations.js +35 -0
- package/node_modules/@openrig/daemon/dist/domain/lifecycle-obligations.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/model-divergence/current-generation-record.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/model-divergence/current-generation-record.js +6 -1
- package/node_modules/@openrig/daemon/dist/domain/model-divergence/current-generation-record.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.d.ts +1 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.js +7 -4
- package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.d.ts +7 -0
- package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.js +119 -23
- package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.js +1 -0
- package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.js +8 -1
- package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.js +27 -11
- package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/startup-proof.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/startup-proof.js +10 -9
- package/node_modules/@openrig/daemon/dist/domain/startup-proof.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/startup-resolver.d.ts +3 -1
- package/node_modules/@openrig/daemon/dist/domain/startup-resolver.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/startup-resolver.js +18 -0
- package/node_modules/@openrig/daemon/dist/domain/startup-resolver.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/startup-validation.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/startup-validation.js +12 -1
- package/node_modules/@openrig/daemon/dist/domain/startup-validation.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/types.d.ts +13 -1
- package/node_modules/@openrig/daemon/dist/domain/types.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/types.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
- package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.js +14 -0
- package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.d.ts +1 -0
- package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.js +3 -0
- package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-exception-escalation.d.ts +4 -3
- package/node_modules/@openrig/daemon/dist/domain/workflow-exception-escalation.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-exception-escalation.js +22 -21
- package/node_modules/@openrig/daemon/dist/domain/workflow-exception-escalation.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-exception-router.d.ts +4 -3
- package/node_modules/@openrig/daemon/dist/domain/workflow-exception-router.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-exception-router.js +7 -6
- package/node_modules/@openrig/daemon/dist/domain/workflow-exception-router.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-human-destination.d.ts +18 -0
- package/node_modules/@openrig/daemon/dist/domain/workflow-human-destination.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/workflow-human-destination.js +40 -0
- package/node_modules/@openrig/daemon/dist/domain/workflow-human-destination.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/workflow-projector.d.ts +4 -3
- package/node_modules/@openrig/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-projector.js +26 -17
- package/node_modules/@openrig/daemon/dist/domain/workflow-projector.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-role-context.d.ts +4 -6
- package/node_modules/@openrig/daemon/dist/domain/workflow-role-context.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-role-context.js +7 -14
- package/node_modules/@openrig/daemon/dist/domain/workflow-role-context.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.d.ts +12 -3
- package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.js +66 -14
- package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-validator.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-validator.js +39 -24
- package/node_modules/@openrig/daemon/dist/domain/workflow-validator.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/index.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/index.js +37 -96
- package/node_modules/@openrig/daemon/dist/index.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/project-lifecycle-surface.d.ts +1 -1
- package/node_modules/@openrig/daemon/dist/project-lifecycle-surface.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/gateway.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/gateway.js +10 -0
- package/node_modules/@openrig/daemon/dist/routes/gateway.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/queue.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/queue.js +4 -3
- package/node_modules/@openrig/daemon/dist/routes/queue.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/require-sender-identity.d.ts +3 -1
- package/node_modules/@openrig/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/require-sender-identity.js +11 -5
- package/node_modules/@openrig/daemon/dist/routes/require-sender-identity.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/sessions.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/sessions.js +95 -27
- package/node_modules/@openrig/daemon/dist/routes/sessions.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/workflow.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/workflow.js +6 -1
- package/node_modules/@openrig/daemon/dist/routes/workflow.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/server.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/server.js +2 -1
- package/node_modules/@openrig/daemon/dist/server.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/startup.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/startup.js +6 -3
- package/node_modules/@openrig/daemon/dist/startup.js.map +1 -1
- package/node_modules/@openrig/daemon/package.json +5 -1
- package/package.json +1 -1
- package/tui/dist/commands/completion.d.ts +8 -0
- package/tui/dist/commands/completion.d.ts.map +1 -0
- package/tui/dist/commands/completion.js +37 -0
- package/tui/dist/commands/completion.js.map +1 -0
- package/tui/dist/commands/registry.d.ts +7 -1
- package/tui/dist/commands/registry.d.ts.map +1 -1
- package/tui/dist/commands/registry.js +47 -0
- package/tui/dist/commands/registry.js.map +1 -1
- package/tui/dist/connections/connections-model.d.ts +72 -0
- package/tui/dist/connections/connections-model.d.ts.map +1 -0
- package/tui/dist/connections/connections-model.js +64 -0
- package/tui/dist/connections/connections-model.js.map +1 -0
- package/tui/dist/daemon-client.d.ts +1 -0
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +1 -0
- package/tui/dist/daemon-client.js.map +1 -1
- package/tui/dist/detail.d.ts +3 -0
- package/tui/dist/detail.d.ts.map +1 -1
- package/tui/dist/detail.js +23 -0
- package/tui/dist/detail.js.map +1 -1
- package/tui/dist/execution/execution-model.d.ts +1 -1
- package/tui/dist/execution/execution-model.d.ts.map +1 -1
- package/tui/dist/execution/execution-model.js +46 -170
- package/tui/dist/execution/execution-model.js.map +1 -1
- package/tui/dist/execution/workflow-model.d.ts +6 -0
- package/tui/dist/execution/workflow-model.d.ts.map +1 -0
- package/tui/dist/execution/workflow-model.js +219 -0
- package/tui/dist/execution/workflow-model.js.map +1 -0
- package/tui/dist/grammar.d.ts.map +1 -1
- package/tui/dist/grammar.js +1 -2
- package/tui/dist/grammar.js.map +1 -1
- package/tui/dist/health/health-model.d.ts +1 -1
- package/tui/dist/health/health-model.d.ts.map +1 -1
- package/tui/dist/health/health-model.js +5 -4
- package/tui/dist/health/health-model.js.map +1 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +45 -8
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/input.d.ts +2 -0
- package/tui/dist/input.d.ts.map +1 -1
- package/tui/dist/input.js +28 -6
- package/tui/dist/input.js.map +1 -1
- package/tui/dist/main.js +47 -10
- package/tui/dist/main.js.map +1 -1
- package/tui/dist/render.d.ts +4 -0
- package/tui/dist/render.d.ts.map +1 -1
- package/tui/dist/render.js +128 -74
- package/tui/dist/render.js.map +1 -1
- package/tui/dist/sections.d.ts.map +1 -1
- package/tui/dist/sections.js +1 -0
- package/tui/dist/sections.js.map +1 -1
- package/tui/dist/socket-server.d.ts +4 -0
- package/tui/dist/socket-server.d.ts.map +1 -1
- package/tui/dist/socket-server.js +4 -0
- package/tui/dist/socket-server.js.map +1 -1
- package/tui/dist/state.d.ts +3 -1
- package/tui/dist/state.d.ts.map +1 -1
- package/tui/dist/state.js +47 -9
- package/tui/dist/state.js.map +1 -1
- package/tui/dist/stylize.js +3 -3
- package/tui/dist/stylize.js.map +1 -1
- package/tui/dist/time.d.ts +9 -0
- package/tui/dist/time.d.ts.map +1 -0
- package/tui/dist/time.js +42 -0
- package/tui/dist/time.js.map +1 -0
- package/tui/dist/types.d.ts +36 -1
- package/tui/dist/types.d.ts.map +1 -1
|
@@ -20,7 +20,7 @@ A **planned** seat transition. A long-lived seat accumulates context; as it near
|
|
|
20
20
|
window's edge, don't wait for compaction to degrade you into a cold-started agent —
|
|
21
21
|
**retire deliberately** and hand the seat to a fresh successor primed from a packet plus
|
|
22
22
|
the seat's accumulated lineage. The **seat address is stable; its occupants are a lineage.**
|
|
23
|
-
|
|
23
|
+
Keep the transition and its authority explicit.
|
|
24
24
|
|
|
25
25
|
## Use this when
|
|
26
26
|
|
|
@@ -48,8 +48,9 @@ threshold you can see coming; fall back to compaction only when a transition was
|
|
|
48
48
|
|
|
49
49
|
## The handover sequence
|
|
50
50
|
|
|
51
|
-
1. **Trigger** —
|
|
52
|
-
|
|
51
|
+
1. **Trigger** — the selected continuity threshold or a deliberate role transition.
|
|
52
|
+
Use the configured policy and named transition owner; a context estimate alone
|
|
53
|
+
does not authorize a cutover.
|
|
53
54
|
2. **Author the handover packet, deliberately** — a composed context pack carrying current
|
|
54
55
|
work + next owner, the seat's durable pointers, constraints and authority boundaries, and
|
|
55
56
|
the accumulated **lineage wisdom** ("those before you learned X"). This IS a restore packet
|
|
@@ -66,26 +67,29 @@ threshold you can see coming; fall back to compaction only when a transition was
|
|
|
66
67
|
`orienting-to-an-inherited-seat`** — its world model of what a handover *is*. Carry that
|
|
67
68
|
pointer **in the durable packet artifact itself**; never inject it as a runtime prompt keyed
|
|
68
69
|
to the seat name (that runtime mechanism is the **ghost-prompt** class the orientation skill
|
|
69
|
-
teaches successors to refuse
|
|
70
|
+
teaches successors to refuse). Artifact-carried
|
|
70
71
|
survives the swap for free and needs no enabled gate.
|
|
71
|
-
4. **
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
72
|
+
4. **Assess before cutover.** If an apprenticeship or warm handoff is selected,
|
|
73
|
+
use that staged window for questions and domain work before the owner decides.
|
|
74
|
+
The incumbent retains authority until the owner-worded cutover; do not retire
|
|
75
|
+
it merely to free a name while waiting for that decision.
|
|
76
|
+
5. **Preserve the physical seat at cutover** — follow the portable SOP linked from
|
|
77
|
+
`seat-continuity-and-handover`. Keep the canonical tmux session, window and pane;
|
|
78
|
+
resume the exact accepted successor history there and reconcile binding,
|
|
79
|
+
environment, queue identity and attached clients. Preserve the incumbent's
|
|
80
|
+
exact token as a cold-advisor handle when that is the selected disposition.
|
|
81
|
+
Renaming tmux sessions is a repair fallback, not the default sequence.
|
|
82
|
+
6. **Write the lineage-ledger row and tombstone** (below). Record the actual
|
|
83
|
+
outcomes and transfer each standing duty explicitly. Complete the successor's
|
|
84
|
+
post-cutover self-check before unfreezing authority.
|
|
81
85
|
|
|
82
86
|
## Apprentice mode — incumbent
|
|
83
87
|
|
|
84
88
|
An `apprentice-handover` policy gives you an early preparation boundary, not permission to
|
|
85
89
|
automate the succession decision. Create a fresh, staged, unbound successor; prove the pinned
|
|
86
90
|
model before installing context; then open a **conversation, not a gauntlet**. Give coached
|
|
87
|
-
errands, answer questions, and judge work in the real domain.
|
|
88
|
-
|
|
91
|
+
errands, answer questions, and judge work in the real domain. Scored probes are optional tools whose rigor must match the stakes, not
|
|
92
|
+
mandatory ceremony.
|
|
89
93
|
|
|
90
94
|
Stay the authority-bearing incumbent until the named owner words the gate and the mechanic records
|
|
91
95
|
the effect receipt. Before that word, the apprentice may observe, ask, and produce evidence but may
|
|
@@ -114,15 +118,15 @@ ledger is the tenure record; work-tree notes remain lived context, not identity
|
|
|
114
118
|
**Crash-ended tenures** get their row appended **post-hoc** by the crash-cart / restore path,
|
|
115
119
|
flagged **honest-approximate** (the boot-captured session id is what makes this recoverable).
|
|
116
120
|
|
|
117
|
-
##
|
|
121
|
+
## Inherit the seat, not the predecessor's identity
|
|
118
122
|
|
|
119
123
|
**You are inheriting a seat, not becoming your predecessor.** Frame it explicitly to the
|
|
120
124
|
successor: *"agents sat here before you and learned X; you carry the seat's mission, not their
|
|
121
|
-
identity."*
|
|
122
|
-
|
|
125
|
+
identity."* Do not claim a predecessor's work as your own or use its stale identity
|
|
126
|
+
as the current binding. Inherit the
|
|
123
127
|
seat's **mission and hard-won lessons**; keep your own **fresh identity and session**.
|
|
124
128
|
|
|
125
|
-
##
|
|
129
|
+
## Reach back to a retained predecessor
|
|
126
130
|
|
|
127
131
|
A retired tenure is a cold advisor you can consult. Look up the seat's ledger → get that
|
|
128
132
|
generation's session token → resume it for **one question**, then let it sleep again:
|
|
@@ -130,19 +134,22 @@ generation's session token → resume it for **one question**, then let it sleep
|
|
|
130
134
|
- Claude: `claude -p --resume <session>`
|
|
131
135
|
- Codex: `codex exec` (resume the rollout)
|
|
132
136
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
+
Use `rig ask <rig> "<q>" --wake <seat[@gen]|token>` for an explicit bounded
|
|
138
|
+
consultation (introduced in CLI 0.5.1). Check `rig ask --help` for `--runtime`
|
|
139
|
+
and `--wake-timeout`. The wrapper uses a runtime resume; its presence is not
|
|
140
|
+
proof that a particular retained history is available. For a Claude history,
|
|
141
|
+
`claude -p --resume <full-uuid>` is the runtime-level fallback when supported.
|
|
142
|
+
Diagnose the specific failure before declaring the channel unavailable.
|
|
137
143
|
|
|
138
144
|
**What to write in your packet about reaching you** — your successor asking you questions is the
|
|
139
145
|
reason this is a handover and not a compaction:
|
|
140
146
|
|
|
141
|
-
- **
|
|
142
|
-
|
|
143
|
-
|
|
147
|
+
- **Give your verbatim resume handle and known availability limits.** Retirement alone
|
|
148
|
+
does not expire retained history. Resuming still depends on that history, runtime
|
|
149
|
+
access and remaining context; distinguish these failure modes. The advisor
|
|
150
|
+
supplies testimony and does not regain the live seat's authority.
|
|
144
151
|
- **Pre-form the questions.** Inventory what only you hold and write the questions out. An affordance
|
|
145
|
-
|
|
152
|
+
needs a trigger: name the tradeoff, missing rationale or conflict that should prompt a question.
|
|
146
153
|
|
|
147
154
|
**Wake-tenancy — the identity halves (a woken tenure can mistake itself for the live seat).** The
|
|
148
155
|
hardest thing to apply *checked-not-believed* to is your own identity — a retired tenure resumed for a
|
|
@@ -165,57 +172,36 @@ question can answer, and act, as if it still held the seat. Two rules close it:
|
|
|
165
172
|
3. **Session id captured at retirement, not boot** — a crash then leaves no row, or an
|
|
166
173
|
unfindable tenure. Capture at boot.
|
|
167
174
|
4. **Suffixing the LIVE seat** (`<seat>-v2` as the active address) — lineage leaking into
|
|
168
|
-
identity, the wrong shape. The live address stays clean;
|
|
175
|
+
identity, the wrong shape. The live address stays clean; generation belongs in the ledger.
|
|
169
176
|
5. **Tombstone omitted or vague** — the ledger can no longer answer "who did this / who to
|
|
170
177
|
wake." One honest line, every tenure.
|
|
171
178
|
|
|
172
|
-
##
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
The first live swap at a critical seat **succeeded** (the successor ruled a live domain question within the
|
|
199
|
-
hour — doctrine intact across the generation) and surfaced two hard refinements:
|
|
200
|
-
|
|
201
|
-
- **Boot-window queue re-check is REQUIRED — the successor's first action.** A qitem created *during* the
|
|
202
|
-
swap window can land **after** the handover packet was frozen — and its boot nudge fails
|
|
203
|
-
`session-not-found` because the seat is mid-cutover. The packet's snapshot is therefore incomplete by
|
|
204
|
-
construction. So the successor's first action is a **checked-not-believed queue sweep** (`rig queue list`
|
|
205
|
-
by destination / `--mine`), never trusting the packet's snapshot alone. The swap-window delivery seam is a
|
|
206
|
-
known product gap until it's closed.
|
|
207
|
-
- **Complete the canonical rename AT cutover — or expect three breakages.** If the staged name
|
|
208
|
-
(`<seat>-vN-staging`) survives past cutover, it breaks across three identity surfaces with inconsistent
|
|
209
|
-
enforcement: **transport** (the staged label doesn't resolve; replies to the signature bounce),
|
|
210
|
-
**queue-claim** (`claim_destination_mismatch` rejects the seat's own claim), and **queue-ledger**
|
|
211
|
-
(`handoff-and-complete` stamps the phantom staged name durably as `sourceSession`). The product fix is
|
|
212
|
-
tracked; until it lands, finish the canonical rename at cutover and treat a lingering staged name as a
|
|
213
|
-
live defect, not cosmetic.
|
|
214
|
-
- **Pre-announce the swap to oversight at swap START.** A live swap fired oversight's liveness detector
|
|
215
|
-
mid-swap (a false positive, cleared). Oversight clears such flags by consulting handover **receipts** —
|
|
216
|
-
but receipts only land at swap **end**, so a long swap window can still misfire. So the executing party
|
|
217
|
-
sends oversight a **one-line pre-announce at swap start** (seat + expected window); oversight honors it
|
|
218
|
-
as a **suppression window** for its liveness / premature-park flags. See `oversight-team`.
|
|
179
|
+
## Checks around a planned transition
|
|
180
|
+
|
|
181
|
+
- **Stage and assess before the owner calls cutover.** Use startup context when the
|
|
182
|
+
successor is unbound; check its actual address before relying on registry-routed
|
|
183
|
+
delivery. Keep incumbent authority and physical-pane custody until the selected
|
|
184
|
+
SOP's cutover steps apply. A rejected candidate does not require renaming the
|
|
185
|
+
incumbent back into a seat it should still hold.
|
|
186
|
+
- **Preserve exact resume handles.** A retained advisor may have no managed node or
|
|
187
|
+
live pane. The ledger identifies its history independently of the live-seat
|
|
188
|
+
registry; absence from `rig ps` alone does not prove that history is gone.
|
|
189
|
+
- **Recheck work at the boundary.** Queue items can arrive after the packet was
|
|
190
|
+
frozen. The successor reads its current owned queue, reconciles transition-window
|
|
191
|
+
work and staged inputs, and records every remaining obligation.
|
|
192
|
+
- **Verify identity across surfaces.** Canonical binding, provider history,
|
|
193
|
+
process environment, queue identity and attached clients must agree. Correct a
|
|
194
|
+
staged identity residue through the supported cutover/reconciliation path;
|
|
195
|
+
renaming a tmux session alone is not proof that those surfaces agree.
|
|
196
|
+
- **Keep incomplete evidence explicit.** Flag unavailable activity telemetry as
|
|
197
|
+
unavailable, and mark a tombstone written by someone else as approximate.
|
|
198
|
+
- **Coordinate the maintenance window.** Tell the routing/monitoring owner the
|
|
199
|
+
target and expected window before an authorized cutover. Only an explicitly
|
|
200
|
+
configured suppression changes monitoring behavior; close the window with the
|
|
201
|
+
actual effect receipt, deviations and unresolved gaps.
|
|
202
|
+
|
|
203
|
+
These are verification prompts, not a claim that a particular runtime transition
|
|
204
|
+
has passed. Use the linked portable SOP for mechanics and record the actual run.
|
|
219
205
|
|
|
220
206
|
## See also
|
|
221
207
|
|
|
@@ -24,17 +24,15 @@ A pair of primitive families that separate *who is sitting in a seat* from
|
|
|
24
24
|
*what the seat itself is*:
|
|
25
25
|
|
|
26
26
|
1. **Occupant-creation primitives** — `resume`, `fork`, `rebuild`, `fresh` — produce a candidate new occupant. Answer: "where did the new occupant come from?"
|
|
27
|
-
2. **Seat-binding
|
|
27
|
+
2. **Seat-binding operations** — handover binds a candidate occupant into the topology. Answer: "what happened to the stable seat identity?" Inspect the current CLI for executable operations; design vocabulary alone does not establish a command.
|
|
28
28
|
|
|
29
29
|
Core architectural decision: **stable seat identity, fluid occupant
|
|
30
|
-
identity, explicit provenance.**
|
|
31
|
-
|
|
32
|
-
shape. Stable seat name + separately-recorded provenance trail is the
|
|
33
|
-
right shape.
|
|
30
|
+
identity, explicit provenance.** Do not encode successive occupants into live
|
|
31
|
+
seat names. Keep the stable address and record lineage separately.
|
|
34
32
|
|
|
35
33
|
## Use this when
|
|
36
34
|
|
|
37
|
-
- Replacing a seat's occupant via rebuild, fork, fresh, or
|
|
35
|
+
- Replacing a seat's occupant via rebuild, fork, fresh, or seat-handover
|
|
38
36
|
- Choosing old-occupant disposition: retire / advise / shadow
|
|
39
37
|
- Reasoning about whether a seat's lineage is stable or has drifted
|
|
40
38
|
- Reading or writing the provenance record for a seat
|
|
@@ -108,21 +106,28 @@ A seat stays `Stable` even if multiple candidate-occupants were produced and dis
|
|
|
108
106
|
## Hard boundaries (do-not list; verbatim)
|
|
109
107
|
|
|
110
108
|
- **Do NOT collapse `rebuild` and `seat handover` into one primitive.** The design specifically separates them so the system can describe what actually happened.
|
|
111
|
-
- **Do NOT introduce successor-suffix seat names** (`lead2`/`lead3`). Stable seat identity is the architectural goal.
|
|
109
|
+
- **Do NOT introduce successor-suffix seat names** (`lead2`/`lead3`). Stable seat identity is the architectural goal. The live address stays stable. A retired tenure is distinguished by its ledger
|
|
110
|
+
generation and exact history token; preserving it does not require a renamed live pane.
|
|
111
|
+
|
|
112
112
|
- **Do NOT report `seatBindingOutcome: handed_over`** if the provenance record didn't write durably.
|
|
113
113
|
- **Do NOT auto-rollback a half-completed handover** by re-attaching the old occupant unless detach completed cleanly first.
|
|
114
114
|
|
|
115
|
-
## Composition
|
|
115
|
+
## Composition and current command surface
|
|
116
116
|
|
|
117
|
-
|
|
118
|
-
`
|
|
119
|
-
candidate occupant created via fork, bound into the existing seat via
|
|
120
|
-
handover. Continuity outcome is `forked`; binding outcome is independent.
|
|
117
|
+
A fork can create a candidate occupant; handover binds it into an existing seat.
|
|
118
|
+
The continuity outcome is `forked`; the binding outcome is independent.
|
|
121
119
|
|
|
122
|
-
|
|
120
|
+
The packaged `rig handover <seat>` and `rig seat handover <seat>` accept `fresh`,
|
|
121
|
+
`discovered:<id>`, `fork:<id>` and `rebuild` sources. Use `--dry-run` to request
|
|
122
|
+
planning only. Without it, these surfaces can execute; do not infer read-only
|
|
123
|
+
behavior from the shorter seat command's planning-oriented description.
|
|
124
|
+
`rig seat status <seat>` is the read-only observability surface.
|
|
123
125
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
+
Source support is declared by the running daemon and depends on actual identity,
|
|
127
|
+
history and artifact prerequisites. Read the returned source, continuity, binding
|
|
128
|
+
and provenance results independently. A help listing or dry-run is not proof of a
|
|
129
|
+
successful transition. The linked cutover SOP supplies the operator mechanics
|
|
130
|
+
and required effect checks after the named owner authorizes the action.
|
|
126
131
|
|
|
127
132
|
## Why load-bearing for RSI
|
|
128
133
|
|
|
@@ -133,13 +138,14 @@ destabilize topology references on each cycle. Provenance must be
|
|
|
133
138
|
durable AND queryable so RSI loops can decide whether a seat is fresh
|
|
134
139
|
enough to receive new work or needs re-handover.
|
|
135
140
|
|
|
136
|
-
##
|
|
141
|
+
## Managed binding and retained history
|
|
137
142
|
|
|
138
|
-
A
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
+
A retired advisor's history can remain available without a managed node or live
|
|
144
|
+
pane. Query current binding and the lineage ledger separately: one answers who
|
|
145
|
+
holds the seat, the other identifies the retained history and exact resume token.
|
|
146
|
+
Do not infer that a predecessor is unreachable from registry absence alone, or
|
|
147
|
+
that a preserved token proves a successful resume. Check the actual runtime and
|
|
148
|
+
history when consultation is needed; see `retiring-and-inheriting-a-seat`.
|
|
143
149
|
|
|
144
150
|
## See also
|
|
145
151
|
|
|
@@ -148,4 +154,4 @@ Two live handovers confirmed this. See `retiring-and-inheriting-a-seat`.
|
|
|
148
154
|
- `references/apprentice-evidence-toolkit.md` — optional evidence apparatus selected only when the stakes earn it
|
|
149
155
|
- `session-source-fork` skill — `fork` occupant-creation primitive (sibling)
|
|
150
156
|
- `agent-starters` skill — composes occupant-creation + binding into named reusable starting points
|
|
151
|
-
- `cross-host-rig-commands` skill —
|
|
157
|
+
- `cross-host-rig-commands` skill — remote addressing and transport; verify lifecycle support on the target
|
|
@@ -139,20 +139,18 @@ transcript > touched-files > `restore-summary.json`.**
|
|
|
139
139
|
|
|
140
140
|
## Memory surfaces consumed at restore time
|
|
141
141
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
The umbrella's authority-rank + permission-posture columns govern which
|
|
155
|
-
surfaces a restore path can write vs only read.
|
|
142
|
+
A restore may consume transcripts, durable messages, startup context,
|
|
143
|
+
checkpoints and a restore packet. Inventory the surfaces actually present for
|
|
144
|
+
this seat, with their source, freshness and purpose. Do not infer that a named
|
|
145
|
+
surface exists or grants write authority.
|
|
146
|
+
|
|
147
|
+
The active project/rig policy and task authorization determine what may be
|
|
148
|
+
written. Treat provider-owned conversation records as evidence to read through
|
|
149
|
+
supported tooling. For placement and durable context, load
|
|
150
|
+
`skills/openrig-operating-model/SKILL.md` with `rig context get`; for the
|
|
151
|
+
selected startup path, use `skills/core/agent-startup-and-context-ingestion/SKILL.md`.
|
|
152
|
+
A packet or marker proves retained/delivered evidence, not successful provider
|
|
153
|
+
restoration; measure the resumed seat against the proof standard above.
|
|
156
154
|
|
|
157
155
|
## See also
|
|
158
156
|
|
|
@@ -160,4 +158,4 @@ surfaces a restore path can write vs only read.
|
|
|
160
158
|
- `mental-model-ha` skill — HA-pair compaction recovery (different scenario; sister primitive)
|
|
161
159
|
- `session-source-fork` skill — `fork` mode for native-runtime-continuity-based restoration
|
|
162
160
|
- `seat-continuity-and-handover` skill — occupant-creation primitives (resume/fork/rebuild/fresh) that this primitive instantiates
|
|
163
|
-
- `
|
|
161
|
+
- `openrig-operating-model` skill — placement and authority of durable context
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# Public capability and source-map width for the default onboarding walk.
|
|
2
2
|
name: onboarding-width
|
|
3
|
-
version: "0.5.
|
|
4
|
-
# OPR.0.5.6.10 — affordances knowledge (what this system can do) is world
|
|
5
|
-
# content under the coining-session definitions.
|
|
3
|
+
version: "0.5.11"
|
|
6
4
|
taxonomy: world
|
|
7
5
|
purpose: "The public capability map and source map referenced by the default onboarding walk."
|
|
8
6
|
files:
|
|
@@ -9,20 +9,20 @@ You do not need to read any of it now. You need to know it is there.
|
|
|
9
9
|
|
|
10
10
|
## The command surface — `docs/as-built/` in the source repo
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
points and were written to be entered from:
|
|
12
|
+
Use the source repository's `docs/as-built/` index and documents marked
|
|
13
|
+
`kind: as-built`. Start with the entry point that matches your question:
|
|
15
14
|
|
|
16
15
|
- **`README.md` — "Map of Territory + Module Index."** Start here when you do not know which
|
|
17
16
|
document you want.
|
|
18
17
|
- **`codemap.md` — "Navigation Index / Map of Territory."** Start here when you are about to go
|
|
19
18
|
into the code and do not know which module owns the thing.
|
|
20
|
-
- **`cli-reference.md` — the
|
|
19
|
+
- **`cli-reference.md` — the `rig` command reference.** Every group, subcommand, flag,
|
|
21
20
|
JSON shape. **This is the authority on how a command works**, and the capabilities piece
|
|
22
21
|
(`public-what-you-can-do.md`) is only the map to it.
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
Check the document's verification marker against the source you are using. A
|
|
24
|
+
maintained document can still lag a changed command; its history is not proof
|
|
25
|
+
of current behavior.
|
|
26
26
|
|
|
27
27
|
### The field that tells you how much to trust one
|
|
28
28
|
|
|
@@ -42,11 +42,11 @@ binary wins** — and the disagreement is worth reporting, not just working arou
|
|
|
42
42
|
|
|
43
43
|
## The living answer — `--help`
|
|
44
44
|
|
|
45
|
-
**
|
|
45
|
+
**Ask the binary you will actually run.** `rig <verb> --help` and
|
|
46
46
|
`rig <verb> <subcommand> --help` are authoritative for shape, flags and defaults. This costs
|
|
47
47
|
seconds and it is the single cheapest habit on this list.
|
|
48
48
|
|
|
49
|
-
**And use it as a search, not just a lookup.** `rig --help` lists
|
|
49
|
+
**And use it as a search, not just a lookup.** `rig --help` lists the installed top-level commands. If
|
|
50
50
|
you are about to build something, read that list first — the most expensive failure here is
|
|
51
51
|
building a parallel solution out of primitives that already compose into the answer.
|
|
52
52
|
|
|
@@ -61,16 +61,12 @@ does not know the external sources below exist invents instead of looking. An ag
|
|
|
61
61
|
**answers from its training snapshot and states it as current** — and an invented answer and a
|
|
62
62
|
known one look identical once you have stated one.
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
- **`exa` web search** — the general web. Describe the ideal *page*, not keywords: *"blog post
|
|
71
|
-
comparing X and Y performance"* beats *"X vs Y"*. It has an agent mode that does multi-step
|
|
72
|
-
research when one query will not do. `WebSearch` / `WebFetch` ship in the harness and do the
|
|
73
|
-
simpler version of the same job.
|
|
64
|
+
Use the tools actually available in your harness. If a documentation connector
|
|
65
|
+
such as `context7` is installed, use its current lookup interface to find the
|
|
66
|
+
relevant library and version. If a web-search or fetch tool such as `exa` is
|
|
67
|
+
available, use it to locate current primary sources. These tool names are
|
|
68
|
+
examples, not a promise that your installation includes them. State any access
|
|
69
|
+
or version limitation that affects the answer.
|
|
74
70
|
|
|
75
71
|
### The trust rule, and it is not the one these tools invite
|
|
76
72
|
|
|
@@ -78,18 +74,17 @@ known one look identical once you have stated one.
|
|
|
78
74
|
to FIND; go to the primary source to CONFIRM anything load-bearing — the registry, the API, the
|
|
79
75
|
repository, the running binary's `--help`.
|
|
80
76
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
Web caches lag by an unknown and unstated amount, and nothing on the page tells you how much.
|
|
77
|
+
Search indexes and caches can lag the source they describe. For a published
|
|
78
|
+
package version, query the package registry; for an API contract, inspect the
|
|
79
|
+
versioned provider documentation or implementation. An “updated” timestamp on
|
|
80
|
+
a secondary page does not establish which source revision it reflects.
|
|
86
81
|
|
|
87
82
|
So these extend your reach; they do not outrank a primary source, and *newer-looking* is not
|
|
88
83
|
*newer*.
|
|
89
84
|
|
|
90
85
|
## The one you read rather than consult
|
|
91
86
|
|
|
92
|
-
**`openrig-operating-model`** —
|
|
87
|
+
**`openrig-operating-model`** — the skill for context placement and chain walking. Everything else on this page you visit with a
|
|
93
88
|
question already in hand. **That one you read through once**, because it is the shape the rest
|
|
94
89
|
hangs on: the two trees, how context is arranged by altitude, and how a cold agent finds what it
|
|
95
90
|
needs. Reading it is what stops you inventing an arrangement that already exists.
|