ai-runtime-kit 0.10.0 → 0.10.1
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
CHANGED
|
@@ -10,6 +10,39 @@ kit.
|
|
|
10
10
|
|
|
11
11
|
## [Unreleased]
|
|
12
12
|
|
|
13
|
+
## [0.10.1] - 2026-05-14
|
|
14
|
+
|
|
15
|
+
Bundled cleanup of four doc-only follow-ups from v0.9.0 and
|
|
16
|
+
v0.10.0 reviews. Engineering-only spec; no PRD/feature parent.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- `runtime/workflows/feature-development.md` — cross-references
|
|
20
|
+
`.ai/runtime/INDEX.md § Traceability` for the canonical
|
|
21
|
+
`## Parent <Type>` rules and `(none — <reason>)` rendering
|
|
22
|
+
convention. Also references `ai-runtime-kit validate` as the
|
|
23
|
+
audit tool.
|
|
24
|
+
- `runtime/tasks/_template.md` — `## Parent Plan` comment now
|
|
25
|
+
shows the explicit `(none — direct task)` literal rendering
|
|
26
|
+
for hot-fix tasks.
|
|
27
|
+
- `runtime/agents/spec-writer.md` — appends one `## Must Not`
|
|
28
|
+
bullet: "Approve specs whose acceptance asserts metrics on
|
|
29
|
+
state not yet in place (drift hit v0.5.1, v0.7.0, v0.10.0)."
|
|
30
|
+
File 1680 → 1794 bytes (under the spec's revised 1900
|
|
31
|
+
ceiling — 4th size-ceiling drift recorded; future fix
|
|
32
|
+
should make budgets ranges, not hard caps).
|
|
33
|
+
- `README.md` — Walkthrough 3 per-step bullets gain annotations
|
|
34
|
+
showing which `## Parent <Type>` field anchors each step's
|
|
35
|
+
upward link. Closing line mentions `ai-runtime-kit validate`
|
|
36
|
+
as the audit step before merge.
|
|
37
|
+
|
|
38
|
+
### Process
|
|
39
|
+
- Eighth fire of `pre-executor/runtime-scoped-preflight` hook;
|
|
40
|
+
eighth clean pass.
|
|
41
|
+
- Second engineering-only spec on this kit (after v0.8.1).
|
|
42
|
+
The streamlined no-PRD/no-feature path is now well-trodden.
|
|
43
|
+
- `node bin/cli.js validate` self-test post-edit:
|
|
44
|
+
10 specs / 9 reviews on the kit's tree, all PASS.
|
|
45
|
+
|
|
13
46
|
## [0.10.0] - 2026-05-14
|
|
14
47
|
|
|
15
48
|
**First M4 data point.** Kit's first `src/**` feature shipped
|
package/README.md
CHANGED
|
@@ -10,6 +10,12 @@ npx ai-runtime-kit upgrade # existing kit consumer
|
|
|
10
10
|
|
|
11
11
|
## Status
|
|
12
12
|
|
|
13
|
+
**v0.10.1** — Bundled cleanup of 4 doc-only follow-ups from
|
|
14
|
+
v0.9.0/v0.10.0 reviews: workflow cross-ref to `INDEX § Traceability`,
|
|
15
|
+
hot-fix example in task template, new `spec-writer.md` Must Not
|
|
16
|
+
bullet on metric reachability, Walkthrough 3 per-step
|
|
17
|
+
`## Parent <Type>` annotations.
|
|
18
|
+
|
|
13
19
|
**v0.10.0** — Adds the **`validate` command** — checks
|
|
14
20
|
`.ai/project/` tree structural integrity (every artifact carries
|
|
15
21
|
its required `## Parent <Type>` section; every cited parent path
|
|
@@ -316,19 +322,19 @@ commit → task → plan → spec → feature → PRD
|
|
|
316
322
|
Quick lifecycle, with the agent roles invoked at each step:
|
|
317
323
|
|
|
318
324
|
```bash
|
|
319
|
-
# Step 0 — author a PRD (prd-writer)
|
|
325
|
+
# Step 0 — author a PRD (prd-writer) [chain root]
|
|
320
326
|
# .ai/project/prds/YYYY-MM-DD-<slug>/prd.md
|
|
321
327
|
# Problem / Target Users / Success Metrics / User Stories /
|
|
322
328
|
# Out of Scope / Open Questions / Stakeholders
|
|
323
329
|
|
|
324
330
|
# Step 0.5 — slice the PRD into ≥1 features (feature-writer)
|
|
325
331
|
# .ai/project/features/YYYY-MM-DD-<feature-slug>/feature.md
|
|
326
|
-
# Each
|
|
332
|
+
# Each feature has ## Parent PRD citing the PRD by path.
|
|
327
333
|
# Mandatory whenever Step 0 ran.
|
|
328
334
|
|
|
329
335
|
# Step 1 — draft an engineering spec per feature (spec-writer)
|
|
330
336
|
# .ai/project/specs/YYYY-MM-DD-<feature-slug>/spec.md
|
|
331
|
-
#
|
|
337
|
+
# Spec has ## Parent Feature citing the feature.
|
|
332
338
|
# §2 Scope enumerates every touched runtime/** path (preflight).
|
|
333
339
|
|
|
334
340
|
# Step 1.5 — TDD phase (tdd-writer, per applicable task)
|
|
@@ -336,8 +342,10 @@ Quick lifecycle, with the agent roles invoked at each step:
|
|
|
336
342
|
# before the implementation commit.
|
|
337
343
|
|
|
338
344
|
# Step 2 — plan, tasks, implementation (planner + executor)
|
|
339
|
-
# .ai/project/plans/...
|
|
340
|
-
# .ai/project/tasks/...
|
|
345
|
+
# .ai/project/plans/... plan has ## Parent Spec.
|
|
346
|
+
# .ai/project/tasks/... each task has
|
|
347
|
+
# ## Parent Spec + ## Parent Plan +
|
|
348
|
+
# ## TDD-Applies.
|
|
341
349
|
# Implementation lands on a chore/runtime-<slug> branch if
|
|
342
350
|
# the spec touches runtime/**; otherwise a feature branch.
|
|
343
351
|
|
|
@@ -346,9 +354,11 @@ Quick lifecycle, with the agent roles invoked at each step:
|
|
|
346
354
|
|
|
347
355
|
# Step 4 — review (reviewer)
|
|
348
356
|
# .ai/project/reviews/YYYY-MM-DD-<slug>.md
|
|
357
|
+
# Review has ## Parent Spec.
|
|
349
358
|
# Maps PRD success metrics to delivered artifacts.
|
|
350
359
|
|
|
351
|
-
# Then:
|
|
360
|
+
# Then: ai-runtime-kit validate (audit the chain),
|
|
361
|
+
# merge, push, tag, optionally npm publish.
|
|
352
362
|
```
|
|
353
363
|
|
|
354
364
|
For each step, the corresponding kit-shipped agent role file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-runtime-kit",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "Reusable AI engineering runtime: BOOTSTRAP, workflows, safety, hooks, and templates for software projects driven by AI agents.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"ai-runtime-kit": "./bin/cli.js"
|
|
@@ -51,6 +51,8 @@ One file at `.ai/project/specs/YYYY-MM-DD-<slug>/spec.md`.
|
|
|
51
51
|
- Lock hard byte-budgets on new template/role files without
|
|
52
52
|
prototyping — use ranges or revisit during impl
|
|
53
53
|
(drift hit v0.5.1 + v0.7.0).
|
|
54
|
+
- Approve specs whose acceptance asserts metrics on state
|
|
55
|
+
not yet in place (drift hit v0.5.1, v0.7.0, v0.10.0).
|
|
54
56
|
|
|
55
57
|
---
|
|
56
58
|
|
|
@@ -16,10 +16,12 @@ Describe the specific engineering goal.
|
|
|
16
16
|
## Parent Plan
|
|
17
17
|
|
|
18
18
|
`.ai/project/plans/YYYY-MM-DD-<slug>/plan.md`
|
|
19
|
-
<!-- Required. Single path.
|
|
20
|
-
the normal plan-first
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
<!-- Required. Single path.
|
|
20
|
+
For hot-fix tasks created outside the normal plan-first
|
|
21
|
+
workflow, render literally:
|
|
22
|
+
(none — direct task)
|
|
23
|
+
See .ai/runtime/INDEX.md § Traceability for the full
|
|
24
|
+
chain and the (none — <reason>) rendering convention. -->
|
|
23
25
|
|
|
24
26
|
---
|
|
25
27
|
|
|
@@ -119,6 +119,12 @@ check that the spec covers the feature's requirements without
|
|
|
119
119
|
quietly expanding scope and that the feature covers its share of
|
|
120
120
|
the PRD's metrics.
|
|
121
121
|
|
|
122
|
+
The canonical rules for `## Parent <Type>` sections per artifact
|
|
123
|
+
type — including the `(none — <reason>)` rendering convention
|
|
124
|
+
for engineering-only specs, bug-fix specs, and hot-fix tasks —
|
|
125
|
+
live at `.ai/runtime/INDEX.md` § Traceability. Use
|
|
126
|
+
`ai-runtime-kit validate` to verify a project's tree conforms.
|
|
127
|
+
|
|
122
128
|
Spec must include:
|
|
123
129
|
|
|
124
130
|
- Goal
|