@rasensio/aidlc-content 1.28.0 → 1.29.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rasensio/aidlc-content",
3
- "version": "1.28.0",
3
+ "version": "1.29.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -124,22 +124,24 @@ The `aidlc start` CLI automates this; when it is not available, create the insta
124
124
  scope_history: []
125
125
  ```
126
126
  For a worktree instance add `branch: <its-branch>`; for a no-code instance add `branch: null` (blocks Implementation entry until a branch exists). Omit the field entirely otherwise.
127
- 4. For each phase the template defines within the scope, write `phase-<name>.yaml`:
127
+ 4. Read the phase list and each phase's artifacts with `aidlc templates show <template> --scope <scope>` — **do not guess them, and do not copy them from another instance**. Different templates require different artifacts, and an instance seeded with artifacts its template never asked for fails its gates on files nobody needs. If the CLI is unavailable, the definitions are in `@rasensio/aidlc-content`'s `templates/` directory.
128
+ 5. For each phase that command lists, write `phase-<name>.yaml`, using its artifact names verbatim:
128
129
  ```yaml
129
130
  phase: <phase-name>
130
131
  status: pending
131
132
  owner: null
132
- entered_at: null
133
+ entered_at: null # except the initial phase, which gets created_at
133
134
  completed_at: null
134
135
  completed_by: null
135
136
  skip_reason: null
136
137
  artifacts:
137
- - name: <artifact>.md
138
+ - name: <artifact-name-from-templates-show>
138
139
  status: not-started
139
- metrics: { elapsed_seconds: 0, artifact_count: 0 }
140
+ metrics: { elapsed_seconds: 0 }
140
141
  ```
141
- 5. Fire the `on-instance-start` lifecycle actions (see **Lifecycle Actions**). Do not skip this — automation the user configured (branch creation, issue tracking, notifications) depends on it. When the instance was created via the worktree flow or as no-code, set `AIDLC_WORKTREE=1` in the action environment so the branch-creation action no-ops (the worktree flow already made its branch; a no-code instance must not get one).
142
- 6. Report the instance name, phases, state path, and any actions that fired, then begin the initial phase with its skill.
142
+ The initial phase takes `entered_at: <the instance's created_at>`. It is the one phase no transition ever enters, so leaving it null means it completes with `elapsed_seconds: 0` and drops out of every lead-time figure.
143
+ 6. Fire the `on-instance-start` lifecycle actions (see **Lifecycle Actions**). Do not skip this — automation the user configured (branch creation, issue tracking, notifications) depends on it. When the instance was created via the worktree flow or as no-code, set `AIDLC_WORKTREE=1` in the action environment so the branch-creation action no-ops (the worktree flow already made its branch; a no-code instance must not get one).
144
+ 7. Report the instance name, phases, state path, and any actions that fired, then begin the initial phase with its skill.
143
145
 
144
146
  ## Lifecycle Actions
145
147