@openrig/cli 0.5.14 → 0.5.15

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.
Files changed (160) hide show
  1. package/daemon/assets/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.md +159 -108
  2. package/daemon/assets/plugins/openrig-core/skills/openrig-skills/SKILL.md +1 -0
  3. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  4. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +1 -0
  5. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  6. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  7. package/daemon/context-packs/skills/applying-a-permission-policy/SKILL.md +159 -108
  8. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +3 -3
  9. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  10. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  11. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  12. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  13. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  14. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  15. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  16. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  17. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  18. package/daemon/context-packs/skills/core/openrig-skills/SKILL.md +1 -0
  19. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  20. package/daemon/context-packs/skills/core/openrig-software-factory/SKILL.md +138 -0
  21. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +12 -0
  22. package/daemon/context-packs/skills/core/openrig-software-factory/references/worked-example.md +543 -0
  23. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  24. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  25. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  26. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  27. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  40. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  61. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  62. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  63. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +5 -15
  64. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  65. package/daemon/dist/adapters/codex-runtime-adapter.js +79 -93
  66. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  67. package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
  68. package/daemon/dist/adapters/pi-runner-protocol.js +14 -9
  69. package/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
  70. package/daemon/dist/adapters/pi-runner.d.ts +6 -15
  71. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  72. package/daemon/dist/adapters/pi-runner.js +151 -71
  73. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  74. package/daemon/dist/build-info.js +3 -3
  75. package/daemon/dist/domain/bootstrap-orchestrator.js +2 -2
  76. package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
  77. package/daemon/dist/domain/native-process-lineage.d.ts +23 -0
  78. package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
  79. package/daemon/dist/domain/native-process-lineage.js +84 -4
  80. package/daemon/dist/domain/native-process-lineage.js.map +1 -1
  81. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  82. package/daemon/dist/domain/restore-orchestrator.js +20 -3
  83. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  84. package/daemon/dist/domain/rigspec-instantiator.d.ts +18 -0
  85. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  86. package/daemon/dist/domain/rigspec-instantiator.js +109 -6
  87. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  88. package/daemon/dist/domain/seat-attention-reconciler.d.ts +2 -6
  89. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  90. package/daemon/dist/domain/seat-attention-reconciler.js +15 -6
  91. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  92. package/daemon/dist/domain/seat-identity-reconciler.d.ts +5 -1
  93. package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
  94. package/daemon/dist/domain/seat-identity-reconciler.js +36 -10
  95. package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
  96. package/daemon/dist/domain/seat-lifecycle-service.d.ts +3 -0
  97. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  98. package/daemon/dist/domain/seat-lifecycle-service.js +3 -0
  99. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  100. package/daemon/dist/routes/sessions.js +12 -1
  101. package/daemon/dist/routes/sessions.js.map +1 -1
  102. package/daemon/dist/routes/up.js +4 -4
  103. package/daemon/dist/routes/up.js.map +1 -1
  104. package/daemon/docs/reference/agent-startup-guide.md +11 -3
  105. package/daemon/docs/reference/getting-started.md +211 -14
  106. package/daemon/docs/reference/rig-spec.md +7 -0
  107. package/daemon/policies/builtin/yolo.policy.md +14 -4
  108. package/daemon/specs/agents/shared/skills/core/openrig-skills/SKILL.md +1 -0
  109. package/daemon/specs/agents/shared/skills/core/openrig-software-factory/SKILL.md +138 -0
  110. package/daemon/specs/agents/shared/skills/core/openrig-software-factory/references/worked-example.md +543 -0
  111. package/dist/build-info.js +3 -3
  112. package/dist/commands/launch.d.ts.map +1 -1
  113. package/dist/commands/launch.js +27 -2
  114. package/dist/commands/launch.js.map +1 -1
  115. package/dist/commands/up.d.ts.map +1 -1
  116. package/dist/commands/up.js +13 -2
  117. package/dist/commands/up.js.map +1 -1
  118. package/node_modules/@openrig/daemon/dist/adapters/codex-runtime-adapter.d.ts +5 -15
  119. package/node_modules/@openrig/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  120. package/node_modules/@openrig/daemon/dist/adapters/codex-runtime-adapter.js +79 -93
  121. package/node_modules/@openrig/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  122. package/node_modules/@openrig/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
  123. package/node_modules/@openrig/daemon/dist/adapters/pi-runner-protocol.js +14 -9
  124. package/node_modules/@openrig/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
  125. package/node_modules/@openrig/daemon/dist/adapters/pi-runner.d.ts +6 -15
  126. package/node_modules/@openrig/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  127. package/node_modules/@openrig/daemon/dist/adapters/pi-runner.js +151 -71
  128. package/node_modules/@openrig/daemon/dist/adapters/pi-runner.js.map +1 -1
  129. package/node_modules/@openrig/daemon/dist/build-info.js +3 -3
  130. package/node_modules/@openrig/daemon/dist/domain/bootstrap-orchestrator.js +2 -2
  131. package/node_modules/@openrig/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
  132. package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.d.ts +23 -0
  133. package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
  134. package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.js +84 -4
  135. package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.js.map +1 -1
  136. package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  137. package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.js +20 -3
  138. package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  139. package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.d.ts +18 -0
  140. package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  141. package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.js +109 -6
  142. package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  143. package/node_modules/@openrig/daemon/dist/domain/seat-attention-reconciler.d.ts +2 -6
  144. package/node_modules/@openrig/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  145. package/node_modules/@openrig/daemon/dist/domain/seat-attention-reconciler.js +15 -6
  146. package/node_modules/@openrig/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  147. package/node_modules/@openrig/daemon/dist/domain/seat-identity-reconciler.d.ts +5 -1
  148. package/node_modules/@openrig/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
  149. package/node_modules/@openrig/daemon/dist/domain/seat-identity-reconciler.js +36 -10
  150. package/node_modules/@openrig/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
  151. package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.d.ts +3 -0
  152. package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  153. package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.js +3 -0
  154. package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  155. package/node_modules/@openrig/daemon/dist/routes/sessions.js +12 -1
  156. package/node_modules/@openrig/daemon/dist/routes/sessions.js.map +1 -1
  157. package/node_modules/@openrig/daemon/dist/routes/up.js +4 -4
  158. package/node_modules/@openrig/daemon/dist/routes/up.js.map +1 -1
  159. package/node_modules/@openrig/daemon/package.json +1 -1
  160. package/package.json +1 -1
@@ -4,12 +4,16 @@ name: yolo
4
4
  surface: flag
5
5
  launch_posture: full_bypass
6
6
  policy_schema_version: 1
7
- description: Full-bypass posture — the flag-surface YOLO opt-in. Everything runs, nothing prompts. Guardrailed by skills and starter markdown, not by permission-blocking.
7
+ description: Permissive launch opt-in. Claude skips permission prompts; Codex selects danger-full-access but retains native approval policy. Pi enables resource trust.
8
8
  ---
9
9
 
10
10
  # YOLO (built-in policy — flag surface)
11
11
 
12
- The maximum-permissive built-in. The seat runs the harness with its full-bypass launch flag: Claude `--dangerously-skip-permissions`, Codex full-bypass, Pi `--approve`. Nothing prompts; nothing is denied. Use only for fully-trusted autonomous work where any pause is unacceptable.
12
+ This built-in selects Claude `--dangerously-skip-permissions`, Codex
13
+ `-s danger-full-access`, or Pi `--approve` (resource trust). Codex receives no
14
+ approval flag and no named-profile argument on this path: its native approval
15
+ settings still apply. This is not a universal promise that nothing prompts or
16
+ is denied. Use only for work and an environment you deliberately trust.
13
17
 
14
18
  **APPLICATION is deterministic, NOT skill-translated.** YOLO is a `surface: flag`
15
19
  policy: it resolves to a stable launch flag and is applied directly by the runtime
@@ -17,9 +21,15 @@ flag-surface opt-in. The `applying-a-permission-policy` skill does **NOT** trans
17
21
  this policy; it points at that setting. The flag surface is stable enough for
18
22
  deterministic code, so it does not pay the skill-indirection tax.
19
23
 
20
- **Config policies are MOOT when YOLO is on.** The full-bypass launch flag overrides any Claude prefix rules / Codex posture, so an attached config-surface policy (Locked/Standard/Open) has no effect while YOLO is active. Pick YOLO OR a config policy, not both.
24
+ **Selection and native enforcement are separate.** A member policy overrides the
25
+ rig policy. A resolved config-surface selection chooses OpenRig's normal launch
26
+ mode and takes precedence over ambient YOLO. Native configuration and managed
27
+ restrictions still matter; recording a policy does not translate config rules.
21
28
 
22
- **Guardrails come from skills + starter markdown, not permission-blocking** — a YOLO seat is bounded by what its skills and operating context tell it to do, since the permission layer imposes nothing.
29
+ Skills and starter guidance describe intended behavior; they do not replace
30
+ filesystem/network boundaries. For explicit Codex sandbox-plus-approval choices
31
+ and returning to a restricted setting, see the getting-started permission guide
32
+ at `docs/reference/getting-started.md#opt-in-permissive-operation`.
23
33
 
24
34
  **Naming:** YOLO names the full-bypass posture plainly; the picker presents all four
25
35
  named postures (Locked / Standard / Open / YOLO) uniformly.
@@ -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.
@@ -0,0 +1,138 @@
1
+ ---
2
+ name: openrig-software-factory
3
+ description: >-
4
+ Use when a user wants a continuing software team for a real repository, or has a
5
+ first OpenRig team and needs a repeatable path for reviewed work and later tasks.
6
+ metadata:
7
+ cli_surfaces_referenced:
8
+ - context get
9
+ - context list
10
+ - context show
11
+ - grow
12
+ - queue create
13
+ - queue handoff
14
+ - workflow compile
15
+ - workflow instantiate-lifecycle
16
+ openrig:
17
+ stage: WIP
18
+ transfer_test: pending
19
+ ---
20
+
21
+ # OpenRig Software Factory
22
+
23
+ Start with a useful repository outcome and add coordination when it earns its
24
+ cost. A beginner can complete reviewed work without Workflow. These are choices
25
+ using existing capabilities, not stages everyone must graduate through.
26
+
27
+ ## Choose how the team works
28
+
29
+ | Need | Start here | Add more when… |
30
+ | --- | --- | --- |
31
+ | One change, close human guidance | Manual/team work: give an owner the outcome, use repository instructions, implement and obtain the chosen independent check. | Work must survive turns or move between seats. |
32
+ | Continuing work with visible ownership | Queue-supported orchestration: use `rig queue create`, claim work, then `rig queue handoff` with the candidate/evidence to the next owner. Record real blockers and the continuation. No Workflow instance is needed. | Repeated steps need an explicit dependency graph and permitted exits. |
33
+ | An explicit execution contract | Workflow: inspect `rig workflow compile`, then deliberately use `rig workflow instantiate-lifecycle`. Advance its packets through the workflow projection mechanism. | The actual project needs reusable profiles, additional roles or gates. |
34
+
35
+ For the concrete queue loop, wake behavior and optional two-slice Workflow,
36
+ read [references/worked-example.md](references/worked-example.md). Installed copy:
37
+ `rig context get skills/core/openrig-software-factory/references/worked-example.md`.
38
+ A roadmap, YAML file or wake does not execute work or authorize a new outcome.
39
+
40
+ ## Establish the working agreement
41
+
42
+ Read the repository instructions, current work and desired user-visible result.
43
+ Verify the intended instance, code/work roots, real seat addresses and native
44
+ readiness. Reuse a suitable small team; an existing agent can bootstrap it.
45
+ A kernel operator is optional and is not automatically the project owner.
46
+
47
+ Agree the work boundary, time/spend limit, who answers unresolved choices, and
48
+ when to stop: checked result, no authorized next work, exhausted budget, or a real
49
+ user/permission/provider blocker. Background daemon checks are not themselves
50
+ model turns, but delivered wakes and resumed work **can spend tokens**. Prefer
51
+ an event-driven wait to frequent empty reminders. Wakes cannot answer a user
52
+ question, clear a permission prompt or guarantee progress.
53
+
54
+ **Choose permissions before launching or assigning work.** Offer ordinary prompts,
55
+ persistent rules for selected commands, or deliberately broader access. Follow
56
+ [Applying a permission policy](#find-the-compatible-permission-guide) to perform
57
+ the user's choice and verify it in the target conversation. Preserve restrictions
58
+ and unrelated settings. A whole `rig` allowance covers every verb, not just reads;
59
+ it does not grant new product authority or change everyone else's defaults.
60
+
61
+ Keep purpose, acceptance, decisions and evidence in existing project files.
62
+ Deliver selected context and obtain each seat's scope reaction; retrieval alone
63
+ is not peer delivery. The owner carries the candidate through the chosen check
64
+ and bounded repairs, reports how to try it, and retains the next authorized task
65
+ or explicitly reports none. Preserve work and custody before a supported stop.
66
+
67
+ ## Grow your factory
68
+
69
+ Choose the team size separately from the coordination method above:
70
+
71
+ 1. **Use the two-agent starter.** Keep the existing owner and independent checker
72
+ while that pair meets the workload. The owner can implement and coordinate.
73
+ 2. **Add one or two seats to the running rig.** This is the usual next step.
74
+ Follow [Grow the running team](references/worked-example.md#grow-the-running-team)
75
+ for `rig grow` commands, readiness/context/work
76
+ assignment, and saving the expanded topology. Existing sessions need no
77
+ rebuild or down/up cycle solely to add capacity.
78
+ 3. **Author a custom rig when you want a different structure.** Read
79
+ [OpenRig Architect](../openrig-architect/SKILL.md), available through
80
+ `rig context get skills/core/openrig-architect/SKILL.md`. Request:
81
+ “Design a user-owned rig for [outcome] using the compatible RigSpec/AgentSpec
82
+ guidance. Reuse suitable agents, define responsibilities and context, and
83
+ validate the files. Preserve the existing rig and agree any new launch.”
84
+
85
+ As independent work grows, the original owner can concentrate on orchestration,
86
+ multiple builders can implement separate outcomes, and the checker can retain
87
+ independent review capacity. Record that division explicitly; adding seats does
88
+ not assign work, change permissions or create parallelism. Agree file/worktree
89
+ boundaries and integration ownership, follow the project's existing review policy,
90
+ and keep active concurrency within the user's time/spend budget. Two seats are
91
+ an entry point, not a finished factory or a maximum.
92
+
93
+ ## Read compatible guidance
94
+
95
+ Before installation, use this file and companion at the same published tag or
96
+ commit as the selected package. After installation:
97
+
98
+ ```sh
99
+ rig --version
100
+ rig context list --json
101
+ rig context show skills/core/openrig-software-factory --json
102
+ rig context get skills/core/openrig-software-factory/SKILL.md
103
+ ```
104
+
105
+ Compare build identity as well as version. Preserve missing, unreadable or older
106
+ recipe results; do not silently substitute newer main or skip a missing companion.
107
+
108
+ ### Find the compatible permission guide
109
+
110
+ Retrieve the maintained procedure with
111
+ `rig context get skills/applying-a-permission-policy/SKILL.md`.
112
+ For source or archive readers, locate it below; the companion getting-started
113
+ guide contains optional broader launch-mode recipes under **Opt-in permissive
114
+ operation**. These paths are relative to the named root, not this skill:
115
+
116
+ | Reading from | Procedure and guide, at the same version as this recipe |
117
+ | --- | --- |
118
+ | Source checkout, including `skills/_canonical` | Below the repository root: `packages/daemon/assets/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.md` and `docs/reference/getting-started.md`. |
119
+ | npm installation | Below the matching `npm root -g` or local `npm root`: `@openrig/cli/daemon/assets/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.md` and `@openrig/cli/daemon/docs/reference/getting-started.md`. |
120
+ | Unpacked npm archive | Below the extraction directory: `package/daemon/assets/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.md` and `package/daemon/docs/reference/getting-started.md`. |
121
+
122
+ For installed guidance, use the npm installation that supplies the selected
123
+ `rig` executable; another prefix or local project can contain a different version.
124
+ If the matching guide or section is missing, report the gap before proceeding;
125
+ do not substitute current main or guidance from another installation.
126
+
127
+ ## Request to give your agent
128
+
129
+ > Help me achieve [observable change] in this repository. Read the compatible
130
+ > Software Factory recipe, choose the lightest useful team/queue/Workflow path,
131
+ > and keep the next owner visible. Preserve existing files and permissions.
132
+ > Agree time/spend limits, perform the authorized work and chosen independent
133
+ > check, and ask only about unresolved decisions or effects outside that scope.
134
+ > Keep publication and destructive changes out of this task.
135
+
136
+ When commands, defaults or permission semantics change, check this source and
137
+ companion together and regenerate their existing projections. Website guidance
138
+ should link to the same versioned recipe, not maintain another procedure.