@pilotspace/add 1.6.0 → 1.7.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 +82 -0
- package/README.md +34 -1
- package/bin/cli.js +630 -57
- package/docs/02-the-flow.md +1 -1
- package/docs/04-step-2-scenarios.md +6 -0
- package/docs/08-step-6-verify.md +4 -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 +30 -2
- package/skill/add/fold.md +53 -35
- package/skill/add/graduate.md +2 -1
- package/skill/add/intake.md +6 -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 +10 -1
- package/skill/add/release.md +2 -1
- package/skill/add/report-template.md +83 -19
- package/skill/add/scope.md +41 -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 +12 -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)>
|
|
@@ -133,6 +133,13 @@ Constraints: do NOT change any test or the contract; allow-list packages only; a
|
|
|
133
133
|
- [ ] layering & dependencies follow CONVENTIONS.md
|
|
134
134
|
- [ ] a person reviewed and approved the change
|
|
135
135
|
|
|
136
|
+
### Build expectations — what "correct" looks like (fill BEFORE build; confirm each at the gate)
|
|
137
|
+
> Pre-declare the OBSERVABLE outcomes a correct build must produce — derived from §2 SCENARIOS
|
|
138
|
+
> + §3 CONTRACT — so this gate checks the build is RIGHT, not merely that tests are green. Each
|
|
139
|
+
> row is evidence you can SEE, not a restatement of a test name.
|
|
140
|
+
- [ ] <observable outcome a correct build must produce> — confirmed by <how / where>
|
|
141
|
+
- [ ] <another observable outcome> — confirmed by <evidence seen>
|
|
142
|
+
|
|
136
143
|
### Deep checks — do not skim (fill the path that applies; the resolver judges which)
|
|
137
144
|
- [ ] WIRING (code) — every new symbol is referenced; record where / how confirmed
|
|
138
145
|
- [ ] DEAD-CODE (code) — no new unused or orphaned symbol introduced
|
|
@@ -150,7 +157,11 @@ Reviewed by: <name> · date: <date>
|
|
|
150
157
|
## 7 · OBSERVE — feed the next loop ▸ docs/09-the-loop.md
|
|
151
158
|
|
|
152
159
|
Watch (reuse scenarios as monitors): <error rate / per-rejection rate / latency>
|
|
153
|
-
|
|
160
|
+
|
|
161
|
+
### Spec delta
|
|
162
|
+
Forward changes for the next loop — each re-enters at Specify as the next task. One line
|
|
163
|
+
each, tagged `[SPEC · open|seeded|dropped]`, with evidence (e.g. `[SPEC · open] rate-limit
|
|
164
|
+
the retry path (evidence: prod herd spikes)`). See the `add` skill's `deltas.md`.
|
|
154
165
|
|
|
155
166
|
### Competency deltas
|
|
156
167
|
What did this loop teach the foundation? One line each, tagged by competency
|