@aiwg/flue 2026.11.0 → 2026.11.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/README.md +19 -3
- package/package.json +4 -2
- package/skills/add-template/SKILL.md +4 -4
- package/skills/address-issues/SKILL.md +0 -4
- package/skills/aiwg-delivery-pr/SKILL.md +6 -0
- package/skills/aiwg-issue/SKILL.md +61 -22
- package/skills/aiwg-pr/SKILL.md +51 -21
- package/skills/aiwg-pr/scripts/deliver.mjs +7 -0
- package/skills/approval-workflow/SKILL.md +1 -1
- package/skills/architecture-evolution/SKILL.md +3 -3
- package/skills/audience-synthesis/SKILL.md +1 -1
- package/skills/brand-compliance/SKILL.md +1 -1
- package/skills/checkpoint/SKILL.md +32 -4
- package/skills/competitive-intel/SKILL.md +2 -2
- package/skills/config-validator/SKILL.md +2 -2
- package/skills/decision-support/SKILL.md +2 -2
- package/skills/deploy-gen/SKILL.md +3 -3
- package/skills/devkit-create-framework/SKILL.md +1 -1
- package/skills/flow-architecture-evolution/SKILL.md +9 -9
- package/skills/flow-change-control/SKILL.md +10 -10
- package/skills/flow-compliance-validation/SKILL.md +6 -6
- package/skills/flow-concept-to-inception/SKILL.md +3 -3
- package/skills/flow-cross-team-sync/SKILL.md +6 -6
- package/skills/flow-deploy-to-production/SKILL.md +10 -10
- package/skills/flow-discovery-track/SKILL.md +12 -12
- package/skills/flow-elaboration-to-construction/SKILL.md +5 -5
- package/skills/flow-hypercare-monitoring/SKILL.md +4 -4
- package/skills/flow-inception-to-elaboration/SKILL.md +4 -4
- package/skills/flow-incident-response/SKILL.md +4 -4
- package/skills/flow-iteration-dual-track/SKILL.md +2 -2
- package/skills/flow-knowledge-transfer/SKILL.md +8 -8
- package/skills/flow-performance-optimization/SKILL.md +5 -5
- package/skills/flow-requirements-evolution/SKILL.md +3 -3
- package/skills/flow-retrospective-cycle/SKILL.md +4 -4
- package/skills/flow-risk-management-cycle/SKILL.md +3 -3
- package/skills/flow-team-onboarding/SKILL.md +5 -5
- package/skills/forensics-profile/SKILL.md +1 -1
- package/skills/forensics-report/SKILL.md +1 -1
- package/skills/forensics-timeline/SKILL.md +1 -1
- package/skills/forensics-triage/SKILL.md +1 -1
- package/skills/hook-regenerate/SKILL.md +2 -2
- package/skills/incident-triage/SKILL.md +2 -2
- package/skills/intake-wizard/SKILL.md +1 -1
- package/skills/issue-create/SKILL.md +13 -13
- package/skills/issue-create/references/provider-writes.md +27 -0
- package/skills/issue-update/SKILL.md +4 -0
- package/skills/qa-protocol/SKILL.md +2 -2
- package/skills/regression-report/SKILL.md +5 -5
- package/skills/research-document/SKILL.md +1 -1
- package/skills/review-synthesis/SKILL.md +1 -1
- package/skills/sdlc-reports/SKILL.md +4 -4
- package/skills/soul-create/SKILL.md +1 -1
- package/skills/steward/SKILL.md +14 -0
- package/skills/test-coverage/SKILL.md +1 -1
- package/skills/traceability-check/SKILL.md +1 -1
- package/specialists.js +1 -1
package/README.md
CHANGED
|
@@ -4,11 +4,27 @@
|
|
|
4
4
|
> Use my app model and show which tool import is needed if a capability is missing.
|
|
5
5
|
|
|
6
6
|
MIT bundle skills, specialist factories and remote/Node MCP helpers for Flue
|
|
7
|
-
2.3.x. Peers are `@flue/runtime: 2.3.x`, `@modelcontextprotocol/client: 2.
|
|
8
|
-
|
|
7
|
+
2.3.x. Peers are `@flue/runtime: 2.3.x`, `@modelcontextprotocol/client: 2.3.0`,
|
|
8
|
+
`valibot: ^1.1.0`, and `@earendil-works/pi-ai` and `@earendil-works/pi-agent-core`
|
|
9
|
+
at `~1.4.0`. Flue 2.3.0 does not load with pi 1.5.0, so the pi peers keep a fresh
|
|
10
|
+
install on 1.4.x. Install alongside your own Flue toolchain.
|
|
11
|
+
|
|
12
|
+
Add these overrides to your app's `package.json` before installing:
|
|
13
|
+
|
|
14
|
+
```json
|
|
15
|
+
{
|
|
16
|
+
"overrides": {
|
|
17
|
+
"@modelcontextprotocol/client": "$@modelcontextprotocol/client",
|
|
18
|
+
"@modelcontextprotocol/sdk": "1.32.0",
|
|
19
|
+
"@modelcontextprotocol/server": "2.3.0"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Flue 2.3.0 still pins the older client, which has a published denial-of-service advisory.
|
|
9
25
|
|
|
10
26
|
```sh
|
|
11
|
-
npm install @aiwg/flue @flue/runtime@2.3.0 @modelcontextprotocol/client@2.
|
|
27
|
+
npm install @aiwg/flue @flue/runtime@2.3.0 @modelcontextprotocol/client@2.3.0 'valibot@^1.1.0'
|
|
12
28
|
aiwg use sdlc --provider flue --package
|
|
13
29
|
```
|
|
14
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiwg/flue",
|
|
3
|
-
"version": "2026.11.
|
|
3
|
+
"version": "2026.11.2",
|
|
4
4
|
"description": "AIWG bundle skills, specialist factories and MCP tools for Flue apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -10,8 +10,10 @@
|
|
|
10
10
|
"directory": "packages/flue"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
+
"@earendil-works/pi-agent-core": "~1.4.0",
|
|
14
|
+
"@earendil-works/pi-ai": "~1.4.0",
|
|
13
15
|
"@flue/runtime": "2.3.x",
|
|
14
|
-
"@modelcontextprotocol/client": "2.
|
|
16
|
+
"@modelcontextprotocol/client": "2.3.0",
|
|
15
17
|
"valibot": "^1.1.0"
|
|
16
18
|
},
|
|
17
19
|
"files": [
|
|
@@ -163,7 +163,7 @@ Or at root if no category:
|
|
|
163
163
|
<target>/templates/<name>-template.md
|
|
164
164
|
```
|
|
165
165
|
|
|
166
|
-
Manifest updated: `<target>/manifest.json` (or
|
|
166
|
+
Manifest updated: `<target>/manifest.json` (or `<target>/templates/manifest.json` if present)
|
|
167
167
|
|
|
168
168
|
## Output Format
|
|
169
169
|
|
|
@@ -189,14 +189,14 @@ Next Steps:
|
|
|
189
189
|
|
|
190
190
|
### Example 1: Architecture decision record
|
|
191
191
|
|
|
192
|
-
**User**: "add template adr --to sdlc-complete --category
|
|
192
|
+
**User**: "add template adr --to sdlc-complete --category governance"
|
|
193
193
|
|
|
194
194
|
**Action**:
|
|
195
195
|
```bash
|
|
196
|
-
aiwg add-template adr --to sdlc-complete --category
|
|
196
|
+
aiwg add-template adr --to sdlc-complete --category governance
|
|
197
197
|
```
|
|
198
198
|
|
|
199
|
-
**Result**: `agentic/code/frameworks/sdlc-complete/templates/
|
|
199
|
+
**Result**: `agentic/code/frameworks/sdlc-complete/templates/governance/adr-template.md` scaffolded with standard ADR sections (Context, Decision, Consequences, Alternatives).
|
|
200
200
|
|
|
201
201
|
### Example 2: Security threat model
|
|
202
202
|
|
|
@@ -297,8 +297,6 @@ Post the validated canonical markdown comment to the issue thread:
|
|
|
297
297
|
### Next Steps
|
|
298
298
|
[What will happen in the next cycle]
|
|
299
299
|
|
|
300
|
-
---
|
|
301
|
-
*Automated by AIWG Al — reply to this issue to provide feedback*
|
|
302
300
|
```
|
|
303
301
|
|
|
304
302
|
If the posted status comment asks any human question/query, resolve and apply the configured human-interaction semantic role (#1726, #1789):
|
|
@@ -414,8 +412,6 @@ Unable to fully resolve this issue within 6 cycles.
|
|
|
414
412
|
### Recommendation
|
|
415
413
|
[Specific guidance for human to unblock]
|
|
416
414
|
|
|
417
|
-
---
|
|
418
|
-
*Automated by AIWG Al — human intervention recommended*
|
|
419
415
|
```
|
|
420
416
|
|
|
421
417
|
## Provider Configuration
|
|
@@ -16,6 +16,12 @@ Use this skill only for AIWG product/workspace delivery where `.aiwg/aiwg.config
|
|
|
16
16
|
|
|
17
17
|
This is an explicit alias for `aiwg-pr`. Existing `aiwg-pr` callers remain valid. Generic requests like "open a PR for this repo" should use the host repository's normal PR tooling and templates, not this AIWG-specific workflow, unless the repository is the AIWG product workspace or the operator explicitly asks for AIWG delivery policy.
|
|
18
18
|
|
|
19
|
+
## Output template
|
|
20
|
+
|
|
21
|
+
Required: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/templates/pull-requests/description.md.
|
|
22
|
+
Fill every required section: Summary, Cause, Changes, Verification (exact commands
|
|
23
|
+
and pass/fail counts), Related issues, and Risk and rollback before posting.
|
|
24
|
+
|
|
19
25
|
## Route
|
|
20
26
|
|
|
21
27
|
1. Read `aiwg-pr` with `aiwg show skill aiwg-pr --body`.
|
|
@@ -52,16 +52,26 @@ Non-triggers:
|
|
|
52
52
|
- "address issues"
|
|
53
53
|
- "process open issues"
|
|
54
54
|
|
|
55
|
-
##
|
|
55
|
+
## Output template
|
|
56
|
+
|
|
57
|
+
The selected template is required. Fill every required section before filing;
|
|
58
|
+
mark non-applicable optional fields with a reason and remove template instructions.
|
|
59
|
+
|
|
60
|
+
### Template selection
|
|
56
61
|
|
|
57
62
|
| Template | When to use | Path |
|
|
58
63
|
|---|---|---|
|
|
59
|
-
| `bug-report.md` | One concrete defect with a reproduction |
|
|
60
|
-
| `feature-request.md` | A new capability or enhancement proposal |
|
|
61
|
-
| `tester-report.md` | A single session that surfaced multiple findings |
|
|
62
|
-
| `imported-report.md` | Mirroring an issue filed in a different tracker |
|
|
64
|
+
| `bug-report.md` | One concrete defect with a reproduction | @$AIWG_ROOT/agentic/code/addons/aiwg-utils/templates/issues/bug-report.md |
|
|
65
|
+
| `feature-request.md` | A new capability or enhancement proposal | @$AIWG_ROOT/agentic/code/addons/aiwg-utils/templates/issues/feature-request.md |
|
|
66
|
+
| `tester-report.md` | A single session that surfaced multiple findings | @$AIWG_ROOT/agentic/code/addons/aiwg-utils/templates/issues/tester-report.md |
|
|
67
|
+
| `imported-report.md` | Mirroring an issue filed in a different tracker | @$AIWG_ROOT/agentic/code/addons/aiwg-utils/templates/issues/imported-report.md |
|
|
68
|
+
|
|
69
|
+
These bundle templates are canonical. The repository `.gitea/ISSUE_TEMPLATE/` and
|
|
70
|
+
`.github/ISSUE_TEMPLATE/` files are derived copies maintained by `npm run package-plugins`.
|
|
63
71
|
|
|
64
|
-
|
|
72
|
+
Compose through `issue-create` with `--template <kind|path>` matching the selected
|
|
73
|
+
template (default: `bug-report`). Missing required headings produce an advisory
|
|
74
|
+
stderr warning; the composer remains headless-safe.
|
|
65
75
|
|
|
66
76
|
## The walkthrough
|
|
67
77
|
|
|
@@ -166,6 +176,27 @@ Example: jmagly#108–#112 → roctinam #1264–#1268 sweep (May 2026).
|
|
|
166
176
|
|
|
167
177
|
## Filing
|
|
168
178
|
|
|
179
|
+
### Mapped control workspaces
|
|
180
|
+
|
|
181
|
+
From a mapped `/srv/*-workspace`, resolve the target member from
|
|
182
|
+
`config/repository-routing.yaml` `workTracker` and the workspace access manifest
|
|
183
|
+
before duplicate detection or filing. Check the member's `read` permission for
|
|
184
|
+
queries and `issue-comment` permission for tracker writes. Load that member's
|
|
185
|
+
`.aiwg/aiwg.config`: its `remotes.issue_tracker`, `remotes.issue_provider`, and
|
|
186
|
+
`remotes.tracker_actor.login` / `credential` govern the request. Never substitute
|
|
187
|
+
the control workspace's remotes or the current default forge login.
|
|
188
|
+
|
|
189
|
+
Go straight to that member's tracker through the configured tracker tools;
|
|
190
|
+
local issue initialization in the control workspace is unnecessary. For the
|
|
191
|
+
native create command, run it from the authorized member directory so it reads
|
|
192
|
+
the member config. The CLI does not interpret `repository-routing.yaml` itself.
|
|
193
|
+
Follow `issue-create` composition and authorization before writing.
|
|
194
|
+
|
|
195
|
+
`aiwg issues list` queries local storage only; it refuses a configured external
|
|
196
|
+
tracker unless `--provider local` is explicit. Search the member's external
|
|
197
|
+
tracker with its tracker tools instead. A failed query (including missing init
|
|
198
|
+
or HTTP 401) is a blocker to duplicate detection, never an empty result.
|
|
199
|
+
|
|
169
200
|
Before any MCP, CLI, API, or web-UI write, discover and load the
|
|
170
201
|
`issue-create` skill, then route the final title/body through its policy
|
|
171
202
|
composition. Use the returned segment bodies exactly;
|
|
@@ -174,23 +205,31 @@ obtain digest-bound authorization when requested, and make no write for a
|
|
|
174
205
|
reject under the same project policy.
|
|
175
206
|
|
|
176
207
|
```bash
|
|
177
|
-
aiwg
|
|
178
|
-
|
|
179
|
-
aiwg
|
|
208
|
+
aiwg run skill issue-create -- plan --title '<title>' --body-file /tmp/issue.md
|
|
209
|
+
# After reviewing the plan and any required digest-bound authorization:
|
|
210
|
+
aiwg issues create --title '<title>' --body-file /tmp/issue.md
|
|
211
|
+
aiwg issues comment <number> --body-file /tmp/comment.md
|
|
212
|
+
aiwg issues close <number>
|
|
180
213
|
```
|
|
181
214
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
215
|
+
These writes use the configured external tracker (`remotes.issue_tracker` and
|
|
216
|
+
`issue_provider`). Local-only projects retain local issue storage; use
|
|
217
|
+
`--provider local` to select it explicitly. Multi-segment composition and
|
|
218
|
+
`--authorize-policy <digest>` use the same policy plan as `issue-create`.
|
|
219
|
+
|
|
220
|
+
Configure `remotes.tracker_actor.credential` with an existing sensitive-input
|
|
221
|
+
reference: `{"store":"tracker-token"}` or `{"env":"PROJECT_TRACKER_TOKEN"}`.
|
|
222
|
+
The HTTP client checks `/user` before every write, requires
|
|
223
|
+
`tracker_actor.login` to match, and refuses `forbid_actors`. Configured
|
|
224
|
+
credentials cannot be overridden with token flags. No token belongs in argv,
|
|
225
|
+
logs, or issue bodies. Projects without an actor credential retain provider
|
|
226
|
+
environment token discovery. PR delivery uses the same actor via `aiwg-pr`.
|
|
227
|
+
|
|
228
|
+
For a missing or rejected actor token, save a token belonging to the configured
|
|
229
|
+
`tracker_actor.login` with `aiwg auth secret set <name> --value-stdin`, then set
|
|
230
|
+
the member's `remotes.tracker_actor.credential` to `{"store":"<name>"}`. An env
|
|
231
|
+
reference works when its named variable is supplied. Refresh an existing
|
|
232
|
+
reference when configured; never switch to a different actor to bypass a 401.
|
|
194
233
|
|
|
195
234
|
## After filing
|
|
196
235
|
|
|
@@ -209,7 +248,7 @@ mcp__git-gitea__issue_write:
|
|
|
209
248
|
## Related
|
|
210
249
|
|
|
211
250
|
- Skills: `aiwg-pr` (filing PRs), `steward-prep-delivery` (interactive walkthrough), `issue-create` (low-level filing), `issue-auto-sync` (commit↔issue linking)
|
|
212
|
-
- Templates:
|
|
251
|
+
- Templates: required canonical bundle paths in "Output template" above
|
|
213
252
|
- Docs: `CONTRIBUTING.md` (full contributor guide)
|
|
214
253
|
- Rules: `delivery-policy`, `no-attribution`, `ops-issue-tracking`
|
|
215
254
|
- Origin: #1269 (templates), #1264–#1268 (tester report sweep that motivated this)
|
package/skills/aiwg-pr/SKILL.md
CHANGED
|
@@ -4,6 +4,11 @@ name: aiwg-pr
|
|
|
4
4
|
platforms: [flue]
|
|
5
5
|
kernel: true
|
|
6
6
|
description: AIWG-specific pull request delivery workflow for AIWG product/workspace changes; not the generic repository PR process
|
|
7
|
+
script:
|
|
8
|
+
entrypoint: scripts/deliver.mjs
|
|
9
|
+
runtime: node
|
|
10
|
+
cwd: project-root
|
|
11
|
+
argsHint: open --title <title> --body-file <path> | merge <number>
|
|
7
12
|
triggers:
|
|
8
13
|
- "AIWG PR"
|
|
9
14
|
- "AIWG delivery PR"
|
|
@@ -16,6 +21,12 @@ triggers:
|
|
|
16
21
|
|
|
17
22
|
You are helping a user (or yourself, as an autonomous agent) open a high-quality AIWG product/workspace pull request. The bar is set by the project's `delivery-policy` and `no-attribution` rules.
|
|
18
23
|
|
|
24
|
+
## Output template
|
|
25
|
+
|
|
26
|
+
Required: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/templates/pull-requests/description.md.
|
|
27
|
+
Fill every required section: Summary, Cause, Changes, Verification (exact commands
|
|
28
|
+
and pass/fail counts), Related issues, and Risk and rollback before posting.
|
|
29
|
+
|
|
19
30
|
## Routing Boundary
|
|
20
31
|
|
|
21
32
|
Use this skill only when the user is doing AIWG-specific delivery: AIWG repository work, an AIWG release/change PR, or any task that explicitly asks for AIWG delivery policy. Do not use `aiwg-pr` for ordinary repository pull request work. Generic requests like "open a PR for this repo", "create a pull request", or "review this PR" should use the host repository's normal git/Gitea/GitHub PR tools and templates unless the user names AIWG delivery.
|
|
@@ -135,28 +146,50 @@ Closes #1262
|
|
|
135
146
|
Closes #1263
|
|
136
147
|
```
|
|
137
148
|
|
|
138
|
-
### 6.
|
|
149
|
+
### 6. Commit, push, and open through configured identities
|
|
139
150
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
151
|
+
For `pr-required`, use the runnable delivery step after verification. It commits
|
|
152
|
+
already staged changes only when `--commit-message-file` is supplied; otherwise
|
|
153
|
+
it ships the current branch commit. The configured `remotes.transport.helper`
|
|
154
|
+
receives push arguments and owns the primary remote. Without a helper, ordinary
|
|
155
|
+
Git push is used. Failures stop; there is no automatic force push.
|
|
143
156
|
|
|
144
|
-
|
|
145
|
-
|
|
157
|
+
```bash
|
|
158
|
+
aiwg run skill aiwg-pr -- open --title '<title>' --body-file /tmp/pr-body.md --commit-message-file /tmp/commit-message.txt
|
|
146
159
|
```
|
|
147
160
|
|
|
148
|
-
|
|
161
|
+
Use the required output template above, including cause, linked issues, changes,
|
|
162
|
+
verification commands and counts, and risk/rollback. `remotes.tracker_actor.credential` selects an existing
|
|
163
|
+
sensitive-input reference (`{"store":"tracker-token"}` or
|
|
164
|
+
`{"env":"PROJECT_TRACKER_TOKEN"}`). Before every API write, the API user must
|
|
165
|
+
match `tracker_actor.login` and must not appear in `forbid_actors`. Tokens stay
|
|
166
|
+
inside the HTTP client; never put tokens in argv or PR files.
|
|
149
167
|
|
|
150
|
-
|
|
168
|
+
For `direct` or `feature-branch`, follow the configured push helper and delivery
|
|
169
|
+
policy without opening a PR.
|
|
151
170
|
|
|
152
|
-
|
|
153
|
-
- **Linked issues**: `Closes #N` (or `Refs #N`)
|
|
154
|
-
- **Changes**: bullets of meaningful changes (not file count)
|
|
155
|
-
- **Verification**: filled-in checklist showing typecheck/test/CI status
|
|
156
|
-
- **Risk and rollback**: even if "low / git revert"
|
|
157
|
-
- **Policy reminders**: delivery mode + no-attribution + CI-green-before-done
|
|
171
|
+
### 7. Merge through the configured route
|
|
158
172
|
|
|
159
|
-
|
|
173
|
+
```bash
|
|
174
|
+
aiwg run skill aiwg-pr -- merge <number>
|
|
175
|
+
# Optional mirror; must be a configured secondary remote permitted by project handling:
|
|
176
|
+
aiwg run skill aiwg-pr -- merge <number> --mirror <remote>
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
`delivery.merge` selects `tracker` (the default), `local`, or `local-signed`.
|
|
180
|
+
Unsigned projects need no signing setup. Signed local merges are recommended
|
|
181
|
+
where repository policy permits them: run `aiwg steward signed-merges` for a
|
|
182
|
+
preview and setup instructions, or `--skip` to preserve current settings.
|
|
183
|
+
Signing checks run only when commit signing is configured or required; a signed
|
|
184
|
+
project must select a local route to verify the actual merge signature.
|
|
185
|
+
|
|
186
|
+
Local routes require an open PR targeting the default branch, a branch base
|
|
187
|
+
with the current main tree, and an unchanged PR head. They verify all branch
|
|
188
|
+
signatures and author/committer identities when signing is enabled, create a
|
|
189
|
+
`--no-ff` merge in a temporary worktree, require the head and merge trees to
|
|
190
|
+
match, verify its signature when enabled, push through the helper, close the
|
|
191
|
+
PR, and check the remote default branch equals the local merge. A failure after
|
|
192
|
+
push may leave the PR open; inspect remote state before retrying.
|
|
160
193
|
|
|
161
194
|
### 8. Sync with current main before readiness (#2654)
|
|
162
195
|
|
|
@@ -187,11 +220,8 @@ project's local verification; CI status then applies to the post-merge run.
|
|
|
187
220
|
|
|
188
221
|
A commit isn't done until CI is green. After push:
|
|
189
222
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
aiwg run skill aiwg-pr -- check-ci
|
|
193
|
-
# (or manually inspect the tracker)
|
|
194
|
-
```
|
|
223
|
+
Inspect the latest run on the configured `remotes.ci` tracker. Where PRs do
|
|
224
|
+
not run CI, this check applies to the post-merge run on the default branch.
|
|
195
225
|
|
|
196
226
|
AIWG CI runs ~2 minutes. **Wait for it.** If it fails:
|
|
197
227
|
|
|
@@ -225,7 +255,7 @@ If the verification gates fail and you can't fix them in 3 attempts, **escalate*
|
|
|
225
255
|
## Related
|
|
226
256
|
|
|
227
257
|
- Skills: `aiwg-issue` (filing issues), `steward-prep-delivery` (interactive walkthrough), `issue-create` (low-level filing), `issue-auto-sync` (commit↔issue linking), `address-issues` (issue-driven loops)
|
|
228
|
-
-
|
|
258
|
+
- Template: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/templates/pull-requests/description.md
|
|
229
259
|
- Docs: `CONTRIBUTING.md` (full contributor guide)
|
|
230
260
|
- Rules: `delivery-policy` (kernel), `no-attribution` (kernel), `anti-laziness`, `dev-pipeline-safety`, `ci-green-before-done`
|
|
231
261
|
- Origin: #1269 (templates), #1264–#1268 (tester report sweep that motivated this)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Bridge the indexed skill entrypoint to the shipped delivery source owner.
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { pathToFileURL } from 'node:url';
|
|
4
|
+
const root = process.env.AIWG_ROOT ?? path.resolve(import.meta.dirname, '../../../../../../..');
|
|
5
|
+
const { main } = await import(pathToFileURL(path.join(root, 'dist/src/delivery/pr.js')).href);
|
|
6
|
+
try { process.exitCode = await main(process.argv.slice(2)); }
|
|
7
|
+
catch (error) { console.error(error.message); process.exitCode = 1; }
|
|
@@ -583,4 +583,4 @@ escalation:
|
|
|
583
583
|
|
|
584
584
|
- Approval tier definitions: .aiwg/marketing/config/approval-tiers.yaml
|
|
585
585
|
- Escalation procedures: docs/escalation-process.md
|
|
586
|
-
- Approval templates: templates/governance/approval-
|
|
586
|
+
- Approval templates: templates/governance/approval-workflow-template.md
|
|
@@ -543,7 +543,7 @@ migration_strategies:
|
|
|
543
543
|
|
|
544
544
|
## References
|
|
545
545
|
|
|
546
|
-
- ADR template:
|
|
547
|
-
- Impact analysis template:
|
|
548
|
-
- Migration guide template:
|
|
546
|
+
- ADR template: agentic/code/frameworks/sdlc-complete/templates/governance/adr-template.md
|
|
547
|
+
- Impact analysis template: agentic/code/frameworks/sdlc-complete/templates/configuration/change-request-card.md
|
|
548
|
+
- Migration guide template: migration steps in this skill
|
|
549
549
|
- Architecture diagram: .aiwg/architecture/diagrams/
|
|
@@ -596,6 +596,6 @@ segmentation_rules:
|
|
|
596
596
|
|
|
597
597
|
## References
|
|
598
598
|
|
|
599
|
-
- Persona templates: templates/marketing/
|
|
599
|
+
- Persona templates: templates/product-marketing/personas-template.md
|
|
600
600
|
- Segmentation guide: docs/segmentation-guide.md
|
|
601
601
|
- Data sources: .aiwg/marketing/config/data-sources.yaml
|
|
@@ -399,4 +399,4 @@ severity:
|
|
|
399
399
|
- Brand guidelines: .aiwg/marketing/brand/
|
|
400
400
|
- Voice profiles: voice-framework addon
|
|
401
401
|
- WCAG guidelines: https://www.w3.org/WAI/WCAG21/quickref/
|
|
402
|
-
- Templates: templates/governance/brand-compliance-checklist.md
|
|
402
|
+
- Templates: templates/governance/brand-compliance-checklist-template.md
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
namespace: aiwg
|
|
3
3
|
name: checkpoint
|
|
4
4
|
platforms: [flue]
|
|
5
|
-
description: Create, list, or recover
|
|
5
|
+
description: Create, list, or recover workflow checkpoints and prepare a handoff for a new session so interrupted work resumes from a known-good position
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Checkpoint
|
|
@@ -18,6 +18,10 @@ Alternate expressions and non-obvious activations (primary phrases are matched a
|
|
|
18
18
|
- "pick up where we left off" → recover from most recent checkpoint
|
|
19
19
|
- "what checkpoints exist" → list checkpoints
|
|
20
20
|
- "resume from checkpoint" → recover from specified or latest checkpoint
|
|
21
|
+
- "handoff" → create a checkpoint with session handoff documents
|
|
22
|
+
- "hand off to a new session" → create a checkpoint with session handoff documents
|
|
23
|
+
- "split this session" → create a checkpoint with session handoff documents
|
|
24
|
+
- "prepare a handoff for a new session" → create a checkpoint with session handoff documents
|
|
21
25
|
|
|
22
26
|
## Trigger Patterns Reference
|
|
23
27
|
|
|
@@ -25,6 +29,7 @@ Alternate expressions and non-obvious activations (primary phrases are matched a
|
|
|
25
29
|
|---------|---------|--------|
|
|
26
30
|
| Create (named) | "checkpoint this as iteration-3-complete" | Run `aiwg checkpoint create --name iteration-3-complete` |
|
|
27
31
|
| Create (anonymous) | "create a checkpoint" | Run `aiwg checkpoint create` |
|
|
32
|
+
| Handoff | "hand off to a new session" | Run `aiwg checkpoint create --handoff` with explicit context flags |
|
|
28
33
|
| List | "show available checkpoints" | Run `aiwg checkpoint list` |
|
|
29
34
|
| Recover (latest) | "recover from the last checkpoint" | Run `aiwg checkpoint recover` |
|
|
30
35
|
| Recover (specific) | "recover checkpoint ckpt_7b2f1a" | Run `aiwg checkpoint recover ckpt_7b2f1a` |
|
|
@@ -47,6 +52,13 @@ When triggered:
|
|
|
47
52
|
# Create — named
|
|
48
53
|
aiwg checkpoint create --name <name>
|
|
49
54
|
|
|
55
|
+
# Prepare a new session, with ordered tasks and binding constraints
|
|
56
|
+
aiwg checkpoint create --handoff --name tests-next \
|
|
57
|
+
--scope "Checkpoint implementation; next session owns verification" \
|
|
58
|
+
--phase construction --step verification --note "Implementation complete; tests pending" \
|
|
59
|
+
--todo "Run focused tests" --todo "Review the diff" \
|
|
60
|
+
--constraint "Do not commit or push" --artifact docs/cli-reference.md
|
|
61
|
+
|
|
50
62
|
# List all checkpoints
|
|
51
63
|
aiwg checkpoint list
|
|
52
64
|
|
|
@@ -68,7 +80,23 @@ When triggered:
|
|
|
68
80
|
|
|
69
81
|
4. **Automatic creation**: Agent loops create checkpoints automatically between iterations. Manual `create` supplements this for critical workflow milestones.
|
|
70
82
|
|
|
71
|
-
5. **Storage**:
|
|
83
|
+
5. **Storage**: Resolve the configured artifact root with `aiwg artifacts path --json --check-write`.
|
|
84
|
+
Plain checkpoints use `<artifact_root>/checkpoints/<id>.json`. Handoff checkpoints use
|
|
85
|
+
`<artifact_root>/checkpoints/<id>/checkpoint.json`, with sibling `handoff.md` and
|
|
86
|
+
`next-session-prompt.md`. The record includes `handoffPath` and `nextSessionPromptPath`.
|
|
87
|
+
The shipped template is `agentic/code/addons/aiwg-utils/templates/checkpoint-handoff.md`.
|
|
88
|
+
Existing flat records remain readable. This checkpoint format has inline validation,
|
|
89
|
+
with no governed schema in the schema catalog.
|
|
90
|
+
|
|
91
|
+
`--scope` fills Scope and ownership, `--note` plus `--phase`/`--step` fills State at handoff,
|
|
92
|
+
repeatable `--todo` fills To do (ordered), repeatable `--constraint` fills Binding constraints,
|
|
93
|
+
and repeatable `--artifact` fills Links. Omitted context stays as explicit `[TODO: ...]`
|
|
94
|
+
placeholders. `--scope`, `--todo`, and `--constraint` require `--handoff`; every value
|
|
95
|
+
flag requires a nonempty value. Creation is headless and never asks questions.
|
|
96
|
+
|
|
97
|
+
List marks handoffs in its Handoff column. Recover prints the next-session prompt
|
|
98
|
+
text and both document paths without writing files or restoring artifacts.
|
|
99
|
+
`list --json` and `recover --json` return checkpoint records, including the document paths.
|
|
72
100
|
|
|
73
101
|
6. **Report the result** — on create, confirm the checkpoint ID and position; on recover, confirm which step the workflow will resume from.
|
|
74
102
|
|
|
@@ -117,7 +145,7 @@ ckpt_7b2f1a iteration-3-complete 2026-03-30 09:55:02 Construction / iter
|
|
|
117
145
|
aiwg checkpoint recover
|
|
118
146
|
```
|
|
119
147
|
|
|
120
|
-
**Response**: "
|
|
148
|
+
**Response**: "Checkpoint `iteration-3-complete` (ckpt_7b2f1a) records Construction phase, iteration 3, step 12/15 and artifact `.aiwg/working/tests/integration-plan-draft.md`. Inspect the current state before continuing."
|
|
121
149
|
|
|
122
150
|
### Example 4: Recover from a specific checkpoint
|
|
123
151
|
|
|
@@ -141,6 +169,6 @@ If the user's intent is ambiguous:
|
|
|
141
169
|
|
|
142
170
|
## References
|
|
143
171
|
|
|
144
|
-
- @$AIWG_ROOT/src/cli/handlers/
|
|
172
|
+
- @$AIWG_ROOT/src/cli/handlers/checkpoint.ts — Checkpoint command handler
|
|
145
173
|
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference
|
|
146
174
|
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/skills/snapshot/SKILL.md — Full workflow snapshots (compare to checkpoints)
|
|
@@ -621,6 +621,6 @@ alerts:
|
|
|
621
621
|
|
|
622
622
|
## References
|
|
623
623
|
|
|
624
|
-
- Competitor template: templates/
|
|
625
|
-
- Battle card template: templates/
|
|
624
|
+
- Competitor template: templates/strategy/competitive-analysis-template.md
|
|
625
|
+
- Battle card template: templates/sales-enablement/battlecard-template.md
|
|
626
626
|
- Intelligence sources: .aiwg/marketing/config/intel-sources.yaml
|
|
@@ -261,10 +261,10 @@ phase: inception
|
|
|
261
261
|
|
|
262
262
|
**Current**:
|
|
263
263
|
```yaml
|
|
264
|
-
template: templates/custom
|
|
264
|
+
template: templates/custom/<template>.md
|
|
265
265
|
```
|
|
266
266
|
|
|
267
|
-
**Problem**: File `templates/custom
|
|
267
|
+
**Problem**: File `templates/custom/<template>.md` not found
|
|
268
268
|
|
|
269
269
|
**Fix Options**:
|
|
270
270
|
1. Create the missing template file
|
|
@@ -462,6 +462,6 @@ thresholds:
|
|
|
462
462
|
|
|
463
463
|
## References
|
|
464
464
|
|
|
465
|
-
- ADR template:
|
|
466
|
-
- Decision matrix template: templates/
|
|
465
|
+
- ADR template: agentic/code/frameworks/sdlc-complete/templates/governance/adr-template.md
|
|
466
|
+
- Decision matrix template: agentic/code/frameworks/sdlc-complete/templates/governance/decision-matrix-template.md
|
|
467
467
|
- Trade-off catalog: docs/common-tradeoffs.md
|
|
@@ -73,9 +73,9 @@ Choose appropriate templates based on analysis:
|
|
|
73
73
|
|
|
74
74
|
| Runtime | Template |
|
|
75
75
|
|---------|----------|
|
|
76
|
-
| Node.js |
|
|
77
|
-
| Python |
|
|
78
|
-
| Go |
|
|
76
|
+
| Node.js | generated node.Dockerfile (use the Dockerfile example below) |
|
|
77
|
+
| Python | generated python.Dockerfile (use the Dockerfile example below) |
|
|
78
|
+
| Go | generated go.Dockerfile (use the Dockerfile example below) |
|
|
79
79
|
|
|
80
80
|
### 3. Configuration Generation
|
|
81
81
|
|
|
@@ -116,7 +116,7 @@ Created:
|
|
|
116
116
|
✓ actors-and-templates.md
|
|
117
117
|
✓ agents/manifest.md
|
|
118
118
|
✓ commands/manifest.md
|
|
119
|
-
✓ templates/manifest.json
|
|
119
|
+
✓ <framework-root>/templates/manifest.json
|
|
120
120
|
✓ flows/<phase>.md (for each phase)
|
|
121
121
|
✓ metrics/tracking-catalog.md
|
|
122
122
|
✓ config/models.json
|
|
@@ -214,7 +214,7 @@ Based on your answers, I'll adjust:
|
|
|
214
214
|
- Business risks
|
|
215
215
|
- Timeline risks
|
|
216
216
|
|
|
217
|
-
Use template:
|
|
217
|
+
Use template: agentic/code/frameworks/sdlc-complete/templates/configuration/change-request-card.md
|
|
218
218
|
|
|
219
219
|
Save to: .aiwg/working/architecture-evolution/impact-assessment-draft.md
|
|
220
220
|
"""
|
|
@@ -297,7 +297,7 @@ Based on your answers, I'll adjust:
|
|
|
297
297
|
- Feasibility assessment
|
|
298
298
|
|
|
299
299
|
Create option matrix using template:
|
|
300
|
-
|
|
300
|
+
agentic/code/frameworks/sdlc-complete/templates/intake/option-matrix-template.md
|
|
301
301
|
|
|
302
302
|
Score each option on:
|
|
303
303
|
- Cost (1-5, lower is better)
|
|
@@ -339,7 +339,7 @@ Task(
|
|
|
339
339
|
- Option matrix (preferred option)
|
|
340
340
|
|
|
341
341
|
Create comprehensive ADR using template:
|
|
342
|
-
|
|
342
|
+
agentic/code/frameworks/sdlc-complete/templates/governance/adr-template.md
|
|
343
343
|
|
|
344
344
|
Structure:
|
|
345
345
|
1. Title: Clear, descriptive (e.g., "Migration from PostgreSQL to DynamoDB")
|
|
@@ -440,7 +440,7 @@ Task(
|
|
|
440
440
|
prompt="""
|
|
441
441
|
Based on breaking changes and chosen architecture option.
|
|
442
442
|
|
|
443
|
-
Use
|
|
443
|
+
Use the inline format: migration plan fields in this skill
|
|
444
444
|
|
|
445
445
|
Define migration strategy:
|
|
446
446
|
- Pattern (Strangler Fig, Blue-Green, Canary, Big Bang)
|
|
@@ -473,7 +473,7 @@ Task(
|
|
|
473
473
|
prompt="""
|
|
474
474
|
Based on migration plan.
|
|
475
475
|
|
|
476
|
-
Use
|
|
476
|
+
Use the inline format: rollback steps in this skill
|
|
477
477
|
|
|
478
478
|
Document:
|
|
479
479
|
1. Rollback Triggers
|
|
@@ -880,10 +880,10 @@ This orchestration succeeds when:
|
|
|
880
880
|
## References
|
|
881
881
|
|
|
882
882
|
**Templates** (via $AIWG_ROOT):
|
|
883
|
-
- ADR: `
|
|
884
|
-
- Impact Assessment: `templates/
|
|
885
|
-
- Migration Plan:
|
|
886
|
-
- Rollback Plan:
|
|
883
|
+
- ADR: `agentic/code/frameworks/sdlc-complete/templates/governance/adr-template.md`
|
|
884
|
+
- Impact Assessment: `agentic/code/frameworks/sdlc-complete/templates/configuration/change-request-card.md`
|
|
885
|
+
- Migration Plan: migration plan fields in this skill
|
|
886
|
+
- Rollback Plan: rollback steps in this skill
|
|
887
887
|
- Option Matrix: `templates/intake/option-matrix-template.md`
|
|
888
888
|
|
|
889
889
|
**Related Flows**:
|