@aiwg/flue 2026.11.9 → 2026.11.11

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.
Files changed (191) hide show
  1. package/package.json +217 -5
  2. package/skills/add-agent/SKILL.md +20 -6
  3. package/skills/add-command/SKILL.md +0 -1
  4. package/skills/add-skill/SKILL.md +13 -2
  5. package/skills/agent-loop/SKILL.md +1 -1
  6. package/skills/agent-loop-ext/SKILL.md +1 -1
  7. package/skills/aiwg-language-map/SKILL.md +2 -2
  8. package/skills/aiwg-mission/SKILL.md +3 -1
  9. package/skills/aiwg-pr/SKILL.md +6 -0
  10. package/skills/aiwg-regenerate-claude/SKILL.md +1 -1
  11. package/skills/{steward-quickref → aiwg-steward-quickref}/SKILL.md +6 -2
  12. package/skills/aiwg-steward-routing-reference/SKILL.md +2 -2
  13. package/skills/aiwg-update-agents-md/SKILL.md +1 -1
  14. package/skills/aiwg-update-claude/SKILL.md +1 -1
  15. package/skills/aiwg-utils-quickref/SKILL.md +6 -2
  16. package/skills/architecture-evolution/SKILL.md +4 -0
  17. package/skills/build-poc/SKILL.md +1 -1
  18. package/skills/ci-assess/SKILL.md +114 -0
  19. package/skills/ci-assess/SKILL.md.d.ts +3 -0
  20. package/skills/ci-builder/SKILL.md +80 -0
  21. package/skills/ci-builder/SKILL.md.d.ts +3 -0
  22. package/skills/ci-drift-check/SKILL.md +73 -0
  23. package/skills/ci-drift-check/SKILL.md.d.ts +3 -0
  24. package/skills/ci-failure-triage/SKILL.md +86 -0
  25. package/skills/ci-failure-triage/SKILL.md.d.ts +3 -0
  26. package/skills/ci-flake-hunt/SKILL.md +86 -0
  27. package/skills/ci-flake-hunt/SKILL.md.d.ts +3 -0
  28. package/skills/ci-migrate/SKILL.md +92 -0
  29. package/skills/ci-migrate/SKILL.md.d.ts +3 -0
  30. package/skills/ci-pipeline-audit/SKILL.md +142 -0
  31. package/skills/ci-pipeline-audit/SKILL.md.d.ts +3 -0
  32. package/skills/ci-pipeline-design/SKILL.md +101 -0
  33. package/skills/ci-pipeline-design/SKILL.md.d.ts +3 -0
  34. package/skills/ci-release-coordinate/SKILL.md +96 -0
  35. package/skills/ci-release-coordinate/SKILL.md.d.ts +3 -0
  36. package/skills/ci-render/SKILL.md +125 -0
  37. package/skills/ci-render/SKILL.md.d.ts +3 -0
  38. package/skills/cicd-intake/SKILL.md +82 -0
  39. package/skills/cicd-intake/SKILL.md.d.ts +3 -0
  40. package/skills/cicd-quickref/SKILL.md +110 -0
  41. package/skills/cicd-quickref/SKILL.md.d.ts +3 -0
  42. package/skills/deploy-gen/SKILL.md +1 -1
  43. package/skills/dev-mode-init/SKILL.md +4 -1
  44. package/skills/devkit-create-addon/SKILL.md +7 -79
  45. package/skills/devkit-create-agent/SKILL.md +7 -163
  46. package/skills/devkit-create-command/SKILL.md +7 -139
  47. package/skills/devkit-create-extension/SKILL.md +7 -101
  48. package/skills/devkit-create-framework/SKILL.md +7 -131
  49. package/skills/devkit-create-skill/SKILL.md +7 -200
  50. package/skills/devkit-test/SKILL.md +1 -1
  51. package/skills/effect-ledger/SKILL.md +17 -0
  52. package/skills/feature-flag-plan/SKILL.md +74 -0
  53. package/skills/feature-flag-plan/SKILL.md.d.ts +3 -0
  54. package/skills/feature-flag-plan/scripts/flag-plan.mjs +159 -0
  55. package/skills/flaky-detect/SKILL.md +1 -1
  56. package/skills/flow-architecture-evolution/SKILL.md +5 -1
  57. package/skills/flow-construction-to-transition/SKILL.md +20 -2
  58. package/skills/flow-delivery-track/SKILL.md +4 -0
  59. package/skills/flow-delivery-track/references/delegation.md +23 -0
  60. package/skills/flow-elaboration-to-construction/SKILL.md +4 -0
  61. package/skills/flow-gate-check/SKILL.md +4 -0
  62. package/skills/flow-gate-check/references/delegation.md +23 -0
  63. package/skills/flow-guided-implementation/SKILL.md +8 -0
  64. package/skills/flow-guided-implementation/references/delegation.md +23 -0
  65. package/skills/flow-inception-to-elaboration/SKILL.md +1 -1
  66. package/skills/flow-iteration-dual-track/SKILL.md +9 -0
  67. package/skills/flow-knowledge-transfer/SKILL.md +1 -1
  68. package/skills/flow-retrospective-cycle/SKILL.md +1 -1
  69. package/skills/flow-security-review-cycle/SKILL.md +4 -0
  70. package/skills/flow-security-review-cycle/references/delegation.md +23 -0
  71. package/skills/flow-test-strategy-execution/SKILL.md +7 -1
  72. package/skills/flow-test-strategy-execution/references/delegation.md +23 -0
  73. package/skills/flow-ux-studio/SKILL.md +206 -0
  74. package/skills/flow-ux-studio/SKILL.md.d.ts +3 -0
  75. package/skills/flow-ux-studio/references/provider-resolution.md +106 -0
  76. package/skills/flow-ux-studio/references/stage-templates.md +27 -0
  77. package/skills/flow-ux-studio/references/tool-map.md +67 -0
  78. package/skills/gate-evaluation/SKILL.md +1 -1
  79. package/skills/intake-from-codebase/SKILL.md +5 -1
  80. package/skills/intake-start/SKILL.md +6 -1
  81. package/skills/intake-wizard/SKILL.md +7 -1
  82. package/skills/issue-audit/SKILL.md +1 -1
  83. package/skills/issue-driven-al/SKILL.md +1 -1
  84. package/skills/issue-list/SKILL.md +1 -1
  85. package/skills/issue-update/SKILL.md +1 -1
  86. package/skills/iteration-control/SKILL.md +1 -1
  87. package/skills/ld-account-setup/SKILL.md +33 -0
  88. package/skills/ld-account-setup/SKILL.md.d.ts +3 -0
  89. package/skills/ld-agentcontrol/SKILL.md +33 -0
  90. package/skills/ld-agentcontrol/SKILL.md.d.ts +3 -0
  91. package/skills/ld-approvals/SKILL.md +33 -0
  92. package/skills/ld-approvals/SKILL.md.d.ts +3 -0
  93. package/skills/ld-code-refs-ci/SKILL.md +33 -0
  94. package/skills/ld-code-refs-ci/SKILL.md.d.ts +3 -0
  95. package/skills/ld-connect/SKILL.md +39 -0
  96. package/skills/ld-connect/SKILL.md.d.ts +3 -0
  97. package/skills/ld-contexts/SKILL.md +33 -0
  98. package/skills/ld-contexts/SKILL.md.d.ts +3 -0
  99. package/skills/ld-docs/SKILL.md +31 -0
  100. package/skills/ld-docs/SKILL.md.d.ts +3 -0
  101. package/skills/ld-doctor/SKILL.md +41 -0
  102. package/skills/ld-doctor/SKILL.md.d.ts +3 -0
  103. package/skills/ld-experiment/SKILL.md +34 -0
  104. package/skills/ld-experiment/SKILL.md.d.ts +3 -0
  105. package/skills/ld-flag-cleanup/SKILL.md +35 -0
  106. package/skills/ld-flag-cleanup/SKILL.md.d.ts +3 -0
  107. package/skills/ld-flag-create/SKILL.md +33 -0
  108. package/skills/ld-flag-create/SKILL.md.d.ts +3 -0
  109. package/skills/ld-flag-debt-audit/SKILL.md +33 -0
  110. package/skills/ld-flag-debt-audit/SKILL.md.d.ts +3 -0
  111. package/skills/ld-guarded-release/SKILL.md +33 -0
  112. package/skills/ld-guarded-release/SKILL.md.d.ts +3 -0
  113. package/skills/ld-migration-flag/SKILL.md +33 -0
  114. package/skills/ld-migration-flag/SKILL.md.d.ts +3 -0
  115. package/skills/ld-progressive-rollout/SKILL.md +34 -0
  116. package/skills/ld-progressive-rollout/SKILL.md.d.ts +3 -0
  117. package/skills/ld-quickref/SKILL.md +50 -0
  118. package/skills/ld-quickref/SKILL.md.d.ts +3 -0
  119. package/skills/ld-relay-proxy/SKILL.md +33 -0
  120. package/skills/ld-relay-proxy/SKILL.md.d.ts +3 -0
  121. package/skills/ld-sdk-integrate/SKILL.md +34 -0
  122. package/skills/ld-sdk-integrate/SKILL.md.d.ts +3 -0
  123. package/skills/ld-segments/SKILL.md +33 -0
  124. package/skills/ld-segments/SKILL.md.d.ts +3 -0
  125. package/skills/ld-targeting/SKILL.md +33 -0
  126. package/skills/ld-targeting/SKILL.md.d.ts +3 -0
  127. package/skills/ld-terraform/SKILL.md +33 -0
  128. package/skills/ld-terraform/SKILL.md.d.ts +3 -0
  129. package/skills/ld-testing/SKILL.md +34 -0
  130. package/skills/ld-testing/SKILL.md.d.ts +3 -0
  131. package/skills/mention-conventions/SKILL.md +1 -1
  132. package/skills/mention-lint/SKILL.md +1 -1
  133. package/skills/mention-report/SKILL.md +1 -1
  134. package/skills/mention-validate/SKILL.md +1 -1
  135. package/skills/new-bundle/SKILL.md +1 -1
  136. package/skills/new-project/SKILL.md +1 -1
  137. package/skills/prefill-cards/SKILL.md +1 -1
  138. package/skills/project-status/SKILL.md +1 -1
  139. package/skills/promote/SKILL.md +1 -1
  140. package/skills/ralph-config/SKILL.md +1 -1
  141. package/skills/ralph-external/SKILL.md +1 -1
  142. package/skills/ralph-memory/SKILL.md +1 -1
  143. package/skills/ralph-resume/SKILL.md +1 -1
  144. package/skills/retrospective-analyzer/SKILL.md +14 -0
  145. package/skills/scaffold-addon/SKILL.md +8 -4
  146. package/skills/scaffold-extension/SKILL.md +9 -1
  147. package/skills/scaffold-framework/SKILL.md +12 -3
  148. package/skills/sdlc-accelerate/SKILL.md +1 -1
  149. package/skills/sdlc-quickref/SKILL.md +9 -0
  150. package/skills/steward/SKILL.md +8 -3
  151. package/skills/tdd-enforce/SKILL.md +1 -1
  152. package/skills/ux-a11y-design/SKILL.md +64 -0
  153. package/skills/ux-a11y-design/SKILL.md.d.ts +3 -0
  154. package/skills/ux-build/SKILL.md +67 -0
  155. package/skills/ux-build/SKILL.md.d.ts +3 -0
  156. package/skills/ux-copy/SKILL.md +65 -0
  157. package/skills/ux-copy/SKILL.md.d.ts +3 -0
  158. package/skills/ux-critique/SKILL.md +70 -0
  159. package/skills/ux-critique/SKILL.md.d.ts +3 -0
  160. package/skills/ux-design-system/SKILL.md +65 -0
  161. package/skills/ux-design-system/SKILL.md.d.ts +3 -0
  162. package/skills/ux-edge-states/SKILL.md +68 -0
  163. package/skills/ux-edge-states/SKILL.md.d.ts +3 -0
  164. package/skills/ux-ethics/SKILL.md +65 -0
  165. package/skills/ux-ethics/SKILL.md.d.ts +3 -0
  166. package/skills/ux-flows-ia/SKILL.md +70 -0
  167. package/skills/ux-flows-ia/SKILL.md.d.ts +3 -0
  168. package/skills/ux-handoff/SKILL.md +71 -0
  169. package/skills/ux-handoff/SKILL.md.d.ts +3 -0
  170. package/skills/ux-handoff-index/SKILL.md +72 -0
  171. package/skills/ux-handoff-index/SKILL.md.d.ts +3 -0
  172. package/skills/ux-live-verify/SKILL.md +110 -0
  173. package/skills/ux-live-verify/SKILL.md.d.ts +3 -0
  174. package/skills/ux-live-verify/references/axe-strategy.md +23 -0
  175. package/skills/ux-metrics/SKILL.md +63 -0
  176. package/skills/ux-metrics/SKILL.md.d.ts +3 -0
  177. package/skills/ux-problem-framing/SKILL.md +63 -0
  178. package/skills/ux-problem-framing/SKILL.md.d.ts +3 -0
  179. package/skills/ux-quickref/SKILL.md +69 -0
  180. package/skills/ux-quickref/SKILL.md.d.ts +3 -0
  181. package/skills/ux-research/SKILL.md +75 -0
  182. package/skills/ux-research/SKILL.md.d.ts +3 -0
  183. package/skills/ux-visual-direction/SKILL.md +63 -0
  184. package/skills/ux-visual-direction/SKILL.md.d.ts +3 -0
  185. package/skills/ux-wireframes/SKILL.md +63 -0
  186. package/skills/ux-wireframes/SKILL.md.d.ts +3 -0
  187. package/skills/workspace-health/SKILL.md +1 -1
  188. package/skills/workspace-reset/SKILL.md +1 -1
  189. package/specialists.d.ts +3 -0
  190. package/specialists.js +3 -0
  191. /package/skills/{steward-quickref → aiwg-steward-quickref}/SKILL.md.d.ts +0 -0
@@ -0,0 +1,142 @@
1
+ ---
2
+ name: ci-pipeline-audit
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Read-only CI control and supply-chain audit covering safety signals, secrets, immutable pins, SBOM, signing and provenance.
6
+ triggers:
7
+ - "ci-pipeline-audit"
8
+ - "audit my CI controls"
9
+ - "review pipeline supply chain"
10
+ ---
11
+
12
+ # CI Pipeline Audit
13
+
14
+ ## Bound rules
15
+
16
+ Before work, load and obey each rule below with `aiwg show rule <name> --body`.
17
+ If discovery is unavailable, read its canonical source. Stop if a required rule
18
+ cannot be loaded. These are mandatory operating instructions; rule-side
19
+ `bound_to` metadata is maintained by the rule owner, not by this component.
20
+
21
+ - `human-authorization` — `@$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/human-authorization.md`
22
+ - `dev-pipeline-safety` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-pipeline-safety.md`
23
+ - `dev-secret-hygiene` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-secret-hygiene.md`
24
+ - `dev-idempotent-builds` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-idempotent-builds.md`
25
+ - `dev-ci-self-contained` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-ci-self-contained.md`
26
+ - `ci-action-pinning` — `@$AIWG_ROOT/agentic/code/frameworks/security-engineering/rules/ci-action-pinning.md`
27
+
28
+ ## Process
29
+
30
+ 1. Establish audit scope and inspect workflows/specs, builder definitions,
31
+ redacted run evidence, pin manifest and artifact records read-only. Do not
32
+ trigger workflows or download/execute untrusted project code for review.
33
+ 2. Check required signals cannot be bypassed, secret access excludes untrusted
34
+ execution, environment protections apply and dependencies are reproducible.
35
+ 3. With `supply-chain-guard`, inspect full action SHA pins and version comments,
36
+ versioned image digests, installer checksums and matching pin-manifest rows.
37
+ 4. Trace `ci-sbom`, `ci-sign` and provenance to exact artifact/source digests,
38
+ trusted builder/signer identities, policy verification and retention. Report
39
+ unavailable verification as unknown, never as passed evidence.
40
+ 5. Check coverage/build-time gates and progressive delivery health/rollback
41
+ controls. If reading flag state, apply the feature-flag boundary below.
42
+ 6. Produce severity-ranked findings with locations, evidence, impact and
43
+ concrete recommendations. Report and stop for explicit user authorization
44
+ before any change. Never update pins, permissions, gates or CI files as
45
+ an audit side effect, even when remediation appears straightforward.
46
+
47
+ ## Authorization checkpoint
48
+
49
+ Prepare the concrete proposed diff, affected paths, validation plan and rollback
50
+ before applying anything. Require explicit user authorization covering those CI
51
+ files before writing, replacing or deleting project workflows, builder files or
52
+ CI scripts. A design, review finding or generated preview grants no permission.
53
+ Record the approved scope; stop at its boundary. Execution, registry pushes,
54
+ trigger changes and live delivery require their own explicit authorization.
55
+
56
+ ## Feature-flag boundary
57
+
58
+ When flag state matters, read `feature_flags.provider` from project config.
59
+ For a configured provider, discover its skills and use its read-only state checks;
60
+ never infer a vendor from credentials or installed tools. With provider `none`,
61
+ produce a manual approval step for each flag-dependent gate. Missing or unknown
62
+ configuration is an unresolved prerequisite, never an implicit pass.
63
+ Never create, change, toggle, retire or delete flags, including through delegated
64
+ execution. Hand lifecycle decisions to sdlc-complete flag planning, referencing
65
+ `@$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md`.
66
+ Provider operations belong to the provider's skills; lifecycle handoff conveys
67
+ no authorization to mutate flags. Pipeline progression may use approved observed
68
+ flag state; flag mutations remain outside this component.
69
+
70
+ ## Output template
71
+
72
+ Resolve the #4423 templates by these names:
73
+
74
+ - `ci-assessment-report-template`
75
+
76
+ Audit scope; controls and evidence matrix; findings by severity with file/run references; unknown verification; remediation proposals; owner and approval pending.
77
+
78
+ ## Example
79
+
80
+ “Audit my CI controls” reports a mutable container tag and missing provenance verification. The audit does not update a digest or disable publishing.
81
+
82
+ ## Artifact handling
83
+
84
+ Before writing project artifacts, run `aiwg artifacts path --json --check-write`.
85
+ Resolve logical `.aiwg/frameworks/cicd-complete/` beneath the returned artifact
86
+ root; stop if unavailable. Keep drafts and reports there. Never write literal
87
+ secrets or raw credential-bearing logs. Resolve templates by name with discovery;
88
+ if a template or capability is absent, record the prerequisite and pending work.
89
+ Do not claim execution from schema validation or a proposed procedure.
90
+
91
+ ## Capacity constraints (#4526)
92
+
93
+ For opted-in capacity profiles, run the existing local constraint validator at
94
+ `$AIWG_ROOT/agentic/code/frameworks/cicd-complete/validators/constraints.mjs`
95
+ with the pipeline, all named environments and `--phase audit-time`. The built-in
96
+ capacity hooks check inventory, pool bounds, spot preference, packing, main job
97
+ placement, self-hosted labels and measured timeout ceilings. Follow the capacity
98
+ section of `$AIWG_ROOT/docs/frameworks/cicd-complete/constraint-profiles.md`.
99
+ Report ID, enforcement and affected pool/job for every violation. Compare the
100
+ provider preview against its runner registration and reviewed scale-set values;
101
+ report unsupported capacity fields as **not expressible**. Keep live cluster
102
+ verification and measurement provenance as explicit unknowns unless evidenced.
103
+ Use the existing build-time-budget GatePack for elapsed-time observations;
104
+ timeout hits require hang investigation, never automatic budget increases.
105
+
106
+ ## Pipeline-shape constraints (#4527)
107
+
108
+ For a selected pipeline-shape profile, run the existing constraint validator in
109
+ `--phase audit-time` with the inert rendered workflow (`--workflow`) and reviewed
110
+ project adapter bindings (`--shape-bindings`). Follow
111
+ `$AIWG_ROOT/docs/frameworks/cicd-complete/constraint-profiles.md#pipeline-shape-4527`.
112
+ Report each constraint ID, subject and enforcement. Compare the slow-check
113
+ inventory with prior checks and measured execution durations; verify issue
114
+ references read-only when access is authorized. Queue wait is excluded from the
115
+ PR budget. Check label/head revalidation, registry-cache bindings and the exact
116
+ qualified-tree release path. Static adapter declarations are not runtime proof;
117
+ missing observations remain unknown. Record the #4528 recovery prerequisite.
118
+
119
+ ## Red-main recovery audit (#4528)
120
+
121
+ For each selected recovery constraint, run the shared `validateConstraints`
122
+ preflight in `audit-time` phase. Use `createRecoveryValidators(evidence)` from
123
+ `validators/recovery.mjs` for explicit offline shipped/proposed migration
124
+ inventories and normalized run history. Trace declared `ci-test` recovery
125
+ policies to required provider verdicts, fix-label access and green-state re-run
126
+ subscriptions; missing declarations or bindings are findings. Detect shipped
127
+ migration deletion/modification from the ledger and candidate inventory. Trace
128
+ every red-main repair deploy to its own tests, build and pre-deploy migration,
129
+ including dependency ordering and matching worker/build identity. Missing
130
+ runtime evidence is unavailable, not a passed control. Keep the repair-migration
131
+ deadlock and the original failing checks in the CI incident record. Formats and
132
+ worked example: `$AIWG_ROOT/docs/frameworks/cicd-complete/constraint-profiles.md`.
133
+
134
+ ## Profile audit (#4529)
135
+
136
+ For a selected profile, run `assessConstraintProfile` at `audit-time` and
137
+ classify it with `auditFindings` from
138
+ `$AIWG_ROOT/agentic/code/frameworks/cicd-complete/validators/profile-assessment.mjs`.
139
+ A `blocking` violation is a finding. An `advisory` violation is a recommendation.
140
+ Each names the constraint id and the fix from the validator message. Report
141
+ `not-expressible` rows on their own and do not count them as passed controls.
142
+ Use `ci-assessment-report-template` for the disposition section.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -0,0 +1,101 @@
1
+ ---
2
+ name: ci-pipeline-design
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Design and validate provider-neutral CIPipeline and CIEnvironment contracts with named capabilities, dependencies and gates.
6
+ triggers:
7
+ - "ci-pipeline-design"
8
+ - "design CI pipeline specs"
9
+ - "plan CI environments and gates"
10
+ ---
11
+
12
+ # CI Pipeline Design
13
+
14
+ ## Bound rules
15
+
16
+ Before work, load and obey each rule below with `aiwg show rule <name> --body`.
17
+ If discovery is unavailable, read its canonical source. Stop if a required rule
18
+ cannot be loaded. These are mandatory operating instructions; rule-side
19
+ `bound_to` metadata is maintained by the rule owner, not by this component.
20
+
21
+ - `human-authorization` — `@$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/human-authorization.md`
22
+ - `dev-pipeline-safety` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-pipeline-safety.md`
23
+ - `dev-secret-hygiene` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-secret-hygiene.md`
24
+ - `dev-idempotent-builds` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-idempotent-builds.md`
25
+ - `ci-action-pinning` — `@$AIWG_ROOT/agentic/code/frameworks/security-engineering/rules/ci-action-pinning.md`
26
+
27
+ ## Process
28
+
29
+ 1. Load intake and assessment, confirm desired behavior and compare provider
30
+ targets `gitea-actions`, `github-actions` and `gitlab-ci` with `ci-architect`.
31
+ Start from a selected constraint profile. Leave new constraints as
32
+ `ci-architect` proposals until the operator approves adoption.
33
+ 2. Draft `cicd.aiwg.io/v1` CIPipeline with `spec.triggers`, `environments`,
34
+ `stages` and `render.targets`. Jobs require ids and capability names; use
35
+ `depends_on` for stage/job order. Select `ci-checkout`, `ci-cache`,
36
+ `ci-setup-runtime`, `ci-lint`, `ci-test`, `ci-coverage`, `ci-sbom`, `ci-sign`,
37
+ `ci-artifact-upload` and `ci-deploy-handoff` as requirements warrant.
38
+ 3. Plan container stages with `docker-build`, `image-scan` and `docker-push`.
39
+ Separate untrusted tests from protected signing, push and deploy jobs.
40
+ Draft CIEnvironment resources with runner labels, `{name, ref}` secrets,
41
+ reviewer counts and branch restrictions. Never embed secret values.
42
+ 4. Reference gates `aiwg:cicd-complete/coverage-floor`, `aiwg:cicd-complete/build-time-budget` and
43
+ `aiwg:cicd-complete/progressive-rollout-health` after explicit stages. For rollout,
44
+ plan canary, blue-green, rolling or flag steps with exactly one of `weight`
45
+ or `percentage`, pauses, gates and rollback capability. Explicitly resolve
46
+ omitted flag step capability to `progressive-rollout` in the consumer.
47
+ 5. For flag-dependent jobs consider `flag-check`, `flag-states-test`,
48
+ `flag-coderefs-scan` and `flag-cleanup-handoff`; apply the boundary below.
49
+ Cleanup is a handoff, never permission to retire or remove flags.
50
+ 6. Validate against `ci-pipeline.schema.json` and `ci-environment.schema.json`
51
+ under `$AIWG_ROOT/agentic/code/frameworks/cicd-complete/schemas/`. Resolve
52
+ capability/environment/gate references, validate inputs and reject missing
53
+ dependencies and cycles. Schema defaults are annotations, not execution.
54
+ 7. Present reviewable contracts, unresolved prerequisites and provider tradeoffs.
55
+ After design acceptance, hand to `ci-render`; CI file installation still
56
+ needs explicit authorization for the actual rendered diff.
57
+
58
+ ## Authorization checkpoint
59
+
60
+ Prepare the concrete proposed diff, affected paths, validation plan and rollback
61
+ before applying anything. Require explicit user authorization covering those CI
62
+ files before writing, replacing or deleting project workflows, builder files or
63
+ CI scripts. A design, review finding or generated preview grants no permission.
64
+ Record the approved scope; stop at its boundary. Execution, registry pushes,
65
+ trigger changes and live delivery require their own explicit authorization.
66
+
67
+ ## Feature-flag boundary
68
+
69
+ When flag state matters, read `feature_flags.provider` from project config.
70
+ For a configured provider, discover its skills and use its read-only state checks;
71
+ never infer a vendor from credentials or installed tools. With provider `none`,
72
+ produce a manual approval step for each flag-dependent gate. Missing or unknown
73
+ configuration is an unresolved prerequisite, never an implicit pass.
74
+ Never create, change, toggle, retire or delete flags, including through delegated
75
+ execution. Hand lifecycle decisions to sdlc-complete flag planning, referencing
76
+ `@$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md`.
77
+ Provider operations belong to the provider's skills; lifecycle handoff conveys
78
+ no authorization to mutate flags. Pipeline progression may use approved observed
79
+ flag state; flag mutations remain outside this component.
80
+
81
+ ## Output template
82
+
83
+ Resolve the #4423 templates by these names:
84
+
85
+ - `ci-pipeline-spec-template`
86
+ - `ci-environment-plan-template`
87
+
88
+ CIPipeline and CIEnvironment drafts; provider rationale; reference/acyclicity validation; capability/gate availability; rollout and rollback plan; approval status.
89
+
90
+ ## Example
91
+
92
+ “Design CI pipeline specs for my Go API” produces lint/test/build stages, protected signing and publishing, runner labels and coverage/build-time gates, ready for review before rendering.
93
+
94
+ ## Artifact handling
95
+
96
+ Before writing project artifacts, run `aiwg artifacts path --json --check-write`.
97
+ Resolve logical `.aiwg/frameworks/cicd-complete/` beneath the returned artifact
98
+ root; stop if unavailable. Keep drafts and reports there. Never write literal
99
+ secrets or raw credential-bearing logs. Resolve templates by name with discovery;
100
+ if a template or capability is absent, record the prerequisite and pending work.
101
+ Do not claim execution from schema validation or a proposed procedure.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -0,0 +1,96 @@
1
+ ---
2
+ name: ci-release-coordinate
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Coordinate user-project tag, publish and progressive delivery with exact artifact identity, scoped approvals, health gates and rollback.
6
+ triggers:
7
+ - "ci-release-coordinate"
8
+ - "coordinate my pipeline release"
9
+ - "plan approved progressive rollout"
10
+ ---
11
+
12
+ # CI Release Coordination
13
+
14
+ ## Bound rules
15
+
16
+ Before work, load and obey each rule below with `aiwg show rule <name> --body`.
17
+ If discovery is unavailable, read its canonical source. Stop if a required rule
18
+ cannot be loaded. These are mandatory operating instructions; rule-side
19
+ `bound_to` metadata is maintained by the rule owner, not by this component.
20
+
21
+ - `human-authorization` — `@$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/human-authorization.md`
22
+ - `dev-pipeline-safety` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-pipeline-safety.md`
23
+ - `dev-secret-hygiene` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-secret-hygiene.md`
24
+ - `dev-idempotent-builds` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-idempotent-builds.md`
25
+ - `ci-action-pinning` — `@$AIWG_ROOT/agentic/code/frameworks/security-engineering/rules/ci-action-pinning.md`
26
+
27
+ ## Process
28
+
29
+ 1. With `ci-release-engineer`, load the user's release policy, version scheme,
30
+ source revision, reviewed specs, destination registry and environment plan.
31
+ Do not apply AIWG's own release tooling or versioning to the user's project.
32
+ 2. Verify required check results and exact artifact digest with `ci-sbom`,
33
+ `ci-sign`, provenance and `ci-artifact-upload` receipts. Resolve trusted
34
+ signer/builder identity and protected-branch/environment requirements.
35
+ 3. Draft a runbook with ordered tag creation/push, publication, promotion and
36
+ rollback steps, responsible owners and idempotency/recovery behavior.
37
+ Present exact destinations and irreversible effects for explicit approval;
38
+ one approval must not silently cover other environments or registry targets.
39
+ 4. For flag-aware delivery, use `flag-check` and `flag-states-test` with the
40
+ provider routing below. `flag-coderefs-scan` informs readiness;
41
+ `flag-cleanup-handoff` routes future lifecycle work to sdlc. Neither changes
42
+ flags. Provider `none` requires a manual approval step at each dependent gate.
43
+ 5. After scoped authorization, coordinate `ci-deploy-handoff` and execute
44
+ `progressive-rollout` through the existing OpsCapability driver; do not
45
+ build a new engine. Enforce step pauses/observation windows and
46
+ `aiwg:cicd-complete/progressive-rollout-health`. Stop on unhealthy or unknown state;
47
+ perform only a previously authorized rollback. If execution requires a
48
+ flag mutation, stop and hand off instead of performing it.
49
+ 6. Record tag/publish identities and per-step receipts, verify destination
50
+ digest and health, and report completed versus pending operations. On failure
51
+ retain the failed signal and use the incident template; never rerun to green.
52
+
53
+ ## Authorization checkpoint
54
+
55
+ Prepare the concrete proposed diff, affected paths, validation plan and rollback
56
+ before applying anything. Require explicit user authorization covering those CI
57
+ files before writing, replacing or deleting project workflows, builder files or
58
+ CI scripts. A design, review finding or generated preview grants no permission.
59
+ Record the approved scope; stop at its boundary. Execution, registry pushes,
60
+ trigger changes and live delivery require their own explicit authorization.
61
+
62
+ ## Feature-flag boundary
63
+
64
+ When flag state matters, read `feature_flags.provider` from project config.
65
+ For a configured provider, discover its skills and use its read-only state checks;
66
+ never infer a vendor from credentials or installed tools. With provider `none`,
67
+ produce a manual approval step for each flag-dependent gate. Missing or unknown
68
+ configuration is an unresolved prerequisite, never an implicit pass.
69
+ Never create, change, toggle, retire or delete flags, including through delegated
70
+ execution. Hand lifecycle decisions to sdlc-complete flag planning, referencing
71
+ `@$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md`.
72
+ Provider operations belong to the provider's skills; lifecycle handoff conveys
73
+ no authorization to mutate flags. Pipeline progression may use approved observed
74
+ flag state; flag mutations remain outside this component.
75
+
76
+ ## Output template
77
+
78
+ Resolve the #4423 templates by these names:
79
+
80
+ - `ci-pipeline-runbook-template`
81
+ - `ci-pipeline-incident-template`
82
+
83
+ Release identity and policy; readiness evidence; tag/publish/promotion approval ledger; capability and gate receipts; observed health; destination digest verification; rollback results; lifecycle handoffs.
84
+
85
+ ## Example
86
+
87
+ “Coordinate my pipeline release to staging” produces an approval-ready runbook. After scoped approval it coordinates only staging promotion; publication and production require their own explicit approval.
88
+
89
+ ## Artifact handling
90
+
91
+ Before writing project artifacts, run `aiwg artifacts path --json --check-write`.
92
+ Resolve logical `.aiwg/frameworks/cicd-complete/` beneath the returned artifact
93
+ root; stop if unavailable. Keep drafts and reports there. Never write literal
94
+ secrets or raw credential-bearing logs. Resolve templates by name with discovery;
95
+ if a template or capability is absent, record the prerequisite and pending work.
96
+ Do not claim execution from schema validation or a proposed procedure.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -0,0 +1,125 @@
1
+ ---
2
+ name: ci-render
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Render reviewed pipeline and environment specs through installed provider-extension templates, preview the diff and authorize workflow installation.
6
+ triggers:
7
+ - "ci-render"
8
+ - "render my CI pipeline"
9
+ - "generate workflows from CI specs"
10
+ ---
11
+
12
+ # CI Render
13
+
14
+ ## Bound rules
15
+
16
+ Before work, load and obey each rule below with `aiwg show rule <name> --body`.
17
+ If discovery is unavailable, read its canonical source. Stop if a required rule
18
+ cannot be loaded. These are mandatory operating instructions; rule-side
19
+ `bound_to` metadata is maintained by the rule owner, not by this component.
20
+
21
+ - `human-authorization` — `@$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/human-authorization.md`
22
+ - `dev-pipeline-safety` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-pipeline-safety.md`
23
+ - `dev-secret-hygiene` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-secret-hygiene.md`
24
+ - `dev-idempotent-builds` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-idempotent-builds.md`
25
+ - `ci-action-pinning` — `@$AIWG_ROOT/agentic/code/frameworks/security-engineering/rules/ci-action-pinning.md`
26
+
27
+ ## Process
28
+
29
+ 1. Load reviewed specs with `ci-renderer`; validate schemas, references, cycles,
30
+ capability inputs and gate parameters. Resolve provider targets explicitly.
31
+ Before any provider template projection, run the local preflight at
32
+ `@$AIWG_ROOT/agentic/code/frameworks/cicd-complete/validators/constraints.mjs`
33
+ with the pipeline, all bound CIEnvironments, selected profile files and installed
34
+ extension roots. Follow the contract at
35
+ `@$AIWG_ROOT/docs/frameworks/cicd-complete/constraint-profiles.md`.
36
+ A blocking violation stops rendering; surface advisory warnings naming the
37
+ constraint ID and affected job or pool. Off skips checks. Unknown references,
38
+ invalid parameters and unavailable checkers are unresolved prerequisites.
39
+ Programmatic template consumers must use `renderWithConstraints` before projection.
40
+ 2. Locate the installed provider WorkflowExtension extending `cicd-complete`
41
+ and its rendering templates. Record identity/version and compatibility.
42
+ First-wave sources: `@$AIWG_ROOT/agentic/code/extensions/cicd-gitea-actions/`
43
+ and `@$AIWG_ROOT/agentic/code/extensions/cicd-github-actions/`. Discover
44
+ `cicd-gitea-actions-workflow` or `cicd-github-actions-workflow`; read their
45
+ README, provider rule and template. If missing, report the prerequisite and stop.
46
+ Do not fabricate templates or claim a working render from a design alone.
47
+ 3. Render through those templates into an artifact preview, never directly into
48
+ live workflow paths. Record input/template/output digests, versions, exact
49
+ target mapping and repeat-render determinism.
50
+ 4. Compare against current workflow files; preserve manual edits as findings.
51
+ Validate preview syntax and provider semantics using available extension
52
+ validators. Flag trust, secret, pinning or unsupported mapping failures.
53
+ 5. Present the concrete diff, target paths and rollback copy for explicit user
54
+ authorization. Only after that approval install the scoped files and run
55
+ authorized validation. Pipeline dispatch is a separate approval boundary.
56
+ 6. Record results and unresolved prerequisites. Hand read-only drift monitoring
57
+ to `ci-drift-check`; do not schedule or run it without a user request.
58
+
59
+ ## Authorization checkpoint
60
+
61
+ Prepare the concrete proposed diff, affected paths, validation plan and rollback
62
+ before applying anything. Require explicit user authorization covering those CI
63
+ files before writing, replacing or deleting project workflows, builder files or
64
+ CI scripts. A design, review finding or generated preview grants no permission.
65
+ Record the approved scope; stop at its boundary. Execution, registry pushes,
66
+ trigger changes and live delivery require their own explicit authorization.
67
+
68
+ ## Feature-flag boundary
69
+
70
+ When flag state matters, read `feature_flags.provider` from project config.
71
+ For a configured provider, discover its skills and use its read-only state checks;
72
+ never infer a vendor from credentials or installed tools. With provider `none`,
73
+ produce a manual approval step for each flag-dependent gate. Missing or unknown
74
+ configuration is an unresolved prerequisite, never an implicit pass.
75
+ Never create, change, toggle, retire or delete flags, including through delegated
76
+ execution. Hand lifecycle decisions to sdlc-complete flag planning, referencing
77
+ `@$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md`.
78
+ Provider operations belong to the provider's skills; lifecycle handoff conveys
79
+ no authorization to mutate flags. Pipeline progression may use approved observed
80
+ flag state; flag mutations remain outside this component.
81
+
82
+ ## Output template
83
+
84
+ Resolve the #4423 templates by these names:
85
+
86
+ - `ci-pipeline-runbook-template`
87
+
88
+ Source/spec references; extension and template versions; deterministic render receipt; source/output mapping and digests; reviewed diff; validation; approval and installation status; rollback.
89
+
90
+ ## Example
91
+
92
+ “Render my CI pipeline for GitHub Actions” yields a preview and scoped installation checkpoint when the provider extension is available, or a missing-template report when the extension is absent.
93
+
94
+ ## Artifact handling
95
+
96
+ Before writing project artifacts, run `aiwg artifacts path --json --check-write`.
97
+ Resolve logical `.aiwg/frameworks/cicd-complete/` beneath the returned artifact
98
+ root; stop if unavailable. Keep drafts and reports there. Never write literal
99
+ secrets or raw credential-bearing logs. Resolve templates by name with discovery;
100
+ if a template or capability is absent, record the prerequisite and pending work.
101
+ Do not claim execution from schema validation or a proposed procedure.
102
+
103
+ ## Pipeline-shape preview (#4527)
104
+
105
+ For this selected family, use the GitHub Actions template's pipeline-shape
106
+ section and the reviewed project `CI_BINDINGS` plan. Prepare an inert preview,
107
+ then check those exact bytes through the existing validator with `--workflow`
108
+ and `--shape-bindings` before offering installation. Programmatic consumers pass
109
+ `workflows` and `shapeBindings` to `renderWithConstraints` and return only that
110
+ validated preview from the projection callback. Follow the binding contract at
111
+ `$AIWG_ROOT/docs/frameworks/cicd-complete/constraint-profiles.md#pipeline-shape-4527`.
112
+ Do not claim adapter execution or recovery readiness from the static check.
113
+
114
+ ## Red-main recovery projection (#4528)
115
+
116
+ The shared preflight includes built-in `recovery.*` hooks for selected profiles.
117
+ Preserve optional `ci-test` and `ci-deploy-handoff` recovery inputs in `CI_INPUTS`
118
+ and all explicit test -> build -> migration -> deploy job dependencies. Resolve
119
+ each project-owned implementation and its required inputs using the existing
120
+ capability binding plan. Do not render a repair deploy behind a main-green guard
121
+ that would prevent its authorized red-main path. Record the provider-specific
122
+ repair trigger/guard in the binding plan and verify it against provider settings;
123
+ retain normal environment approvals, branch restrictions and secret protections.
124
+ Audit evidence is separate from a successful render. See
125
+ `$AIWG_ROOT/docs/frameworks/cicd-complete/constraint-profiles.md`.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -0,0 +1,82 @@
1
+ ---
2
+ name: cicd-intake
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Capture user-project CI/CD goals, ownership, provider constraints and lifecycle scope before assessment or design.
6
+ triggers:
7
+ - "cicd-intake"
8
+ - "start CI/CD intake"
9
+ - "capture pipeline delivery goals"
10
+ ---
11
+
12
+ # CI/CD Intake
13
+
14
+ ## Bound rules
15
+
16
+ Before work, load and obey each rule below with `aiwg show rule <name> --body`.
17
+ If discovery is unavailable, read its canonical source. Stop if a required rule
18
+ cannot be loaded. These are mandatory operating instructions; rule-side
19
+ `bound_to` metadata is maintained by the rule owner, not by this component.
20
+
21
+ - `human-authorization` — `@$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/human-authorization.md`
22
+ - `dev-secret-hygiene` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-secret-hygiene.md`
23
+ - `dev-pipeline-safety` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-pipeline-safety.md`
24
+
25
+ ## Process
26
+
27
+ 1. Identify the user's repository, delivery owner, runtime/build/test commands,
28
+ current forge/runner setup and target environments. Separate observed facts
29
+ from assumptions; do not import AIWG repository CI policies.
30
+ 2. Capture delivery frequency, required checks, trust boundaries, artifact
31
+ retention, release destinations, rollback objectives and approval owners.
32
+ Record secrets by reference and owner only.
33
+ 3. Establish the assess → design → implement → operate scope and success
34
+ measures, including coverage floor and build-time budget requirements.
35
+ 4. If progressive delivery is requested, apply the feature-flag boundary below;
36
+ capture provider and existing flag-card references without changing config.
37
+ 5. Present unanswered questions and agreed inputs. Hand off to `ci-assess`
38
+ or `ci-architect` / `ci-pipeline-design`; do not bootstrap CI during intake.
39
+
40
+ ## Authorization checkpoint
41
+
42
+ Prepare the concrete proposed diff, affected paths, validation plan and rollback
43
+ before applying anything. Require explicit user authorization covering those CI
44
+ files before writing, replacing or deleting project workflows, builder files or
45
+ CI scripts. A design, review finding or generated preview grants no permission.
46
+ Record the approved scope; stop at its boundary. Execution, registry pushes,
47
+ trigger changes and live delivery require their own explicit authorization.
48
+
49
+ ## Feature-flag boundary
50
+
51
+ When flag state matters, read `feature_flags.provider` from project config.
52
+ For a configured provider, discover its skills and use its read-only state checks;
53
+ never infer a vendor from credentials or installed tools. With provider `none`,
54
+ produce a manual approval step for each flag-dependent gate. Missing or unknown
55
+ configuration is an unresolved prerequisite, never an implicit pass.
56
+ Never create, change, toggle, retire or delete flags, including through delegated
57
+ execution. Hand lifecycle decisions to sdlc-complete flag planning, referencing
58
+ `@$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md`.
59
+ Provider operations belong to the provider's skills; lifecycle handoff conveys
60
+ no authorization to mutate flags. Pipeline progression may use approved observed
61
+ flag state; flag mutations remain outside this component.
62
+
63
+ ## Output template
64
+
65
+ Resolve the #4423 templates by these names:
66
+
67
+ - `cicd-intake-template`
68
+
69
+ Repository and owner; observed baseline; desired outcomes; environments; trust boundaries; provider/flag dependencies; approval owners; open questions; next lifecycle step.
70
+
71
+ ## Example
72
+
73
+ “Start CI/CD intake for my Python service on GitLab” yields an intake draft with runtime, runner and delivery constraints plus questions about release protections. No workflow is installed.
74
+
75
+ ## Artifact handling
76
+
77
+ Before writing project artifacts, run `aiwg artifacts path --json --check-write`.
78
+ Resolve logical `.aiwg/frameworks/cicd-complete/` beneath the returned artifact
79
+ root; stop if unavailable. Keep drafts and reports there. Never write literal
80
+ secrets or raw credential-bearing logs. Resolve templates by name with discovery;
81
+ if a template or capability is absent, record the prerequisite and pending work.
82
+ Do not claim execution from schema validation or a proposed procedure.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;