arkgate 4.8.0 → 4.8.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.
Files changed (49) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +5 -3
  3. package/bin/lib/analysis-engine.mjs +4 -4
  4. package/bin/lib/architecture-scan.mjs +7 -2
  5. package/bin/lib/invariant-coverage-io.mjs +61 -24
  6. package/bin/lib/invariant-coverage.mjs +4 -1
  7. package/bin/lib/policy-delta-io.mjs +8 -2
  8. package/bin/lib/rules-under-contract.mjs +8 -2
  9. package/dist/{diagnosticCatalog-RiKPUFRG.d.ts → diagnosticCatalog-CPzH-MLN.d.ts} +7 -1
  10. package/dist/index.cjs +6 -6
  11. package/dist/index.d.ts +2 -2
  12. package/dist/index.js +6 -6
  13. package/dist/nestjs/index.cjs +1 -1
  14. package/dist/nestjs/index.js +1 -1
  15. package/dist/runtime/index.cjs +15 -15
  16. package/dist/runtime/index.d.ts +1 -1
  17. package/dist/runtime/index.js +15 -15
  18. package/docs/README.md +2 -2
  19. package/docs/agent-guide.md +10 -9
  20. package/docs/package-surface.md +3 -1
  21. package/package.json +1 -1
  22. package/server.json +2 -2
  23. package/templates/agent-skills/README.md +1 -1
  24. package/templates/agent-skills/ark-adopt/SKILL.md +41 -13
  25. package/templates/agent-skills/ark-architect/SKILL.md +4 -4
  26. package/templates/agent-skills/ark-autopilot/SKILL.md +22 -4
  27. package/templates/agent-skills/ark-contract/SKILL.md +7 -7
  28. package/templates/agent-skills/ark-coverage/SKILL.md +11 -5
  29. package/templates/agent-skills/ark-explain/SKILL.md +10 -4
  30. package/templates/agent-skills/ark-explore/SKILL.md +12 -4
  31. package/templates/agent-skills/ark-fix/SKILL.md +3 -3
  32. package/templates/agent-skills/ark-loop/SKILL.md +3 -3
  33. package/templates/agent-skills/ark-place/SKILL.md +12 -3
  34. package/templates/agent-skills/ark-runtime/SKILL.md +13 -11
  35. package/templates/agent-skills/ark-think/SKILL.md +13 -7
  36. package/templates/agent-skills/ark-upgrade/SKILL.md +12 -4
  37. package/templates/skills/ark-adopt.md +41 -13
  38. package/templates/skills/ark-architect.md +4 -4
  39. package/templates/skills/ark-autopilot.md +22 -4
  40. package/templates/skills/ark-contract.md +7 -7
  41. package/templates/skills/ark-coverage.md +11 -5
  42. package/templates/skills/ark-explain.md +10 -4
  43. package/templates/skills/ark-explore.md +12 -4
  44. package/templates/skills/ark-fix.md +3 -3
  45. package/templates/skills/ark-loop.md +3 -3
  46. package/templates/skills/ark-place.md +12 -3
  47. package/templates/skills/ark-runtime.md +13 -11
  48. package/templates/skills/ark-think.md +13 -7
  49. package/templates/skills/ark-upgrade.md +12 -4
package/CHANGELOG.md CHANGED
@@ -3,6 +3,26 @@
3
3
  All notable changes to ArkGate (`arkgate`; formerly `ark-runtime-kernel`) are documented here or
4
4
  in the immutable pre-2.0 archive linked below.
5
5
 
6
+ ## 4.8.2 — 2026-08-30
7
+
8
+ **Patch** over **4.8.1**. Frozen 13 skills match four-plane honesty: ArkOrder on
9
+ adopt / place / autopilot; ArkRun `kernelRoots`; kernel import `arkgate/runtime`.
10
+ No `/ark-order` / `/ark-run`. Does not close `K01` / `Z09`. **No required config migration.**
11
+
12
+ **Status: published** (on npm `latest`; see `docs/releases/4.8.2.md`).
13
+
14
+ ### Changed
15
+ - **Skills four-plane honesty:** existing 13 names teach Layers, ArkRules, ArkRun, and ArkOrder. Adopt (session-0: schema `1.3+`, `planeRoots`, `maxXiKeys`) and Autopilot (grind) name ArkOrder; Place hands ArkOrder grind to Autopilot. ArkRun `kernelRoots` is preferred (`compositionRoots` alias). Kernel import is `arkgate/runtime` (companion deprecated). Skills never enforce.
16
+
17
+ ## 4.8.1 — 2026-08-30
18
+
19
+ **Patch** over **4.8.0**. ArkRules invariant coverage reads tests first and retains only files that mention a declared invariant id, so large repos no longer report `INVARIANT_UNCOVERED` / `never-had-tests` while covering tests sit on disk. Does not close `K01` / `Z09`. **No required config migration.**
20
+
21
+ **Status: published** (on npm `latest`; see `docs/releases/4.8.1.md`).
22
+
23
+ ### Fixed
24
+ - **INVARIANT_UNCOVERED on large trees:** `loadInvariantCoverageInputs` spent `MAX_COVERAGE_FILES` (400) on production facts before walking tests. Any repo with more than 400 governed files got `testGlobsMissing: true` and a false *never-had-tests* claim. Tests walk first; with `invariantIds`, a test is retained only if it mentions a catalog id. Doctor and policy-delta use the same ids. When the file budget is exhausted, the diagnostic says so instead of claiming the suite never existed.
25
+
6
26
  ## 4.8.0 — 2026-08-29
7
27
 
8
28
  **Minor** over **4.7.6**. One npm package **`arkgate`**: extras opt-in by config + subpath.
package/README.md CHANGED
@@ -29,11 +29,11 @@ Works with Cursor, Claude, Codex, and Grok.
29
29
 
30
30
  </div>
31
31
 
32
- > **ArkGate 4.8.0** is on npm `latest`. Write. Check. Ship. Adopted = required GitHub
32
+ > **ArkGate 4.8.2** is on npm `latest`. Write. Check. Ship. Adopted = required GitHub
33
33
  > status running `arkgate-check --strict-merge`, or an explicit `advisory-only` stance.
34
34
  > Status is compact (`arkgate-check --doctor`; `--all` for Details). Optional **ArkRun**
35
35
  > (`arkgate/runtime`) is an in-memory runtime — not Postgres. `@arkgate/runtime` is deprecated.
36
- > [4.8.0](docs/releases/4.8.0.md) · [4.7.6](docs/releases/4.7.6.md) · [Docs hub](docs/README.md) · [Voice](docs/product-voice.md)
36
+ > [4.8.2](docs/releases/4.8.2.md) · [4.8.1](docs/releases/4.8.1.md) · [4.8.0](docs/releases/4.8.0.md) · [Docs hub](docs/README.md) · [Voice](docs/product-voice.md)
37
37
 
38
38
  ---
39
39
 
@@ -266,7 +266,9 @@ interfaces for production. Details: [docs/production-hardening.md](docs/producti
266
266
  | Config · package surface · TS | [configuration](docs/configuration.md) · [package-surface](docs/package-surface.md) · [typescript-support](docs/typescript-support.md) |
267
267
  | Brownfield | [docs/brownfield-adoption.md](docs/brownfield-adoption.md) |
268
268
  | Security | [SECURITY.md](SECURITY.md) |
269
- | Current published (4.8.0 on npm `latest`) | [docs/releases/4.8.0.md](docs/releases/4.8.0.md) · [CHANGELOG](CHANGELOG.md) |
269
+ | Current published (4.8.2 on npm `latest`) | [docs/releases/4.8.2.md](docs/releases/4.8.2.md) · [CHANGELOG](CHANGELOG.md) |
270
+ | Prior published (4.8.1) | [docs/releases/4.8.1.md](docs/releases/4.8.1.md) |
271
+ | Prior published (4.8.0) | [docs/releases/4.8.0.md](docs/releases/4.8.0.md) |
270
272
  | Prior published (4.7.6) | [docs/releases/4.7.6.md](docs/releases/4.7.6.md) |
271
273
  | Prior published (4.7.5) | [docs/releases/4.7.5.md](docs/releases/4.7.5.md) |
272
274
  | Prior published (4.7.3) | [docs/releases/4.7.3.md](docs/releases/4.7.3.md) |