arkgate 2.5.0 → 2.6.0
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 +26 -0
- package/bin/ark-check.mjs +194 -3867
- package/bin/ark-layer-match.mjs +168 -0
- package/bin/ark-shared.mjs +8 -131
- package/bin/lib/agent-gates.mjs +1550 -0
- package/bin/lib/doctor-plan.mjs +503 -0
- package/bin/lib/html-report.mjs +1301 -0
- package/bin/lib/presets.mjs +244 -0
- package/bin/lib/suggestions.mjs +109 -0
- package/bin/lib/violations.mjs +170 -0
- package/dist/eslint/index.cjs +32 -27
- package/dist/eslint/index.cjs.map +1 -1
- package/dist/eslint/index.d.cts +22 -6
- package/dist/eslint/index.d.ts +22 -6
- package/dist/eslint/index.js +32 -27
- package/dist/eslint/index.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/nestjs/index.cjs +1 -1
- package/dist/nestjs/index.cjs.map +1 -1
- package/dist/nestjs/index.js +1 -1
- package/dist/nestjs/index.js.map +1 -1
- package/package.json +2 -1
- package/server.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to ArkGate (`arkgate`; formerly `ark-runtime-kernel`) are documented here.
|
|
4
4
|
|
|
5
|
+
## 2.6.0 — 2026-07-09
|
|
6
|
+
|
|
7
|
+
### Changed — maintainability hygiene (#11 / #12)
|
|
8
|
+
|
|
9
|
+
- **`bin/ark-check.mjs` modularized** (~5.8k → ~2.1k lines of orchestration):
|
|
10
|
+
`bin/lib/agent-gates.mjs`, `html-report.mjs`, `doctor-plan.mjs`, `violations.mjs`,
|
|
11
|
+
`suggestions.mjs`, `presets.mjs`. Entry owns scan/CLI only.
|
|
12
|
+
- **Layer matching single algorithm:** pure matcher in `bin/ark-layer-match.mjs` (CLI) and
|
|
13
|
+
`src/domain/layerMatch.ts` (eslint). Tooling may import DomainModel for that pure helper.
|
|
14
|
+
`tests/unit/static-check/layerMatchParity.test.ts` locks both implementations.
|
|
15
|
+
- Dual-driver ESLint/CI tests retained.
|
|
16
|
+
|
|
17
|
+
### Fixed — field test (Codex + Grok on random repos)
|
|
18
|
+
|
|
19
|
+
- **`--report` path display:** absolute report paths no longer print as brittle
|
|
20
|
+
`../../../../tmp/...` relatives; paths outside the project root print absolute.
|
|
21
|
+
- **`ark-check --help`:** documents dual bins `arkgate-check | ark-check`.
|
|
22
|
+
- **`ark-check --version` / `-V`:** prints package version (no longer runs a full check).
|
|
23
|
+
- **Doctor thin-coverage honesty:** when there are zero violations but governed < 50%
|
|
24
|
+
(or empty scope), doctor no longer claims “code matches the contract”; it warns that
|
|
25
|
+
green is not yet honest enforcement.
|
|
26
|
+
- **Grok write-gate hooks:** root env
|
|
27
|
+
`${GROK_WORKSPACE_ROOT:-${CLAUDE_PROJECT_DIR:-.}}` (Grok → Claude alias → cwd).
|
|
28
|
+
- **AGENTS / package / Cursor check command:** if `.ark-baseline.json` exists, emitted
|
|
29
|
+
`ark-check` commands include `--baseline .ark-baseline.json` (same ratchet as CI).
|
|
30
|
+
|
|
5
31
|
## 2.5.0 — 2026-07-09
|
|
6
32
|
|
|
7
33
|
### Added — ESLint ↔ CI layer parity
|