@turri-dev/cli 0.1.7 → 0.1.8-next.bcca62a
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/README.md +5 -5
- package/dist/btw.d.ts +2 -0
- package/dist/btw.js +2 -2
- package/dist/extension.d.ts +11 -0
- package/dist/extension.js +43 -5
- package/dist/identity.d.ts +6 -1
- package/dist/identity.js +33 -7
- package/dist/loop-tools.js +3 -1
- package/dist/regenerate/cases.js +3 -0
- package/dist/regenerate/conformance-agents.js +2 -2
- package/dist/regenerate/conformance.js +3 -3
- package/dist/regenerate/environment-error.d.ts +6 -0
- package/dist/regenerate/environment-error.js +19 -1
- package/dist/regenerate/jobs.d.ts +9 -0
- package/dist/regenerate/jobs.js +11 -0
- package/dist/regenerate/lineage.d.ts +9 -1
- package/dist/regenerate/lineage.js +47 -12
- package/dist/regenerate/loop.d.ts +6 -0
- package/dist/regenerate/loop.js +26 -5
- package/dist/regenerate/records.d.ts +5 -3
- package/dist/regenerate/records.js +6 -4
- package/dist/regenerate/regenerate.js +3 -3
- package/dist/regenerate/regression.js +2 -2
- package/dist/regenerate/spec-map.js +8 -5
- package/dist/run-report.d.ts +1 -1
- package/dist/run-report.js +6 -0
- package/dist/self-invocation.d.ts +1 -1
- package/dist/self-invocation.js +3 -2
- package/dist/skill-progress.d.ts +1 -1
- package/dist/skill.d.ts +5 -0
- package/dist/skill.js +1 -0
- package/dist/skills.d.ts +14 -0
- package/dist/skills.js +19 -1
- package/dist/surface.d.ts +5 -0
- package/dist/surface.js +18 -0
- package/docs/authoring-plain.md +2 -2
- package/docs/config.md +1 -1
- package/docs/headless.md +4 -0
- package/docs/hosting.md +17 -0
- package/docs/regenerating.md +4 -4
- package/docs/skills-and-gates.md +3 -1
- package/docs/using.md +6 -4
- package/genome/rules/func-specs.md +1 -0
- package/genome/rules/turri-regeneration.md +3 -0
- package/genome/skills/add-functional-spec/SKILL.md +12 -3
- package/genome/skills/add-functional-specs/SKILL.md +12 -2
- package/genome/skills/brood/SKILL.md +2 -0
- package/genome/skills/bud/SKILL.md +2 -0
- package/genome/skills/spawn/SKILL.md +47 -35
- package/package.json +1 -1
|
@@ -26,7 +26,10 @@ The other rules say what a spec means. This one says what turri does with a chan
|
|
|
26
26
|
- A definition changed patches every functional spec that uses its concept, directly or through other definitions. So does a change to a linked resource: the spec or definition linking it is changed though its text is not. A widely used definition is the costly edit - not a spec's position
|
|
27
27
|
- Implementation reqs alone, or definitions no functional spec uses, are a mechanical change: the code adapts, and no test is written or changes what it asserts
|
|
28
28
|
- Test reqs and acceptance tests reach the conformance tests only, never the code
|
|
29
|
+
- A functional spec regenerated again by name has its conformance tests written again once its new code lands: what they check that the spec leaves open - a path, a field, a message the old code chose - goes by the new code
|
|
29
30
|
- Definitions moved to a common module and reqs reordered are recorded, not rendered
|
|
31
|
+
- A functional spec written on its happy path and hardened later - its validation, edge cases and errors added to it - is patched in place each time: growing a spec a step at a time costs no more than writing it whole up front
|
|
32
|
+
- A module's first pulse, when it builds one functional spec - the project set up and the smallest thing that runs - lands on its unit tests with no review
|
|
30
33
|
|
|
31
34
|
## What a coding agent sees
|
|
32
35
|
|
|
@@ -21,7 +21,7 @@ allowed-tools: [read, write, edit, bash, ls, grep, find]
|
|
|
21
21
|
3. **Draft the functional spec** following the rules below, then run the review pass in `concise-specs.md` over the draft — trim it to the shortest wording that keeps every fact before any other check.
|
|
22
22
|
4. **Analyze complexity** — use the `analyze-if-func-spec-too-complex` skill to verify the drafted spec implies ≤ 200 LOC. If too complex, use the `break-down-func-spec` skill to split it, then repeat from step 3 for each resulting spec.
|
|
23
23
|
5. **Check for conflicts** with every existing functional spec — this is critical. Run `analyze-func-specs` **once** with the new spec plus all existing specs (in the file and in any `requires` chain) as a single batch. The batched analyzer returns every conflicting pair in one call — do **not** invoke a pair-by-pair analyzer. For each conflicting pair it reports, run `resolve-spec-conflict` on that pair; re-run `analyze-func-specs` over the touched set after each resolution until the verdict is `COMPATIBLE`.
|
|
24
|
-
6. **
|
|
24
|
+
6. **Insert the spec where it best fits** in the `***functional specs***` section - see Placement below.
|
|
25
25
|
7. **Read the file again** to confirm correct placement and syntax.
|
|
26
26
|
|
|
27
27
|
## Rules
|
|
@@ -35,7 +35,16 @@ Each functional spec must imply a **maximum of 200 changed lines of code**. If t
|
|
|
35
35
|
Specs are rendered incrementally, top to bottom. The renderer has **no knowledge of future specs** — only previously rendered specs are in context. This means:
|
|
36
36
|
- A new spec can reference behavior defined by earlier specs.
|
|
37
37
|
- A new spec **cannot** assume anything about specs that come after it.
|
|
38
|
-
|
|
38
|
+
|
|
39
|
+
### Placement
|
|
40
|
+
|
|
41
|
+
Put the new spec where it best fits the spec as it reads, not at the end by default:
|
|
42
|
+
- **Below every spec it builds on** - each spec whose behaviour it references or extends, and the first spec using each concept it relies on.
|
|
43
|
+
- **Above every existing spec that builds on it** - one that already assumes what the new spec adds.
|
|
44
|
+
- **Within those bounds, beside the specs of the same feature** - usually straight after the last spec it extends, so a feature's specs read as one group.
|
|
45
|
+
- **At the end** only when it starts something new or fits nowhere better.
|
|
46
|
+
|
|
47
|
+
An insertion in the middle costs no more than one at the end: turri regenerates it as one addition, and the specs after it are not rebuilt (`turri-regeneration.md`). Never append just to avoid moving the numbering.
|
|
39
48
|
|
|
40
49
|
### Language Agnosticism
|
|
41
50
|
|
|
@@ -81,4 +90,4 @@ If the functional spec needs verification, use the `add-acceptance-test` skill t
|
|
|
81
90
|
- [ ] Sentences are short, clear, and unambiguous
|
|
82
91
|
- [ ] Trimmed per `concise-specs.md`: nothing obvious, no rationale, no uncheckable adjectives or hedges, plain words throughout
|
|
83
92
|
- [ ] No redundancy with existing specs
|
|
84
|
-
- [ ] Placed
|
|
93
|
+
- [ ] Placed where it best fits: below what it builds on, above what builds on it, beside its feature's specs
|
|
@@ -36,7 +36,7 @@ This skill is `add-functional-spec` applied **one spec at a time, in order**, wi
|
|
|
36
36
|
- every spec from this batch that has already been inserted.
|
|
37
37
|
|
|
38
38
|
The batched analyzer returns every conflicting pair in one call — do **not** loop over pairs invoking a per-pair analyzer. For each conflicting pair it reports, run `resolve-spec-conflict`. Apply the resolution — which may revise the new spec, an existing spec, or both — then re-run `analyze-func-specs` once over the touched set until the verdict is `COMPATIBLE`.
|
|
39
|
-
3. **
|
|
39
|
+
3. **Insert the spec where it best fits** in the `***functional specs***` section - see Placement below.
|
|
40
40
|
5. **Read the file again** to confirm correct placement, ordering, and syntax for the full batch.
|
|
41
41
|
|
|
42
42
|
Order matters: each new spec is inserted only after its complexity and conflict checks pass, so subsequent specs in the batch are always checked against an already-validated file.
|
|
@@ -56,6 +56,16 @@ Specs are rendered incrementally, top to bottom. The renderer has **no knowledge
|
|
|
56
56
|
- A new spec **cannot** assume anything about specs that come after it.
|
|
57
57
|
- Order the batch so that each spec only depends on specs that precede it. If two new specs would otherwise reference each other, the dependent one comes second.
|
|
58
58
|
|
|
59
|
+
### Placement
|
|
60
|
+
|
|
61
|
+
Put each new spec where it best fits the spec as it reads, not at the end by default:
|
|
62
|
+
- **Below every spec it builds on** - each spec whose behaviour it references or extends, the batch's own included, and the first spec using each concept it relies on.
|
|
63
|
+
- **Above every existing spec that builds on it** - one that already assumes what the new spec adds.
|
|
64
|
+
- **Within those bounds, beside the specs of the same feature** - usually straight after the last spec it extends, so a feature's specs read as one group.
|
|
65
|
+
- **At the end** only when it starts something new or fits nowhere better.
|
|
66
|
+
|
|
67
|
+
The batch need not stay together: each spec goes where it fits. An insertion in the middle costs no more than one at the end: turri regenerates it as one addition, and the specs after it are not rebuilt (`turri-regeneration.md`). Never append just to avoid moving the numbering.
|
|
68
|
+
|
|
59
69
|
### Language Agnosticism
|
|
60
70
|
|
|
61
71
|
Write in terms of behavior, concepts, and domain logic — not implementation constructs. Avoid language-specific types, generics syntax, framework annotations, or other constructs tied to a particular language or framework. General technical terms (null values, JSON types, HTTP status codes) are fine. Language-specific guidance belongs in `***implementation reqs***`.
|
|
@@ -115,4 +125,4 @@ If any of the newly added functional specs need verification, use the `add-accep
|
|
|
115
125
|
- [ ] Sentences are short, clear, and unambiguous
|
|
116
126
|
- [ ] Every spec trimmed per `concise-specs.md`: nothing obvious, no rationale, no uncheckable adjectives or hedges, plain words throughout
|
|
117
127
|
- [ ] No redundancy with existing specs or within the batch
|
|
118
|
-
- [ ]
|
|
128
|
+
- [ ] Each spec placed where it best fits: below what it builds on, above what builds on it, beside its feature's specs
|
|
@@ -15,6 +15,8 @@ description: >-
|
|
|
15
15
|
specs are the source of truth).
|
|
16
16
|
allowed-tools: [read, write, edit, bash, ls, grep, find, write_spec_diff]
|
|
17
17
|
metadata:
|
|
18
|
+
# Started only by the person, with its command - /brood - never by the model on its own.
|
|
19
|
+
command-only: true
|
|
18
20
|
# What each phase does, in a line - shown under the skill's progress while it runs.
|
|
19
21
|
phases:
|
|
20
22
|
intent: "what problem this solves, for whom, and how you will know it works"
|
|
@@ -13,6 +13,8 @@ description: >-
|
|
|
13
13
|
to start fast) or for editing generated code (the .plain specs are the source of truth).
|
|
14
14
|
allowed-tools: [read, write, edit, bash, ls, grep, find, write_spec_diff]
|
|
15
15
|
metadata:
|
|
16
|
+
# Started only by the person, with its command - /bud - never by the model on its own.
|
|
17
|
+
command-only: true
|
|
16
18
|
# What each phase does, in a line - shown under the skill's progress while it runs.
|
|
17
19
|
phases:
|
|
18
20
|
intent: "what the feature is for, who it serves, and what it leaves out"
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: spawn
|
|
3
3
|
description: >-
|
|
4
|
-
The quick twin of `brood
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
The quick twin of `brood`, built for the shortest time to first regeneration: something running
|
|
5
|
+
in minutes, then grown a step at a time, the way a developer starts - the smallest thing that runs first, then the
|
|
6
|
+
main thing half-built, run and tried, then the next. Asks what the user wants to build only when
|
|
7
|
+
their message does not say, and the stack only when it cannot choose one this machine builds;
|
|
8
|
+
sets up the module, writes a first spec - the smallest thing that runs - that starts the first build at once, then the
|
|
9
|
+
first slices of the product on their happy path, and hands over: the user tries each slice as it
|
|
10
|
+
lands and says what next. Conformance tests are off unless the user asks for them. No gates. Use
|
|
11
|
+
when the user wants to start a new project fast, or says to just build it. For a full interview
|
|
12
|
+
that settles the stack, the testing and every feature with the user, use `brood`. Not for adding a
|
|
13
|
+
feature to an existing project (use `bud`).
|
|
14
14
|
allowed-tools: [read, write, edit, bash, ls, grep, find, write_spec_diff]
|
|
15
15
|
metadata:
|
|
16
|
+
# Started only by the person, with its command - /spawn - never by the model on its own.
|
|
17
|
+
command-only: true
|
|
16
18
|
# What each phase does, in a line - shown under the skill's progress while it runs.
|
|
17
19
|
phases:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
start: "what you want to build, and the stack - asked only when it is not clear"
|
|
21
|
+
skeleton: "sets up the project and writes the smallest spec that runs, so the first build can start"
|
|
22
|
+
regenerate: "writes the first features, simplest version first - each starts a build"
|
|
21
23
|
# It writes its spec changes one after another on its own: no answer between them.
|
|
22
24
|
paced: false
|
|
23
25
|
---
|
|
@@ -28,9 +30,11 @@ Load the `***plain` syntax rules before writing anything - they are in the syste
|
|
|
28
30
|
|
|
29
31
|
## Role
|
|
30
32
|
|
|
31
|
-
Act as a `***plain` spec writer who
|
|
33
|
+
Act as a `***plain` spec writer who gets something running first. The only output is `.plain` specification files and the project's testing scripts and config - never code. Code is generated from the specs into `plain_modules/`, read-only; never write or edit it. Say everything in terms of specs: "I'll put this in the spec."
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
What counts is the time to first regeneration: how soon the first build starts, and the user can try what it built. Work the way a developer starts a project - the smallest thing that runs first, then the main thing, half-built, run and tried, then the next thing. Never specify the whole product up front: write a little, let it be built and tried, and let what the user says next decide the step after.
|
|
36
|
+
|
|
37
|
+
What the software does is the user's to say. Write a feature only when the user described it - never invent one, however likely it seems. Naming the kind of software says what it is, not what it does, and a feature made up to fill the gap is one the user has to read, understand and take out. How it is built is yours to choose, on best effort - the stack when the user leaves it to you, the architecture, the tests, how the features the user described are cut into slices and their order. Choose what a careful engineer would - common, well supported, simple - and say what you chose in a line. The user corrects it afterwards in the conversation, where every change is a spec diff.
|
|
34
38
|
|
|
35
39
|
Read what is already there first: an existing `.plain` file, `config.turri.yaml` (or the old `config.yaml`, with no `config.turri.yaml`), `template/`, `test_scripts/`. What the project already settled - a stack, a template, a testing script, a `conformance-tests:` decision - is kept, not chosen again.
|
|
36
40
|
|
|
@@ -39,40 +43,48 @@ Read what is already there first: an existing `.plain` file, `config.turri.yaml`
|
|
|
39
43
|
- Templates go in `template/`; import paths omit the `template/` prefix. Resources go in `resources/`.
|
|
40
44
|
- Generated code lands in `plain_modules/<module>/code/`, conformance tests in `plain_modules/<module>/tests/` (both read-only).
|
|
41
45
|
- One module, unless the intent needs two stacks - a web frontend and an API backend. Then two modules side by side, neither requiring the other, sharing what they both mean through one imported module in `template/`. Each is on a stack of its own, whose testing scripts are named in `config.turri.<stack>.yaml` beside `config.turri.yaml` (`unittests-script:`, `conformance-tests-script:`) - `config.turri.backend.yaml`, `config.turri.frontend.yaml`. Name each stack after the module it builds - `config.turri.backend.yaml` for `backend.plain` - and that module is built with it by itself, with nothing to choose; a stack named otherwise is passed as `stack` to `regenerate` in the chat, or `--stack <stack>` on the command line.
|
|
46
|
+
- A **slice** is one functional spec on its happy path: what the feature does when the input is right - no validation, no edge cases, no permissions, no persistence unless keeping data is the point. It is hardened later by changing that spec, which turri patches in place.
|
|
42
47
|
|
|
43
48
|
## Steps
|
|
44
49
|
|
|
45
|
-
###
|
|
50
|
+
### start
|
|
51
|
+
|
|
52
|
+
Find out what to build and on which stack - asking as little as the user's message allows, ideally nothing.
|
|
46
53
|
|
|
47
|
-
|
|
54
|
+
- **What to build.** When the user's message says what kind of software it is - a web app, an API, a CLI - ask nothing: that is enough to start. Otherwise ask one open question with `ask_user` and `free_form: true`: what should it do? Ask no follow-ups. An answer that names only the kind of software is enough too: the first spec is built, and what it does comes later, from the user.
|
|
55
|
+
- **The stack.** It has to be one this machine can build: the agents use its toolchains and install none. `<toolchains on this machine>`, in your instructions, says which languages it can build now. When the user named a stack, take it. When they did not, choose one yourself from the standard library's stacks for the kind of software it is (the stdlib rule, in `<plain-rules>`), in a language the machine can build now - ask nothing. Ask only when the user named a stack in a language the machine lacks: say what to install first and that `turri doctor` checks it, and ask one `ask_user` question - wait for that, or let you choose another.
|
|
48
56
|
|
|
49
|
-
|
|
57
|
+
Then say in three lines what you will build first and on which stack, and carry on. Ask for no confirmation, and write nothing to disk in this step.
|
|
50
58
|
|
|
51
|
-
|
|
59
|
+
### skeleton
|
|
52
60
|
|
|
53
|
-
|
|
61
|
+
Set the module up and start the first build - on your own, no questions.
|
|
54
62
|
|
|
55
|
-
|
|
63
|
+
1. **The module and its stack.** Create the `.plain` file (and the template, when it helps), with its frontmatter and a one-sentence product description - from what the user said, and nothing more, and write the stack into `***implementation reqs***`: the language, the framework, storage, the architecture and layout - one requirement per fact, at the right scope, the shared ones on the template. Follow `genome/rules/impl-reqs.md`. When the standard library has a template for the stack, import it and write only what the module needs beyond it.
|
|
64
|
+
2. **Unit tests.** A `:UnitTests:` requirement - the framework, and how they are run - unless the imported stack already sets it, and the unit testing script. Keep one turri already finds (named in `config.turri.yaml`, or the one `run_unittests*.sh` in the root or `test_scripts/`); otherwise write `test_scripts/run_unittests_<language>.sh` by following the `implement-unit-testing-script` skill. Never link it from the specs. The script runs the stack's static checks with the unit tests - the formatter in check mode, the linter, the type checker - and they count as the tests do.
|
|
65
|
+
3. **Conformance tests: off.** Keep a `conformance-tests:` decision the project's config already holds - `config.turri.yaml`, or the old `config.yaml`. Otherwise write `conformance-tests: false` into `config.turri.yaml`, changing nothing else in it - a project with only a `config.yaml` has it copied to `config.turri.yaml` first, and `config.yaml` is never written - and write no `***test reqs***`, import no standard library conformance template, and write no conformance testing script. Only when the user asked for conformance tests, turn them on instead: `conformance-tests: true`, the `***test reqs***` - `:ConformanceTests:` requirements following `genome/rules/test-reqs.md`, or the stack's standard library conformance template imported when the stack is from it - and `test_scripts/run_conformance_tests_<language>.sh`, by following the `implement-conformance-testing-script` skill, unless turri already finds one.
|
|
66
|
+
4. Run `validate` on every module you wrote, and fix what it finds.
|
|
67
|
+
5. **The first spec.** Write the module's first functional spec with `write_spec_diff`: the smallest thing that runs and shows something - the server answers one request (`GET /` with the app's name), the command-line tool prints its usage, the page shows the app's name, the library exposes one call with a fixed result. It holds no product logic, so its build only sets the project up and lands fast - and its pulse is not reviewed. Follow `add-functional-spec` for its wording, and keep it to that one observable result.
|
|
56
68
|
|
|
57
|
-
|
|
69
|
+
`write_spec_diff` takes a git diff of the `.plain` file(s): `diff --git a/<file> b/<file>`, `--- a/<file>`, `+++ b/<file>`, then the hunks with a few lines of context, paths from the project root. It applies the change and queues its build. Go straight on to the next step - never wait for a build.
|
|
58
70
|
|
|
59
|
-
|
|
60
|
-
2. **Unit tests.** A `:UnitTests:` requirement - the framework, and how they are run - unless the imported stack already sets it, and the unit testing script, for the stack's test framework. Keep one turri already finds (named in `config.turri.yaml`, or the one `run_unittests*.sh` in the root or `test_scripts/`); otherwise write `test_scripts/run_unittests_<language>.sh` by following the `implement-unit-testing-script` skill. Never link it from the specs. The script runs the stack's static checks with the unit tests - the formatter in check mode, the linter, the type checker - and they count as the tests do.
|
|
61
|
-
3. **Conformance tests: off**, so each feature is built fast. Keep a `conformance-tests:` decision the project's config already holds - `config.turri.yaml`, or the old `config.yaml`. Otherwise write `conformance-tests: false` into `config.turri.yaml`, changing nothing else in it - a project with only a `config.yaml` has it copied to `config.turri.yaml` first, and `config.yaml` is never written - and write no `***test reqs***`, import no standard library conformance template, and write no conformance testing script. Only when the user asked for conformance tests, turn them on instead: `conformance-tests: true`, the `***test reqs***` - `:ConformanceTests:` requirements for the framework, how the tests reach the software (a subprocess, HTTP against a server they start, the public entry point), setup and outside services, and the command that runs the suite, following `genome/rules/test-reqs.md`, or the stack's standard library conformance template imported when the stack is from it - and `test_scripts/run_conformance_tests_<language>.sh`, by following the `implement-conformance-testing-script` skill, unless turri already finds one.
|
|
71
|
+
### regenerate
|
|
62
72
|
|
|
63
|
-
|
|
73
|
+
Write the first slices of what the user described, each a spec diff, while the first spec builds - on your own, without asking.
|
|
64
74
|
|
|
65
|
-
|
|
75
|
+
**Only what the user described.** Every slice comes from something the user said the software does. When they said only what kind of software it is, write no slice: the step writes nothing, and the handover invites them to say what it should do first.
|
|
66
76
|
|
|
67
|
-
|
|
77
|
+
1. **The main slice.** The one thing the user said the software is for, on its happy path - the half-built main function a developer writes first and runs. Its concepts go into `***definitions***` in the same change, following `add-concept`; its functional spec follows `add-functional-spec`, placed where it fits.
|
|
78
|
+
2. **One more slice at most** - the next thing the user described, also on its happy path. Stop there: two slices beyond the first spec. What the user says once they have tried the first ones decides the rest, and slices written far ahead are slices to rework.
|
|
79
|
+
3. **Write each with `write_spec_diff`**, one after another - never wait for a build. Never change a `.plain` file in this step by any other means. Correct a change you find wrong once written with a diff and `fixes_earlier`, never by editing the file.
|
|
68
80
|
|
|
69
|
-
|
|
70
|
-
2. **The description first.** A one-sentence product description in the frontmatter, as the first spec diff.
|
|
71
|
-
3. **Then one spec diff per feature**, in order, holding everything that feature needs across sections: the concepts it introduces, into `***definitions***` - defined in the same change as the functional spec that first uses them, following `add-concept`; a technology-free policy it states, into `***implementation reqs***`; and its functional spec, following `add-functional-spec`. Decide its edge cases, validation rules and permissions yourself, the way the intent implies, and write them into the spec.
|
|
72
|
-
4. **Write each with `write_spec_diff`** - a git diff of the `.plain` file(s): `diff --git a/<file> b/<file>`, `--- a/<file>`, `+++ b/<file>`, then the hunks with a few lines of context, paths from the project root. It applies the change and queues its render spec diff job - with conformance on, its conformance tests follow it. Go straight on to the next feature - never wait for a build. Never change a `.plain` file in this step by any other means.
|
|
81
|
+
Write no validation, no edge cases and no hardening in this step: they come later, as changes to these specs, once the user has tried the slices.
|
|
73
82
|
|
|
74
|
-
The step is done
|
|
83
|
+
The step is done once the slices are written - or at once, when the user described no feature. Never stop part-way to ask whether to go on: nobody answers in this step, and the skill ends when your turn does.
|
|
75
84
|
|
|
76
|
-
|
|
85
|
+
End with the handover, in a few short lines, ending on no question:
|
|
77
86
|
|
|
78
|
-
|
|
87
|
+
- what is being built now - the first spec, then each slice - and that each can be tried as it lands: when a pulse lands, the conversation releases it and says where to try it (open this URL, run this command);
|
|
88
|
+
- with no feature described: that the user says what it should do first - in their own words, one thing at a time - and each becomes a spec diff. Suggest no feature of your own;
|
|
89
|
+
- otherwise, the next slices you would write, in order - the rest of what the user described, on its happy path, then hardening what is there (validation, edge cases, errors) - and that the user says `go on` for the next one, or asks for anything else instead;
|
|
90
|
+
- that conformance tests are off unless they were asked for - one line in `config.turri.yaml`, `conformance-tests: true`, with the test reqs and the script added in the conversation.
|