arkgate 3.8.2 → 3.9.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 +91 -0
- package/README.md +94 -345
- package/bin/ark-mcp-runtime.mjs +137 -11
- package/bin/ark-shared.mjs +89 -2
- package/bin/ark.mjs +41 -19
- package/bin/lib/agent-gates.mjs +4 -0
- package/bin/lib/ci-and-commands.mjs +28 -21
- package/bin/lib/doctor-plan.mjs +37 -28
- package/bin/lib/hook-templates.mjs +13 -9
- package/bin/lib/host-support-matrix.mjs +64 -4
- package/bin/lib/install-migrate.mjs +96 -1
- package/bin/lib/managed-upgrade.mjs +30 -1
- package/bin/lib/mcp-adoption.mjs +60 -2
- package/bin/lib/post-green-path.mjs +2 -2
- package/bin/lib/skill-install.mjs +46 -2
- package/bin/lib/start-preview.mjs +23 -7
- package/bin/lib/upgrade-command.mjs +57 -15
- package/bin/lib/write-path-capabilities.mjs +67 -18
- package/bin/lib/write-path-detect.mjs +11 -7
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/README.md +70 -0
- package/docs/agent-guide.md +59 -17
- package/docs/ai-gates.md +97 -11
- package/docs/develop.md +127 -0
- package/docs/enthusiast/README.md +2 -0
- package/docs/package-surface.md +3 -3
- package/docs/product-voice.md +194 -0
- package/docs/use.md +88 -0
- package/package.json +5 -1
- package/server.json +2 -2
- package/templates/hooks/opencode-ark-write-gate.mjs +85 -0
- package/templates/skills/ark-autopilot.md +20 -7
- package/templates/skills/ark-explore.md +17 -4
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,97 @@ in the immutable pre-2.0 archive linked below.
|
|
|
5
5
|
|
|
6
6
|
## Unreleased
|
|
7
7
|
|
|
8
|
+
## 3.9.0 — 2026-07-23
|
|
9
|
+
|
|
10
|
+
**Beautiful Path** minor: one primary flow, doctor as control plane, progressive disclosure, and
|
|
11
|
+
senior-grade product voice — plus residual beauty, write-path honesty, Shape coach depth, and
|
|
12
|
+
field-claim scaffolding. **No required config migration.** Does not weaken write gate or CI.
|
|
13
|
+
Z09 / residual `RB-11` remain open (longitudinal claim gate; field kit is scaffolding only).
|
|
14
|
+
Not a rewrite of the analysis engine. No plan-B silent codemod. No fake hard write on Cursor/Codex.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- **Product voice canon:** `docs/product-voice.md` — lexicon (including **design-weak** / **residual**
|
|
19
|
+
/ hard vs advisory write), **Do** table, doctor/deny microcopy models, progressive-disclosure rule.
|
|
20
|
+
Linked from README and Agents knowledge map.
|
|
21
|
+
- **Field program kit (not closed):** `docs/field/` — Z09 preregistration template, cohort D30/D90
|
|
22
|
+
checklist, independent-reviewer manifesto + open signed-identity decision. Explicit **status: not
|
|
23
|
+
closed**; does not invent adopter counts or close `RB-11` / C-028 residual.
|
|
24
|
+
- **Release notes:** `docs/releases/3.9.0.md`.
|
|
25
|
+
- **Docs information architecture:** three public lanes — [docs/use.md](docs/use.md) (anyone),
|
|
26
|
+
[docs/develop.md](docs/develop.md) (integrate), [CONTRIBUTING.md](CONTRIBUTING.md) (library);
|
|
27
|
+
hub [docs/README.md](docs/README.md); history under [docs/archive/](docs/archive/README.md).
|
|
28
|
+
Historical release notes and epic plans remain in-repo but are not the product front door.
|
|
29
|
+
- **Maintainer workflow:** `.grok/workflows/product-beauty-audit.rhai` — read-only parallel audit of
|
|
30
|
+
product surfaces against product-voice criteria (report-only by default).
|
|
31
|
+
- **Host enforcement expansion (prepared, not npm-published as a separate release):**
|
|
32
|
+
- **Google Antigravity** (`antigravity` / alias `agy`): `.agents/hooks.json` PreToolUse install,
|
|
33
|
+
`ark-mcp --hook` adapter for `toolCall` + write tools (`write_to_file`,
|
|
34
|
+
`replace_file_content`, `multi_replace_file_content`), doctor inventory, hard-write when
|
|
35
|
+
installed + trusted (same ladder as Claude/Grok).
|
|
36
|
+
- **OpenCode** (`opencode`): merge/write `opencode.json` MCP (`type: local`), advisory-only
|
|
37
|
+
write path, optional experimental plugin template
|
|
38
|
+
`templates/hooks/opencode-ark-write-gate.mjs` (never claimed hard).
|
|
39
|
+
- Canonical host matrix + README/`docs/ai-gates.md` honesty rows updated.
|
|
40
|
+
|
|
41
|
+
### Changed
|
|
42
|
+
|
|
43
|
+
- **README first-run narrative:** one door (`start` → doctor → optional `/ark-autopilot`); skills
|
|
44
|
+
section reframed as expert escapes, not a second curriculum; status lights language tightened;
|
|
45
|
+
host matrix states **required CI status** as the merge hard boundary and labels
|
|
46
|
+
Cursor/Codex/OpenCode advisory at write (Antigravity hard when covered).
|
|
47
|
+
- **Compact router** (`compactAgentInstructions`): primary path = doctor + place/validate/check;
|
|
48
|
+
full `/ark-*` pack documented as optional expert depth with install command.
|
|
49
|
+
- **Doctor human surface:** status-light copy matches product voice; top block is **Primary next
|
|
50
|
+
action** (#1) plus optional **Also** list; design-weak mode uses warn `!` (not green `✓`);
|
|
51
|
+
edge-clean under design-weak no longer claims absolute “matches the contract”; New-here primary
|
|
52
|
+
is finish `start` → doctor (not a competing recommend/architect curriculum); Cursor/Codex write
|
|
53
|
+
path lines state advisory + required CI. JSON ids (`postGreenPath`, `primaryNextAction`,
|
|
54
|
+
`clarify-for-ai`) unchanged.
|
|
55
|
+
- **Post-green primary action string:** senior-grade Shape residual wording; same skill chain.
|
|
56
|
+
- **Agent install messaging:** install-agent-gates prints compact vs expert-skill-pack profile hints.
|
|
57
|
+
- **Skill frontmatter / mode tables:** `/ark-autopilot` = guided end-to-end; ranks **Enforce ·
|
|
58
|
+
design-weak** Shape door; `/ark-explore` = specialized map / post-green door with status-light
|
|
59
|
+
table and smell-envelope honesty (absence ≠ full-tree proof).
|
|
60
|
+
- **Agent guide / AI gates / package surface:** default path and host write honesty aligned; design
|
|
61
|
+
smell envelope documented; no “default = full skill pack.”
|
|
62
|
+
|
|
63
|
+
### Tests
|
|
64
|
+
|
|
65
|
+
- `q01PostGreenPath` — primary-action wording, design-weak mode mark `!`, no absolute contract-match
|
|
66
|
+
under residual.
|
|
67
|
+
- `skillsSurface` — autopilot/explore Shape door ranking; compact router progressive disclosure.
|
|
68
|
+
- `q06ReleaseSurfaces` — 3.9.0 notes, product-voice Do/lexicon, field kit not-closed.
|
|
69
|
+
- Compact-start / adoption-gaps / codex residual honesty expectations updated for voice.
|
|
70
|
+
|
|
71
|
+
## 3.8.3 — 2026-07-22
|
|
72
|
+
|
|
73
|
+
Corrective **patch** over 3.8.2 from multi-repo field evidence (PROPIA pnpm workspace upgrade;
|
|
74
|
+
Amarilla greenfield `start`). **No required config migration.** Z09 / residual `RB-11` remain open.
|
|
75
|
+
|
|
76
|
+
### Fixed
|
|
77
|
+
|
|
78
|
+
- **pnpm workspace upgrade install:** `packageInstallArgv` emits `pnpm add -D arkgate@… -w` on
|
|
79
|
+
workspace roots (`pnpm-workspace.yaml`). Yarn workspaces get `-W`. npm single-package path
|
|
80
|
+
unchanged.
|
|
81
|
+
- **Upgrade re-install when already current:** skip package-manager install when
|
|
82
|
+
`node_modules/arkgate` already matches this CLI version; go straight to managed preview.
|
|
83
|
+
- **Install failure recovery copy:** prints the exact failed install command and a
|
|
84
|
+
`--no-install` re-run path.
|
|
85
|
+
- **`start` package pin by default:** `start --apply` pins `arkgate` in `devDependencies`
|
|
86
|
+
unless `--no-install` (was: only with explicit `--install`).
|
|
87
|
+
- **Compact start always writes `.mcp.json`:** every host gets project MCP registration;
|
|
88
|
+
setup budget raised to 8 files / 32 KB so MCP fits with host hooks.
|
|
89
|
+
- **Unbound upgrade apply when content matches:** `--apply` without `--plan-digest` is a
|
|
90
|
+
successful no-op when `wouldWrite` is 0 (optional stamp refresh still needs the digest).
|
|
91
|
+
- **Upgrade applied copy:** distinguishes content writes vs stamp/metadata refresh instead of
|
|
92
|
+
a single “Applied N changes” when only stamps moved.
|
|
93
|
+
|
|
94
|
+
### Tests
|
|
95
|
+
|
|
96
|
+
- `tests/unit/static-check/fieldJourney383.test.ts` — workspace argv, skip-when-current, start pin.
|
|
97
|
+
- Z06 / O03 / installFieldFixes expectations updated for default pin and MCP-in-compact.
|
|
98
|
+
|
|
8
99
|
## 3.8.2 — 2026-07-22
|
|
9
100
|
|
|
10
101
|
Corrective **patch** over 3.8.1 from PREDIAL WEB field evidence. Aligns doctor skill freshness with
|