@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,159 @@
1
+ // Local, deterministic companion to feature-flag-fit; no vendor calls or writes.
2
+ // Design basis and AIWG judgments: ../../../../rules/feature-flag-fit.md.
3
+ import { readFileSync } from 'node:fs';
4
+ import { pathToFileURL } from 'node:url';
5
+ import yaml from 'js-yaml';
6
+
7
+ const skips = ['prototype', 'spike', 'docs_only', 'library_no_runtime',
8
+ 'one_off_script', 'static_no_runtime_no_js', 'very_small'];
9
+ const triggers = ['trunk_unfinished', 'dark_launch', 'migration', 'experiment',
10
+ 'entitlement', 'external_kill_switch', 'llm_runtime'];
11
+ const exclusions = ['secrets', 'static_config', 'data_store', 'startup_config', 'per_commit'];
12
+ const kinds = ['release', 'kill-switch', 'experiment', 'migration', 'operational', 'permission (entitlement)'];
13
+ const nonempty = value => typeof value === 'string' && value.trim().length > 0 && !/^<[^>]+>$/.test(value.trim());
14
+ const requireText = (value, field) => {
15
+ if (!nonempty(value)) throw new Error(`Supply ${field}; placeholders are not evidence`);
16
+ };
17
+ const enumValue = (value, values, field) => {
18
+ if (!values.includes(value)) throw new Error(`Invalid ${field}: expected ${values.join('|')}`);
19
+ };
20
+ const dateValue = value => typeof value === 'string' && /^\d{4}-\d{2}-\d{2}$/.test(value)
21
+ && !Number.isNaN(Date.parse(value)) && new Date(value).toISOString().slice(0, 10) === value;
22
+
23
+ export function assess(input) {
24
+ const policy = input.feature_flags?.policy ?? 'suggest';
25
+ enumValue(policy, ['suggest', 'always', 'never'], 'feature_flags.policy');
26
+ const facts = input.facts ?? {};
27
+ for (const value of Object.values(facts)) {
28
+ if (typeof value !== 'boolean') throw new Error('Classified facts must be booleans');
29
+ }
30
+ const never = input.never_flags ?? [];
31
+ for (const item of never) enumValue(item, exclusions, 'never_flags');
32
+ const outcome = (fit, reason) => ({ fit, reason, suggestion: fit === 'skip' ? null : fit });
33
+ if (policy === 'never' || input.declined) return outcome('skip', 'policy or recorded scope decline');
34
+ if (never.length) return outcome('skip', `never-flag: ${never.join(', ')}`);
35
+ const skip = skips.find(key => facts[key]);
36
+ if (skip) return outcome('skip', skip);
37
+ if (facts.production && facts.blast_radius && facts.low_risk_tolerance) {
38
+ return outcome('recommend', 'production blast radius with Low risk tolerance [AIWG-J]');
39
+ }
40
+ const trigger = triggers.find(key => facts[key]);
41
+ if (trigger) return outcome('recommend', trigger);
42
+ if (policy === 'always') return outcome('recommend', 'always policy for eligible work [AIWG-J]');
43
+ if (facts.user_facing && facts.low_risk && facts.infrequent_deploy) {
44
+ return outcome('offer', 'low-risk user-facing change with infrequent deploys; default no');
45
+ }
46
+ return outcome('skip', 'no qualifying trigger');
47
+ }
48
+
49
+ export function providerRoute(provider = 'none', installed = [], capabilities = {}) {
50
+ if (!/^[a-z][a-z0-9-]*$/.test(provider)) throw new Error('Invalid feature_flags.provider');
51
+ if (provider === 'none') return { mode: 'cards-and-code', skills: {} };
52
+ if (provider === 'openfeature') return { mode: 'openfeature-client', skills: {} };
53
+ // Capability names are discovered from installed addon metadata, never guessed.
54
+ if (!installed.includes(provider)) return { mode: 'cards-and-code', skills: {}, missing: provider };
55
+ return { mode: 'addon', skills: capabilities[provider] ?? {} };
56
+ }
57
+
58
+ export function validateCard(card) {
59
+ for (const field of ['id', 'owner', 'service', 'default_rationale', 'removal_criteria', 'removal_task']) {
60
+ requireText(card[field], field);
61
+ }
62
+ enumValue(card.kind, kinds, 'kind');
63
+ enumValue(card.value_type, ['boolean', 'string', 'number', 'JSON'], 'value_type');
64
+ enumValue(card.dynamism, ['static', 'per-request'], 'dynamism');
65
+ enumValue(card.lifetime, ['temporary', 'permanent'], 'lifetime');
66
+ for (const field of ['live', 'removal_criteria_met', 'code_removed']) {
67
+ if (typeof card[field] !== 'boolean') throw new Error(`Supply boolean ${field}`);
68
+ }
69
+ if (card.review_by != null && !dateValue(card.review_by)) throw new Error('Invalid review_by date');
70
+ if (!Array.isArray(card.requirements) || !card.requirements.length || !card.requirements.every(nonempty)) {
71
+ throw new Error('Link requirements/story IDs');
72
+ }
73
+ const value = card.default_value;
74
+ const valid = card.value_type === 'JSON' ? value !== undefined
75
+ : card.value_type === 'number' ? typeof value === 'number' && Number.isFinite(value)
76
+ : typeof value === card.value_type;
77
+ if (!valid) throw new Error('Supply default_value matching value_type');
78
+ }
79
+
80
+ export function renderCard(card) {
81
+ validateCard(card);
82
+ for (const field of ['targeting_rollout', 'metrics_rollback', 'test_plan']) requireText(card[field], field);
83
+ const { targeting_rollout, metrics_rollback, test_plan, ...metadata } = card;
84
+ return `---\n${yaml.dump(metadata, { noRefs: true })}---\n\n# Feature Toggle Card\n\n`
85
+ + `## Targeting and rollout\n\n${targeting_rollout}\n\n`
86
+ + `## Metrics and rollback\n\n${metrics_rollback}\n\n## Test plan\n\n${test_plan}\n`;
87
+ }
88
+
89
+ export function plan(input) {
90
+ requireText(input.scope, 'scope');
91
+ const assessment = assess(input);
92
+ const decision = input.decision ?? 'pending';
93
+ enumValue(decision, ['accepted', 'declined', 'pending'], 'decision');
94
+ const record = { scope: input.scope, ...assessment, decision,
95
+ requirements: input.requirements ?? [], declined: Boolean(input.declined) || decision === 'declined' };
96
+ const route = providerRoute(input.feature_flags?.provider, input.installed_addons, input.provider_capabilities);
97
+ const cards = assessment.fit !== 'skip' && decision === 'accepted'
98
+ ? (input.cards ?? []).map(card => {
99
+ if (!(input.requirements ?? []).every(id => card.requirements?.includes(id))) {
100
+ throw new Error('Each card must link the feature requirements/story IDs');
101
+ }
102
+ return renderCard(card);
103
+ }) : [];
104
+ if (assessment.fit !== 'skip' && decision === 'accepted' && !cards.length) {
105
+ throw new Error('Accepted planning requires cards');
106
+ }
107
+ return { record, cards, route };
108
+ }
109
+
110
+ export function readCard(file) {
111
+ const front = readFileSync(file, 'utf8').match(/^---\r?\n([\s\S]*?)\r?\n---/);
112
+ if (!front) throw new Error(`Missing card frontmatter: ${file}`);
113
+ // JSON schema preserves YYYY-MM-DD strings rather than constructing Date objects.
114
+ return { ...yaml.load(front[1], { schema: yaml.JSON_SCHEMA }), source: file };
115
+ }
116
+
117
+ export function readiness(cards) {
118
+ const failures = cards.filter(card => card.live &&
119
+ (!nonempty(card.owner) || !nonempty(card.removal_criteria)))
120
+ .map(card => ({ id: card.id, reason: 'Live flag requires owner and removal criteria' }));
121
+ return { status: failures.length ? 'FAIL' : 'PASS', failures };
122
+ }
123
+
124
+ export function debt(cards, asOf, caps = {}) {
125
+ if (!dateValue(asOf)) throw new Error('Supply as_of YYYY-MM-DD');
126
+ for (const cap of Object.values(caps)) {
127
+ if (!Number.isInteger(cap) || cap < 0) throw new Error('Caps must be nonnegative integers');
128
+ }
129
+ const rows = [], counts = {}, metadata_issues = [];
130
+ for (const card of cards) {
131
+ try { validateCard(card); } catch (error) { metadata_issues.push({ id: card.id, reason: error.message }); }
132
+ if (card.lifetime !== 'temporary') continue;
133
+ if (card.live) counts[card.service] = (counts[card.service] ?? 0) + 1;
134
+ const reasons = [];
135
+ if (card.removal_criteria_met) reasons.push('removal criteria met');
136
+ if (dateValue(card.review_by) && card.review_by < asOf) reasons.push('past review-by');
137
+ if (reasons.length) rows.push({ id: card.id, source: card.source, reasons,
138
+ stage: card.code_removed ? 'ready to archive'
139
+ : card.removal_criteria_met ? 'ready for code removal' : 'review required',
140
+ owner: card.owner, removal_task: card.removal_task });
141
+ }
142
+ const services = [...new Set([...Object.keys(counts), ...Object.keys(caps)])].sort();
143
+ return { as_of: asOf, rows, metadata_issues, counts: services.map(service => ({ service,
144
+ live_temporary: counts[service] ?? 0, cap: caps[service] ?? null,
145
+ over_cap: caps[service] != null && (counts[service] ?? 0) > caps[service] })) };
146
+ }
147
+
148
+ if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
149
+ try {
150
+ const [mode, file] = process.argv.slice(2);
151
+ enumValue(mode, ['plan', 'debt', 'readiness'], 'mode');
152
+ const input = JSON.parse(readFileSync(file, 'utf8'));
153
+ const cards = mode === 'plan' ? [] : input.cards.map(readCard);
154
+ const result = mode === 'plan' ? plan(input) : mode === 'debt'
155
+ ? debt(cards, input.as_of, input.temporary_flag_caps) : readiness(cards);
156
+ process.stdout.write(`${JSON.stringify(result, null, 2)}\n`);
157
+ if (mode === 'readiness' && result.status === 'FAIL') process.exitCode = 1;
158
+ } catch (error) { process.stderr.write(`${error.message}\n`); process.exitCode = 1; }
159
+ }
@@ -17,7 +17,7 @@ platforms: [flue]
17
17
  > aiwg show skill <name> --body
18
18
  > ```
19
19
  >
20
- > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
20
+ > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `aiwg-steward-routing` on Claude Code) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
21
21
 
22
22
 
23
23
  # Flaky Detect Skill
@@ -12,6 +12,10 @@ commandHint:
12
12
  modelRole: coding
13
13
  modelTier: standard
14
14
  ---
15
+ Apply `feature-flag-fit` here; record outcome/reason in intake or ADR. On recommend,
16
+ invoke `feature-flag-plan` for a scoped accept/decline and cards; offer defaults to
17
+ no, skip stays silent, and prior declines suppress repeat suggestions. [AIWG guidance]
18
+
15
19
 
16
20
  <!-- AIWG-SKILL-CALLOUT -->
17
21
  > **Skill access pattern (post-kernel-pivot, 2026.5+)**
@@ -23,7 +27,7 @@ commandHint:
23
27
  > aiwg show skill <name> --body
24
28
  > ```
25
29
  >
26
- > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
30
+ > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `aiwg-steward-routing` on Claude Code) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
27
31
 
28
32
 
29
33
  # Architecture Evolution Flow
@@ -28,7 +28,7 @@ commandHint:
28
28
  > aiwg show skill <name> --body
29
29
  > ```
30
30
  >
31
- > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
31
+ > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `aiwg-steward-routing` on Claude Code) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
32
32
 
33
33
 
34
34
  # Construction → Transition Phase Transition Flow
@@ -356,6 +356,10 @@ Based on your answers, I'll adjust:
356
356
  - Feature Toggle: Dark launch (for maximum control)
357
357
 
358
358
  Document selected strategy and rationale
359
+ Apply feature-flag-fit; recommend invokes feature-flag-plan for accept/decline.
360
+ Offer defaults to no; skip/declined scopes stay silent. Record rationale. [AIWG guidance]
361
+ For accepted flags choose feature-toggle/progressive rollout and define rollback-by-flag.
362
+ Route installed provider skills via feature_flags.provider; none stays cards/code guidance.
359
363
  Define rollback criteria and procedures
360
364
 
361
365
  Output: .aiwg/working/transition/deployment-strategy.md
@@ -897,6 +901,20 @@ Based on your answers, I'll adjust:
897
901
  ✓ PROJECT COMPLETE - Ready for closure
898
902
  ```
899
903
 
904
+ ## Feature flag debt review
905
+
906
+ Read feature-toggle cards under .aiwg/deployment/ without a vendor connection. Invoke
907
+ $AIWG_ROOT/agentic/code/frameworks/sdlc-complete/skills/feature-flag-plan/scripts/flag-plan.mjs debt with explicit as_of and optional temporary_flag_caps
908
+ from solution-profile; list temporary flags past removal criteria or optional review-by date,
909
+ evidence, owner, removal task and live temporary count per service versus optional cap. Report
910
+ metadata gaps. Use ready for code removal / ready to archive as local workflow labels; do not infer
911
+ vendor lifecycle eligibility. Route optional installed provider cleanup skills via
912
+ feature_flags.provider per $AIWG_ROOT/docs/frameworks/sdlc-complete/feature-flags.md; none/missing addon stays card-only.
913
+ Debt is advisory. [AIWG guidance] Optional inventory caps/removal tasks:
914
+ https://martinfowler.com/articles/feature-toggles.html ; review dates:
915
+ https://docs.getunleash.io/guides/feature-flag-best-practices.md ; vendor lifecycle terms:
916
+ https://launchdarkly.com/docs/home/flags/flag-status.md .
917
+
900
918
  ## Quality Gates
901
919
 
902
920
  Before marking workflow complete, verify:
@@ -1044,4 +1062,4 @@ This orchestration succeeds when:
1044
1062
  - `docs/orchestrator-architecture.md`
1045
1063
 
1046
1064
  **Natural Language Translations**:
1047
- - `docs/simple-language-translations.md`
1065
+ - `docs/simple-language-translations.md`
@@ -22,6 +22,10 @@ commandHint:
22
22
 
23
23
  **You are the Core Orchestrator** for the critical Delivery Track iteration implementation.
24
24
 
25
+ ## Delegation
26
+
27
+ Follow [Worker delegation](references/delegation.md) before every worker launch.
28
+
25
29
  ## Your Role
26
30
 
27
31
  **You orchestrate multi-agent workflows. You do NOT execute bash scripts.**
@@ -0,0 +1,23 @@
1
+ # Worker delegation
2
+
3
+ Before every worker launch, resolve the bounded assignment through the existing
4
+ `defaults.workerSelection` policy (builtin → user → project). Never copy the
5
+ session model. Native conductors call `resolveDelegation()` in `src/models/`;
6
+ external workers use `aiwg models resolve --role <role> --task <class> --group
7
+ <configured-group> --brief <file> --workdir <tree> --final-output <file>` and
8
+ launch only the returned invocation. A blocked resolution stops that work unit.
9
+
10
+ - Exploration and artifact reading: `aiwg-model-explorer`, efficiency/economy.
11
+ - Gate verification: `aiwg-model-verifier`, coding/standard. Use a configured
12
+ review task class mapped to coding; do not relabel a reasoning review role.
13
+ - Named specialists: load their frontmatter role/tier as the task requirement;
14
+ resolve that requirement through policy before invoking the specialist.
15
+
16
+ Strategy ranks eligible workers; it does not waive role capability or the
17
+ ceiling. Premium needs human authorization; flagship needs `election: user`.
18
+ Keep explicit requested vs resolved values in the activity log using the common
19
+ routing record: `version`, `orchestrator`, `workerId`, `role`, `requested_tier`,
20
+ `resolved_tier`, `resolved_model`, `wrapper`, `strategy`, `max_auto_tier`,
21
+ `election`, `warnings`. Provider enforcement warnings are retained. Returns are
22
+ condensed (about 2k tokens) with artifact pointers; the parent runs trusted gate
23
+ checks and reconciles claims.
@@ -12,6 +12,10 @@ commandHint:
12
12
  modelRole: coding
13
13
  modelTier: standard
14
14
  ---
15
+ Apply `feature-flag-fit` here; record outcome/reason in intake or ADR. On recommend,
16
+ invoke `feature-flag-plan` for a scoped accept/decline and cards; offer defaults to
17
+ no, skip stays silent, and prior declines suppress repeat suggestions. [AIWG guidance]
18
+
15
19
 
16
20
  > **Declarative Flow (#1539):** This flow's orchestration is now also expressed as a
17
21
  > declarative YAML Flow at `flows/flow-elaboration-to-construction.playbook.yaml` (source of truth for the step
@@ -22,6 +22,10 @@ commandHint:
22
22
 
23
23
  **You are the Core Orchestrator** for SDLC phase gate validation.
24
24
 
25
+ ## Delegation
26
+
27
+ Follow [Worker delegation](references/delegation.md) before every worker launch.
28
+
25
29
  ## Output template
26
30
 
27
31
  Required for the gate audit record; retain phase-specific criteria: @$AIWG_ROOT/agentic/code/addons/testing-quality/templates/gate-audit-record.md. Fill every required section; explain non-applicable fields and unrun checks.
@@ -0,0 +1,23 @@
1
+ # Worker delegation
2
+
3
+ Before every worker launch, resolve the bounded assignment through the existing
4
+ `defaults.workerSelection` policy (builtin → user → project). Never copy the
5
+ session model. Native conductors call `resolveDelegation()` in `src/models/`;
6
+ external workers use `aiwg models resolve --role <role> --task <class> --group
7
+ <configured-group> --brief <file> --workdir <tree> --final-output <file>` and
8
+ launch only the returned invocation. A blocked resolution stops that work unit.
9
+
10
+ - Exploration and artifact reading: `aiwg-model-explorer`, efficiency/economy.
11
+ - Gate verification: `aiwg-model-verifier`, coding/standard. Use a configured
12
+ review task class mapped to coding; do not relabel a reasoning review role.
13
+ - Named specialists: load their frontmatter role/tier as the task requirement;
14
+ resolve that requirement through policy before invoking the specialist.
15
+
16
+ Strategy ranks eligible workers; it does not waive role capability or the
17
+ ceiling. Premium needs human authorization; flagship needs `election: user`.
18
+ Keep explicit requested vs resolved values in the activity log using the common
19
+ routing record: `version`, `orchestrator`, `workerId`, `role`, `requested_tier`,
20
+ `resolved_tier`, `resolved_model`, `wrapper`, `strategy`, `max_auto_tier`,
21
+ `election`, `warnings`. Provider enforcement warnings are retained. Returns are
22
+ condensed (about 2k tokens) with artifact pointers; the parent runs trusted gate
23
+ checks and reconciles claims.
@@ -14,6 +14,10 @@ description: Orchestrate autonomous issue-to-code implementation using existing
14
14
 
15
15
  Orchestrate autonomous issue-to-code implementation using existing tools and agents with bounded iteration.
16
16
 
17
+ ## Delegation
18
+
19
+ Follow [Worker delegation](references/delegation.md) before every worker launch.
20
+
17
21
  ## Usage
18
22
 
19
23
  ```
@@ -0,0 +1,23 @@
1
+ # Worker delegation
2
+
3
+ Before every worker launch, resolve the bounded assignment through the existing
4
+ `defaults.workerSelection` policy (builtin → user → project). Never copy the
5
+ session model. Native conductors call `resolveDelegation()` in `src/models/`;
6
+ external workers use `aiwg models resolve --role <role> --task <class> --group
7
+ <configured-group> --brief <file> --workdir <tree> --final-output <file>` and
8
+ launch only the returned invocation. A blocked resolution stops that work unit.
9
+
10
+ - Exploration and artifact reading: `aiwg-model-explorer`, efficiency/economy.
11
+ - Gate verification: `aiwg-model-verifier`, coding/standard. Use a configured
12
+ review task class mapped to coding; do not relabel a reasoning review role.
13
+ - Named specialists: load their frontmatter role/tier as the task requirement;
14
+ resolve that requirement through policy before invoking the specialist.
15
+
16
+ Strategy ranks eligible workers; it does not waive role capability or the
17
+ ceiling. Premium needs human authorization; flagship needs `election: user`.
18
+ Keep explicit requested vs resolved values in the activity log using the common
19
+ routing record: `version`, `orchestrator`, `workerId`, `role`, `requested_tier`,
20
+ `resolved_tier`, `resolved_model`, `wrapper`, `strategy`, `max_auto_tier`,
21
+ `election`, `warnings`. Provider enforcement warnings are retained. Returns are
22
+ condensed (about 2k tokens) with artifact pointers; the parent runs trusted gate
23
+ checks and reconciles claims.
@@ -28,7 +28,7 @@ commandHint:
28
28
  > aiwg show skill <name> --body
29
29
  > ```
30
30
  >
31
- > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
31
+ > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `aiwg-steward-routing` on Claude Code) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
32
32
 
33
33
 
34
34
  # Inception → Elaboration Phase Transition Flow
@@ -12,6 +12,10 @@ commandHint:
12
12
  modelRole: coding
13
13
  modelTier: standard
14
14
  ---
15
+ Apply `feature-flag-fit` here; record outcome/reason in intake or ADR. On recommend,
16
+ invoke `feature-flag-plan` for a scoped accept/decline and cards; offer defaults to
17
+ no, skip stays silent, and prior declines suppress repeat suggestions. [AIWG guidance]
18
+
15
19
 
16
20
  > **Declarative Flow (#1539):** This flow's orchestration is now also expressed as a
17
21
  > declarative YAML Flow at `flows/flow-iteration-dual-track.playbook.yaml` (source of truth for the step
@@ -28,7 +28,7 @@ commandHint:
28
28
  > aiwg show skill <name> --body
29
29
  > ```
30
30
  >
31
- > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
31
+ > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `aiwg-steward-routing` on Claude Code) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
32
32
 
33
33
 
34
34
  # Knowledge Transfer Orchestration Flow
@@ -28,7 +28,7 @@ commandHint:
28
28
  > aiwg show skill <name> --body
29
29
  > ```
30
30
  >
31
- > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
31
+ > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `aiwg-steward-routing` on Claude Code) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
32
32
 
33
33
 
34
34
  # Retrospective Cycle Flow
@@ -22,6 +22,10 @@ commandHint:
22
22
 
23
23
  You are a Security Review Coordinator orchestrating continuous security validation, threat modeling, vulnerability scanning, security testing, security control verification, and security gate enforcement throughout the software development lifecycle.
24
24
 
25
+ ## Delegation
26
+
27
+ Follow [Worker delegation](references/delegation.md) before every worker launch.
28
+
25
29
  ## Orchestration Framing
26
30
 
27
31
  This is an **orchestration command** that coordinates multiple specialized agents to conduct comprehensive security review cycles. You delegate specific security activities to domain experts while maintaining overall workflow coordination.
@@ -0,0 +1,23 @@
1
+ # Worker delegation
2
+
3
+ Before every worker launch, resolve the bounded assignment through the existing
4
+ `defaults.workerSelection` policy (builtin → user → project). Never copy the
5
+ session model. Native conductors call `resolveDelegation()` in `src/models/`;
6
+ external workers use `aiwg models resolve --role <role> --task <class> --group
7
+ <configured-group> --brief <file> --workdir <tree> --final-output <file>` and
8
+ launch only the returned invocation. A blocked resolution stops that work unit.
9
+
10
+ - Exploration and artifact reading: `aiwg-model-explorer`, efficiency/economy.
11
+ - Gate verification: `aiwg-model-verifier`, coding/standard. Use a configured
12
+ review task class mapped to coding; do not relabel a reasoning review role.
13
+ - Named specialists: load their frontmatter role/tier as the task requirement;
14
+ resolve that requirement through policy before invoking the specialist.
15
+
16
+ Strategy ranks eligible workers; it does not waive role capability or the
17
+ ceiling. Premium needs human authorization; flagship needs `election: user`.
18
+ Keep explicit requested vs resolved values in the activity log using the common
19
+ routing record: `version`, `orchestrator`, `workerId`, `role`, `requested_tier`,
20
+ `resolved_tier`, `resolved_model`, `wrapper`, `strategy`, `max_auto_tier`,
21
+ `election`, `warnings`. Provider enforcement warnings are retained. Returns are
22
+ condensed (about 2k tokens) with artifact pointers; the parent runs trusted gate
23
+ checks and reconciles claims.
@@ -28,13 +28,17 @@ commandHint:
28
28
  > aiwg show skill <name> --body
29
29
  > ```
30
30
  >
31
- > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
31
+ > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `aiwg-steward-routing` on Claude Code) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
32
32
 
33
33
 
34
34
  # Test Strategy Execution Flow
35
35
 
36
36
  **You are the Test Orchestrator** for comprehensive test strategy execution and quality validation.
37
37
 
38
+ ## Delegation
39
+
40
+ Follow [Worker delegation](references/delegation.md) before every worker launch.
41
+
38
42
  ## Your Role
39
43
 
40
44
  **You orchestrate multi-agent test workflows. You do NOT execute bash scripts or run tests directly.**
@@ -0,0 +1,23 @@
1
+ # Worker delegation
2
+
3
+ Before every worker launch, resolve the bounded assignment through the existing
4
+ `defaults.workerSelection` policy (builtin → user → project). Never copy the
5
+ session model. Native conductors call `resolveDelegation()` in `src/models/`;
6
+ external workers use `aiwg models resolve --role <role> --task <class> --group
7
+ <configured-group> --brief <file> --workdir <tree> --final-output <file>` and
8
+ launch only the returned invocation. A blocked resolution stops that work unit.
9
+
10
+ - Exploration and artifact reading: `aiwg-model-explorer`, efficiency/economy.
11
+ - Gate verification: `aiwg-model-verifier`, coding/standard. Use a configured
12
+ review task class mapped to coding; do not relabel a reasoning review role.
13
+ - Named specialists: load their frontmatter role/tier as the task requirement;
14
+ resolve that requirement through policy before invoking the specialist.
15
+
16
+ Strategy ranks eligible workers; it does not waive role capability or the
17
+ ceiling. Premium needs human authorization; flagship needs `election: user`.
18
+ Keep explicit requested vs resolved values in the activity log using the common
19
+ routing record: `version`, `orchestrator`, `workerId`, `role`, `requested_tier`,
20
+ `resolved_tier`, `resolved_model`, `wrapper`, `strategy`, `max_auto_tier`,
21
+ `election`, `warnings`. Provider enforcement warnings are retained. Returns are
22
+ condensed (about 2k tokens) with artifact pointers; the parent runs trusted gate
23
+ checks and reconciles claims.
@@ -15,7 +15,7 @@ description: Validate phase gate criteria with multi-agent review and generate p
15
15
  > aiwg show skill <name> --body
16
16
  > ```
17
17
  >
18
- > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
18
+ > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `aiwg-steward-routing` on Claude Code) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
19
19
 
20
20
 
21
21
  # gate-evaluation
@@ -4,7 +4,7 @@ name: hook-disable
4
4
  platforms: [flue]
5
5
  description: Disable the AIWG context hook without uninstalling AIWG or deleting hook files
6
6
  commandHint:
7
- argumentHint: "[--provider claude|warp|copilot|cursor|factory|windsurf|opencode|codex] [--all]"
7
+ argumentHint: "[--provider claude|warp|copilot|cursor|factory|devin|opencode|codex] [--all]"
8
8
  allowedTools: Read, Write, Edit, Bash, Glob
9
9
  model: haiku
10
10
  category: hook-management
@@ -24,7 +24,7 @@ Remove the AIWG hook directive from the platform context file(s) so AIWG context
24
24
 
25
25
  | Flag | Description |
26
26
  |------|-------------|
27
- | `--provider <name>` | Target specific provider: `claude`, `warp`, `copilot`, `cursor`, `factory`, `windsurf`, `opencode`, `codex` |
27
+ | `--provider <name>` | Target specific provider: `claude`, `warp`, `copilot`, `cursor`, `factory`, `devin`, `opencode`, `codex` |
28
28
  | `--all` | Disable for all installed providers (default if no provider specified) |
29
29
 
30
30
  ## Hook File Map
@@ -33,7 +33,7 @@ Remove the AIWG hook directive from the platform context file(s) so AIWG context
33
33
  |----------|-------------|---------------------|
34
34
  | Claude Code | `CLAUDE.md` | `@AIWG.md` |
35
35
  | Warp Terminal | `WARP.md` | `@AIWG-warp.md` or AIWG section |
36
- | Windsurf | `AGENTS.md` | `@AIWG-windsurf.md` |
36
+ | Devin Desktop | `AGENTS.md` | `@AIWG-windsurf.md` |
37
37
  | GitHub Copilot | `.github/copilot-instructions.md` | `@AIWG-copilot.md` |
38
38
  | Cursor | `.cursorrules` | `@AIWG-cursor.md` |
39
39
  | Factory AI | `AGENTS.md` | `@AIWG-factory.md` |
@@ -61,7 +61,7 @@ grep -q "@AIWG.md" CLAUDE.md && echo "enabled" || echo "already disabled"
61
61
 
62
62
  ### Step 3: Remove Directive
63
63
 
64
- **For @-link style** (Claude, Warp, Windsurf, etc.):
64
+ **For @-link style** (Claude, Warp, Devin Desktop, etc.):
65
65
 
66
66
  Remove the `@AIWG-{provider}.md` line from the context file. Preserve all surrounding content.
67
67
 
@@ -4,7 +4,7 @@ name: hook-enable
4
4
  platforms: [flue]
5
5
  description: Enable the AIWG context hook in platform context files without re-deploying
6
6
  commandHint:
7
- argumentHint: "[--provider claude|warp|copilot|cursor|factory|windsurf|opencode|codex] [--all]"
7
+ argumentHint: "[--provider claude|warp|copilot|cursor|factory|devin|opencode|codex] [--all]"
8
8
  allowedTools: Read, Write, Edit, Bash, Glob
9
9
  model: haiku
10
10
  category: hook-management
@@ -24,7 +24,7 @@ Re-add the AIWG hook directive to the appropriate platform context file(s) so AI
24
24
 
25
25
  | Flag | Description |
26
26
  |------|-------------|
27
- | `--provider <name>` | Target specific provider: `claude`, `warp`, `copilot`, `cursor`, `factory`, `windsurf`, `opencode`, `codex` |
27
+ | `--provider <name>` | Target specific provider: `claude`, `warp`, `copilot`, `cursor`, `factory`, `devin`, `opencode`, `codex` |
28
28
  | `--all` | Enable for all installed providers (default if no provider specified) |
29
29
 
30
30
  ## Hook File Map
@@ -33,7 +33,7 @@ Re-add the AIWG hook directive to the appropriate platform context file(s) so AI
33
33
  |----------|-------------|-----------|-----------|
34
34
  | Claude Code | `CLAUDE.md` | `AIWG.md` | `@AIWG.md` |
35
35
  | Warp Terminal | `WARP.md` | `AIWG-warp.md` | `@AIWG-warp.md` |
36
- | Windsurf | `AGENTS.md` | `AIWG-windsurf.md` | `@AIWG-windsurf.md` |
36
+ | Devin Desktop | `AGENTS.md` | `AIWG-windsurf.md` | `@AIWG-windsurf.md` |
37
37
  | GitHub Copilot | `.github/copilot-instructions.md` | `AIWG-copilot.md` | `@AIWG-copilot.md` |
38
38
  | Cursor | `.cursorrules` | `AIWG-cursor.md` | `@AIWG-cursor.md` |
39
39
  | Factory AI | `AGENTS.md` | `AIWG-factory.md` | `@AIWG-factory.md` |
@@ -24,7 +24,7 @@ Regenerate `AIWG.md` (and provider equivalents) by assembling content from the `
24
24
 
25
25
  | Flag | Description |
26
26
  |------|-------------|
27
- | `--provider <name>` | Regenerate only for this provider: `claude`, `warp`, `copilot`, `cursor`, `factory`, `windsurf`, `opencode`, `codex` |
27
+ | `--provider <name>` | Regenerate only for this provider: `claude`, `warp`, `copilot`, `cursor`, `factory`, `devin`, `opencode`, `codex` |
28
28
  | `--all` | Regenerate for all installed providers (default) |
29
29
  | `--dry-run` | Show what would be written without writing |
30
30
  | `--verbose` | Show each fragment being included and its line count |
@@ -35,7 +35,7 @@ Regenerate `AIWG.md` (and provider equivalents) by assembling content from the `
35
35
  |----------|-----------|
36
36
  | Claude Code | `AIWG.md` |
37
37
  | Warp Terminal | `AIWG-warp.md` |
38
- | Windsurf | `AIWG-windsurf.md` |
38
+ | Devin Desktop | `AIWG-windsurf.md` |
39
39
  | GitHub Copilot | `AIWG-copilot.md` |
40
40
  | Cursor | `AIWG-cursor.md` |
41
41
  | Factory AI | `AIWG-factory.md` |
@@ -41,7 +41,7 @@ For each provider, check:
41
41
  |----------|-------------|---------|
42
42
  | Claude Code | `CLAUDE.md` | `@AIWG.md` |
43
43
  | Warp Terminal | `WARP.md` | `@AIWG-warp.md` or `## AIWG` section |
44
- | Windsurf | `AGENTS.md` | `@AIWG-windsurf.md` |
44
+ | Devin Desktop | `AGENTS.md` | `@AIWG-windsurf.md` |
45
45
  | GitHub Copilot | `.github/copilot-instructions.md` | `@AIWG-copilot.md` |
46
46
  | Cursor | `.cursorrules` | `@AIWG-cursor.md` |
47
47
  | Factory AI | `AGENTS.md` | `@AIWG-factory.md` |
@@ -57,7 +57,7 @@ AIWG Hook Status
57
57
  claude ✓ enabled (@AIWG.md in CLAUDE.md, 312 lines)
58
58
  warp ✓ enabled (@AIWG-warp.md in WARP.md)
59
59
  copilot ✗ disabled (AIWG-copilot.md exists but no directive)
60
- windsurf - not found (AGENTS.md not present)
60
+ devin - not found (AGENTS.md not present)
61
61
  cursor - not found (.cursorrules not present)
62
62
  factory ✗ disabled (AIWG-factory.md missing — run: aiwg hook-regenerate --provider factory)
63
63
  opencode - not found (.opencode/context.md not present)
@@ -112,6 +112,20 @@ query/fulltext return empty results, discover reports a Fortemi static-cache
112
112
  no-match hint, and show does not fall back to the local AIWG corpus when the
113
113
  Fortemi backend was explicit.
114
114
 
115
+ ### Full-text Source Sizes
116
+
117
+ `aiwg index query "<text>" --fulltext` uses BM25 over source bodies:
118
+
119
+ - **Fortemi Core (default)** searches text bodies captured at sync, without a
120
+ size cap or truncation. Binary and unreadable sources remain metadata-only.
121
+ `aiwg index sync` reports that zero bodies were omitted for size.
122
+ - **`--backend local`** reads current source files at query time, without a
123
+ size cap or truncation; missing or unreadable sources are skipped.
124
+
125
+ Re-run `aiwg index sync --graph <name>` to replace older Fortemi caches that
126
+ omitted bodies larger than 256 KiB. The standalone `index export` API retains
127
+ its default 256 KiB source-body cap; sync explicitly lifts that cap.
128
+
115
129
  ## Examples
116
130
 
117
131
  ### Example 1: Build the index
@@ -11,6 +11,10 @@ commandHint:
11
11
  modelRole: efficiency
12
12
  modelTier: economy
13
13
  ---
14
+ Apply `feature-flag-fit` here; record outcome/reason in intake or ADR. On recommend,
15
+ invoke `feature-flag-plan` for a scoped accept/decline and cards; offer defaults to
16
+ no, skip stays silent, and prior declines suppress repeat suggestions. [AIWG guidance]
17
+
14
18
 
15
19
  <!-- AIWG-SKILL-CALLOUT -->
16
20
  > **Skill access pattern (post-kernel-pivot, 2026.5+)**
@@ -22,7 +26,7 @@ commandHint:
22
26
  > aiwg show skill <name> --body
23
27
  > ```
24
28
  >
25
- > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
29
+ > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `aiwg-steward-routing` on Claude Code) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
26
30
 
27
31
 
28
32
  # Intake From Codebase