@aiwg/flue 2026.11.0 → 2026.11.1
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/address-issues/SKILL.md +0 -4
- package/skills/aiwg-issue/SKILL.md +17 -15
- package/skills/aiwg-pr/SKILL.md +44 -20
- package/skills/aiwg-pr/scripts/deliver.mjs +7 -0
- package/skills/checkpoint/SKILL.md +1 -1
- package/skills/steward/SKILL.md +14 -0
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.1",
|
|
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": [
|
|
@@ -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
|
|
@@ -174,23 +174,25 @@ obtain digest-bound authorization when requested, and make no write for a
|
|
|
174
174
|
reject under the same project policy.
|
|
175
175
|
|
|
176
176
|
```bash
|
|
177
|
-
aiwg
|
|
178
|
-
|
|
179
|
-
aiwg
|
|
177
|
+
aiwg run skill issue-create -- plan --title '<title>' --body-file /tmp/issue.md
|
|
178
|
+
# After reviewing the plan and any required digest-bound authorization:
|
|
179
|
+
aiwg issues create --title '<title>' --body-file /tmp/issue.md
|
|
180
|
+
aiwg issues comment <number> --body-file /tmp/comment.md
|
|
181
|
+
aiwg issues close <number>
|
|
180
182
|
```
|
|
181
183
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
184
|
+
These writes use the configured external tracker (`remotes.issue_tracker` and
|
|
185
|
+
`issue_provider`). Local-only projects retain local issue storage; use
|
|
186
|
+
`--provider local` to select it explicitly. Multi-segment composition and
|
|
187
|
+
`--authorize-policy <digest>` use the same policy plan as `issue-create`.
|
|
188
|
+
|
|
189
|
+
Configure `remotes.tracker_actor.credential` with an existing sensitive-input
|
|
190
|
+
reference: `{"store":"tracker-token"}` or `{"env":"PROJECT_TRACKER_TOKEN"}`.
|
|
191
|
+
The HTTP client checks `/user` before every write, requires
|
|
192
|
+
`tracker_actor.login` to match, and refuses `forbid_actors`. Configured
|
|
193
|
+
credentials cannot be overridden with token flags. No token belongs in argv,
|
|
194
|
+
logs, or issue bodies. Projects without an actor credential retain provider
|
|
195
|
+
environment token discovery. PR delivery uses the same actor via `aiwg-pr`.
|
|
194
196
|
|
|
195
197
|
## After filing
|
|
196
198
|
|
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"
|
|
@@ -135,28 +140,50 @@ Closes #1262
|
|
|
135
140
|
Closes #1263
|
|
136
141
|
```
|
|
137
142
|
|
|
138
|
-
### 6.
|
|
143
|
+
### 6. Commit, push, and open through configured identities
|
|
139
144
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
145
|
+
For `pr-required`, use the runnable delivery step after verification. It commits
|
|
146
|
+
already staged changes only when `--commit-message-file` is supplied; otherwise
|
|
147
|
+
it ships the current branch commit. The configured `remotes.transport.helper`
|
|
148
|
+
receives push arguments and owns the primary remote. Without a helper, ordinary
|
|
149
|
+
Git push is used. Failures stop; there is no automatic force push.
|
|
143
150
|
|
|
144
|
-
|
|
145
|
-
|
|
151
|
+
```bash
|
|
152
|
+
aiwg run skill aiwg-pr -- open --title '<title>' --body-file /tmp/pr-body.md --commit-message-file /tmp/commit-message.txt
|
|
146
153
|
```
|
|
147
154
|
|
|
148
|
-
|
|
155
|
+
Use the repository PR template and include linked issues, changes, verification,
|
|
156
|
+
and risk/rollback. `remotes.tracker_actor.credential` selects an existing
|
|
157
|
+
sensitive-input reference (`{"store":"tracker-token"}` or
|
|
158
|
+
`{"env":"PROJECT_TRACKER_TOKEN"}`). Before every API write, the API user must
|
|
159
|
+
match `tracker_actor.login` and must not appear in `forbid_actors`. Tokens stay
|
|
160
|
+
inside the HTTP client; never put tokens in argv or PR files.
|
|
149
161
|
|
|
150
|
-
|
|
162
|
+
For `direct` or `feature-branch`, follow the configured push helper and delivery
|
|
163
|
+
policy without opening a PR.
|
|
151
164
|
|
|
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
|
|
165
|
+
### 7. Merge through the configured route
|
|
158
166
|
|
|
159
|
-
|
|
167
|
+
```bash
|
|
168
|
+
aiwg run skill aiwg-pr -- merge <number>
|
|
169
|
+
# Optional mirror; must be a configured secondary remote permitted by project handling:
|
|
170
|
+
aiwg run skill aiwg-pr -- merge <number> --mirror <remote>
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
`delivery.merge` selects `tracker` (the default), `local`, or `local-signed`.
|
|
174
|
+
Unsigned projects need no signing setup. Signed local merges are recommended
|
|
175
|
+
where repository policy permits them: run `aiwg steward signed-merges` for a
|
|
176
|
+
preview and setup instructions, or `--skip` to preserve current settings.
|
|
177
|
+
Signing checks run only when commit signing is configured or required; a signed
|
|
178
|
+
project must select a local route to verify the actual merge signature.
|
|
179
|
+
|
|
180
|
+
Local routes require an open PR targeting the default branch, a branch base
|
|
181
|
+
with the current main tree, and an unchanged PR head. They verify all branch
|
|
182
|
+
signatures and author/committer identities when signing is enabled, create a
|
|
183
|
+
`--no-ff` merge in a temporary worktree, require the head and merge trees to
|
|
184
|
+
match, verify its signature when enabled, push through the helper, close the
|
|
185
|
+
PR, and check the remote default branch equals the local merge. A failure after
|
|
186
|
+
push may leave the PR open; inspect remote state before retrying.
|
|
160
187
|
|
|
161
188
|
### 8. Sync with current main before readiness (#2654)
|
|
162
189
|
|
|
@@ -187,11 +214,8 @@ project's local verification; CI status then applies to the post-merge run.
|
|
|
187
214
|
|
|
188
215
|
A commit isn't done until CI is green. After push:
|
|
189
216
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
aiwg run skill aiwg-pr -- check-ci
|
|
193
|
-
# (or manually inspect the tracker)
|
|
194
|
-
```
|
|
217
|
+
Inspect the latest run on the configured `remotes.ci` tracker. Where PRs do
|
|
218
|
+
not run CI, this check applies to the post-merge run on the default branch.
|
|
195
219
|
|
|
196
220
|
AIWG CI runs ~2 minutes. **Wait for it.** If it fails:
|
|
197
221
|
|
|
@@ -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; }
|
|
@@ -141,6 +141,6 @@ If the user's intent is ambiguous:
|
|
|
141
141
|
|
|
142
142
|
## References
|
|
143
143
|
|
|
144
|
-
- @$AIWG_ROOT/src/cli/handlers/
|
|
144
|
+
- @$AIWG_ROOT/src/cli/handlers/checkpoint.ts — Checkpoint command handler
|
|
145
145
|
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference
|
|
146
146
|
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/skills/snapshot/SKILL.md — Full workflow snapshots (compare to checkpoints)
|
package/skills/steward/SKILL.md
CHANGED
|
@@ -27,6 +27,20 @@ triggers:
|
|
|
27
27
|
|
|
28
28
|
You provide provider capability awareness and intelligent command routing. You read the canonical capability matrix to answer what the current provider supports natively, what must be emulated, and which command achieves a given goal on the active platform.
|
|
29
29
|
|
|
30
|
+
## Optional signed local merges
|
|
31
|
+
|
|
32
|
+
Recommend signed merges when repository policy and key access permit them.
|
|
33
|
+
This is skippable: some users cannot change key usage or repository policies,
|
|
34
|
+
and unsigned delivery must keep working. Use `aiwg steward signed-merges` for
|
|
35
|
+
instructions, then preview with `--key <fingerprint> --name <committer>
|
|
36
|
+
--email <email> [--format openpgp|ssh|x509] [--key-file <path>]`.
|
|
37
|
+
Review the emitted signing, committer, `require_signed_commits`, and
|
|
38
|
+
`delivery.merge=local-signed` config; add `--apply` to save, or `--skip` to
|
|
39
|
+
preserve current settings. Use existing keys; this step changes no repository
|
|
40
|
+
policies. SSH uses a fingerprint for verification and a key path for signing.
|
|
41
|
+
Set `remotes.tracker_actor.credential` to a store/env reference for API writes;
|
|
42
|
+
never ask users to put tokens in configuration or command arguments.
|
|
43
|
+
|
|
30
44
|
## Triggers
|
|
31
45
|
|
|
32
46
|
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
|