@iservu-inc/adf-cli 0.11.0 → 0.12.9
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.
- package/.adf/feature-audit.md +208 -0
- package/.adf/final-summary.md +347 -0
- package/.adf/implementation-plan.md +244 -0
- package/.adf/implementation-progress.md +203 -0
- package/.adf/learning/answer-history.json +995 -0
- package/.adf/learning/config.json +25 -0
- package/.adf/learning/learned-rules.json +59 -0
- package/.adf/learning/patterns.json +277 -0
- package/.adf/learning/skip-history.json +1451 -0
- package/.adf/learning/stats.json +9 -0
- package/.claude/settings.local.json +12 -5
- package/CHANGELOG.md +110 -0
- package/CLAUDE.md +479 -0
- package/bin/adf.js +339 -1
- package/lib/ai/ai-client.js +161 -44
- package/lib/ai/ai-config.js +249 -105
- package/lib/commands/deploy.js +73 -6
- package/lib/generators/agents-md-generator.js +431 -161
- package/lib/generators/antigravity-generator.js +140 -0
- package/lib/generators/deepagent-generator.js +144 -0
- package/lib/generators/gemini-cli-generator.js +241 -0
- package/lib/generators/index.js +55 -0
- package/lib/generators/opencode-generator.js +153 -0
- package/lib/generators/zed-generator.js +252 -0
- package/lib/templates/shared/agents/architect.md +24 -24
- package/lib/templates/shared/agents/dev.md +25 -20
- package/lib/templates/shared/agents/pm.md +14 -4
- package/lib/templates/shared/agents/sm.md +18 -14
- package/lib/templates/shared/templates/openspec-delta.md +16 -0
- package/lib/templates/shared/templates/openspec-proposal.md +18 -0
- package/lib/templates/shared/templates/openspec-tasks.md +21 -0
- package/lib/utils/context-manager.js +484 -0
- package/package.json +6 -1
- package/tests/agents-md-generator.test.js +47 -10
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.0",
|
|
3
|
+
"enabled": true,
|
|
4
|
+
"trackSkips": true,
|
|
5
|
+
"trackAnswers": true,
|
|
6
|
+
"minSessionsForPattern": 3,
|
|
7
|
+
"minConfidenceForAutoFilter": 75,
|
|
8
|
+
"maxPatternsToStore": 100,
|
|
9
|
+
"autoApproveHighConfidence": false,
|
|
10
|
+
"decayConfig": {
|
|
11
|
+
"enabled": true,
|
|
12
|
+
"decayRates": {
|
|
13
|
+
"high": 0.075,
|
|
14
|
+
"medium": 0.15,
|
|
15
|
+
"low": 0.225
|
|
16
|
+
},
|
|
17
|
+
"removalThresholds": {
|
|
18
|
+
"minConfidence": 40,
|
|
19
|
+
"maxInactiveMonths": 6
|
|
20
|
+
},
|
|
21
|
+
"renewalBonus": 10,
|
|
22
|
+
"protectionMultiplier": 0.5
|
|
23
|
+
},
|
|
24
|
+
"lastUpdated": "2025-11-04T11:13:36.502Z"
|
|
25
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.0",
|
|
3
|
+
"rules": [
|
|
4
|
+
{
|
|
5
|
+
"id": "rule_pattern_skip_q_deployment_strategy",
|
|
6
|
+
"patternId": "pattern_skip_q_deployment_strategy",
|
|
7
|
+
"type": "question_filter",
|
|
8
|
+
"enabled": true,
|
|
9
|
+
"createdAt": "2025-09-09T10:13:36.502Z",
|
|
10
|
+
"appliedCount": 12,
|
|
11
|
+
"lastApplied": "2025-10-26T10:13:36.502Z"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "rule_pattern_skip_q_hosting_provider",
|
|
15
|
+
"patternId": "pattern_skip_q_hosting_provider",
|
|
16
|
+
"type": "question_filter",
|
|
17
|
+
"enabled": true,
|
|
18
|
+
"createdAt": "2025-09-07T10:13:36.502Z",
|
|
19
|
+
"appliedCount": 12,
|
|
20
|
+
"lastApplied": "2025-10-28T10:13:36.502Z"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "rule_pattern_skip_q_cicd_pipeline",
|
|
24
|
+
"patternId": "pattern_skip_q_cicd_pipeline",
|
|
25
|
+
"type": "question_filter",
|
|
26
|
+
"enabled": true,
|
|
27
|
+
"createdAt": "2025-10-12T10:13:36.502Z",
|
|
28
|
+
"appliedCount": 12,
|
|
29
|
+
"lastApplied": "2025-10-31T10:13:36.502Z"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "rule_pattern_skip_q_auth_method",
|
|
33
|
+
"patternId": "pattern_skip_q_auth_method",
|
|
34
|
+
"type": "question_filter",
|
|
35
|
+
"enabled": true,
|
|
36
|
+
"createdAt": "2025-10-23T10:13:36.502Z",
|
|
37
|
+
"appliedCount": 12,
|
|
38
|
+
"lastApplied": "2025-10-30T10:13:36.502Z"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "rule_pattern_skip_q_data_encryption",
|
|
42
|
+
"patternId": "pattern_skip_q_data_encryption",
|
|
43
|
+
"type": "question_filter",
|
|
44
|
+
"enabled": true,
|
|
45
|
+
"createdAt": "2025-09-15T10:13:36.502Z",
|
|
46
|
+
"appliedCount": 12,
|
|
47
|
+
"lastApplied": "2025-11-02T11:13:36.502Z"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "rule_pattern_skip_q_security_audit",
|
|
51
|
+
"patternId": "pattern_skip_q_security_audit",
|
|
52
|
+
"type": "question_filter",
|
|
53
|
+
"enabled": true,
|
|
54
|
+
"createdAt": "2025-09-03T10:13:36.502Z",
|
|
55
|
+
"appliedCount": 12,
|
|
56
|
+
"lastApplied": "2025-10-31T10:13:36.502Z"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.0",
|
|
3
|
+
"lastUpdated": "2025-11-04T11:13:36.502Z",
|
|
4
|
+
"lastDecayCheck": "2025-11-04T11:13:36.502Z",
|
|
5
|
+
"patterns": [
|
|
6
|
+
{
|
|
7
|
+
"id": "pattern_skip_q_target_users",
|
|
8
|
+
"type": "consistent_skip",
|
|
9
|
+
"questionId": "q_target_users",
|
|
10
|
+
"questionText": "Who are the target users?",
|
|
11
|
+
"category": "overview",
|
|
12
|
+
"confidence": 42,
|
|
13
|
+
"sessionsAnalyzed": 12,
|
|
14
|
+
"skipCount": 5,
|
|
15
|
+
"recommendation": "Auto-filter this question",
|
|
16
|
+
"status": "active",
|
|
17
|
+
"userApproved": false,
|
|
18
|
+
"createdAt": "2025-09-02T10:13:36.502Z",
|
|
19
|
+
"lastSeen": "2025-10-31T10:13:36.502Z",
|
|
20
|
+
"timesApplied": 5,
|
|
21
|
+
"timesRenewed": 1,
|
|
22
|
+
"lastDecayCalculation": "2025-11-03T11:13:36.502Z"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "pattern_skip_q_key_features",
|
|
26
|
+
"type": "consistent_skip",
|
|
27
|
+
"questionId": "q_key_features",
|
|
28
|
+
"questionText": "What are the key features?",
|
|
29
|
+
"category": "overview",
|
|
30
|
+
"confidence": 42,
|
|
31
|
+
"sessionsAnalyzed": 12,
|
|
32
|
+
"skipCount": 5,
|
|
33
|
+
"recommendation": "Auto-filter this question",
|
|
34
|
+
"status": "active",
|
|
35
|
+
"userApproved": false,
|
|
36
|
+
"createdAt": "2025-10-07T10:13:36.502Z",
|
|
37
|
+
"lastSeen": "2025-11-02T11:13:36.502Z",
|
|
38
|
+
"timesApplied": 5,
|
|
39
|
+
"timesRenewed": 1,
|
|
40
|
+
"lastDecayCalculation": "2025-11-03T11:13:36.502Z"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "pattern_skip_q_deployment_strategy",
|
|
44
|
+
"type": "consistent_skip",
|
|
45
|
+
"questionId": "q_deployment_strategy",
|
|
46
|
+
"questionText": "What deployment strategy will you use?",
|
|
47
|
+
"category": "deployment",
|
|
48
|
+
"confidence": 100,
|
|
49
|
+
"sessionsAnalyzed": 12,
|
|
50
|
+
"skipCount": 12,
|
|
51
|
+
"recommendation": "Auto-filter this question",
|
|
52
|
+
"status": "active",
|
|
53
|
+
"userApproved": true,
|
|
54
|
+
"createdAt": "2025-09-09T10:13:36.502Z",
|
|
55
|
+
"lastSeen": "2025-10-26T10:13:36.502Z",
|
|
56
|
+
"timesApplied": 12,
|
|
57
|
+
"timesRenewed": 4,
|
|
58
|
+
"lastDecayCalculation": "2025-11-03T11:13:36.502Z"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "pattern_skip_q_hosting_provider",
|
|
62
|
+
"type": "consistent_skip",
|
|
63
|
+
"questionId": "q_hosting_provider",
|
|
64
|
+
"questionText": "Which hosting provider?",
|
|
65
|
+
"category": "deployment",
|
|
66
|
+
"confidence": 100,
|
|
67
|
+
"sessionsAnalyzed": 12,
|
|
68
|
+
"skipCount": 12,
|
|
69
|
+
"recommendation": "Auto-filter this question",
|
|
70
|
+
"status": "active",
|
|
71
|
+
"userApproved": true,
|
|
72
|
+
"createdAt": "2025-09-07T10:13:36.502Z",
|
|
73
|
+
"lastSeen": "2025-10-28T10:13:36.502Z",
|
|
74
|
+
"timesApplied": 12,
|
|
75
|
+
"timesRenewed": 4,
|
|
76
|
+
"lastDecayCalculation": "2025-11-03T11:13:36.502Z"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "pattern_skip_q_cicd_pipeline",
|
|
80
|
+
"type": "consistent_skip",
|
|
81
|
+
"questionId": "q_cicd_pipeline",
|
|
82
|
+
"questionText": "What CI/CD pipeline?",
|
|
83
|
+
"category": "deployment",
|
|
84
|
+
"confidence": 100,
|
|
85
|
+
"sessionsAnalyzed": 12,
|
|
86
|
+
"skipCount": 12,
|
|
87
|
+
"recommendation": "Auto-filter this question",
|
|
88
|
+
"status": "active",
|
|
89
|
+
"userApproved": true,
|
|
90
|
+
"createdAt": "2025-10-12T10:13:36.502Z",
|
|
91
|
+
"lastSeen": "2025-10-31T10:13:36.502Z",
|
|
92
|
+
"timesApplied": 12,
|
|
93
|
+
"timesRenewed": 4,
|
|
94
|
+
"lastDecayCalculation": "2025-11-03T11:13:36.502Z"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "pattern_skip_q_testing_framework",
|
|
98
|
+
"type": "consistent_skip",
|
|
99
|
+
"questionId": "q_testing_framework",
|
|
100
|
+
"questionText": "What testing framework?",
|
|
101
|
+
"category": "testing",
|
|
102
|
+
"confidence": 25,
|
|
103
|
+
"sessionsAnalyzed": 12,
|
|
104
|
+
"skipCount": 3,
|
|
105
|
+
"recommendation": "Auto-filter this question",
|
|
106
|
+
"status": "active",
|
|
107
|
+
"userApproved": false,
|
|
108
|
+
"createdAt": "2025-09-19T10:13:36.502Z",
|
|
109
|
+
"lastSeen": "2025-11-01T10:13:36.502Z",
|
|
110
|
+
"timesApplied": 3,
|
|
111
|
+
"timesRenewed": 1,
|
|
112
|
+
"lastDecayCalculation": "2025-11-03T11:13:36.502Z"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"id": "pattern_skip_q_auth_method",
|
|
116
|
+
"type": "consistent_skip",
|
|
117
|
+
"questionId": "q_auth_method",
|
|
118
|
+
"questionText": "What authentication method?",
|
|
119
|
+
"category": "security",
|
|
120
|
+
"confidence": 100,
|
|
121
|
+
"sessionsAnalyzed": 12,
|
|
122
|
+
"skipCount": 12,
|
|
123
|
+
"recommendation": "Auto-filter this question",
|
|
124
|
+
"status": "active",
|
|
125
|
+
"userApproved": true,
|
|
126
|
+
"createdAt": "2025-10-23T10:13:36.502Z",
|
|
127
|
+
"lastSeen": "2025-10-30T10:13:36.502Z",
|
|
128
|
+
"timesApplied": 12,
|
|
129
|
+
"timesRenewed": 4,
|
|
130
|
+
"lastDecayCalculation": "2025-11-03T11:13:36.502Z"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "pattern_skip_q_data_encryption",
|
|
134
|
+
"type": "consistent_skip",
|
|
135
|
+
"questionId": "q_data_encryption",
|
|
136
|
+
"questionText": "How will data be encrypted?",
|
|
137
|
+
"category": "security",
|
|
138
|
+
"confidence": 100,
|
|
139
|
+
"sessionsAnalyzed": 12,
|
|
140
|
+
"skipCount": 12,
|
|
141
|
+
"recommendation": "Auto-filter this question",
|
|
142
|
+
"status": "active",
|
|
143
|
+
"userApproved": true,
|
|
144
|
+
"createdAt": "2025-09-15T10:13:36.502Z",
|
|
145
|
+
"lastSeen": "2025-11-02T11:13:36.502Z",
|
|
146
|
+
"timesApplied": 12,
|
|
147
|
+
"timesRenewed": 4,
|
|
148
|
+
"lastDecayCalculation": "2025-11-03T11:13:36.502Z"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "pattern_skip_q_security_audit",
|
|
152
|
+
"type": "consistent_skip",
|
|
153
|
+
"questionId": "q_security_audit",
|
|
154
|
+
"questionText": "Will you conduct security audits?",
|
|
155
|
+
"category": "security",
|
|
156
|
+
"confidence": 100,
|
|
157
|
+
"sessionsAnalyzed": 12,
|
|
158
|
+
"skipCount": 12,
|
|
159
|
+
"recommendation": "Auto-filter this question",
|
|
160
|
+
"status": "active",
|
|
161
|
+
"userApproved": true,
|
|
162
|
+
"createdAt": "2025-09-03T10:13:36.502Z",
|
|
163
|
+
"lastSeen": "2025-10-31T10:13:36.502Z",
|
|
164
|
+
"timesApplied": 12,
|
|
165
|
+
"timesRenewed": 4,
|
|
166
|
+
"lastDecayCalculation": "2025-11-03T11:13:36.502Z"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"id": "pattern_skip_q_database_type",
|
|
170
|
+
"type": "consistent_skip",
|
|
171
|
+
"questionId": "q_database_type",
|
|
172
|
+
"questionText": "What type of database?",
|
|
173
|
+
"category": "database",
|
|
174
|
+
"confidence": 50,
|
|
175
|
+
"sessionsAnalyzed": 12,
|
|
176
|
+
"skipCount": 6,
|
|
177
|
+
"recommendation": "Auto-filter this question",
|
|
178
|
+
"status": "active",
|
|
179
|
+
"userApproved": false,
|
|
180
|
+
"createdAt": "2025-09-16T10:13:36.502Z",
|
|
181
|
+
"lastSeen": "2025-11-01T10:13:36.502Z",
|
|
182
|
+
"timesApplied": 6,
|
|
183
|
+
"timesRenewed": 2,
|
|
184
|
+
"lastDecayCalculation": "2025-11-03T11:13:36.502Z"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"id": "pattern_skip_q_orm_choice",
|
|
188
|
+
"type": "consistent_skip",
|
|
189
|
+
"questionId": "q_orm_choice",
|
|
190
|
+
"questionText": "Which ORM will you use?",
|
|
191
|
+
"category": "database",
|
|
192
|
+
"confidence": 42,
|
|
193
|
+
"sessionsAnalyzed": 12,
|
|
194
|
+
"skipCount": 5,
|
|
195
|
+
"recommendation": "Auto-filter this question",
|
|
196
|
+
"status": "active",
|
|
197
|
+
"userApproved": false,
|
|
198
|
+
"createdAt": "2025-09-17T10:13:36.502Z",
|
|
199
|
+
"lastSeen": "2025-11-02T11:13:36.502Z",
|
|
200
|
+
"timesApplied": 5,
|
|
201
|
+
"timesRenewed": 1,
|
|
202
|
+
"lastDecayCalculation": "2025-11-03T11:13:36.502Z"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"id": "pattern_skip_q_data_backup",
|
|
206
|
+
"type": "consistent_skip",
|
|
207
|
+
"questionId": "q_data_backup",
|
|
208
|
+
"questionText": "What is your backup strategy?",
|
|
209
|
+
"category": "database",
|
|
210
|
+
"confidence": 58,
|
|
211
|
+
"sessionsAnalyzed": 12,
|
|
212
|
+
"skipCount": 7,
|
|
213
|
+
"recommendation": "Auto-filter this question",
|
|
214
|
+
"status": "active",
|
|
215
|
+
"userApproved": false,
|
|
216
|
+
"createdAt": "2025-10-10T10:13:36.502Z",
|
|
217
|
+
"lastSeen": "2025-10-26T10:13:36.502Z",
|
|
218
|
+
"timesApplied": 7,
|
|
219
|
+
"timesRenewed": 2,
|
|
220
|
+
"lastDecayCalculation": "2025-11-03T11:13:36.502Z"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"id": "pattern_skip_q_e2e_testing",
|
|
224
|
+
"type": "consistent_skip",
|
|
225
|
+
"questionId": "q_e2e_testing",
|
|
226
|
+
"questionText": "Will you implement E2E testing?",
|
|
227
|
+
"category": "testing",
|
|
228
|
+
"confidence": 42,
|
|
229
|
+
"sessionsAnalyzed": 12,
|
|
230
|
+
"skipCount": 5,
|
|
231
|
+
"recommendation": "Auto-filter this question",
|
|
232
|
+
"status": "active",
|
|
233
|
+
"userApproved": false,
|
|
234
|
+
"createdAt": "2025-09-19T10:13:36.502Z",
|
|
235
|
+
"lastSeen": "2025-11-04T11:13:36.502Z",
|
|
236
|
+
"timesApplied": 5,
|
|
237
|
+
"timesRenewed": 1,
|
|
238
|
+
"lastDecayCalculation": "2025-11-03T11:13:36.502Z"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"id": "pattern_skip_q_core_purpose",
|
|
242
|
+
"type": "consistent_skip",
|
|
243
|
+
"questionId": "q_core_purpose",
|
|
244
|
+
"questionText": "What is the core purpose of this project?",
|
|
245
|
+
"category": "overview",
|
|
246
|
+
"confidence": 25,
|
|
247
|
+
"sessionsAnalyzed": 12,
|
|
248
|
+
"skipCount": 3,
|
|
249
|
+
"recommendation": "Auto-filter this question",
|
|
250
|
+
"status": "active",
|
|
251
|
+
"userApproved": false,
|
|
252
|
+
"createdAt": "2025-10-06T10:13:36.502Z",
|
|
253
|
+
"lastSeen": "2025-10-28T10:13:36.502Z",
|
|
254
|
+
"timesApplied": 3,
|
|
255
|
+
"timesRenewed": 1,
|
|
256
|
+
"lastDecayCalculation": "2025-11-03T11:13:36.502Z"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"id": "pattern_skip_q_test_coverage",
|
|
260
|
+
"type": "consistent_skip",
|
|
261
|
+
"questionId": "q_test_coverage",
|
|
262
|
+
"questionText": "What is your target test coverage?",
|
|
263
|
+
"category": "testing",
|
|
264
|
+
"confidence": 25,
|
|
265
|
+
"sessionsAnalyzed": 12,
|
|
266
|
+
"skipCount": 3,
|
|
267
|
+
"recommendation": "Auto-filter this question",
|
|
268
|
+
"status": "active",
|
|
269
|
+
"userApproved": false,
|
|
270
|
+
"createdAt": "2025-09-27T10:13:36.502Z",
|
|
271
|
+
"lastSeen": "2025-10-26T10:13:36.502Z",
|
|
272
|
+
"timesApplied": 3,
|
|
273
|
+
"timesRenewed": 1,
|
|
274
|
+
"lastDecayCalculation": "2025-11-03T11:13:36.502Z"
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
}
|