@rasensio/aidlc-content 1.10.1 → 1.10.2
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
|
@@ -53,7 +53,7 @@ Promotion is where the backlog meets the lifecycle:
|
|
|
53
53
|
1. If the idea's `depends_on` names ideas that are still `raw`, say so and confirm before proceeding — promoting out of order is allowed but should be deliberate.
|
|
54
54
|
2. Choose a template and scope as usual (defaults from `.aidlc/config.yaml`; see **aidlc-getting-started**).
|
|
55
55
|
3. Create the instance per "Creating an Instance" in **aidlc-overview** — including firing `on-instance-start` lifecycle actions.
|
|
56
|
-
4. Seed the instance with the idea file: Full scope → the idea is raw material the Ideation phase refines into `
|
|
56
|
+
4. Seed the instance with the idea file: Full scope → the idea is raw material the Ideation phase refines into that phase's required artifact (`idea.md` for the feature templates, `research-question.md` for `spike`); Standard scope → the idea is input context for Requirements.
|
|
57
57
|
5. Update the idea's frontmatter: `status: promoted`, `promoted_to: <instance-name>`.
|
|
58
58
|
|
|
59
59
|
## Drop
|
package/skills/10-ideation.md
CHANGED
|
@@ -17,7 +17,12 @@ Explore the problem space before committing to a solution. Define what we are bu
|
|
|
17
17
|
|
|
18
18
|
## Required Artifacts
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
The artifacts your template's ideation phase declares in `required_artifacts` — `idea.md` for the
|
|
21
|
+
feature templates, `research-question.md` for `spike`. Run `aidlc continue` or read
|
|
22
|
+
`phase-ideation.yaml` in the instance state dir if unsure which applies.
|
|
23
|
+
|
|
24
|
+
Whatever the filename, the content is the same: problem statement, goals, constraints, initial ideas,
|
|
25
|
+
and open questions.
|
|
21
26
|
|
|
22
27
|
## Instructions
|
|
23
28
|
|
|
@@ -27,11 +32,11 @@ Explore the problem space before committing to a solution. Define what we are bu
|
|
|
27
32
|
4. **Generate options.** Propose 2-3 approaches. For each, note trade-offs (complexity, time, risk).
|
|
28
33
|
5. **Identify unknowns.** List open questions that need answers before requirements can be written.
|
|
29
34
|
6. **Record discoveries in the knowledge graph.** Persist what you learned about the codebase with `aidlc knowledge add` / `relate` (modules, services, conventions, debt). On a brownfield project, seed the graph first with `aidlc discover`. The phase gate requires at least 3 module entities, 2 depends-on relationships, and 1 convention entity.
|
|
30
|
-
7. **Summarize.** Write
|
|
35
|
+
7. **Summarize.** Write the phase's required artifact (see Required Artifacts above) with sections: Problem Statement, Goals, Constraints, Explored Options, Open Questions.
|
|
31
36
|
|
|
32
37
|
## Exit Criteria
|
|
33
38
|
|
|
34
|
-
-
|
|
39
|
+
- Every artifact the template's ideation phase requires exists, each containing at minimum a problem statement and one defined goal
|
|
35
40
|
- The user has confirmed the direction (which option to pursue or a synthesis)
|
|
36
41
|
- When the project uses the knowledge graph: it contains ≥3 module entities, ≥2 depends-on relationships, and ≥1 convention entity (checked automatically by `aidlc gate` / `aidlc transition`)
|
|
37
42
|
|
|
@@ -21,7 +21,7 @@ Translate the ideation output (or the user's direct request) into precise, testa
|
|
|
21
21
|
|
|
22
22
|
## Instructions
|
|
23
23
|
|
|
24
|
-
1. **Gather requirements.** If a Full scope, read `
|
|
24
|
+
1. **Gather requirements.** If a Full scope, read the ideation phase's artifact for context (`idea.md` for the feature templates, `research-question.md` for `spike`; `phase-ideation.yaml` names it). Otherwise, ask the user to describe desired behavior. Read all active Guidance_Layers from `.aidlc/guidance/index.yaml` (including `lessons.md` — lessons from completed instances) so fresh guidance applies without recompiling skills.
|
|
25
25
|
2. **Write user stories.** Use the format: "As a [role], I want [capability], so that [benefit]."
|
|
26
26
|
3. **Define acceptance criteria.** Each criterion must be:
|
|
27
27
|
- Specific and unambiguous
|
package/skills/50-testing.md
CHANGED
|
@@ -18,7 +18,9 @@ Verify that the implementation satisfies all acceptance criteria. Produce eviden
|
|
|
18
18
|
## Required Artifacts
|
|
19
19
|
|
|
20
20
|
- Test files covering acceptance criteria
|
|
21
|
-
-
|
|
21
|
+
- The artifacts your template's testing phase declares in `required_artifacts` — `test-results.md` for
|
|
22
|
+
every built-in template. Read `phase-testing.yaml` in the instance state dir if unsure. Whatever the
|
|
23
|
+
filename, the content is the test plan, results summary, and coverage notes.
|
|
22
24
|
|
|
23
25
|
## Instructions
|
|
24
26
|
|
|
@@ -29,7 +31,7 @@ Verify that the implementation satisfies all acceptance criteria. Produce eviden
|
|
|
29
31
|
- Property-based tests where inputs have broad domains
|
|
30
32
|
- **Reference AC IDs.** When `requirements.md` defines `AC-n` criteria, each test names the criteria it verifies — in the test name or a comment (e.g. `// AC-3`). The testing-phase gate scans test files for these references and fails on any active criterion with none. If two instances define the same ID, qualify the reference as `<instance>/AC-n`.
|
|
31
33
|
3. **Run tests.** Execute the project's test suite. All new tests must pass.
|
|
32
|
-
4. **Document results.** Write
|
|
34
|
+
4. **Document results.** Write the phase's required artifact (see Required Artifacts above) with:
|
|
33
35
|
- Test plan (what was tested and why)
|
|
34
36
|
- Results (pass/fail counts, any notable findings)
|
|
35
37
|
- Coverage notes (which criteria are covered, any gaps)
|
|
@@ -44,7 +46,7 @@ Verify that the implementation satisfies all acceptance criteria. Produce eviden
|
|
|
44
46
|
|
|
45
47
|
- All acceptance criteria have corresponding test coverage
|
|
46
48
|
- All tests pass
|
|
47
|
-
-
|
|
49
|
+
- Every artifact the template's testing phase requires exists, with a results summary
|
|
48
50
|
- No critical bugs remain open
|
|
49
51
|
|
|
50
52
|
## Guidance
|
package/skills/60-deployment.md
CHANGED
|
@@ -19,12 +19,15 @@ Prepare and execute the release. Ensure all preceding phases are complete, all g
|
|
|
19
19
|
|
|
20
20
|
## Required Artifacts
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
The artifacts your template's deployment phase declares in `required_artifacts` —
|
|
23
|
+
`deployment-record.md` for every built-in template. Read `phase-deployment.yaml` in the instance state
|
|
24
|
+
dir if unsure. Whatever the filename, the content is the release plan, rollback strategy, and
|
|
25
|
+
deployment checklist.
|
|
23
26
|
|
|
24
27
|
## Instructions
|
|
25
28
|
|
|
26
|
-
1. **Validate readiness.** Check the phase state files: every preceding required phase must be complete (all required artifacts `complete`). If any gate fails, address the gap before proceeding. (CLI shortcut: `aidlc gate deployment
|
|
27
|
-
2. **Write release plan.** Document in
|
|
29
|
+
1. **Validate readiness.** Check the phase state files: every preceding required phase must be complete (all required artifacts `complete`). If any gate fails, address the gap before proceeding. (CLI shortcut: `aidlc gate <instance> deployment` — the phase name is the second argument, not the first.)
|
|
30
|
+
2. **Write release plan.** Document in the phase's required artifact (see Required Artifacts above):
|
|
28
31
|
- What is being deployed (version, changes summary)
|
|
29
32
|
- Target environment(s)
|
|
30
33
|
- Deployment steps in order
|
|
@@ -39,7 +42,7 @@ Prepare and execute the release. Ensure all preceding phases are complete, all g
|
|
|
39
42
|
|
|
40
43
|
## Exit Criteria
|
|
41
44
|
|
|
42
|
-
-
|
|
45
|
+
- Every artifact the template's deployment phase requires exists, with release plan and rollback strategy
|
|
43
46
|
- Deployment executed successfully (or plan approved for manual execution)
|
|
44
47
|
- Post-deployment verification confirms expected behavior
|
|
45
48
|
|
package/skills/70-maintenance.md
CHANGED
|
@@ -17,7 +17,10 @@ Ensure the deployed feature remains healthy. Update documentation, address feedb
|
|
|
17
17
|
|
|
18
18
|
## Required Artifacts
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
The artifacts your template's maintenance phase declares in `required_artifacts` —
|
|
21
|
+
`maintenance-plan.md` for `full-feature`. Read `phase-maintenance.yaml` in the instance state dir if
|
|
22
|
+
unsure. Whatever the filename, the content is post-deployment notes, monitoring status, known issues,
|
|
23
|
+
and follow-up items.
|
|
21
24
|
|
|
22
25
|
## Instructions
|
|
23
26
|
|
|
@@ -33,7 +36,7 @@ Ensure the deployed feature remains healthy. Update documentation, address feedb
|
|
|
33
36
|
|
|
34
37
|
## Exit Criteria
|
|
35
38
|
|
|
36
|
-
-
|
|
39
|
+
- Every artifact the template's maintenance phase requires exists, with post-deployment status
|
|
37
40
|
- Documentation is updated to reflect the delivered changes
|
|
38
41
|
- No critical issues remain unaddressed
|
|
39
42
|
- Follow-up items are documented (even if deferred to new instances)
|
|
@@ -22,7 +22,7 @@ Run the retro **before** any completion cleanup (worktree removal, claim release
|
|
|
22
22
|
## Retro Flow
|
|
23
23
|
|
|
24
24
|
1. **Idempotency check.** If `retrospective.md` already exists in the instance state dir, offer to update or skip — never duplicate. A skip still removes the retro-pending marker.
|
|
25
|
-
2. **Gather state.** Read `instance.yaml`, `phase-*.yaml`, and `transitions.log`. For the cost summary, prefer `aidlc cost
|
|
25
|
+
2. **Gather state.** Read `instance.yaml`, `phase-*.yaml`, and `transitions.log`. For the cost summary, prefer `aidlc cost <instance>` (it applies fidelity precedence); only read `costs.ndjson` raw when the CLI is unavailable, and mark that summary approximate. No cost data → omit the cost section entirely, never write zeros.
|
|
26
26
|
3. **Ask — one round-trip.** Three questions in a single message: what surprised us? what would we do differently? what took longer than expected? For **Micro scope**, compress to one question: "anything surprising, worth doing differently, or slower than expected?" Declining the retro is fine: remove the marker, write nothing.
|
|
27
27
|
4. **Write `retrospective.md`** in the instance state dir: the answers; instance metadata (template, scope); per-phase durations (pair each transitions.log `to: X` with the next `from: X`; fall back to the phase YAML's `entered_at`/`completed_at`; note inconsistencies rather than guessing); and the cost summary when available.
|
|
28
28
|
5. **Distill lessons — 0 to 3.** A lesson is a durable, project-general observation ("NDJSON merge=union false-dedups identical same-second events"), not an instance anecdote ("we finished late"). If nothing generalizes, write no lesson — an empty distillation is a valid outcome.
|