@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,114 @@
1
+ ---
2
+ name: ci-assess
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Read-only assessment of current user-project pipelines, delivery risks, reliability baseline and prioritized improvements.
6
+ triggers:
7
+ - "ci-assess"
8
+ - "assess my CI pipeline"
9
+ - "baseline pipeline reliability"
10
+ ---
11
+
12
+ # CI Assessment
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 inspect workflow files, runner/environment references,
30
+ dependency locks, build scripts and existing redacted run evidence read-only.
31
+ 2. Map triggers, stages, required checks, artifacts, cache boundaries, secrets,
32
+ protections, release paths and rollback ownership. Distinguish missing data
33
+ from a confirmed failing control.
34
+ 3. Measure available failure/flake rates, build durations and coverage against
35
+ agreed targets; record time range, sample size and data limitations.
36
+ 4. Check supply-chain pins and evidence, gate bypasses, idempotency and flag-state
37
+ dependencies. Route flag reads through the feature-flag boundary below.
38
+ 5. Rank findings by impact, citing paths/run identities and proposing bounded
39
+ improvements. Report and stop. Await explicit user authorization before any
40
+ change, repair, run, cache invalidation or handoff that would apply a finding.
41
+
42
+ ## Authorization checkpoint
43
+
44
+ Prepare the concrete proposed diff, affected paths, validation plan and rollback
45
+ before applying anything. Require explicit user authorization covering those CI
46
+ files before writing, replacing or deleting project workflows, builder files or
47
+ CI scripts. A design, review finding or generated preview grants no permission.
48
+ Record the approved scope; stop at its boundary. Execution, registry pushes,
49
+ trigger changes and live delivery require their own explicit authorization.
50
+
51
+ ## Feature-flag boundary
52
+
53
+ When flag state matters, read `feature_flags.provider` from project config.
54
+ For a configured provider, discover its skills and use its read-only state checks;
55
+ never infer a vendor from credentials or installed tools. With provider `none`,
56
+ produce a manual approval step for each flag-dependent gate. Missing or unknown
57
+ configuration is an unresolved prerequisite, never an implicit pass.
58
+ Never create, change, toggle, retire or delete flags, including through delegated
59
+ execution. Hand lifecycle decisions to sdlc-complete flag planning, referencing
60
+ `@$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md`.
61
+ Provider operations belong to the provider's skills; lifecycle handoff conveys
62
+ no authorization to mutate flags. Pipeline progression may use approved observed
63
+ flag state; flag mutations remain outside this component.
64
+
65
+ ## Output template
66
+
67
+ Resolve the #4423 templates by these names:
68
+
69
+ - `ci-assessment-report-template`
70
+
71
+ Scope and baseline; evidence window; stage/control inventory; severity-ranked findings with locations and impact; proposed changes; missing evidence; authorization pending.
72
+
73
+ ## Example
74
+
75
+ “Assess my CI pipeline” returns a report identifying an unprotected publish path and a slow test stage; it does not edit either job or trigger a new run.
76
+
77
+ ## Artifact handling
78
+
79
+ Before writing project artifacts, run `aiwg artifacts path --json --check-write`.
80
+ Resolve logical `.aiwg/frameworks/cicd-complete/` beneath the returned artifact
81
+ root; stop if unavailable. Keep drafts and reports there. Never write literal
82
+ secrets or raw credential-bearing logs. Resolve templates by name with discovery;
83
+ if a template or capability is absent, record the prerequisite and pending work.
84
+ Do not claim execution from schema validation or a proposed procedure.
85
+
86
+ ## Red-main recovery assessment (#4528)
87
+
88
+ For an opted-in recovery profile, normalize available redacted run history and
89
+ call `assessRecoveryBackpressure` from the framework's
90
+ `validators/recovery-backpressure.mjs`. Report lambda (merges/second), T (mean
91
+ qualification seconds), p (culprits/merges), r (mean recovery seconds/culprit),
92
+ window and sample counts, lambda*p*r and n = lambda*T/(1-lambda*p*r), including
93
+ below-threshold values. Mark all inputs unavailable when history is absent or
94
+ incomplete; never assume missing recoveries mean zero. Use at least a complete
95
+ week and alert strictly above the profile threshold (default 0.3); load >= 1
96
+ means saturated with n unavailable. See
97
+ `$AIWG_ROOT/docs/frameworks/cicd-complete/constraint-profiles.md` for the offline
98
+ export format. Add results to the assessment report's recovery section; do not
99
+ fetch history or trigger runs without the corresponding authorization.
100
+
101
+ ## Selected profile compliance (#4529)
102
+
103
+ When an environment selects a constraint profile, call `assessConstraintProfile`
104
+ and `renderAssessmentReport` from
105
+ `$AIWG_ROOT/agentic/code/frameworks/cicd-complete/validators/profile-assessment.mjs`
106
+ with phase `audit-time`. Fill the assessment report template: one row per
107
+ constraint with its enforcement (`off`, `advisory` or `blocking`) and status
108
+ `met`, `violated` or `not-expressible`, plus file and line evidence. `off` is
109
+ not evaluated. Pass the render target. Scheduler, scaling or workflow fields
110
+ that target cannot carry are `not-expressible`; do not treat them as met.
111
+ Where redacted history is already available, pass runner-minutes per pull
112
+ request, runner-minutes per main batch, the share of on-demand capacity,
113
+ idle-runner time, queue wait and the backpressure run history. Missing history
114
+ stays unavailable. Never invent zeros or call a billing API.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -0,0 +1,80 @@
1
+ ---
2
+ name: ci-builder
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Adapt the ops dev-ci-builder self-contained builder pattern for a user project, with reviewed previews and authorized CI integration.
6
+ triggers:
7
+ - "ci-builder"
8
+ - "create a self-contained CI builder"
9
+ - "plan my project builder image"
10
+ ---
11
+
12
+ # CI Builder
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-ci-self-contained` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-ci-self-contained.md`
23
+ - `dev-idempotent-builds` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-idempotent-builds.md`
24
+ - `dev-pipeline-safety` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-pipeline-safety.md`
25
+ - `dev-secret-hygiene` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-secret-hygiene.md`
26
+ - `ci-action-pinning` — `@$AIWG_ROOT/agentic/code/frameworks/security-engineering/rules/ci-action-pinning.md`
27
+
28
+ ## Process
29
+
30
+ 1. Load and follow the existing ops dev extension's `dev-ci-builder` guidance:
31
+ `@$AIWG_ROOT/agentic/code/extensions/dev/skills/dev-ci-builder.md`.
32
+ Adapt its pattern by reference; do not copy the upstream skill or rule and
33
+ do not automatically execute its registry/push/end-to-end steps.
34
+ 2. Inventory runtime, compiler, lint/test tools, system dependencies and locks.
35
+ Define a project-owned `ci/Dockerfile.builder` preview with pinned base
36
+ image digest and versioned/checksummed tools, plus a separate update path.
37
+ 3. Follow `dev-ci-self-contained`: build/test tools reside in the builder;
38
+ runtime CI must not clone an external repository for tooling or install
39
+ ad hoc dependencies. Separate explicitly network-dependent integration tests.
40
+ 4. Present builder diff, local validation commands and repeat-build digest
41
+ comparison. Require explicit authorization before writing project builder
42
+ or CI files, executing builds or using registry credentials.
43
+ 5. After approval, test tool availability and the project's actual suite in
44
+ the builder, with build/test network isolation. Record both outcomes and
45
+ artifact digests; failure blocks adoption. Use `docker-build`, `image-scan`,
46
+ `ci-sbom` and `ci-sign` according to project policy through existing drivers.
47
+ 6. Obtain separate registry/publish approval for `docker-push`. Only adopt the
48
+ verified immutable image through an authorized `ci-render` diff, retaining
49
+ `ci-action-pinning` pin-manifest updates and the previous builder rollback.
50
+
51
+ ## Authorization checkpoint
52
+
53
+ Prepare the concrete proposed diff, affected paths, validation plan and rollback
54
+ before applying anything. Require explicit user authorization covering those CI
55
+ files before writing, replacing or deleting project workflows, builder files or
56
+ CI scripts. A design, review finding or generated preview grants no permission.
57
+ Record the approved scope; stop at its boundary. Execution, registry pushes,
58
+ trigger changes and live delivery require their own explicit authorization.
59
+
60
+ ## Output template
61
+
62
+ Resolve the #4423 templates by these names:
63
+
64
+ - `ci-environment-plan-template`
65
+ - `ci-pipeline-runbook-template`
66
+
67
+ Upstream guidance reference; dependency inventory; builder preview; approved file scope; isolated test and repeat-build evidence; image digest; registry approval status; update and rollback procedure.
68
+
69
+ ## Example
70
+
71
+ “Create a self-contained CI builder for my Rust app” adapts dev-ci-builder into a reviewed project builder preview; workflow installation and registry publishing each wait for scoped authorization.
72
+
73
+ ## Artifact handling
74
+
75
+ Before writing project artifacts, run `aiwg artifacts path --json --check-write`.
76
+ Resolve logical `.aiwg/frameworks/cicd-complete/` beneath the returned artifact
77
+ root; stop if unavailable. Keep drafts and reports there. Never write literal
78
+ secrets or raw credential-bearing logs. Resolve templates by name with discovery;
79
+ if a template or capability is absent, record the prerequisite and pending work.
80
+ 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,73 @@
1
+ ---
2
+ name: ci-drift-check
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Read-only comparison of pipeline specs, provider-template versions and existing rendered workflows, reporting drift without repair.
6
+ triggers:
7
+ - "ci-drift-check"
8
+ - "check CI spec drift"
9
+ - "compare CI specs with workflows"
10
+ ---
11
+
12
+ # CI Drift Check
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 current specs, environment plans, render receipts, extension versions
30
+ and existing workflow files read-only. Record observed digests and paths.
31
+ 2. Validate contracts and resolve the original provider-template revision.
32
+ If receipts or templates are missing, report unverifiable drift; never guess
33
+ the original rendering inputs or invoke a replacement renderer.
34
+ 3. Re-render only to an artifact preview through available extension templates.
35
+ Compare canonical provider structures and raw content, separating semantic
36
+ changes from formatting, manual edits and template-version changes.
37
+ 4. Identify missing/extra generated files, source spec changes and invalid
38
+ references. Map each finding to its source, expected/observed digest and
39
+ delivery impact. Do not delete extra files or normalize existing workflows.
40
+ 5. Return findings and a proposed reconciliation direction: update spec, render
41
+ version or workflow. Report and stop for explicit authorization before any
42
+ change; never call `ci-render` in apply mode as part of this analysis.
43
+
44
+ ## Authorization checkpoint
45
+
46
+ Prepare the concrete proposed diff, affected paths, validation plan and rollback
47
+ before applying anything. Require explicit user authorization covering those CI
48
+ files before writing, replacing or deleting project workflows, builder files or
49
+ CI scripts. A design, review finding or generated preview grants no permission.
50
+ Record the approved scope; stop at its boundary. Execution, registry pushes,
51
+ trigger changes and live delivery require their own explicit authorization.
52
+
53
+ ## Output template
54
+
55
+ Resolve the #4423 templates by these names:
56
+
57
+ - `ci-assessment-report-template`
58
+ - `ci-pipeline-runbook-template`
59
+
60
+ Input and template identities; comparison method; semantic/text drift findings; expected/observed mapping and digests; unknowns; proposed reconciliation; authorization pending.
61
+
62
+ ## Example
63
+
64
+ “Check CI spec drift after a manual test-job edit” reports the modified job and conflicting source contract. It leaves both files intact and awaits an authorized reconciliation task.
65
+
66
+ ## Artifact handling
67
+
68
+ Before writing project artifacts, run `aiwg artifacts path --json --check-write`.
69
+ Resolve logical `.aiwg/frameworks/cicd-complete/` beneath the returned artifact
70
+ root; stop if unavailable. Keep drafts and reports there. Never write literal
71
+ secrets or raw credential-bearing logs. Resolve templates by name with discovery;
72
+ if a template or capability is absent, record the prerequisite and pending work.
73
+ 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,86 @@
1
+ ---
2
+ name: ci-failure-triage
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Diagnose a specific failed CI run, preserve its signal and propose a root-cause repair with regression verification.
6
+ triggers:
7
+ - "ci-failure-triage"
8
+ - "triage a failed CI job"
9
+ - "explain my pipeline failure"
10
+ ---
11
+
12
+ # CI Failure Triage
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
+
26
+ ## Process
27
+
28
+ 1. With `ci-doctor`, identify repository, revision, run/job/attempt, failed
29
+ command, runner/runtime versions and redacted failure evidence. Preserve
30
+ the original result and distinguish upstream cancellation from root failure.
31
+ 2. Classify code/test defect, runner resource, dependency, cache, permissions,
32
+ provider or environment failure. State the hypothesis and alternatives.
33
+ Read flag state only through the feature-flag boundary when relevant.
34
+ 3. Design a bounded diagnostic reproduction with inputs, expected signal,
35
+ attempt limit and stop condition. Obtain authorization for side effects or
36
+ CI dispatch. Never rerun to green or treat a lucky pass as a repair.
37
+ 4. Present a causal fix and regression test that exposes the original failure.
38
+ Request explicit scoped authorization before applying any fix, particularly
39
+ CI-file changes. Do not skip, suppress or weaken the failed check.
40
+ 5. After authorized repair, verify the regression before/after and relevant
41
+ neighbors. Record evidence and remaining unknowns. For suspected flakiness,
42
+ hand to `ci-flake-hunt`, carrying the original failing run and hypothesis.
43
+
44
+ ## Authorization checkpoint
45
+
46
+ Prepare the concrete proposed diff, affected paths, validation plan and rollback
47
+ before applying anything. Require explicit user authorization covering those CI
48
+ files before writing, replacing or deleting project workflows, builder files or
49
+ CI scripts. A design, review finding or generated preview grants no permission.
50
+ Record the approved scope; stop at its boundary. Execution, registry pushes,
51
+ trigger changes and live delivery require their own explicit authorization.
52
+
53
+ ## Feature-flag boundary
54
+
55
+ When flag state matters, read `feature_flags.provider` from project config.
56
+ For a configured provider, discover its skills and use its read-only state checks;
57
+ never infer a vendor from credentials or installed tools. With provider `none`,
58
+ produce a manual approval step for each flag-dependent gate. Missing or unknown
59
+ configuration is an unresolved prerequisite, never an implicit pass.
60
+ Never create, change, toggle, retire or delete flags, including through delegated
61
+ execution. Hand lifecycle decisions to sdlc-complete flag planning, referencing
62
+ `@$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md`.
63
+ Provider operations belong to the provider's skills; lifecycle handoff conveys
64
+ no authorization to mutate flags. Pipeline progression may use approved observed
65
+ flag state; flag mutations remain outside this component.
66
+
67
+ ## Output template
68
+
69
+ Resolve the #4423 templates by these names:
70
+
71
+ - `ci-pipeline-incident-template`
72
+
73
+ Failure signature and immutable run identity; evidence; causal hypotheses; diagnostic plan/results; proposed patch; regression test; approval status; verification and unresolved risks.
74
+
75
+ ## Example
76
+
77
+ “Triage a failed CI job at revision abc123” diagnoses an expired cache assumption, proposes a cache-key fix and regression test, and waits for approval before workflow changes.
78
+
79
+ ## Artifact handling
80
+
81
+ Before writing project artifacts, run `aiwg artifacts path --json --check-write`.
82
+ Resolve logical `.aiwg/frameworks/cicd-complete/` beneath the returned artifact
83
+ root; stop if unavailable. Keep drafts and reports there. Never write literal
84
+ secrets or raw credential-bearing logs. Resolve templates by name with discovery;
85
+ if a template or capability is absent, record the prerequisite and pending work.
86
+ 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,86 @@
1
+ ---
2
+ name: ci-flake-hunt
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Find nondeterministic CI root causes using bounded experiments, preserved failures and regression tests rather than reruns to green.
6
+ triggers:
7
+ - "ci-flake-hunt"
8
+ - "hunt a flaky CI test"
9
+ - "diagnose intermittent pipeline failure"
10
+ ---
11
+
12
+ # CI Flake Hunt
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
+
26
+ ## Process
27
+
28
+ 1. Preserve failing and passing run identities for the same revision with
29
+ runner, seed, order, timezone, locale, concurrency and dependency versions.
30
+ Record sample size and observed failure rate without overstating certainty.
31
+ 2. Form testable hypotheses: races, shared mutable state, clock dependence,
32
+ resource pressure, external network, stale cache or flag-state mismatch.
33
+ 3. Agree a bounded local experiment matrix with a fixed attempt budget and
34
+ stop condition. Record every outcome. Repetitions serve diagnosis only;
35
+ never rerun to green, enable blanket retries or replace the original failure.
36
+ 4. Isolate the cause and propose a deterministic fix plus a regression test
37
+ exposing the original race/state defect. Do not skip/quarantine checks,
38
+ weaken assertions, increase timeouts without causal evidence or suppress CI.
39
+ 5. Obtain explicit authorization for fixes and any workflow change. After
40
+ approved repair, verify regression failure before and success after, plus
41
+ relevant neighbors and the bounded matrix. Retain contrary results; if no
42
+ cause is proven, report partial diagnosis and the next bounded experiment.
43
+
44
+ ## Authorization checkpoint
45
+
46
+ Prepare the concrete proposed diff, affected paths, validation plan and rollback
47
+ before applying anything. Require explicit user authorization covering those CI
48
+ files before writing, replacing or deleting project workflows, builder files or
49
+ CI scripts. A design, review finding or generated preview grants no permission.
50
+ Record the approved scope; stop at its boundary. Execution, registry pushes,
51
+ trigger changes and live delivery require their own explicit authorization.
52
+
53
+ ## Feature-flag boundary
54
+
55
+ When flag state matters, read `feature_flags.provider` from project config.
56
+ For a configured provider, discover its skills and use its read-only state checks;
57
+ never infer a vendor from credentials or installed tools. With provider `none`,
58
+ produce a manual approval step for each flag-dependent gate. Missing or unknown
59
+ configuration is an unresolved prerequisite, never an implicit pass.
60
+ Never create, change, toggle, retire or delete flags, including through delegated
61
+ execution. Hand lifecycle decisions to sdlc-complete flag planning, referencing
62
+ `@$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md`.
63
+ Provider operations belong to the provider's skills; lifecycle handoff conveys
64
+ no authorization to mutate flags. Pipeline progression may use approved observed
65
+ flag state; flag mutations remain outside this component.
66
+
67
+ ## Output template
68
+
69
+ Resolve the #4423 templates by these names:
70
+
71
+ - `ci-pipeline-incident-template`
72
+
73
+ Flake signature; all run/attempt ids; hypothesis and controlled variables; experiment budget and outcome matrix; root cause/confidence; proposed fix; regression evidence; authorization status.
74
+
75
+ ## Example
76
+
77
+ “Hunt a flaky CI test that depends on test order” produces a seeded order experiment and a shared-state regression test. Passing one later run never proves the flake fixed.
78
+
79
+ ## Artifact handling
80
+
81
+ Before writing project artifacts, run `aiwg artifacts path --json --check-write`.
82
+ Resolve logical `.aiwg/frameworks/cicd-complete/` beneath the returned artifact
83
+ root; stop if unavailable. Keep drafts and reports there. Never write literal
84
+ secrets or raw credential-bearing logs. Resolve templates by name with discovery;
85
+ if a template or capability is absent, record the prerequisite and pending work.
86
+ 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,92 @@
1
+ ---
2
+ name: ci-migrate
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Plan and stage a user-project CI provider migration with capability parity, explicit cutover approval and rollback.
6
+ triggers:
7
+ - "ci-migrate"
8
+ - "migrate my CI provider"
9
+ - "move pipeline from Gitea to GitLab"
10
+ ---
11
+
12
+ # CI Migration
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. Inventory source workflows, trigger semantics, required checks, protections,
30
+ runners, caches, artifacts, secrets references and release destinations.
31
+ Establish baseline run evidence and migration success criteria.
32
+ 2. Map source behavior to CIPipeline/CIEnvironment and target capabilities.
33
+ Document unsupported features, trust differences and manual decisions;
34
+ secret references migrate, secret values never enter the report or spec.
35
+ 3. Design parity for checks, artifact identities, coverage/build-time gates,
36
+ progressive-rollout health and rollback. Apply the feature-flag boundary
37
+ to existing flags; migration never changes flags or their provider config.
38
+ 4. Use `ci-pipeline-design` and `ci-render` for reviewed target previews. Missing
39
+ provider-extension templates (#4428) block rendering/cutover; do not handcraft
40
+ replacement workflows or silently drop unsupported source controls.
41
+ 5. Present staged file diff, trial plan, cutover ordering, duplicate-publish
42
+ prevention and rollback. Require explicit authorization before any CI-file
43
+ write, trial dispatch, source trigger disable or target trigger enable.
44
+ 6. After scoped approval, validate parity in controlled trials with publication
45
+ disabled unless separately authorized. Cut over only on reviewed evidence;
46
+ preserve source configuration and record the approved rollback procedure.
47
+
48
+ ## Authorization checkpoint
49
+
50
+ Prepare the concrete proposed diff, affected paths, validation plan and rollback
51
+ before applying anything. Require explicit user authorization covering those CI
52
+ files before writing, replacing or deleting project workflows, builder files or
53
+ CI scripts. A design, review finding or generated preview grants no permission.
54
+ Record the approved scope; stop at its boundary. Execution, registry pushes,
55
+ trigger changes and live delivery require their own explicit authorization.
56
+
57
+ ## Feature-flag boundary
58
+
59
+ When flag state matters, read `feature_flags.provider` from project config.
60
+ For a configured provider, discover its skills and use its read-only state checks;
61
+ never infer a vendor from credentials or installed tools. With provider `none`,
62
+ produce a manual approval step for each flag-dependent gate. Missing or unknown
63
+ configuration is an unresolved prerequisite, never an implicit pass.
64
+ Never create, change, toggle, retire or delete flags, including through delegated
65
+ execution. Hand lifecycle decisions to sdlc-complete flag planning, referencing
66
+ `@$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md`.
67
+ Provider operations belong to the provider's skills; lifecycle handoff conveys
68
+ no authorization to mutate flags. Pipeline progression may use approved observed
69
+ flag state; flag mutations remain outside this component.
70
+
71
+ ## Output template
72
+
73
+ Resolve the #4423 templates by these names:
74
+
75
+ - `ci-migration-report-template`
76
+ - `ci-pipeline-spec-template`
77
+ - `ci-environment-plan-template`
78
+
79
+ Source/target inventory; capability and gate parity matrix; gaps; rendered preview references; trial evidence; cutover approvals; duplicate-publish controls; rollback and acceptance status.
80
+
81
+ ## Example
82
+
83
+ “Move pipeline from Gitea to GitLab” prepares a parity report and target preview; neither source triggers nor publication routing change until the concrete cutover is authorized.
84
+
85
+ ## Artifact handling
86
+
87
+ Before writing project artifacts, run `aiwg artifacts path --json --check-write`.
88
+ Resolve logical `.aiwg/frameworks/cicd-complete/` beneath the returned artifact
89
+ root; stop if unavailable. Keep drafts and reports there. Never write literal
90
+ secrets or raw credential-bearing logs. Resolve templates by name with discovery;
91
+ if a template or capability is absent, record the prerequisite and pending work.
92
+ 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;