@aiwg/flue 2026.11.9 → 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 (144) 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/aiwg-language-map/SKILL.md +2 -2
  8. package/skills/aiwg-mission/SKILL.md +3 -1
  9. package/skills/aiwg-regenerate-claude/SKILL.md +1 -1
  10. package/skills/aiwg-update-agents-md/SKILL.md +1 -1
  11. package/skills/aiwg-update-claude/SKILL.md +1 -1
  12. package/skills/aiwg-utils-quickref/SKILL.md +4 -1
  13. package/skills/architecture-evolution/SKILL.md +4 -0
  14. package/skills/build-poc/SKILL.md +1 -1
  15. package/skills/ci-assess/SKILL.md +84 -0
  16. package/skills/ci-assess/SKILL.md.d.ts +3 -0
  17. package/skills/ci-builder/SKILL.md +80 -0
  18. package/skills/ci-builder/SKILL.md.d.ts +3 -0
  19. package/skills/ci-drift-check/SKILL.md +73 -0
  20. package/skills/ci-drift-check/SKILL.md.d.ts +3 -0
  21. package/skills/ci-failure-triage/SKILL.md +86 -0
  22. package/skills/ci-failure-triage/SKILL.md.d.ts +3 -0
  23. package/skills/ci-flake-hunt/SKILL.md +86 -0
  24. package/skills/ci-flake-hunt/SKILL.md.d.ts +3 -0
  25. package/skills/ci-migrate/SKILL.md +92 -0
  26. package/skills/ci-migrate/SKILL.md.d.ts +3 -0
  27. package/skills/ci-pipeline-audit/SKILL.md +89 -0
  28. package/skills/ci-pipeline-audit/SKILL.md.d.ts +3 -0
  29. package/skills/ci-pipeline-design/SKILL.md +99 -0
  30. package/skills/ci-pipeline-design/SKILL.md.d.ts +3 -0
  31. package/skills/ci-release-coordinate/SKILL.md +96 -0
  32. package/skills/ci-release-coordinate/SKILL.md.d.ts +3 -0
  33. package/skills/ci-render/SKILL.md +92 -0
  34. package/skills/ci-render/SKILL.md.d.ts +3 -0
  35. package/skills/cicd-intake/SKILL.md +82 -0
  36. package/skills/cicd-intake/SKILL.md.d.ts +3 -0
  37. package/skills/cicd-quickref/SKILL.md +110 -0
  38. package/skills/cicd-quickref/SKILL.md.d.ts +3 -0
  39. package/skills/deploy-gen/SKILL.md +1 -1
  40. package/skills/dev-mode-init/SKILL.md +4 -1
  41. package/skills/devkit-create-addon/SKILL.md +7 -79
  42. package/skills/devkit-create-agent/SKILL.md +7 -163
  43. package/skills/devkit-create-command/SKILL.md +7 -139
  44. package/skills/devkit-create-extension/SKILL.md +7 -101
  45. package/skills/devkit-create-framework/SKILL.md +7 -131
  46. package/skills/devkit-create-skill/SKILL.md +7 -200
  47. package/skills/devkit-test/SKILL.md +1 -1
  48. package/skills/feature-flag-plan/SKILL.md +74 -0
  49. package/skills/feature-flag-plan/SKILL.md.d.ts +3 -0
  50. package/skills/feature-flag-plan/scripts/flag-plan.mjs +159 -0
  51. package/skills/flaky-detect/SKILL.md +1 -1
  52. package/skills/flow-architecture-evolution/SKILL.md +5 -1
  53. package/skills/flow-construction-to-transition/SKILL.md +20 -2
  54. package/skills/flow-delivery-track/SKILL.md +4 -0
  55. package/skills/flow-delivery-track/references/delegation.md +23 -0
  56. package/skills/flow-elaboration-to-construction/SKILL.md +4 -0
  57. package/skills/flow-gate-check/SKILL.md +4 -0
  58. package/skills/flow-gate-check/references/delegation.md +23 -0
  59. package/skills/flow-guided-implementation/SKILL.md +4 -0
  60. package/skills/flow-guided-implementation/references/delegation.md +23 -0
  61. package/skills/flow-inception-to-elaboration/SKILL.md +1 -1
  62. package/skills/flow-iteration-dual-track/SKILL.md +4 -0
  63. package/skills/flow-knowledge-transfer/SKILL.md +1 -1
  64. package/skills/flow-retrospective-cycle/SKILL.md +1 -1
  65. package/skills/flow-security-review-cycle/SKILL.md +4 -0
  66. package/skills/flow-security-review-cycle/references/delegation.md +23 -0
  67. package/skills/flow-test-strategy-execution/SKILL.md +5 -1
  68. package/skills/flow-test-strategy-execution/references/delegation.md +23 -0
  69. package/skills/gate-evaluation/SKILL.md +1 -1
  70. package/skills/intake-from-codebase/SKILL.md +5 -1
  71. package/skills/intake-start/SKILL.md +5 -1
  72. package/skills/intake-wizard/SKILL.md +5 -1
  73. package/skills/issue-audit/SKILL.md +1 -1
  74. package/skills/issue-driven-al/SKILL.md +1 -1
  75. package/skills/issue-list/SKILL.md +1 -1
  76. package/skills/issue-update/SKILL.md +1 -1
  77. package/skills/iteration-control/SKILL.md +1 -1
  78. package/skills/ld-account-setup/SKILL.md +33 -0
  79. package/skills/ld-account-setup/SKILL.md.d.ts +3 -0
  80. package/skills/ld-agentcontrol/SKILL.md +33 -0
  81. package/skills/ld-agentcontrol/SKILL.md.d.ts +3 -0
  82. package/skills/ld-approvals/SKILL.md +33 -0
  83. package/skills/ld-approvals/SKILL.md.d.ts +3 -0
  84. package/skills/ld-code-refs-ci/SKILL.md +33 -0
  85. package/skills/ld-code-refs-ci/SKILL.md.d.ts +3 -0
  86. package/skills/ld-connect/SKILL.md +39 -0
  87. package/skills/ld-connect/SKILL.md.d.ts +3 -0
  88. package/skills/ld-contexts/SKILL.md +33 -0
  89. package/skills/ld-contexts/SKILL.md.d.ts +3 -0
  90. package/skills/ld-docs/SKILL.md +31 -0
  91. package/skills/ld-docs/SKILL.md.d.ts +3 -0
  92. package/skills/ld-doctor/SKILL.md +41 -0
  93. package/skills/ld-doctor/SKILL.md.d.ts +3 -0
  94. package/skills/ld-experiment/SKILL.md +34 -0
  95. package/skills/ld-experiment/SKILL.md.d.ts +3 -0
  96. package/skills/ld-flag-cleanup/SKILL.md +35 -0
  97. package/skills/ld-flag-cleanup/SKILL.md.d.ts +3 -0
  98. package/skills/ld-flag-create/SKILL.md +33 -0
  99. package/skills/ld-flag-create/SKILL.md.d.ts +3 -0
  100. package/skills/ld-flag-debt-audit/SKILL.md +33 -0
  101. package/skills/ld-flag-debt-audit/SKILL.md.d.ts +3 -0
  102. package/skills/ld-guarded-release/SKILL.md +33 -0
  103. package/skills/ld-guarded-release/SKILL.md.d.ts +3 -0
  104. package/skills/ld-migration-flag/SKILL.md +33 -0
  105. package/skills/ld-migration-flag/SKILL.md.d.ts +3 -0
  106. package/skills/ld-progressive-rollout/SKILL.md +34 -0
  107. package/skills/ld-progressive-rollout/SKILL.md.d.ts +3 -0
  108. package/skills/ld-quickref/SKILL.md +50 -0
  109. package/skills/ld-quickref/SKILL.md.d.ts +3 -0
  110. package/skills/ld-relay-proxy/SKILL.md +33 -0
  111. package/skills/ld-relay-proxy/SKILL.md.d.ts +3 -0
  112. package/skills/ld-sdk-integrate/SKILL.md +34 -0
  113. package/skills/ld-sdk-integrate/SKILL.md.d.ts +3 -0
  114. package/skills/ld-segments/SKILL.md +33 -0
  115. package/skills/ld-segments/SKILL.md.d.ts +3 -0
  116. package/skills/ld-targeting/SKILL.md +33 -0
  117. package/skills/ld-targeting/SKILL.md.d.ts +3 -0
  118. package/skills/ld-terraform/SKILL.md +33 -0
  119. package/skills/ld-terraform/SKILL.md.d.ts +3 -0
  120. package/skills/ld-testing/SKILL.md +34 -0
  121. package/skills/ld-testing/SKILL.md.d.ts +3 -0
  122. package/skills/mention-conventions/SKILL.md +1 -1
  123. package/skills/mention-lint/SKILL.md +1 -1
  124. package/skills/mention-report/SKILL.md +1 -1
  125. package/skills/mention-validate/SKILL.md +1 -1
  126. package/skills/new-project/SKILL.md +1 -1
  127. package/skills/prefill-cards/SKILL.md +1 -1
  128. package/skills/project-status/SKILL.md +1 -1
  129. package/skills/ralph-config/SKILL.md +1 -1
  130. package/skills/ralph-external/SKILL.md +1 -1
  131. package/skills/ralph-memory/SKILL.md +1 -1
  132. package/skills/ralph-resume/SKILL.md +1 -1
  133. package/skills/retrospective-analyzer/SKILL.md +14 -0
  134. package/skills/scaffold-addon/SKILL.md +8 -4
  135. package/skills/scaffold-extension/SKILL.md +9 -1
  136. package/skills/scaffold-framework/SKILL.md +12 -3
  137. package/skills/sdlc-accelerate/SKILL.md +1 -1
  138. package/skills/sdlc-quickref/SKILL.md +9 -0
  139. package/skills/steward/SKILL.md +6 -1
  140. package/skills/tdd-enforce/SKILL.md +1 -1
  141. package/skills/workspace-health/SKILL.md +1 -1
  142. package/skills/workspace-reset/SKILL.md +1 -1
  143. package/specialists.d.ts +2 -0
  144. package/specialists.js +2 -0
@@ -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;
@@ -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;