@openrig/cli 0.5.9 → 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/messaging-the-human/SKILL.md +48 -61
- package/daemon/assets/plugins/openrig-core/skills/mission-slice-sop/SKILL.md +19 -5
- 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 +80 -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 +80 -33
- 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 +32 -16
- 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/SKILL.md +48 -61
- package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +3 -3
- 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/SKILL.md +19 -5
- 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 +80 -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/SKILL.md +40 -139
- package/daemon/context-packs/skills/pods/development-team/manifest.yaml +3 -3
- package/daemon/context-packs/skills/pods/orchestration-team/SKILL.md +80 -118
- package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +3 -3
- package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/review-team/SKILL.md +34 -31
- package/daemon/context-packs/skills/pods/review-team/manifest.yaml +3 -3
- 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 +53 -48
- 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 +39 -0
- package/daemon/dist/domain/gateway/channel-operations.d.ts.map +1 -0
- package/daemon/dist/domain/gateway/channel-operations.js +35 -0
- package/daemon/dist/domain/gateway/channel-operations.js.map +1 -0
- 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/gateway-subsystem.d.ts +3 -0
- package/daemon/dist/domain/gateway/gateway-subsystem.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/gateway-subsystem.js +3 -0
- package/daemon/dist/domain/gateway/gateway-subsystem.js.map +1 -1
- package/daemon/dist/domain/gateway/human-readiness.d.ts +37 -0
- package/daemon/dist/domain/gateway/human-readiness.d.ts.map +1 -0
- package/daemon/dist/domain/gateway/human-readiness.js +44 -0
- package/daemon/dist/domain/gateway/human-readiness.js.map +1 -0
- package/daemon/dist/domain/gateway/human-registry.d.ts +5 -8
- package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/human-registry.js +5 -8
- package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts +16 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.js +35 -12
- package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts +1 -0
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js +1 -0
- package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +18 -0
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js +63 -8
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/socket-inbound.d.ts +13 -0
- package/daemon/dist/domain/gateway/slack/socket-inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/socket-inbound.js +59 -1
- package/daemon/dist/domain/gateway/slack/socket-inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/state-store.d.ts +21 -0
- package/daemon/dist/domain/gateway/slack/state-store.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/state-store.js +28 -1
- package/daemon/dist/domain/gateway/slack/state-store.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/thread-routing.d.ts +2 -0
- package/daemon/dist/domain/gateway/slack/thread-routing.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/thread-routing.js +6 -1
- package/daemon/dist/domain/gateway/slack/thread-routing.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts +4 -0
- package/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/thread-seat-map.js +11 -0
- package/daemon/dist/domain/gateway/slack/thread-seat-map.js.map +1 -1
- package/daemon/dist/domain/health-checkpoints.d.ts +57 -0
- package/daemon/dist/domain/health-checkpoints.d.ts.map +1 -0
- package/daemon/dist/domain/health-checkpoints.js +198 -0
- package/daemon/dist/domain/health-checkpoints.js.map +1 -0
- package/daemon/dist/domain/health-context.d.ts +14 -0
- package/daemon/dist/domain/health-context.d.ts.map +1 -0
- package/daemon/dist/domain/health-context.js +93 -0
- package/daemon/dist/domain/health-context.js.map +1 -0
- package/daemon/dist/domain/health-detectors.d.ts +106 -0
- package/daemon/dist/domain/health-detectors.d.ts.map +1 -0
- package/daemon/dist/domain/health-detectors.js +392 -0
- package/daemon/dist/domain/health-detectors.js.map +1 -0
- package/daemon/dist/domain/health-diagnosis.d.ts +143 -0
- package/daemon/dist/domain/health-diagnosis.d.ts.map +1 -0
- package/daemon/dist/domain/health-diagnosis.js +249 -0
- package/daemon/dist/domain/health-diagnosis.js.map +1 -0
- package/daemon/dist/domain/health-passive-ceremony.d.ts +19 -0
- package/daemon/dist/domain/health-passive-ceremony.d.ts.map +1 -0
- package/daemon/dist/domain/health-passive-ceremony.js +234 -0
- package/daemon/dist/domain/health-passive-ceremony.js.map +1 -0
- package/daemon/dist/domain/health-policy.d.ts +45 -0
- package/daemon/dist/domain/health-policy.d.ts.map +1 -0
- package/daemon/dist/domain/health-policy.js +89 -0
- package/daemon/dist/domain/health-policy.js.map +1 -0
- package/daemon/dist/domain/health-projection.d.ts +237 -0
- package/daemon/dist/domain/health-projection.d.ts.map +1 -0
- package/daemon/dist/domain/health-projection.js +312 -0
- package/daemon/dist/domain/health-projection.js.map +1 -0
- 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/mission-control/mission-control-read-layer.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-read-layer.js +14 -11
- package/daemon/dist/domain/mission-control/mission-control-read-layer.js.map +1 -1
- 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/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +1 -0
- package/daemon/dist/domain/node-inventory.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 +133 -8
- package/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +14 -0
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +60 -5
- package/daemon/dist/domain/queue-repository.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/queue-transition-log.d.ts +5 -0
- package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transition-log.js +28 -0
- package/daemon/dist/domain/queue-transition-log.js.map +1 -1
- package/daemon/dist/domain/queue-wait-backoff.d.ts +21 -0
- package/daemon/dist/domain/queue-wait-backoff.d.ts.map +1 -0
- package/daemon/dist/domain/queue-wait-backoff.js +96 -0
- package/daemon/dist/domain/queue-wait-backoff.js.map +1 -0
- package/daemon/dist/domain/queue-wake-repository.d.ts +1 -0
- package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.js +8 -3
- package/daemon/dist/domain/queue-wake-repository.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 +16 -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 +9 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.js +86 -12
- package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/daemon/dist/domain/watchdog-jobs-repository.d.ts +2 -0
- package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-jobs-repository.js +5 -0
- package/daemon/dist/domain/watchdog-jobs-repository.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 +28 -3
- package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-projector.js +134 -33
- 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 +124 -25
- package/daemon/dist/domain/workflow-runtime.js.map +1 -1
- package/daemon/dist/domain/workflow-spec-cache.d.ts +2 -2
- package/daemon/dist/domain/workflow-spec-cache.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-spec-cache.js +16 -0
- package/daemon/dist/domain/workflow-spec-cache.js.map +1 -1
- package/daemon/dist/domain/workflow-types.d.ts +8 -0
- package/daemon/dist/domain/workflow-types.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-types.js.map +1 -1
- package/daemon/dist/domain/workflow-validator.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-validator.js +57 -24
- package/daemon/dist/domain/workflow-validator.js.map +1 -1
- package/daemon/dist/gateway-human-registry-surface.d.ts +1 -0
- package/daemon/dist/gateway-human-registry-surface.d.ts.map +1 -1
- package/daemon/dist/gateway-human-registry-surface.js +1 -0
- package/daemon/dist/gateway-human-registry-surface.js.map +1 -1
- package/daemon/dist/gateway-slack-surface.d.ts +1 -0
- package/daemon/dist/gateway-slack-surface.d.ts.map +1 -1
- package/daemon/dist/gateway-slack-surface.js +1 -0
- package/daemon/dist/gateway-slack-surface.js.map +1 -1
- package/daemon/dist/health-detectors-surface.d.ts +2 -0
- package/daemon/dist/health-detectors-surface.d.ts.map +1 -0
- package/daemon/dist/health-detectors-surface.js +2 -0
- package/daemon/dist/health-detectors-surface.js.map +1 -0
- package/daemon/dist/health-projection-surface.d.ts +2 -0
- package/daemon/dist/health-projection-surface.d.ts.map +1 -0
- package/daemon/dist/health-projection-surface.js +2 -0
- package/daemon/dist/health-projection-surface.js.map +1 -0
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +38 -95
- package/daemon/dist/index.js.map +1 -1
- package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
- package/daemon/dist/lib/pane-envelope.js +4 -1
- package/daemon/dist/lib/pane-envelope.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 +5 -1
- package/daemon/dist/routes/gateway.d.ts.map +1 -1
- package/daemon/dist/routes/gateway.js +80 -22
- package/daemon/dist/routes/gateway.js.map +1 -1
- package/daemon/dist/routes/health-diagnosis.d.ts +3 -0
- package/daemon/dist/routes/health-diagnosis.d.ts.map +1 -0
- package/daemon/dist/routes/health-diagnosis.js +47 -0
- package/daemon/dist/routes/health-diagnosis.js.map +1 -0
- package/daemon/dist/routes/health.d.ts +3 -0
- package/daemon/dist/routes/health.d.ts.map +1 -0
- package/daemon/dist/routes/health.js +50 -0
- package/daemon/dist/routes/health.js.map +1 -0
- package/daemon/dist/routes/hosts.d.ts +2 -0
- package/daemon/dist/routes/hosts.d.ts.map +1 -1
- package/daemon/dist/routes/hosts.js +12 -5
- package/daemon/dist/routes/hosts.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 +8 -0
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +10 -1
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +35 -4
- 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 +331 -0
- package/daemon/docs/reference/mission-install.md +5 -0
- package/daemon/docs/reference/product-journey-sdlc.md +53 -15
- 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/docs/reference/sdlc-conventions.md +6 -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/development/implementer/agent.yaml +1 -9
- package/daemon/specs/agents/development/implementer/guidance/role.md +21 -43
- package/daemon/specs/agents/development/qa/agent.yaml +2 -11
- package/daemon/specs/agents/development/qa/guidance/role.md +21 -73
- package/daemon/specs/agents/orchestration/orchestrator/agent.yaml +1 -9
- package/daemon/specs/agents/orchestration/orchestrator/guidance/role.md +25 -72
- package/daemon/specs/agents/product-management/pm/guidance/role.md +19 -17
- package/daemon/specs/agents/review/independent-reviewer/agent.yaml +1 -9
- package/daemon/specs/agents/review/independent-reviewer/guidance/role.md +20 -35
- 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 +32 -16
- package/daemon/specs/agents/shared/skills/core/cross-host-rig-commands/SKILL.md +84 -148
- package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +48 -61
- 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/development-team/SKILL.md +40 -139
- package/daemon/specs/agents/shared/skills/pods/orchestration-team/SKILL.md +80 -118
- package/daemon/specs/agents/shared/skills/pods/review-team/SKILL.md +34 -31
- 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 +53 -48
- package/daemon/specs/agents/shared/skills/process/verification-before-completion/SKILL.md +3 -3
- package/daemon/specs/rigs/launch/demo/CULTURE.md +21 -30
- 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/implementation-pair/rig.yaml +3 -3
- 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/CULTURE.md +26 -71
- 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 +2 -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/gateway.d.ts +17 -0
- package/dist/commands/gateway.d.ts.map +1 -1
- package/dist/commands/gateway.js +99 -13
- package/dist/commands/gateway.js.map +1 -1
- package/dist/commands/health.d.ts +12 -0
- package/dist/commands/health.d.ts.map +1 -0
- package/dist/commands/health.js +403 -0
- package/dist/commands/health.js.map +1 -0
- package/dist/commands/host.d.ts.map +1 -1
- package/dist/commands/host.js +2 -0
- package/dist/commands/host.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 +18 -0
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +71 -5
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +8 -9
- 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/slack.d.ts.map +1 -1
- package/dist/commands/slack.js +39 -11
- package/dist/commands/slack.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 +12 -8
- package/dist/commands/workflow.js.map +1 -1
- package/dist/config-store.d.ts +10 -1
- package/dist/config-store.d.ts.map +1 -1
- package/dist/config-store.js +87 -14
- 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 +12 -11
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +283 -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/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/file-transfer.js +1 -1
- package/dist/lib/file-transfer.js.map +1 -1
- package/dist/lib/scope/scope-fs.js +2 -2
- package/dist/lib/scope/scope-fs.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 +39 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/channel-operations.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/channel-operations.js +35 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/channel-operations.js.map +1 -0
- 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/gateway-subsystem.d.ts +3 -0
- 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 +3 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/human-readiness.d.ts +37 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/human-readiness.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/human-readiness.js +44 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/human-readiness.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.d.ts +5 -8
- 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 +5 -8
- package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.d.ts +16 -1
- 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 +35 -12
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.d.ts +1 -0
- 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 +1 -0
- 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-subsystem.d.ts +18 -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 +63 -8
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.d.ts +13 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.js +59 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.d.ts +21 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.js +28 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.d.ts +2 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.js +6 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts +4 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.js +11 -0
- package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/health-checkpoints.d.ts +57 -0
- package/node_modules/@openrig/daemon/dist/domain/health-checkpoints.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/health-checkpoints.js +198 -0
- package/node_modules/@openrig/daemon/dist/domain/health-checkpoints.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/health-context.d.ts +14 -0
- package/node_modules/@openrig/daemon/dist/domain/health-context.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/health-context.js +93 -0
- package/node_modules/@openrig/daemon/dist/domain/health-context.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/health-detectors.d.ts +106 -0
- package/node_modules/@openrig/daemon/dist/domain/health-detectors.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/health-detectors.js +392 -0
- package/node_modules/@openrig/daemon/dist/domain/health-detectors.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.d.ts +143 -0
- package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.js +249 -0
- package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/health-passive-ceremony.d.ts +19 -0
- package/node_modules/@openrig/daemon/dist/domain/health-passive-ceremony.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/health-passive-ceremony.js +234 -0
- package/node_modules/@openrig/daemon/dist/domain/health-passive-ceremony.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/health-policy.d.ts +45 -0
- package/node_modules/@openrig/daemon/dist/domain/health-policy.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/health-policy.js +89 -0
- package/node_modules/@openrig/daemon/dist/domain/health-policy.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/health-projection.d.ts +237 -0
- package/node_modules/@openrig/daemon/dist/domain/health-projection.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/health-projection.js +312 -0
- package/node_modules/@openrig/daemon/dist/domain/health-projection.js.map +1 -0
- 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/mission-control/mission-control-read-layer.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/mission-control/mission-control-read-layer.js +14 -11
- package/node_modules/@openrig/daemon/dist/domain/mission-control/mission-control-read-layer.js.map +1 -1
- 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/node-inventory.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/node-inventory.js +1 -0
- package/node_modules/@openrig/daemon/dist/domain/node-inventory.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 +133 -8
- package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-repository.d.ts +14 -0
- package/node_modules/@openrig/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-repository.js +60 -5
- package/node_modules/@openrig/daemon/dist/domain/queue-repository.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/queue-transition-log.d.ts +5 -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 +28 -0
- package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.d.ts +21 -0
- package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.js +96 -0
- package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.d.ts +1 -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 +8 -3
- package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.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 +16 -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 +9 -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 +86 -12
- package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.d.ts +2 -0
- 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 +5 -0
- package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.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 +28 -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 +134 -33
- 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 +124 -25
- package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-spec-cache.d.ts +2 -2
- package/node_modules/@openrig/daemon/dist/domain/workflow-spec-cache.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-spec-cache.js +16 -0
- package/node_modules/@openrig/daemon/dist/domain/workflow-spec-cache.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-types.d.ts +8 -0
- package/node_modules/@openrig/daemon/dist/domain/workflow-types.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-types.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 +57 -24
- package/node_modules/@openrig/daemon/dist/domain/workflow-validator.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/gateway-human-registry-surface.d.ts +1 -0
- package/node_modules/@openrig/daemon/dist/gateway-human-registry-surface.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/gateway-human-registry-surface.js +1 -0
- package/node_modules/@openrig/daemon/dist/gateway-human-registry-surface.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/gateway-slack-surface.d.ts +1 -0
- package/node_modules/@openrig/daemon/dist/gateway-slack-surface.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/gateway-slack-surface.js +1 -0
- package/node_modules/@openrig/daemon/dist/gateway-slack-surface.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/health-detectors-surface.d.ts +2 -0
- package/node_modules/@openrig/daemon/dist/health-detectors-surface.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/health-detectors-surface.js +2 -0
- package/node_modules/@openrig/daemon/dist/health-detectors-surface.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/health-projection-surface.d.ts +2 -0
- package/node_modules/@openrig/daemon/dist/health-projection-surface.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/health-projection-surface.js +2 -0
- package/node_modules/@openrig/daemon/dist/health-projection-surface.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/index.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/index.js +38 -95
- package/node_modules/@openrig/daemon/dist/index.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/lib/pane-envelope.js +4 -1
- package/node_modules/@openrig/daemon/dist/lib/pane-envelope.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 +5 -1
- package/node_modules/@openrig/daemon/dist/routes/gateway.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/gateway.js +80 -22
- package/node_modules/@openrig/daemon/dist/routes/gateway.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/health-diagnosis.d.ts +3 -0
- package/node_modules/@openrig/daemon/dist/routes/health-diagnosis.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/routes/health-diagnosis.js +47 -0
- package/node_modules/@openrig/daemon/dist/routes/health-diagnosis.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/routes/health.d.ts +3 -0
- package/node_modules/@openrig/daemon/dist/routes/health.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/routes/health.js +50 -0
- package/node_modules/@openrig/daemon/dist/routes/health.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/routes/hosts.d.ts +2 -0
- package/node_modules/@openrig/daemon/dist/routes/hosts.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/hosts.js +12 -5
- package/node_modules/@openrig/daemon/dist/routes/hosts.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 +8 -0
- package/node_modules/@openrig/daemon/dist/server.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/server.js +10 -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 +35 -4
- package/node_modules/@openrig/daemon/dist/startup.js.map +1 -1
- package/node_modules/@openrig/daemon/package.json +13 -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 +48 -1
- 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 +3 -0
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +5 -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 +25 -0
- package/tui/dist/health/health-model.d.ts.map +1 -0
- package/tui/dist/health/health-model.js +323 -0
- package/tui/dist/health/health-model.js.map +1 -0
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +57 -9
- 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 +30 -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 +150 -75
- 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 +58 -14
- 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 +126 -2
- package/tui/dist/types.d.ts.map +1 -1
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
# Agent-operated System Health diagnosis
|
|
2
|
+
|
|
3
|
+
System Health can give a responsible agent one durable investigation packet when
|
|
4
|
+
a configured detector needs interpretation. The packet preserves the finding,
|
|
5
|
+
policy version, evidence, and current authority documents. It invites the agent
|
|
6
|
+
to investigate beyond that selection, including its own contribution. It does
|
|
7
|
+
not declare a pathology or perform corrective actions.
|
|
8
|
+
|
|
9
|
+
## Enable a bounded diagnosis loop
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
rig health policy --json > effective-policy.json
|
|
13
|
+
jq '.policy' effective-policy.json > health-policy.json
|
|
14
|
+
# Edit health-policy.json: diagnosis.enabled=true and diagnosis.owner=<seat@rig>.
|
|
15
|
+
rig health policy --file health-policy.json
|
|
16
|
+
rig health diagnose # preview; no writes or wakes
|
|
17
|
+
rig health diagnose --apply # evaluate now and apply admitted actions
|
|
18
|
+
rig health diagnosis list
|
|
19
|
+
rig health diagnosis show <qitem-id>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
`diagnosis list` and `diagnosis show` default to summaries in both text and
|
|
23
|
+
JSON. The detailed text summary shows queue state, owner, blocker, disposition,
|
|
24
|
+
uncertainty, finding identity and authority references. Summary JSON also keeps
|
|
25
|
+
the ceremony basis and current receipt identities. It keeps its object/array
|
|
26
|
+
shape and adds `readView`: `complete`, `omittedFields` (paths,
|
|
27
|
+
JSON byte counts and array counts), `fullJsonBytes`, and the exact `fullCommand`.
|
|
28
|
+
Packet copies, authority contents, evidence arrays and the diagnostic receipt ledger
|
|
29
|
+
are omitted explicitly. Current workflow-receipt envelopes remain, with
|
|
30
|
+
`evidenceIdentity` carrying recognized cut/candidate, verdict and evidence-reference
|
|
31
|
+
strings; their opaque evidence is omitted. These identity labels do not validate
|
|
32
|
+
a receipt. A summary is not the complete evidence. Byte counts describe
|
|
33
|
+
compact JSON serialization without the trailing newline, not model token counts.
|
|
34
|
+
|
|
35
|
+
For investigation or existing consumers that need the former complete JSON:
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
rig health diagnosis show <qitem-id> --full --json > diagnosis.json
|
|
39
|
+
rig health diagnosis list --full --json > diagnoses.json
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
`--full` without `--json` prints the complete record as formatted JSON. These
|
|
43
|
+
expansions may be large. Plain `--json` no longer includes all evidence fields;
|
|
44
|
+
migrate consumers of those fields to `--full --json`. HTTP API responses and
|
|
45
|
+
mutation-result JSON are unchanged. Full context remains necessary before an
|
|
46
|
+
agent acts on a diagnosis; the generated investigation packet names that command.
|
|
47
|
+
|
|
48
|
+
The daemon checks enabled policy once per minute. `health policy` reports whether
|
|
49
|
+
that check is scheduled and its last result, including errors. Ordinary `health`
|
|
50
|
+
list/explain commands remain observational. Diagnosis defaults to disabled;
|
|
51
|
+
ceremony amplification is the only default diagnosis trigger. A continuing
|
|
52
|
+
episode keeps one qitem, receives at most one additional presentation by default,
|
|
53
|
+
and shares an owner cooldown across episodes (one hour by default). A disposition
|
|
54
|
+
stops re-presentation. Disabling policy stops automatic admission and presentation.
|
|
55
|
+
Ownership changes do not silently reroute existing occurrences.
|
|
56
|
+
Outside a managed seat, name the writer with `rig health --actor <name> ...`.
|
|
57
|
+
Managed-seat transport identity takes precedence over that declared name.
|
|
58
|
+
Only the occurrence's assigned owner may record its disposition or request human
|
|
59
|
+
notification. Other agents can advise the owner; a policy-owner change does not
|
|
60
|
+
grant custody of existing occurrences. Writes retain the sender's identity
|
|
61
|
+
provenance on the queue transition.
|
|
62
|
+
|
|
63
|
+
Policy controls detector enablement, ceremony/review/wake thresholds, source
|
|
64
|
+
observation window and freshness, diagnostic owner, cooldown, re-presentation
|
|
65
|
+
bound, and human-escalation conditions. Edit plain JSON and apply it with the
|
|
66
|
+
command; unknown keys and invalid values refuse without changing the policy.
|
|
67
|
+
Applied proposals and their predecessors are retained under the configured
|
|
68
|
+
OpenRig home in `health/policy-history/`. The effective version also includes
|
|
69
|
+
the existing `health.context_pressure.warning_percent` and `critical_percent`
|
|
70
|
+
settings, which remain configurable with `rig config`. Their defaults are 95
|
|
71
|
+
and 99. CLI/TUI finding explanations show the policy version used.
|
|
72
|
+
|
|
73
|
+
## Passive ceremony diagnosis
|
|
74
|
+
|
|
75
|
+
Ordinary queue activity can admit a diagnosis without a health checkpoint.
|
|
76
|
+
The source discovers declared handoff families touched in the observation window,
|
|
77
|
+
uses their explicit `mission:` / `slice:` tags, and collects exact transition IDs,
|
|
78
|
+
normal project/mission/slice authority, progress and proof references, and workflow
|
|
79
|
+
closure evidence. It never interprets Markdown or counts proof files, approvals,
|
|
80
|
+
C1 pairing, commits, tests, or terminal rows as accepted product outcomes.
|
|
81
|
+
|
|
82
|
+
At the configured traffic threshold (20 transitions by default), a fresh,
|
|
83
|
+
complete family becomes `ceremony.stage=needs-diagnosis`, `status=indeterminate`,
|
|
84
|
+
and `severity=info`. CLI/TUI call this **needs diagnosis**, not a confirmed
|
|
85
|
+
warning. Enabled diagnosis policy admits one bounded packet even though the
|
|
86
|
+
product denominator is unknown. Ordinary unavailable/stale detector records
|
|
87
|
+
remain ineligible. Diagnosis and human-notification traffic are excluded from
|
|
88
|
+
the numerator and cannot recursively generate another investigation.
|
|
89
|
+
|
|
90
|
+
The agent reads the actual evidence, including beyond the supplied references,
|
|
91
|
+
and resolves the semantic outcome granularity and consequence boundary. Use the
|
|
92
|
+
existing disposition command with an optional `progress` result:
|
|
93
|
+
|
|
94
|
+
```json
|
|
95
|
+
{
|
|
96
|
+
"basis": "<current finding.ceremony.basis from diagnosis show>",
|
|
97
|
+
"conclusion": "established",
|
|
98
|
+
"outcomes": [{"id": "<distinct meaningful outcome>", "observedAt": "<time inside the measured interval>", "evidenceRefs": ["<normal proof path>"]}],
|
|
99
|
+
"boundedAuthority": false,
|
|
100
|
+
"boundary": "<selected SDLC boundary and why this outcome census covers the interval>",
|
|
101
|
+
"evidenceRefs": ["<inspected authority/evidence path>"],
|
|
102
|
+
"missingFacts": []
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Put this object in `progress` beside the existing verdict/steering/uncertainty
|
|
107
|
+
fields. `established` affirms a complete census for the exact interval; an empty
|
|
108
|
+
outcome list affirms zero outcomes, not failed discovery. `false-positive`
|
|
109
|
+
clears the suspicion without inventing a denominator when no missing facts remain.
|
|
110
|
+
A false-positive assessment that still names missing facts stays indeterminate
|
|
111
|
+
and does not close the episode interval. `indeterminate` supplies
|
|
112
|
+
no outcomes and names the missing fact in `missingFacts`. Required references
|
|
113
|
+
must resolve inside the workspace; extra evidence beyond the initial packet is
|
|
114
|
+
allowed. The receipt retains the actual actor, timestamp, identity provenance,
|
|
115
|
+
source basis, and evidence hashes. A changed basis refuses a stale submission.
|
|
116
|
+
Later evidence changes make confirmation indeterminate rather than preserving
|
|
117
|
+
a false ratio. Outcome meaning remains attributed agent judgment.
|
|
118
|
+
|
|
119
|
+
Only an established, current assessment permits a ratio. The projector computes
|
|
120
|
+
it from the distinct listed outcomes and exact transitions; a qualifying ratio
|
|
121
|
+
with no bounded-authority counter-signal becomes `confirmed` / `active` /
|
|
122
|
+
`warning`. Proportionate or bounded-authority results clear the episode. An
|
|
123
|
+
explicitly cleared assessment marks the end of that interval; sufficient later
|
|
124
|
+
traffic in the same family starts a new episode. Repeated reads never advance
|
|
125
|
+
these boundaries. One occurrence and the existing owner cooldown apply to each
|
|
126
|
+
episode; a disposition stops repeated requests.
|
|
127
|
+
|
|
128
|
+
This bounded source covers explicitly tagged mission work: at most 2,000 touched
|
|
129
|
+
qitems, 200 roots, 1,000 members / 10,000 transitions per family, 200 workflow
|
|
130
|
+
receipts, 200 declared slices, and 100 proof files per selected slice. Overflow
|
|
131
|
+
refuses visibly. Context files are bounded to 64 KiB. A lineage beginning before
|
|
132
|
+
the retained window remains indeterminate, with the missing interval named.
|
|
133
|
+
Untagged or ambiguously mission-tagged work is outside this source's coverage;
|
|
134
|
+
absence is not health. The packet includes missing context references so an agent
|
|
135
|
+
can name or repair its own knowledge gap without manufacturing source truth.
|
|
136
|
+
|
|
137
|
+
## Optional outcome-boundary checkpoint
|
|
138
|
+
|
|
139
|
+
Live queue transitions do not, on their own, prove product outcomes or the
|
|
140
|
+
authority for a bounded operation. At a meaningful outcome boundary, the agent
|
|
141
|
+
holding those facts may submit a census for one qitem lineage and time window. Set `includeHandoffs: true`
|
|
142
|
+
to follow its declared handoff descendants; this is the normal path for work that
|
|
143
|
+
passed between seats. The root alone usually misses the review/return traffic.
|
|
144
|
+
Prefer the existing proof/progress/outcome artifact as evidence. Do not add a
|
|
145
|
+
checkpoint to each edit or message. This is a fallback for explicitly supplied evidence;
|
|
146
|
+
normal activity uses passive diagnosis above. An existing checkpoint owns its
|
|
147
|
+
lineage so the passive source does not create a duplicate episode.
|
|
148
|
+
|
|
149
|
+
```json
|
|
150
|
+
{
|
|
151
|
+
"schema": "openrig.health-checkpoint/v0alpha1",
|
|
152
|
+
"lineageQitemId": "<existing-product-qitem>",
|
|
153
|
+
"includeHandoffs": true,
|
|
154
|
+
"scope": {"type": "slice", "projectId": "<project>", "missionId": "<mission>", "sliceId": "<slice>"},
|
|
155
|
+
"startedAt": "<ISO timestamp>",
|
|
156
|
+
"observedAt": "<ISO timestamp>",
|
|
157
|
+
"transitionIds": "derive",
|
|
158
|
+
"productOutcomes": [
|
|
159
|
+
{"id": "<outcome-id>", "observedAt": "<ISO timestamp>", "evidenceRef": "<proof-artifact-path>"}
|
|
160
|
+
],
|
|
161
|
+
"productCensusRef": "<artifact establishing the complete outcome census for this lineage/window>",
|
|
162
|
+
"boundedAuthority": {"applies": false, "evidenceRef": "<bounded-effect-authority assessment>"},
|
|
163
|
+
"sdlc": {"expectation": "<selected components and review boundary>", "evidenceRef": "<authority for that selection>"},
|
|
164
|
+
"authorityPaths": {
|
|
165
|
+
"project": ["<current project SPEC and project.yaml paths>"],
|
|
166
|
+
"mission": ["<current mission SPEC and mission.yaml paths>"],
|
|
167
|
+
"slice": ["<current slice SPEC and slice.yaml paths>"]
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
```sh
|
|
173
|
+
rig queue transitions <existing-product-qitem>
|
|
174
|
+
rig health checkpoint --file checkpoint.json
|
|
175
|
+
rig health --instance --json
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
`transitionIds: "derive"` asks the existing submission command to collect the
|
|
179
|
+
complete census once, then retain the exact IDs in the checkpoint and its audit.
|
|
180
|
+
The author supplies outcomes and their meaning, not a row-by-row bookkeeping
|
|
181
|
+
ritual. An explicit ID array is also supported for sealed replay or a
|
|
182
|
+
caller-supplied census. Later reads never silently extend either form.
|
|
183
|
+
|
|
184
|
+
The daemon verifies that transition IDs are the complete census for that exact
|
|
185
|
+
qitem and window, including all handoff descendants when selected. It does not
|
|
186
|
+
infer shared lineage from similar names or seat names. The complete transition
|
|
187
|
+
census may be assembled from the queue ledger; omitting a descendant refuses.
|
|
188
|
+
Explicit mission/slice tags on counted family members must match the checkpoint
|
|
189
|
+
scope; untagged descendants inherit the declared handoff relationship.
|
|
190
|
+
The bound is 1,000 linked qitems and 10,000 transitions; an oversized family
|
|
191
|
+
refuses rather than silently sampling it. Independent roots are separate censuses. It counts
|
|
192
|
+
those transitions and the distinct, evidenced product outcomes, and explains
|
|
193
|
+
both sides of the ratio, the literal gate-tag breakdown, and the selected SDLC
|
|
194
|
+
expectation. These are custody/status transitions, not messages or judgments
|
|
195
|
+
about whether each review was useful. A product outcome is a distinct evidenced
|
|
196
|
+
user-visible result; commits, test runs, returns and fixes needed to achieve
|
|
197
|
+
that same promised result do not each create another denominator unit. The
|
|
198
|
+
census must state its outcome granularity and coverage. The same granularity
|
|
199
|
+
must be used for positive and proportionate controls. An empty outcome list requires the same census evidence
|
|
200
|
+
as a nonempty one. An unavailable product census is a null denominator: the explanation says
|
|
201
|
+
no ratio was computed, rather than silently substituting zero or one.
|
|
202
|
+
`boundedAuthority.applies=null` means unknown, never false.
|
|
203
|
+
Missing SDLC selection (including an older checkpoint without `sdlc`) makes a
|
|
204
|
+
qualifying signal indeterminate. Cite the authority effective for the measured
|
|
205
|
+
window, not a later correction. The ratio flags an inspection; an agent compares
|
|
206
|
+
it with that selection and consequence evidence before diagnosing amplification.
|
|
207
|
+
Product-outcome meaning, selected SDLC and bounded-effect authority remain attributed authored
|
|
208
|
+
evidence; they are not proven merely by ingestion. Findings label that source
|
|
209
|
+
and use medium confidence. Required evidence references must resolve to nonempty,
|
|
210
|
+
readable local files (at most 1 MiB) inside the configured workspace. Absolute
|
|
211
|
+
paths and paths relative to that workspace are supported; other reference kinds
|
|
212
|
+
(including section addresses) remain unavailable. Resolved evidence records carry
|
|
213
|
+
a SHA-256; missing files and symlink escapes remain attributed claims but force
|
|
214
|
+
indeterminate source truth and cannot admit a diagnosis. Availability is checked
|
|
215
|
+
again on every projection; presence does not certify the artifact's meaning.
|
|
216
|
+
This authority assessment is distinct from the
|
|
217
|
+
project/mission/slice documents supplied to the diagnosing agent. Embedded
|
|
218
|
+
context is limited to canonical `SPEC.md` and project/mission/slice YAML files
|
|
219
|
+
at their corresponding work-tree nodes, at most 64 KiB each. Other paths and
|
|
220
|
+
symlink aliases are reported unavailable without embedding their contents.
|
|
221
|
+
Each entry retains its authority level. Project files must be at the configured
|
|
222
|
+
project root; mission files must belong to the finding's mission; slice files
|
|
223
|
+
must also have a sibling `SPEC.md` declaring the finding's slice ID (and matching
|
|
224
|
+
mission when declared). A sibling slice or another mission is unavailable even
|
|
225
|
+
when its filename is canonical. Without mission/slice scope, those authority
|
|
226
|
+
levels remain unavailable.
|
|
227
|
+
|
|
228
|
+
Checkpoints are audited under `health/checkpoints/history/`; replaying identical
|
|
229
|
+
bytes writes nothing. Later censuses advance observation time. High-to-high
|
|
230
|
+
observations retain episode identity; a clearing checkpoint and later recurrence
|
|
231
|
+
produce a cleared episode and a new ID. Reads never update checkpoint state.
|
|
232
|
+
Stale, unavailable, contradictory, clipped, or missing evidence cannot admit a
|
|
233
|
+
diagnosis. No findings is not a healthy assertion. The current source bounds are
|
|
234
|
+
200 lineages, 10,000 transitions and 1,000 product outcomes per checkpoint, and
|
|
235
|
+
1 MiB per input. Unsupported or invalid sources fail visibly.
|
|
236
|
+
|
|
237
|
+
## Investigate and record a disposition
|
|
238
|
+
|
|
239
|
+
Read the exact evidence and the current authority. Trace where the pattern
|
|
240
|
+
began, test whether your own actions amplified it, and distinguish another seat
|
|
241
|
+
or stale guidance. A second opinion is optional. The packet is a starting point,
|
|
242
|
+
not a closed evidence set.
|
|
243
|
+
|
|
244
|
+
```json
|
|
245
|
+
{
|
|
246
|
+
"verdict": "insufficient evidence",
|
|
247
|
+
"causalStart": null,
|
|
248
|
+
"steering": "Inspect the product-outcome census before changing work.",
|
|
249
|
+
"uncertainty": "The cited artifact does not yet establish the denominator.",
|
|
250
|
+
"evidenceRefs": ["<inspected-evidence-path>"]
|
|
251
|
+
}
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
```sh
|
|
255
|
+
rig health diagnosis record <qitem-id> --file disposition.json
|
|
256
|
+
rig health diagnosis show <qitem-id>
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
Verdicts are `false positive`, `early real condition`, `established pathology`,
|
|
260
|
+
`insufficient evidence`, or `resolved`. The disposition is retained on the
|
|
261
|
+
diagnostic qitem's transitions and visible in CLI output and the queue. Recording
|
|
262
|
+
it does not close or alter the underlying product work. Changed dispositions
|
|
263
|
+
retain earlier testimony; exact replay is a no-op. A detector clearing is
|
|
264
|
+
recorded separately from an agent declaring the problem resolved.
|
|
265
|
+
|
|
266
|
+
## Human delivery
|
|
267
|
+
|
|
268
|
+
An assigned agent may explicitly request human escalation:
|
|
269
|
+
|
|
270
|
+
```sh
|
|
271
|
+
rig health diagnosis notify <qitem-id>
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
It requires a registered `human.address` and an admitted `human.conditions`
|
|
275
|
+
entry (`critical`, `established pathology`, or `confirmed ceremony`). The connector must be enabled
|
|
276
|
+
and pass live readiness checks. The current connector implementation verifies
|
|
277
|
+
Slack scopes and channel membership; the diagnosis service itself uses a
|
|
278
|
+
transport-neutral readiness port. The existing gateway owns delivery policy
|
|
279
|
+
and posting. One human request is retained per episode, and its actual delivery
|
|
280
|
+
outcome comes from queue receipts. `pending` is never presented as `posted`.
|
|
281
|
+
Inspect the returned qitem's transitions for the connector receipt. No periodic
|
|
282
|
+
health check performs remediation. With `human.conditions=["confirmed ceremony"]`,
|
|
283
|
+
the enabled diagnosis loop automatically requests one notification for an active,
|
|
284
|
+
confirmed passive ceremony episode. Provisional, indeterminate, cleared, and stale
|
|
285
|
+
episodes never notify. The existing readiness/gateway path owns the effect; an
|
|
286
|
+
unready connector leaves a visible, deduplicated readiness receipt. Later checks
|
|
287
|
+
may retry readiness but never create a second request for an existing episode.
|
|
288
|
+
Read-only list/explain/preview commands never send.
|
|
289
|
+
|
|
290
|
+
## Read-only consumers and calibration
|
|
291
|
+
|
|
292
|
+
A consumer such as a later Herder plugin reads `GET /api/health` and
|
|
293
|
+
`GET /api/health/:findingId`, or the identical `rig health --json` and
|
|
294
|
+
`rig health explain <finding-id> --json` records. The record schema is
|
|
295
|
+
`openrig.health/v0alpha1`; list metadata is `openrig.health-list/v0alpha1`.
|
|
296
|
+
Preserve ID, status, policy version, time window, freshness, evidence and
|
|
297
|
+
threshold together. There is no health score or implicit remediation authority.
|
|
298
|
+
The default list excludes cleared records; explicit cleared queries and exact
|
|
299
|
+
ID reads retain them while the source can still project them. A recurrence after
|
|
300
|
+
clear receives a new episode ID. This is an on-demand projection, not a history
|
|
301
|
+
store; a detail 404 does not prove resolution.
|
|
302
|
+
|
|
303
|
+
Lists default to 100 and cap at 200, with `total` and `truncated` explicit.
|
|
304
|
+
Ceremony findings take precedence before the cap so context pressure cannot
|
|
305
|
+
hide the primary signal. Narrow a truncated query; do not certify the unseen
|
|
306
|
+
remainder. Empty is not healthy, unavailable is not empty, and an indeterminate
|
|
307
|
+
finding cannot authorize a diagnostic occurrence except the explicit, fresh
|
|
308
|
+
`needs-diagnosis` passive candidate described above. An existing occurrence may
|
|
309
|
+
receive one status-observation receipt when its source becomes indeterminate;
|
|
310
|
+
that does not create another obligation or wake.
|
|
311
|
+
|
|
312
|
+
Live sources supply context pressure, passive ceremony candidates and attributed
|
|
313
|
+
assessments, plus optional ceremony checkpoints.
|
|
314
|
+
Behavioral and epistemic categories intentionally have no detector. Review
|
|
315
|
+
carousel, redundant wakes, stale directives and scope admission have typed
|
|
316
|
+
evaluators and replay controls, but the live source does not infer their missing
|
|
317
|
+
candidate-change, rescue, directive-conflict or admission-authority facts.
|
|
318
|
+
Untagged work and undeclared relationships remain outside passive ceremony
|
|
319
|
+
coverage; normal tagged work no longer requires a special outcome census. A small lineage below the configured threshold may still deserve an
|
|
320
|
+
agent's inspection; the threshold is a conservative admission rule, not a
|
|
321
|
+
definition of good process.
|
|
322
|
+
|
|
323
|
+
`packages/daemon/scripts/probe-health-calibration.mjs` accepts a sealed replay
|
|
324
|
+
export and output directory after daemon/CLI/TUI builds. It drives the compiled
|
|
325
|
+
checkpoint/list/explain/diagnosis commands, renders the TUI, retains exact
|
|
326
|
+
records and screens, compares database and filesystem effects around reads,
|
|
327
|
+
and measures query cost against declared budgets. Every write uses a disposable
|
|
328
|
+
home and database. Historical expected states must be grounded independently
|
|
329
|
+
of the detector formula; incomplete outcome evidence is an indeterminate case,
|
|
330
|
+
not a denominator of one. A calibration report describes its selected corpus
|
|
331
|
+
and remaining blind spots, not a fleet-wide false-positive rate.
|
|
@@ -196,6 +196,11 @@ The layers compose from surfaces that already exist; no new mechanism is require
|
|
|
196
196
|
project/mission/role/task → coverage map; `guided` keeps the fuller authored
|
|
197
197
|
walk separately selectable. Both select from the same source graph.
|
|
198
198
|
- Position: the `--rig`/`--seat` grant serves the seat's lessons and recap.
|
|
199
|
+
- Runtime: `context profile` and `context work-install` both accept
|
|
200
|
+
`--runtime claude-code` (alias `claude`) or `--runtime codex`. Profile
|
|
201
|
+
composition retains the `claude` manifest/output key; skill projection
|
|
202
|
+
retains `claude-code`. Profile defaults from `OPENRIG_RUNTIME`, otherwise
|
|
203
|
+
Claude; work-install requires the flag to inspect or apply skills.
|
|
199
204
|
- Delivery: `rig walk <seat> --through-profile world-public --profile <profile>
|
|
200
205
|
--situation <situation> ...` applies the already-inspected profile;
|
|
201
206
|
`--through <files> --pace <interval>` remains the raw byte-walk path. Paced
|
|
@@ -52,9 +52,10 @@ mission YAML to change.
|
|
|
52
52
|
implementation momentum.
|
|
53
53
|
- **Skip when:** the current agent can independently state the user outcome,
|
|
54
54
|
starting candidate, and boundaries from primary sources.
|
|
55
|
-
- **Input:**
|
|
56
|
-
- **Action:**
|
|
57
|
-
|
|
55
|
+
- **Input:** identity, project/mission/slice YAML, and the selected addresses.
|
|
56
|
+
- **Action:** load the selected context into a fresh session, or reorient the
|
|
57
|
+
current session from live sources. Clearing a seat requires its separate
|
|
58
|
+
continuity decision; selecting this component does not authorize it.
|
|
58
59
|
- **Output:** a one-paragraph readiness statement naming role, user outcome,
|
|
59
60
|
starting candidate, and boundaries.
|
|
60
61
|
- **Stop:** do not reconstruct old queue lore merely because it exists.
|
|
@@ -213,7 +214,8 @@ possible explanation.
|
|
|
213
214
|
|
|
214
215
|
## Composition rules
|
|
215
216
|
|
|
216
|
-
1. `
|
|
217
|
+
1. `project.yaml` may declare project defaults; `mission.yaml` may select the
|
|
218
|
+
catalog and override those defaults for the mission.
|
|
217
219
|
2. `slice.yaml` selects or overrides the components for that slice.
|
|
218
220
|
3. Edges are explicit data. Array order is presentation, not dependency.
|
|
219
221
|
4. Select the fewest components that honestly fit the work.
|
|
@@ -290,16 +292,52 @@ build.minimal-gap → qa.public-journey → qa.installed-smoke?`
|
|
|
290
292
|
The recurrence admits one causal descent. It does not authorize a general
|
|
291
293
|
platform rewrite.
|
|
292
294
|
|
|
295
|
+
## Resolve the selected path
|
|
296
|
+
|
|
297
|
+
On a fresh start, restore, or new assignment:
|
|
298
|
+
|
|
299
|
+
1. Derive identity with `rig whoami --json`. Resolve the project's work root from
|
|
300
|
+
the assignment/workspace binding; `rig config get workspace.root` locates the
|
|
301
|
+
configured work tree, which may differ from the seat's code checkout.
|
|
302
|
+
2. Read `project.yaml` and its project-authority context. Follow its mission root
|
|
303
|
+
to the assigned `mission.yaml`, then its composition ref to the active
|
|
304
|
+
`slice.yaml`. Read the current intent and acceptance files those records name.
|
|
305
|
+
Do not choose a mission from an old onboarding packet or a folder's recency.
|
|
306
|
+
3. Resolve SDLC selection in order: project defaults, mission defaults, then the
|
|
307
|
+
active slice's explicit selection/override. A narrower explicit selection
|
|
308
|
+
replaces the broader component list; it does not append every ancestor's
|
|
309
|
+
gates. Follow an addressed wave map for its membership, review model and
|
|
310
|
+
boundary; an explicit named-slice exception applies only to that slice.
|
|
311
|
+
4. Read only the selected components and additional addressed context. Repository
|
|
312
|
+
references resolve from the code repository root; installed references from
|
|
313
|
+
`$OPENRIG_HOME/reference`; context-pack refs use `rig context get`. For a
|
|
314
|
+
Markdown `#section` address, use `loading-addressable-markdown` rather than
|
|
315
|
+
loading an entire unrelated manual. Expand the investigation when the task's
|
|
316
|
+
evidence requires it: the address map is a starting point, not a search limit.
|
|
317
|
+
5. State briefly the user outcome, current role, candidate, selected path and
|
|
318
|
+
next completion boundary. No composition means the light Part A flow in
|
|
319
|
+
`sdlc-conventions.md#a1-the-flow-in-one-pass`. Do not author a
|
|
320
|
+
composition merely to have one, or mint QA, guard, review, lock or proof gates
|
|
321
|
+
because those roles exist. On a tiny change the builder can verify the whole
|
|
322
|
+
outcome; independent review happens only when selected.
|
|
323
|
+
|
|
324
|
+
A missing referenced file is a named gap, not evidence of no selection. Inspect
|
|
325
|
+
or ask the owner to resolve a consequential ambiguity; do not silently fall back
|
|
326
|
+
from an explicitly selected rigorous path. An owner can explicitly amend the
|
|
327
|
+
selection for named work; record that decision at the work's authority. Current
|
|
328
|
+
command/source reality outranks stale YAML as a factual claim: record the
|
|
329
|
+
mismatch, re-derive, and preserve the distinction between scope and observed state.
|
|
330
|
+
|
|
331
|
+
Startup overlays, role guidance, available seats, old mode names and historical
|
|
332
|
+
packets cannot add steps to this selection. They supply capabilities. Skills load
|
|
333
|
+
when the selected work calls for them; there is no quiz, per-file ACK gate or
|
|
334
|
+
universal preloading requirement.
|
|
335
|
+
|
|
293
336
|
## Blank-agent start
|
|
294
337
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
boundaries**.
|
|
302
|
-
4. Follow the selected component edges and their stop conditions.
|
|
303
|
-
5. If no composition exists, use Part A in `mission-slice-sop`.
|
|
304
|
-
6. If current reality contradicts the YAML, stop treating the YAML as fact,
|
|
305
|
-
record the discrepancy, and re-derive from the public journey and source.
|
|
338
|
+
Follow **Resolve the selected path** above before choosing work. For an authored
|
|
339
|
+
wave, build and verify each slice with its local discipline and integrate serially
|
|
340
|
+
where required; request independent review once when the authored wave boundary
|
|
341
|
+
arrives. Do not start per-slice reviews while waiting. A separately selected
|
|
342
|
+
rigorous slice retains its named checks. Review findings justify bounded repairs,
|
|
343
|
+
not an automatic increase in process for the next round.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
schema: openrig.project/v0alpha1
|
|
2
|
+
kind: project
|
|
3
|
+
metadata: { id: example }
|
|
4
|
+
missions: { root: missions }
|
|
5
|
+
lifecycle:
|
|
6
|
+
profile: release-boundary-v0
|
|
7
|
+
profiles:
|
|
8
|
+
release-boundary-v0:
|
|
9
|
+
required_steps:
|
|
10
|
+
- mission-outcome
|
|
11
|
+
- exact-release-candidate
|
|
12
|
+
- capability-delta
|
|
13
|
+
- exact-cut-substance
|
|
14
|
+
- release-verification
|
|
15
|
+
- git-canonicalization
|
|
16
|
+
- public-release
|
|
17
|
+
- parent-adoption
|
|
18
|
+
- record-shipped
|
|
19
|
+
- release-boundary
|
|
20
|
+
workflow:
|
|
21
|
+
entry: { role: orchestrator }
|
|
22
|
+
roles:
|
|
23
|
+
orchestrator: { preferred_targets: [orch@example] }
|
|
24
|
+
steps:
|
|
25
|
+
- id: mission-outcome
|
|
26
|
+
actor_role: orchestrator
|
|
27
|
+
depends_on: []
|
|
28
|
+
objective: Judge the mission's promised outcomes against retained evidence; name remaining gaps.
|
|
29
|
+
allowed_exits: [handoff, waiting, failed]
|
|
30
|
+
- id: exact-release-candidate
|
|
31
|
+
actor_role: orchestrator
|
|
32
|
+
depends_on: [mission-outcome]
|
|
33
|
+
objective: Establish the exact candidate and tree to which subsequent receipts apply.
|
|
34
|
+
allowed_exits: [handoff, waiting, failed]
|
|
35
|
+
- id: capability-delta
|
|
36
|
+
actor_role: orchestrator
|
|
37
|
+
depends_on: [exact-release-candidate]
|
|
38
|
+
objective: Reconcile the shipped capability description with this candidate's actual behavior.
|
|
39
|
+
allowed_exits: [handoff, waiting, failed]
|
|
40
|
+
- id: exact-cut-substance
|
|
41
|
+
actor_role: orchestrator
|
|
42
|
+
depends_on: [capability-delta]
|
|
43
|
+
objective: Obtain and judge independent substance admission for the exact release cut.
|
|
44
|
+
allowed_exits: [handoff, waiting, failed]
|
|
45
|
+
- id: release-verification
|
|
46
|
+
actor_role: orchestrator
|
|
47
|
+
depends_on: [exact-cut-substance]
|
|
48
|
+
objective: Judge privacy, package shape, conventions and mirrors, builds, tests, and clean-tree evidence for the exact admitted release candidate.
|
|
49
|
+
allowed_exits: [handoff, waiting, failed]
|
|
50
|
+
- id: git-canonicalization
|
|
51
|
+
actor_role: orchestrator
|
|
52
|
+
depends_on: [release-verification]
|
|
53
|
+
objective: Obtain the authorized canonical Git identity and reconcile it with the verified candidate.
|
|
54
|
+
allowed_exits: [handoff, waiting, failed]
|
|
55
|
+
- id: public-release
|
|
56
|
+
actor_role: orchestrator
|
|
57
|
+
depends_on: [git-canonicalization]
|
|
58
|
+
objective: Obtain publication authorization and the release owner's exact public artifact receipt.
|
|
59
|
+
allowed_exits: [handoff, waiting, failed]
|
|
60
|
+
- id: parent-adoption
|
|
61
|
+
actor_role: orchestrator
|
|
62
|
+
depends_on: [public-release]
|
|
63
|
+
objective: Obtain separately authorized parent adoption and judge its effect receipt.
|
|
64
|
+
allowed_exits: [handoff, waiting, failed]
|
|
65
|
+
- id: record-shipped
|
|
66
|
+
actor_role: orchestrator
|
|
67
|
+
depends_on: [parent-adoption]
|
|
68
|
+
objective: Record durable shipped truth after judging ceremony receipts; the post-release boundary follows.
|
|
69
|
+
allowed_exits: [handoff, waiting, failed]
|
|
70
|
+
- id: release-boundary
|
|
71
|
+
actor_role: orchestrator
|
|
72
|
+
depends_on: [record-shipped]
|
|
73
|
+
objective: >-
|
|
74
|
+
After the release ceremony, author one attributed disposition record
|
|
75
|
+
covering seat renewal and re-prime, memory distillation, destination
|
|
76
|
+
queue sweep, substrate teardown or retention, board freeze and clean-box
|
|
77
|
+
baseline, capability-delta absorption and expiry, and packaged-product
|
|
78
|
+
discoverability. These are agent-judged guides, not seven daemon gates.
|
|
79
|
+
Inspect beyond this packet when useful. Record reasoned not-applicable
|
|
80
|
+
or deferred dispositions and wait on live dependencies. Finish after
|
|
81
|
+
this boundary when no successor is authored.
|
|
82
|
+
allowed_exits: [done, waiting, failed]
|
|
@@ -52,6 +52,11 @@ playbook.
|
|
|
52
52
|
|
|
53
53
|
## 4. Substrate — teardown as its own atom
|
|
54
54
|
|
|
55
|
+
- Retain the current release and the immediately previous release. At a boundary
|
|
56
|
+
for release N, worktrees and other release-scoped substrate from N-2 and older
|
|
57
|
+
are eligible for cleanup. Eligibility is not permission to discard unique dirty
|
|
58
|
+
bytes: archive or otherwise disposition those first. Identify live `main` and
|
|
59
|
+
runtime state by their actual refs and identity, never by a stale directory name.
|
|
55
60
|
- Prune worktrees; remove session-scoped scratch trees; verify merged branches
|
|
56
61
|
deleted (merge receipts authorize).
|
|
57
62
|
- Scratch homes and scenario roots in temp directories: swept.
|
|
@@ -343,12 +343,51 @@ Startup blocks can appear at three levels: rig, pod, and member. They are merged
|
|
|
343
343
|
|
|
344
344
|
| Field | Type | Required | Default | Description |
|
|
345
345
|
|-------|------|----------|---------|-------------|
|
|
346
|
-
| `type` | string | yes | — | Action type. One of: `slash_command`, `send_text`. Note: `shell` is explicitly NOT supported in v1. |
|
|
347
|
-
| `value` | string | yes | — |
|
|
348
|
-
| `phase` | string | no | `after_files` | When to execute. One of: `after_files` (after startup files are delivered), `after_ready` (after harness readiness check passes). |
|
|
346
|
+
| `type` | string | yes | — | Action type. One of: `slash_command`, `send_text`, `startup_proof`. Note: `shell` is explicitly NOT supported in v1. |
|
|
347
|
+
| `value` | string | yes | — | Command/text to send, or `authenticated` / `none` for `startup_proof`. |
|
|
348
|
+
| `phase` | string | no | `after_files` | When to execute text/commands. One of: `after_files` (after startup files are delivered), `after_ready` (after harness readiness check passes). Proof selection is resolved before projection regardless of phase. |
|
|
349
349
|
| `idempotent` | boolean | yes | — | Whether this action is safe to replay on restore. **Required field.** Non-idempotent actions must NOT include `restore` in `applies_on`. |
|
|
350
350
|
| `applies_on` | string[] | no | `[fresh_start, restore]` | When this action runs. Subset of: `fresh_start`, `restore`. |
|
|
351
351
|
|
|
352
|
+
### Startup proof selection
|
|
353
|
+
|
|
354
|
+
Startup adds no orientation exercise by default. To select the authenticated
|
|
355
|
+
startup challenge, declare an action in an agent, profile, rig, pod, member, or
|
|
356
|
+
operator startup block:
|
|
357
|
+
|
|
358
|
+
```yaml
|
|
359
|
+
startup:
|
|
360
|
+
actions:
|
|
361
|
+
- type: startup_proof
|
|
362
|
+
value: authenticated
|
|
363
|
+
idempotent: true
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
Use `value: none` in a later layer to select lean startup explicitly. The last
|
|
367
|
+
applicable declaration wins in agent → profile → rig → pod → member → operator
|
|
368
|
+
order. Culture contributes files, not a proof selection. With no applicable
|
|
369
|
+
declaration, the result is `none`; the number of startup files never selects
|
|
370
|
+
proof. Invalid values and non-idempotent proof declarations fail validation,
|
|
371
|
+
including declarations overridden later. These actions declare policy and are
|
|
372
|
+
never typed into a terminal.
|
|
373
|
+
|
|
374
|
+
An authenticated selection challenges only a fresh or fresh-fallback managed
|
|
375
|
+
agent launch. Resumed, forked, rebuilt, and adopted sessions receive no new
|
|
376
|
+
challenge; terminal nodes never receive one. `applies_on` follows the requested
|
|
377
|
+
startup context, so a fresh fallback during restore uses `restore` selections.
|
|
378
|
+
Keep the default `[fresh_start, restore]` to cover both fresh launch paths.
|
|
379
|
+
|
|
380
|
+
Identity delivery, projection, readiness, and ordinary startup actions still
|
|
381
|
+
run. `startup_status: ready` means startup completed, while `oriented: missing`
|
|
382
|
+
means a selected proof awaits authenticated submission. Omission/`none` yields
|
|
383
|
+
`oriented: n-a` on a new fresh launch and retires an older challenge without
|
|
384
|
+
deleting its audit history. Retirement follows successful harness launch,
|
|
385
|
+
before readiness checks, so attention, timeout, or a readiness exception cannot
|
|
386
|
+
retain the preceding proof. A replacement that fails to launch does not retire
|
|
387
|
+
the current proof; resume/adoption also preserves existing proof history.
|
|
388
|
+
The effective selection is recorded on `node.startup_pending`; actions are
|
|
389
|
+
persisted in startup context for restore and fresh relaunch.
|
|
390
|
+
|
|
352
391
|
---
|
|
353
392
|
|
|
354
393
|
## Services Block
|
|
@@ -477,7 +516,7 @@ These rules are enforced by the validator. A spec that violates any of these wil
|
|
|
477
516
|
19. Each wait target must define exactly one of: `service`, `url`, `tcp`.
|
|
478
517
|
20. `condition` is only valid on `service` targets and must be `healthy`.
|
|
479
518
|
21. Startup file `delivery_hint` must be one of: `auto`, `guidance_merge`, `skill_install`, `send_text`.
|
|
480
|
-
22. Startup action `type` must be one of: `slash_command`, `send_text`. (`shell` is explicitly rejected.)
|
|
519
|
+
22. Startup action `type` must be one of: `slash_command`, `send_text`, `startup_proof`. (`shell` is explicitly rejected.) Proof selection requires `value: authenticated` or `none` and `idempotent: true`.
|
|
481
520
|
23. Startup action `phase` must be one of: `after_files`, `after_ready`.
|
|
482
521
|
24. Startup action `idempotent` is a required boolean.
|
|
483
522
|
25. Non-idempotent actions must not include `restore` in `applies_on`.
|
|
@@ -68,10 +68,12 @@ intent (what is this for, what does done look like)
|
|
|
68
68
|
→ hand off (rig queue handoff) or stop
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
Verify the whole outcome at completion, not through a review chain per increment.
|
|
72
|
+
For a tiny change the builder may hold this check. Independent QA/review runs only
|
|
73
|
+
when selected by the project/mission/slice composition or an explicit owner
|
|
74
|
+
assignment; for a wave, at its authored boundary. Available roles never add gates.
|
|
75
|
+
The authority lookup is `product-journey-sdlc.md#resolve-the-selected-path`.
|
|
76
|
+
Bring work with evidence that its promised user outcome actually works.
|
|
75
77
|
|
|
76
78
|
For a release mission, `mission.yaml` also names the Git strategy before build
|
|
77
79
|
work starts: the branch/ref that is cumulative integration truth, its base, and
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Role: Conveyor Planner
|
|
2
2
|
|
|
3
|
-
You are
|
|
3
|
+
You are a reusable planning station for the selected rig. Your job is to
|
|
4
4
|
convert an accepted work packet into a bounded plan that the build station can
|
|
5
5
|
execute without guessing.
|
|
6
6
|
|
|
@@ -17,8 +17,10 @@ execute without guessing.
|
|
|
17
17
|
- Read the packet, identify the concrete outcome, and name any missing input.
|
|
18
18
|
- Produce a short plan with expected files, commands, and verification.
|
|
19
19
|
- Keep the plan small enough for one build turn.
|
|
20
|
-
-
|
|
21
|
-
|
|
20
|
+
- Derive your seat from `rig whoami --json` and the next role/target from the
|
|
21
|
+
assigned packet and selected workflow. Return the plan and constraints through
|
|
22
|
+
the workflow's selected projection/exit when it owns routing; otherwise hand
|
|
23
|
+
off to the packet's resolved destination. Do not hard-code a starter address.
|
|
22
24
|
- Mark blockers honestly if the packet cannot be planned from available input.
|
|
23
25
|
|
|
24
26
|
## Principles
|