@ai-coders/context 0.3.0 → 0.4.0
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/README.md +32 -25
- package/dist/commands/shared/agents.d.ts +2 -0
- package/dist/commands/shared/agents.d.ts.map +1 -0
- package/dist/commands/shared/agents.js +15 -0
- package/dist/commands/shared/agents.js.map +1 -0
- package/dist/commands/shared/selection.d.ts +12 -0
- package/dist/commands/shared/selection.d.ts.map +1 -0
- package/dist/commands/shared/selection.js +95 -0
- package/dist/commands/shared/selection.js.map +1 -0
- package/dist/generators/agents/agentConfig.d.ts.map +1 -1
- package/dist/generators/agents/agentConfig.js +42 -0
- package/dist/generators/agents/agentConfig.js.map +1 -1
- package/dist/generators/agents/agentGenerator.d.ts +0 -1
- package/dist/generators/agents/agentGenerator.d.ts.map +1 -1
- package/dist/generators/agents/agentGenerator.js +7 -47
- package/dist/generators/agents/agentGenerator.js.map +1 -1
- package/dist/generators/agents/agentTypes.d.ts +1 -1
- package/dist/generators/agents/agentTypes.d.ts.map +1 -1
- package/dist/generators/agents/agentTypes.js +4 -1
- package/dist/generators/agents/agentTypes.js.map +1 -1
- package/dist/generators/agents/templates/indexTemplate.d.ts.map +1 -1
- package/dist/generators/agents/templates/indexTemplate.js +2 -1
- package/dist/generators/agents/templates/indexTemplate.js.map +1 -1
- package/dist/generators/agents/templates/playbookTemplate.d.ts.map +1 -1
- package/dist/generators/agents/templates/playbookTemplate.js +39 -3
- package/dist/generators/agents/templates/playbookTemplate.js.map +1 -1
- package/dist/generators/documentation/documentationGenerator.d.ts +3 -1
- package/dist/generators/documentation/documentationGenerator.d.ts.map +1 -1
- package/dist/generators/documentation/documentationGenerator.js +88 -15
- package/dist/generators/documentation/documentationGenerator.js.map +1 -1
- package/dist/generators/documentation/guideRegistry.js +8 -8
- package/dist/generators/documentation/guideRegistry.js.map +1 -1
- package/dist/generators/documentation/templates/apiReferenceTemplate.d.ts +2 -0
- package/dist/generators/documentation/templates/apiReferenceTemplate.d.ts.map +1 -0
- package/dist/generators/documentation/templates/apiReferenceTemplate.js +490 -0
- package/dist/generators/documentation/templates/apiReferenceTemplate.js.map +1 -0
- package/dist/generators/documentation/templates/architectureTemplate.d.ts.map +1 -1
- package/dist/generators/documentation/templates/architectureTemplate.js +27 -27
- package/dist/generators/documentation/templates/architectureTemplate.js.map +1 -1
- package/dist/generators/documentation/templates/common.js +2 -2
- package/dist/generators/documentation/templates/common.js.map +1 -1
- package/dist/generators/documentation/templates/dataFlowTemplate.d.ts.map +1 -1
- package/dist/generators/documentation/templates/dataFlowTemplate.js +5 -20
- package/dist/generators/documentation/templates/dataFlowTemplate.js.map +1 -1
- package/dist/generators/documentation/templates/developmentWorkflowTemplate.d.ts.map +1 -1
- package/dist/generators/documentation/templates/developmentWorkflowTemplate.js +5 -20
- package/dist/generators/documentation/templates/developmentWorkflowTemplate.js.map +1 -1
- package/dist/generators/documentation/templates/glossaryTemplate.d.ts.map +1 -1
- package/dist/generators/documentation/templates/glossaryTemplate.js +9 -23
- package/dist/generators/documentation/templates/glossaryTemplate.js.map +1 -1
- package/dist/generators/documentation/templates/index.d.ts +4 -0
- package/dist/generators/documentation/templates/index.d.ts.map +1 -1
- package/dist/generators/documentation/templates/index.js +9 -1
- package/dist/generators/documentation/templates/index.js.map +1 -1
- package/dist/generators/documentation/templates/indexTemplate.d.ts.map +1 -1
- package/dist/generators/documentation/templates/indexTemplate.js +5 -19
- package/dist/generators/documentation/templates/indexTemplate.js.map +1 -1
- package/dist/generators/documentation/templates/migrationTemplate.d.ts +2 -0
- package/dist/generators/documentation/templates/migrationTemplate.d.ts.map +1 -0
- package/dist/generators/documentation/templates/migrationTemplate.js +422 -0
- package/dist/generators/documentation/templates/migrationTemplate.js.map +1 -0
- package/dist/generators/documentation/templates/onboardingTemplate.d.ts +2 -0
- package/dist/generators/documentation/templates/onboardingTemplate.d.ts.map +1 -0
- package/dist/generators/documentation/templates/onboardingTemplate.js +431 -0
- package/dist/generators/documentation/templates/onboardingTemplate.js.map +1 -0
- package/dist/generators/documentation/templates/projectOverviewTemplate.d.ts.map +1 -1
- package/dist/generators/documentation/templates/projectOverviewTemplate.js +22 -25
- package/dist/generators/documentation/templates/projectOverviewTemplate.js.map +1 -1
- package/dist/generators/documentation/templates/securityTemplate.d.ts.map +1 -1
- package/dist/generators/documentation/templates/securityTemplate.js +5 -19
- package/dist/generators/documentation/templates/securityTemplate.js.map +1 -1
- package/dist/generators/documentation/templates/testingTemplate.d.ts.map +1 -1
- package/dist/generators/documentation/templates/testingTemplate.js +5 -19
- package/dist/generators/documentation/templates/testingTemplate.js.map +1 -1
- package/dist/generators/documentation/templates/toolingTemplate.d.ts.map +1 -1
- package/dist/generators/documentation/templates/toolingTemplate.js +6 -20
- package/dist/generators/documentation/templates/toolingTemplate.js.map +1 -1
- package/dist/generators/documentation/templates/troubleshootingTemplate.d.ts +2 -0
- package/dist/generators/documentation/templates/troubleshootingTemplate.d.ts.map +1 -0
- package/dist/generators/documentation/templates/troubleshootingTemplate.js +292 -0
- package/dist/generators/documentation/templates/troubleshootingTemplate.js.map +1 -0
- package/dist/generators/plans/templates/indexTemplate.d.ts.map +1 -1
- package/dist/generators/plans/templates/indexTemplate.js +3 -2
- package/dist/generators/plans/templates/indexTemplate.js.map +1 -1
- package/dist/generators/plans/templates/planTemplate.d.ts.map +1 -1
- package/dist/generators/plans/templates/planTemplate.js +96 -13
- package/dist/generators/plans/templates/planTemplate.js.map +1 -1
- package/dist/generators/shared/generatorUtils.d.ts +1 -1
- package/dist/generators/shared/generatorUtils.d.ts.map +1 -1
- package/dist/generators/shared/generatorUtils.js +1 -1
- package/dist/generators/shared/generatorUtils.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +111 -1007
- package/dist/index.js.map +1 -1
- package/dist/prompts/defaults.d.ts +3 -0
- package/dist/prompts/defaults.d.ts.map +1 -0
- package/dist/prompts/defaults.js +95 -0
- package/dist/prompts/defaults.js.map +1 -0
- package/dist/services/baseLLMClient.d.ts +3 -3
- package/dist/services/baseLLMClient.d.ts.map +1 -1
- package/dist/services/baseLLMClient.js +44 -5
- package/dist/services/baseLLMClient.js.map +1 -1
- package/dist/services/fill/fillService.d.ts +46 -0
- package/dist/services/fill/fillService.d.ts.map +1 -0
- package/dist/services/fill/fillService.js +254 -0
- package/dist/services/fill/fillService.js.map +1 -0
- package/dist/services/init/initService.d.ts +37 -0
- package/dist/services/init/initService.d.ts.map +1 -0
- package/dist/services/init/initService.js +167 -0
- package/dist/services/init/initService.js.map +1 -0
- package/dist/services/llmClientFactory.d.ts +2 -8
- package/dist/services/llmClientFactory.d.ts.map +1 -1
- package/dist/services/llmClientFactory.js +10 -96
- package/dist/services/llmClientFactory.js.map +1 -1
- package/dist/services/openRouterClient.d.ts +0 -3
- package/dist/services/openRouterClient.d.ts.map +1 -1
- package/dist/services/openRouterClient.js +2 -49
- package/dist/services/openRouterClient.js.map +1 -1
- package/dist/services/plan/planService.d.ts +57 -0
- package/dist/services/plan/planService.d.ts.map +1 -0
- package/dist/services/plan/planService.js +334 -0
- package/dist/services/plan/planService.js.map +1 -0
- package/dist/services/shared/llmConfig.d.ts +22 -0
- package/dist/services/shared/llmConfig.d.ts.map +1 -0
- package/dist/services/shared/llmConfig.js +38 -0
- package/dist/services/shared/llmConfig.js.map +1 -0
- package/dist/types.d.ts +7 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/fileMapper.d.ts +1 -1
- package/dist/utils/fileMapper.d.ts.map +1 -1
- package/dist/utils/fileMapper.js +40 -19
- package/dist/utils/fileMapper.js.map +1 -1
- package/dist/utils/i18n.d.ts +23 -33
- package/dist/utils/i18n.d.ts.map +1 -1
- package/dist/utils/i18n.js +48 -68
- package/dist/utils/i18n.js.map +1 -1
- package/dist/utils/promptLoader.d.ts +12 -0
- package/dist/utils/promptLoader.d.ts.map +1 -0
- package/dist/utils/promptLoader.js +81 -0
- package/dist/utils/promptLoader.js.map +1 -0
- package/dist/utils/versionChecker.d.ts +15 -0
- package/dist/utils/versionChecker.d.ts.map +1 -0
- package/dist/utils/versionChecker.js +49 -0
- package/dist/utils/versionChecker.js.map +1 -0
- package/package.json +9 -10
- package/prompts/update_plan_prompt.md +4 -5
- package/prompts/update_scaffold_prompt.md +7 -8
- package/dist/generators/agents/contextUtils.d.ts +0 -8
- package/dist/generators/agents/contextUtils.d.ts.map +0 -1
- package/dist/generators/agents/contextUtils.js +0 -15
- package/dist/generators/agents/contextUtils.js.map +0 -1
- package/dist/generators/agents/promptFormatter.d.ts +0 -9
- package/dist/generators/agents/promptFormatter.d.ts.map +0 -1
- package/dist/generators/agents/promptFormatter.js +0 -84
- package/dist/generators/agents/promptFormatter.js.map +0 -1
- package/dist/generators/analyzers/codebaseAnalyzer.d.ts +0 -45
- package/dist/generators/analyzers/codebaseAnalyzer.d.ts.map +0 -1
- package/dist/generators/analyzers/codebaseAnalyzer.js +0 -293
- package/dist/generators/analyzers/codebaseAnalyzer.js.map +0 -1
- package/dist/generators/analyzers/index.d.ts +0 -3
- package/dist/generators/analyzers/index.d.ts.map +0 -1
- package/dist/generators/analyzers/index.js +0 -6
- package/dist/generators/analyzers/index.js.map +0 -1
- package/dist/generators/documentation/documentationTemplates.d.ts +0 -21
- package/dist/generators/documentation/documentationTemplates.d.ts.map +0 -1
- package/dist/generators/documentation/documentationTemplates.js +0 -359
- package/dist/generators/documentation/documentationTemplates.js.map +0 -1
- package/dist/generators/documentation/documentationTypes.d.ts +0 -11
- package/dist/generators/documentation/documentationTypes.d.ts.map +0 -1
- package/dist/generators/documentation/documentationTypes.js +0 -22
- package/dist/generators/documentation/documentationTypes.js.map +0 -1
- package/dist/generators/documentation/documentationUtils.d.ts +0 -7
- package/dist/generators/documentation/documentationUtils.d.ts.map +0 -1
- package/dist/generators/documentation/documentationUtils.js +0 -28
- package/dist/generators/documentation/documentationUtils.js.map +0 -1
- package/dist/generators/documentation/incrementalDocumentationGenerator.d.ts +0 -33
- package/dist/generators/documentation/incrementalDocumentationGenerator.d.ts.map +0 -1
- package/dist/generators/documentation/incrementalDocumentationGenerator.js +0 -400
- package/dist/generators/documentation/incrementalDocumentationGenerator.js.map +0 -1
- package/dist/generators/documentation/templates.d.ts +0 -31
- package/dist/generators/documentation/templates.d.ts.map +0 -1
- package/dist/generators/documentation/templates.js +0 -566
- package/dist/generators/documentation/templates.js.map +0 -1
- package/dist/generators/guidelines/agentIntegration.d.ts +0 -43
- package/dist/generators/guidelines/agentIntegration.d.ts.map +0 -1
- package/dist/generators/guidelines/agentIntegration.js +0 -157
- package/dist/generators/guidelines/agentIntegration.js.map +0 -1
- package/dist/generators/guidelines/guidelineTypes.d.ts +0 -40
- package/dist/generators/guidelines/guidelineTypes.d.ts.map +0 -1
- package/dist/generators/guidelines/guidelineTypes.js +0 -144
- package/dist/generators/guidelines/guidelineTypes.js.map +0 -1
- package/dist/generators/guidelines/guidelinesAnalyzer.d.ts +0 -30
- package/dist/generators/guidelines/guidelinesAnalyzer.d.ts.map +0 -1
- package/dist/generators/guidelines/guidelinesAnalyzer.js +0 -263
- package/dist/generators/guidelines/guidelinesAnalyzer.js.map +0 -1
- package/dist/generators/guidelines/guidelinesGenerator.d.ts +0 -30
- package/dist/generators/guidelines/guidelinesGenerator.d.ts.map +0 -1
- package/dist/generators/guidelines/guidelinesGenerator.js +0 -249
- package/dist/generators/guidelines/guidelinesGenerator.js.map +0 -1
- package/dist/generators/guidelines/guidelinesTemplates.d.ts +0 -23
- package/dist/generators/guidelines/guidelinesTemplates.d.ts.map +0 -1
- package/dist/generators/guidelines/guidelinesTemplates.js +0 -304
- package/dist/generators/guidelines/guidelinesTemplates.js.map +0 -1
- package/dist/generators/guidelines/index.d.ts +0 -6
- package/dist/generators/guidelines/index.d.ts.map +0 -1
- package/dist/generators/guidelines/index.js +0 -16
- package/dist/generators/guidelines/index.js.map +0 -1
- package/dist/generators/moduleGrouper.d.ts +0 -14
- package/dist/generators/moduleGrouper.d.ts.map +0 -1
- package/dist/generators/moduleGrouper.js +0 -82
- package/dist/generators/moduleGrouper.js.map +0 -1
- package/dist/generators/projectAnalyzer.d.ts +0 -14
- package/dist/generators/projectAnalyzer.d.ts.map +0 -1
- package/dist/generators/projectAnalyzer.js +0 -217
- package/dist/generators/projectAnalyzer.js.map +0 -1
- package/dist/services/changeAnalyzer.d.ts +0 -44
- package/dist/services/changeAnalyzer.d.ts.map +0 -1
- package/dist/services/changeAnalyzer.js +0 -344
- package/dist/services/changeAnalyzer.js.map +0 -1
- package/dist/utils/interactiveMode.d.ts +0 -21
- package/dist/utils/interactiveMode.d.ts.map +0 -1
- package/dist/utils/interactiveMode.js +0 -737
- package/dist/utils/interactiveMode.js.map +0 -1
- package/dist/utils/tokenEstimator.d.ts +0 -28
- package/dist/utils/tokenEstimator.d.ts.map +0 -1
- package/dist/utils/tokenEstimator.js +0 -134
- package/dist/utils/tokenEstimator.js.map +0 -1
|
@@ -1,31 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.renderToolingGuide = renderToolingGuide;
|
|
4
|
-
const frontMatter_1 = require("./frontMatter");
|
|
5
4
|
function renderToolingGuide() {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
goal: 'Help contributors set up local environments, automation, and productivity tooling quickly.',
|
|
9
|
-
requiredInputs: [
|
|
10
|
-
'Project-specific CLI commands or scripts',
|
|
11
|
-
'Preferred IDE/editor configurations',
|
|
12
|
-
'Automation hooks (pre-commit, CI helpers, generators)'
|
|
13
|
-
],
|
|
14
|
-
successCriteria: [
|
|
15
|
-
'Includes copy/paste-ready commands for installation and diagnostics',
|
|
16
|
-
'Highlights required extensions or plugins',
|
|
17
|
-
'Links to automation or productivity aids maintained by the team'
|
|
18
|
-
],
|
|
19
|
-
relatedAgents: ['feature-developer', 'documentation-writer']
|
|
20
|
-
});
|
|
21
|
-
return `${frontMatter}
|
|
22
|
-
<!-- ai-task:tooling -->
|
|
5
|
+
return `
|
|
6
|
+
<!-- agent-update:start:tooling -->
|
|
23
7
|
# Tooling & Productivity Guide
|
|
24
8
|
|
|
25
9
|
Collect the scripts, automation, and editor settings that keep contributors efficient.
|
|
26
10
|
|
|
27
11
|
## Required Tooling
|
|
28
|
-
- <!--
|
|
12
|
+
- <!-- agent-fill:tool-required -->Tool name — How to install, version requirements, what it powers.<!-- /agent-fill -->
|
|
29
13
|
|
|
30
14
|
## Recommended Automation
|
|
31
15
|
- Pre-commit hooks, linting/formatting commands, code generators, or scaffolding scripts.
|
|
@@ -39,18 +23,20 @@ Collect the scripts, automation, and editor settings that keep contributors effi
|
|
|
39
23
|
- Terminal aliases, container workflows, or local emulators mirroring production.
|
|
40
24
|
- Links to shared scripts or dotfiles used across the team.
|
|
41
25
|
|
|
26
|
+
<!-- agent-readonly:guidance -->
|
|
42
27
|
## AI Update Checklist
|
|
43
28
|
1. Verify commands align with the latest scripts and build tooling.
|
|
44
29
|
2. Remove instructions for deprecated tools and add replacements.
|
|
45
30
|
3. Highlight automation that saves time during reviews or releases.
|
|
46
31
|
4. Cross-link to runbooks or README sections that provide deeper context.
|
|
47
32
|
|
|
33
|
+
<!-- agent-readonly:sources -->
|
|
48
34
|
## Acceptable Sources
|
|
49
35
|
- Onboarding docs, internal wikis, and team retrospectives.
|
|
50
36
|
- Script directories, package manifests, CI configuration.
|
|
51
37
|
- Maintainer recommendations gathered during pairing or code reviews.
|
|
52
38
|
|
|
53
|
-
<!--
|
|
39
|
+
<!-- agent-update:end -->
|
|
54
40
|
`;
|
|
55
41
|
}
|
|
56
42
|
//# sourceMappingURL=toolingTemplate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolingTemplate.js","sourceRoot":"","sources":["../../../../src/generators/documentation/templates/toolingTemplate.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"toolingTemplate.js","sourceRoot":"","sources":["../../../../src/generators/documentation/templates/toolingTemplate.ts"],"names":[],"mappings":";;AACA,gDAsCC;AAtCD,SAAgB,kBAAkB;IAEhC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCR,CAAC;AACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"troubleshootingTemplate.d.ts","sourceRoot":"","sources":["../../../../src/generators/documentation/templates/troubleshootingTemplate.ts"],"names":[],"mappings":"AACA,wBAAgB,qBAAqB,IAAI,MAAM,CAgS9C"}
|
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.renderTroubleshooting = renderTroubleshooting;
|
|
4
|
+
function renderTroubleshooting() {
|
|
5
|
+
return `
|
|
6
|
+
<!-- agent-update:start:troubleshooting-guide -->
|
|
7
|
+
# Troubleshooting Guide
|
|
8
|
+
|
|
9
|
+
**Purpose:** Enable AI agents to diagnose and resolve issues using automated diagnostics and decision trees.
|
|
10
|
+
|
|
11
|
+
**Agent Protocol:**
|
|
12
|
+
1. Run diagnostic script to gather facts
|
|
13
|
+
2. Match symptoms to known patterns
|
|
14
|
+
3. Execute resolution if confidence high (>80%)
|
|
15
|
+
4. Escalate to human if uncertain or high-risk
|
|
16
|
+
5. Log all diagnostic steps and resolution attempts
|
|
17
|
+
|
|
18
|
+
## Agent Diagnostic Script
|
|
19
|
+
|
|
20
|
+
**Agent First Action:** Always run this diagnostic script to gather system state.
|
|
21
|
+
|
|
22
|
+
\`\`\`bash
|
|
23
|
+
#!/bin/bash
|
|
24
|
+
# Save as: scripts/diagnose.sh
|
|
25
|
+
# Agent runs this for ANY issue before attempting fixes
|
|
26
|
+
|
|
27
|
+
echo "=== System Diagnostics $(date) ==="
|
|
28
|
+
|
|
29
|
+
# 1. Application Status
|
|
30
|
+
echo -e "\\n[Application Status]"
|
|
31
|
+
curl -sf http://localhost:3000/health && echo "✓ App responding" || echo "✗ App not responding"
|
|
32
|
+
|
|
33
|
+
# 2. Recent Errors
|
|
34
|
+
echo -e "\\n[Recent Errors - Last 50 lines]"
|
|
35
|
+
tail -50 logs/error.log 2>/dev/null || echo "No error log found"
|
|
36
|
+
|
|
37
|
+
# 3. System Resources
|
|
38
|
+
echo -e "\\n[System Resources]"
|
|
39
|
+
echo "CPU: $(top -bn1 | grep "Cpu(s)" | awk '{print $2}')%"
|
|
40
|
+
echo "Memory: $(free -h | awk '/^Mem:/ {print $3 "/" $2}')"
|
|
41
|
+
echo "Disk: $(df -h / | awk 'NR==2 {print $5 " used"}')"
|
|
42
|
+
|
|
43
|
+
# 4. Critical Services
|
|
44
|
+
echo -e "\\n[Critical Services]"
|
|
45
|
+
nc -z localhost 5432 && echo "✓ Database reachable" || echo "✗ Database unreachable"
|
|
46
|
+
nc -z localhost 6379 && echo "✓ Redis reachable" || echo "✗ Redis unreachable"
|
|
47
|
+
|
|
48
|
+
# 5. Recent Git Changes
|
|
49
|
+
echo -e "\\n[Recent Changes]"
|
|
50
|
+
git log --oneline -5
|
|
51
|
+
|
|
52
|
+
# 6. Running Processes
|
|
53
|
+
echo -e "\\n[Node Processes]"
|
|
54
|
+
ps aux | grep -i node | grep -v grep
|
|
55
|
+
|
|
56
|
+
echo -e "\\n=== Diagnostics Complete ==="
|
|
57
|
+
\`\`\`
|
|
58
|
+
|
|
59
|
+
**Agent Usage:**
|
|
60
|
+
\`\`\`bash
|
|
61
|
+
chmod +x scripts/diagnose.sh
|
|
62
|
+
./scripts/diagnose.sh > diagnostics-$(date +%Y%m%d-%H%M%S).txt
|
|
63
|
+
# Agent parses output to determine issue category
|
|
64
|
+
\`\`\`
|
|
65
|
+
|
|
66
|
+
## Agent Decision Tree
|
|
67
|
+
|
|
68
|
+
**Agent follows this tree based on diagnostic output:**
|
|
69
|
+
|
|
70
|
+
\`\`\`
|
|
71
|
+
App not responding?
|
|
72
|
+
├─ YES → Check "Application Won't Start" section
|
|
73
|
+
└─ NO → Continue
|
|
74
|
+
|
|
75
|
+
Database unreachable?
|
|
76
|
+
├─ YES → Check "Database Issues" section
|
|
77
|
+
└─ NO → Continue
|
|
78
|
+
|
|
79
|
+
Error log has entries?
|
|
80
|
+
├─ YES → Parse errors, match to "Common Issues" patterns
|
|
81
|
+
└─ NO → Check "Performance Issues" section
|
|
82
|
+
|
|
83
|
+
CPU > 80% OR Memory > 90%?
|
|
84
|
+
├─ YES → Check "Performance/Memory Issues" section
|
|
85
|
+
└─ NO → Escalate (unusual state, no clear pattern)
|
|
86
|
+
\`\`\`
|
|
87
|
+
|
|
88
|
+
**Agent Pattern Matching:**
|
|
89
|
+
\`\`\`bash
|
|
90
|
+
# Agent extracts last error from log
|
|
91
|
+
LAST_ERROR=$(tail -1 logs/error.log)
|
|
92
|
+
|
|
93
|
+
# Agent matches against known patterns
|
|
94
|
+
if echo "$LAST_ERROR" | grep -q "ECONNREFUSED"; then
|
|
95
|
+
# Database connection issue
|
|
96
|
+
ISSUE_TYPE="database_connection"
|
|
97
|
+
CONFIDENCE="high"
|
|
98
|
+
elif echo "$LAST_ERROR" | grep -q "EADDRINUSE"; then
|
|
99
|
+
# Port conflict
|
|
100
|
+
ISSUE_TYPE="port_in_use"
|
|
101
|
+
CONFIDENCE="high"
|
|
102
|
+
elif echo "$LAST_ERROR" | grep -q "Cannot find module"; then
|
|
103
|
+
# Missing dependency
|
|
104
|
+
ISSUE_TYPE="missing_dependency"
|
|
105
|
+
CONFIDENCE="high"
|
|
106
|
+
else
|
|
107
|
+
# Unknown pattern
|
|
108
|
+
ISSUE_TYPE="unknown"
|
|
109
|
+
CONFIDENCE="low"
|
|
110
|
+
fi
|
|
111
|
+
|
|
112
|
+
# Agent decides action based on confidence
|
|
113
|
+
if [ "$CONFIDENCE" == "high" ]; then
|
|
114
|
+
echo "Agent attempting auto-resolution for $ISSUE_TYPE"
|
|
115
|
+
# Execute fix from "Common Issues" section
|
|
116
|
+
else
|
|
117
|
+
echo "Agent escalating: unknown error pattern"
|
|
118
|
+
# Create issue with diagnostic output
|
|
119
|
+
fi
|
|
120
|
+
\`\`\`
|
|
121
|
+
|
|
122
|
+
## Common Issues & Solutions
|
|
123
|
+
|
|
124
|
+
### Application Won't Start
|
|
125
|
+
|
|
126
|
+
**Agent Auto-Resolution: YES (safe to attempt)**
|
|
127
|
+
|
|
128
|
+
#### Error Pattern: "EADDRINUSE"
|
|
129
|
+
**Agent Detection:** Log contains "EADDRINUSE" or "port already in use"
|
|
130
|
+
|
|
131
|
+
**Agent Resolution:**
|
|
132
|
+
\`\`\`bash
|
|
133
|
+
# Agent automatically kills process and restarts
|
|
134
|
+
PORT=\${PORT:-3000}
|
|
135
|
+
PID=$(lsof -ti:\$PORT)
|
|
136
|
+
if [ -n "\$PID" ]; then
|
|
137
|
+
echo "Killing process \$PID on port \$PORT"
|
|
138
|
+
kill -9 \$PID
|
|
139
|
+
sleep 2
|
|
140
|
+
fi
|
|
141
|
+
npm start
|
|
142
|
+
# Agent verifies: curl -f http://localhost:\$PORT/health
|
|
143
|
+
\`\`\`
|
|
144
|
+
|
|
145
|
+
#### Error Pattern: "Cannot find module"
|
|
146
|
+
**Agent Detection:** Log contains "Cannot find module" or "MODULE_NOT_FOUND"
|
|
147
|
+
|
|
148
|
+
**Agent Resolution:**
|
|
149
|
+
\`\`\`bash
|
|
150
|
+
# Agent reinstalls dependencies
|
|
151
|
+
rm -rf node_modules package-lock.json
|
|
152
|
+
npm install
|
|
153
|
+
npm start
|
|
154
|
+
# Agent logs: "Resolved missing module issue by reinstalling dependencies"
|
|
155
|
+
\`\`\`
|
|
156
|
+
|
|
157
|
+
#### Error Pattern: "Missing environment variable"
|
|
158
|
+
**Agent Detection:** Log contains "undefined" for env var or "Missing required environment variable"
|
|
159
|
+
|
|
160
|
+
**Agent Resolution:**
|
|
161
|
+
\`\`\`bash
|
|
162
|
+
# Agent checks .env.example for required vars
|
|
163
|
+
REQUIRED_VARS=$(grep -v "^#" .env.example | cut -d= -f1)
|
|
164
|
+
for VAR in \$REQUIRED_VARS; do
|
|
165
|
+
if [ -z "\${!VAR}" ]; then
|
|
166
|
+
echo "ERROR: Missing required environment variable: \$VAR"
|
|
167
|
+
echo "Agent cannot auto-resolve. Escalating to human."
|
|
168
|
+
exit 1
|
|
169
|
+
fi
|
|
170
|
+
done
|
|
171
|
+
\`\`\`
|
|
172
|
+
**Agent Action:** ESCALATE (requires human to set values)
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
### Performance Issues
|
|
177
|
+
|
|
178
|
+
**Agent Auto-Resolution: CONDITIONAL (depends on cause)**
|
|
179
|
+
|
|
180
|
+
#### Error Pattern: High CPU Usage
|
|
181
|
+
**Agent Detection:** CPU >80% sustained for >5 minutes
|
|
182
|
+
|
|
183
|
+
**Agent Diagnostic:**
|
|
184
|
+
\`\`\`bash
|
|
185
|
+
# Agent identifies high CPU process
|
|
186
|
+
top -bn1 | head -20
|
|
187
|
+
ps aux --sort=-%cpu | head -10
|
|
188
|
+
|
|
189
|
+
# Agent checks if it's the application
|
|
190
|
+
APP_PID=$(ps aux | grep "node.*index.js" | grep -v grep | awk '{print \$2}')
|
|
191
|
+
APP_CPU=$(ps aux | grep \$APP_PID | awk '{print \$3}')
|
|
192
|
+
|
|
193
|
+
if (( \$(echo "\$APP_CPU > 80" | bc -l) )); then
|
|
194
|
+
echo "Application consuming high CPU: \${APP_CPU}%"
|
|
195
|
+
echo "Agent Action: Restart application"
|
|
196
|
+
pm2 restart app || npm run restart
|
|
197
|
+
else
|
|
198
|
+
echo "External process consuming CPU - Agent escalating to human"
|
|
199
|
+
fi
|
|
200
|
+
\`\`\`
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
### Database Issues
|
|
205
|
+
|
|
206
|
+
**Agent Auto-Resolution: CONDITIONAL**
|
|
207
|
+
|
|
208
|
+
#### Error Pattern: "ECONNREFUSED" (Database)
|
|
209
|
+
**Agent Detection:** Log contains "ECONNREFUSED" with database port (5432, 3306, 27017)
|
|
210
|
+
|
|
211
|
+
**Agent Diagnostic:**
|
|
212
|
+
\`\`\`bash
|
|
213
|
+
# Check if database is running
|
|
214
|
+
nc -z localhost 5432 && echo "DB reachable" || echo "DB not reachable"
|
|
215
|
+
|
|
216
|
+
# If not reachable, attempt to start
|
|
217
|
+
if ! nc -z localhost 5432; then
|
|
218
|
+
echo "Agent attempting to start database..."
|
|
219
|
+
docker-compose up -d db || sudo systemctl start postgresql
|
|
220
|
+
sleep 5
|
|
221
|
+
nc -z localhost 5432 && echo "✓ Database started" || echo "✗ Failed to start - escalating"
|
|
222
|
+
fi
|
|
223
|
+
\`\`\`
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## Escalation Criteria
|
|
228
|
+
|
|
229
|
+
**Agent must escalate immediately when:**
|
|
230
|
+
- Unknown error pattern (confidence <50%)
|
|
231
|
+
- Data corruption risk (database migration failures, validation errors)
|
|
232
|
+
- Security issue detected (exposed credentials, unauthorized access)
|
|
233
|
+
- Multiple resolution attempts failed (tried 2+ fixes, issue persists)
|
|
234
|
+
- Human approval required (destructive operations, production changes)
|
|
235
|
+
|
|
236
|
+
**Escalation format:**
|
|
237
|
+
\`\`\`bash
|
|
238
|
+
# Agent creates structured escalation
|
|
239
|
+
cat > escalation-\$(date +%Y%m%d-%H%M%S).txt <<EOF
|
|
240
|
+
ESCALATION REQUIRED
|
|
241
|
+
|
|
242
|
+
Issue: [Brief description]
|
|
243
|
+
Confidence: [low/medium]
|
|
244
|
+
Risk Level: [low/medium/high]
|
|
245
|
+
|
|
246
|
+
Symptoms:
|
|
247
|
+
- [List observed symptoms]
|
|
248
|
+
|
|
249
|
+
Diagnostics Run:
|
|
250
|
+
- [Commands executed]
|
|
251
|
+
- [Output summary]
|
|
252
|
+
|
|
253
|
+
Resolution Attempts:
|
|
254
|
+
- [What agent tried]
|
|
255
|
+
- [Results]
|
|
256
|
+
|
|
257
|
+
Recommendation:
|
|
258
|
+
- [Suggested next steps for human]
|
|
259
|
+
|
|
260
|
+
Diagnostic Files:
|
|
261
|
+
- diagnostics-*.txt
|
|
262
|
+
- logs/error.log (last 100 lines attached below)
|
|
263
|
+
|
|
264
|
+
---
|
|
265
|
+
\$(tail -100 logs/error.log)
|
|
266
|
+
EOF
|
|
267
|
+
|
|
268
|
+
echo "Escalation created. Agent awaiting human intervention."
|
|
269
|
+
\`\`\`
|
|
270
|
+
|
|
271
|
+
<!-- agent-readonly:guidance -->
|
|
272
|
+
## AI Update Checklist
|
|
273
|
+
1. Review recent incident reports and add new common issues
|
|
274
|
+
2. Update diagnostic commands to match current tooling
|
|
275
|
+
3. Verify contact information and escalation paths are current
|
|
276
|
+
4. Add workarounds for newly discovered issues
|
|
277
|
+
5. Update log locations and monitoring tool links
|
|
278
|
+
6. Validate that debugging workflows match current setup
|
|
279
|
+
7. Add new error patterns from support tickets
|
|
280
|
+
|
|
281
|
+
<!-- agent-readonly:sources -->
|
|
282
|
+
## Acceptable Sources
|
|
283
|
+
- Post-mortem and incident reports
|
|
284
|
+
- Support ticket patterns and resolutions
|
|
285
|
+
- Production logs and error tracking systems
|
|
286
|
+
- Team knowledge base and runbooks
|
|
287
|
+
- Infrastructure and monitoring configurations
|
|
288
|
+
|
|
289
|
+
<!-- agent-update:end -->
|
|
290
|
+
`;
|
|
291
|
+
}
|
|
292
|
+
//# sourceMappingURL=troubleshootingTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"troubleshootingTemplate.js","sourceRoot":"","sources":["../../../../src/generators/documentation/templates/troubleshootingTemplate.ts"],"names":[],"mappings":";;AACA,sDAgSC;AAhSD,SAAgB,qBAAqB;IAEnC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6RR,CAAC;AACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexTemplate.d.ts","sourceRoot":"","sources":["../../../../src/generators/plans/templates/indexTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,wBAAgB,eAAe,CAAC,OAAO,EAAE,cAAc,EAAE,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"indexTemplate.d.ts","sourceRoot":"","sources":["../../../../src/generators/plans/templates/indexTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,wBAAgB,eAAe,CAAC,OAAO,EAAE,cAAc,EAAE,GAAG,MAAM,CAiCjE"}
|
|
@@ -13,7 +13,7 @@ This directory is the run queue for AI agents and maintainers coordinating work
|
|
|
13
13
|
|
|
14
14
|
## Agent Execution Protocol
|
|
15
15
|
1. **Read the queue** from top to bottom. The numbering reflects execution priority.
|
|
16
|
-
2. **Open the plan file** (e.g., './plans/<slug>.md') and review the YAML front matter and the '<!--
|
|
16
|
+
2. **Open the plan file** (e.g., './plans/<slug>.md') and review the YAML front matter and the '<!-- agent-update:start:plan-... -->' wrapper so you understand the goal, required inputs, and success criteria.
|
|
17
17
|
3. **Gather context** by visiting the linked documentation and agent playbooks referenced in the "Agent Lineup" and "Documentation Touchpoints" tables.
|
|
18
18
|
4. **Execute the stages** exactly as written, capturing evidence and updating linked docs as instructed. If a stage cannot be completed, record the reason inside the plan before pausing.
|
|
19
19
|
5. **Close out the plan** by updating any TODOs, recording outcomes in the "Evidence & Follow-up" section, and notifying maintainers if human review is required.
|
|
@@ -30,7 +30,8 @@ ${planList}
|
|
|
30
30
|
## Related Resources
|
|
31
31
|
- [Agent Handbook](../agents/README.md)
|
|
32
32
|
- [Documentation Index](../docs/README.md)
|
|
33
|
-
- [
|
|
33
|
+
- [Agent Knowledge Base](../../AGENTS.md)
|
|
34
|
+
- [Contributor Guidelines](../../CONTRIBUTING.md)
|
|
34
35
|
`;
|
|
35
36
|
}
|
|
36
37
|
//# sourceMappingURL=indexTemplate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexTemplate.js","sourceRoot":"","sources":["../../../../src/generators/plans/templates/indexTemplate.ts"],"names":[],"mappings":";;AAEA,
|
|
1
|
+
{"version":3,"file":"indexTemplate.js","sourceRoot":"","sources":["../../../../src/generators/plans/templates/indexTemplate.ts"],"names":[],"mappings":";;AAEA,0CAiCC;AAjCD,SAAgB,eAAe,CAAC,OAAyB;IACvD,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAM;QAC7B,CAAC,CAAC,OAAO;aACJ,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,KAAK,GAAG,CAAC,MAAM,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC,IAAI,MAAM,CAAC;aAC3E,IAAI,CAAC,IAAI,CAAC;QACf,CAAC,CAAC,+EAA+E,CAAC;IAEpF,OAAO;;;;;;;;;;;;;EAaP,QAAQ;;;;;;;;;;;;CAYT,CAAC;AACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planTemplate.d.ts","sourceRoot":"","sources":["../../../../src/generators/plans/templates/planTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"planTemplate.d.ts","sourceRoot":"","sources":["../../../../src/generators/plans/templates/planTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,CAqKvE"}
|
|
@@ -15,7 +15,7 @@ function renderPlanTemplate(context) {
|
|
|
15
15
|
? docs
|
|
16
16
|
.map(doc => `| ${doc.title} | [${doc.file}](../docs/${doc.file}) | ${doc.marker} | ${doc.primaryInputs} |`)
|
|
17
17
|
.join('\n')
|
|
18
|
-
: '| Documentation Index | [README.md](../docs/README.md) |
|
|
18
|
+
: '| Documentation Index | [README.md](../docs/README.md) | agent-update:docs-index | Current docs directory listing |';
|
|
19
19
|
return `---
|
|
20
20
|
id: plan-${slug}
|
|
21
21
|
ai_update_goal: "Define the stages, owners, and evidence required to complete ${title}."
|
|
@@ -31,7 +31,7 @@ related_agents:
|
|
|
31
31
|
${relatedAgents}
|
|
32
32
|
---
|
|
33
33
|
|
|
34
|
-
<!--
|
|
34
|
+
<!-- agent-update:start:plan-${slug} -->
|
|
35
35
|
# ${title} Plan
|
|
36
36
|
|
|
37
37
|
> ${summary?.trim() || 'TODO: Summarize the desired outcome and the problem this plan addresses.'}
|
|
@@ -54,19 +54,102 @@ ${agentTableRows}
|
|
|
54
54
|
| --- | --- | --- | --- |
|
|
55
55
|
${docsTableRows}
|
|
56
56
|
|
|
57
|
-
##
|
|
58
|
-
|
|
59
|
-
- TODO: Outline discovery tasks and the agent/owner who leads them.
|
|
60
|
-
- TODO: Capture open questions that require clarification.
|
|
57
|
+
## Risk Assessment
|
|
58
|
+
Identify potential blockers, dependencies, and mitigation strategies before beginning work.
|
|
61
59
|
|
|
62
|
-
###
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
### Identified Risks
|
|
61
|
+
| Risk | Probability | Impact | Mitigation Strategy | Owner |
|
|
62
|
+
| --- | --- | --- | --- | --- |
|
|
63
|
+
| TODO: Dependency on external team | Medium | High | Early coordination meeting, clear requirements | TODO: Name |
|
|
64
|
+
| TODO: Insufficient test coverage | Low | Medium | Allocate time for test writing in Phase 2 | TODO: Name |
|
|
65
65
|
|
|
66
|
-
###
|
|
67
|
-
- TODO:
|
|
68
|
-
- TODO:
|
|
66
|
+
### Dependencies
|
|
67
|
+
- **Internal:** TODO: List dependencies on other teams, services, or infrastructure
|
|
68
|
+
- **External:** TODO: List dependencies on third-party services, vendors, or partners
|
|
69
|
+
- **Technical:** TODO: List technical prerequisites or required upgrades
|
|
69
70
|
|
|
71
|
+
### Assumptions
|
|
72
|
+
- TODO: Document key assumptions being made (e.g., "Assume current API schema remains stable")
|
|
73
|
+
- TODO: Note what happens if assumptions prove false
|
|
74
|
+
|
|
75
|
+
## Resource Estimation
|
|
76
|
+
|
|
77
|
+
### Time Allocation
|
|
78
|
+
| Phase | Estimated Effort | Calendar Time | Team Size |
|
|
79
|
+
| --- | --- | --- | --- |
|
|
80
|
+
| Phase 1 - Discovery | TODO: e.g., 2 person-days | 3-5 days | 1-2 people |
|
|
81
|
+
| Phase 2 - Implementation | TODO: e.g., 5 person-days | 1-2 weeks | 2-3 people |
|
|
82
|
+
| Phase 3 - Validation | TODO: e.g., 2 person-days | 3-5 days | 1-2 people |
|
|
83
|
+
| **Total** | **TODO: total** | **TODO: total** | **-** |
|
|
84
|
+
|
|
85
|
+
### Required Skills
|
|
86
|
+
- TODO: List required expertise (e.g., "React experience", "Database optimization", "Infrastructure knowledge")
|
|
87
|
+
- TODO: Identify skill gaps and training needs
|
|
88
|
+
|
|
89
|
+
### Resource Availability
|
|
90
|
+
- **Available:** TODO: List team members and their availability
|
|
91
|
+
- **Blocked:** TODO: Note any team members with conflicting priorities
|
|
92
|
+
- **Escalation:** TODO: Name of person to contact if resources are insufficient
|
|
93
|
+
|
|
94
|
+
## Working Phases
|
|
95
|
+
### Phase 1 — Discovery & Alignment
|
|
96
|
+
**Steps**
|
|
97
|
+
1. TODO: Outline discovery tasks and assign the accountable owner.
|
|
98
|
+
2. TODO: Capture open questions that require clarification.
|
|
99
|
+
|
|
100
|
+
**Commit Checkpoint**
|
|
101
|
+
- After completing this phase, capture the agreed context and create a commit (for example, \`git commit -m "chore(plan): complete phase 1 discovery"\`).
|
|
102
|
+
|
|
103
|
+
### Phase 2 — Implementation & Iteration
|
|
104
|
+
**Steps**
|
|
105
|
+
1. TODO: Note build tasks, pairing expectations, and review cadence.
|
|
106
|
+
2. TODO: Reference docs or playbooks to keep changes aligned.
|
|
107
|
+
|
|
108
|
+
**Commit Checkpoint**
|
|
109
|
+
- Summarize progress, update cross-links, and create a commit documenting the outcomes of this phase (for example, \`git commit -m "chore(plan): complete phase 2 implementation"\`).
|
|
110
|
+
|
|
111
|
+
### Phase 3 — Validation & Handoff
|
|
112
|
+
**Steps**
|
|
113
|
+
1. TODO: Detail testing, verification, and documentation updates.
|
|
114
|
+
2. TODO: Document evidence the team must capture for maintainers.
|
|
115
|
+
|
|
116
|
+
**Commit Checkpoint**
|
|
117
|
+
- Record the validation evidence and create a commit signalling the handoff completion (for example, \`git commit -m "chore(plan): complete phase 3 validation"\`).
|
|
118
|
+
|
|
119
|
+
## Rollback Plan
|
|
120
|
+
Document how to revert changes if issues arise during or after implementation.
|
|
121
|
+
|
|
122
|
+
### Rollback Triggers
|
|
123
|
+
When to initiate rollback:
|
|
124
|
+
- Critical bugs affecting core functionality
|
|
125
|
+
- Performance degradation beyond acceptable thresholds
|
|
126
|
+
- Data integrity issues detected
|
|
127
|
+
- Security vulnerabilities introduced
|
|
128
|
+
- User-facing errors exceeding alert thresholds
|
|
129
|
+
|
|
130
|
+
### Rollback Procedures
|
|
131
|
+
#### Phase 1 Rollback
|
|
132
|
+
- Action: Discard discovery branch, restore previous documentation state
|
|
133
|
+
- Data Impact: None (no production changes)
|
|
134
|
+
- Estimated Time: < 1 hour
|
|
135
|
+
|
|
136
|
+
#### Phase 2 Rollback
|
|
137
|
+
- Action: TODO: Revert commits, restore database to pre-migration snapshot
|
|
138
|
+
- Data Impact: TODO: Describe any data loss or consistency concerns
|
|
139
|
+
- Estimated Time: TODO: e.g., 2-4 hours
|
|
140
|
+
|
|
141
|
+
#### Phase 3 Rollback
|
|
142
|
+
- Action: TODO: Full deployment rollback, restore previous version
|
|
143
|
+
- Data Impact: TODO: Document data synchronization requirements
|
|
144
|
+
- Estimated Time: TODO: e.g., 1-2 hours
|
|
145
|
+
|
|
146
|
+
### Post-Rollback Actions
|
|
147
|
+
1. Document reason for rollback in incident report
|
|
148
|
+
2. Notify stakeholders of rollback and impact
|
|
149
|
+
3. Schedule post-mortem to analyze failure
|
|
150
|
+
4. Update plan with lessons learned before retry
|
|
151
|
+
|
|
152
|
+
<!-- agent-readonly:guidance -->
|
|
70
153
|
## Agent Playbook Checklist
|
|
71
154
|
1. Pick the agent that matches your task.
|
|
72
155
|
2. Enrich the template with project-specific context or links.
|
|
@@ -77,7 +160,7 @@ ${docsTableRows}
|
|
|
77
160
|
- TODO: List artifacts to collect (logs, PR links, test runs, design notes).
|
|
78
161
|
- TODO: Record follow-up actions or owners.
|
|
79
162
|
|
|
80
|
-
<!--
|
|
163
|
+
<!-- agent-update:end -->
|
|
81
164
|
`;
|
|
82
165
|
}
|
|
83
166
|
//# sourceMappingURL=planTemplate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planTemplate.js","sourceRoot":"","sources":["../../../../src/generators/plans/templates/planTemplate.ts"],"names":[],"mappings":";;AAEA,
|
|
1
|
+
{"version":3,"file":"planTemplate.js","sourceRoot":"","sources":["../../../../src/generators/plans/templates/planTemplate.ts"],"names":[],"mappings":";;AAEA,gDAqKC;AArKD,SAAgB,kBAAkB,CAAC,OAA4B;IAC7D,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC;IAEvD,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM;QACjC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,QAAQ,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QACvD,CAAC,CAAC,4BAA4B,CAAC;IAEjC,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM;QAClC,CAAC,CAAC,MAAM;aACH,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,KAAK,CAAC,KAAK,oDAAoD,KAAK,CAAC,KAAK,eAAe,KAAK,CAAC,IAAI,UAAU,KAAK,CAAC,cAAc,IAAI,CAAC;aACxJ,IAAI,CAAC,IAAI,CAAC;QACf,CAAC,CAAC,+KAA+K,CAAC;IAEpL,MAAM,aAAa,GAAG,IAAI,CAAC,MAAM;QAC/B,CAAC,CAAC,IAAI;aACD,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,KAAK,GAAG,CAAC,KAAK,OAAO,GAAG,CAAC,IAAI,aAAa,GAAG,CAAC,IAAI,OAAO,GAAG,CAAC,MAAM,MAAM,GAAG,CAAC,aAAa,IAAI,CAAC;aAC1G,IAAI,CAAC,IAAI,CAAC;QACf,CAAC,CAAC,qHAAqH,CAAC;IAE1H,OAAO;WACE,IAAI;gFACiE,KAAK;;;;;;;;;;EAUnF,aAAa;;;+BAGgB,IAAI;IAC/B,KAAK;;IAEL,OAAO,EAAE,IAAI,EAAE,IAAI,0EAA0E;;;;;;;;;;;;;EAa/F,cAAc;;;;;EAKd,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6Gd,CAAC;AACF,CAAC"}
|
|
@@ -11,6 +11,6 @@ export declare class GeneratorUtils {
|
|
|
11
11
|
static getFileTypeDistribution(repoStructure: RepoStructure): Map<string, number>;
|
|
12
12
|
static getTopFileExtensions(repoStructure: RepoStructure, limit?: number): Array<[string, number]>;
|
|
13
13
|
static createTimestamp(): string;
|
|
14
|
-
static createGeneratedByFooter(
|
|
14
|
+
static createGeneratedByFooter(additionalInfo?: string): string;
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=generatorUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatorUtils.d.ts","sourceRoot":"","sources":["../../../src/generators/shared/generatorUtils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,qBAAa,cAAc;IACzB,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAQzC,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAOpC,MAAM,CAAC,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAO7C,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;WAM3B,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;WAOxF,oBAAoB,CAC/B,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,OAAO,EAChB,cAAc,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,IAAI,CAAC;IAchB,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;IAMpE,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;IAM3D,MAAM,CAAC,uBAAuB,CAAC,aAAa,EAAE,aAAa,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC;IASjF,MAAM,CAAC,oBAAoB,CAAC,aAAa,EAAE,aAAa,EAAE,KAAK,GAAE,MAAU,GAAG,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAOrG,MAAM,CAAC,eAAe,IAAI,MAAM;IAIhC,MAAM,CAAC,uBAAuB,CAAC,
|
|
1
|
+
{"version":3,"file":"generatorUtils.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Timestamp() {
|
|
108
108
|
return new Date().toISOString();
|
|
109
109
|
}
|
|
110
|
-
static createGeneratedByFooter(
|
|
110
|
+
static createGeneratedByFooter(additionalInfo) {
|
|
111
111
|
return `---
|
|
112
112
|
*Generated by AI Coders Context*
|
|
113
113
|
${additionalInfo ? `*${additionalInfo}*` : ''}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatorUtils.js","sourceRoot":"","sources":["../../../src/generators/shared/generatorUtils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,2CAA6B;AAC7B,kDAA0B;AAG1B,MAAa,cAAc;IACzB,MAAM,CAAC,WAAW,CAAC,KAAa;QAC9B,IAAI,KAAK,KAAK,CAAC;YAAE,OAAO,SAAS,CAAC;QAClC,MAAM,CAAC,GAAG,IAAI,CAAC;QACf,MAAM,KAAK,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1C,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QACpD,OAAO,UAAU,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAC1E,CAAC;IAED,MAAM,CAAC,OAAO,CAAC,IAAY;QACzB,OAAO,IAAI;aACR,WAAW,EAAE;aACb,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC;aACpB,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,gBAAgB,CAAC,IAAY;QAClC,OAAO,IAAI;aACR,KAAK,CAAC,MAAM,CAAC;aACb,GA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AET,cAAc,CAAC,CAAC,CAAC,IAAI,cAAc,GAAG,CAAC,CAAC,CAAC,EAAE;iBAC5B,IAAI,CAAC,eAAe,EAAE;CACtC,CAAC;IACA,CAAC;CACF;AA9FD,wCA8FC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
declare function runInit(repoPath: string, type: string, rawOptions: any): Promise<void>;
|
|
2
|
+
export declare function runInit(repoPath: string, type: string, rawOptions: any): Promise<void>;
|
|
3
3
|
export declare function runGenerate(repoPath: string, options: any): Promise<void>;
|
|
4
4
|
export declare function runAnalyze(..._args: unknown[]): Promise<void>;
|
|
5
5
|
export declare function runUpdate(..._args: unknown[]): Promise<void>;
|
|
6
6
|
export declare function runPreview(..._args: unknown[]): Promise<void>;
|
|
7
7
|
export declare function runGuidelines(..._args: unknown[]): Promise<void>;
|
|
8
|
-
export
|
|
8
|
+
export declare function runLlmFill(repoPath: string, rawOptions: any): Promise<void>;
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AA4LA,wBAAsB,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAE5F;AAED,wBAAsB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAW/E;AAED,wBAAsB,UAAU,CAAC,GAAG,KAAK,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAEnE;AAED,wBAAsB,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAElE;AAED,wBAAsB,UAAU,CAAC,GAAG,KAAK,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAEnE;AAED,wBAAsB,aAAa,CAAC,GAAG,KAAK,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAEtE;AAED,wBAAsB,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAEjF"}
|