@rasensio/aidlc-content 2.34.0 → 2.36.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
@@ -36,10 +36,11 @@ Then, per piece of work:
36
36
  aidlc start quick-feature --name my-thing
37
37
  aidlc status
38
38
  aidlc continue
39
- aidlc transition my-thing
39
+ aidlc transition 20261201-my-thing
40
40
  ```
41
41
 
42
- `start` creates the folder and a branch. `continue` resumes from the next incomplete step, loading
42
+ `start` puts the date in front of the name (`my-thing`, started on 2026-12-01, is
43
+ `20261201-my-thing`), so later commands take the full name. `start` creates the folder and a branch. `continue` resumes from the next incomplete step, loading
43
44
  only the context that step needs. `transition` evaluates the gates and advances the phase — it
44
45
  refuses if the phase's documents are not done, which is the point.
45
46
 
@@ -76,6 +77,16 @@ instance, phase and artifact names filled in. When the `CI` environment variable
76
77
  words that block for a pipeline and names no command that changes lifecycle state. `--json` output
77
78
  carries no such block.
78
79
 
80
+ **Flow** decides who crosses a gate in an attended session. By default (`stepwise`) the agent stops
81
+ at the end of each phase and tells you to run `aidlc transition` in a new chat, because a fresh
82
+ session is the cheap one. With `flow: continuous` in `instance.yaml`, the agent runs the transition
83
+ itself and carries on in the same chat once nothing is open — it still asks every open question and
84
+ waits, and the safety stops still stop. Set it at triage (`aidlc roadmap triage <item> backlog --flow
85
+ continuous`), at start (`aidlc start --continuous`), or on a running instance (`aidlc flow <instance>
86
+ continuous`; `aidlc flow <instance>` prints the current one). It changes no gate, and it changes
87
+ nothing under autopilot. The cost is the context the one chat carries from phase to phase, which
88
+ `aidlc cost context` still reports at each boundary.
89
+
79
90
  Three gates are worth knowing because they block real work (four, in verified mode):
80
91
 
81
92
  - The **traceability gate** requires every active acceptance criterion in `requirements.md` to be
@@ -60,6 +60,13 @@ The `--worktree` flag does this for you, including the branch-prefix convention
60
60
  entry-point skill offers exactly three options — separate worktree, stop, or continue with no code
61
61
  changes — and takes none of them without being told.
62
62
 
63
+ A new instance's name starts with its creation date, `YYYYMMDD-<name>`, so the folders in
64
+ `.aidlc/state/` list oldest to newest. The date is the UTC date of `created_at`. A name that
65
+ already starts with eight digits is kept, and the branch carries that date once
66
+ (`feat/20261201-my-thing`). With `--roadmap-item` and no `--name`, the instance takes the item's
67
+ file name, date included. Instances created before this are not renamed. The code is
68
+ `core/instance-name.ts`.
69
+
63
70
  The hook declarations are tracked, but their capture-shim target is machine-local and gitignored.
64
71
  `aidlc start --worktree` now regenerates that shim in the new checkout before returning,
65
72
  using the same helper as `aidlc doctor`; a real worktree test keeps the raw, unarmed Git path as its
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rasensio/aidlc-content",
3
- "version": "2.34.0",
3
+ "version": "2.36.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: