@openrig/cli 0.5.8 → 0.5.9
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/claude-statusline-context.cjs +1 -0
- package/daemon/assets/plugins/openrig-core/README.md +1 -1
- package/daemon/assets/plugins/openrig-core/skills/agent-operated-software/SKILL.md +92 -0
- package/daemon/assets/plugins/openrig-core/skills/agent-operated-workflows/SKILL.md +79 -0
- package/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model/SKILL.md +2 -2
- package/daemon/assets/plugins/openrig-core/skills/openrig-skills/SKILL.md +4 -2
- package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +12 -16
- package/daemon/assets/plugins/openrig-core/skills/software-for-agents/SKILL.md +11 -179
- package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +63 -19
- package/daemon/context-packs/skills/agent-operated-software/SKILL.md +92 -0
- package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +10 -0
- package/daemon/context-packs/skills/agent-operated-workflows/SKILL.md +79 -0
- package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +10 -0
- package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
- package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-skills/SKILL.md +4 -2
- package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +81 -0
- package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +3 -1
- package/daemon/context-packs/skills/core/openrig-upgrade/scripts/migrate-telemetry-state-0.5.9.mjs +1419 -0
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
- package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
- package/daemon/context-packs/skills/forming-an-openrig-mental-model/SKILL.md +2 -2
- package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
- package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-user/SKILL.md +12 -16
- package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
- package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
- package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
- package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/software-for-agents/SKILL.md +11 -179
- package/daemon/context-packs/skills/software-for-agents/manifest.yaml +3 -3
- package/daemon/context-packs/world-example/manifest.yaml +1 -1
- package/daemon/context-packs/world-example/your-world.md +1 -1
- package/daemon/context-packs/world-public/build-your-world.md +19 -0
- package/daemon/context-packs/world-public/claims.yaml +5 -1
- package/daemon/context-packs/world-public/manifest.yaml +40 -1
- package/daemon/context-packs/world-public/verify-world.sh +25 -9
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +4 -2
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/db/all-migrations.d.ts +1 -1
- package/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/daemon/dist/db/all-migrations.js +3 -1
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/046_seat_identity_verdicts.d.ts +8 -5
- package/daemon/dist/db/migrations/046_seat_identity_verdicts.d.ts.map +1 -1
- package/daemon/dist/db/migrations/046_seat_identity_verdicts.js +8 -5
- package/daemon/dist/db/migrations/046_seat_identity_verdicts.js.map +1 -1
- package/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.d.ts +8 -0
- package/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.d.ts.map +1 -0
- package/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.js +50 -0
- package/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.js.map +1 -0
- package/daemon/dist/domain/active-occupant.d.ts +6 -1
- package/daemon/dist/domain/active-occupant.d.ts.map +1 -1
- package/daemon/dist/domain/active-occupant.js +47 -0
- package/daemon/dist/domain/active-occupant.js.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.js +8 -1
- package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
- package/daemon/dist/domain/bundle-context-packs-router.d.ts +3 -3
- package/daemon/dist/domain/bundle-context-packs-router.d.ts.map +1 -1
- package/daemon/dist/domain/bundle-skills-router.d.ts +3 -0
- package/daemon/dist/domain/bundle-skills-router.d.ts.map +1 -1
- package/daemon/dist/domain/bundle-skills-router.js +5 -1
- package/daemon/dist/domain/bundle-skills-router.js.map +1 -1
- package/daemon/dist/domain/claim-service.d.ts +2 -0
- package/daemon/dist/domain/claim-service.d.ts.map +1 -1
- package/daemon/dist/domain/claim-service.js +33 -12
- package/daemon/dist/domain/claim-service.js.map +1 -1
- package/daemon/dist/domain/context-packs/context-pack-library-service.d.ts.map +1 -1
- package/daemon/dist/domain/context-packs/context-pack-library-service.js +9 -1
- package/daemon/dist/domain/context-packs/context-pack-library-service.js.map +1 -1
- package/daemon/dist/domain/context-packs/context-pack-types.d.ts +25 -0
- package/daemon/dist/domain/context-packs/context-pack-types.d.ts.map +1 -1
- package/daemon/dist/domain/context-packs/context-pack-types.js +3 -1
- package/daemon/dist/domain/context-packs/context-pack-types.js.map +1 -1
- package/daemon/dist/domain/context-packs/manifest-parser.d.ts.map +1 -1
- package/daemon/dist/domain/context-packs/manifest-parser.js +143 -3
- package/daemon/dist/domain/context-packs/manifest-parser.js.map +1 -1
- package/daemon/dist/domain/context-packs/profile-composer.d.ts +22 -1
- package/daemon/dist/domain/context-packs/profile-composer.d.ts.map +1 -1
- package/daemon/dist/domain/context-packs/profile-composer.js +105 -40
- package/daemon/dist/domain/context-packs/profile-composer.js.map +1 -1
- package/daemon/dist/domain/context-usage-store.d.ts +4 -0
- package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-usage-store.js +8 -4
- package/daemon/dist/domain/context-usage-store.js.map +1 -1
- package/daemon/dist/domain/crash-cart-conductor.d.ts +13 -0
- package/daemon/dist/domain/crash-cart-conductor.d.ts.map +1 -1
- package/daemon/dist/domain/crash-cart-conductor.js +3 -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 +145 -16
- package/daemon/dist/domain/execution-view.js.map +1 -1
- package/daemon/dist/domain/instance-initialization.d.ts +25 -0
- package/daemon/dist/domain/instance-initialization.d.ts.map +1 -0
- package/daemon/dist/domain/instance-initialization.js +81 -0
- package/daemon/dist/domain/instance-initialization.js.map +1 -0
- package/daemon/dist/domain/lifecycle-manifest.d.ts +19 -0
- package/daemon/dist/domain/lifecycle-manifest.d.ts.map +1 -0
- package/daemon/dist/domain/lifecycle-manifest.js +73 -0
- package/daemon/dist/domain/lifecycle-manifest.js.map +1 -0
- package/daemon/dist/domain/model-divergence/current-generation-record.d.ts +36 -36
- package/daemon/dist/domain/model-divergence/current-generation-record.d.ts.map +1 -1
- package/daemon/dist/domain/model-divergence/current-generation-record.js +104 -135
- package/daemon/dist/domain/model-divergence/current-generation-record.js.map +1 -1
- package/daemon/dist/domain/native-process-lineage.d.ts +10 -0
- package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -0
- package/daemon/dist/domain/native-process-lineage.js +86 -0
- package/daemon/dist/domain/native-process-lineage.js.map +1 -0
- package/daemon/dist/domain/native-resume-probe.js +12 -1
- package/daemon/dist/domain/native-resume-probe.js.map +1 -1
- package/daemon/dist/domain/node-inventory.d.ts +2 -0
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +3 -1
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/node-launcher.d.ts +3 -0
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +21 -8
- package/daemon/dist/domain/node-launcher.js.map +1 -1
- package/daemon/dist/domain/pane-binding-observation.d.ts +22 -0
- package/daemon/dist/domain/pane-binding-observation.d.ts.map +1 -0
- package/daemon/dist/domain/pane-binding-observation.js +54 -0
- package/daemon/dist/domain/pane-binding-observation.js.map +1 -0
- package/daemon/dist/domain/policies/parked-owner-consumer.js +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
- package/daemon/dist/domain/policies/workflow-keepalive.d.ts.map +1 -1
- package/daemon/dist/domain/policies/workflow-keepalive.js +16 -2
- package/daemon/dist/domain/policies/workflow-keepalive.js.map +1 -1
- package/daemon/dist/domain/profile-resolver.d.ts +12 -0
- package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/profile-resolver.js +60 -0
- package/daemon/dist/domain/profile-resolver.js.map +1 -1
- package/daemon/dist/domain/project-lifecycle-compiler.d.ts +35 -0
- package/daemon/dist/domain/project-lifecycle-compiler.d.ts.map +1 -0
- package/daemon/dist/domain/project-lifecycle-compiler.js +190 -0
- package/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -0
- package/daemon/dist/domain/provider/claude-usage-reader.d.ts +1 -1
- package/daemon/dist/domain/provider/claude-usage-reader.d.ts.map +1 -1
- package/daemon/dist/domain/provider/claude-usage-reader.js +28 -18
- package/daemon/dist/domain/provider/claude-usage-reader.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +5 -1
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +6 -0
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-retention.d.ts +3 -4
- package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
- package/daemon/dist/domain/queue-retention.js +5 -8
- package/daemon/dist/domain/queue-retention.js.map +1 -1
- package/daemon/dist/domain/queue-transition-log.d.ts +28 -0
- package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transition-log.js +124 -0
- package/daemon/dist/domain/queue-transition-log.js.map +1 -1
- package/daemon/dist/domain/restore-attempt-receipt.d.ts +34 -0
- package/daemon/dist/domain/restore-attempt-receipt.d.ts.map +1 -0
- package/daemon/dist/domain/restore-attempt-receipt.js +59 -0
- package/daemon/dist/domain/restore-attempt-receipt.js.map +1 -0
- package/daemon/dist/domain/restore-orchestrator.d.ts +57 -24
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +152 -26
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/restore-topology.d.ts +14 -0
- package/daemon/dist/domain/restore-topology.d.ts.map +1 -0
- package/daemon/dist/domain/restore-topology.js +27 -0
- package/daemon/dist/domain/restore-topology.js.map +1 -0
- package/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/rig-lifecycle-service.js +9 -0
- package/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +19 -0
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +65 -1
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts +8 -0
- package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.js +4 -0
- package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.d.ts +23 -1
- package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.js +97 -46
- package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.js +15 -6
- package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts +47 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +525 -29
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/session-registry.d.ts +8 -1
- package/daemon/dist/domain/session-registry.d.ts.map +1 -1
- package/daemon/dist/domain/session-registry.js +19 -0
- package/daemon/dist/domain/session-registry.js.map +1 -1
- package/daemon/dist/domain/skill-catalog.d.ts +81 -0
- package/daemon/dist/domain/skill-catalog.d.ts.map +1 -0
- package/daemon/dist/domain/skill-catalog.js +827 -0
- package/daemon/dist/domain/skill-catalog.js.map +1 -0
- package/daemon/dist/domain/skill-discovery.d.ts +3 -0
- package/daemon/dist/domain/skill-discovery.d.ts.map +1 -1
- package/daemon/dist/domain/skill-discovery.js +1 -1
- package/daemon/dist/domain/skill-discovery.js.map +1 -1
- package/daemon/dist/domain/snapshot-capture.d.ts +4 -1
- package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
- package/daemon/dist/domain/snapshot-capture.js +38 -2
- package/daemon/dist/domain/snapshot-capture.js.map +1 -1
- package/daemon/dist/domain/snapshot-repository.d.ts +15 -1
- package/daemon/dist/domain/snapshot-repository.d.ts.map +1 -1
- package/daemon/dist/domain/snapshot-repository.js +103 -1
- package/daemon/dist/domain/snapshot-repository.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts +2 -0
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +12 -0
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/system-world.d.ts +45 -0
- package/daemon/dist/domain/system-world.d.ts.map +1 -0
- package/daemon/dist/domain/system-world.js +123 -0
- package/daemon/dist/domain/system-world.js.map +1 -0
- package/daemon/dist/domain/telemetry-state-paths.d.ts +7 -0
- package/daemon/dist/domain/telemetry-state-paths.d.ts.map +1 -0
- package/daemon/dist/domain/telemetry-state-paths.js +20 -0
- package/daemon/dist/domain/telemetry-state-paths.js.map +1 -0
- package/daemon/dist/domain/types.d.ts +103 -4
- 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 +8 -3
- package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.js +65 -29
- package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.d.ts +7 -23
- package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.js +44 -226
- package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
- package/daemon/dist/domain/workflow-boot-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-boot-sweep.js +20 -6
- package/daemon/dist/domain/workflow-boot-sweep.js.map +1 -1
- package/daemon/dist/domain/workflow-instance-store.d.ts +33 -1
- package/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-instance-store.js +127 -2
- package/daemon/dist/domain/workflow-instance-store.js.map +1 -1
- package/daemon/dist/domain/workflow-keepalive-arming.d.ts +7 -5
- package/daemon/dist/domain/workflow-keepalive-arming.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-keepalive-arming.js +27 -16
- package/daemon/dist/domain/workflow-keepalive-arming.js.map +1 -1
- package/daemon/dist/domain/workflow-projector.d.ts +6 -2
- package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-projector.js +271 -2
- package/daemon/dist/domain/workflow-projector.js.map +1 -1
- package/daemon/dist/domain/workflow-runtime.d.ts +62 -2
- package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-runtime.js +334 -18
- package/daemon/dist/domain/workflow-runtime.js.map +1 -1
- package/daemon/dist/domain/workflow-spec-cache.d.ts +9 -1
- package/daemon/dist/domain/workflow-spec-cache.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-spec-cache.js +85 -0
- package/daemon/dist/domain/workflow-spec-cache.js.map +1 -1
- package/daemon/dist/domain/workflow-types.d.ts +38 -1
- 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 +20 -3
- package/daemon/dist/domain/workflow-validator.js.map +1 -1
- package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts +38 -9
- package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -1
- package/daemon/dist/domain/workspace/default-workspace-scaffold.js +93 -347
- package/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -1
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +13 -0
- package/daemon/dist/index.js.map +1 -1
- package/daemon/dist/instance-initialization-surface.d.ts +3 -0
- package/daemon/dist/instance-initialization-surface.d.ts.map +1 -0
- package/daemon/dist/instance-initialization-surface.js +3 -0
- package/daemon/dist/instance-initialization-surface.js.map +1 -0
- package/daemon/dist/project-lifecycle-surface.d.ts +3 -0
- package/daemon/dist/project-lifecycle-surface.d.ts.map +1 -0
- package/daemon/dist/project-lifecycle-surface.js +3 -0
- package/daemon/dist/project-lifecycle-surface.js.map +1 -0
- package/daemon/dist/routes/bundles.js +10 -9
- package/daemon/dist/routes/bundles.js.map +1 -1
- package/daemon/dist/routes/config.d.ts.map +1 -1
- package/daemon/dist/routes/config.js +27 -49
- package/daemon/dist/routes/config.js.map +1 -1
- package/daemon/dist/routes/context-packs.d.ts.map +1 -1
- package/daemon/dist/routes/context-packs.js +114 -16
- package/daemon/dist/routes/context-packs.js.map +1 -1
- package/daemon/dist/routes/crash-cart.js +3 -0
- package/daemon/dist/routes/crash-cart.js.map +1 -1
- package/daemon/dist/routes/queue.d.ts.map +1 -1
- package/daemon/dist/routes/queue.js +20 -0
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/rigs.js +12 -1
- package/daemon/dist/routes/rigs.js.map +1 -1
- package/daemon/dist/routes/rigspec.js +9 -2
- package/daemon/dist/routes/rigspec.js.map +1 -1
- package/daemon/dist/routes/seat.js +21 -1
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/sessions.js +16 -6
- package/daemon/dist/routes/sessions.js.map +1 -1
- package/daemon/dist/routes/snapshots.d.ts.map +1 -1
- package/daemon/dist/routes/snapshots.js +41 -3
- package/daemon/dist/routes/snapshots.js.map +1 -1
- package/daemon/dist/routes/up.js +12 -1
- package/daemon/dist/routes/up.js.map +1 -1
- package/daemon/dist/routes/watchdog.d.ts.map +1 -1
- package/daemon/dist/routes/watchdog.js +7 -6
- package/daemon/dist/routes/watchdog.js.map +1 -1
- package/daemon/dist/routes/workflow.d.ts.map +1 -1
- package/daemon/dist/routes/workflow.js +104 -39
- package/daemon/dist/routes/workflow.js.map +1 -1
- package/daemon/dist/server.d.ts +2 -0
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +1 -0
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/skill-loadout-surface.d.ts +3 -0
- package/daemon/dist/skill-loadout-surface.d.ts.map +1 -0
- package/daemon/dist/skill-loadout-surface.js +2 -0
- package/daemon/dist/skill-loadout-surface.js.map +1 -0
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +72 -65
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/dist/system-world-surface.d.ts +2 -0
- package/daemon/dist/system-world-surface.d.ts.map +1 -0
- package/daemon/dist/system-world-surface.js +2 -0
- package/daemon/dist/system-world-surface.js.map +1 -0
- package/daemon/docs/reference/getting-started.md +2 -1
- package/daemon/docs/reference/instance-layout.md +106 -0
- package/daemon/docs/reference/mission-install.md +12 -2
- package/daemon/docs/reference/project-workspace.md +66 -40
- package/daemon/specs/agents/shared/skills/core/openrig-skills/SKILL.md +4 -2
- package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +81 -0
- package/daemon/specs/agents/shared/skills/core/openrig-upgrade/scripts/migrate-telemetry-state-0.5.9.mjs +1419 -0
- package/dist/build-info.js +3 -3
- package/dist/commands/config-init-workspace.d.ts +4 -23
- package/dist/commands/config-init-workspace.d.ts.map +1 -1
- package/dist/commands/config-init-workspace.js +14 -576
- package/dist/commands/config-init-workspace.js.map +1 -1
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +6 -4
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +114 -8
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/daemon.d.ts.map +1 -1
- package/dist/commands/daemon.js +16 -0
- package/dist/commands/daemon.js.map +1 -1
- package/dist/commands/launch.d.ts.map +1 -1
- package/dist/commands/launch.js +51 -4
- package/dist/commands/launch.js.map +1 -1
- package/dist/commands/restore.d.ts.map +1 -1
- package/dist/commands/restore.js +43 -3
- package/dist/commands/restore.js.map +1 -1
- package/dist/commands/scope.d.ts.map +1 -1
- package/dist/commands/scope.js +169 -79
- package/dist/commands/scope.js.map +1 -1
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +30 -0
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/skill.d.ts.map +1 -1
- package/dist/commands/skill.js +61 -0
- package/dist/commands/skill.js.map +1 -1
- package/dist/commands/snapshot.d.ts.map +1 -1
- package/dist/commands/snapshot.js +4 -2
- package/dist/commands/snapshot.js.map +1 -1
- package/dist/commands/start.d.ts.map +1 -1
- package/dist/commands/start.js +3 -0
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/up.d.ts.map +1 -1
- package/dist/commands/up.js +3 -0
- package/dist/commands/up.js.map +1 -1
- package/dist/commands/walk.d.ts.map +1 -1
- package/dist/commands/walk.js +3 -0
- package/dist/commands/walk.js.map +1 -1
- package/dist/commands/workflow-render.d.ts +31 -0
- package/dist/commands/workflow-render.d.ts.map +1 -1
- package/dist/commands/workflow-render.js +84 -6
- package/dist/commands/workflow-render.js.map +1 -1
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +96 -8
- package/dist/commands/workflow.js.map +1 -1
- package/dist/config-store.d.ts +9 -4
- package/dist/config-store.d.ts.map +1 -1
- package/dist/config-store.js +67 -30
- package/dist/config-store.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts +8 -15
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +24 -31
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/lib/scope/mission-composition.d.ts +16 -0
- package/dist/lib/scope/mission-composition.d.ts.map +1 -0
- package/dist/lib/scope/mission-composition.js +110 -0
- package/dist/lib/scope/mission-composition.js.map +1 -0
- package/dist/lib/scope/scope-fs.d.ts +5 -0
- package/dist/lib/scope/scope-fs.d.ts.map +1 -1
- package/dist/lib/scope/scope-fs.js +34 -4
- package/dist/lib/scope/scope-fs.js.map +1 -1
- package/dist/lib/work-install.d.ts +17 -0
- package/dist/lib/work-install.d.ts.map +1 -1
- package/dist/lib/work-install.js +49 -6
- package/dist/lib/work-install.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/adapters/claude-code-adapter.js +4 -2
- package/node_modules/@openrig/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/build-info.js +3 -3
- package/node_modules/@openrig/daemon/dist/db/all-migrations.d.ts +1 -1
- package/node_modules/@openrig/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/db/all-migrations.js +3 -1
- package/node_modules/@openrig/daemon/dist/db/all-migrations.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/db/migrations/046_seat_identity_verdicts.d.ts +8 -5
- package/node_modules/@openrig/daemon/dist/db/migrations/046_seat_identity_verdicts.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/db/migrations/046_seat_identity_verdicts.js +8 -5
- package/node_modules/@openrig/daemon/dist/db/migrations/046_seat_identity_verdicts.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.d.ts +8 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.js +50 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/active-occupant.d.ts +6 -1
- package/node_modules/@openrig/daemon/dist/domain/active-occupant.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/active-occupant.js +47 -0
- package/node_modules/@openrig/daemon/dist/domain/active-occupant.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/bootstrap-orchestrator.js +8 -1
- package/node_modules/@openrig/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/bundle-context-packs-router.d.ts +3 -3
- package/node_modules/@openrig/daemon/dist/domain/bundle-context-packs-router.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/bundle-skills-router.d.ts +3 -0
- package/node_modules/@openrig/daemon/dist/domain/bundle-skills-router.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/bundle-skills-router.js +5 -1
- package/node_modules/@openrig/daemon/dist/domain/bundle-skills-router.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/claim-service.d.ts +2 -0
- package/node_modules/@openrig/daemon/dist/domain/claim-service.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/claim-service.js +33 -12
- package/node_modules/@openrig/daemon/dist/domain/claim-service.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-library-service.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-library-service.js +9 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-library-service.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.d.ts +25 -0
- package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.js +3 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/manifest-parser.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/manifest-parser.js +143 -3
- package/node_modules/@openrig/daemon/dist/domain/context-packs/manifest-parser.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-composer.d.ts +22 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-composer.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-composer.js +105 -40
- package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-composer.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-usage-store.d.ts +4 -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 +8 -4
- package/node_modules/@openrig/daemon/dist/domain/context-usage-store.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/crash-cart-conductor.d.ts +13 -0
- package/node_modules/@openrig/daemon/dist/domain/crash-cart-conductor.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/crash-cart-conductor.js +3 -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 +145 -16
- package/node_modules/@openrig/daemon/dist/domain/execution-view.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/instance-initialization.d.ts +25 -0
- package/node_modules/@openrig/daemon/dist/domain/instance-initialization.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/instance-initialization.js +81 -0
- package/node_modules/@openrig/daemon/dist/domain/instance-initialization.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/lifecycle-manifest.d.ts +19 -0
- package/node_modules/@openrig/daemon/dist/domain/lifecycle-manifest.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/lifecycle-manifest.js +73 -0
- package/node_modules/@openrig/daemon/dist/domain/lifecycle-manifest.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/model-divergence/current-generation-record.d.ts +36 -36
- 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 +104 -135
- package/node_modules/@openrig/daemon/dist/domain/model-divergence/current-generation-record.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.d.ts +10 -0
- package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.js +86 -0
- package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/native-resume-probe.js +12 -1
- package/node_modules/@openrig/daemon/dist/domain/native-resume-probe.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/node-inventory.d.ts +2 -0
- package/node_modules/@openrig/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/node-inventory.js +3 -1
- package/node_modules/@openrig/daemon/dist/domain/node-inventory.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/node-launcher.d.ts +3 -0
- package/node_modules/@openrig/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/node-launcher.js +21 -8
- package/node_modules/@openrig/daemon/dist/domain/node-launcher.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/pane-binding-observation.d.ts +22 -0
- package/node_modules/@openrig/daemon/dist/domain/pane-binding-observation.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/pane-binding-observation.js +54 -0
- package/node_modules/@openrig/daemon/dist/domain/pane-binding-observation.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.js +1 -1
- package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
- 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 +16 -2
- package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/profile-resolver.d.ts +12 -0
- package/node_modules/@openrig/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/profile-resolver.js +60 -0
- package/node_modules/@openrig/daemon/dist/domain/profile-resolver.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.d.ts +35 -0
- package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.js +190 -0
- package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/provider/claude-usage-reader.d.ts +1 -1
- package/node_modules/@openrig/daemon/dist/domain/provider/claude-usage-reader.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/provider/claude-usage-reader.js +28 -18
- package/node_modules/@openrig/daemon/dist/domain/provider/claude-usage-reader.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-repository.d.ts +5 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-repository.js +6 -0
- package/node_modules/@openrig/daemon/dist/domain/queue-repository.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-retention.d.ts +3 -4
- package/node_modules/@openrig/daemon/dist/domain/queue-retention.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-retention.js +5 -8
- package/node_modules/@openrig/daemon/dist/domain/queue-retention.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.d.ts +28 -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 +124 -0
- package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/restore-attempt-receipt.d.ts +34 -0
- package/node_modules/@openrig/daemon/dist/domain/restore-attempt-receipt.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/restore-attempt-receipt.js +59 -0
- package/node_modules/@openrig/daemon/dist/domain/restore-attempt-receipt.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.d.ts +57 -24
- package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.js +152 -26
- package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/restore-topology.d.ts +14 -0
- package/node_modules/@openrig/daemon/dist/domain/restore-topology.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/restore-topology.js +27 -0
- package/node_modules/@openrig/daemon/dist/domain/restore-topology.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rig-lifecycle-service.js +9 -0
- package/node_modules/@openrig/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.d.ts +19 -0
- package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.js +65 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-preflight.d.ts +8 -0
- package/node_modules/@openrig/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-preflight.js +4 -0
- package/node_modules/@openrig/daemon/dist/domain/rigspec-preflight.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/seat-attention-reconciler.d.ts +23 -1
- package/node_modules/@openrig/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/seat-attention-reconciler.js +97 -46
- package/node_modules/@openrig/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/seat-identity-reconciler.js +15 -6
- package/node_modules/@openrig/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.d.ts +47 -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 +525 -29
- package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/session-registry.d.ts +8 -1
- package/node_modules/@openrig/daemon/dist/domain/session-registry.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/session-registry.js +19 -0
- package/node_modules/@openrig/daemon/dist/domain/session-registry.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/skill-catalog.d.ts +81 -0
- package/node_modules/@openrig/daemon/dist/domain/skill-catalog.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/skill-catalog.js +827 -0
- package/node_modules/@openrig/daemon/dist/domain/skill-catalog.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/skill-discovery.d.ts +3 -0
- package/node_modules/@openrig/daemon/dist/domain/skill-discovery.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/skill-discovery.js +1 -1
- package/node_modules/@openrig/daemon/dist/domain/skill-discovery.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.d.ts +4 -1
- package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.js +38 -2
- package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/snapshot-repository.d.ts +15 -1
- package/node_modules/@openrig/daemon/dist/domain/snapshot-repository.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/snapshot-repository.js +103 -1
- package/node_modules/@openrig/daemon/dist/domain/snapshot-repository.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.d.ts +2 -0
- package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.js +12 -0
- package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/system-world.d.ts +45 -0
- package/node_modules/@openrig/daemon/dist/domain/system-world.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/system-world.js +123 -0
- package/node_modules/@openrig/daemon/dist/domain/system-world.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/telemetry-state-paths.d.ts +7 -0
- package/node_modules/@openrig/daemon/dist/domain/telemetry-state-paths.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/telemetry-state-paths.js +20 -0
- package/node_modules/@openrig/daemon/dist/domain/telemetry-state-paths.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/types.d.ts +103 -4
- package/node_modules/@openrig/daemon/dist/domain/types.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/types.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.d.ts +8 -3
- 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 +65 -29
- package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.d.ts +7 -23
- package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.js +44 -226
- package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
- 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 +20 -6
- package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-instance-store.d.ts +33 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-instance-store.js +127 -2
- package/node_modules/@openrig/daemon/dist/domain/workflow-instance-store.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-keepalive-arming.d.ts +7 -5
- package/node_modules/@openrig/daemon/dist/domain/workflow-keepalive-arming.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-keepalive-arming.js +27 -16
- package/node_modules/@openrig/daemon/dist/domain/workflow-keepalive-arming.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-projector.d.ts +6 -2
- package/node_modules/@openrig/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-projector.js +271 -2
- package/node_modules/@openrig/daemon/dist/domain/workflow-projector.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.d.ts +62 -2
- package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.js +334 -18
- 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 +9 -1
- 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 +85 -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 +38 -1
- 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 +20 -3
- package/node_modules/@openrig/daemon/dist/domain/workflow-validator.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts +38 -9
- package/node_modules/@openrig/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workspace/default-workspace-scaffold.js +93 -347
- package/node_modules/@openrig/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/index.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/index.js +13 -0
- package/node_modules/@openrig/daemon/dist/index.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/instance-initialization-surface.d.ts +3 -0
- package/node_modules/@openrig/daemon/dist/instance-initialization-surface.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/instance-initialization-surface.js +3 -0
- package/node_modules/@openrig/daemon/dist/instance-initialization-surface.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/project-lifecycle-surface.d.ts +3 -0
- package/node_modules/@openrig/daemon/dist/project-lifecycle-surface.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/project-lifecycle-surface.js +3 -0
- package/node_modules/@openrig/daemon/dist/project-lifecycle-surface.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/routes/bundles.js +10 -9
- package/node_modules/@openrig/daemon/dist/routes/bundles.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/config.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/config.js +27 -49
- package/node_modules/@openrig/daemon/dist/routes/config.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/context-packs.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/context-packs.js +114 -16
- package/node_modules/@openrig/daemon/dist/routes/context-packs.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/crash-cart.js +3 -0
- package/node_modules/@openrig/daemon/dist/routes/crash-cart.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 +20 -0
- package/node_modules/@openrig/daemon/dist/routes/queue.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/rigs.js +12 -1
- package/node_modules/@openrig/daemon/dist/routes/rigs.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/rigspec.js +9 -2
- package/node_modules/@openrig/daemon/dist/routes/rigspec.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/seat.js +21 -1
- package/node_modules/@openrig/daemon/dist/routes/seat.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/sessions.js +16 -6
- package/node_modules/@openrig/daemon/dist/routes/sessions.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/snapshots.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/snapshots.js +41 -3
- package/node_modules/@openrig/daemon/dist/routes/snapshots.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/up.js +12 -1
- package/node_modules/@openrig/daemon/dist/routes/up.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/watchdog.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/watchdog.js +7 -6
- package/node_modules/@openrig/daemon/dist/routes/watchdog.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 +104 -39
- package/node_modules/@openrig/daemon/dist/routes/workflow.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/server.d.ts +2 -0
- package/node_modules/@openrig/daemon/dist/server.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/server.js +1 -0
- package/node_modules/@openrig/daemon/dist/server.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/skill-loadout-surface.d.ts +3 -0
- package/node_modules/@openrig/daemon/dist/skill-loadout-surface.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/skill-loadout-surface.js +2 -0
- package/node_modules/@openrig/daemon/dist/skill-loadout-surface.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/startup.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/startup.js +72 -65
- package/node_modules/@openrig/daemon/dist/startup.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/system-world-surface.d.ts +2 -0
- package/node_modules/@openrig/daemon/dist/system-world-surface.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/system-world-surface.js +2 -0
- package/node_modules/@openrig/daemon/dist/system-world-surface.js.map +1 -0
- package/node_modules/@openrig/daemon/package.json +17 -1
- package/package.json +1 -1
- package/tui/dist/commands/registry.d.ts.map +1 -1
- package/tui/dist/commands/registry.js +10 -1
- package/tui/dist/commands/registry.js.map +1 -1
- package/tui/dist/daemon-client.d.ts +11 -0
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +15 -0
- package/tui/dist/daemon-client.js.map +1 -1
- package/tui/dist/demo-data.d.ts.map +1 -1
- package/tui/dist/demo-data.js +65 -9
- package/tui/dist/demo-data.js.map +1 -1
- package/tui/dist/detail.d.ts +9 -0
- package/tui/dist/detail.d.ts.map +1 -1
- package/tui/dist/detail.js.map +1 -1
- package/tui/dist/execution/execution-model.d.ts +8 -2
- package/tui/dist/execution/execution-model.d.ts.map +1 -1
- package/tui/dist/execution/execution-model.js +482 -119
- package/tui/dist/execution/execution-model.js.map +1 -1
- package/tui/dist/hydrate.d.ts +3 -2
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +66 -8
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/input.d.ts +6 -1
- package/tui/dist/input.d.ts.map +1 -1
- package/tui/dist/input.js +20 -10
- package/tui/dist/input.js.map +1 -1
- package/tui/dist/main.js +39 -8
- package/tui/dist/main.js.map +1 -1
- package/tui/dist/navigator.d.ts.map +1 -1
- package/tui/dist/navigator.js +10 -6
- package/tui/dist/navigator.js.map +1 -1
- package/tui/dist/render.d.ts.map +1 -1
- package/tui/dist/render.js +596 -155
- package/tui/dist/render.js.map +1 -1
- package/tui/dist/scopes/scopes-model.d.ts +14 -8
- package/tui/dist/scopes/scopes-model.d.ts.map +1 -1
- package/tui/dist/scopes/scopes-model.js +218 -46
- package/tui/dist/scopes/scopes-model.js.map +1 -1
- package/tui/dist/socket-server.d.ts +13 -0
- package/tui/dist/socket-server.d.ts.map +1 -1
- package/tui/dist/socket-server.js +24 -0
- package/tui/dist/socket-server.js.map +1 -1
- package/tui/dist/state.d.ts.map +1 -1
- package/tui/dist/state.js +20 -6
- package/tui/dist/state.js.map +1 -1
- package/tui/dist/stylize.d.ts.map +1 -1
- package/tui/dist/stylize.js +22 -28
- package/tui/dist/stylize.js.map +1 -1
- package/tui/dist/theme.d.ts +1 -1
- package/tui/dist/theme.d.ts.map +1 -1
- package/tui/dist/theme.js +5 -4
- package/tui/dist/theme.js.map +1 -1
- package/tui/dist/types.d.ts +97 -1
- package/tui/dist/types.d.ts.map +1 -1
- package/tui/dist/visual-layout.d.ts +6 -0
- package/tui/dist/visual-layout.d.ts.map +1 -0
- package/tui/dist/visual-layout.js +8 -0
- package/tui/dist/visual-layout.js.map +1 -0
- package/ui/dist/assets/{index-B_wqzP0D.js → index-wyX378xb.js} +15 -15
- package/ui/dist/index.html +1 -1
|
@@ -42,6 +42,7 @@ process.stdin.on("end", () => {
|
|
|
42
42
|
},
|
|
43
43
|
session_id: raw.session_id ?? null,
|
|
44
44
|
session_name: raw.session_name ?? null,
|
|
45
|
+
occupant_generation: process.env.OPENRIG_OCCUPANT_GENERATION || process.env.RIGGED_OCCUPANT_GENERATION || null,
|
|
45
46
|
transcript_path: raw.transcript_path ?? null,
|
|
46
47
|
sampled_at: new Date().toISOString(),
|
|
47
48
|
};
|
|
@@ -4,7 +4,7 @@ Canonical OpenRig skills and hooks for cross-runtime agent topology coordination
|
|
|
4
4
|
|
|
5
5
|
## What this plugin ships
|
|
6
6
|
|
|
7
|
-
**Skills (
|
|
7
|
+
**Skills (19):** canonical OpenRig operating knowledge, including the public `refocusing` skill and
|
|
8
8
|
its path-only topology/work trace.
|
|
9
9
|
|
|
10
10
|
**Hooks:** activity tracking, compaction continuity, and the default-on refocus channel. Refocus is
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agent-operated-software
|
|
3
|
+
description: >-
|
|
4
|
+
Use when designing, building, operating, or diagnosing an ongoing application whose live backend
|
|
5
|
+
or control loop includes OpenRig agents, including applications with a Markdown, YAML, or JSON
|
|
6
|
+
agent control plane or a thin surface over specialist agent roles.
|
|
7
|
+
metadata:
|
|
8
|
+
openrig:
|
|
9
|
+
stage: provisional
|
|
10
|
+
audience: any agent building or operating an agent-backed application
|
|
11
|
+
sibling_skills:
|
|
12
|
+
- agent-operated-workflows
|
|
13
|
+
- forming-an-openrig-mental-model
|
|
14
|
+
- mission-slice-sop
|
|
15
|
+
- openrig-user
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# Agent-Operated Software
|
|
19
|
+
|
|
20
|
+
**Agent-Operated Software** is an ongoing application whose functioning runtime includes an OpenRig
|
|
21
|
+
agent or rig in its live backend or control loop. The application surface can be thin: structured
|
|
22
|
+
state and specialist roles do the work, while the UI makes that work legible and steerable.
|
|
23
|
+
|
|
24
|
+
## Start with the shared taxonomy
|
|
25
|
+
|
|
26
|
+
- **AI-enabled software:** application code owns the control loop and calls a model as one capability.
|
|
27
|
+
- **Agent-Operated Workflow:** an agent owns one bounded procedure with a start and stop condition;
|
|
28
|
+
see `agent-operated-workflows`.
|
|
29
|
+
- **Agent-Operated Software:** agents participate in an ongoing application's functioning runtime.
|
|
30
|
+
|
|
31
|
+
An application may compose many Agent-Operated Workflows. A bounded workflow does not by itself make
|
|
32
|
+
its surrounding product Agent-Operated Software, and a model call is neither category unless an agent
|
|
33
|
+
owns part of the control loop.
|
|
34
|
+
|
|
35
|
+
## Agents are part of the backend
|
|
36
|
+
|
|
37
|
+
In this architecture, behavior is not located only in functions. It is distributed across agents,
|
|
38
|
+
skills, instructions, bootstrap files, schemas, Markdown, YAML, JSON, folders, and deterministic
|
|
39
|
+
tools. A surprising result may therefore be a code defect or a coherence gap in this control plane.
|
|
40
|
+
Trace the path that actually produced the behavior before choosing which layer to repair.
|
|
41
|
+
|
|
42
|
+
This is not permission to tolerate defects in OpenRig core or another rock-solid substrate. There,
|
|
43
|
+
reproduce the bug, fix the code, and hold the full gate. The faster coherence-first posture belongs
|
|
44
|
+
to recoverable agent-operated application layers whose state and behavior can be inspected and
|
|
45
|
+
repaired cheaply.
|
|
46
|
+
|
|
47
|
+
## Markdown is the control plane
|
|
48
|
+
|
|
49
|
+
Markdown is maximally useful to an agent while remaining legible enough for a human to steer. Put
|
|
50
|
+
intent, work state, evidence, and decisions into stable addressed artifacts rather than private chat
|
|
51
|
+
or an opaque custom database. Keep schemas and conventions aligned with the running behavior: the
|
|
52
|
+
agent population acts on those files as executable context.
|
|
53
|
+
|
|
54
|
+
Use **progressive disclosure**. A skill's name and description are the hot trigger; its body is cold
|
|
55
|
+
procedure. Descriptions say when to load, not how to work. The body should route the reader to exact
|
|
56
|
+
sources instead of copying them into another doctrine fork.
|
|
57
|
+
|
|
58
|
+
Scripts can act as prompts. A good script returns the context or exact effect an agent needs; when it
|
|
59
|
+
cannot, its failure teaches what it observed, why it stopped, and safe next actions. Keep deterministic
|
|
60
|
+
mechanics in tools and judgment in agents.
|
|
61
|
+
|
|
62
|
+
## Make artifacts self-certifying
|
|
63
|
+
|
|
64
|
+
When a tool produces an artifact, do not make every consumer invent a completeness test:
|
|
65
|
+
|
|
66
|
+
1. Write to a partial path, never the final path.
|
|
67
|
+
2. Verify the property that can actually be wrong, such as duration, streams, resolution, or schema.
|
|
68
|
+
3. Flush and atomically rename the partial artifact to its final path.
|
|
69
|
+
4. Write the manifest, then a `.done` sentinel last.
|
|
70
|
+
|
|
71
|
+
Consumers fail closed on the shared proof. A filename or exit code is not content verification.
|
|
72
|
+
|
|
73
|
+
## Build with an agent SDLC
|
|
74
|
+
|
|
75
|
+
Map work onto **intent -> plan -> spec -> build -> verify -> review -> QA -> done**. The human supplies
|
|
76
|
+
steering, judgment, taste, and the call on irreversible ambiguity; agents perform and coordinate the
|
|
77
|
+
technical work. Locks freeze the agreed spec and accepted delivery so multiple seats can work without
|
|
78
|
+
guessing whether the target moved.
|
|
79
|
+
|
|
80
|
+
For studio applications, the running product is usually the best iteration surface. A separate mockup
|
|
81
|
+
earns its cost only when it resolves a real design uncertainty that the running app cannot expose as
|
|
82
|
+
cheaply. This removes a redundant artifact, not the visual review or proof contract.
|
|
83
|
+
|
|
84
|
+
## Repair the narrowest authoritative layer
|
|
85
|
+
|
|
86
|
+
Find the generator or source that every affected agent actually consumes. Fix a code defect in code;
|
|
87
|
+
fix a missing trigger in the skill; fix a malformed contract in its schema. Then verify through the
|
|
88
|
+
consumer. Editing a rendered or installed copy creates a temporary fork, not a repair.
|
|
89
|
+
|
|
90
|
+
The payoff compounds: a correction to the shared application control plane changes the next agent's
|
|
91
|
+
starting point. That is how an ongoing agent-operated system improves without making one human its
|
|
92
|
+
permanent router.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agent-operated-workflows
|
|
3
|
+
description: >-
|
|
4
|
+
Use when a bounded real-world procedure has a deterministic happy path but brownfield, variable,
|
|
5
|
+
or partially knowable state; when an operation must resume from verified evidence; or when deciding
|
|
6
|
+
whether agent judgment or ordinary code should own a procedure's control loop.
|
|
7
|
+
metadata:
|
|
8
|
+
openrig:
|
|
9
|
+
stage: provisional
|
|
10
|
+
audience: any agent operating or designing a bounded procedure
|
|
11
|
+
sibling_skills:
|
|
12
|
+
- agent-operated-software
|
|
13
|
+
- openrig-user
|
|
14
|
+
- systematic-debugging
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# Agent-Operated Workflows
|
|
18
|
+
|
|
19
|
+
An **Agent-Operated Workflow** is a bounded procedure whose control loop belongs to an agent. The
|
|
20
|
+
agent observes, interprets, sequences bounded actions, verifies their effects, adapts, and escalates
|
|
21
|
+
genuine ambiguity. Deterministic code remains the exact substrate; it does not pretend to understand
|
|
22
|
+
every state of a brownfield world.
|
|
23
|
+
|
|
24
|
+
## Name the architecture before using it
|
|
25
|
+
|
|
26
|
+
- **AI-enabled software:** application code owns the control loop and calls a model as one capability.
|
|
27
|
+
- **Agent-Operated Workflow:** an agent owns one bounded procedure with a start and stop condition.
|
|
28
|
+
- **Agent-Operated Software:** an OpenRig agent or rig participates in an ongoing application's live
|
|
29
|
+
backend or control loop. It may run many workflows; see `agent-operated-software`.
|
|
30
|
+
|
|
31
|
+
Calling a model is not enough. A deterministic program that consults a model still owns its loop.
|
|
32
|
+
|
|
33
|
+
## Decide whether the agent earns the loop
|
|
34
|
+
|
|
35
|
+
Use an agent when the happy path is deterministic but the environment is brownfield, variable,
|
|
36
|
+
partially knowable, or disproportionately expensive to model exhaustively. The judgment is in
|
|
37
|
+
discovering what is true and choosing the next safe act.
|
|
38
|
+
|
|
39
|
+
Prefer ordinary code when the state space is closed and code is simpler and more reliable than
|
|
40
|
+
judgment. A parser, fixed data transformation, or fully enumerated state machine does not become
|
|
41
|
+
better because an agent drives it.
|
|
42
|
+
|
|
43
|
+
## Keep ownership explicit
|
|
44
|
+
|
|
45
|
+
| Owner | Responsibility |
|
|
46
|
+
|---|---|
|
|
47
|
+
| Runbook | owns policy, the mental model, checkpoints, stop conditions, and escalation rules |
|
|
48
|
+
| Deterministic tools | own context gathering and bounded exact actions |
|
|
49
|
+
| Agent | owns interpretation, sequencing, adaptation, and effect verification |
|
|
50
|
+
| Human | owns destructive ambiguity and product policy |
|
|
51
|
+
|
|
52
|
+
The runbook guides judgment; tools enforce the invariants that must not be arguable.
|
|
53
|
+
|
|
54
|
+
## Operate
|
|
55
|
+
|
|
56
|
+
1. Establish identity, durable state, the runbook, and the promised outcome.
|
|
57
|
+
2. Inspect with side-effect-free reads or an explicit plan mode.
|
|
58
|
+
3. Choose one bounded action from observed state; do not mechanically replay the happy path.
|
|
59
|
+
4. Verify the effect at the consumer or state surface that could prove it wrong.
|
|
60
|
+
5. Record an observable checkpoint before moving on, so another agent can resume.
|
|
61
|
+
6. Continue, stop at the declared condition, or escalate with evidence and the decision needed.
|
|
62
|
+
|
|
63
|
+
An interrupted or timed-out mutation is **indeterminate**, never failed by assumption and never safe
|
|
64
|
+
to retry blind. Where a compatibility period is safer, separate reversible preparation from the
|
|
65
|
+
destructive finalizer. Idempotence is a claim to prove per action, not a label for the whole run.
|
|
66
|
+
|
|
67
|
+
## Build
|
|
68
|
+
|
|
69
|
+
Expose composable verbs, not an optimistic end-to-end controller. Help is inert. Read and plan modes
|
|
70
|
+
are explicit. Mutations are narrow and independently readable. A failure should say what was
|
|
71
|
+
observed, why the tool stopped, what remains unchanged, the safe next choices, and where its evidence
|
|
72
|
+
lives. Keep checkpoints durable, effects observable, and recovery possible without private developer
|
|
73
|
+
knowledge.
|
|
74
|
+
|
|
75
|
+
A capability composition is a reusable recipe; this is the execution architecture that operates
|
|
76
|
+
capabilities toward an outcome. Promote a proven workflow to the composition shelf only after use.
|
|
77
|
+
|
|
78
|
+
**Reference implementation:** Release 0.5.9 Slice 05 is the first **Agent-Operated Migration**. Its
|
|
79
|
+
runbook and helpers remain there; this skill carries the reusable contract, not a duplicate procedure.
|
|
@@ -13,7 +13,7 @@ You're running inside OpenRig. OpenRig ships a set of **skills** — small docum
|
|
|
13
13
|
|
|
14
14
|
## How OpenRig context works (30 seconds)
|
|
15
15
|
|
|
16
|
-
Skills are **progressive disclosure**: a skill's *name + description* sit in your context ambiently (the "hot tier"); its *body* loads only when you open it. So you don't pre-read everything — you pattern-match a skill's "when" to your moment, then open just that one. This file is the index over the whole shipped set. (For
|
|
16
|
+
Skills are **progressive disclosure**: a skill's *name + description* sit in your context ambiently (the "hot tier"); its *body* loads only when you open it. So you don't pre-read everything — you pattern-match a skill's "when" to your moment, then open just that one. This file is the index over the whole shipped set. (For bounded procedures, open `agent-operated-workflows`; for ongoing agent-backed applications, open `agent-operated-software`.)
|
|
17
17
|
|
|
18
18
|
Every row below names **how to reach the skill** — already-hot, or an exact load path. No row is a dead end.
|
|
19
19
|
|
|
@@ -63,7 +63,9 @@ These are auto-delivered to every rig; their name+description are already in you
|
|
|
63
63
|
- **retiring-and-inheriting-a-seat** — you're planning a seat transition and need to retire the current occupant into a fresh successor without losing continuity.
|
|
64
64
|
- **mission-slice-sop** — you're working a mission/slice (the SDLC: intent → mini-requirements + proof contract → build → QA → proof). The operating manual.
|
|
65
65
|
- **messaging-the-human** — composing a message to the human. Plain language, no insider jargon.
|
|
66
|
-
- **
|
|
66
|
+
- **agent-operated-workflows** — a bounded real-world procedure needs an agent to interpret state and operate exact tools, or you are deciding whether ordinary code should own the loop.
|
|
67
|
+
- **agent-operated-software** — you are designing or operating an ongoing application whose live backend includes OpenRig agents.
|
|
68
|
+
- **software-for-agents** — compatibility redirect for the former `agent-operated-software` name; remove in 0.6.0.
|
|
67
69
|
- **openrig-skills** — this index (you're reading it). Always loaded; the entry point to everything below.
|
|
68
70
|
|
|
69
71
|
### Load when your role or task calls for it (repo-shipped, profile-selected)
|
|
@@ -175,7 +175,7 @@ section.
|
|
|
175
175
|
|
|
176
176
|
### Instantiate the canonical workspace scaffold
|
|
177
177
|
|
|
178
|
-
Agent-actionable.
|
|
178
|
+
Agent-actionable. The operation is additive and preserves existing files.
|
|
179
179
|
|
|
180
180
|
```bash
|
|
181
181
|
rig config init-workspace
|
|
@@ -187,19 +187,15 @@ rig config init-workspace --dry-run --json
|
|
|
187
187
|
configured `workspace.root` (default `~/.openrig/workspace`):
|
|
188
188
|
|
|
189
189
|
- `missions/` — release missions + slices
|
|
190
|
-
- `
|
|
191
|
-
- `
|
|
192
|
-
- `
|
|
193
|
-
- `
|
|
194
|
-
- `
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
browsable Project content. `--root <path>` targets a non-default root for
|
|
200
|
-
this call; `--dry-run` reports what would be created without writing.
|
|
201
|
-
`--force` overwrites existing FILES but never deletes
|
|
202
|
-
directories — operator content is safe.
|
|
190
|
+
- `exhaust/` — project-local coordination exhaust
|
|
191
|
+
- `SPEC.md` — project intent
|
|
192
|
+
- `project.yaml` — project catalog selections and mission root
|
|
193
|
+
- `workspace.yaml` — project registration
|
|
194
|
+
- `.gitignore` — local OpenRig state and exhaust exclusions
|
|
195
|
+
|
|
196
|
+
`--root <path>` targets a non-default root for this call; `--dry-run` reports
|
|
197
|
+
what would be created without writing. `--force` is deprecated compatibility
|
|
198
|
+
and still preserves existing files.
|
|
203
199
|
|
|
204
200
|
### Redirect the workspace root
|
|
205
201
|
|
|
@@ -235,8 +231,8 @@ Agent-actionable. Same surface as the canonical scaffold above; the
|
|
|
235
231
|
rig config init-workspace --root /path/to/new/workspace
|
|
236
232
|
```
|
|
237
233
|
|
|
238
|
-
The command creates
|
|
239
|
-
|
|
234
|
+
The command additively creates any missing canonical entries and preserves
|
|
235
|
+
every existing one; only a complete six-entry scaffold is a no-op. Run
|
|
240
236
|
`rig workspace validate /path/to/new/workspace --json` after to confirm the
|
|
241
237
|
contract holds.
|
|
242
238
|
|
|
@@ -1,187 +1,19 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: software-for-agents
|
|
3
|
-
description:
|
|
4
|
-
Use when
|
|
5
|
-
|
|
6
|
-
conventions; or when deciding whether an agent-built studio app needs a separate mockup phase. NOT for
|
|
7
|
-
treating defects in OpenRig core or rigs.to as tolerable control-plane drift.
|
|
3
|
+
description: >-
|
|
4
|
+
Use when older OpenRig instructions name software-for-agents or describe agent-in-the-middle or
|
|
5
|
+
studio software under the former skill name.
|
|
8
6
|
metadata:
|
|
9
7
|
openrig:
|
|
10
|
-
stage:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
- forming-an-openrig-mental-model
|
|
14
|
-
- openrig-program-manager
|
|
15
|
-
- mission-slice-sop
|
|
16
|
-
- openrig-user
|
|
8
|
+
stage: deprecated
|
|
9
|
+
successor: agent-operated-software
|
|
10
|
+
remove_in: 0.6.0
|
|
17
11
|
---
|
|
18
12
|
|
|
19
|
-
#
|
|
13
|
+
# Renamed to agent-operated-software
|
|
20
14
|
|
|
21
|
-
|
|
15
|
+
This is a one-release compatibility redirect. Load `agent-operated-software` for the maintained
|
|
16
|
+
architecture and operating guidance. Do not extend or copy doctrine into this file.
|
|
22
17
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
evolving lightweight UI** where an agent sits in the loop and downstream cleanup is cheap. It is NOT a
|
|
26
|
-
universal license.
|
|
27
|
-
|
|
28
|
-
**It does NOT apply to TRADITIONAL software held to a rock-solid, no-bugs bar:** the **OpenRig CLI
|
|
29
|
-
surfaces**, the **OpenRig repo** (daemon / CLI / UI / adapters), and the **rigs.to website**. There, a bug
|
|
30
|
-
is a bug — reproduce it, fix it in code, hold the full-rigor gate. Do NOT treat a real defect there as a
|
|
31
|
-
markdown coherence gap, and do NOT "ship and flag." If you are building or fixing OpenRig core or rigs.to,
|
|
32
|
-
the tolerance in this skill is OFF and `product-is-the-truth-not-the-proof` governs. **Know which lane
|
|
33
|
-
you're in before you apply anything below.**
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
You inherited the accumulated footgun-map of thousands of rigs that ran before you. They found and
|
|
38
|
-
solved most of the traps. Your job is to find the *next* one and patch it at the precise optimal spot
|
|
39
|
-
in the substrate, so the rig after you starts from a higher ledge. That is the actual work. Whatever
|
|
40
|
-
you were "assigned" (a video, a feature, a fix) is the vehicle for surfacing it.
|
|
41
|
-
|
|
42
|
-
## 1. This is not traditional software — it's a control plane made of markdown
|
|
43
|
-
|
|
44
|
-
In traditional software a bug is a broken function you fix in code. Here, the system you operate in is
|
|
45
|
-
an **agent-in-the-middle** system whose substrate is **markdown + YAML + JSON + folders**: skills,
|
|
46
|
-
instructions, bootstrap files (`CLAUDE.md`/`AGENTS.md`), schemas, `culture.md`, mission/slice notes,
|
|
47
|
-
conventions. **The agents ARE the backend.** So most "bugs" are not broken code — they are **coherence
|
|
48
|
-
failures in the markdown layer**: an instruction that's unclear or missing, a schema that drifted from
|
|
49
|
-
its documented state, a convention living in one seat's head instead of a skill.
|
|
50
|
-
|
|
51
|
-
**Consequence:** when something surprises you, your first hypothesis is *"the control plane is unclear
|
|
52
|
-
or drifted here,"* not *"the code is broken."* Sometimes it IS the code (fix it — don't overfit on
|
|
53
|
-
markdown; see §5, and mind the scope block above: in OpenRig core / rigs.to the code IS the first
|
|
54
|
-
hypothesis). But the highest-leverage fixes in the agent-managed layer are usually: make the substrate
|
|
55
|
-
coherent again at the exact spot the confusion arose. Keep the markdown/schemas/conventions in sync with
|
|
56
|
-
reality and the system **self-improves** — the next rig inherits the patched substrate and never re-hits it.
|
|
57
|
-
|
|
58
|
-
## 2. Progressive disclosure — skills are a hot tier, not a manual
|
|
59
|
-
|
|
60
|
-
Skills are misnamed. They are a **progressive-disclosure primitive**. Think CPU cache / hot storage
|
|
61
|
-
tier: the **name + description of every skill is always ambiently loaded** — a hot tier of awareness
|
|
62
|
-
the agent carries without opening anything. That is enormous leverage, good or bad. So:
|
|
63
|
-
|
|
64
|
-
- **Write skill name + description as TRIGGERS** — *why/when do you reach for this?* — not as titles.
|
|
65
|
-
The hot tier's whole job is to fire when an agent doesn't yet know it needs the skill (the
|
|
66
|
-
"you don't know what you don't know" problem). This skill's own description is written that way.
|
|
67
|
-
- **Reaching for a skill unfurls a trail.** A good skill routes you — breadcrumbs, pointers, maps —
|
|
68
|
-
so it becomes *inevitable* you find the exact context on disk for what you're doing.
|
|
69
|
-
- **If the context doesn't exist, generate it.** A skill can ship **scripts** that produce context
|
|
70
|
-
optimally shaped for a decision, or that execute a fiddly API surface so you don't stumble through 12
|
|
71
|
-
tool calls discovering it. Use a **script as a prompt**: run it — if it works, the result IS your
|
|
72
|
-
context; if it fails, it should fail in a way that *teaches* you how the system works, so you can
|
|
73
|
-
read the script, understand the edge case, and do the thing manually. Scripts belong in the skill
|
|
74
|
-
folder next to the SKILL.md.
|
|
75
|
-
|
|
76
|
-
## 2b. Self-certifying artifacts — the convention 5 seats (both models) converged on
|
|
77
|
-
|
|
78
|
-
The single most expensive failure class in production is **not being able to tell a finished artifact
|
|
79
|
-
from an unfinished one.** A mid-write file read as final; a render OOM-killed mid-write left a corrupt
|
|
80
|
-
`.mp4` that passed a filename check; a truncated clip passed a duration check and froze on playback. In
|
|
81
|
-
one build, five seats — Claude *and* Codex, independently — each invented a *different* ad-hoc
|
|
82
|
-
completeness check (ffprobe moov, duration compare, filename convention, manifest assetExists, ffmpeg
|
|
83
|
-
input count). Five blind spots. So make it ONE shared primitive:
|
|
84
|
-
|
|
85
|
-
**When you author ANY tool that produces an artifact (render / composite / export / cut), it must
|
|
86
|
-
self-certify:**
|
|
87
|
-
1. Write to `<name>.partial` (never the final path directly).
|
|
88
|
-
2. **Verify the content** — the specific property that can be wrong, not a proxy: moov atom present,
|
|
89
|
-
duration matches the intended window, audio stream present, colorspace/hue correct, resolution =
|
|
90
|
-
delivery res. (Filename ≠ correct; duration ≠ complete; "clean-encoded" ≠ right.)
|
|
91
|
-
3. **`fsync`, then atomically `rename`** `<name>.partial` → `<name>` (rename is atomic; a half-written
|
|
92
|
-
file never appears at the real path).
|
|
93
|
-
4. Write the manifest, then a **`.done` sentinel LAST.**
|
|
94
|
-
|
|
95
|
-
Then *"is this finished?"* is **one `stat` of `<name>.done`** — identical for every tool, seat, watcher,
|
|
96
|
-
and a compacted agent restoring cold (who is least equipped to know what was mid-write when the lights
|
|
97
|
-
went out). **Consumers fail closed:** e.g. a swap-into-slot (`restore_occupant`) must refuse an artifact
|
|
98
|
-
lacking `.done` or failing the verify-gate. This convention collapses the whole "content over filename,
|
|
99
|
-
disk over memory" discipline into one check the substrate enforces for you. Build the sentinel; the
|
|
100
|
-
workarounds disappear. (Code-side companion: a fail-closed verify-gate wired into the swap verb — a
|
|
101
|
-
coordinated build with the tool owner, not a solo markdown edit.)
|
|
102
|
-
|
|
103
|
-
## 3. Build it like software — piggyback on what agents are trained for
|
|
104
|
-
|
|
105
|
-
Agents are fine-tuned to write code and build software; the harness itself is a terminal/coding
|
|
106
|
-
instrument. So **whatever you're asked to build — even a video — map the process to a software SDLC**
|
|
107
|
-
and you inherit all that baked-in muscle memory. This is why, e.g., the mini-NLE's beats carry
|
|
108
|
-
reference IDs like `1.1 / 2.1`: a storyboard is the **human-facing visual metaphor**, but underneath it
|
|
109
|
-
is a **specification** — sections, beats, success criteria, the thing being built.
|
|
110
|
-
|
|
111
|
-
Use an **agent SDLC**, not the antiquated human one (which was shaped around human-org weaknesses):
|
|
112
|
-
**intent → plan → spec → build → verify → review → QA → done.** The human slots in as **steering,
|
|
113
|
-
judgment, taste, review**; the agents do the technical nitty-gritty, in parallel, fast. Map any
|
|
114
|
-
"build X with agents" task onto this and the primitives (specs, locks, proof, verification) become
|
|
115
|
-
intuitive instead of alien.
|
|
116
|
-
|
|
117
|
-
## 4. Phases and the LOCK gate (spec-locking, not just "done")
|
|
118
|
-
|
|
119
|
-
Building runs in **phases**, and each phase has a **lock gate** — you don't advance until the taste/
|
|
120
|
-
steering owner has locked it. This is exactly *don't start building until the PRD is locked by product*:
|
|
121
|
-
|
|
122
|
-
- **Storyboard / intent phase** — done on the **canvas** now (the highest-bandwidth human↔agent surface:
|
|
123
|
-
the human steers, chats, annotates/circles; agents build structure fast). Iterate here; get the
|
|
124
|
-
storyboard through the canvas gate. (Canvas largely replaced the NLE's old in-timeline storyboard.)
|
|
125
|
-
- **Plan phase (brief, in the NLE)** — build the spine with placeholders so the human can click through
|
|
126
|
-
the main-stage player and *feel the flow* (sequencing problems surface when placeholders are strung
|
|
127
|
-
together with audio). **Lock every beat** = the spec is approved; this is what unlocks parallel build.
|
|
128
|
-
- **Fill phase** — many agents build each beat in parallel, in clear lanes. **Lock a beat when it's
|
|
129
|
-
final** (`/api/approve`): lock means *don't touch, we're good, signal to everyone incl. the human.*
|
|
130
|
-
Unlock to revise. **All beats locked = done.**
|
|
131
|
-
|
|
132
|
-
The lock is the "finished" primitive at the editorial layer. Locking a whole phase's beats before the
|
|
133
|
-
next phase is the discipline that lets 10 agents work in parallel without catastrophic collisions —
|
|
134
|
-
everyone knows the target, their lane, and who judges done (the **producer owns the final product**).
|
|
135
|
-
|
|
136
|
-
## 4b. Studio apps skip the mockup phase — the build IS the mockup
|
|
137
|
-
|
|
138
|
-
For a **studio app**, do not run a separate mockup phase. The whole point of the Studio is that a mockup
|
|
139
|
-
buys you almost nothing here: **as fast as it takes to build a mockup, you can build the running app** —
|
|
140
|
-
an unlock made possible by agentic engineering. A mockup is only ever a device to flesh out the PRD; once
|
|
141
|
-
the PRD and its settled answers exist, that phase is **done**. The Studio is a lightweight, rapid-velocity,
|
|
142
|
-
agent-in-the-middle leveraged system: build apps fast, iterate on them fast.
|
|
143
|
-
|
|
144
|
-
The phase model above collapses accordingly:
|
|
145
|
-
|
|
146
|
-
1. **The PRD + settled answers ARE the fleshed intent** — no separate mockup gate, no plan-lock-on-mockups step.
|
|
147
|
-
2. **Spec-lock the WHAT** — `rig scope slice approve --scope spec` locks the intent the PRD already fleshed.
|
|
148
|
-
3. **BUILD the app**, then **iterate on the RUNNING app at mockup speed** — the running thing is the
|
|
149
|
-
iteration surface, not an image.
|
|
150
|
-
4. **LOOK is on the running screens** (any "mockup" proof tag now points at the running app's screens),
|
|
151
|
-
then **proof-lock** — `rig scope slice approve --scope delivery`. A slice is not done until every
|
|
152
|
-
proof-contract item has evidence from the **running app**.
|
|
153
|
-
|
|
154
|
-
**Velocity is the METHOD, not a quality waiver.** The LOOK is still a real LOOK; the proof contract still
|
|
155
|
-
binds at delivery. You are removing a redundant artifact, not lowering the bar.
|
|
156
|
-
|
|
157
|
-
**Scope — this does NOT generalize** (consistent with the scope block at the top): it applies to the
|
|
158
|
-
studio-app / agent-in-the-middle loop only. Outside that loop, a **locked design mockup that a slice must
|
|
159
|
-
match is still legitimate** — do not strip mockups from traditional or design-locked work. Know which lane
|
|
160
|
-
you're in. For the build mechanics, see the studio's build skill (`building-studio-apps`); this section is
|
|
161
|
-
the *why* and *when*.
|
|
162
|
-
|
|
163
|
-
## 5. Where to fix — and don't overfit on markdown
|
|
164
|
-
|
|
165
|
-
- **Precise-spot discipline:** find the *one* place a coherence fix belongs (the skill, the schema, the
|
|
166
|
-
bootstrap, `culture.md`) so it can't recur — not a symptom patch. Ask: *what would have prevented
|
|
167
|
-
this for every future rig?*
|
|
168
|
-
- **Don't overfit on the markdown layer** — deterministic code bugs exist and you should fix them. The
|
|
169
|
-
studio-box apps (NLE, canvas, media manager, shell) live in the **studio-box repo**, portable across
|
|
170
|
-
hosts (VPS/Mac/VM). **A code fix there fixes ALL studio boxes, not just this host** — so: clear bug or
|
|
171
|
-
broadly-useful feature → ship it; host-specific behavior → make it optional/guarded. When unsure, ship
|
|
172
|
-
and flag it; downstream cleanup beats you becoming the bottleneck. *(This ship-and-flag latitude is the
|
|
173
|
-
studio-box / agent-managed lane only — re-read the scope block: OpenRig core + rigs.to hold the
|
|
174
|
-
rock-solid bar, no ship-and-flag.)*
|
|
175
|
-
- **Culture lives in `culture.md`** — the rig's social contract / constitution: how the team
|
|
176
|
-
coordinates, the parallel-agent lanes, the phase-locking discipline, who owns the final call.
|
|
177
|
-
Coordination is largely **emergent** (bottom-up, evolutionary pressure across thousands of rigs) — but
|
|
178
|
-
once a pattern proves out, *write it down there* so it's inherited, not re-discovered.
|
|
179
|
-
|
|
180
|
-
## The one-line seed
|
|
181
|
-
You're not maintaining code; you're **gardening a self-improving control plane made of markdown and
|
|
182
|
-
schemas, using software-engineering muscle memory, with the lock as your spec-gate** — and every
|
|
183
|
-
footgun you patch at the right spot (in the agent-managed lane) makes every future rig better. See also:
|
|
184
|
-
`forming-an-openrig-mental-model` (the OpenRig runtime), `mission-slice-sop` (the SDLC operating
|
|
185
|
-
procedure), `openrig-user` (the CLI surface), `product-is-the-truth-not-the-proof` (the doctrine that
|
|
186
|
-
governs the rock-solid lane). *(The "agents ARE the backend" idea — agent-in-the-middle — is inlined in
|
|
187
|
-
§1; a standalone `agent-in-the-middle` skill is a future candidate, not yet authored.)*
|
|
18
|
+
Retirement: remove this redirect in 0.6.0 after the 0.5.9 compatibility window. Until then, the old
|
|
19
|
+
identifier fails forward to the one editable body instead of silently disappearing.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Public capability and source-map width for the default onboarding walk.
|
|
2
2
|
name: onboarding-width
|
|
3
|
-
version: "0.5.
|
|
3
|
+
version: "0.5.9"
|
|
4
4
|
# OPR.0.5.6.10 — affordances knowledge (what this system can do) is world
|
|
5
5
|
# content under the coining-session definitions.
|
|
6
6
|
taxonomy: world
|