@aiwg/flue 2026.11.8 → 2026.11.10

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 (165) hide show
  1. package/package.json +141 -1
  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/ai-pattern-detection/references/structural-judgment.json +17 -0
  8. package/skills/ai-pattern-detection/scripts/pattern_scanner.py +11 -5
  9. package/skills/ai-pattern-detection/scripts/structural_judgment.py +51 -0
  10. package/skills/ai-pattern-detection/scripts/structural_patterns.py +43 -0
  11. package/skills/aiwg-issue/SKILL.md +1 -1
  12. package/skills/aiwg-language-map/SKILL.md +2 -2
  13. package/skills/aiwg-mission/SKILL.md +3 -1
  14. package/skills/aiwg-regenerate-agents/SKILL.md +4 -4
  15. package/skills/aiwg-regenerate-claude/SKILL.md +4 -4
  16. package/skills/aiwg-regenerate-copilot/SKILL.md +1 -1
  17. package/skills/aiwg-regenerate-windsurfrules/SKILL.md +11 -9
  18. package/skills/aiwg-update-agents-md/SKILL.md +1 -1
  19. package/skills/aiwg-update-claude/SKILL.md +1 -1
  20. package/skills/aiwg-utils-quickref/SKILL.md +4 -1
  21. package/skills/architecture-evolution/SKILL.md +4 -0
  22. package/skills/build-poc/SKILL.md +1 -1
  23. package/skills/ci-assess/SKILL.md +84 -0
  24. package/skills/ci-assess/SKILL.md.d.ts +3 -0
  25. package/skills/ci-builder/SKILL.md +80 -0
  26. package/skills/ci-builder/SKILL.md.d.ts +3 -0
  27. package/skills/ci-drift-check/SKILL.md +73 -0
  28. package/skills/ci-drift-check/SKILL.md.d.ts +3 -0
  29. package/skills/ci-failure-triage/SKILL.md +86 -0
  30. package/skills/ci-failure-triage/SKILL.md.d.ts +3 -0
  31. package/skills/ci-flake-hunt/SKILL.md +86 -0
  32. package/skills/ci-flake-hunt/SKILL.md.d.ts +3 -0
  33. package/skills/ci-migrate/SKILL.md +92 -0
  34. package/skills/ci-migrate/SKILL.md.d.ts +3 -0
  35. package/skills/ci-pipeline-audit/SKILL.md +89 -0
  36. package/skills/ci-pipeline-audit/SKILL.md.d.ts +3 -0
  37. package/skills/ci-pipeline-design/SKILL.md +99 -0
  38. package/skills/ci-pipeline-design/SKILL.md.d.ts +3 -0
  39. package/skills/ci-release-coordinate/SKILL.md +96 -0
  40. package/skills/ci-release-coordinate/SKILL.md.d.ts +3 -0
  41. package/skills/ci-render/SKILL.md +92 -0
  42. package/skills/ci-render/SKILL.md.d.ts +3 -0
  43. package/skills/cicd-intake/SKILL.md +82 -0
  44. package/skills/cicd-intake/SKILL.md.d.ts +3 -0
  45. package/skills/cicd-quickref/SKILL.md +110 -0
  46. package/skills/cicd-quickref/SKILL.md.d.ts +3 -0
  47. package/skills/deploy-gen/SKILL.md +1 -1
  48. package/skills/dev-mode-init/SKILL.md +4 -1
  49. package/skills/devkit-create-addon/SKILL.md +7 -79
  50. package/skills/devkit-create-agent/SKILL.md +7 -163
  51. package/skills/devkit-create-command/SKILL.md +7 -139
  52. package/skills/devkit-create-extension/SKILL.md +7 -101
  53. package/skills/devkit-create-framework/SKILL.md +7 -131
  54. package/skills/devkit-create-skill/SKILL.md +7 -200
  55. package/skills/devkit-test/SKILL.md +1 -1
  56. package/skills/feature-flag-plan/SKILL.md +74 -0
  57. package/skills/feature-flag-plan/SKILL.md.d.ts +3 -0
  58. package/skills/feature-flag-plan/scripts/flag-plan.mjs +159 -0
  59. package/skills/flaky-detect/SKILL.md +1 -1
  60. package/skills/flow-architecture-evolution/SKILL.md +5 -1
  61. package/skills/flow-construction-to-transition/SKILL.md +20 -2
  62. package/skills/flow-delivery-track/SKILL.md +4 -0
  63. package/skills/flow-delivery-track/references/delegation.md +23 -0
  64. package/skills/flow-elaboration-to-construction/SKILL.md +4 -0
  65. package/skills/flow-gate-check/SKILL.md +4 -0
  66. package/skills/flow-gate-check/references/delegation.md +23 -0
  67. package/skills/flow-guided-implementation/SKILL.md +4 -0
  68. package/skills/flow-guided-implementation/references/delegation.md +23 -0
  69. package/skills/flow-inception-to-elaboration/SKILL.md +1 -1
  70. package/skills/flow-iteration-dual-track/SKILL.md +4 -0
  71. package/skills/flow-knowledge-transfer/SKILL.md +1 -1
  72. package/skills/flow-retrospective-cycle/SKILL.md +1 -1
  73. package/skills/flow-security-review-cycle/SKILL.md +4 -0
  74. package/skills/flow-security-review-cycle/references/delegation.md +23 -0
  75. package/skills/flow-test-strategy-execution/SKILL.md +5 -1
  76. package/skills/flow-test-strategy-execution/references/delegation.md +23 -0
  77. package/skills/gate-evaluation/SKILL.md +1 -1
  78. package/skills/hook-disable/SKILL.md +4 -4
  79. package/skills/hook-enable/SKILL.md +3 -3
  80. package/skills/hook-regenerate/SKILL.md +2 -2
  81. package/skills/hook-status/SKILL.md +2 -2
  82. package/skills/index/SKILL.md +14 -0
  83. package/skills/intake-from-codebase/SKILL.md +5 -1
  84. package/skills/intake-start/SKILL.md +5 -1
  85. package/skills/intake-wizard/SKILL.md +5 -1
  86. package/skills/issue-audit/SKILL.md +1 -1
  87. package/skills/issue-driven-al/SKILL.md +1 -1
  88. package/skills/issue-list/SKILL.md +1 -1
  89. package/skills/issue-update/SKILL.md +1 -1
  90. package/skills/iteration-control/SKILL.md +1 -1
  91. package/skills/ld-account-setup/SKILL.md +33 -0
  92. package/skills/ld-account-setup/SKILL.md.d.ts +3 -0
  93. package/skills/ld-agentcontrol/SKILL.md +33 -0
  94. package/skills/ld-agentcontrol/SKILL.md.d.ts +3 -0
  95. package/skills/ld-approvals/SKILL.md +33 -0
  96. package/skills/ld-approvals/SKILL.md.d.ts +3 -0
  97. package/skills/ld-code-refs-ci/SKILL.md +33 -0
  98. package/skills/ld-code-refs-ci/SKILL.md.d.ts +3 -0
  99. package/skills/ld-connect/SKILL.md +39 -0
  100. package/skills/ld-connect/SKILL.md.d.ts +3 -0
  101. package/skills/ld-contexts/SKILL.md +33 -0
  102. package/skills/ld-contexts/SKILL.md.d.ts +3 -0
  103. package/skills/ld-docs/SKILL.md +31 -0
  104. package/skills/ld-docs/SKILL.md.d.ts +3 -0
  105. package/skills/ld-doctor/SKILL.md +41 -0
  106. package/skills/ld-doctor/SKILL.md.d.ts +3 -0
  107. package/skills/ld-experiment/SKILL.md +34 -0
  108. package/skills/ld-experiment/SKILL.md.d.ts +3 -0
  109. package/skills/ld-flag-cleanup/SKILL.md +35 -0
  110. package/skills/ld-flag-cleanup/SKILL.md.d.ts +3 -0
  111. package/skills/ld-flag-create/SKILL.md +33 -0
  112. package/skills/ld-flag-create/SKILL.md.d.ts +3 -0
  113. package/skills/ld-flag-debt-audit/SKILL.md +33 -0
  114. package/skills/ld-flag-debt-audit/SKILL.md.d.ts +3 -0
  115. package/skills/ld-guarded-release/SKILL.md +33 -0
  116. package/skills/ld-guarded-release/SKILL.md.d.ts +3 -0
  117. package/skills/ld-migration-flag/SKILL.md +33 -0
  118. package/skills/ld-migration-flag/SKILL.md.d.ts +3 -0
  119. package/skills/ld-progressive-rollout/SKILL.md +34 -0
  120. package/skills/ld-progressive-rollout/SKILL.md.d.ts +3 -0
  121. package/skills/ld-quickref/SKILL.md +50 -0
  122. package/skills/ld-quickref/SKILL.md.d.ts +3 -0
  123. package/skills/ld-relay-proxy/SKILL.md +33 -0
  124. package/skills/ld-relay-proxy/SKILL.md.d.ts +3 -0
  125. package/skills/ld-sdk-integrate/SKILL.md +34 -0
  126. package/skills/ld-sdk-integrate/SKILL.md.d.ts +3 -0
  127. package/skills/ld-segments/SKILL.md +33 -0
  128. package/skills/ld-segments/SKILL.md.d.ts +3 -0
  129. package/skills/ld-targeting/SKILL.md +33 -0
  130. package/skills/ld-targeting/SKILL.md.d.ts +3 -0
  131. package/skills/ld-terraform/SKILL.md +33 -0
  132. package/skills/ld-terraform/SKILL.md.d.ts +3 -0
  133. package/skills/ld-testing/SKILL.md +34 -0
  134. package/skills/ld-testing/SKILL.md.d.ts +3 -0
  135. package/skills/mention-conventions/SKILL.md +1 -1
  136. package/skills/mention-lint/SKILL.md +1 -1
  137. package/skills/mention-report/SKILL.md +1 -1
  138. package/skills/mention-validate/SKILL.md +1 -1
  139. package/skills/migrate-hook/SKILL.md +2 -2
  140. package/skills/new-project/SKILL.md +1 -1
  141. package/skills/plugin-search/SKILL.md +28 -10
  142. package/skills/prefill-cards/SKILL.md +1 -1
  143. package/skills/project-status/SKILL.md +1 -1
  144. package/skills/ralph-config/SKILL.md +1 -1
  145. package/skills/ralph-external/SKILL.md +1 -1
  146. package/skills/ralph-memory/SKILL.md +1 -1
  147. package/skills/ralph-resume/SKILL.md +1 -1
  148. package/skills/retrospective-analyzer/SKILL.md +14 -0
  149. package/skills/scaffold-addon/SKILL.md +8 -4
  150. package/skills/scaffold-extension/SKILL.md +9 -1
  151. package/skills/scaffold-framework/SKILL.md +12 -3
  152. package/skills/sdlc-accelerate/SKILL.md +1 -1
  153. package/skills/sdlc-quickref/SKILL.md +9 -0
  154. package/skills/session/SKILL.md +1 -1
  155. package/skills/soul-disable/SKILL.md +3 -3
  156. package/skills/soul-enable/SKILL.md +3 -3
  157. package/skills/soul-status/SKILL.md +2 -2
  158. package/skills/steward/SKILL.md +7 -2
  159. package/skills/tdd-enforce/SKILL.md +1 -1
  160. package/skills/voice-apply/SKILL.md +16 -0
  161. package/skills/voice-create/SKILL.md +19 -2
  162. package/skills/workspace-health/SKILL.md +1 -1
  163. package/skills/workspace-reset/SKILL.md +1 -1
  164. package/specialists.d.ts +2 -0
  165. package/specialists.js +2 -0
@@ -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;
@@ -0,0 +1,89 @@
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.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -0,0 +1,99 @@
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
+ 2. Draft `cicd.aiwg.io/v1` CIPipeline with `spec.triggers`, `environments`,
32
+ `stages` and `render.targets`. Jobs require ids and capability names; use
33
+ `depends_on` for stage/job order. Select `ci-checkout`, `ci-cache`,
34
+ `ci-setup-runtime`, `ci-lint`, `ci-test`, `ci-coverage`, `ci-sbom`, `ci-sign`,
35
+ `ci-artifact-upload` and `ci-deploy-handoff` as requirements warrant.
36
+ 3. Plan container stages with `docker-build`, `image-scan` and `docker-push`.
37
+ Separate untrusted tests from protected signing, push and deploy jobs.
38
+ Draft CIEnvironment resources with runner labels, `{name, ref}` secrets,
39
+ reviewer counts and branch restrictions. Never embed secret values.
40
+ 4. Reference gates `aiwg:cicd-complete/coverage-floor`, `aiwg:cicd-complete/build-time-budget` and
41
+ `aiwg:cicd-complete/progressive-rollout-health` after explicit stages. For rollout,
42
+ plan canary, blue-green, rolling or flag steps with exactly one of `weight`
43
+ or `percentage`, pauses, gates and rollback capability. Explicitly resolve
44
+ omitted flag step capability to `progressive-rollout` in the consumer.
45
+ 5. For flag-dependent jobs consider `flag-check`, `flag-states-test`,
46
+ `flag-coderefs-scan` and `flag-cleanup-handoff`; apply the boundary below.
47
+ Cleanup is a handoff, never permission to retire or remove flags.
48
+ 6. Validate against `ci-pipeline.schema.json` and `ci-environment.schema.json`
49
+ under `$AIWG_ROOT/agentic/code/frameworks/cicd-complete/schemas/`. Resolve
50
+ capability/environment/gate references, validate inputs and reject missing
51
+ dependencies and cycles. Schema defaults are annotations, not execution.
52
+ 7. Present reviewable contracts, unresolved prerequisites and provider tradeoffs.
53
+ After design acceptance, hand to `ci-render`; CI file installation still
54
+ needs explicit authorization for the actual rendered diff.
55
+
56
+ ## Authorization checkpoint
57
+
58
+ Prepare the concrete proposed diff, affected paths, validation plan and rollback
59
+ before applying anything. Require explicit user authorization covering those CI
60
+ files before writing, replacing or deleting project workflows, builder files or
61
+ CI scripts. A design, review finding or generated preview grants no permission.
62
+ Record the approved scope; stop at its boundary. Execution, registry pushes,
63
+ trigger changes and live delivery require their own explicit authorization.
64
+
65
+ ## Feature-flag boundary
66
+
67
+ When flag state matters, read `feature_flags.provider` from project config.
68
+ For a configured provider, discover its skills and use its read-only state checks;
69
+ never infer a vendor from credentials or installed tools. With provider `none`,
70
+ produce a manual approval step for each flag-dependent gate. Missing or unknown
71
+ configuration is an unresolved prerequisite, never an implicit pass.
72
+ Never create, change, toggle, retire or delete flags, including through delegated
73
+ execution. Hand lifecycle decisions to sdlc-complete flag planning, referencing
74
+ `@$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md`.
75
+ Provider operations belong to the provider's skills; lifecycle handoff conveys
76
+ no authorization to mutate flags. Pipeline progression may use approved observed
77
+ flag state; flag mutations remain outside this component.
78
+
79
+ ## Output template
80
+
81
+ Resolve the #4423 templates by these names:
82
+
83
+ - `ci-pipeline-spec-template`
84
+ - `ci-environment-plan-template`
85
+
86
+ CIPipeline and CIEnvironment drafts; provider rationale; reference/acyclicity validation; capability/gate availability; rollout and rollback plan; approval status.
87
+
88
+ ## Example
89
+
90
+ “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.
91
+
92
+ ## Artifact handling
93
+
94
+ Before writing project artifacts, run `aiwg artifacts path --json --check-write`.
95
+ Resolve logical `.aiwg/frameworks/cicd-complete/` beneath the returned artifact
96
+ root; stop if unavailable. Keep drafts and reports there. Never write literal
97
+ secrets or raw credential-bearing logs. Resolve templates by name with discovery;
98
+ if a template or capability is absent, record the prerequisite and pending work.
99
+ 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,92 @@
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
+ 2. Locate the installed provider WorkflowExtension extending `cicd-complete`
32
+ and its rendering templates. Record identity/version and compatibility.
33
+ First-wave sources: `@$AIWG_ROOT/agentic/code/extensions/cicd-gitea-actions/`
34
+ and `@$AIWG_ROOT/agentic/code/extensions/cicd-github-actions/`. Discover
35
+ `cicd-gitea-actions-workflow` or `cicd-github-actions-workflow`; read their
36
+ README, provider rule and template. If missing, report the prerequisite and stop.
37
+ Do not fabricate templates or claim a working render from a design alone.
38
+ 3. Render through those templates into an artifact preview, never directly into
39
+ live workflow paths. Record input/template/output digests, versions, exact
40
+ target mapping and repeat-render determinism.
41
+ 4. Compare against current workflow files; preserve manual edits as findings.
42
+ Validate preview syntax and provider semantics using available extension
43
+ validators. Flag trust, secret, pinning or unsupported mapping failures.
44
+ 5. Present the concrete diff, target paths and rollback copy for explicit user
45
+ authorization. Only after that approval install the scoped files and run
46
+ authorized validation. Pipeline dispatch is a separate approval boundary.
47
+ 6. Record results and unresolved prerequisites. Hand read-only drift monitoring
48
+ to `ci-drift-check`; do not schedule or run it without a user request.
49
+
50
+ ## Authorization checkpoint
51
+
52
+ Prepare the concrete proposed diff, affected paths, validation plan and rollback
53
+ before applying anything. Require explicit user authorization covering those CI
54
+ files before writing, replacing or deleting project workflows, builder files or
55
+ CI scripts. A design, review finding or generated preview grants no permission.
56
+ Record the approved scope; stop at its boundary. Execution, registry pushes,
57
+ trigger changes and live delivery require their own explicit authorization.
58
+
59
+ ## Feature-flag boundary
60
+
61
+ When flag state matters, read `feature_flags.provider` from project config.
62
+ For a configured provider, discover its skills and use its read-only state checks;
63
+ never infer a vendor from credentials or installed tools. With provider `none`,
64
+ produce a manual approval step for each flag-dependent gate. Missing or unknown
65
+ configuration is an unresolved prerequisite, never an implicit pass.
66
+ Never create, change, toggle, retire or delete flags, including through delegated
67
+ execution. Hand lifecycle decisions to sdlc-complete flag planning, referencing
68
+ `@$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md`.
69
+ Provider operations belong to the provider's skills; lifecycle handoff conveys
70
+ no authorization to mutate flags. Pipeline progression may use approved observed
71
+ flag state; flag mutations remain outside this component.
72
+
73
+ ## Output template
74
+
75
+ Resolve the #4423 templates by these names:
76
+
77
+ - `ci-pipeline-runbook-template`
78
+
79
+ Source/spec references; extension and template versions; deterministic render receipt; source/output mapping and digests; reviewed diff; validation; approval and installation status; rollback.
80
+
81
+ ## Example
82
+
83
+ “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.
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;
@@ -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;