@pilotspace/add 1.6.0 → 1.7.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 +55 -0
- package/README.md +34 -1
- package/bin/cli.js +449 -58
- package/docs/02-the-flow.md +1 -1
- package/docs/04-step-2-scenarios.md +6 -0
- package/docs/09-the-loop.md +2 -0
- package/docs/appendix-c-glossary.md +8 -0
- package/package.json +4 -1
- package/skill/add/SKILL.md +26 -0
- package/skill/add/fold.md +53 -35
- package/skill/add/graduate.md +2 -1
- package/skill/add/intake.md +1 -0
- package/skill/add/loop.md +18 -4
- package/skill/add/phases/0-setup.md +1 -1
- package/skill/add/phases/2-scenarios.md +2 -0
- package/skill/add/phases/3-contract.md +1 -1
- package/skill/add/phases/6-verify.md +1 -1
- package/skill/add/release.md +2 -1
- package/skill/add/report-template.md +42 -6
- package/skill/add/scope.md +1 -0
- package/tooling/add.py +536 -91
- package/tooling/templates/GLOSSARY.md.tmpl +2 -0
- package/tooling/templates/MILESTONE.md.tmpl +23 -0
- package/tooling/templates/TASK.md.tmpl +5 -1
|
@@ -34,3 +34,5 @@ foundation compaction: the retrospective shrink — collapse a foundation spec's
|
|
|
34
34
|
rolled-up settled line: the single line left when a stable run is collapsed — lossy on prose, lossless on traceability (carries a `see git` pointer).
|
|
35
35
|
per-spec shape: each foundation spec's own tailored rolled-line format (PROJECT §Spec bullets · §Key-Decisions rows · CONVENTIONS learnings · GLOSSARY definition · MODEL_REGISTRY rows), all sharing one eligibility rule: shipped + zero open residues.
|
|
36
36
|
newest-first append-only: every append-only foundation sequence prepends the newest record at the top; the rolled-up settled line anchors at the bottom (the oldest end), so compaction collapses upward.
|
|
37
|
+
ship review: the whole-milestone, cross-task evidence the AI fills at milestone close (ship-by-domain · cross-task evidence · goal-met map), read before the exit-criteria boxes are checked — evidence, not a new gate; the ritual lives in the `add` skill's loop.md.
|
|
38
|
+
release steps: the AI-defined, per-milestone ordered hints to ship a closed milestone, merge being one small step (a PR · an exported hand-off doc · a tag or publish are others); defined at close and fed into the release scope (release.md), never a second flow.
|
|
@@ -24,3 +24,26 @@ Out: <explicitly deferred — the anti-scope-creep list>
|
|
|
24
24
|
|
|
25
25
|
## Exit criteria (observable; map each to the task that delivers it)
|
|
26
26
|
- [ ] User can <observable behavior> (← <slug>)
|
|
27
|
+
|
|
28
|
+
## Close — ship review (AI fills when every task is done — the evidence behind the engine gate, read before the boxes are checked)
|
|
29
|
+
> Whole-milestone, cross-task review the AI fills in. It is the evidence behind the EXISTING engine
|
|
30
|
+
> gate (milestone-done / checking the Exit-criteria boxes) — NOT a new approval. Tool-agnostic.
|
|
31
|
+
|
|
32
|
+
### Ship by domain (what changed, per bounded context)
|
|
33
|
+
- tooling : <add.py / state.json / templates — what shipped, or "untouched">
|
|
34
|
+
- skill : <SKILL.md / phases/* / guides — what shipped, or "untouched">
|
|
35
|
+
- book : <docs/* — what shipped, or "untouched">
|
|
36
|
+
|
|
37
|
+
### Cross-task evidence (one row per task)
|
|
38
|
+
- <slug> : gate=<PASS|RISK-ACCEPTED> · tests=<n green> · residue=<none|note>
|
|
39
|
+
|
|
40
|
+
### Goal met? (map the evidence back to this milestone's Exit criteria — read before the Exit-criteria boxes are checked)
|
|
41
|
+
- [ ] each Exit criterion above is satisfied by a Cross-task evidence row or a Ship-by-domain change (cite which)
|
|
42
|
+
- goal: <restate the milestone goal — and the one evidence line that proves the ship meets it>
|
|
43
|
+
|
|
44
|
+
## Release steps (AI-DEFINED — fill the ordered steps to ship this milestone; engine records, human gate)
|
|
45
|
+
> The AI writes the release steps for THIS milestone here (hints, not engine commands). MERGE is one
|
|
46
|
+
> small step among them. These feed the release scope (release.md) when the cut is bundled.
|
|
47
|
+
- [ ] <step — e.g. open a PR from the Close ship-review above; the human reviews + merges>
|
|
48
|
+
- [ ] <step — e.g. export the ship-review to a hand-off doc, e.g. `pandoc CLOSE.md -o close.docx`>
|
|
49
|
+
- [ ] <step — e.g. tag / publish / deploy (human-run, per release.md)>
|
|
@@ -150,7 +150,11 @@ Reviewed by: <name> · date: <date>
|
|
|
150
150
|
## 7 · OBSERVE — feed the next loop ▸ docs/09-the-loop.md
|
|
151
151
|
|
|
152
152
|
Watch (reuse scenarios as monitors): <error rate / per-rejection rate / latency>
|
|
153
|
-
|
|
153
|
+
|
|
154
|
+
### Spec delta
|
|
155
|
+
Forward changes for the next loop — each re-enters at Specify as the next task. One line
|
|
156
|
+
each, tagged `[SPEC · open|seeded|dropped]`, with evidence (e.g. `[SPEC · open] rate-limit
|
|
157
|
+
the retry path (evidence: prod herd spikes)`). See the `add` skill's `deltas.md`.
|
|
154
158
|
|
|
155
159
|
### Competency deltas
|
|
156
160
|
What did this loop teach the foundation? One line each, tagged by competency
|