@openrig/cli 0.5.14 → 0.5.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/daemon/assets/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.md +159 -108
- package/daemon/assets/plugins/openrig-core/skills/openrig-skills/SKILL.md +1 -0
- package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +1 -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/SKILL.md +159 -108
- package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +3 -3
- 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 +1 -0
- package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-software-factory/SKILL.md +138 -0
- package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +12 -0
- package/daemon/context-packs/skills/core/openrig-software-factory/references/worked-example.md +543 -0
- package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/session-source-fork/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/claude-code-adapter.js +5 -5
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts +5 -15
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +79 -93
- package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner-protocol.js +14 -9
- package/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
- package/daemon/dist/adapters/pi-runner.d.ts +6 -15
- package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner.js +151 -71
- package/daemon/dist/adapters/pi-runner.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 +4 -2
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/085_rig_claude_managed_block_file.d.ts +13 -0
- package/daemon/dist/db/migrations/085_rig_claude_managed_block_file.d.ts.map +1 -0
- package/daemon/dist/db/migrations/085_rig_claude_managed_block_file.js +17 -0
- package/daemon/dist/db/migrations/085_rig_claude_managed_block_file.js.map +1 -0
- package/daemon/dist/domain/bootstrap-orchestrator.js +2 -2
- package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
- package/daemon/dist/domain/managed-blocks.d.ts +3 -0
- package/daemon/dist/domain/managed-blocks.d.ts.map +1 -1
- package/daemon/dist/domain/managed-blocks.js +5 -0
- package/daemon/dist/domain/managed-blocks.js.map +1 -1
- package/daemon/dist/domain/native-process-lineage.d.ts +23 -0
- package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
- package/daemon/dist/domain/native-process-lineage.js +84 -4
- package/daemon/dist/domain/native-process-lineage.js.map +1 -1
- package/daemon/dist/domain/projection-planner.d.ts +2 -1
- package/daemon/dist/domain/projection-planner.d.ts.map +1 -1
- package/daemon/dist/domain/projection-planner.js +3 -2
- package/daemon/dist/domain/projection-planner.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +20 -3
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/rig-repository.d.ts +6 -0
- package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/daemon/dist/domain/rig-repository.js +16 -0
- package/daemon/dist/domain/rig-repository.js.map +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/daemon/dist/domain/rig-teardown.js +6 -5
- package/daemon/dist/domain/rig-teardown.js.map +1 -1
- package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-codec.js +2 -0
- package/daemon/dist/domain/rigspec-codec.js.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.js +3 -0
- package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +18 -0
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +120 -7
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-schema.js +23 -1
- package/daemon/dist/domain/rigspec-schema.js.map +1 -1
- package/daemon/dist/domain/runtime-adapter.d.ts +2 -0
- package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-adapter.js.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.d.ts +2 -6
- package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.js +15 -6
- package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.d.ts +5 -1
- package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.js +36 -10
- package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts +3 -0
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +3 -0
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +8 -0
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +4 -0
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/routes/sessions.js +12 -1
- package/daemon/dist/routes/sessions.js.map +1 -1
- package/daemon/dist/routes/up.js +4 -4
- package/daemon/dist/routes/up.js.map +1 -1
- package/daemon/docs/reference/agent-startup-guide.md +11 -3
- package/daemon/docs/reference/getting-started.md +211 -14
- package/daemon/docs/reference/rig-spec.md +38 -0
- package/daemon/policies/builtin/yolo.policy.md +14 -4
- package/daemon/specs/agents/shared/skills/core/openrig-skills/SKILL.md +1 -0
- package/daemon/specs/agents/shared/skills/core/openrig-software-factory/SKILL.md +138 -0
- package/daemon/specs/agents/shared/skills/core/openrig-software-factory/references/worked-example.md +543 -0
- package/dist/build-info.js +3 -3
- package/dist/commands/launch.d.ts.map +1 -1
- package/dist/commands/launch.js +27 -2
- package/dist/commands/launch.js.map +1 -1
- package/dist/commands/up.d.ts.map +1 -1
- package/dist/commands/up.js +13 -2
- package/dist/commands/up.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/adapters/claude-code-adapter.js +5 -5
- package/node_modules/@openrig/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/adapters/codex-runtime-adapter.d.ts +5 -15
- package/node_modules/@openrig/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/adapters/codex-runtime-adapter.js +79 -93
- package/node_modules/@openrig/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/adapters/pi-runner-protocol.js +14 -9
- package/node_modules/@openrig/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/adapters/pi-runner.d.ts +6 -15
- package/node_modules/@openrig/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/adapters/pi-runner.js +151 -71
- package/node_modules/@openrig/daemon/dist/adapters/pi-runner.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 +4 -2
- package/node_modules/@openrig/daemon/dist/db/all-migrations.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/db/migrations/085_rig_claude_managed_block_file.d.ts +13 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/085_rig_claude_managed_block_file.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/085_rig_claude_managed_block_file.js +17 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/085_rig_claude_managed_block_file.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/bootstrap-orchestrator.js +2 -2
- package/node_modules/@openrig/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/managed-blocks.d.ts +3 -0
- package/node_modules/@openrig/daemon/dist/domain/managed-blocks.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/managed-blocks.js +5 -0
- package/node_modules/@openrig/daemon/dist/domain/managed-blocks.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.d.ts +23 -0
- package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.js +84 -4
- package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/projection-planner.d.ts +2 -1
- package/node_modules/@openrig/daemon/dist/domain/projection-planner.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/projection-planner.js +3 -2
- package/node_modules/@openrig/daemon/dist/domain/projection-planner.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.js +20 -3
- package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rig-repository.d.ts +6 -0
- package/node_modules/@openrig/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rig-repository.js +16 -0
- package/node_modules/@openrig/daemon/dist/domain/rig-repository.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rig-teardown.js +6 -5
- package/node_modules/@openrig/daemon/dist/domain/rig-teardown.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-codec.js +2 -0
- package/node_modules/@openrig/daemon/dist/domain/rigspec-codec.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-exporter.js +3 -0
- package/node_modules/@openrig/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.d.ts +18 -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 +120 -7
- package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-schema.js +23 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-schema.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/runtime-adapter.d.ts +2 -0
- package/node_modules/@openrig/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/runtime-adapter.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/seat-attention-reconciler.d.ts +2 -6
- 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 +15 -6
- 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 +5 -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 +36 -10
- 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 +3 -0
- 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 +3 -0
- package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.js +8 -0
- package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/types.d.ts +4 -0
- package/node_modules/@openrig/daemon/dist/domain/types.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/sessions.js +12 -1
- package/node_modules/@openrig/daemon/dist/routes/sessions.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/up.js +4 -4
- package/node_modules/@openrig/daemon/dist/routes/up.js.map +1 -1
- package/node_modules/@openrig/daemon/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,117 +1,168 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: applying-a-permission-policy
|
|
3
|
-
description:
|
|
3
|
+
description: >-
|
|
4
|
+
Use when a user asks an agent to configure OpenRig command permissions, reduce
|
|
5
|
+
repeated native approval prompts, or apply a selected rig/seat permission policy.
|
|
4
6
|
metadata:
|
|
5
7
|
openrig:
|
|
6
8
|
stage: established
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
codex: "0.120.0 — VM-CONFIRMED 2026-08-03 (sandbox_mode/approval_policy; on-failure deprecated-but-accepted)"
|
|
10
|
-
pi: "0.83.0 — VM-CONFIRMED 2026-08-03: --approve/--no-approve govern PROJECT-RESOURCE TRUST, NOT tool permissions; Pi has NO permission surface (see Pi leg)"
|
|
11
|
-
verification_status: "Historical compatibility checks on the versions and dates in tested_against. These observations do not establish behavior on a later harness; verify its current format before applying the mapping."
|
|
9
|
+
docs_checked: "2026-09-25"
|
|
10
|
+
verification_status: "Verify the installed harness version and effective settings; a rule-parser result is not a native permission test."
|
|
12
11
|
---
|
|
13
12
|
|
|
14
13
|
# Applying a permission policy
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
15
|
+
Configure the user's chosen permissions in the harness that runs the agent.
|
|
16
|
+
OpenRig operating posture, native command rules, sandbox access and launch flags
|
|
17
|
+
are separate controls. A command rule grants execution capability, not authority
|
|
18
|
+
to invent tasks, publish work or change another host.
|
|
19
|
+
|
|
20
|
+
## Choose the intended scope
|
|
21
|
+
|
|
22
|
+
Use an existing explicit choice; otherwise explain these options and ask which
|
|
23
|
+
the user wants. Do not ask again for routine steps already authorized.
|
|
24
|
+
|
|
25
|
+
| Choice | What the agent configures |
|
|
26
|
+
| --- | --- |
|
|
27
|
+
| Keep prompts | Preserve current native settings and handle requests when they arise. |
|
|
28
|
+
| Remember selected commands | Add native allow rules for the chosen family or narrower verbs, leaving other rules and sandbox settings intact. |
|
|
29
|
+
| Broader permissive operation | Explain filesystem/network exposure and configure only the explicitly selected native mode and compatible launch settings. |
|
|
30
|
+
|
|
31
|
+
**Allowing the whole `rig` family covers all its verbs**, including lifecycle,
|
|
32
|
+
topology/config changes and commands that can launch other processes. It is not
|
|
33
|
+
a read-only grant. Offer narrower prefixes such as `rig ps` or `rig queue list`
|
|
34
|
+
when that better fits the request. Do not widen a choice to arbitrary shell
|
|
35
|
+
execution, an entire interpreter or a generic shell wrapper.
|
|
36
|
+
|
|
37
|
+
## Apply the choice for the user
|
|
38
|
+
|
|
39
|
+
1. Identify the target seat, executable/version, launch settings and config roots:
|
|
40
|
+
`HOME`, `CODEX_HOME` or `CLAUDE_CONFIG_DIR` as applicable. They may differ between
|
|
41
|
+
operator, daemon and seat. Resolve the intended user's/project's files before
|
|
42
|
+
writing; do not repair another home to make the paths agree.
|
|
43
|
+
2. Read relevant existing permission rules and managed restrictions. Select the
|
|
44
|
+
intended scope: one project or the user's sessions. Consult installed native
|
|
45
|
+
help and official references below when formats differ.
|
|
46
|
+
3. Prepare a concrete diff. Preserve deny/ask rules, approval/sandbox posture,
|
|
47
|
+
hooks, auth, MCP, model settings and unrelated values. An allow must not erase
|
|
48
|
+
a stricter rule or managed requirement. Report a real conflict instead of
|
|
49
|
+
silently bypassing it.
|
|
50
|
+
4. Back up touched files and merge only authorized additions, avoiding duplicates.
|
|
51
|
+
The agent performs these edits; hand-editing is an option, not a required user
|
|
52
|
+
chore. Apply the selected scope without another conversational permission round.
|
|
53
|
+
Native enforcement still applies.
|
|
54
|
+
5. Read back the diff and validate the format. Confirm how that version loads
|
|
55
|
+
changes. If it requires a new session, preserve work and use its supported
|
|
56
|
+
resume path within the user's authority; a file write does not prove that an
|
|
57
|
+
existing conversation loaded it.
|
|
58
|
+
6. Verify an ordinary matching operation twice in the target conversation and
|
|
59
|
+
check that an unrelated command gained no matching rule. Use harmless reads,
|
|
60
|
+
not destructive probes. Report effective settings and remaining prompts.
|
|
61
|
+
A parser match alone does not establish native behavior.
|
|
62
|
+
|
|
63
|
+
For rollback, remove only this setup's additions, preserving later unrelated
|
|
64
|
+
edits. Builtin policy specs remain read-only; customize in user space.
|
|
65
|
+
|
|
66
|
+
## Codex command rules
|
|
67
|
+
|
|
68
|
+
Codex command rules can allow matching commands outside the sandbox without
|
|
69
|
+
another prompt. They leave other sandbox/network settings unchanged.
|
|
70
|
+
Check `codex --version` and `codex execpolicy check --help`.
|
|
71
|
+
See the [official rules reference](https://learn.chatgpt.com/docs/agent-configuration/rules).
|
|
72
|
+
|
|
73
|
+
Choose the destination **before writing**, according to the user's scope:
|
|
74
|
+
|
|
75
|
+
- **This project only:** verify the installed version supports project rules and
|
|
76
|
+
derive this session's actual project/worktree config root and trust state.
|
|
77
|
+
Current docs describe `<repo>/.codex/rules/` in a trusted project config layer.
|
|
78
|
+
Use that layer only after confirming it is supported, active and trusted for
|
|
79
|
+
the intended project. If any of those facts is unsupported or unverified,
|
|
80
|
+
report the limitation and leave user-layer rules unchanged; do not silently
|
|
81
|
+
mark a project trusted or substitute a user-wide allowance.
|
|
82
|
+
- **Explicitly user-wide:** use `rules/` under the target user's actual
|
|
83
|
+
`CODEX_HOME` (normally `~/.codex/rules`). This can affect other projects using
|
|
84
|
+
that home. The TUI's remember-allow action also writes a user-layer rule;
|
|
85
|
+
do not use it to implement a project-only request.
|
|
86
|
+
|
|
87
|
+
Merge the chosen rule into a `.rules` file in the selected layer. The prefix
|
|
88
|
+
itself has no project restriction; even a project-layer rule does not constrain
|
|
89
|
+
which targets an allowed `rig` command can affect:
|
|
90
|
+
|
|
91
|
+
```python
|
|
92
|
+
prefix_rule(pattern = ["rig"], decision = "allow")
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
For narrower access use `["rig", "ps"]` or `["rig", "queue", "list"]`, adjusting
|
|
96
|
+
examples. For absolute-path invocations, derive the target seat's actual `rig`
|
|
97
|
+
executable and add that exact path as a separate prefix; a bare rule does not
|
|
98
|
+
match it. Never copy another machine's path.
|
|
99
|
+
|
|
100
|
+
```sh
|
|
101
|
+
codex execpolicy check --pretty --rules /absolute/path/to/openrig.rules -- rig ps --json
|
|
102
|
+
codex execpolicy check --pretty --rules /absolute/path/to/openrig.rules -- printf permission-check
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Inspect matches, not only exit status; repeat `--rules` for other effective
|
|
106
|
+
files. A matching `prompt` or `forbidden` overrides allow. Verify rule loading
|
|
107
|
+
in the target conversation after the required reload. For project-only scope,
|
|
108
|
+
confirm the layer is active there and absent from an unrelated project's active
|
|
109
|
+
layers. An evaluator given an explicit `--rules` file proves matching, not that
|
|
110
|
+
scope or automatic loading. Existing user-wide rules may already permit the
|
|
111
|
+
same command: preserve and disclose them, attribute matches, and do not claim
|
|
112
|
+
project isolation or remove those rules without a separate authorized choice.
|
|
113
|
+
|
|
114
|
+
The standalone evaluator checks supplied argv; native shell parsing can split
|
|
115
|
+
ordinary commands/chains first. A raw `zsh -lc` non-match does not prove that
|
|
116
|
+
native `rig && rig` fails. Verify both surfaces without broadening the rule to
|
|
117
|
+
`bash`, `sh`, `node` or generic wrappers.
|
|
118
|
+
|
|
119
|
+
## Claude Code command rules
|
|
120
|
+
|
|
121
|
+
Check `claude --version` and [official permission syntax](https://code.claude.com/docs/en/permissions).
|
|
122
|
+
Merge the chosen entry into existing `permissions.allow`; this fragment is not
|
|
123
|
+
a replacement settings file:
|
|
124
|
+
|
|
125
|
+
```json
|
|
126
|
+
{
|
|
127
|
+
"permissions": {
|
|
128
|
+
"allow": ["Bash(rig *)"]
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Current syntax uses ` *` for a command family; `Bash(rig:*)` is also supported.
|
|
134
|
+
Narrower examples are `Bash(rig ps *)` and `Bash(rig queue list *)`.
|
|
135
|
+
Preserve `deny`/`ask` entries and `defaultMode`; do not add `Bash(*)` or switch
|
|
136
|
+
to bypass to resolve a mismatch. Inspect native `/permissions` and verify the
|
|
137
|
+
actual command spelling.
|
|
138
|
+
|
|
139
|
+
Choose scope using the [settings reference](https://code.claude.com/docs/en/settings):
|
|
140
|
+
`.claude/settings.local.json` for personal project settings,
|
|
141
|
+
`.claude/settings.json` for deliberately shared project settings, or
|
|
142
|
+
`settings.json` under the target's `CLAUDE_CONFIG_DIR` (normally `~/.claude`).
|
|
143
|
+
Confirm the effective project root, especially for worktrees. Keep personal
|
|
144
|
+
settings out of commits. Managed restrictions and sandbox/network controls
|
|
145
|
+
still apply; a Bash allow is not a general network policy.
|
|
146
|
+
|
|
147
|
+
## Existing policies and broader modes
|
|
148
|
+
|
|
149
|
+
For a named policy, read its actual `permission_policy` spec and `source` marker.
|
|
150
|
+
Translate intended actions using supported native controls; do not collapse all
|
|
151
|
+
Codex policies to a single posture or claim shell patterns perfectly express
|
|
152
|
+
semantic actions such as force-push. Preserve stricter rules. If exact translation
|
|
153
|
+
is unavailable, explain the remaining choice instead of selecting broader access.
|
|
154
|
+
|
|
155
|
+
For explicitly chosen broader operation, inspect
|
|
156
|
+
`rig policy current --spec <user-owned-rig.yaml>` and the compatible getting-started guide's **Opt-in permissive
|
|
157
|
+
operation** section. OpenRig's Codex `builtin:yolo` supplies `-s danger-full-access`;
|
|
158
|
+
it does not itself select `approval_policy` and replaces a named
|
|
159
|
+
`codex_config_profile` argument. Claude's corresponding launch flag is
|
|
160
|
+
`--dangerously-skip-permissions`. Neither a resource `profile: default` nor OpenRig
|
|
161
|
+
operating posture is a native permission policy. Do not change shipped defaults
|
|
162
|
+
or assume editing a launch spec changes an existing seat.
|
|
163
|
+
|
|
164
|
+
A headless seat may wait at a native prompt. Arrange an answer path or choose
|
|
165
|
+
suitable command rules; unattended work is not implicit consent to bypass.
|
|
166
|
+
For Pi, the previously supported `--approve`/`--no-approve` surface concerns
|
|
167
|
+
project-resource trust, not shell permissions; verify its installed capabilities
|
|
168
|
+
instead of treating those flags as a command allowlist.
|
|
@@ -71,6 +71,7 @@ These are auto-delivered to every rig; their name+description are already in you
|
|
|
71
71
|
### Load when your role or task calls for it (repo-shipped, profile-selected)
|
|
72
72
|
These ship in the OpenRig repo and reach a seat when its profile selects them. To use one, select it in your profile's `uses.skills`, or open it directly at `packages/daemon/specs/agents/shared/skills/core/<skill>/SKILL.md`.
|
|
73
73
|
|
|
74
|
+
- **openrig-software-factory** — a user wants continuing reviewed work: manual/team, queue-only orchestration or an explicit Workflow; add one or two seats to the running starter when useful, with context, ownership, concurrency, spend and permission limits. Load `rig context get skills/core/openrig-software-factory/SKILL.md`.
|
|
74
75
|
- **openrig-architect** — authoring a rig or topology (NOT for changing OpenRig itself — that's `openrig-builder`).
|
|
75
76
|
- **openrig-cmux** — driving the `cmux` terminal provider.
|
|
76
77
|
- **openrig-herdr** — opening/managing seat terminals via the default proof-gated provider.
|
|
@@ -426,6 +426,7 @@ scheme, and nothing downstream can see it.
|
|
|
426
426
|
policy acceptance, higher outcome judgment and publication remain separate decisions.
|
|
427
427
|
- **`rig workspace doctor` / `validate`** — does the daemon agree with you about where the work
|
|
428
428
|
tree is, and which files are missing the frontmatter their kind requires.
|
|
429
|
+
- **OpenRig Software Factory** — when a first team needs continuing reviewed work or one or two more seats in its running rig; covers queue-only and optional Workflow paths, context/work ownership, wake and token costs, permissions, and optional custom-rig authoring. Discover the bundled recipe with `rig context show skills/core/openrig-software-factory --json`, then load `rig context get skills/core/openrig-software-factory/SKILL.md`; use guidance compatible with the installed build.
|
|
429
430
|
- **`rig context work-install --project … --mission … --slice … [--deliver]`** — resolves the ordered
|
|
430
431
|
System World, topology, and Project World plan. Add `--runtime` to see the composed managed skill
|
|
431
432
|
loadout, `--apply-skills` to reconcile its owned harness projection, or `--deliver` to emit the
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "agent-operated-software"
|
|
4
|
-
version: "0.5.
|
|
4
|
+
version: "0.5.16"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when designing, building, operating, or diagnosing an ongoing application whose live backend or control loop includes OpenRig agents, including applications with a Markdown, YAML, or JSON agent control plane or a thin surface over specialist agent roles."
|
|
7
7
|
files:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
2
|
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
3
|
name: "agent-operated-workflows"
|
|
4
|
-
version: "0.5.
|
|
4
|
+
version: "0.5.16"
|
|
5
5
|
taxonomy: "skills"
|
|
6
6
|
purpose: "Use when a bounded real-world procedure has a deterministic happy path but brownfield, variable, or partially knowable state; when an operation must resume from verified evidence; or when deciding whether agent judgment or ordinary code should own a procedure's control loop."
|
|
7
7
|
files:
|