arkgate 4.6.0 → 4.6.2
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/CHANGELOG.md +54 -1
- package/README.md +11 -5
- package/bin/ark-check-runtime.mjs +115 -128
- package/bin/ark-mcp-runtime.mjs +86 -48
- package/bin/ark.mjs +21 -78
- package/bin/lib/agent-projection.mjs +1 -1
- package/bin/lib/analysis-engine.mjs +3 -3
- package/bin/lib/ci-and-commands.mjs +11 -11
- package/bin/lib/config-contract.mjs +2 -0
- package/bin/lib/contract-smells.mjs +5 -5
- package/bin/lib/design-smells.mjs +1 -1
- package/bin/lib/doctor-advisories.mjs +9 -0
- package/bin/lib/doctor-next-actions.mjs +92 -0
- package/bin/lib/doctor-plan.mjs +61 -71
- package/bin/lib/field-install.mjs +1 -1
- package/bin/lib/first-run-help.mjs +221 -0
- package/bin/lib/html-report-advisories.mjs +20 -0
- package/bin/lib/improvement-compass-map.mjs +20 -20
- package/bin/lib/pilot-loop.mjs +1 -1
- package/bin/lib/post-green-path.mjs +2 -2
- package/bin/lib/prepare-change.mjs +9 -0
- package/bin/lib/product-copy.mjs +1 -1
- package/bin/lib/start-preview.mjs +17 -10
- package/bin/lib/status-command.mjs +19 -0
- package/bin/lib/status-manifest.mjs +23 -0
- package/bin/lib/team-parliament-io.mjs +338 -0
- package/bin/lib/team-parliament.mjs +383 -0
- package/bin/lib/upgrade-whats-new.mjs +16 -0
- package/bin/lib/violations.mjs +8 -4
- package/dist/{configTypes-CC0FEXoF.d.ts → configTypes-B8uIcLaG.d.ts} +5 -0
- package/dist/eslint/index.cjs +2 -2
- package/dist/eslint/index.d.ts +1 -1
- package/dist/eslint/index.js +2 -2
- package/dist/index.cjs +8 -8
- package/dist/index.d.ts +66 -2
- package/dist/index.js +8 -8
- package/docs/README.md +5 -5
- package/docs/agent-guide.md +21 -17
- package/docs/configuration.md +36 -2
- package/docs/develop.md +13 -1
- package/docs/enthusiast/README.md +1 -1
- package/docs/enthusiast/how-to-agent-gates.md +3 -3
- package/docs/enthusiast/how-to-pick-shape.md +2 -2
- package/docs/enthusiast/tutorial-first-project.md +4 -3
- package/docs/package-surface.md +5 -3
- package/docs/product-voice.md +48 -10
- package/docs/use.md +10 -5
- package/package.json +2 -2
- package/schemas/ark.config.schema.json +9 -0
- package/schemas/ark.status-manifest.schema.json +51 -0
- package/server.json +3 -3
- package/templates/agent-skills/README.md +1 -1
- package/templates/agent-skills/ark-adopt/SKILL.md +59 -23
- package/templates/agent-skills/ark-architect/SKILL.md +24 -145
- package/templates/agent-skills/ark-autopilot/SKILL.md +49 -32
- package/templates/agent-skills/ark-contract/SKILL.md +21 -105
- package/templates/agent-skills/ark-coverage/SKILL.md +7 -3
- package/templates/agent-skills/ark-explain/SKILL.md +8 -4
- package/templates/agent-skills/ark-explore/SKILL.md +38 -21
- package/templates/agent-skills/ark-fix/SKILL.md +34 -157
- package/templates/agent-skills/ark-loop/SKILL.md +31 -153
- package/templates/agent-skills/ark-place/SKILL.md +35 -14
- package/templates/agent-skills/ark-runtime/SKILL.md +3 -3
- package/templates/agent-skills/ark-think/SKILL.md +6 -2
- package/templates/agent-skills/ark-upgrade/SKILL.md +21 -10
- package/templates/skills/ark-adopt.md +59 -23
- package/templates/skills/ark-architect.md +24 -145
- package/templates/skills/ark-autopilot.md +49 -32
- package/templates/skills/ark-contract.md +21 -105
- package/templates/skills/ark-coverage.md +7 -3
- package/templates/skills/ark-explain.md +8 -4
- package/templates/skills/ark-explore.md +38 -21
- package/templates/skills/ark-fix.md +34 -157
- package/templates/skills/ark-loop.md +31 -153
- package/templates/skills/ark-place.md +35 -14
- package/templates/skills/ark-runtime.md +3 -3
- package/templates/skills/ark-think.md +6 -2
- package/templates/skills/ark-upgrade.md +21 -10
|
@@ -5,13 +5,25 @@ description: Upgrade ArkGate through a content-identity preview, preserve custom
|
|
|
5
5
|
|
|
6
6
|
# /ark-upgrade — managed ArkGate upgrade
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
preview is the source of truth: inspect it before applying anything.
|
|
8
|
+
**When:** bump the published `arkgate` package and refresh managed gates.
|
|
9
|
+
**Not when:** session 0 (`/ark-adopt`) or leftover design (`/ark-explore`).
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. Preview: `arkgate upgrade` (no writes).
|
|
14
|
+
2. Apply in this turn: `arkgate upgrade --apply` (needs `--plan-digest` when applying managed files).
|
|
15
|
+
3. Re-run `arkgate-check --doctor`. Customized files stay unless you pass `--accept-conflicts` / `--refresh-skills`.
|
|
16
|
+
|
|
17
|
+
The preview is the source of truth. Do not treat a filename or package version as proof of ownership.
|
|
18
|
+
|
|
19
|
+
## Autonomy contract
|
|
20
|
+
|
|
21
|
+
Invoking this skill **is** the approval. Preview, then `--apply` **in this turn**.
|
|
22
|
+
Stopping at preview is incomplete unless the probe failed or a conflict needs
|
|
23
|
+
`--accept-conflicts` / `--refresh-skills` consent.
|
|
24
|
+
|
|
25
|
+
For session 0, start with `/ark-adopt` (or `ark-check --recommend`); brownfield
|
|
26
|
+
honesty is `/ark-adopt` before this upgrade flow.
|
|
15
27
|
|
|
16
28
|
## Improvement compass (process preflight)
|
|
17
29
|
|
|
@@ -99,7 +111,7 @@ ArkGate has **two opt-in planes**. The user chooses which to use; you **always l
|
|
|
99
111
|
1. Prefix each finding or next step with **`[Layer]`** or **`[ArkRules]`** (or a two-column table with those headers).
|
|
100
112
|
2. Never call an import-edge violation an “invariant” or an aggregate sensor a “layer deny.”
|
|
101
113
|
3. Absence of `arkRules` is **valid** — do not force ArkRules unless the user wants them or residual inventory clearly wants a pilot.
|
|
102
|
-
4.
|
|
114
|
+
4. After upgrade, leftover architecture work is **`/ark-autopilot`** (never invent `mechanical-safe`).
|
|
103
115
|
5. CLI helpers: `ark-check --rules-inventory --json`, doctor JSON `rulesUnderContract`, sensors emit `ARKRULE_*` / `INVARIANT_UNCOVERED` with `evidence.arkruleId`.
|
|
104
116
|
|
|
105
117
|
|
|
@@ -241,9 +253,8 @@ ArkGate has **two opt-in planes**. The user chooses which to use; you **always l
|
|
|
241
253
|
`doctor.deepModuleCoach` honesty. Run `npx arkgate agents-md --check` and
|
|
242
254
|
`npx arkgate status --json`. If MCP was used, restart MCP after package bump and re-bind
|
|
243
255
|
identity. Treat provider-unavailable CI required-check evidence as `unverified`, never as proof
|
|
244
|
-
that merges are blocked.
|
|
245
|
-
|
|
246
|
-
approval.
|
|
256
|
+
that merges are blocked. If new violations appear, hand off to `/ark-autopilot`; do not regenerate a baseline without
|
|
257
|
+
explicit approval.
|
|
247
258
|
|
|
248
259
|
## Active host vs deferred hosts
|
|
249
260
|
|