arkgate 2.1.0 → 2.2.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.
@@ -0,0 +1,152 @@
1
+ # Migrate from `ark-runtime-kernel` → **ArkGate** (`arkgate`)
2
+
3
+ **Same product.** Only the npm name and primary CLI names changed.
4
+ Config, baselines, and `/ark-*` skills stay.
5
+
6
+ | | Before | After |
7
+ |--|--------|--------|
8
+ | Package | `ark-runtime-kernel` | **`arkgate`** |
9
+ | Product name | Ark | **ArkGate** |
10
+ | Check CLI | `ark-check` | **`arkgate-check`** (alias `ark-check` still works) |
11
+ | MCP CLI | `ark-mcp` | **`arkgate-mcp`** (alias `ark-mcp` still works) |
12
+ | Setup CLI | `ark` | **`arkgate`** (alias `ark` still works) |
13
+ | Config | `ark.config.json` | **unchanged** |
14
+ | Baseline | `.ark-baseline.json` | **unchanged** |
15
+ | Skills | `/ark-autopilot`, … | **unchanged** |
16
+ | GitHub | `pedroknigge/ark-runtime-kernel` | **`pedroknigge/arkgate`** (old URL redirects) |
17
+
18
+ ---
19
+
20
+ ## Fast path (recommended)
21
+
22
+ ```bash
23
+ # 1) Swap the dependency
24
+ npm uninstall ark-runtime-kernel
25
+ npm install -D arkgate
26
+ # pnpm: pnpm remove ark-runtime-kernel && pnpm add -D arkgate
27
+ # yarn: yarn remove ark-runtime-kernel && yarn add -D arkgate
28
+
29
+ # 2) Refresh gates, skills, MCP templates
30
+ npx arkgate-check --install-agent-gates --force
31
+
32
+ # 3) Verify
33
+ npx arkgate-check --doctor
34
+ npx arkgate-check --root . --config ark.config.json --strict-config
35
+ ```
36
+
37
+ One-liner if the old bin is still on the path after installing `arkgate`:
38
+
39
+ ```bash
40
+ npx arkgate upgrade
41
+ ```
42
+
43
+ (`ark upgrade` works too — both install `arkgate@latest` and refresh gates.)
44
+
45
+ ---
46
+
47
+ ## What to change in your repo
48
+
49
+ ### `package.json`
50
+
51
+ ```diff
52
+ - "ark-runtime-kernel": "^2.0.1"
53
+ + "arkgate": "^2.1.0"
54
+ ```
55
+
56
+ Scripts:
57
+
58
+ ```diff
59
+ - "check:architecture": "ark-check --root . --config ark.config.json --strict-config"
60
+ + "check:architecture": "arkgate-check --root . --config ark.config.json --strict-config"
61
+ ```
62
+
63
+ (`ark-check` still works as a compat alias for one major.)
64
+
65
+ ### CI / GitHub Actions
66
+
67
+ ```diff
68
+ - run: npx ark-check --root . --config ark.config.json --strict-config
69
+ + run: npx arkgate-check --root . --config ark.config.json --strict-config
70
+ ```
71
+
72
+ Composite action:
73
+
74
+ ```diff
75
+ - uses: pedroknigge/ark-runtime-kernel@main
76
+ + uses: pedroknigge/arkgate@main
77
+ ```
78
+
79
+ ### MCP (Claude / Cursor / `.mcp.json`)
80
+
81
+ ```json
82
+ {
83
+ "mcpServers": {
84
+ "ark": {
85
+ "command": "npx",
86
+ "args": ["arkgate-mcp", "--root", ".", "--config", "ark.config.json"]
87
+ }
88
+ }
89
+ }
90
+ ```
91
+
92
+ Then restart the agent / reload MCP.
93
+
94
+ ### Codex
95
+
96
+ Re-register so home MCP points at this project with the new bin:
97
+
98
+ ```bash
99
+ npx arkgate-check --install-agent-gates --tools codex --force
100
+ # optional home skills:
101
+ npx arkgate-check --install-agent-gates --codex-home --force
102
+ ```
103
+
104
+ ### Grok
105
+
106
+ ```bash
107
+ npx arkgate-check --install-agent-gates --tools grok --force
108
+ ```
109
+
110
+ Or edit `.grok/config.toml` → `args` use `arkgate-mcp`.
111
+
112
+ ### TypeScript imports (runtime / Nest / ESLint only)
113
+
114
+ ```diff
115
+ - import { createStrictArkKernelFromConfig } from 'ark-runtime-kernel';
116
+ + import { createStrictArkKernelFromConfig } from 'arkgate';
117
+
118
+ - import { ArkModule } from 'ark-runtime-kernel/nestjs';
119
+ + import { ArkModule } from 'arkgate/nestjs';
120
+
121
+ - import ark from 'ark-runtime-kernel/eslint';
122
+ + import ark from 'arkgate/eslint';
123
+ ```
124
+
125
+ If you only used the CLI + MCP (most projects), **no import changes**.
126
+
127
+ ---
128
+
129
+ ## What you can ignore
130
+
131
+ - Renaming `ark.config.json` — not required
132
+ - Renaming `/ark-*` skills — not required
133
+ - Re-running full adopt/architect — not required unless you want a fresh plan
134
+
135
+ ---
136
+
137
+ ## Troubleshooting
138
+
139
+ | Symptom | Fix |
140
+ |---------|-----|
141
+ | `npm warn deprecated ark-runtime-kernel` | Swap dep to `arkgate` (this guide) |
142
+ | `ark-check: not found` after uninstall | Use `npx arkgate-check` or reinstall `arkgate` |
143
+ | MCP still launches old package | Update `.mcp.json` / Codex / Grok config; restart agent |
144
+ | pnpm blocks new package age | Wait for cooling-off or pin exact version `arkgate@2.1.0` |
145
+
146
+ ---
147
+
148
+ ## Why the rename
149
+
150
+ `ark-runtime-kernel` suggested a runtime framework. The product is the **architecture co-pilot / write+CI gate** for AI TypeScript. npm name is now **`arkgate`**.
151
+
152
+ Questions: [github.com/pedroknigge/arkgate](https://github.com/pedroknigge/arkgate)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arkgate",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
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",
@@ -40,6 +40,7 @@
40
40
  "docs/enthusiast",
41
41
  "docs/demos",
42
42
  "docs/ai-gates.md",
43
+ "docs/migrate-from-ark-runtime-kernel.md",
43
44
  "docs/ark-check-example.json",
44
45
  "docs/assets",
45
46
  "docs/brownfield-adoption.md",
@@ -117,9 +118,13 @@
117
118
  "license": "MIT",
118
119
  "repository": {
119
120
  "type": "git",
120
- "url": "git+https://github.com/pedroknigge/ark-runtime-kernel.git"
121
+ "url": "git+https://github.com/pedroknigge/arkgate.git"
121
122
  },
122
123
  "publishConfig": {
123
124
  "access": "public"
124
- }
125
+ },
126
+ "bugs": {
127
+ "url": "https://github.com/pedroknigge/arkgate/issues"
128
+ },
129
+ "homepage": "https://github.com/pedroknigge/arkgate#readme"
125
130
  }
package/server.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.pedroknigge/arkgate",
4
- "description": "ArkGate \u2014 architecture co-pilot for AI TypeScript (write gate, CI, plan/loop)",
4
+ "description": "ArkGate architecture co-pilot for AI TypeScript (write gate, CI, plan/loop)",
5
5
  "repository": {
6
- "url": "https://github.com/pedroknigge/ark-runtime-kernel",
6
+ "url": "https://github.com/pedroknigge/arkgate",
7
7
  "source": "github"
8
8
  },
9
- "version": "2.1.0",
9
+ "version": "2.2.0",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "arkgate",
14
- "version": "2.1.0",
14
+ "version": "2.2.0",
15
15
  "runtimeHint": "npx",
16
16
  "transport": {
17
17
  "type": "stdio"
@@ -3,19 +3,29 @@ name: ark-upgrade
3
3
  description: Update arkgate to the latest published version, then refresh gates and /ark-* skills for every agent CLI and re-verify the architecture check. Autonomous.
4
4
  ---
5
5
 
6
- # /ark-upgrade — Update Ark and refresh its gates
6
+ # /ark-upgrade — Update ArkGate and refresh its gates
7
7
 
8
8
  Update the `arkgate` dependency to the latest published version and
9
9
  bring the repo's generated artifacts and gates in line with it. This skill
10
10
  checks the registry itself — don't assume the copy in `node_modules` is current.
11
11
 
12
+ **Still on `ark-runtime-kernel`?** Migrate first (same product, new package name):
13
+
14
+ ```bash
15
+ npm uninstall ark-runtime-kernel && npm install -D arkgate
16
+ npx arkgate-check --install-agent-gates --force
17
+ ```
18
+
19
+ Guide: `docs/migrate-from-ark-runtime-kernel.md` in the package (or on GitHub).
20
+
12
21
  ## Fast path
13
22
 
14
23
  One command does the whole flow — update the package, refresh gates + `/ark-*` skills
15
24
  (and Codex home prompts), migrate command runners, and run the strict check:
16
25
 
17
26
  ```
18
- ark upgrade
27
+ arkgate upgrade
28
+ # (alias: ark upgrade)
19
29
  ```
20
30
 
21
31
  Use it when the user just wants the update done. Run the detailed steps below instead when