ai-runtime-kit 0.10.1 → 0.10.2
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 +19 -0
- package/package.json +1 -1
- package/runtime/INDEX.md +91 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,25 @@ kit.
|
|
|
10
10
|
|
|
11
11
|
## [Unreleased]
|
|
12
12
|
|
|
13
|
+
## [0.10.2] - 2026-05-14
|
|
14
|
+
|
|
15
|
+
Doc-only addition for agent orientation.
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
- `runtime/INDEX.md` § Workflow Overview — new section between
|
|
19
|
+
§ Purpose and § Agents. Synthesizes the 9-step pipeline +
|
|
20
|
+
8 agents + 6 artifact types + traceability chain +
|
|
21
|
+
governance boundary into a single big-picture orientation.
|
|
22
|
+
92 lines; cross-references the existing § Agents,
|
|
23
|
+
§ Traceability, § Workflows, § Recommended Agent Flow,
|
|
24
|
+
and § Hooks sections for detail.
|
|
25
|
+
|
|
26
|
+
### Process
|
|
27
|
+
- Ninth fire of `pre-executor/runtime-scoped-preflight` hook,
|
|
28
|
+
ninth clean pass.
|
|
29
|
+
- Smallest scope of any runtime-scoped ship this session
|
|
30
|
+
(1 runtime path).
|
|
31
|
+
|
|
13
32
|
## [0.10.1] - 2026-05-14
|
|
14
33
|
|
|
15
34
|
Bundled cleanup of four doc-only follow-ups from v0.9.0 and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-runtime-kit",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
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"
|
package/runtime/INDEX.md
CHANGED
|
@@ -13,6 +13,97 @@ AI agents should use this file to understand:
|
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
+
## Workflow Overview
|
|
17
|
+
|
|
18
|
+
The kit ships a 9-step pipeline for product-driven features
|
|
19
|
+
(engineering-only changes skip Steps 0 and 0.5). Each step
|
|
20
|
+
has a kit-shipped role-definition file under
|
|
21
|
+
`.ai/runtime/agents/` and produces a structurally-linked
|
|
22
|
+
artifact in `.ai/project/`.
|
|
23
|
+
|
|
24
|
+
### Pipeline
|
|
25
|
+
|
|
26
|
+
```txt
|
|
27
|
+
Step 0 PRD (optional · product-driven only)
|
|
28
|
+
↓
|
|
29
|
+
Step 0.5 Feature (mandatory if Step 0 ran; N features per PRD)
|
|
30
|
+
↓
|
|
31
|
+
Step 1 Spec (1 per feature; engineering details)
|
|
32
|
+
↓
|
|
33
|
+
Step 1.5 TDD (per task with TDD-Applies: true)
|
|
34
|
+
↓
|
|
35
|
+
Step 2 Execute (plan + task + implementation umbrella)
|
|
36
|
+
↓
|
|
37
|
+
Step 3 Verify
|
|
38
|
+
↓
|
|
39
|
+
Step 4 Review
|
|
40
|
+
↓
|
|
41
|
+
Steps 5+6 Fix + Commit
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Agents and artifacts per phase
|
|
45
|
+
|
|
46
|
+
| Step | Agent (role file) | Artifact (project path) |
|
|
47
|
+
|---|---|---|
|
|
48
|
+
| 0 | `prd-writer` | `.ai/project/prds/<slug>/prd.md` |
|
|
49
|
+
| 0.5 | `feature-writer` | `.ai/project/features/<slug>/feature.md` |
|
|
50
|
+
| 1 | `spec-writer` | `.ai/project/specs/<slug>/spec.md` |
|
|
51
|
+
| 2-plan| `planner` | `.ai/project/plans/<slug>/plan.md` |
|
|
52
|
+
| 2-task| `planner` | `.ai/project/tasks/<slug>/...` |
|
|
53
|
+
| 1.5 | `tdd-writer` | failing-test git commit |
|
|
54
|
+
| 2-impl| `executor` | implementation git commit |
|
|
55
|
+
| 3 | `verifier` | (verification report, usually inline) |
|
|
56
|
+
| 4 | `reviewer` | `.ai/project/reviews/<slug>.md` |
|
|
57
|
+
|
|
58
|
+
Notes: `task` is a transition concept consumed by the next
|
|
59
|
+
role, not a separate authoring role; `architect` is replaced
|
|
60
|
+
by `spec-writer` (see § Agents below).
|
|
61
|
+
|
|
62
|
+
### Traceability chain
|
|
63
|
+
|
|
64
|
+
Every artifact carries a structural upward-citation link in a
|
|
65
|
+
`## Parent <Type>` section:
|
|
66
|
+
|
|
67
|
+
```txt
|
|
68
|
+
commit → task → plan → spec → feature → PRD
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
For per-artifact required sections and the
|
|
72
|
+
`(none — <reason>)` rendering convention for skipped paths,
|
|
73
|
+
see § Traceability.
|
|
74
|
+
|
|
75
|
+
### Governance boundary
|
|
76
|
+
|
|
77
|
+
Which changes require what depends on which paths they touch:
|
|
78
|
+
|
|
79
|
+
| Touched paths | Branch convention | Preflight hook | Spec required |
|
|
80
|
+
|---|---|---|---|
|
|
81
|
+
| `runtime/**` | `chore/runtime-<topic>` | **GATE** fires (3 preconditions) | yes, §2 Scope enumerates each path |
|
|
82
|
+
| `src/`, `test/`, `bin/` (kit code) | `feat/<topic>` / `fix/<topic>` | does not fire | yes (or simple feature workflow) |
|
|
83
|
+
| `.ai/project/**` (project tree) | any | does not fire | depends on complexity |
|
|
84
|
+
| `README` / `CHANGELOG` / `package.json` | any | does not fire | typically bundled with ship metadata |
|
|
85
|
+
|
|
86
|
+
Per `branching.md § Governance Rule Branches`, runtime/
|
|
87
|
+
governance changes MUST NOT be combined with feature code in
|
|
88
|
+
the same commit — split into separate commits even on the
|
|
89
|
+
same branch.
|
|
90
|
+
|
|
91
|
+
### Where to read more
|
|
92
|
+
|
|
93
|
+
- § Agents — the 8 role files and what each does.
|
|
94
|
+
- § Traceability — the `## Parent <Type>` rules per artifact.
|
|
95
|
+
- § Workflows — the canonical
|
|
96
|
+
`.ai/runtime/workflows/feature-development.md` step-by-step
|
|
97
|
+
(this Overview is a synthesis; the workflow doc is the
|
|
98
|
+
source of truth for the steps).
|
|
99
|
+
- § Recommended Agent Flow — the same 8 roles listed as a
|
|
100
|
+
pipeline (separate from this Overview for readers arriving
|
|
101
|
+
at INDEX.md from a different entry point).
|
|
102
|
+
- § Hooks — the `pre-executor/runtime-scoped-preflight` GATE
|
|
103
|
+
and other agent-transition hooks.
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
16
107
|
## Agents
|
|
17
108
|
|
|
18
109
|
Location:
|