arkgate 4.8.13 → 4.8.14

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 (83) hide show
  1. package/CHANGELOG.md +86 -4
  2. package/README.md +23 -20
  3. package/SECURITY.md +5 -3
  4. package/bin/ark-check-runtime.mjs +9 -9
  5. package/bin/lib/agent-projection-formatters.mjs +2 -0
  6. package/bin/lib/agent-skills-package.mjs +63 -8
  7. package/bin/lib/analysis-engine.mjs +1 -1
  8. package/bin/lib/architecture-scan.mjs +8 -2
  9. package/bin/lib/ark-order-doctor.mjs +7 -1
  10. package/bin/lib/ark-order-report.mjs +2 -1
  11. package/bin/lib/ci-and-commands.mjs +7 -2
  12. package/bin/lib/design-smells.mjs +21 -1
  13. package/bin/lib/diagnostic-catalog.mjs +2 -2
  14. package/bin/lib/doctor-advisories.mjs +15 -7
  15. package/bin/lib/doctor-human.mjs +2 -1
  16. package/bin/lib/first-run-help.mjs +11 -2
  17. package/bin/lib/gate-files.mjs +40 -3
  18. package/bin/lib/install-migrate.mjs +23 -0
  19. package/bin/lib/mcp-hook-payload.mjs +1 -1
  20. package/bin/lib/product-copy.mjs +4 -0
  21. package/bin/lib/remediation.mjs +2 -2
  22. package/bin/lib/resolved-candidate-facts.mjs +144 -36
  23. package/bin/lib/scan-files.mjs +39 -0
  24. package/bin/lib/start-preview.mjs +3 -0
  25. package/bin/lib/upgrade-whats-new.mjs +3 -3
  26. package/bin/lib/violations.mjs +30 -0
  27. package/dist/{diagnosticCatalog-DA565Lja.d.ts → diagnosticCatalog-DVx_2RmF.d.ts} +1 -1
  28. package/dist/eslint/index.cjs +1 -1
  29. package/dist/eslint/index.js +1 -1
  30. package/dist/index.cjs +23 -23
  31. package/dist/index.d.ts +60 -14
  32. package/dist/index.js +17 -17
  33. package/dist/nestjs/index.cjs +1 -1
  34. package/dist/nestjs/index.js +1 -1
  35. package/dist/runtime/index.cjs +11 -11
  36. package/dist/runtime/index.d.ts +1 -1
  37. package/dist/runtime/index.js +11 -11
  38. package/docs/README.md +8 -6
  39. package/docs/agent-guide.md +29 -13
  40. package/docs/ai-gates.md +3 -1
  41. package/docs/arkorder.md +11 -4
  42. package/docs/configuration.md +7 -6
  43. package/docs/develop.md +3 -1
  44. package/docs/diagnostics.md +7 -7
  45. package/docs/enthusiast/README.md +6 -1
  46. package/docs/enthusiast/how-to-gallery-starter.md +2 -1
  47. package/docs/package-surface.md +6 -4
  48. package/docs/product-voice.md +32 -6
  49. package/docs/threat-model.md +2 -2
  50. package/docs/typescript-support.md +3 -3
  51. package/docs/use.md +18 -11
  52. package/package.json +1 -1
  53. package/server.json +2 -2
  54. package/templates/agent-skills/README.md +7 -4
  55. package/templates/agent-skills/ark-adopt/SKILL.md +9 -5
  56. package/templates/agent-skills/ark-architect/SKILL.md +5 -18
  57. package/templates/agent-skills/ark-autopilot/SKILL.md +8 -4
  58. package/templates/agent-skills/ark-contract/SKILL.md +9 -20
  59. package/templates/agent-skills/ark-coverage/SKILL.md +12 -8
  60. package/templates/agent-skills/ark-explain/SKILL.md +7 -3
  61. package/templates/agent-skills/ark-explore/SKILL.md +25 -4
  62. package/templates/agent-skills/ark-fix/SKILL.md +15 -20
  63. package/templates/agent-skills/ark-loop/SKILL.md +14 -20
  64. package/templates/agent-skills/ark-order/SKILL.md +200 -0
  65. package/templates/agent-skills/ark-place/SKILL.md +11 -8
  66. package/templates/agent-skills/ark-runtime/SKILL.md +17 -4
  67. package/templates/agent-skills/ark-think/SKILL.md +24 -126
  68. package/templates/agent-skills/ark-upgrade/SKILL.md +13 -2
  69. package/templates/skills/ark-adopt.md +9 -5
  70. package/templates/skills/ark-architect.md +5 -18
  71. package/templates/skills/ark-autopilot.md +8 -4
  72. package/templates/skills/ark-contract.md +9 -20
  73. package/templates/skills/ark-coverage.md +12 -8
  74. package/templates/skills/ark-explain.md +7 -3
  75. package/templates/skills/ark-explore.md +25 -4
  76. package/templates/skills/ark-fix.md +15 -20
  77. package/templates/skills/ark-loop.md +14 -20
  78. package/templates/skills/ark-order.md +200 -0
  79. package/templates/skills/ark-place.md +11 -8
  80. package/templates/skills/ark-runtime.md +17 -4
  81. package/templates/skills/ark-think.md +24 -126
  82. package/templates/skills/ark-upgrade.md +13 -2
  83. package/templates/tests/ark-adoption-gaps.test.ts +5 -4
@@ -0,0 +1,200 @@
1
+ ---
2
+ name: ark-order
3
+ description: Wire the optional ArkOrder extra (arkgate/order). One candidate. Extra on via /ark-adopt.
4
+ ---
5
+
6
+ # /ark-order — Evaluate and wire ArkOrder (optional)
7
+
8
+ **Contener · Guiar · Ordenar.** In plain words: contain the write, guide the next
9
+ step, order leftover mess. This door is **Ordenar**: the extra for the few big product
10
+ choices (billing plan, not seat counts). Ordering leftover folders is `/ark-explore`
11
+ then `/ark-autopilot`. Skills never enforce — CLI / hooks / CI do.
12
+
13
+ Layers stop a bad import. ArkOrder stops rewriting a big product choice as if it
14
+ were a seat count. Change those choices through a valve, not a generic update.
15
+
16
+ The ArkOrder extra (`arkgate/order`) is **optional**. It is **not** required for
17
+ ArkGate enforcement and is **not** production durability. Use this skill when the
18
+ user wants to evaluate or wire the extra. **This skill never enforces.** Do **not**
19
+ invent `/ark-run`. `@arkgate/order` is not a package — import `arkgate/order` from
20
+ the same `arkgate` tarball.
21
+
22
+ **When:** evaluate a hand-rolled “PATCH the plan like a seat count” / generic update
23
+ of a slow product choice, or wire an extra that is already on (plane root, named
24
+ keys, valve).
25
+ **Not when:** session 0 / extra not chosen (`/ark-adopt`); one new file (`/ark-place`);
26
+ skip-violation grind (`/ark-autopilot`); wire the runtime kernel (`/ark-runtime`).
27
+
28
+ ## When / not when
29
+
30
+ | Use `/ark-order` when… | Do **not** use it when… |
31
+ |------------------------|-------------------------|
32
+ | Wire one ArkOrder candidate after the extra is on | Extra not chosen → `/ark-adopt` |
33
+ | Evaluate a generic update of a named product choice | New plane-root file only → `/ark-place` |
34
+ | Valve: first `release()`, later `proposeRelease` then `apply` | Skip cluster grind → `/ark-autopilot`; one kernel candidate → `/ark-runtime` |
35
+
36
+ ## Contener · Guiar · Ordenar
37
+
38
+ | Star | This door | Hand off |
39
+ |------|-----------|----------|
40
+ | **Contener** | `/ark-adopt` path · `/ark-place` new file · `/ark-upgrade` pin | Map → `/ark-explore` · apply → `/ark-autopilot` |
41
+ | **Guiar** | `/ark-explore` map · `/ark-autopilot` apply · `/ark-runtime` wire ArkRun · `/ark-explain` tour · `/ark-coverage` fitness | Session 0 → `/ark-adopt` · this door for the big-choice plane |
42
+ | **Ordenar** | **This skill** — wire ArkOrder | Extra off → `/ark-adopt` · new plane-root file → `/ark-place` · skip grind → `/ark-autopilot` |
43
+
44
+ **Handoff, do not invent a door.** Extra off → `/ark-adopt`. New file → `/ark-place`.
45
+ Skip cluster → `/ark-autopilot`. One kernel candidate → `/ark-runtime`.
46
+
47
+ ## Extra vs plane (mandatory)
48
+
49
+ | Piece | What it is | What it is not |
50
+ |-------|------------|----------------|
51
+ | **ArkOrder extra** (`arkOrder` on `ark.config.json`, schema `1.3+`) | Gate contract: plane usage + named slow keys | A score; Layers / ArkRules / ArkRun replacement; merge teeth while `advisory` |
52
+ | **Plane** `arkgate/order` | Library you construct with `createOrderPlane` (one instance per call) | A process-wide singleton; a second npm package; production durability |
53
+
54
+ Absence of the extra is **silent** — Layers and ArkRules verdicts stay identical. Doctor / status
55
+ `arkOrder` is always `notAScore`. Never invent 0–10 scores or pass/fail from this skill.
56
+
57
+ ## Improvement compass note
58
+
59
+ This skill is **optional order-plane** only. Do **not** treat ArkOrder adoption as residual on
60
+ the resilience lens unless the user explicitly opts into the extra. Prefer doctor compass
61
+ for static architecture residual; hand static residual to `/ark-explore` / `/ark-autopilot`.
62
+ Doctor `arkOrder` residual is a finding-id count (`ARKORDER_*`), never a compass score.
63
+
64
+ ## Dual engine (mandatory)
65
+
66
+ | Engine | Role |
67
+ |--------|------|
68
+ | **Deterministic** | CLI / MCP / contract sensors — exit codes, plan kinds, coverage numbers, install status |
69
+ | **Exploratory** | You open **this** repo's real files and product surface before concluding |
70
+
71
+ The CLI is a **sensor**, never the whole job. Claiming done without the exploratory bar for this skill is **incomplete**.
72
+
73
+ ## MCP workspace binding (mandatory)
74
+
75
+ Before any `ark_*` MCP tool, call `ark_identity` with `project.expectedRoot` set to the exact
76
+ workspace root. Continue only when `binding.status === "matched"` and `authoritative === true`;
77
+ retain `projectIdentity.projectId`, then pass both `expectedRoot` and `expectedProjectId` under
78
+ `project` on every later MCP call. If identity is missing, mismatched, unverified, or the root is
79
+ uncertain, do not consume MCP analysis: use the workspace-local CLI and report that MCP
80
+ restart/retargeting is required. `ark://manifest` never satisfies this preflight.
81
+
82
+ ## Out of scope for ArkRules and ArkRun
83
+
84
+ This skill is **order-plane only**. Do not mix ArkRules structure/invariants here; do **not**
85
+ turn this skill into an ArkRun skill. Hand off first extras to `/ark-adopt`, new files to
86
+ `/ark-place`, skip clusters to `/ark-autopilot`, one kernel candidate to `/ark-runtime`.
87
+ Label plane residual **`[ArkOrder]`** so it never blurs with **`[Layer]`**, **`[ArkRules]`**,
88
+ or **`[ArkRun]`**.
89
+
90
+ ## Subagent fan-out (optional, host-dependent)
91
+
92
+ If the host supports **parallel subagents** and the task splits cleanly (e.g. multiple
93
+ dirs to sample), fan out read-only scouts; otherwise **fall back to sequential**.
94
+ Parent merges and still emits the **### Completion** contract. Never parallel-write
95
+ the same files or weaken the gate.
96
+
97
+ ## Steps
98
+
99
+ 1. **Inventory** — grep the codebase for hand-rolled equivalents:
100
+ - a use-case that `update` / `patch` / `set` a slow product choice (plan, cycle, tenancy)
101
+ the same way it writes a seat count or invoice
102
+ - Prisma / pg / SQL writes of those names from Application / Features
103
+ - a second `release()` after the first freeze (should be `proposeRelease` then `apply`)
104
+ - membership ids (`projectId`, `orgId`) treated as slow keys
105
+ - recomputable statuses (`paid`, `overdue`, `atCapacity`, `approved`) stored as if they
106
+ were named choices
107
+ Also check whether the billing gallery pattern applies:
108
+ [examples/arkorder-billing](https://github.com/pedroknigge/arkgate/tree/main/examples/arkorder-billing)
109
+ (GitHub tree, not in the npm tarball). Copy billing, **rename the three keys**.
110
+ 2. **Read the extra** — open `ark.config.json`. If `arkOrder` is absent and the user wants the extra,
111
+ **STOP — do not continue this skill as complete.** Handoff **`/ark-adopt`** to write **advisory**
112
+ `arkOrder` (schema `1.3+`; real `planeRoots`, existing `managedLayers`, `maxXiKeys` default 7,
113
+ **`xiKeys`** the 3–5 slow names). Do not invent the extra here. If the extra is present, note
114
+ `mode`, `planeRoots`, managed layers, `maxXiKeys`, and `xiKeys`; doctor `arkOrder` is `notAScore`.
115
+ 3. **Pick ONE target** — the smallest, most self-contained candidate (fewest call sites).
116
+ Migrating everything at once is how adoptions die. List the rest as follow-ups in the report.
117
+ New files after the extra is on go through **`/ark-place`**.
118
+ 4. **Resolve availability** — `npm install arkgate` already ships `arkgate/order`.
119
+ Import `createOrderPlane` from `arkgate/order`. Same npm package. Not a second install.
120
+ 5. **Wire through the plane** — read
121
+ [ArkOrder](https://github.com/pedroknigge/arkgate/blob/main/docs/arkorder.md)
122
+ (first-contact breath first; valve tables below the fold).
123
+ - Call `createOrderPlane` **only** inside `arkOrder.planeRoots`. Each call is a new instance —
124
+ no process-wide singleton.
125
+ - Keep Domain-role layers plane-free (`ARKORDER_KERNEL_IN_DOMAIN`).
126
+ - First freeze: `release()`. Later change of a named choice is `proposeRelease` then `apply`
127
+ — not a second `release()` (`ARKORDER_UNVALVED_RELEASE`), not `update` / `patch` / `set`
128
+ (`ARKORDER_GENERIC_UPDATE`).
129
+ - Name **`xiKeys`** (3–5 slow product decisions). Membership ids and recomputable statuses
130
+ are not keys: derive a status on read or fold it from ingest. A use-case that persists
131
+ those keys is `ARKORDER_XI_FIELD_WRITE`. Invoices and seats still flow through `ingest`.
132
+ - Before writing a name, drop the candidate and ask: can current state reconstruct it
133
+ uniquely? If it is recomputable or ingest determines it, derive it. The check remains
134
+ silent on semantic entailment.
135
+ - `refreshSigma`; ingest residual `absorb | escalate_up | hold` + `reasonCode`; capacity
136
+ pack as data; in-memory `ReleaseStore` (`createMemoryReleaseStore`); `ingestTravelAction`.
137
+ ArkRun `decisionTape` is still **`[ArkRun]`** — do not turn the tape into this skill.
138
+ - In-memory stores lose state on restart — **not** production durability. Branding ArkOrder
139
+ is not a durability claim. Doctor / status `arkOrder` is `notAScore`.
140
+ 6. **Delete the hand-rolled generic update** once call sites are moved — the point is
141
+ less code, not a second parallel system. Deleting code is a destructive move:
142
+ confirm with the user before removing the old implementation, and never delete
143
+ something the inventory only *suspects* is dead.
144
+
145
+ ## Critical handoffs
146
+
147
+ - No static gates yet: **STOP — do not continue this skill as complete.** Run `/ark-adopt` first
148
+ (`ark-check --recommend`).
149
+ - Extra absent and the user wants it: **STOP — do not continue this skill as complete.**
150
+ **`/ark-adopt`** writes advisory `arkOrder`.
151
+ - Skip cluster (`ARKORDER_MISSING_PLANE` / `ARKORDER_KERNEL_IN_DOMAIN` / `ARKORDER_GENERIC_UPDATE`
152
+ / `ARKORDER_TOO_MANY_PARAMS` / `ARKORDER_INGEST_WRITES_XI` / `ARKORDER_XI_FIELD_WRITE`) after
153
+ the extra is on: **`/ark-autopilot`** — this skill still wires one candidate.
154
+ - New plane-root file after the extra is on: **`/ark-place`**.
155
+ - One kernel / bus candidate: **`/ark-runtime`** — do not mix planes.
156
+ - `arkgate` not installed and no local checkout: **STOP** and report the distribution boundary.
157
+ - Inventory finds nothing: stop; do not introduce the plane speculatively.
158
+
159
+ ## Operating rules
160
+
161
+ - If the inventory finds NO hand-rolled equivalents, say so and stop — do not
162
+ introduce ArkOrder speculatively. Static enforcement alone is a complete, valid use of Ark.
163
+ - Keep the migration diff reviewable: one feature per invocation.
164
+ - Skills never enforce; never weaken `ark.config.json` to skip `ARKORDER_*`.
165
+ - Never a process-wide plane singleton. Never a second npm package.
166
+ - Never claim in-memory stores are production-durable.
167
+ - Never force the extra on. Compact starter / `ark start` stays extras-off.
168
+ - Plain-language reporting: one sentence per concept ("the billing plan is a
169
+ named choice — change it through the valve, not a generic update").
170
+ - ξ / Haken / slaving stay **below the fold**. First contact uses the one-minute breath.
171
+
172
+ ## Related onboarding
173
+
174
+ - Adopt static gates and application shape **first** (`/ark-adopt` or `ark-check --recommend`).
175
+ Brownfield: same door — advisory extra only until the team promotes; absence is valid.
176
+ - ArkOrder is optional and separate from enthusiast onboarding. Do not put `arkOrder` on the
177
+ compact starter.
178
+
179
+ ## Verify and report
180
+
181
+ Run the project's tests plus `ark-check --root . --config ark.config.json
182
+ --strict-config`. Report: what was migrated, lines deleted vs added, remaining
183
+ candidates ranked, behavior differences, and **`[ArkOrder]`** residual
184
+ (`ARKORDER_*` / doctor `arkOrder`, `notAScore`) separately from Layers / ArkRules / ArkRun.
185
+
186
+ ## Completion contract (skill incomplete if missing)
187
+
188
+ End with **exactly** these headings (markdown `###`):
189
+
190
+ ### Completion
191
+ - **Sensor:** commands/tools run
192
+ - **Opened:** real paths read (or `n/a` only if pure install/upgrade with no source analysis)
193
+ - **Result:** one-line outcome
194
+ - **Planes:** **`[ArkOrder]`** residual (or `n/a` if extra absent) — do not mix with `[Layer]` / `[ArkRules]` / `[ArkRun]`
195
+ - **Compass:** `n/a` (order skill; static residual → explore/autopilot) | top residual if doctor was run
196
+ - **Handoff:** `/ark-…` / CLI / `none`
197
+ - **Incomplete?** `no` | `yes — <what is missing>`
198
+
199
+ If a **STOP** handoff applies and you continued as if done, set **Incomplete?** to `yes`.
200
+ **Skill incomplete if missing** any of the bullets above.
@@ -5,6 +5,10 @@ description: "Where does new code go? Names the folder from the rules file and w
5
5
 
6
6
  # /ark-place — Where does this code go?
7
7
 
8
+ **Contener · Guiar · Ordenar.** In plain words: contain the write, guide the next
9
+ step, order leftover mess. This door is **Contener**: write the new file in the
10
+ right house. Skills never enforce — CLI / hooks / CI do.
11
+
8
12
  **When:** you are adding a new file or artifact and need the layer, folder, and name.
9
13
  **Not when:** session 0 / config is missing or lying (`/ark-adopt`) or an existing violation cluster (`/ark-autopilot`).
10
14
 
@@ -78,7 +82,7 @@ a caption or `/ark-describe`.
78
82
  | New artifact: where + **write** under the config | Existing violation cluster → `/ark-autopilot` |
79
83
  | Naming / directory for a known kind | Session 0 / config missing or lying → `/ark-adopt` (then come back) |
80
84
  | Kernel-managed artifact when `arkRun` is already on | Extra not chosen yet → `/ark-adopt` (advisory `arkRun`); evaluate / migrate a hand-rolled bus → `/ark-runtime` |
81
- | Plane-root artifact when `arkOrder` is already on | Extra not chosen yet → `/ark-adopt` (advisory `arkOrder`); skip cluster grind → `/ark-autopilot` |
85
+ | Plane-root artifact when `arkOrder` is already on | Extra not chosen yet → `/ark-adopt` (advisory `arkOrder`); evaluate / wire one plane candidate → `/ark-order`; skip cluster grind → `/ark-autopilot` |
82
86
 
83
87
  The user describes something they need to build (a saga, a background job, an
84
88
  event handler, a repository, an HTTP client, a use case, a projection, …).
@@ -132,7 +136,7 @@ ArkGate has **always-on Layers** plus opt-in extras. The user chooses extras; yo
132
136
  4. Missing layer home: add it via **`/ark-adopt`** in this session if needed, then write the file; never invent `mechanical-safe`.
133
137
  5. CLI helpers: `ark-check --rules-inventory --json`, doctor JSON `rulesUnderContract`, sensors emit `ARKRULE_*` / `INVARIANT_UNCOVERED` with `evidence.arkruleId`.
134
138
  6. Absence of `arkRun` is **valid**. Do not introduce the kernel speculatively. Skills never enforce this extra.
135
- 7. Absence of `arkOrder` is **valid**. When on: Domain stays plane-free; first freeze ξ with `release()`; later ξ is `proposeRelease` then `apply`; never `update`/`patch`/`set` the pattern. Import `createOrderPlane` from `arkgate/order` (same npm package). No `/ark-order` skill.
139
+ 7. Absence of `arkOrder` is **valid**. When on: Domain stays plane-free; first freeze ξ with `release()`; later ξ is `proposeRelease` then `apply`; never `update`/`patch`/`set` the pattern. Import `createOrderPlane` from `arkgate/order` (same npm package). Evaluate / wire one candidate via **`/ark-order`**.
136
140
 
137
141
 
138
142
  ### Place + ArkRules
@@ -158,8 +162,8 @@ When `arkOrder` is present on the architecture config:
158
162
  - Call the factory only inside `arkOrder.planeRoots`. Empty roots in `enforced` mode is `ARKORDER_MISSING_PLANE`.
159
163
  - Named slow keys live in `arkOrder.xiKeys`. A managed-layer Prisma/pg write of those keys is `ARKORDER_XI_FIELD_WRITE` — absorb with `ingest` or change the pattern with `proposeRelease` then `apply`.
160
164
  - A recomputable status is not a new `xiKeys` entry or a `proposeRelease`: place it as a read projection or an ingest fold. If slow-key naming remains unresolved, return to `/ark-adopt` and run the elimination test before writing the config.
161
- - Skip clusters (`ARKORDER_MISSING_PLANE` / `ARKORDER_KERNEL_IN_DOMAIN` / `ARKORDER_GENERIC_UPDATE` / `ARKORDER_TOO_MANY_PARAMS` / `ARKORDER_INGEST_WRITES_XI` / `ARKORDER_XI_FIELD_WRITE`): place this artifact, then grind via `/ark-autopilot`. Extra not on → `/ark-adopt`. Do not invent `/ark-order`.
162
- - Absence of the extra is valid. Do not invent `/ark-order`. Skills never enforce.
165
+ - Skip clusters (`ARKORDER_MISSING_PLANE` / `ARKORDER_KERNEL_IN_DOMAIN` / `ARKORDER_GENERIC_UPDATE` / `ARKORDER_TOO_MANY_PARAMS` / `ARKORDER_INGEST_WRITES_XI` / `ARKORDER_XI_FIELD_WRITE`): place this artifact, then grind via `/ark-autopilot`. Extra not on → `/ark-adopt`. Evaluate / wire one candidate → `/ark-order`.
166
+ - Absence of the extra is valid. Skills never enforce.
163
167
 
164
168
  ## Subagent fan-out (optional, host-dependent)
165
169
 
@@ -229,11 +233,10 @@ the same files or weaken the gate.
229
233
  hand off **one** pilot via `pilotLoop.nextPilot` / `/ark-explore` shape-focus — never multi-pilot
230
234
  batch reshape from this skill.
231
235
  - If `arkRun` is on and the user is grinding skip violations (`new` of managed types, homemade
232
- bus) across many files: place this artifact through the kernel, then leftover `/ark-fix` /
233
- `/ark-autopilot`. Extra not on → `/ark-adopt` (advisory) or `/ark-runtime` (evaluate).
236
+ bus) across many files: place this artifact through the kernel, then `/ark-autopilot`. Extra not on → `/ark-adopt` (advisory) or `/ark-runtime` (evaluate).
234
237
  - If `arkOrder` is on and the user is grinding skip violations (`ARKORDER_*`) across many files:
235
- place this artifact on a plane root, then leftover `/ark-fix` / `/ark-autopilot`. Extra not on
236
- → `/ark-adopt` (advisory). Do not invent `/ark-order`.
238
+ place this artifact on a plane root, then `/ark-autopilot`. Extra not on
239
+ → `/ark-adopt` (advisory). Evaluate / wire one candidate → `/ark-order`.
237
240
 
238
241
  ## Operating rules
239
242
 
@@ -5,6 +5,10 @@ description: Wire the optional ArkRun extra (arkgate/runtime). One candidate. Ex
5
5
 
6
6
  # /ark-runtime — Evaluate and wire ArkRun (experimental opt-in)
7
7
 
8
+ **Contener · Guiar · Ordenar.** In plain words: contain the write, guide the next
9
+ step, order leftover mess. This door is **Guiar**: wire the optional runtime so work
10
+ keeps moving. Skills never enforce — CLI / hooks / CI do.
11
+
8
12
  The ArkRun kernel (`arkgate/runtime`) is currently **experimental**. It is **not** required
9
13
  for ArkGate enforcement and is **not** production durability. Use this skill when the user wants
10
14
  to evaluate or wire the kernel. **This skill never enforces** — the write / CI / ESLint plane
@@ -13,7 +17,15 @@ does when the `arkRun` extra is on. Do **not** invent `/ark-run`. `@arkgate/runt
13
17
  **When:** evaluate a hand-rolled bus / outbox / saga / projection / policy / Nest adapter against
14
18
  the kernel, or wire an extra that is already on (kernel root, declarations, transport).
15
19
  **Not when:** session 0 / extra not chosen (`/ark-adopt`); one new file (`/ark-place`); skip-violation
16
- grind (`/ark-autopilot` / leftover `/ark-fix`).
20
+ grind (`/ark-autopilot`); wire the order plane (`/ark-order`).
21
+
22
+ ## When / not when
23
+
24
+ | Use `/ark-runtime` when… | Do **not** use it when… |
25
+ |--------------------------|-------------------------|
26
+ | Wire one ArkRun candidate after the extra is on | Extra not chosen → `/ark-adopt` |
27
+ | Evaluate a hand-rolled bus / outbox / saga | New kernel-managed file only → `/ark-place` |
28
+ | Declarations / transport / Nest adapter | Skip cluster grind → `/ark-autopilot`; one order-plane candidate → `/ark-order` |
17
29
 
18
30
  ## Extra vs kernel (mandatory)
19
31
 
@@ -52,7 +64,7 @@ restart/retargeting is required. `ark://manifest` never satisfies this preflight
52
64
 
53
65
  ## Out of scope for ArkRules and ArkOrder
54
66
 
55
- This skill is **runtime-kernel only**. Do not mix ArkRules structure/invariants here; do **not** turn this skill into an ArkOrder skill. Hand off first extras to `/ark-adopt`, new files to `/ark-place`, skip clusters to `/ark-autopilot`. Label kernel-usage residual **`[ArkRun]`** so it never blurs with **`[Layer]`**, **`[ArkRules]`**, or **`[ArkOrder]`**.
67
+ This skill is **runtime-kernel only**. Do not mix ArkRules structure/invariants here; do **not** turn this skill into an ArkOrder skill. Hand off first extras to `/ark-adopt`, new files to `/ark-place`, skip clusters to `/ark-autopilot`, one order-plane candidate to `/ark-order`. Label kernel-usage residual **`[ArkRun]`** so it never blurs with **`[Layer]`**, **`[ArkRules]`**, or **`[ArkOrder]`**.
56
68
 
57
69
  ## Subagent fan-out (optional, host-dependent)
58
70
 
@@ -119,9 +131,10 @@ the same files or weaken the gate.
119
131
 
120
132
  ## Critical handoffs
121
133
 
122
- - No static gates yet: **STOP — do not continue this skill as complete.** Run `/ark-adopt` first (`ark-check --recommend` / leftover `/ark-architect`).
134
+ - No static gates yet: **STOP — do not continue this skill as complete.** Run `/ark-adopt` first (`ark-check --recommend`).
123
135
  - Extra absent and the user wants it: **STOP — do not continue this skill as complete.** **`/ark-adopt`** writes advisory `arkRun`.
124
- - Skip cluster (`new` of managed types, homemade bus, kernel in Domain) after the extra is on: leftover **`/ark-fix`** / **`/ark-loop`** or **`/ark-autopilot`** — this skill still wires one candidate.
136
+ - Skip cluster (`new` of managed types, homemade bus, kernel in Domain) after the extra is on: **`/ark-autopilot`** — this skill still wires one candidate.
137
+ - One order-plane candidate: **`/ark-order`** — do not mix planes.
125
138
  - `arkgate` not installed and no local checkout: **STOP** and report the distribution boundary.
126
139
  - Inventory finds nothing: stop; do not introduce kernel speculatively.
127
140
 
@@ -1,54 +1,24 @@
1
1
  ---
2
2
  name: ark-think
3
- description: 2–3 options for one import-rule or ArkRules decision. Not a full map (use /ark-explore).
3
+ description: Shortcut to /ark-explore for one import-rule or ArkRules decision (2–3 options).
4
4
  ---
5
5
 
6
- # /ark-think — Architectural reasoning (host LLM only)
6
+ # /ark-think — Shortcut to /ark-explore
7
7
 
8
- **Not a first-run door.** One decision only. Session 0 **`/ark-adopt`**.
9
- Full map **`/ark-explore`**. Apply **`/ark-autopilot`**.
10
- Do not send the user to leftover `/ark-contract` or `/ark-fix`.
11
-
12
- You are the user's architecture thinking partner **inside** the project's Ark contract.
13
- This skill does **not** call any LLM API from the arkgate package. **You** (the host agent)
14
- reason; the write-gate and CI remain deterministic.
15
-
16
- ## Improvement compass (process preflight)
17
-
18
- When doctor is available, read `doctor.improvementCompass` (or the human **Improvement compass** section).
19
- Name 1–3 **residual** lenses in plain language before skill-shopping. Always `notAScore` — never invent
20
- 0–10 scores or Excellent/Good ranks.
21
-
22
- **What the user should feel next:** fewer blocked AI writes, clearer folders, safer domain — then jargon.
23
-
24
- **Anti false-done:** empty plan A + residual lenses / design-weak → **Incomplete? yes**. Green edges alone
25
- are not “architecture finished.”
26
-
27
- **AI-easy architecture:** ports over concrete I/O in domain; one concern per module; golden pattern for
28
- new files; place before write (`/ark-place` / prepare-write).
29
-
30
- **Out of scope (honest):** scalability/performance, full app-security tooling (SAST), and full resilience
31
- patterns are **out-of-scope** lenses — say so; do not invent Ark enforcement for them.
32
-
33
- **2–3 options labeled by lens impact** (what residual improves / what stays out-of-scope).
34
-
35
- ## Deep modules (process)
36
-
37
- - Prefer **deep modules** (small interface, hidden complexity). Never invent a depth score.
38
- - Label the **seam** on each option that introduces a port/adapter; apply the **deletion test** before pass-through extracts “for testability.”
39
- - Recommend tests **at the public interface** of the chosen seam.
8
+ **Not a first-class door.** One-release redirect. One bounded decision with 2–3
9
+ enforceable options is **`/ark-explore`** (section **One decision**). Do that job now.
10
+ Contener · Guiar · Ordenar this leftover name is not a star.
40
11
 
41
12
  ## When / not when
42
13
 
43
- | Use `/ark-think` when… | Do **not** use it when… |
44
- |------------------------|-------------------------|
45
- | One decision: new layer vs slice, port vs shared, peerIsolation choice | Full map / ranked residual / dual-plan seed `/ark-explore` |
46
- | 2–3 options already bounded by a known surface | Apply remediation → `/ark-autopilot` |
47
- | Trade-offs before writing a **new** feature | Brownfield config wrong / false-green → `/ark-adopt` |
48
- | Explain *why* a rule exists in *this* tree | HTML tour → `/ark-explain`; fitness numbers → `/ark-coverage` |
49
-
50
- If you lack a product map and the tree is messy: run a **compressed** explore pass first
51
- (≥8 files) **or** **STOP** and invoke `/ark-explore` — do not invent options from diagrams alone.
14
+ | Use this leftover name when… | Prefer instead |
15
+ |------------------------------|----------------|
16
+ | One decision: 2–3 options already bounded | **`/ark-explore`** (one decision) |
17
+ | Full map / ranked residual / dual-plan seed | **`/ark-explore`** (recon) |
18
+ | Apply the chosen option | **`/ark-autopilot`** |
19
+ | Session 0 / false-green | **`/ark-adopt`** |
20
+ | One kernel candidate | **`/ark-runtime`** |
21
+ | One order-plane candidate | **`/ark-order`** |
52
22
 
53
23
  ## Dual engine (mandatory)
54
24
 
@@ -57,8 +27,7 @@ If you lack a product map and the tree is messy: run a **compressed** explore pa
57
27
  | **Deterministic** | What the contract and doctor *prove* today (layers, rules, governed%, gaps) |
58
28
  | **Exploratory** | What *this* decision surface wants — options grounded in files you open |
59
29
 
60
- Never reason only from abstract hexagons. Open real modules before recommending a shape.
61
-
30
+ The CLI is a **sensor**, never the whole job. Claiming done without the exploratory bar for this skill is **incomplete**.
62
31
 
63
32
  ## MCP workspace binding (mandatory)
64
33
 
@@ -69,92 +38,25 @@ retain `projectIdentity.projectId`, then pass both `expectedRoot` and `expectedP
69
38
  uncertain, do not consume MCP analysis: use the workspace-local CLI and report that MCP
70
39
  restart/retargeting is required. `ark://manifest` never satisfies this preflight.
71
40
 
72
- ## Dual plane — layers + extras (mandatory, except /ark-runtime)
73
-
74
- ArkGate has **always-on Layers** plus opt-in extras. The user chooses extras; you **always label** findings so they never blur. Absence of an extra is silent and valid. Skills never enforce. ArkOrder is an extra **inside** the `arkgate` package (`arkgate/order`), not a second install.
75
-
76
- | Plane | What it protects | Where it lives | Sensors / tools |
77
- |-------|------------------|----------------|-----------------|
78
- | **Layers** (inter-layer) | Who may import whom, capabilities, pure/forbiddenGlobals, peerIsolation | `ark.config.json` → `layers[]`, `rules[]` | graph check, baseline edges, doctor coverage % |
79
- | **ArkRules** (intra-layer) | Structure inside a layer + domain invariants as data | `arkRules` map + `arkrules/<ExactLayerName>.json` | structure sensors, invariant coverage, `--rules-inventory`, doctor `rulesUnderContract` |
80
- | **ArkRun** (extra) | Kernel usage + complete declarations; information package `decisionTape` `{ xiHash, event, residual }` | `arkRun` on `ark.config.json` (schema `1.2+`); factory `arkgate/runtime`; **`kernelRoots` preferred**, `compositionRoots` alias | `ARKRUN_*`, doctor `arkRun` (`notAScore`) |
81
- | **ArkOrder** (extra) | Operational pattern (ξ vs s). Valve: first `release()`, later ξ is `proposeRelease` then `apply`; `refreshSigma`; ingest residual `absorb \| escalate_up \| hold` + `reasonCode`; capacity pack as data; in-memory `ReleaseStore` | `arkOrder` on `ark.config.json` (schema `1.3+`); factory `arkgate/order` | `ARKORDER_*` |
82
-
83
- **Rules for every report / answer:**
84
- 1. Prefix each finding or next step with **`[Layer]`** or **`[ArkRules]`** or **`[ArkRun]`** or **`[ArkOrder]`** (or a table with those headers).
85
- 2. Never call an import-edge violation an “invariant” or an aggregate sensor a “layer deny.”
86
- 3. Absence of `arkRules` is **valid** — do not force ArkRules unless the user wants them or residual inventory clearly wants a pilot.
87
- 4. Editing `arkrules/*` or promoting modes is **`/ark-adopt`** / leftover **`/ark-contract`**; fixing code under a structure sensor is leftover **`/ark-fix`** / **`/ark-loop`** or **`/ark-autopilot`** (judgment, never invent mechanical-safe). Extra decisions stay on existing doors. Do not invent `/ark-run` or `/ark-order`.
88
- 5. CLI helpers: `ark-check --rules-inventory --json`, doctor JSON `rulesUnderContract`, sensors emit `ARKRULE_*` / `INVARIANT_UNCOVERED` with `evidence.arkruleId`.
89
-
90
-
91
- ### Think + ArkRules
92
- - For ONE decision, consider options on **both** planes when relevant: e.g. new layer wall **vs** structure sensor **vs** invariant catalog entry.
93
- - Every option must state enforceability: which plane holds it after the change.
94
-
95
- ### Think + extras
96
- - Extra decisions stay enforceable on existing doors (`/ark-adopt` session 0, `/ark-place` new file, `/ark-autopilot` grind, `/ark-runtime` one kernel candidate). No new skill name. Do not invent `/ark-run` or `/ark-order`.
97
-
98
41
  ## Subagent fan-out (optional, host-dependent)
99
42
 
100
- When the user asks to go faster **or** the work naturally splits (multiple packages,
101
- feature dirs, plan clusters), you **may** dispatch **subagents**:
43
+ If the host supports **parallel subagents**, fan out read-only scouts; otherwise
44
+ **fall back to sequential**. Never weaken the gate.
102
45
 
103
- | Host capability | Behavior |
104
- |-----------------|----------|
105
- | **Parallel subagents supported** (e.g. multi-agent / `spawn_subagent` / concurrent Agent tools) | Launch **2–N** agents in **one wave** with **disjoint path scopes**. Prefer **read-only** explore agents for mapping; at most **one writer** unless the host gives isolated worktrees. Parent merges findings, then runs `ark-check` once. |
106
- | **Not supported** (single agent only) | **Fall back to sequential** — same checklist, one cluster/step at a time. Never claim parallel work you did not run. |
46
+ ## Related onboarding
107
47
 
108
- **Rules:**
109
- 1. Give each subagent a **tight brief**: paths in scope, sensor commands allowed, deliverable shape (paths opened + findings JSON or bullets).
110
- 2. **No shared mutable files** across parallel writers.
111
- 3. STOP handoffs and dual-engine rules still apply in every agent.
112
- 4. Parent owns the **### Completion** block (union of **Opened**, single **Handoff**).
113
- 5. Do **not** use subagents to weaken the gate or invent `mechanical-safe` kinds.
48
+ - **Greenfield:** `/ark-adopt` or `ark-check --recommend` / `ark start`.
49
+ - **Brownfield:** `/ark-adopt`.
50
+ - **One decision:** `/ark-explore` (this leftover name redirects there).
114
51
 
115
52
  ## Steps
116
53
 
117
- 1. **Load the contract** `ark.config.json`; when MCP is available, call `ark_identity` with
118
- the exact project root followed by `ark_manifest` with the same root plus returned project
119
- id. The `ark://manifest` resource is compatibility-only and always
120
- unverified/non-authoritative. Use `ark-check --coverage --json` / `--doctor` for honesty
121
- about governed% and false-green.
122
- 2. **Touch the decision surface** — README skim + **≥5 source files** on the feature/package/boundary
123
- under discussion. Name paths in the answer.
124
- 3. **Name the active shape** — which preset/archetype fits (hexagonal, vertical-slice,
125
- ddd-bounded-contexts, feature-sliced, monorepo, …). If none, run `--recommend --json`
126
- **and** say whether detection matches the tree you opened.
127
- 4. **Name concurrent patterns** on the decision surface (if ≥2): which is **golden** vs legacy.
128
- 5. **Reason within bounds** — propose **2–3 options** that **stay enforceable** by the gate.
129
- Prefer concrete paths and import rules over abstract diagrams.
130
- 6. **Explore alternatives** — for each option: coupling, testability, **AI-agent safety**,
131
- migration cost, **pilot + kill-switch** if the option adds a layer or wall.
132
- 7. **Surface hard lines** — never suggest: weakening `ark.config.json` to pass, silent
133
- judgment auto-apply, codemod engines, or skipping write-gate/CI.
134
- 8. **Hand off** — placement `/ark-place`; first extra `/ark-adopt`; grind `/ark-autopilot`;
135
- map-only `/ark-explore`; leftover config `/ark-contract`; leftover cluster `/ark-fix` /
136
- `/ark-loop`. Extra decisions stay on those doors. Do not invent `/ark-run` or `/ark-order`.
137
- When the user needs action not advice: **STOP — do not continue this skill as complete** — invoke the handoff skill.
138
-
139
- ## Output format
140
-
141
- - **Context:** product + contract + what you opened (paths) + phase if known (Align/Stabilize/Shape)
142
- - **Options:** 2–3 alternatives with trade-offs (coupling, testability, agent safety, enforceability)
143
- - **Recommendation:** one option + why it is enforceable **today**
144
- - **Pilot / kill-switch:** if the choice changes shape or adds a layer
145
- - **Risks if we pick wrong:** one sentence user-visible impact
146
- - **Next command:** exact `ark-check` / skill to run next
147
-
148
- ## Related
149
-
150
- - Greenfield shape: `/ark-architect`
151
- - Brownfield: `/ark-adopt`
152
- - Full recon / dual-plan seed: `/ark-explore`
153
- - Explain existing: `/ark-explain`
54
+ 1. Execute **`/ark-explore`** one-decision: open ≥5 files, name 2–3 enforceable options, recommend one.
55
+ 2. Hand off apply `/ark-autopilot`; new file `/ark-place`.
154
56
 
155
57
  ## Completion contract (skill incomplete if missing)
156
58
 
157
- End with **exactly** these headings (markdown `###`):
59
+ Skill incomplete if missing any field below.
158
60
 
159
61
  ### Completion
160
62
  - **Sensor:** commands/tools run
@@ -162,9 +64,5 @@ End with **exactly** these headings (markdown `###`):
162
64
  - **Result:** one-line outcome
163
65
  - **Planes:** one-line split of residual **[Layer]** vs **[ArkRules]** vs **[ArkRun]** vs **[ArkOrder]** (or `n/a` if unused)
164
66
  - **Compass:** top residual lenses | `n/a`
165
- - **Done axes:** architecture residual (status/doctor/compass) | feature/ticket residual (outside package). Enforce green ≠ feature done
166
- - **Handoff:** `/ark-…` / CLI / `none`
67
+ - **Handoff:** `/ark-explore` / `/ark-autopilot` / `none`
167
68
  - **Incomplete?** `no` | `yes — <what is missing>`
168
-
169
- If a **STOP** handoff applies and you continued as if done, set **Incomplete?** to `yes`.
170
- **Skill incomplete if missing** any of the bullets above.
@@ -5,9 +5,20 @@ description: Upgrade ArkGate. Preview first, keep customized files, then apply.
5
5
 
6
6
  # /ark-upgrade — managed ArkGate upgrade
7
7
 
8
+ **Contener · Guiar · Ordenar.** In plain words: contain the write, guide the next
9
+ step, order leftover mess. This door is **Contener**: keep the pin current.
10
+ Skills never enforce — CLI / hooks / CI do.
11
+
8
12
  **When:** bump the published `arkgate` package and refresh managed gates.
9
13
  **Not when:** session 0 (`/ark-adopt`) or leftover design (`/ark-explore`).
10
14
 
15
+ ## When / not when
16
+
17
+ | Use `/ark-upgrade` when… | Do **not** use it when… |
18
+ |--------------------------|-------------------------|
19
+ | Bump the pin and refresh managed gates | Session 0 / path missing → `/ark-adopt` |
20
+ | Preview then `--apply` in this turn | Leftover design / map → `/ark-explore`; apply Shape → `/ark-autopilot` |
21
+
11
22
  ## Steps
12
23
 
13
24
  1. Preview: `arkgate upgrade` (no writes). Default is **hosts keep** — do not retire other hosts’ skills.
@@ -133,7 +144,7 @@ ArkGate has **always-on Layers** plus opt-in extras. The user chooses extras; yo
133
144
  3. Absence of `arkRules` is **valid** — do not force ArkRules unless the user wants them or residual inventory clearly wants a pilot.
134
145
  4. After upgrade, leftover architecture work is **`/ark-autopilot`** (never invent `mechanical-safe`).
135
146
  5. CLI helpers: `ark-check --rules-inventory --json`, doctor JSON `rulesUnderContract`, sensors emit `ARKRULE_*` / `INVARIANT_UNCOVERED` with `evidence.arkruleId`.
136
- 6. Schema `1.3` extras stay off unless already on. Pin teaches `arkgate/runtime` (same tarball), not the deprecated companion. Do not invent `/ark-run` or `/ark-order`.
147
+ 6. Schema `1.3` extras stay off unless already on. Pin teaches `arkgate/runtime` and `arkgate/order` (same tarball), not a second install. Wire after upgrade via `/ark-runtime` / `/ark-order`. Do not invent `/ark-run`.
137
148
 
138
149
 
139
150
  ### Upgrade + ArkRules
@@ -143,7 +154,7 @@ ArkGate has **always-on Layers** plus opt-in extras. The user chooses extras; yo
143
154
  ### Upgrade + extras
144
155
  - Schema `1.3` extras (`arkRun` / `arkOrder`) stay off unless already on. Do not turn extras on during upgrade.
145
156
  - Pin teaches `arkgate/runtime` (same tarball). `@arkgate/runtime` is deprecated. Do not send agents to `packages/runtime/README.md` as the kernel guide.
146
- - After 4.8.2, customized skills may lag — opt-in `--refresh-skills` with consent so the frozen 13 names pick up four-plane deepen. No new skill names.
157
+ - After 4.8.2, customized skills may lag — opt-in `--refresh-skills` with consent so the closed catalog picks up four-plane deepen + `/ark-order`. Add a name only with a live ROADMAP item.
147
158
 
148
159
  ## Safety contract
149
160
 
@@ -5,6 +5,10 @@ description: Session 0 — write the rules file (ark.config.json) to match the r
5
5
 
6
6
  # /ark-adopt — Mark the path (session 0)
7
7
 
8
+ **Contener · Guiar · Ordenar.** In plain words: contain the write, guide the next
9
+ step, order leftover mess. This door is **Contener**: write the path so the tree
10
+ has honest houses. Skills never enforce — CLI / hooks / CI do.
11
+
8
12
  **When:** empty tree, or the rules file does not match the real folders (session 0).
9
13
  **Not when:** a single new file (`/ark-place`) or leftover design after the path is honest (`/ark-explore` then `/ark-autopilot`).
10
14
 
@@ -111,7 +115,7 @@ Do **not** invent captions. Do not invent `/ark-describe`.
111
115
  | Mine loose business rules into Domain / advisory ArkRules | Apply leftover design after the path is honest → `/ark-autopilot` |
112
116
  | Freeze **real** debt after the config is honest | User said map only |
113
117
  | Turn **advisory** ArkRun on (`arkRun` extra, schema `1.2+`; **`kernelRoots` preferred**) | Evaluate / wire a hand-rolled bus → `/ark-runtime`; new kernel-managed file → `/ark-place` |
114
- | Turn **advisory** ArkOrder on (`arkOrder` extra, schema `1.3+`, `planeRoots`) | New plane-root file after extra is on → `/ark-place`; grind skip clusters → `/ark-autopilot` |
118
+ | Turn **advisory** ArkOrder on (`arkOrder` extra, schema `1.3+`, `planeRoots`) | Wire one plane candidate after extra is on → `/ark-order`; new plane-root file → `/ark-place`; grind skip clusters → `/ark-autopilot` |
115
119
 
116
120
  ## Dual engine (mandatory)
117
121
 
@@ -149,7 +153,7 @@ ArkGate has **always-on Layers** plus opt-in extras. The user chooses extras; yo
149
153
  4. Editing `arkrules/*` or promoting modes is **this skill** (session 0) or **`/ark-autopilot`** later; never invent `mechanical-safe`.
150
154
  5. CLI helpers: `ark-check --rules-inventory --json`, doctor JSON `rulesUnderContract`, sensors emit `ARKRULE_*` / `INVARIANT_UNCOVERED` with `evidence.arkruleId`.
151
155
  6. Absence of `arkRun` is **valid**. Write it only when the user wants the extra. Skills never enforce.
152
- 7. Absence of `arkOrder` is **valid**. Write it only when the user wants the extra. Do not invent `/ark-order`. Skills never enforce.
156
+ 7. Absence of `arkOrder` is **valid**. Write it only when the user wants the extra. After the extra is honest: handoff **`/ark-order`** to wire one candidate. Skills never enforce.
153
157
 
154
158
 
155
159
  ### Adopt + ArkRules
@@ -191,9 +195,9 @@ ArkGate has **always-on Layers** plus opt-in extras. The user chooses extras; yo
191
195
  - A use-case that `prisma.*.update({ plan })` while `plan` is in `xiKeys` is **[ArkOrder]** `ARKORDER_XI_FIELD_WRITE`. Invoices and seats still flow through `ingest`.
192
196
 
193
197
  - Do **not** put `arkOrder` on the compact starter / `ark start` scaffold. Domain stays plane-free. Import `createOrderPlane` from `arkgate/order` (same npm package).
194
- - Absence is valid and **silent** — never force the extra. Do not invent `/ark-order`.
198
+ - Absence is valid and **silent** — never force the extra.
195
199
  - Demoting enforced → advisory or deleting the extra is policy-delta **weakening**.
196
- - After the extra is honest: handoff `/ark-place` for new plane-root files; grind skip via `/ark-autopilot`. Skills never enforce.
200
+ - After the extra is honest: handoff **`/ark-order`** to wire one candidate, `/ark-place` for new plane-root files; grind skip via `/ark-autopilot`. Skills never enforce.
197
201
 
198
202
  ## Subagent fan-out (optional, host-dependent)
199
203
 
@@ -301,7 +305,7 @@ proposals applied or deferred, **phase**, **top Shape / design-weak opportunitie
301
305
  - Force runtime kernel over existing Nest/DI.
302
306
  - Put `arkRun` or `arkOrder` on the compact starter / `ark start` scaffold.
303
307
  - Claim in-memory kernel stores are production durability.
304
- - Invent `/ark-run` or `/ark-order`.
308
+ - Invent `/ark-run`. Use `/ark-order` after this door turns the extra on.
305
309
  - Invent `layers[].description` filler or a `/ark-describe` skill.
306
310
  - Claim Enforce while governed% is low, cores empty with I/O in Application, or core bags ungoverned.
307
311
  - End adopt with only “baseline written” when design-weak residual is visible in files you opened.