-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtasks.json
More file actions
109 lines (107 loc) · 4.79 KB
/
tasks.json
File metadata and controls
109 lines (107 loc) · 4.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"feature": "Session 85: AI Savings Verification & Multi-Language KB",
"branchName": "main",
"createdAt": "2026-01-14T04:00:00.000Z",
"maxIterations": 10,
"currentIteration": 0,
"status": "ready",
"stories": [
{
"id": 1,
"title": "Test Template Transforms",
"description": "As a developer, I want to verify that template transforms are working for simple rules so that we achieve 0 AI calls for trivial fixes.",
"acceptanceCriteria": [
"Find or create a PR with UnnecessarySemicolon, MissingOverride, or UnusedImport issues",
"Run analysis on cloud and check logs for 'TEMPLATE TRANSFORM' messages",
"Verify template-fixed issues don't trigger AI calls",
"Document which rules successfully use templates"
],
"technicalNotes": "Template transforms are in pattern-aware-fixer.ts applyTemplateTransform(). Check cloud logs: grep 'TEMPLATE TRANSFORM' /tmp/api.log. SSH: ssh -i ~/CodePrjects/codequal/keys/oracle/ssh-key-2025-10-07.key opc@129.213.49.128",
"passes": false,
"attempts": 0,
"lastError": null,
"completedAt": null
},
{
"id": 2,
"title": "Test Fix Cache on Repeat Analysis",
"description": "As a developer, I want to verify that the fix cache works on repeat analysis so that identical issues don't require AI regeneration.",
"acceptanceCriteria": [
"Run the same PR analysis twice on cloud",
"First run should populate cache (no CACHE HIT messages)",
"Second run should show 'CACHE HIT' messages in logs",
"Measure AI call reduction between first and second runs"
],
"technicalNotes": "Fix cache uses MD5 hash of rule+code. Cache is in-memory per API instance. Check: grep 'CACHE HIT' /tmp/api.log",
"passes": false,
"attempts": 0,
"lastError": null,
"completedAt": null
},
{
"id": 3,
"title": "Add Python KB Patterns",
"description": "As a developer, I want to add common Python fix patterns to the KB so that Python PRs benefit from pattern-based fixes.",
"acceptanceCriteria": [
"Run Python test on cloud",
"Identify top 5 most common Python rule violations from test results",
"Add fix patterns for each rule to fix-pattern-guidance.ts",
"Document Python patterns in KB (similar to Java patterns)"
],
"technicalNotes": "Common Python rules: E501 (line length), F401 (unused import), E302 (blank lines), W503 (line break before operator). Add to PYTHON_PATTERNS in fix-pattern-guidance.ts. Test: LANG=python in test-v9-2tier-all-languages.ts",
"passes": false,
"attempts": 0,
"lastError": null,
"completedAt": null
},
{
"id": 4,
"title": "Add TypeScript KB Patterns",
"description": "As a developer, I want to add common TypeScript fix patterns to the KB so that TypeScript PRs benefit from pattern-based fixes.",
"acceptanceCriteria": [
"Run TypeScript test on cloud",
"Identify top 5 most common TypeScript/ESLint rule violations",
"Add fix patterns for each rule to fix-pattern-guidance.ts",
"Document TypeScript patterns in KB"
],
"technicalNotes": "Common TS rules: @typescript-eslint/no-unused-vars, @typescript-eslint/explicit-function-return-type, no-console. Add to TYPESCRIPT_PATTERNS in fix-pattern-guidance.ts",
"passes": false,
"attempts": 0,
"lastError": null,
"completedAt": null
},
{
"id": 5,
"title": "Add Go KB Patterns",
"description": "As a developer, I want to add common Go fix patterns to the KB so that Go PRs benefit from pattern-based fixes.",
"acceptanceCriteria": [
"Run Go test on cloud",
"Identify top 5 most common golangci-lint rule violations",
"Add fix patterns for each rule to fix-pattern-guidance.ts",
"Document Go patterns in KB"
],
"technicalNotes": "Common Go rules: errcheck, govet, ineffassign, staticcheck. Add to GO_PATTERNS in fix-pattern-guidance.ts",
"passes": false,
"attempts": 0,
"lastError": null,
"completedAt": null
},
{
"id": 6,
"title": "Verify Multi-Language AI Savings",
"description": "As a developer, I want to verify AI savings work across all languages so that the KB provides consistent value.",
"acceptanceCriteria": [
"Run tests for Java, Python, TypeScript, Go on cloud",
"Check each language shows AI savings in logs",
"Document savings rate per language",
"Target: >30% AI savings for each language"
],
"technicalNotes": "Check logs: grep 'AI calls saved' /tmp/api.log. Compare savings rates across languages.",
"passes": false,
"attempts": 0,
"lastError": null,
"completedAt": null
}
],
"iterations": []
}