@openrig/cli 0.6.0 → 0.6.1
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/guidance/openrig-start.md +7 -0
- package/daemon/assets/plugins/openrig-core/skills/openrig-skills/SKILL.md +7 -0
- package/daemon/context-packs/help/help.md +130 -0
- package/daemon/context-packs/help/manifest.yaml +9 -0
- package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +3 -0
- package/daemon/context-packs/reference/getting-started.md +454 -0
- package/daemon/context-packs/reference/instance-layout.md +106 -0
- package/daemon/context-packs/reference/manifest.yaml +16 -0
- package/daemon/context-packs/reference/rig-spec.md +580 -0
- package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
- package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
- package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
- package/daemon/context-packs/skills/claude-compaction-restore/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 +7 -0
- package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
- package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
- package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
- package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
- package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/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/manifest.yaml +1 -1
- package/daemon/context-packs/world-example/manifest.yaml +1 -1
- package/daemon/context-packs/world-public/manifest.yaml +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts +3 -0
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +9 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/domain/codex-git-add-dirs.d.ts +16 -0
- package/daemon/dist/domain/codex-git-add-dirs.d.ts.map +1 -0
- package/daemon/dist/domain/codex-git-add-dirs.js +43 -0
- package/daemon/dist/domain/codex-git-add-dirs.js.map +1 -0
- package/daemon/dist/domain/context-usage-store.d.ts +2 -2
- package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-usage-store.js +4 -3
- package/daemon/dist/domain/context-usage-store.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 -3
- package/daemon/dist/domain/model-divergence/current-generation-record.js.map +1 -1
- package/daemon/dist/domain/native-resume-probe.js +17 -5
- package/daemon/dist/domain/native-resume-probe.js.map +1 -1
- package/daemon/dist/domain/sqlite-time.d.ts +5 -0
- package/daemon/dist/domain/sqlite-time.d.ts.map +1 -0
- package/daemon/dist/domain/sqlite-time.js +7 -0
- package/daemon/dist/domain/sqlite-time.js.map +1 -0
- package/daemon/dist/routes/sessions.d.ts.map +1 -1
- package/daemon/dist/routes/sessions.js +2 -1
- package/daemon/dist/routes/sessions.js.map +1 -1
- package/daemon/docs/reference/help.md +130 -0
- package/daemon/specs/agents/apps/vault-specialist/skills/vault-user/SKILL.md +5 -0
- package/daemon/specs/agents/shared/skills/core/openrig-skills/SKILL.md +7 -0
- package/dist/build-info.js +3 -3
- package/dist/commands/view.d.ts.map +1 -1
- package/dist/commands/view.js +3 -0
- package/dist/commands/view.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# OpenRig Instance Layout
|
|
2
|
+
|
|
3
|
+
An OpenRig instance keeps its managed state under one configured
|
|
4
|
+
`$OPENRIG_HOME`. `rig daemon start` and direct daemon first start reconcile the
|
|
5
|
+
same additive layout before the database is opened or the listener binds.
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
$OPENRIG_HOME/
|
|
9
|
+
config.json # typed instance settings; created as an empty object
|
|
10
|
+
state/ # runtime-owned durable state
|
|
11
|
+
context/ # addressable context library (`context.root`)
|
|
12
|
+
system/
|
|
13
|
+
system-world.yaml # selected baseline context + skill identities
|
|
14
|
+
skills/ # managed skill catalog (`skills.root`)
|
|
15
|
+
workspace/ # project work tree (`workspace.root`)
|
|
16
|
+
SPEC.md # project intent
|
|
17
|
+
project.yaml # project context and skill selection
|
|
18
|
+
workspace.yaml # project-location catalog
|
|
19
|
+
.gitignore
|
|
20
|
+
missions/
|
|
21
|
+
exhaust/
|
|
22
|
+
specs/ # canonical instance spec library
|
|
23
|
+
topology/ # instance, rig, pod, and seat continuity tree
|
|
24
|
+
plugins/ # installed OpenRig plugins
|
|
25
|
+
run/ # process coordination files
|
|
26
|
+
logs/ # daemon and operation logs
|
|
27
|
+
transcripts/ # durable per-seat terminal transcripts
|
|
28
|
+
backups/ # operator-created recovery artifacts
|
|
29
|
+
secrets/ # local connector and host secrets
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The initializer creates only missing managed entries. It never overwrites an
|
|
33
|
+
existing file, and it checks every managed path before the first write. A path
|
|
34
|
+
with the wrong type is reported by its exact location; unrelated user-owned
|
|
35
|
+
content is preserved. A second run against an already-converged instance writes
|
|
36
|
+
nothing.
|
|
37
|
+
|
|
38
|
+
The workspace subtree is owned by the [Project Workspace
|
|
39
|
+
Contract](project-workspace.md). The instance initializer calls that owner
|
|
40
|
+
rather than carrying another copy of its file bytes. `skills/` and `topology/`
|
|
41
|
+
are created as empty roots; their respective catalog and topology workflows own
|
|
42
|
+
their contents.
|
|
43
|
+
|
|
44
|
+
## Context library setting
|
|
45
|
+
|
|
46
|
+
The addressable context library has one typed setting and one environment
|
|
47
|
+
override:
|
|
48
|
+
|
|
49
|
+
| Surface | Value |
|
|
50
|
+
| --- | --- |
|
|
51
|
+
| Config key | `context.root` |
|
|
52
|
+
| Environment | `OPENRIG_CONTEXT_ROOT` |
|
|
53
|
+
| Default | `$OPENRIG_HOME/context` |
|
|
54
|
+
| Resolved property | `contextRoot` |
|
|
55
|
+
|
|
56
|
+
The removed `context.packs_root`, `context.packsRoot`, and
|
|
57
|
+
`OPENRIG_CONTEXT_PACKS_ROOT` spellings are refused with guidance to use
|
|
58
|
+
`context.root`; they are not compatibility aliases. Bundle installation and
|
|
59
|
+
`rig context add` both resolve the same configured landing root.
|
|
60
|
+
|
|
61
|
+
## System World
|
|
62
|
+
|
|
63
|
+
The System World is the instance-wide baseline selected before topology/role
|
|
64
|
+
and Project World material. Its versioned manifest contains ordered context-pack
|
|
65
|
+
references plus managed skill identities; it never contains authoritative skill
|
|
66
|
+
bytes. The default manifest is installed additively at
|
|
67
|
+
`$OPENRIG_HOME/context/system/system-world.yaml`.
|
|
68
|
+
|
|
69
|
+
| Surface | Value |
|
|
70
|
+
| --- | --- |
|
|
71
|
+
| Config key | `context.system_world` |
|
|
72
|
+
| Environment | `OPENRIG_CONTEXT_SYSTEM_WORLD` |
|
|
73
|
+
| Default | `default` |
|
|
74
|
+
| Resolved property | `systemWorld` |
|
|
75
|
+
|
|
76
|
+
`default` selects the installed manifest, a safe relative or absolute path
|
|
77
|
+
selects an explicit replacement, and `disabled` is an explicit off state.
|
|
78
|
+
Missing or malformed selections fail; absence is never inferred as disablement.
|
|
79
|
+
`rig context work-install --json` reports the effective state, source, manifest,
|
|
80
|
+
context selectors, and skills. With `--runtime`, its managed skill loadout then
|
|
81
|
+
combines System World, topology, and Project World selectors with provenance.
|
|
82
|
+
|
|
83
|
+
For a pre-0.5.9 home, use the `openrig-upgrade` skill's
|
|
84
|
+
`migrate-telemetry-state-0.5.9.mjs` helper as an Agent-Operated Migration. Its
|
|
85
|
+
order is plan → `--apply-state` → separately activate the target runtime →
|
|
86
|
+
paired new-root samples newer than any bounded legacy tail → `--verify` → the
|
|
87
|
+
non-destructive finalizer `--apply-library`. During activation, runtime readers
|
|
88
|
+
are canonical-first with legacy-fallback and a custom context-library root
|
|
89
|
+
remains stable. Verification binds exact accepted tail bytes; finalization
|
|
90
|
+
revalidates them, copies without overwrite, and switches config last. It never
|
|
91
|
+
removes the legacy telemetry or library. `--rollback` reverses only helper-owned
|
|
92
|
+
config, System World, empty-directory, and copied-library effects. The helper
|
|
93
|
+
must stop rather than claim success if writer/reader convergence, resumed legacy
|
|
94
|
+
writes, byte drift, collision, or any migration-owned path cannot be proved.
|
|
95
|
+
`--help` prints the phase grammar without inventorying; no phase flag is the
|
|
96
|
+
intentional read-only plan, and unknown options fail nonzero before plan or
|
|
97
|
+
mutation.
|
|
98
|
+
|
|
99
|
+
## Existing spec libraries
|
|
100
|
+
|
|
101
|
+
Creating `$OPENRIG_HOME/specs` does not migrate existing launch-era specs.
|
|
102
|
+
Upgraded installations may still have a separate legacy specs library that the
|
|
103
|
+
runtime reads for compatibility. Treat the two-home state as an explicit
|
|
104
|
+
limitation: use the live spec-library commands to determine where a spec is
|
|
105
|
+
served from, and do not infer convergence merely because the canonical
|
|
106
|
+
directory exists.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Reference guides the help pack links to, loaded one file or section at a time by address
|
|
2
|
+
# (rig context get reference/<file>#<section>). Each file is a symlink to docs/reference/.
|
|
3
|
+
name: reference
|
|
4
|
+
version: "0.6.1"
|
|
5
|
+
taxonomy: world
|
|
6
|
+
purpose: "Version-matched reference guides the help guide links to. Load a single file or section by address; don't load the whole pack."
|
|
7
|
+
files:
|
|
8
|
+
- path: getting-started.md
|
|
9
|
+
role: reference
|
|
10
|
+
summary: "Getting started: setup, first team, recovery after a reboot, and permissions."
|
|
11
|
+
- path: instance-layout.md
|
|
12
|
+
role: reference
|
|
13
|
+
summary: "Where an OpenRig instance keeps its files and configuration."
|
|
14
|
+
- path: rig-spec.md
|
|
15
|
+
role: reference
|
|
16
|
+
summary: "The rig specification format."
|