@openrig/cli 0.5.5 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/daemon/assets/continuity/apprentice-cutover.md +19 -0
- package/daemon/assets/continuity/apprentice-prepare.md +17 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +81 -4
- package/daemon/assets/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.md +3 -3
- package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/precompact-hook.mjs +0 -0
- package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs +0 -0
- package/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model/SKILL.md +4 -9
- package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +82 -118
- package/daemon/assets/plugins/openrig-core/skills/mission-slice-sop/SKILL.md +24 -25
- package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/SKILL.md +5 -12
- package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/scripts/compose.py +36 -117
- package/daemon/assets/plugins/openrig-core/skills/openrig-skills/SKILL.md +9 -6
- package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +1 -12
- package/daemon/assets/plugins/openrig-core/skills/orienting-to-an-inherited-seat/CHANGELOG.md +1 -1
- package/daemon/assets/plugins/openrig-core/skills/orienting-to-an-inherited-seat/SKILL.md +15 -0
- package/daemon/assets/plugins/openrig-core/skills/queue-handoff/SKILL.md +4 -16
- package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +50 -7
- package/daemon/assets/plugins/openrig-core/skills/retiring-and-inheriting-a-seat/SKILL.md +29 -9
- package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md +3 -0
- package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/references/apprentice-evidence-toolkit.md +32 -0
- package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/references/apprentice-successor-seat-cutover.md +256 -0
- package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/references/orchestrator-role.md +40 -0
- package/daemon/assets/plugins/openrig-core/skills/software-for-agents/SKILL.md +9 -4
- package/daemon/assets/vm-preview-fixtures/README.md +16 -38
- package/daemon/assets/vm-preview-fixtures/workflows/sample-basic-loop.yaml +4 -5
- package/daemon/context-packs/onboarding-width/manifest.yaml +4 -1
- package/daemon/context-packs/onboarding-width/public-reference-material.md +1 -1
- package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +2 -1
- package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/SKILL.md +1 -1
- package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +2 -1
- package/daemon/context-packs/skills/core/cross-host-rig-commands/SKILL.md +6 -13
- package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +2 -1
- package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +2 -1
- package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +98 -0
- package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +10 -0
- package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +2 -1
- package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +2 -1
- package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +2 -1
- package/daemon/context-packs/skills/core/openrig-skills/SKILL.md +118 -0
- package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +10 -0
- package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +19 -75
- package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +2 -1
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +2 -1
- package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +2 -1
- package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +2 -1
- package/daemon/context-packs/skills/core/specification-system/manifest.yaml +2 -1
- package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +2 -1
- package/daemon/context-packs/skills/core/watchdog/SKILL.md +4 -10
- package/daemon/context-packs/skills/core/watchdog/manifest.yaml +2 -1
- package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +2 -1
- package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +2 -1
- package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +2 -1
- package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +2 -1
- package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +2 -1
- package/daemon/context-packs/skills/pm/requirements-writer/SKILL.md +15 -21
- package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +4 -3
- package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +2 -1
- package/daemon/context-packs/skills/pods/development-team/manifest.yaml +2 -1
- package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +2 -1
- package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +2 -1
- package/daemon/context-packs/skills/pods/review-team/manifest.yaml +2 -1
- package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +2 -1
- package/daemon/context-packs/skills/process/brainstorming/manifest.yaml +2 -1
- package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +2 -1
- package/daemon/context-packs/skills/process/dogfood/manifest.yaml +2 -1
- package/daemon/context-packs/skills/process/executing-plans/manifest.yaml +2 -1
- package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +2 -1
- package/daemon/context-packs/skills/process/systematic-debugging/find-polluter.sh +0 -0
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +2 -1
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +2 -1
- package/daemon/context-packs/skills/process/using-superpowers/manifest.yaml +2 -1
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +2 -1
- package/daemon/context-packs/skills/process/writing-plans/manifest.yaml +2 -1
- package/daemon/context-packs/world-example/manifest.yaml +15 -2
- package/daemon/context-packs/world-example/your-world.md +19 -2
- package/daemon/context-packs/world-public/boundaries.md +33 -0
- package/daemon/context-packs/world-public/build-your-world.md +84 -0
- package/daemon/context-packs/world-public/claims.yaml +205 -0
- package/daemon/context-packs/world-public/manifest.yaml +59 -0
- package/daemon/context-packs/world-public/start-here.md +51 -0
- package/daemon/context-packs/world-public/verify-world.sh +522 -0
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/context-pack-taxonomy-surface.d.ts +2 -0
- package/daemon/dist/context-pack-taxonomy-surface.d.ts.map +1 -0
- package/daemon/dist/context-pack-taxonomy-surface.js +6 -0
- package/daemon/dist/context-pack-taxonomy-surface.js.map +1 -0
- package/daemon/dist/db/all-migrations.d.ts +1 -1
- package/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/daemon/dist/db/all-migrations.js +8 -2
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/074_context_usage_watchdog.d.ts +4 -0
- package/daemon/dist/db/migrations/074_context_usage_watchdog.d.ts.map +1 -0
- package/daemon/dist/db/migrations/074_context_usage_watchdog.js +11 -0
- package/daemon/dist/db/migrations/074_context_usage_watchdog.js.map +1 -0
- package/daemon/dist/db/migrations/075_context_usage_watchdog_generation.d.ts +4 -0
- package/daemon/dist/db/migrations/075_context_usage_watchdog_generation.d.ts.map +1 -0
- package/daemon/dist/db/migrations/075_context_usage_watchdog_generation.js +8 -0
- package/daemon/dist/db/migrations/075_context_usage_watchdog_generation.js.map +1 -0
- package/daemon/dist/db/migrations/076_owner_notification_levels.d.ts +8 -0
- package/daemon/dist/db/migrations/076_owner_notification_levels.d.ts.map +1 -0
- package/daemon/dist/db/migrations/076_owner_notification_levels.js +15 -0
- package/daemon/dist/db/migrations/076_owner_notification_levels.js.map +1 -0
- package/daemon/dist/domain/active-occupant.d.ts +44 -0
- package/daemon/dist/domain/active-occupant.d.ts.map +1 -0
- package/daemon/dist/domain/active-occupant.js +72 -0
- package/daemon/dist/domain/active-occupant.js.map +1 -0
- package/daemon/dist/domain/agent-manifest.d.ts +6 -0
- package/daemon/dist/domain/agent-manifest.d.ts.map +1 -1
- package/daemon/dist/domain/agent-manifest.js +77 -15
- package/daemon/dist/domain/agent-manifest.js.map +1 -1
- package/daemon/dist/domain/agent-resolver.d.ts +11 -0
- package/daemon/dist/domain/agent-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/agent-resolver.js +55 -0
- package/daemon/dist/domain/agent-resolver.js.map +1 -1
- package/daemon/dist/domain/bundle-context-packs-router.d.ts +9 -2
- package/daemon/dist/domain/bundle-context-packs-router.d.ts.map +1 -1
- package/daemon/dist/domain/bundle-context-packs-router.js +18 -0
- package/daemon/dist/domain/bundle-context-packs-router.js.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts +7 -0
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +10 -0
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/context-packs/context-pack-library-service.d.ts.map +1 -1
- package/daemon/dist/domain/context-packs/context-pack-library-service.js +7 -0
- package/daemon/dist/domain/context-packs/context-pack-library-service.js.map +1 -1
- package/daemon/dist/domain/context-packs/context-pack-types.d.ts +11 -0
- package/daemon/dist/domain/context-packs/context-pack-types.d.ts.map +1 -1
- package/daemon/dist/domain/context-packs/context-pack-types.js +11 -0
- package/daemon/dist/domain/context-packs/context-pack-types.js.map +1 -1
- package/daemon/dist/domain/context-packs/manifest-parser.d.ts.map +1 -1
- package/daemon/dist/domain/context-packs/manifest-parser.js +13 -1
- package/daemon/dist/domain/context-packs/manifest-parser.js.map +1 -1
- package/daemon/dist/domain/continuity-policy-materializer.d.ts +88 -0
- package/daemon/dist/domain/continuity-policy-materializer.d.ts.map +1 -0
- package/daemon/dist/domain/continuity-policy-materializer.js +290 -0
- package/daemon/dist/domain/continuity-policy-materializer.js.map +1 -0
- package/daemon/dist/domain/continuity-stack-packets.d.ts +65 -0
- package/daemon/dist/domain/continuity-stack-packets.d.ts.map +1 -0
- package/daemon/dist/domain/continuity-stack-packets.js +99 -0
- package/daemon/dist/domain/continuity-stack-packets.js.map +1 -0
- package/daemon/dist/domain/execution-view.d.ts +39 -0
- package/daemon/dist/domain/execution-view.d.ts.map +1 -0
- package/daemon/dist/domain/execution-view.js +707 -0
- package/daemon/dist/domain/execution-view.js.map +1 -0
- package/daemon/dist/domain/gateway/delivery-rules-engine.d.ts +60 -0
- package/daemon/dist/domain/gateway/delivery-rules-engine.d.ts.map +1 -0
- package/daemon/dist/domain/gateway/delivery-rules-engine.js +144 -0
- package/daemon/dist/domain/gateway/delivery-rules-engine.js.map +1 -0
- package/daemon/dist/domain/gateway/destination-resolver.d.ts +20 -0
- package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -0
- package/daemon/dist/domain/gateway/destination-resolver.js +52 -0
- package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -0
- package/daemon/dist/domain/gateway/dispatcher.d.ts +3 -1
- package/daemon/dist/domain/gateway/dispatcher.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/dispatcher.js +9 -2
- package/daemon/dist/domain/gateway/dispatcher.js.map +1 -1
- package/daemon/dist/domain/gateway/gateway-subsystem.d.ts +6 -2
- package/daemon/dist/domain/gateway/gateway-subsystem.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/gateway-subsystem.js +5 -3
- package/daemon/dist/domain/gateway/gateway-subsystem.js.map +1 -1
- package/daemon/dist/domain/gateway/human-registry.d.ts +9 -1
- package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/human-registry.js +32 -1
- package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts +32 -0
- package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -0
- package/daemon/dist/domain/gateway/operator-delivery-engine.js +86 -0
- package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -0
- package/daemon/dist/domain/gateway/slack/config.d.ts +3 -2
- package/daemon/dist/domain/gateway/slack/config.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/config.js +20 -4
- package/daemon/dist/domain/gateway/slack/config.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts +34 -6
- package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.js +60 -9
- package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts +3 -0
- package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/outbound-driver.js +12 -5
- package/daemon/dist/domain/gateway/slack/outbound-driver.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts +10 -5
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js +46 -19
- package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-api.d.ts +29 -6
- package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-api.js +41 -3
- package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +9 -3
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.js +132 -12
- package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +10 -0
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js +286 -11
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/daemon/dist/domain/graph-projection.d.ts +6 -0
- package/daemon/dist/domain/graph-projection.d.ts.map +1 -1
- package/daemon/dist/domain/graph-projection.js +6 -0
- package/daemon/dist/domain/graph-projection.js.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js +1 -0
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
- package/daemon/dist/domain/node-inventory.d.ts +41 -3
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +45 -48
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/parked-query.d.ts +1 -0
- package/daemon/dist/domain/parked-query.d.ts.map +1 -1
- package/daemon/dist/domain/parked-query.js +1 -0
- package/daemon/dist/domain/parked-query.js.map +1 -1
- package/daemon/dist/domain/pod-bundle-assembler.d.ts.map +1 -1
- package/daemon/dist/domain/pod-bundle-assembler.js +12 -5
- package/daemon/dist/domain/pod-bundle-assembler.js.map +1 -1
- package/daemon/dist/domain/policies/context-usage-threshold.d.ts +7 -0
- package/daemon/dist/domain/policies/context-usage-threshold.d.ts.map +1 -0
- package/daemon/dist/domain/policies/context-usage-threshold.js +99 -0
- package/daemon/dist/domain/policies/context-usage-threshold.js.map +1 -0
- package/daemon/dist/domain/policies/delivery-deferral.d.ts +54 -0
- package/daemon/dist/domain/policies/delivery-deferral.d.ts.map +1 -0
- package/daemon/dist/domain/policies/delivery-deferral.js +153 -0
- package/daemon/dist/domain/policies/delivery-deferral.js.map +1 -0
- package/daemon/dist/domain/policies/delivery-digest-flush.d.ts +45 -0
- package/daemon/dist/domain/policies/delivery-digest-flush.d.ts.map +1 -0
- package/daemon/dist/domain/policies/delivery-digest-flush.js +94 -0
- package/daemon/dist/domain/policies/delivery-digest-flush.js.map +1 -0
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +65 -0
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -0
- package/daemon/dist/domain/policies/parked-owner-consumer.js +244 -0
- package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -0
- package/daemon/dist/domain/policies/types.d.ts +8 -0
- package/daemon/dist/domain/policies/types.d.ts.map +1 -1
- package/daemon/dist/domain/profile-resolver.d.ts +4 -0
- package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/profile-resolver.js +58 -0
- package/daemon/dist/domain/profile-resolver.js.map +1 -1
- package/daemon/dist/domain/provider/provider-signals.d.ts +20 -1
- package/daemon/dist/domain/provider/provider-signals.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-signals.js +64 -0
- package/daemon/dist/domain/provider/provider-signals.js.map +1 -1
- package/daemon/dist/domain/ps-projection.d.ts +7 -5
- package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
- package/daemon/dist/domain/ps-projection.js +19 -32
- package/daemon/dist/domain/ps-projection.js.map +1 -1
- package/daemon/dist/domain/queue-pickup.d.ts.map +1 -1
- package/daemon/dist/domain/queue-pickup.js +5 -0
- package/daemon/dist/domain/queue-pickup.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +55 -18
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +387 -83
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
- package/daemon/dist/domain/queue-retention.js +8 -2
- package/daemon/dist/domain/queue-retention.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts +24 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +161 -24
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/queue-transition-log.d.ts +10 -0
- package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transition-log.js +49 -11
- package/daemon/dist/domain/queue-transition-log.js.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts +20 -2
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +187 -15
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.d.ts +16 -0
- package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.js +52 -3
- package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
- package/daemon/dist/domain/restore-check-service.js +1 -1
- package/daemon/dist/domain/restore-check-service.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +2 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +88 -15
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/restore-plan-preview.d.ts +6 -2
- package/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
- package/daemon/dist/domain/restore-plan-preview.js +37 -19
- package/daemon/dist/domain/restore-plan-preview.js.map +1 -1
- package/daemon/dist/domain/rig-expansion-service.d.ts.map +1 -1
- package/daemon/dist/domain/rig-expansion-service.js +10 -9
- package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
- package/daemon/dist/domain/rig-repository.d.ts +4 -0
- package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/daemon/dist/domain/rig-repository.js +21 -3
- package/daemon/dist/domain/rig-repository.js.map +1 -1
- package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-codec.js +74 -4
- package/daemon/dist/domain/rigspec-codec.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +4 -0
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +14 -0
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-schema.js +32 -4
- package/daemon/dist/domain/rigspec-schema.js.map +1 -1
- package/daemon/dist/domain/scope/node-file.d.ts +8 -0
- package/daemon/dist/domain/scope/node-file.d.ts.map +1 -1
- package/daemon/dist/domain/scope/node-file.js +18 -0
- package/daemon/dist/domain/scope/node-file.js.map +1 -1
- package/daemon/dist/domain/scope/scope-audit.d.ts +5 -2
- package/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
- package/daemon/dist/domain/scope/scope-audit.js +3 -3
- package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
- package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
- package/daemon/dist/domain/snapshot-capture.js +6 -0
- package/daemon/dist/domain/snapshot-capture.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +26 -4
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/view-projector.d.ts +5 -1
- package/daemon/dist/domain/view-projector.d.ts.map +1 -1
- package/daemon/dist/domain/view-projector.js +24 -0
- package/daemon/dist/domain/view-projector.js.map +1 -1
- package/daemon/dist/domain/watchdog-jobs-repository.d.ts +25 -6
- package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-jobs-repository.js +115 -32
- package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.d.ts +40 -1
- package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.js +112 -6
- package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
- package/daemon/dist/domain/watchdog-scheduler.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-scheduler.js +3 -2
- package/daemon/dist/domain/watchdog-scheduler.js.map +1 -1
- package/daemon/dist/domain/workspace/workspace-doctor.d.ts.map +1 -1
- package/daemon/dist/domain/workspace/workspace-doctor.js +2 -4
- package/daemon/dist/domain/workspace/workspace-doctor.js.map +1 -1
- package/daemon/dist/index.d.ts +9 -0
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +24 -1
- package/daemon/dist/index.js.map +1 -1
- package/daemon/dist/routes/agent-images.d.ts.map +1 -1
- package/daemon/dist/routes/agent-images.js +9 -0
- package/daemon/dist/routes/agent-images.js.map +1 -1
- package/daemon/dist/routes/bundles.d.ts.map +1 -1
- package/daemon/dist/routes/bundles.js +61 -1
- package/daemon/dist/routes/bundles.js.map +1 -1
- package/daemon/dist/routes/gateway.js +1 -1
- 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 +22 -11
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/rigs.js +38 -2
- package/daemon/dist/routes/rigs.js.map +1 -1
- package/daemon/dist/routes/scope-audit.js +6 -6
- package/daemon/dist/routes/scope-audit.js.map +1 -1
- package/daemon/dist/routes/views.d.ts.map +1 -1
- package/daemon/dist/routes/views.js +4 -1
- package/daemon/dist/routes/views.js.map +1 -1
- package/daemon/dist/routes/watchdog.d.ts.map +1 -1
- package/daemon/dist/routes/watchdog.js +40 -3
- package/daemon/dist/routes/watchdog.js.map +1 -1
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +5 -0
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +194 -5
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/docs/reference/agent-spec.md +4 -4
- package/daemon/docs/reference/agent-state-taxonomy.md +8 -13
- package/daemon/docs/reference/chain-file-convention.md +2 -2
- package/daemon/docs/reference/knowledge-maturity.md +123 -0
- package/daemon/docs/reference/lore-routing.md +173 -0
- package/daemon/docs/reference/mission-install.md +194 -0
- package/daemon/docs/reference/planning-dial.md +55 -0
- package/daemon/docs/reference/product-management-pass.md +139 -0
- package/daemon/docs/reference/release-boundary.md +88 -0
- package/daemon/docs/reference/sdlc-conventions.md +42 -69
- package/daemon/docs/reference/wave-sdlc.md +113 -0
- package/daemon/policies/builtin/standard.policy.md +3 -3
- package/daemon/policies/builtin/yolo.policy.md +7 -2
- package/daemon/specs/agents/shared/skills/core/agent-startup-and-context-ingestion/SKILL.md +1 -1
- package/daemon/specs/agents/shared/skills/core/cross-host-rig-commands/SKILL.md +6 -13
- package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +98 -0
- package/daemon/specs/agents/shared/skills/core/openrig-skills/SKILL.md +118 -0
- package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +19 -75
- package/daemon/specs/agents/shared/skills/core/watchdog/SKILL.md +4 -10
- package/daemon/specs/agents/shared/skills/pm/requirements-writer/SKILL.md +15 -21
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/find-polluter.sh +0 -0
- package/daemon/specs/rigs/launch/kernel/agents/advisor/lead/guidance/role.md +2 -2
- package/daemon/specs/rigs/launch/kernel/agents/advisor/lead/startup/context.md +3 -3
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +3 -3
- package/daemon/specs/rigs/launch/kernel/agents/queue/worker/guidance/role.md +1 -1
- package/daemon/specs/rigs/launch/kernel/agents/queue/worker/startup/context.md +1 -1
- package/daemon/substance-surfaces.json +8 -0
- package/dist/build-info.js +3 -3
- package/dist/commands/broadcast.d.ts.map +1 -1
- package/dist/commands/broadcast.js +6 -1
- package/dist/commands/broadcast.js.map +1 -1
- package/dist/commands/capture.js +1 -1
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +12 -1
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/expand.d.ts.map +1 -1
- package/dist/commands/expand.js +9 -13
- package/dist/commands/expand.js.map +1 -1
- package/dist/commands/ps.d.ts +4 -0
- package/dist/commands/ps.d.ts.map +1 -1
- package/dist/commands/ps.js +15 -7
- package/dist/commands/ps.js.map +1 -1
- package/dist/commands/scope.d.ts.map +1 -1
- package/dist/commands/scope.js +40 -11
- package/dist/commands/scope.js.map +1 -1
- package/dist/commands/send.d.ts +2 -0
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +24 -2
- package/dist/commands/send.js.map +1 -1
- package/dist/commands/slack.d.ts.map +1 -1
- package/dist/commands/slack.js +4 -2
- package/dist/commands/slack.js.map +1 -1
- package/dist/commands/view.d.ts.map +1 -1
- package/dist/commands/view.js +3 -0
- package/dist/commands/view.js.map +1 -1
- package/dist/commands/watchdog.d.ts.map +1 -1
- package/dist/commands/watchdog.js +64 -9
- package/dist/commands/watchdog.js.map +1 -1
- package/dist/cross-host-target.js +1 -1
- package/dist/cross-host-target.js.map +1 -1
- package/dist/host-registry.d.ts +2 -2
- package/dist/host-registry.js +2 -2
- package/dist/lib/scope/scope-audit.d.ts +4 -1
- package/dist/lib/scope/scope-audit.d.ts.map +1 -1
- package/dist/lib/scope/scope-audit.js +3 -3
- package/dist/lib/scope/scope-audit.js.map +1 -1
- package/dist/lib/scope/scope-fs.d.ts +8 -0
- package/dist/lib/scope/scope-fs.d.ts.map +1 -1
- package/dist/lib/scope/scope-fs.js +18 -0
- package/dist/lib/scope/scope-fs.js.map +1 -1
- package/dist/lib/scope-templates/backlog-deprecation.md +1 -1
- package/dist/lib/scope-templates/backlog-tech-debt.md +1 -1
- package/dist/lib/scope-templates/bug-fix.md +1 -1
- package/dist/lib/scope-templates/capability-delta.md +1 -0
- package/dist/lib/scope-templates/placeholder.md +1 -1
- package/dist/lib/scope-templates/release-feature.md +1 -1
- package/dist/lib/scope-templates/research.md +1 -1
- package/node_modules/@openrig/daemon/dist/build-info.js +3 -3
- package/node_modules/@openrig/daemon/dist/context-pack-taxonomy-surface.d.ts +2 -0
- package/node_modules/@openrig/daemon/dist/context-pack-taxonomy-surface.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/context-pack-taxonomy-surface.js +6 -0
- package/node_modules/@openrig/daemon/dist/context-pack-taxonomy-surface.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/db/all-migrations.d.ts +1 -1
- package/node_modules/@openrig/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/db/all-migrations.js +8 -2
- package/node_modules/@openrig/daemon/dist/db/all-migrations.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/db/migrations/074_context_usage_watchdog.d.ts +4 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/074_context_usage_watchdog.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/074_context_usage_watchdog.js +11 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/074_context_usage_watchdog.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/075_context_usage_watchdog_generation.d.ts +4 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/075_context_usage_watchdog_generation.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/075_context_usage_watchdog_generation.js +8 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/075_context_usage_watchdog_generation.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/076_owner_notification_levels.d.ts +8 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/076_owner_notification_levels.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/076_owner_notification_levels.js +15 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/076_owner_notification_levels.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/active-occupant.d.ts +44 -0
- package/node_modules/@openrig/daemon/dist/domain/active-occupant.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/active-occupant.js +72 -0
- package/node_modules/@openrig/daemon/dist/domain/active-occupant.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/agent-manifest.d.ts +6 -0
- package/node_modules/@openrig/daemon/dist/domain/agent-manifest.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/agent-manifest.js +77 -15
- package/node_modules/@openrig/daemon/dist/domain/agent-manifest.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/agent-resolver.d.ts +11 -0
- package/node_modules/@openrig/daemon/dist/domain/agent-resolver.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/agent-resolver.js +55 -0
- package/node_modules/@openrig/daemon/dist/domain/agent-resolver.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/bundle-context-packs-router.d.ts +9 -2
- package/node_modules/@openrig/daemon/dist/domain/bundle-context-packs-router.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/bundle-context-packs-router.js +18 -0
- package/node_modules/@openrig/daemon/dist/domain/bundle-context-packs-router.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/claude-compaction-enforcer.d.ts +7 -0
- package/node_modules/@openrig/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/claude-compaction-enforcer.js +10 -0
- package/node_modules/@openrig/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-library-service.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-library-service.js +7 -0
- package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-library-service.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.d.ts +11 -0
- package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.js +11 -0
- package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/manifest-parser.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/manifest-parser.js +13 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/manifest-parser.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/continuity-policy-materializer.d.ts +88 -0
- package/node_modules/@openrig/daemon/dist/domain/continuity-policy-materializer.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/continuity-policy-materializer.js +290 -0
- package/node_modules/@openrig/daemon/dist/domain/continuity-policy-materializer.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/continuity-stack-packets.d.ts +65 -0
- package/node_modules/@openrig/daemon/dist/domain/continuity-stack-packets.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/continuity-stack-packets.js +99 -0
- package/node_modules/@openrig/daemon/dist/domain/continuity-stack-packets.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/execution-view.d.ts +39 -0
- package/node_modules/@openrig/daemon/dist/domain/execution-view.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/execution-view.js +707 -0
- package/node_modules/@openrig/daemon/dist/domain/execution-view.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/delivery-rules-engine.d.ts +60 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/delivery-rules-engine.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/delivery-rules-engine.js +144 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/delivery-rules-engine.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/destination-resolver.d.ts +20 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/destination-resolver.js +52 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/destination-resolver.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/dispatcher.d.ts +3 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/dispatcher.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/dispatcher.js +9 -2
- package/node_modules/@openrig/daemon/dist/domain/gateway/dispatcher.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.d.ts +6 -2
- package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.js +5 -3
- package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.d.ts +9 -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 +32 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/operator-delivery-engine.d.ts +32 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/operator-delivery-engine.js +86 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/config.d.ts +3 -2
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/config.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/config.js +20 -4
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/config.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.d.ts +34 -6
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.js +60 -9
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/outbound-driver.d.ts +3 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/outbound-driver.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/outbound-driver.js +12 -5
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/outbound-driver.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.d.ts +10 -5
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.js +46 -19
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-api.d.ts +29 -6
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-api.js +41 -3
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +9 -3
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-delivery.js +132 -12
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +10 -0
- 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 +286 -11
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/graph-projection.d.ts +6 -0
- package/node_modules/@openrig/daemon/dist/domain/graph-projection.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/graph-projection.js +6 -0
- package/node_modules/@openrig/daemon/dist/domain/graph-projection.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/mission-control/mission-control-write-contract.js +1 -0
- package/node_modules/@openrig/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/node-inventory.d.ts +41 -3
- package/node_modules/@openrig/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/node-inventory.js +45 -48
- package/node_modules/@openrig/daemon/dist/domain/node-inventory.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/parked-query.d.ts +1 -0
- package/node_modules/@openrig/daemon/dist/domain/parked-query.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/parked-query.js +1 -0
- package/node_modules/@openrig/daemon/dist/domain/parked-query.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/pod-bundle-assembler.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/pod-bundle-assembler.js +12 -5
- package/node_modules/@openrig/daemon/dist/domain/pod-bundle-assembler.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/policies/context-usage-threshold.d.ts +7 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/context-usage-threshold.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/context-usage-threshold.js +99 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/context-usage-threshold.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/delivery-deferral.d.ts +54 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/delivery-deferral.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/delivery-deferral.js +153 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/delivery-deferral.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/delivery-digest-flush.d.ts +45 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/delivery-digest-flush.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/delivery-digest-flush.js +94 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/delivery-digest-flush.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.d.ts +65 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.js +244 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/types.d.ts +8 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/types.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/profile-resolver.d.ts +4 -0
- package/node_modules/@openrig/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/profile-resolver.js +58 -0
- package/node_modules/@openrig/daemon/dist/domain/profile-resolver.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/provider/provider-signals.d.ts +20 -1
- package/node_modules/@openrig/daemon/dist/domain/provider/provider-signals.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/provider/provider-signals.js +64 -0
- package/node_modules/@openrig/daemon/dist/domain/provider/provider-signals.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/ps-projection.d.ts +7 -5
- package/node_modules/@openrig/daemon/dist/domain/ps-projection.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/ps-projection.js +19 -32
- package/node_modules/@openrig/daemon/dist/domain/ps-projection.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-pickup.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-pickup.js +5 -0
- package/node_modules/@openrig/daemon/dist/domain/queue-pickup.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-repository.d.ts +55 -18
- package/node_modules/@openrig/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-repository.js +387 -83
- package/node_modules/@openrig/daemon/dist/domain/queue-repository.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-retention.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-retention.js +8 -2
- package/node_modules/@openrig/daemon/dist/domain/queue-retention.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.d.ts +24 -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 +161 -24
- package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.d.ts +10 -0
- package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.js +49 -11
- package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-wake-ladder.d.ts +20 -2
- package/node_modules/@openrig/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-wake-ladder.js +187 -15
- package/node_modules/@openrig/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.d.ts +16 -0
- package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.js +52 -3
- package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/restore-check-service.js +1 -1
- package/node_modules/@openrig/daemon/dist/domain/restore-check-service.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.d.ts +2 -1
- package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.js +88 -15
- package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/restore-plan-preview.d.ts +6 -2
- package/node_modules/@openrig/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/restore-plan-preview.js +37 -19
- package/node_modules/@openrig/daemon/dist/domain/restore-plan-preview.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rig-expansion-service.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rig-expansion-service.js +10 -9
- package/node_modules/@openrig/daemon/dist/domain/rig-expansion-service.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rig-repository.d.ts +4 -0
- package/node_modules/@openrig/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rig-repository.js +21 -3
- package/node_modules/@openrig/daemon/dist/domain/rig-repository.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-codec.js +74 -4
- package/node_modules/@openrig/daemon/dist/domain/rigspec-codec.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.d.ts +4 -0
- package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.js +14 -0
- package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-schema.js +32 -4
- package/node_modules/@openrig/daemon/dist/domain/rigspec-schema.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/scope/node-file.d.ts +8 -0
- package/node_modules/@openrig/daemon/dist/domain/scope/node-file.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/scope/node-file.js +18 -0
- package/node_modules/@openrig/daemon/dist/domain/scope/node-file.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/scope/scope-audit.d.ts +5 -2
- package/node_modules/@openrig/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/scope/scope-audit.js +3 -3
- package/node_modules/@openrig/daemon/dist/domain/scope/scope-audit.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.js +6 -0
- package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/types.d.ts +26 -4
- 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/view-projector.d.ts +5 -1
- package/node_modules/@openrig/daemon/dist/domain/view-projector.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/view-projector.js +24 -0
- package/node_modules/@openrig/daemon/dist/domain/view-projector.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.d.ts +25 -6
- package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.js +115 -32
- package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.d.ts +40 -1
- package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.js +112 -6
- package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/watchdog-scheduler.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/watchdog-scheduler.js +3 -2
- package/node_modules/@openrig/daemon/dist/domain/watchdog-scheduler.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workspace/workspace-doctor.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workspace/workspace-doctor.js +2 -4
- package/node_modules/@openrig/daemon/dist/domain/workspace/workspace-doctor.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/index.d.ts +9 -0
- package/node_modules/@openrig/daemon/dist/index.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/index.js +24 -1
- package/node_modules/@openrig/daemon/dist/index.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/agent-images.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/agent-images.js +9 -0
- package/node_modules/@openrig/daemon/dist/routes/agent-images.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/bundles.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/bundles.js +61 -1
- package/node_modules/@openrig/daemon/dist/routes/bundles.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/gateway.js +1 -1
- 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 +22 -11
- package/node_modules/@openrig/daemon/dist/routes/queue.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/rigs.js +38 -2
- package/node_modules/@openrig/daemon/dist/routes/rigs.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/scope-audit.js +6 -6
- package/node_modules/@openrig/daemon/dist/routes/scope-audit.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/views.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/views.js +4 -1
- package/node_modules/@openrig/daemon/dist/routes/views.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/watchdog.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/watchdog.js +40 -3
- package/node_modules/@openrig/daemon/dist/routes/watchdog.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/server.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/server.js +5 -0
- 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 +194 -5
- 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/demo-data.js +2 -2
- package/tui/dist/demo-data.js.map +1 -1
- package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/CHANGELOG.md +0 -92
- package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/REVISION-GUIDE.md +0 -34
- package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/ROADMAP.md +0 -23
- package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/ROLLOUT.md +0 -234
- package/daemon/context-packs/skills/core/attention-queue/SKILL.md +0 -264
- package/daemon/context-packs/skills/core/attention-queue/manifest.yaml +0 -9
- package/daemon/specs/agents/shared/skills/core/attention-queue/SKILL.md +0 -264
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
# Apprentice-Successor Seat Cutover SOP
|
|
2
|
+
|
|
3
|
+
Status: operator-proven on 2026-08-28; curated on 2026-08-30 with the physical-seat correction
|
|
4
|
+
|
|
5
|
+
Use this runbook after an apprentice successor has completed its install, observation,
|
|
6
|
+
and acceptance gates and the authorized decision-maker has explicitly called the
|
|
7
|
+
cutover. It covers the mechanical transition from the temporary successor seat to a
|
|
8
|
+
stable desk seat while preserving the incumbent as wakeable memory.
|
|
9
|
+
|
|
10
|
+
This SOP does not decide whether a successor is ready. The desk, owner, or other
|
|
11
|
+
named authority owns that judgment. The operator owns the mechanics and proof.
|
|
12
|
+
|
|
13
|
+
## Required Inputs
|
|
14
|
+
|
|
15
|
+
Record these on one durable operator baton before mutation:
|
|
16
|
+
|
|
17
|
+
- authoritative cutover instruction and decision-maker;
|
|
18
|
+
- target rig and host;
|
|
19
|
+
- stable target logical ID, node ID, and canonical session name;
|
|
20
|
+
- successor logical ID, node ID, canonical session name, and exact provider resume token;
|
|
21
|
+
- incumbent exact provider resume token;
|
|
22
|
+
- required runtime, model, cwd, `OPENRIG_HOME`, `OPENRIG_URL`, and managed runtime `PATH`;
|
|
23
|
+
- old-occupant disposition, including whether it remains wakeable;
|
|
24
|
+
- duty-custody artifact or ledger entry the successor must accept;
|
|
25
|
+
- queue rows or staged messages that must survive the swap;
|
|
26
|
+
- receipt destinations.
|
|
27
|
+
|
|
28
|
+
Do not infer a provider token from a label. Derive it from the live session record and
|
|
29
|
+
corroborate it against the active provider history file.
|
|
30
|
+
|
|
31
|
+
## Invariants
|
|
32
|
+
|
|
33
|
+
1. The stable seat identity stays stable. Successor lineage belongs in provenance, not
|
|
34
|
+
in a suffixed live seat name.
|
|
35
|
+
2. The exact accepted provider history moves. No compact, summary, fork, or accidental
|
|
36
|
+
stale-history restore is allowed.
|
|
37
|
+
3. Desk authority stays frozen from the incumbent's idle acknowledgment until the new
|
|
38
|
+
occupant passes its post-cutover self-check.
|
|
39
|
+
4. The incumbent remains wakeable by its exact provider token when the ruled disposition
|
|
40
|
+
is advisory reserve. Preserving the canonical physical pane does not require preserving
|
|
41
|
+
the incumbent process in that pane.
|
|
42
|
+
5. A staged prompt is not durable merely because it is visible in a pane. Reconcile it
|
|
43
|
+
against the outbox or another durable source before stopping that pane.
|
|
44
|
+
6. Seat binding, provider history, process environment, queue identity, and Herder
|
|
45
|
+
client attachment are separate surfaces. Verify each one.
|
|
46
|
+
7. A timed-out operation is indeterminate. Read back by effect before retrying.
|
|
47
|
+
|
|
48
|
+
## Phase 1: Fence And Preflight
|
|
49
|
+
|
|
50
|
+
1. Claim the durable operator baton.
|
|
51
|
+
2. Ask the incumbent and successor to finish their current atomic action and return to
|
|
52
|
+
idle prompts. Require explicit acknowledgments.
|
|
53
|
+
3. Freeze desk actions, folds, rulings, routing, and owner-facing writes.
|
|
54
|
+
4. Read the full baton and the named duty-custody artifact.
|
|
55
|
+
5. Derive live state:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
rig whoami --json
|
|
59
|
+
rig seat status <target-seat> --json
|
|
60
|
+
rig ps --nodes --rig <rig> --json
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
6. In the host database, read the latest target and successor session rows. Confirm the
|
|
64
|
+
exact successor resume token and the incumbent token.
|
|
65
|
+
7. Confirm both provider history files exist and that the successor file is actively
|
|
66
|
+
written.
|
|
67
|
+
8. Inspect the successor pane and durable outbox for staged-but-unsent input. Record a
|
|
68
|
+
disposition for every such input before stopping the seat.
|
|
69
|
+
9. Record all Herder/tmux clients currently attached to the incumbent session.
|
|
70
|
+
10. Take a bounded rig snapshot and record its ID.
|
|
71
|
+
|
|
72
|
+
Stop if identity, token, model, authority, custody, or staged-input evidence disagrees.
|
|
73
|
+
|
|
74
|
+
## Phase 2: Quiesce The Temporary Successor
|
|
75
|
+
|
|
76
|
+
Use supported lifecycle surfaces. The correct detach verb depends on the current
|
|
77
|
+
session origin:
|
|
78
|
+
|
|
79
|
+
- `claimed` or `adopted`: use `rig unclaim` as prescribed by the CLI;
|
|
80
|
+
- `launched`: use `rig seat stop <successor-seat>`; `rig unclaim` will correctly refuse.
|
|
81
|
+
|
|
82
|
+
Run `rig seat clean` only if a remaining managed record actually needs cleaning. A
|
|
83
|
+
`nothing_to_clean` result after a successful stop is acceptable.
|
|
84
|
+
|
|
85
|
+
Do not use `rig down`, kill a provider, clear the provider history, or start a generic
|
|
86
|
+
fresh occupant.
|
|
87
|
+
|
|
88
|
+
## Phase 3: Realize The Exact Candidate
|
|
89
|
+
|
|
90
|
+
Start an isolated, discoverable candidate from the exact accepted provider token. Give
|
|
91
|
+
it the target seat's canonical environment from its first byte:
|
|
92
|
+
|
|
93
|
+
```text
|
|
94
|
+
OPENRIG_SESSION_NAME=<target-session>
|
|
95
|
+
OPENRIG_NODE_ID=<target-node-id>
|
|
96
|
+
OPENRIG_RUNTIME=<runtime>
|
|
97
|
+
OPENRIG_HOME=<home>
|
|
98
|
+
OPENRIG_URL=<url>
|
|
99
|
+
PATH=<managed-runtime-bin>:<required-system-paths>
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Launch the provider with the exact model, token, and canonical name. Put `PATH` in the
|
|
103
|
+
provider process environment itself. Setting tmux session environment alone is not
|
|
104
|
+
sufficient because an intervening login shell can replace it.
|
|
105
|
+
|
|
106
|
+
Register or discover the candidate and record its discovery ID. Before committing,
|
|
107
|
+
verify its process argv and environment directly:
|
|
108
|
+
|
|
109
|
+
- exact resume token;
|
|
110
|
+
- exact model;
|
|
111
|
+
- canonical `--name`;
|
|
112
|
+
- canonical target node and session environment;
|
|
113
|
+
- `node` and `rig` resolvable from the managed runtime path.
|
|
114
|
+
|
|
115
|
+
## Phase 4: Commit The Binding
|
|
116
|
+
|
|
117
|
+
Run the supported handover against the discovery record:
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
rig seat handover <target-seat> \
|
|
121
|
+
--source discovered:<discovery-id> \
|
|
122
|
+
--reason <durable-reason> \
|
|
123
|
+
--operator <operator-seat> \
|
|
124
|
+
--json
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Read back the result. Require:
|
|
128
|
+
|
|
129
|
+
- `handover_result=complete`;
|
|
130
|
+
- target node unchanged;
|
|
131
|
+
- continuity outcome names the actual mode, normally `resumed`;
|
|
132
|
+
- provenance points to the previous occupant;
|
|
133
|
+
- a new target session row exists.
|
|
134
|
+
|
|
135
|
+
Do not rename panes before this commit is durable.
|
|
136
|
+
|
|
137
|
+
## Phase 5: Preserve The Physical Seat, Reconcile, And Preserve Memory
|
|
138
|
+
|
|
139
|
+
The canonical tmux session, window, and pane are part of the stable seat when humans or
|
|
140
|
+
agents have attached clients. Do not make those clients chase a renamed session.
|
|
141
|
+
|
|
142
|
+
1. In the original canonical pane, stop only the incumbent provider process. Keep the tmux
|
|
143
|
+
session, window, and pane unchanged.
|
|
144
|
+
2. Keep the incumbent's exact provider token in the lineage ledger as the cold-advisor
|
|
145
|
+
handle. It need not retain a permanently renamed tmux pane.
|
|
146
|
+
3. Stop the staged successor process only after its accepted token is durable, then resume
|
|
147
|
+
that exact successor token inside the original canonical pane with the canonical name,
|
|
148
|
+
model, cwd, environment, and managed `PATH`.
|
|
149
|
+
4. Reconcile the canonical target session through the supported seat surface and persist
|
|
150
|
+
the exact resume token using the audited token-input surface.
|
|
151
|
+
5. Verify the canonical seat has exactly one managed occupant, the old token remains
|
|
152
|
+
wakeable, and the empty staging session is removed.
|
|
153
|
+
|
|
154
|
+
Renaming the incumbent and staging sessions is a repair fallback for a run that already
|
|
155
|
+
changed the physical session, never the default cutover. A resumed reserve can retain a
|
|
156
|
+
boot-time canonical name in its own argv or environment; that residue does not make it the
|
|
157
|
+
bound seat. Fence reserve replies in their body and treat the topology binding as authority.
|
|
158
|
+
|
|
159
|
+
## Phase 6: Post-Cutover Self-Check
|
|
160
|
+
|
|
161
|
+
Keep authority frozen. Ask the new occupant to derive, not assume:
|
|
162
|
+
|
|
163
|
+
1. `rig whoami --json`: stable logical ID, node ID, canonical session, runtime, edges;
|
|
164
|
+
2. `rig queue whoami`: canonical destination and open-row census;
|
|
165
|
+
3. active provider UUID from the newest live history file;
|
|
166
|
+
4. effective model from live provider records, not only the spec pin;
|
|
167
|
+
5. duty-custody artifact read and accepted;
|
|
168
|
+
6. all cutover-window queue rows accounted for;
|
|
169
|
+
7. `command -v node` and `command -v rig` from the agent's own tool shell;
|
|
170
|
+
8. a narrow hook/tool action proving no startup-environment failure.
|
|
171
|
+
|
|
172
|
+
If any surface fails, preserve the exact provider UUID and repair only the disagreeing
|
|
173
|
+
surface. Relaunch the same history if needed. Repeat the full self-check before
|
|
174
|
+
unfreezing authority.
|
|
175
|
+
|
|
176
|
+
## Phase 7: Unfreeze And Transfer Custody
|
|
177
|
+
|
|
178
|
+
After a clean self-check:
|
|
179
|
+
|
|
180
|
+
1. explicitly unfreeze desk authority;
|
|
181
|
+
2. transfer each staged or cutover-window instruction exactly once;
|
|
182
|
+
3. require the new occupant to verify the effects by read-back;
|
|
183
|
+
4. notify the routing lead and incumbent reserve of completion;
|
|
184
|
+
5. leave the incumbent reserve idle, uncompacted, and authority-free.
|
|
185
|
+
|
|
186
|
+
## Phase 8: Verify Herder Views
|
|
187
|
+
|
|
188
|
+
Clients follow the physical tmux session and pane, not the logical binding. The default
|
|
189
|
+
physical-seat cutover should leave every recorded client attached to the same canonical
|
|
190
|
+
pane. Read the attachments back. If a repair fallback already renamed the session, retarget
|
|
191
|
+
each affected client explicitly:
|
|
192
|
+
|
|
193
|
+
```bash
|
|
194
|
+
rig seat switch-client <target-seat> --client <tty> --json
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
Read back all client attachments. A correct cutover can otherwise still look wrong in
|
|
198
|
+
the grid or focus tab.
|
|
199
|
+
|
|
200
|
+
## Completion Proof
|
|
201
|
+
|
|
202
|
+
The receipt must include:
|
|
203
|
+
|
|
204
|
+
- operator baton and authority source;
|
|
205
|
+
- snapshot ID;
|
|
206
|
+
- stable and temporary node IDs;
|
|
207
|
+
- old and new provider UUIDs;
|
|
208
|
+
- discovery, handover, and final session IDs;
|
|
209
|
+
- final process argv and critical environment;
|
|
210
|
+
- `rig seat status` result;
|
|
211
|
+
- target and successor inventory states;
|
|
212
|
+
- queue-row reconciliation;
|
|
213
|
+
- staged-input disposition and effect proof;
|
|
214
|
+
- reserve pane/name/token and fence;
|
|
215
|
+
- Herder client attachments;
|
|
216
|
+
- new occupant's self-check and first verified desk acts;
|
|
217
|
+
- deviations, failed attempts, and remaining product gaps;
|
|
218
|
+
- receipt path and SHA-256.
|
|
219
|
+
|
|
220
|
+
Close the baton only after the receipt exists and the new occupant has performed at
|
|
221
|
+
least one authority-bearing act verified by effect.
|
|
222
|
+
|
|
223
|
+
## Traps Proven In The 2026-08-28 Run
|
|
224
|
+
|
|
225
|
+
- A dry-run can accept a managed successor while the live handover refuses
|
|
226
|
+
`successor_already_managed`. Quiesce the temporary seat first.
|
|
227
|
+
- Generic launch/restore selection can choose an older seat history. Launch the exact
|
|
228
|
+
accepted resume token.
|
|
229
|
+
- Handover can bind a candidate without stopping the incumbent. Apply the ruled
|
|
230
|
+
disposition explicitly.
|
|
231
|
+
- Reconciliation can create the right session identity without carrying the resume
|
|
232
|
+
token. Persist and read it back.
|
|
233
|
+
- A canonical-looking process can still have a broken tool `PATH`. Verify from inside
|
|
234
|
+
the provider's own tool shell.
|
|
235
|
+
- Renaming sessions makes Herder clients follow the retired pane. Preserve the physical
|
|
236
|
+
canonical pane by default; retarget explicitly only when repairing an already-renamed run.
|
|
237
|
+
- Pane input can be visible but absent from JSONL. Reconcile the durable outbox before
|
|
238
|
+
stopping the pane.
|
|
239
|
+
- Reserve messages can render with the stable seat name because boot-time environment
|
|
240
|
+
survives unbinding. The reserve must self-identify and remain explicitly fenced.
|
|
241
|
+
- Success output is not effect proof. Read back queue closure, binding, client movement,
|
|
242
|
+
and transferred instructions.
|
|
243
|
+
|
|
244
|
+
## Productization Candidates
|
|
245
|
+
|
|
246
|
+
The manual sequence identifies useful first-class product work:
|
|
247
|
+
|
|
248
|
+
- handover directly from an already-managed successor seat;
|
|
249
|
+
- an exact-resume-token candidate launcher;
|
|
250
|
+
- first-class `advise`/memory disposition for the old occupant;
|
|
251
|
+
- atomic binding plus token persistence;
|
|
252
|
+
- managed environment validation before commit;
|
|
253
|
+
- staged-input custody reporting;
|
|
254
|
+
- verify-or-repair all Herder client attachments for a logical seat;
|
|
255
|
+
- reserve attribution distinct from canonical seat attribution;
|
|
256
|
+
- one receipt that reports continuity and seat-binding outcomes independently.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Orchestrator Role In Apprentice Handover
|
|
2
|
+
|
|
3
|
+
The orchestrator owns the judgment boundary, not the successor's work and not the mechanic's
|
|
4
|
+
keystrokes. Keep the incumbent productive, keep the successor authority-free, and keep the
|
|
5
|
+
mechanic fenced until a named owner makes the one decision no instrument can derive.
|
|
6
|
+
|
|
7
|
+
## The invariant floor
|
|
8
|
+
|
|
9
|
+
- Prove fresh identity and the pinned model before installing context, because every later
|
|
10
|
+
receipt is about the wrong occupant if the starting history or model diverged.
|
|
11
|
+
- Require the successor to derive its own layer-5 delta and have it checked, because reading
|
|
12
|
+
a deposit does not install it.
|
|
13
|
+
- Enumerate standing-duty custody at every boundary, because recurring work is easiest to
|
|
14
|
+
lose while visible one-off work carries cleanly.
|
|
15
|
+
- Keep the predecessor's verbatim reach-back handle and pre-formed questions, because an
|
|
16
|
+
affordance without a trigger goes unused.
|
|
17
|
+
- Route mechanics through `apprentice-successor-seat-cutover.md`, because one portable SOP
|
|
18
|
+
is safer than role-local copies that drift.
|
|
19
|
+
|
|
20
|
+
## Authority and gates
|
|
21
|
+
|
|
22
|
+
The **word is the gate**. Until the named owner words acceptance and an effect receipt records
|
|
23
|
+
it, the successor may observe, ask, and produce bounded evidence but may not act as the stable
|
|
24
|
+
seat. G0–G3 are a useful receipt vocabulary when the succession uses that model; a declared
|
|
25
|
+
simpler model is valid when stakes do not earn all four. Missing records and deliberately
|
|
26
|
+
skipped gates must remain distinguishable.
|
|
27
|
+
|
|
28
|
+
The apprenticeship is a conversation, not a gauntlet. Choose evidence whose rigor matches the
|
|
29
|
+
cost and reversibility of a wrong succession. Never turn the experiment apparatus into culture.
|
|
30
|
+
|
|
31
|
+
## Before routing cutover
|
|
32
|
+
|
|
33
|
+
Confirm the owner word, gate receipts or declared simpler model, complete deposits, explicit
|
|
34
|
+
duty custody, reserve disposition, exact successor token, and one-active-walker ownership.
|
|
35
|
+
Create an owned mechanic baton; awareness-only is not custody. The baton may prepare and prove,
|
|
36
|
+
but it never auto-rebinds.
|
|
37
|
+
|
|
38
|
+
After the mechanic reports effect, verify READY from source: canonical seat identity, current
|
|
39
|
+
model, current generation, canonical tmux pane, queue census, duty acceptance, and usable width.
|
|
40
|
+
Only then unfreeze authority.
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: software-for-agents
|
|
3
3
|
description: |
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
Load this FIRST, before you assume how anything here works — especially before building, modifying, or
|
|
5
|
+
"fixing a bug" in an OpenRig or studio-box system, or when something behaves unexpectedly and you're
|
|
6
|
+
about to treat it as a code bug. You are almost certainly NOT operating in traditional software. This
|
|
7
|
+
is a self-improving MARKDOWN CONTROL PLANE: the substrate is markdown + YAML + JSON + folder structure
|
|
8
|
+
(skills, instructions, bootstrap files, schemas, conventions), and most "bugs" are coherence gaps in
|
|
9
|
+
that layer, not broken functions. Read this to form the correct mental model so your fixes land at the
|
|
10
|
+
precise spot that stops the footgun for every future rig — not just patch a symptom. It also covers why STUDIO APPS skip the mockup phase — for an agent-built app the build is as fast as the mockup, so the PRD is the fleshed intent (velocity as method, not a quality waiver). NOTE: the
|
|
11
|
+
bug-tolerance in this model is SCOPED to agent-managed software; the OpenRig core and rigs.to stay
|
|
12
|
+
rock-solid — see the scope block up top before you apply anything here.
|
|
8
13
|
metadata:
|
|
9
14
|
openrig:
|
|
10
15
|
stage: factory-approved
|
|
@@ -1,48 +1,26 @@
|
|
|
1
1
|
# VM Preview Fixtures
|
|
2
2
|
|
|
3
|
-
Sample data the Tart preview
|
|
4
|
-
a
|
|
5
|
-
`<substrate-shared-docs>/openrig-work/conventions/vm-preview/README.md` for the
|
|
6
|
-
operator workflow and the rationale behind the two-daemon model.
|
|
3
|
+
Sample data used by the Tart preview environment to give one OpenRig daemon
|
|
4
|
+
representative content while a second daemon remains empty for comparison.
|
|
7
5
|
|
|
8
6
|
## Contents
|
|
9
7
|
|
|
10
|
-
- `workflows/` —
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
`GET /api/specs/library` call.
|
|
8
|
+
- `workflows/` — public example workflow specifications. The basic-loop sample
|
|
9
|
+
demonstrates a complete intake-to-close handoff without depending on a
|
|
10
|
+
private rig or machine.
|
|
14
11
|
|
|
15
|
-
|
|
16
|
-
follow-up will add).
|
|
12
|
+
## Use
|
|
17
13
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
script).
|
|
14
|
+
Run `scripts/vm-bootstrap/two-daemon-start.sh`, then copy the workflow YAML
|
|
15
|
+
files into the populated daemon's configured `<workspace.specs_root>/workflows/`
|
|
16
|
+
directory. The daemon discovers them on the next workflow-library listing.
|
|
22
17
|
|
|
23
18
|
## Conventions
|
|
24
19
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
|
|
32
|
-
## v0 scope
|
|
33
|
-
|
|
34
|
-
Slice 22 (release-0.3.1) ships the INFRASTRUCTURE for the two-daemon model:
|
|
35
|
-
|
|
36
|
-
- **Process-env pattern**: `OPENRIG_HOME=<dir> rig daemon start ...` — each
|
|
37
|
-
`rig` invocation gets its own state directory at process import time.
|
|
38
|
-
No CLI flag (an earlier attempt at `--openrig-home` was dropped because
|
|
39
|
-
it only threaded into the spawned child, not the parent-side lifecycle
|
|
40
|
-
bookkeeping; see substrate convention doc for the architecture note).
|
|
41
|
-
- Bootstrap script (`scripts/vm-bootstrap/two-daemon-start.sh`)
|
|
42
|
-
- This fixtures directory + a sample workflow YAML
|
|
43
|
-
- Convention doc in substrate
|
|
44
|
-
|
|
45
|
-
Authoring rich populated content (~13-node openrig-velocity rig + 20 qitems
|
|
46
|
-
+ getting-started mission narrative) is deferred to follow-up content slices
|
|
47
|
-
that have clearer ownership (slice 21 onboarding-conveyor will likely
|
|
48
|
-
contribute getting-started mission content).
|
|
20
|
+
- Use `/Users/example/...` for username-bearing paths.
|
|
21
|
+
- Use symbolic configuration paths such as `<workspace.specs_root>` instead of
|
|
22
|
+
machine-specific locations.
|
|
23
|
+
- Use generic logical roles and IDs rather than concrete session, host, or rig
|
|
24
|
+
instance addresses.
|
|
25
|
+
- Describe the product behavior the fixture demonstrates; omit release history,
|
|
26
|
+
internal ownership, and implementation planning.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
# Slice 11's folder-discovery scanner auto-discovers it on next list.
|
|
1
|
+
# Example workflow for the populated VM preview.
|
|
2
|
+
# Its distinct ID avoids colliding with the built-in basic-loop specification
|
|
3
|
+
# when copied into the populated daemon's configured workflows directory.
|
|
4
|
+
# The daemon discovers it on the next workflow-library listing.
|
|
6
5
|
workflow:
|
|
7
6
|
id: vm-preview-basic-loop
|
|
8
7
|
version: 1
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
# Public capability and source-map width for the default onboarding walk.
|
|
2
2
|
name: onboarding-width
|
|
3
|
-
version: "0.5.
|
|
3
|
+
version: "0.5.6"
|
|
4
|
+
# OPR.0.5.6.10 — affordances knowledge (what this system can do) is world
|
|
5
|
+
# content under the coining-session definitions.
|
|
6
|
+
taxonomy: world
|
|
4
7
|
purpose: "The public capability map and source map referenced by the default onboarding walk."
|
|
5
8
|
files:
|
|
6
9
|
- path: public-what-you-can-do.md
|
|
@@ -57,7 +57,7 @@ library actually does today, anything that changed after your training cutoff, w
|
|
|
57
57
|
world rather than in this repo.
|
|
58
58
|
|
|
59
59
|
**And the failure is the same one this page already warns about, pointed outward.** An agent that
|
|
60
|
-
does not know the
|
|
60
|
+
does not know the external sources below exist invents instead of looking. An agent that does not know these exist
|
|
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
|
|
|
@@ -1,7 +1,8 @@
|
|
|
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.5.
|
|
4
|
+
version: "0.5.6"
|
|
5
|
+
taxonomy: "skills"
|
|
5
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."
|
|
6
7
|
files:
|
|
7
8
|
- path: "SKILL.md"
|
|
@@ -102,7 +102,7 @@ culture / pod / member / operator) handles the layering.
|
|
|
102
102
|
|
|
103
103
|
## See also
|
|
104
104
|
|
|
105
|
-
- `mission-slice-sop` skill — the universal operating procedure for working a mission/slice (the canonical
|
|
105
|
+
- `mission-slice-sop` skill — the universal operating procedure for working a mission/slice (the canonical PROGRESS/PROOF/MISSION_NOTES/MISSION_BRIEF files); every agent should reach for it at startup, so this general reading contract points at it here (do NOT duplicate the SOP into seat-specific startup files).
|
|
106
106
|
- `writing-skills-for-openrig` skill — authoring discipline for skill content (what doesn't belong in startup)
|
|
107
107
|
- `forming-an-openrig-mental-model` skill — orientation for new agents
|
|
108
108
|
- `session-compaction-and-restore` skill — restore-time startup ingestion
|
|
@@ -1,7 +1,8 @@
|
|
|
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.5.
|
|
4
|
+
version: "0.5.6"
|
|
5
|
+
taxonomy: "skills"
|
|
5
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)."
|
|
6
7
|
files:
|
|
7
8
|
- path: "SKILL.md"
|
|
@@ -30,11 +30,8 @@ operator pattern (`ssh <host> rig <cmd>`) with declared host identity,
|
|
|
30
30
|
explicit cross-host invocation path, preserved `--verify` semantics, and
|
|
31
31
|
4 named failure modes.
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
read-through/tunnel entries such as `your-vm` and `your-other-vm`. Use the
|
|
36
|
-
host registry entry as ground truth for transport shape, and use
|
|
37
|
-
`conventions/multi-host-naming/README.md` for host-id naming. HTTP entries
|
|
33
|
+
The live host registry may contain SSH or HTTP read-through/tunnel entries.
|
|
34
|
+
Use each registry entry as ground truth for transport shape. HTTP entries
|
|
38
35
|
require `url` plus exactly one of `bearer_file` or `bearer_env`.
|
|
39
36
|
|
|
40
37
|
**v0 is CLI-side shell-out only — `packages/daemon/` is NOT touched.**
|
|
@@ -73,24 +70,20 @@ differs from the interactive verbs (`send`/`capture`/`ps`/`whoami`):
|
|
|
73
70
|
|
|
74
71
|
## Host registry shape (`~/.openrig/hosts.yaml`)
|
|
75
72
|
|
|
76
|
-
Host ids
|
|
77
|
-
|
|
78
|
-
physical hosts such as `your-vm`, local OpenRig development VMs such as
|
|
79
|
-
`your-vm`, persistent product VMs such as `your-other-vm`, and VPS hosts such
|
|
80
|
-
as `your-vps`. Keep old aliases during migration until no live routing
|
|
81
|
-
depends on them.
|
|
73
|
+
Host ids must be non-empty and unique. Choose stable, operator-meaningful ids
|
|
74
|
+
that describe the destination without depending on transient network details.
|
|
82
75
|
|
|
83
76
|
```yaml
|
|
84
77
|
hosts:
|
|
85
78
|
- id: a-test-vm
|
|
86
79
|
transport: ssh # v0 supports "ssh" only
|
|
87
80
|
target: a-test-vm.local # DNS name, SSH config alias, or IP
|
|
88
|
-
user:
|
|
81
|
+
user: example-user # optional
|
|
89
82
|
notes: "Tart VM" # optional
|
|
90
83
|
- id: laptop-b
|
|
91
84
|
transport: ssh
|
|
92
85
|
target: laptop-b.tail-scale-net
|
|
93
|
-
user:
|
|
86
|
+
user: example-user
|
|
94
87
|
```
|
|
95
88
|
|
|
96
89
|
Validation rules:
|
|
@@ -1,7 +1,8 @@
|
|
|
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.5.
|
|
4
|
+
version: "0.5.6"
|
|
5
|
+
taxonomy: "skills"
|
|
5
6
|
purpose: "Use when issuing `rig` commands against a remote host via `--host <id>` flag (single-hop SSH to a host declared in `~/.openrig/hosts.yaml`). Covers the 4 structured failure modes (ssh-unreachable / permission-gate / remote-daemon-unreachable / remote-command-failed), the `--verify` honest pass-through (SSH success is NOT verify success), and the host-registry shape. v0 supports `rig send / capture / ps / whoami --host <id>`."
|
|
6
7
|
files:
|
|
7
8
|
- path: "SKILL.md"
|
|
@@ -1,7 +1,8 @@
|
|
|
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.5.
|
|
4
|
+
version: "0.5.6"
|
|
5
|
+
taxonomy: "skills"
|
|
5
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."
|
|
6
7
|
files:
|
|
7
8
|
- path: "SKILL.md"
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: messaging-the-human
|
|
3
|
+
description: "Use when a human decision, access grant, external action, or escalation must survive the operator's absence, or when an orchestrator or PM has a judgment-worthy update for the operator."
|
|
4
|
+
metadata:
|
|
5
|
+
cli_surfaces_referenced:
|
|
6
|
+
- gateway human add
|
|
7
|
+
- gateway human list
|
|
8
|
+
- queue block
|
|
9
|
+
- queue handoff
|
|
10
|
+
- queue transitions
|
|
11
|
+
- send
|
|
12
|
+
openrig:
|
|
13
|
+
stage: provisional
|
|
14
|
+
audience: all agents
|
|
15
|
+
sibling_skills:
|
|
16
|
+
- queue-handoff
|
|
17
|
+
- human-in-the-loop
|
|
18
|
+
- openrig-user
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# Messaging the Human
|
|
22
|
+
|
|
23
|
+
The human is an addressable participant, but their attention is scarce and they
|
|
24
|
+
may not be at a terminal. Anything that must survive their absence needs a
|
|
25
|
+
durable queue row; the gateway turns the human blocker on that row into the
|
|
26
|
+
external notification.
|
|
27
|
+
|
|
28
|
+
Any seat may contact the human directly for a real escalation. Orchestrators
|
|
29
|
+
and product managers may also send updates they judge the human would want to
|
|
30
|
+
know. Do not add a routing intermediary merely because of your role.
|
|
31
|
+
|
|
32
|
+
## The supported route
|
|
33
|
+
|
|
34
|
+
First discover the registered human identity. Never invent or remember an
|
|
35
|
+
address:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
rig gateway human list --json
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Use `humans[].entityId` to derive the durable blocker as `<entityId>@host`.
|
|
42
|
+
The entity id must use the human-seat prefix (`human` or `human-...`); if it
|
|
43
|
+
does not, stop and repair the registration rather than guessing. The returned
|
|
44
|
+
`humans[].address` is the gateway delivery address, not the `--on` value. If no
|
|
45
|
+
unambiguous registered human is returned, stop: registration is lifecycle work
|
|
46
|
+
(`rig gateway human add --help`), not an address to guess.
|
|
47
|
+
|
|
48
|
+
Keep the work row owned by the agent who must resume it, then park that row on
|
|
49
|
+
the registered human:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
rig queue block <qitem-id> --on <entityId>@host \
|
|
53
|
+
--summary "<decision owed>" \
|
|
54
|
+
--evidence-ref "<durable artifact the human should judge>" \
|
|
55
|
+
--continuation "<what resumes after the answer>"
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
The gateway resolves the registered human to the configured connector, sends
|
|
59
|
+
the Slack notification, and records its receipt on the same row. Confirm the
|
|
60
|
+
effect from the append-only history:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
rig queue transitions <qitem-id>
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
The row is the obligation and the audit trail. Slack is the attention leg. A
|
|
67
|
+
reply resolves the durable blocker and wakes the row owner; it does not create
|
|
68
|
+
a second private work stream.
|
|
69
|
+
|
|
70
|
+
## When to use it
|
|
71
|
+
|
|
72
|
+
Escalate directly when only the human can supply the missing capability:
|
|
73
|
+
|
|
74
|
+
- a decision or irreversible judgment only they own;
|
|
75
|
+
- access, credentials, authority, or capacity only they can grant;
|
|
76
|
+
- an external action only they can perform;
|
|
77
|
+
- a security-class or provider/model-fallback event they need to know about.
|
|
78
|
+
|
|
79
|
+
Orchestrators and product managers may additionally send meaningful milestone,
|
|
80
|
+
environment, or completion updates. Prefer signal over routine narration.
|
|
81
|
+
|
|
82
|
+
## Boundaries
|
|
83
|
+
|
|
84
|
+
- `rig send` sends text to an agent's terminal. It is not the Slack route and
|
|
85
|
+
does not create a durable human obligation.
|
|
86
|
+
- An unregistered or ambiguous human identity must fail loudly. Register or
|
|
87
|
+
repair the identity; never downgrade it to an agent seat or a guessed
|
|
88
|
+
`@external` address.
|
|
89
|
+
- Agent-to-agent work that needs closure uses `rig queue handoff`, not this
|
|
90
|
+
human-blocker path.
|
|
91
|
+
- Deferred work that is not imminent belongs in the mission workspace, not on
|
|
92
|
+
the queue.
|
|
93
|
+
|
|
94
|
+
## Writing the escalation
|
|
95
|
+
|
|
96
|
+
Lead with what is blocked and the exact decision or action needed. Point at the
|
|
97
|
+
durable evidence instead of pasting a second copy, and name the continuation so
|
|
98
|
+
the system can resume the right work when the answer arrives.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
|
+
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
|
+
name: "messaging-the-human"
|
|
4
|
+
version: "0.5.6"
|
|
5
|
+
taxonomy: "skills"
|
|
6
|
+
purpose: "Use when a human decision, access grant, external action, or escalation must survive the operator's absence, or when an orchestrator or PM has a judgment-worthy update for the operator."
|
|
7
|
+
files:
|
|
8
|
+
- path: "SKILL.md"
|
|
9
|
+
role: "instruction"
|
|
10
|
+
summary: "Use when a human decision, access grant, external action, or escalation must survive the operator's absence, or when an orchestrator or PM has a judgment-worthy update for the operator."
|
|
@@ -1,7 +1,8 @@
|
|
|
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.5.
|
|
4
|
+
version: "0.5.6"
|
|
5
|
+
taxonomy: "skills"
|
|
5
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 openrig-builder); NOT for ordinary CLI operation of an existing rig (use openrig-user). Covers the full authoring lifecycle from user intent to validated, launchable rig."
|
|
6
7
|
files:
|
|
7
8
|
- path: "SKILL.md"
|