arkgate 2.8.2 → 2.8.3
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 +29 -2
- package/README.md +4 -1
- package/bin/ark-check.mjs +8 -0
- package/bin/ark-shared.mjs +1 -1
- package/bin/ark.mjs +5 -0
- package/bin/lib/agent-gates.mjs +104 -20
- package/bin/lib/config-warnings.mjs +1 -1
- package/bin/lib/core-ratchet.mjs +152 -0
- 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/dist/runtime/index.cjs +1 -1
- package/dist/runtime/index.cjs.map +1 -1
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/docs/brownfield-adoption.md +1 -1
- package/docs/package-surface.md +3 -0
- package/package.json +2 -2
- package/server.json +2 -2
- package/templates/skills/ark-autopilot.md +3 -0
|
@@ -40,7 +40,7 @@ reason. Fix the contract first (step 3).
|
|
|
40
40
|
proposes a layer per ungoverned directory. Add the recognized ones; decide the layer for the
|
|
41
41
|
flagged ones. Get `governed` high before trusting any check.
|
|
42
42
|
- **Protect the border around a framework, not its internals.** If the concentrated edge
|
|
43
|
-
points into a DI/kernel framework (
|
|
43
|
+
points into a DI/kernel framework (NestJS, a custom kernel), split the target layer
|
|
44
44
|
into a **public surface** (the entrypoints app code may import — e.g. `kernel/app/**`,
|
|
45
45
|
`kernel/events.ts`) and **internals** (denied). Overlapping globs resolve most-specific-first,
|
|
46
46
|
so the surface wins regardless of layer order. Where app code reaches an internal entrypoint
|
package/docs/package-surface.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
**Product wedge:** write gate · CI gate · co-pilot (plan / loop / skills).
|
|
4
4
|
**Not the wedge:** the optional in-process runtime kernel.
|
|
5
5
|
|
|
6
|
+
**Public product site:** [arkgate.online](https://www.arkgate.online/) (promise + only flow).
|
|
7
|
+
In-repo `docs/` remains the package/agent reference. Source: GitHub; distribution: npm.
|
|
8
|
+
|
|
6
9
|
This document is the consumer contract for **what is stable** vs **what is opt-in**.
|
|
7
10
|
|
|
8
11
|
---
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arkgate",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.3",
|
|
4
4
|
"description": "ArkGate — architecture co-pilot for AI TypeScript (write gate, CI gate, plan/loop)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -147,5 +147,5 @@
|
|
|
147
147
|
"bugs": {
|
|
148
148
|
"url": "https://github.com/pedroknigge/arkgate/issues"
|
|
149
149
|
},
|
|
150
|
-
"homepage": "https://
|
|
150
|
+
"homepage": "https://www.arkgate.online/"
|
|
151
151
|
}
|
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/pedroknigge/arkgate",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "2.8.
|
|
9
|
+
"version": "2.8.3",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "arkgate",
|
|
14
|
-
"version": "2.8.
|
|
14
|
+
"version": "2.8.3",
|
|
15
15
|
"runtimeHint": "npx",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|
|
@@ -45,6 +45,9 @@ never weaken the gate).
|
|
|
45
45
|
8. **Manifiesto** — if loose business rules surface (domain logic in UI/core), propose Domain placement + `intentPrefixes` / intents; apply config only via `/ark-contract` discipline (strict check after).
|
|
46
46
|
9. **Final report** — `--report` again; evolution vs origin; honest summary of auto vs judgment vs deferred.
|
|
47
47
|
10. **Strict check** — `ark-check --strict-config` (dead preset globs are advisory; real violations still fail).
|
|
48
|
+
11. **Core ratchet (when green)** — if plan `goal.met` and doctor still **ADAPT** only because
|
|
49
|
+
populated cores are `optional: true`, run `ark-check --ratchet-cores` then `--doctor`.
|
|
50
|
+
Never ratchet while active violations remain.
|
|
48
51
|
|
|
49
52
|
## Never
|
|
50
53
|
|