@elvis1513/auto-coding-skill 4.3.7 → 5.0.1

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 (34) hide show
  1. package/README.md +30 -761
  2. package/cli/assets/managed-install.json +42 -1
  3. package/cli/assets/skill/SKILL.md +17 -100
  4. package/cli/assets/skill/data/templates/ENVIRONMENT.md +34 -0
  5. package/cli/assets/skill/data/templates/PROJECT.md +30 -0
  6. package/cli/assets/skill/data/templates/architecture/.gitkeep +1 -0
  7. package/cli/assets/skill/data/templates/bridges/AGENTS.md +52 -157
  8. package/cli/assets/skill/data/templates/deployment/.gitkeep +1 -0
  9. package/cli/assets/skill/data/templates/design/.gitkeep +1 -0
  10. package/cli/assets/skill/data/templates/interfaces/.gitkeep +1 -0
  11. package/cli/assets/skill/data/templates/product/.gitkeep +1 -0
  12. package/cli/src/index.js +154 -2585
  13. package/cli/src/sync-assets.js +38 -95
  14. package/package.json +9 -17
  15. package/cli/assets/agents/browser-debugger.toml +0 -27
  16. package/cli/assets/agents/docs-researcher.toml +0 -18
  17. package/cli/assets/agents/explorer.toml +0 -26
  18. package/cli/assets/agents/fixer.toml +0 -29
  19. package/cli/assets/agents/reviewer.toml +0 -50
  20. package/cli/assets/skill/data/contracts/orchestration-v1.schema.json +0 -567
  21. package/cli/assets/skill/data/policies/feedback-resolutions-v1.json +0 -68
  22. package/cli/assets/skill/data/policies/workflow-migrations-v1.json +0 -657
  23. package/cli/assets/skill/data/templates/ENGINEERING.md +0 -115
  24. package/cli/assets/skill/data/templates/tools/ap.py +0 -16
  25. package/cli/assets/skill/requirements.txt +0 -1
  26. package/cli/assets/skill/scripts/ap.py +0 -17791
  27. package/cli/assets/skill/scripts/core.py +0 -510
  28. package/cli/assets/skill/scripts/http_checks.py +0 -92
  29. package/cli/assets/skill/scripts/install_integrity.py +0 -427
  30. package/cli/assets/skill/scripts/scaffold_templates.py +0 -325
  31. package/cli/tests/ap_concurrency_test.py +0 -3602
  32. package/cli/tests/ap_profiles_test.py +0 -3272
  33. package/cli/tests/core_shell_test.py +0 -345
  34. package/cli/tests/index.test.js +0 -2967
@@ -1,567 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://github.com/elvis1513/auto-coding-skill/blob/main/src/auto-coding-skill/data/contracts/orchestration-v1.schema.json",
4
- "title": "Auto Coding Orchestration Contract v1",
5
- "type": "object",
6
- "$ref": "#/$defs/classifyResult",
7
- "$defs": {
8
- "stringArray": {
9
- "type": "array",
10
- "items": {
11
- "type": "string"
12
- }
13
- },
14
- "mechanismPlan": {
15
- "type": "object",
16
- "required": ["required", "optional_when_beneficial", "forbidden", "not_required", "lifecycle_required", "rule"],
17
- "properties": {
18
- "required": { "$ref": "#/$defs/stringArray" },
19
- "optional_when_beneficial": { "$ref": "#/$defs/stringArray" },
20
- "forbidden": { "$ref": "#/$defs/stringArray" },
21
- "not_required": { "$ref": "#/$defs/stringArray" },
22
- "lifecycle_required": { "type": "boolean" },
23
- "rule": { "type": "string", "minLength": 1 }
24
- },
25
- "additionalProperties": false
26
- },
27
- "fingerprint": {
28
- "type": "string",
29
- "pattern": "^$|^[0-9a-f]{64}$"
30
- },
31
- "sha256": {
32
- "type": "string",
33
- "pattern": "^[0-9a-f]{64}$"
34
- },
35
- "assignmentContractDescriptor": {
36
- "type": "object",
37
- "required": [
38
- "common",
39
- "writer",
40
- "reviewer"
41
- ],
42
- "properties": {
43
- "common": {
44
- "$ref": "#/$defs/stringArray"
45
- },
46
- "writer": {
47
- "$ref": "#/$defs/stringArray"
48
- },
49
- "reviewer": {
50
- "$ref": "#/$defs/stringArray"
51
- }
52
- },
53
- "additionalProperties": false
54
- },
55
- "agentAssignment": {
56
- "type": "object",
57
- "required": [
58
- "contract_version",
59
- "node_id",
60
- "task_id",
61
- "role",
62
- "base_sha",
63
- "scope",
64
- "depends_on",
65
- "acceptance"
66
- ],
67
- "properties": {
68
- "contract_version": {
69
- "const": 1
70
- },
71
- "node_id": {
72
- "type": "string",
73
- "minLength": 1
74
- },
75
- "task_id": {
76
- "type": "string",
77
- "minLength": 1
78
- },
79
- "role": {
80
- "enum": [
81
- "explorer",
82
- "docs_researcher",
83
- "browser_debugger",
84
- "fixer",
85
- "reviewer"
86
- ]
87
- },
88
- "base_sha": {
89
- "type": "string",
90
- "minLength": 1
91
- },
92
- "scope": {
93
- "type": "string",
94
- "minLength": 1
95
- },
96
- "depends_on": {
97
- "$ref": "#/$defs/stringArray"
98
- },
99
- "acceptance": {
100
- "$ref": "#/$defs/stringArray"
101
- },
102
- "execution_mode": {
103
- "type": "string",
104
- "enum": ["direct", "isolated"]
105
- },
106
- "task_branch": {
107
- "type": "string",
108
- "minLength": 1
109
- },
110
- "worktree_path": {
111
- "type": "string",
112
- "minLength": 1
113
- },
114
- "owned_paths": {
115
- "$ref": "#/$defs/stringArray"
116
- },
117
- "diff_base": {
118
- "type": "string",
119
- "minLength": 1
120
- },
121
- "diff_head": {
122
- "type": "string",
123
- "minLength": 1
124
- },
125
- "diff_fingerprint": {
126
- "$ref": "#/$defs/fingerprint"
127
- },
128
- "diff_artifact_path": {
129
- "type": "string",
130
- "minLength": 1
131
- },
132
- "diff_artifact_sha256": {
133
- "$ref": "#/$defs/sha256"
134
- },
135
- "diff_artifact_format": {
136
- "const": "git-binary-patch-v1"
137
- },
138
- "owning_fixer": {
139
- "type": "string",
140
- "minLength": 1
141
- },
142
- "review_depth": {
143
- "enum": [
144
- "focused",
145
- "deep"
146
- ]
147
- },
148
- "timeout_seconds": {
149
- "type": "integer",
150
- "minimum": 1
151
- },
152
- "issued_at": {
153
- "type": "string",
154
- "minLength": 1
155
- },
156
- "deadline_at": {
157
- "type": "string",
158
- "minLength": 1
159
- },
160
- "scope_revision": {
161
- "type": "integer",
162
- "minimum": 1
163
- }
164
- },
165
- "allOf": [
166
- {
167
- "if": {
168
- "properties": {
169
- "role": {
170
- "const": "fixer"
171
- }
172
- },
173
- "required": [
174
- "role"
175
- ]
176
- },
177
- "then": {
178
- "required": [
179
- "execution_mode",
180
- "owned_paths"
181
- ],
182
- "allOf": [
183
- {
184
- "if": {
185
- "properties": {
186
- "execution_mode": { "const": "isolated" }
187
- },
188
- "required": ["execution_mode"]
189
- },
190
- "then": {
191
- "required": ["task_branch", "worktree_path"]
192
- }
193
- }
194
- ]
195
- }
196
- },
197
- {
198
- "if": {
199
- "properties": {
200
- "role": {
201
- "const": "reviewer"
202
- }
203
- },
204
- "required": [
205
- "role"
206
- ]
207
- },
208
- "then": {
209
- "required": [
210
- "diff_base",
211
- "diff_head",
212
- "diff_fingerprint",
213
- "diff_artifact_path",
214
- "diff_artifact_sha256",
215
- "diff_artifact_format",
216
- "owning_fixer"
217
- ]
218
- }
219
- }
220
- ],
221
- "additionalProperties": false
222
- },
223
- "agentResult": {
224
- "type": "object",
225
- "required": [
226
- "contract_version",
227
- "node_id",
228
- "role",
229
- "task_id",
230
- "base_sha",
231
- "status",
232
- "summary",
233
- "depends_on",
234
- "owned_paths",
235
- "changed_paths",
236
- "diff_fingerprint",
237
- "evidence",
238
- "findings",
239
- "verdict",
240
- "risks",
241
- "next_owner"
242
- ],
243
- "properties": {
244
- "contract_version": {
245
- "const": 1
246
- },
247
- "node_id": {
248
- "type": "string",
249
- "minLength": 1
250
- },
251
- "role": {
252
- "enum": [
253
- "explorer",
254
- "docs_researcher",
255
- "browser_debugger",
256
- "fixer",
257
- "reviewer"
258
- ]
259
- },
260
- "task_id": {
261
- "type": "string",
262
- "minLength": 1
263
- },
264
- "base_sha": {
265
- "type": "string",
266
- "minLength": 1
267
- },
268
- "status": {
269
- "enum": [
270
- "completed",
271
- "blocked",
272
- "failed"
273
- ]
274
- },
275
- "summary": {
276
- "type": "string"
277
- },
278
- "depends_on": {
279
- "$ref": "#/$defs/stringArray"
280
- },
281
- "owned_paths": {
282
- "$ref": "#/$defs/stringArray"
283
- },
284
- "changed_paths": {
285
- "$ref": "#/$defs/stringArray"
286
- },
287
- "diff_fingerprint": {
288
- "$ref": "#/$defs/fingerprint"
289
- },
290
- "evidence": {
291
- "$ref": "#/$defs/stringArray"
292
- },
293
- "findings": {
294
- "$ref": "#/$defs/stringArray"
295
- },
296
- "verdict": {
297
- "enum": [
298
- "not-applicable",
299
- "ready-for-review",
300
- "approved",
301
- "changes-requested",
302
- "blocked"
303
- ]
304
- },
305
- "risks": {
306
- "$ref": "#/$defs/stringArray"
307
- },
308
- "next_owner": {
309
- "type": [
310
- "string",
311
- "null"
312
- ]
313
- }
314
- },
315
- "allOf": [
316
- {
317
- "if": {
318
- "properties": {
319
- "role": {
320
- "enum": [
321
- "explorer",
322
- "docs_researcher",
323
- "browser_debugger",
324
- "reviewer"
325
- ]
326
- }
327
- },
328
- "required": [
329
- "role"
330
- ]
331
- },
332
- "then": {
333
- "properties": {
334
- "changed_paths": {
335
- "maxItems": 0
336
- }
337
- }
338
- }
339
- },
340
- {
341
- "if": {
342
- "properties": {
343
- "role": {
344
- "enum": [
345
- "explorer",
346
- "docs_researcher",
347
- "browser_debugger"
348
- ]
349
- }
350
- },
351
- "required": [
352
- "role"
353
- ]
354
- },
355
- "then": {
356
- "properties": {
357
- "owned_paths": {
358
- "maxItems": 0
359
- },
360
- "verdict": {
361
- "enum": [
362
- "not-applicable",
363
- "blocked"
364
- ]
365
- }
366
- }
367
- }
368
- },
369
- {
370
- "if": {
371
- "properties": {
372
- "role": {
373
- "const": "fixer"
374
- }
375
- },
376
- "required": [
377
- "role"
378
- ]
379
- },
380
- "then": {
381
- "properties": {
382
- "verdict": {
383
- "enum": [
384
- "ready-for-review",
385
- "blocked"
386
- ]
387
- }
388
- }
389
- }
390
- },
391
- {
392
- "if": {
393
- "properties": {
394
- "role": {
395
- "const": "reviewer"
396
- }
397
- },
398
- "required": [
399
- "role"
400
- ]
401
- },
402
- "then": {
403
- "properties": {
404
- "verdict": {
405
- "enum": [
406
- "approved",
407
- "changes-requested",
408
- "blocked"
409
- ]
410
- }
411
- }
412
- }
413
- }
414
- ],
415
- "additionalProperties": false
416
- },
417
- "agentPlan": {
418
- "type": "object",
419
- "required": [
420
- "contract_version",
421
- "contract_schema",
422
- "strategy",
423
- "policies",
424
- "assignment_contract",
425
- "result_contract",
426
- "optional_roles",
427
- "stages",
428
- "constraints"
429
- ],
430
- "properties": {
431
- "contract_version": {
432
- "const": 1
433
- },
434
- "contract_schema": {
435
- "const": "data/contracts/orchestration-v1.schema.json"
436
- },
437
- "strategy": {
438
- "enum": [
439
- "main-only",
440
- "orchestrated-subagents"
441
- ]
442
- },
443
- "policies": {
444
- "type": "object"
445
- },
446
- "assignment_contract": {
447
- "$ref": "#/$defs/assignmentContractDescriptor"
448
- },
449
- "result_contract": {
450
- "$ref": "#/$defs/stringArray"
451
- },
452
- "optional_roles": {
453
- "$ref": "#/$defs/stringArray"
454
- },
455
- "stages": {
456
- "type": "array",
457
- "items": {
458
- "type": "object",
459
- "required": [
460
- "id",
461
- "mode",
462
- "roles",
463
- "depends_on"
464
- ],
465
- "properties": {
466
- "id": {
467
- "type": "string",
468
- "minLength": 1
469
- },
470
- "mode": {
471
- "type": "string",
472
- "minLength": 1
473
- },
474
- "roles": {
475
- "$ref": "#/$defs/stringArray"
476
- },
477
- "depends_on": {
478
- "$ref": "#/$defs/stringArray"
479
- }
480
- },
481
- "additionalProperties": true
482
- }
483
- },
484
- "constraints": {
485
- "$ref": "#/$defs/stringArray"
486
- }
487
- },
488
- "additionalProperties": false
489
- },
490
- "classifyResult": {
491
- "type": "object",
492
- "required": [
493
- "contract_version",
494
- "contract_schema",
495
- "changed_files",
496
- "planned_files",
497
- "classification_files",
498
- "intent_provided",
499
- "intent_categories",
500
- "intent_risk_candidates",
501
- "high_confidence_intent_categories",
502
- "task_kind",
503
- "profile",
504
- "categories",
505
- "recommended_agents",
506
- "optional_agents",
507
- "agent_plan",
508
- "mechanism_plan"
509
- ],
510
- "properties": {
511
- "contract_version": {
512
- "const": 1
513
- },
514
- "contract_schema": {
515
- "const": "data/contracts/orchestration-v1.schema.json"
516
- },
517
- "changed_files": {
518
- "$ref": "#/$defs/stringArray"
519
- },
520
- "planned_files": {
521
- "$ref": "#/$defs/stringArray"
522
- },
523
- "classification_files": {
524
- "$ref": "#/$defs/stringArray"
525
- },
526
- "intent_provided": {
527
- "type": "boolean"
528
- },
529
- "intent_categories": {
530
- "$ref": "#/$defs/stringArray"
531
- },
532
- "intent_risk_candidates": {
533
- "$ref": "#/$defs/stringArray"
534
- },
535
- "high_confidence_intent_categories": {
536
- "$ref": "#/$defs/stringArray"
537
- },
538
- "task_kind": {
539
- "enum": ["none", "read_only", "change", "terminal_maintenance"]
540
- },
541
- "profile": {
542
- "enum": [
543
- "micro",
544
- "standard",
545
- "high-risk"
546
- ]
547
- },
548
- "categories": {
549
- "$ref": "#/$defs/stringArray"
550
- },
551
- "recommended_agents": {
552
- "$ref": "#/$defs/stringArray"
553
- },
554
- "optional_agents": {
555
- "$ref": "#/$defs/stringArray"
556
- },
557
- "agent_plan": {
558
- "$ref": "#/$defs/agentPlan"
559
- },
560
- "mechanism_plan": {
561
- "$ref": "#/$defs/mechanismPlan"
562
- }
563
- },
564
- "additionalProperties": true
565
- }
566
- }
567
- }
@@ -1,68 +0,0 @@
1
- {
2
- "schema": "auto-coding-skill-feedback-resolutions/v1",
3
- "entries": [
4
- {
5
- "signature": "sha256:1295e7d7d67b4f3c634737d078ddbf4846898c4118dfa92aa83d4a99049dd377",
6
- "disposition": "fixed",
7
- "effective_skill_version": "4.3.3"
8
- },
9
- {
10
- "signature": "sha256:2099575c9af1d8e58aa4beb45f4bb42321347ef995746f785f27fd56d3a2949e",
11
- "disposition": "fixed",
12
- "effective_skill_version": "4.3.3"
13
- },
14
- {
15
- "signature": "sha256:2b2de99b5d13ed5be4ff4733e177bd5e03ba3f1e93e97aa98a518eed57d011c7",
16
- "disposition": "fixed",
17
- "effective_skill_version": "4.3.3"
18
- },
19
- {
20
- "signature": "sha256:310632d2756bf2da1894bb9841463964924d02ab6e436883ccce11d58b8f36eb",
21
- "disposition": "fixed",
22
- "effective_skill_version": "4.3.3"
23
- },
24
- {
25
- "signature": "sha256:5f712ecb25ae589702e3740a21edd439b2879bdf59542cf475ad494d35f2149c",
26
- "disposition": "duplicate",
27
- "effective_skill_version": "4.3.3",
28
- "canonical_signature": "sha256:310632d2756bf2da1894bb9841463964924d02ab6e436883ccce11d58b8f36eb"
29
- },
30
- {
31
- "signature": "sha256:682b73e95a0394a548d4ec8f71290c4013c9ff09dc86d1944ece16544cb3ac49",
32
- "disposition": "fixed",
33
- "effective_skill_version": "4.3.3"
34
- },
35
- {
36
- "signature": "sha256:6970f6b2ddbcade14d0bfcd767590ceb5a4249cfa7967bb6f1a5aaa3f1631ecd",
37
- "disposition": "duplicate",
38
- "effective_skill_version": "4.3.3",
39
- "canonical_signature": "sha256:682b73e95a0394a548d4ec8f71290c4013c9ff09dc86d1944ece16544cb3ac49"
40
- },
41
- {
42
- "signature": "sha256:73270c5822d44e9b2e8ff33ab06808496557d78a1a9adc3fa66b8389f23dcb96",
43
- "disposition": "fixed",
44
- "effective_skill_version": "4.3.2"
45
- },
46
- {
47
- "signature": "sha256:a5eeb5eb0ef5073dbeec726fa6c2016593b43eb1230171e3028f364c5b07bd86",
48
- "disposition": "project-config",
49
- "effective_skill_version": "4.3.1"
50
- },
51
- {
52
- "signature": "sha256:acab2e53a30772d2c98a9b22febf5b6adfee898f77530343745f2dbdde72325a",
53
- "disposition": "fixed",
54
- "effective_skill_version": "4.3.3"
55
- },
56
- {
57
- "signature": "sha256:f822eb5ab8906dcf3c7f39049bc5aad8632524bb33ca166b6f00173dce8f9f4b",
58
- "disposition": "duplicate",
59
- "effective_skill_version": "4.3.3",
60
- "canonical_signature": "sha256:310632d2756bf2da1894bb9841463964924d02ab6e436883ccce11d58b8f36eb"
61
- },
62
- {
63
- "signature": "sha256:fd5748e4ae40e9f86762c4f62b3302bbbb2b8ae9661adf9e0e07a2327ccf7a36",
64
- "disposition": "fixed",
65
- "effective_skill_version": "4.3.1"
66
- }
67
- ]
68
- }