@rasensio/aidlc-content 2.34.0 → 2.35.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/docs/index.yaml CHANGED
@@ -42,7 +42,7 @@ entries:
42
42
  title: The lifecycle
43
43
  file: lifecycle.md
44
44
  source: packages/cli/src/core
45
- commands: [init, start, continue, status, transition, gate, menu, amend, templates, spec, cross-check, revert, verify]
45
+ commands: [init, start, continue, status, transition, gate, menu, amend, templates, spec, cross-check, revert, verify, flow]
46
46
 
47
47
  - id: state-and-concurrency
48
48
  kind: topic
package/docs/lifecycle.md CHANGED
@@ -76,6 +76,16 @@ instance, phase and artifact names filled in. When the `CI` environment variable
76
76
  words that block for a pipeline and names no command that changes lifecycle state. `--json` output
77
77
  carries no such block.
78
78
 
79
+ **Flow** decides who crosses a gate in an attended session. By default (`stepwise`) the agent stops
80
+ at the end of each phase and tells you to run `aidlc transition` in a new chat, because a fresh
81
+ session is the cheap one. With `flow: continuous` in `instance.yaml`, the agent runs the transition
82
+ itself and carries on in the same chat once nothing is open — it still asks every open question and
83
+ waits, and the safety stops still stop. Set it at triage (`aidlc roadmap triage <item> backlog --flow
84
+ continuous`), at start (`aidlc start --continuous`), or on a running instance (`aidlc flow <instance>
85
+ continuous`; `aidlc flow <instance>` prints the current one). It changes no gate, and it changes
86
+ nothing under autopilot. The cost is the context the one chat carries from phase to phase, which
87
+ `aidlc cost context` still reports at each boundary.
88
+
79
89
  Three gates are worth knowing because they block real work (four, in verified mode):
80
90
 
81
91
  - The **traceability gate** requires every active acceptance criterion in `requirements.md` to be
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rasensio/aidlc-content",
3
- "version": "2.34.0",
3
+ "version": "2.35.0",
4
4
  "bugs": "https://github.com/rasensio/aidlc-feedback/issues",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -16,7 +16,10 @@ comparable work at 76k.
16
16
  Three things follow:
17
17
 
18
18
  1. **Cross a phase boundary in a new session** whenever the platform allows it. The
19
- lifecycle is designed for this: state lives in files, not in the conversation.
19
+ lifecycle is designed for this: state lives in files, not in the conversation. The one
20
+ exception is an instance whose `flow` is `continuous`: it crosses in the same chat, as
21
+ **The next-steps rule** says, and `aidlc cost context` is still reported at each
22
+ boundary, as information only.
20
23
  2. **Re-read only what the phase you are entering names.** Each phase skill lists exactly
21
24
  that under *Entering in a fresh session*. The list is the whole list — an artifact not
22
25
  on it is not needed to start, and reading it "for context" is the charge this rule
@@ -35,6 +35,8 @@ When the next step is one a person does outside the terminal — a sign-in, an u
35
35
 
36
36
  If the CLI printed a `Next steps:` block, use it — it names the fix for each failure it reported.
37
37
 
38
+ **Continuous flow.** In an attended session on an instance whose `instance.yaml` has `flow: continuous`, when the phase's exit criteria are met, do not end the turn: run `aidlc transition <instance>` yourself, read the next phase skill's *Entering in a fresh session* list, and carry on in the same chat. Open decisions still go first through the Question Protocol: ask, and wait for the answer; with none open, cross without stopping. These still end the turn as above: a gate or transition failure that needs the user's decision, an open critical review finding, the implementation phase's sensitive-operation and Security Confirmation stops, and the release boundary. Any other `flow`, or none, is `stepwise`: stop as above. Under `AIDLC_UNATTENDED=1` this paragraph does not apply.
39
+
38
40
  ## What this rule does not do
39
41
 
40
42
  It changes what you report, not what you write. It adds no writer of `phase-<name>.yaml` or `transitions.log`: the Completion section of each skill still says how the phase is closed.
@@ -203,6 +203,8 @@ When the project declares `run` in `roadmap.item_fields`, the same moment also s
203
203
 
204
204
  Never write `run:` without the person's answer, for the reason the rank is never written without one. An item with no `run:` is one autopilot may build, so leaving it unset is a choice, not a neutral default. Projects that do not declare `run` triage exactly as before.
205
205
 
206
+ When the project also declares `flow`, the same question carries it: propose `stepwise` (stop at each gate) unless the item or the person asks for `continuous` (an attended session crosses each gate itself, in one chat) — for example "rank 3, attended, continuous". Write it with `aidlc roadmap triage <item> backlog --flow <value>`, and only from the person's answer.
207
+
206
208
  ## Milestones
207
209
 
208
210
  A milestone is a goal a set of items serves — "Stage 1", "first-customer readiness". A roadmap has them when **`.aidlc/roadmap/milestones.yaml`** exists: an ordered `milestones:` list, each entry with an `id` (lowercase letters, digits and hyphens), a `title` and a one-line `exit` test. Without that file nothing in this section applies, and the roadmap reads and ranks exactly as it would otherwise.
@@ -23,6 +23,7 @@ Resume an in-progress lifecycle instance efficiently. Determine where work left
23
23
  - Current phase
24
24
  - Template name
25
25
  - Scope
26
+ - Flow — `flow`; absent or any other value is `stepwise`. When it is `continuous`, cross each phase boundary as the continuous clause of **The next-steps rule** (`.aidlc/resources/rules/next-steps.md`) says.
26
27
 
27
28
  Also check `<git-common-dir>/aidlc/retro-pending/` for markers. A marker for this instance → run the **aidlc-retrospective** skill first. A marker whose instance has no state dir and no registry entry is stale — remove it and report the cleanup in one line.
28
29
  2. **Check claim.** Claims live in `<git-common-dir>/aidlc/claims/<instance>.yaml` (resolve via `git rev-parse --git-common-dir`); fall back to the `claim:` field in `instance.yaml` outside a git repo or for unmigrated instances. If another session holds the claim: