@ggailabs/cli-context 0.5.6 → 1.0.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.

Potentially problematic release.


This version of @ggailabs/cli-context might be problematic. Click here for more details.

Files changed (282) hide show
  1. package/dist/.context/docs/GENESIS_SYSTEM_PROMPT.md +62 -0
  2. package/dist/.context/eng/agents/architect.md +15 -0
  3. package/dist/.context/eng/agents/backend_typescript.md +1000 -0
  4. package/dist/.context/eng/agents/bug_hunter.md +49 -0
  5. package/dist/.context/eng/agents/code_reviewer.md +313 -0
  6. package/dist/.context/eng/agents/devops_specialist.md +718 -0
  7. package/dist/.context/eng/agents/frontend_specialist.md +1027 -0
  8. package/dist/.context/eng/agents/qa_specialist.md +1234 -0
  9. package/dist/.context/eng/agents/security_reviewer.md +382 -0
  10. package/dist/.context/eng/agents/ui_specialist.md +16 -0
  11. package/dist/.context/eng/docs/AGENT_HANDOFF_PROMPT.md +44 -0
  12. package/dist/.context/eng/docs/GENESIS_DESIGN_SYSTEM.md +15 -0
  13. package/dist/.context/eng/docs/GG_METHODOLOGY.md +48 -0
  14. package/dist/.context/eng/docs/OPERATIONS_LOG.md +30 -0
  15. package/dist/.context/eng/docs/PROJECT_MAP.md +35 -0
  16. package/dist/.context/eng/docs/standards/devops.md +0 -0
  17. package/dist/.context/eng/docs/standards/frontend.md +0 -0
  18. package/dist/.context/eng/docs/standards/typescript.md +12 -0
  19. package/dist/.context/eng/skills/agent_logging.md +18 -0
  20. package/dist/.context/eng/skills/brainstorming.md +227 -0
  21. package/dist/.context/eng/skills/exploring_codebase.md +1217 -0
  22. package/dist/.context/eng/skills/patterns/compliance_check.md +246 -0
  23. package/dist/.context/eng/skills/patterns/coverage_table.md +401 -0
  24. package/dist/.context/eng/skills/patterns/exit_criteria.md +31 -0
  25. package/dist/.context/eng/skills/patterns/failure_recovery.md +74 -0
  26. package/dist/.context/eng/skills/patterns/quality_gate.md +295 -0
  27. package/dist/.context/eng/skills/patterns/standards_workflow.md +391 -0
  28. package/dist/.context/eng/skills/patterns/state_tracking.md +30 -0
  29. package/dist/.context/eng/skills/patterns/task_tracking.md +38 -0
  30. package/dist/.context/eng/skills/previce.md +45 -0
  31. package/dist/.context/eng/skills/tdd.md +421 -0
  32. package/dist/.context/eng/skills/writing_plans.md +105 -0
  33. package/dist/.context/plans/.gitkeep +0 -0
  34. package/dist/.context/pt-br/agents/architect.md +69 -0
  35. package/dist/.context/pt-br/agents/backend_typescript.md +1000 -0
  36. package/dist/.context/pt-br/agents/bug_hunter.md +49 -0
  37. package/dist/.context/pt-br/agents/code_reviewer.md +313 -0
  38. package/dist/.context/pt-br/agents/devops_specialist.md +718 -0
  39. package/dist/.context/pt-br/agents/frontend_specialist.md +1027 -0
  40. package/dist/.context/pt-br/agents/qa_specialist.md +1234 -0
  41. package/dist/.context/pt-br/agents/security_reviewer.md +382 -0
  42. package/dist/.context/pt-br/agents/ui_specialist.md +55 -0
  43. package/dist/.context/pt-br/docs/AGENT_HANDOFF_PROMPT.md +44 -0
  44. package/dist/.context/pt-br/docs/GENESIS_DESIGN_SYSTEM.md +88 -0
  45. package/dist/.context/pt-br/docs/GG_METHODOLOGY.md +48 -0
  46. package/dist/.context/pt-br/docs/OPERATIONS_LOG.md +30 -0
  47. package/dist/.context/pt-br/docs/PROJECT_MAP.md +37 -0
  48. package/dist/.context/pt-br/docs/standards/devops.md +707 -0
  49. package/dist/.context/pt-br/docs/standards/frontend.md +748 -0
  50. package/dist/.context/pt-br/docs/standards/typescript.md +1150 -0
  51. package/dist/.context/pt-br/skills/agent_logging.md +36 -0
  52. package/dist/.context/pt-br/skills/brainstorming.md +227 -0
  53. package/dist/.context/pt-br/skills/exploring_codebase.md +1217 -0
  54. package/dist/.context/pt-br/skills/patterns/compliance_check.md +246 -0
  55. package/dist/.context/pt-br/skills/patterns/coverage_table.md +401 -0
  56. package/dist/.context/pt-br/skills/patterns/exit_criteria.md +31 -0
  57. package/dist/.context/pt-br/skills/patterns/failure_recovery.md +74 -0
  58. package/dist/.context/pt-br/skills/patterns/quality_gate.md +295 -0
  59. package/dist/.context/pt-br/skills/patterns/standards_workflow.md +391 -0
  60. package/dist/.context/pt-br/skills/patterns/state_tracking.md +30 -0
  61. package/dist/.context/pt-br/skills/patterns/task_tracking.md +38 -0
  62. package/dist/.context/pt-br/skills/previce.md +45 -0
  63. package/dist/.context/pt-br/skills/tdd.md +421 -0
  64. package/dist/.context/pt-br/skills/writing_plans.md +105 -0
  65. package/dist/.context/workflow/.gitkeep +0 -0
  66. package/dist/commands/init.js +140 -0
  67. package/dist/commands/monitor.js +34 -0
  68. package/dist/index.js +20 -568
  69. package/dist/services/monitor-service.js +340 -0
  70. package/dist/services/scaffolder.js +164 -0
  71. package/package.json +16 -58
  72. package/LICENSE +0 -21
  73. package/README.md +0 -195
  74. package/dist/generators/agents/agentConfig.d.ts +0 -4
  75. package/dist/generators/agents/agentConfig.d.ts.map +0 -1
  76. package/dist/generators/agents/agentConfig.js +0 -180
  77. package/dist/generators/agents/agentConfig.js.map +0 -1
  78. package/dist/generators/agents/agentGenerator.d.ts +0 -9
  79. package/dist/generators/agents/agentGenerator.d.ts.map +0 -1
  80. package/dist/generators/agents/agentGenerator.js +0 -97
  81. package/dist/generators/agents/agentGenerator.js.map +0 -1
  82. package/dist/generators/agents/agentTypes.d.ts +0 -4
  83. package/dist/generators/agents/agentTypes.d.ts.map +0 -1
  84. package/dist/generators/agents/agentTypes.js +0 -25
  85. package/dist/generators/agents/agentTypes.js.map +0 -1
  86. package/dist/generators/agents/index.d.ts +0 -4
  87. package/dist/generators/agents/index.d.ts.map +0 -1
  88. package/dist/generators/agents/index.js +0 -12
  89. package/dist/generators/agents/index.js.map +0 -1
  90. package/dist/generators/agents/templates/index.d.ts +0 -4
  91. package/dist/generators/agents/templates/index.d.ts.map +0 -1
  92. package/dist/generators/agents/templates/index.js +0 -8
  93. package/dist/generators/agents/templates/index.js.map +0 -1
  94. package/dist/generators/agents/templates/indexTemplate.d.ts +0 -3
  95. package/dist/generators/agents/templates/indexTemplate.d.ts.map +0 -1
  96. package/dist/generators/agents/templates/indexTemplate.js +0 -36
  97. package/dist/generators/agents/templates/indexTemplate.js.map +0 -1
  98. package/dist/generators/agents/templates/playbookTemplate.d.ts +0 -4
  99. package/dist/generators/agents/templates/playbookTemplate.d.ts.map +0 -1
  100. package/dist/generators/agents/templates/playbookTemplate.js +0 -99
  101. package/dist/generators/agents/templates/playbookTemplate.js.map +0 -1
  102. package/dist/generators/agents/templates/types.d.ts +0 -14
  103. package/dist/generators/agents/templates/types.d.ts.map +0 -1
  104. package/dist/generators/agents/templates/types.js +0 -3
  105. package/dist/generators/agents/templates/types.js.map +0 -1
  106. package/dist/generators/documentation/documentationGenerator.d.ts +0 -15
  107. package/dist/generators/documentation/documentationGenerator.d.ts.map +0 -1
  108. package/dist/generators/documentation/documentationGenerator.js +0 -188
  109. package/dist/generators/documentation/documentationGenerator.js.map +0 -1
  110. package/dist/generators/documentation/guideRegistry.d.ts +0 -6
  111. package/dist/generators/documentation/guideRegistry.d.ts.map +0 -1
  112. package/dist/generators/documentation/guideRegistry.js +0 -82
  113. package/dist/generators/documentation/guideRegistry.js.map +0 -1
  114. package/dist/generators/documentation/index.d.ts +0 -2
  115. package/dist/generators/documentation/index.d.ts.map +0 -1
  116. package/dist/generators/documentation/index.js +0 -6
  117. package/dist/generators/documentation/index.js.map +0 -1
  118. package/dist/generators/documentation/templates/apiReferenceTemplate.d.ts +0 -2
  119. package/dist/generators/documentation/templates/apiReferenceTemplate.d.ts.map +0 -1
  120. package/dist/generators/documentation/templates/apiReferenceTemplate.js +0 -490
  121. package/dist/generators/documentation/templates/apiReferenceTemplate.js.map +0 -1
  122. package/dist/generators/documentation/templates/architectureTemplate.d.ts +0 -3
  123. package/dist/generators/documentation/templates/architectureTemplate.d.ts.map +0 -1
  124. package/dist/generators/documentation/templates/architectureTemplate.js +0 -66
  125. package/dist/generators/documentation/templates/architectureTemplate.js.map +0 -1
  126. package/dist/generators/documentation/templates/common.d.ts +0 -7
  127. package/dist/generators/documentation/templates/common.d.ts.map +0 -1
  128. package/dist/generators/documentation/templates/common.js +0 -58
  129. package/dist/generators/documentation/templates/common.js.map +0 -1
  130. package/dist/generators/documentation/templates/dataFlowTemplate.d.ts +0 -3
  131. package/dist/generators/documentation/templates/dataFlowTemplate.d.ts.map +0 -1
  132. package/dist/generators/documentation/templates/dataFlowTemplate.js +0 -40
  133. package/dist/generators/documentation/templates/dataFlowTemplate.js.map +0 -1
  134. package/dist/generators/documentation/templates/developmentWorkflowTemplate.d.ts +0 -2
  135. package/dist/generators/documentation/templates/developmentWorkflowTemplate.d.ts.map +0 -1
  136. package/dist/generators/documentation/templates/developmentWorkflowTemplate.js +0 -44
  137. package/dist/generators/documentation/templates/developmentWorkflowTemplate.js.map +0 -1
  138. package/dist/generators/documentation/templates/glossaryTemplate.d.ts +0 -3
  139. package/dist/generators/documentation/templates/glossaryTemplate.d.ts.map +0 -1
  140. package/dist/generators/documentation/templates/glossaryTemplate.js +0 -41
  141. package/dist/generators/documentation/templates/glossaryTemplate.js.map +0 -1
  142. package/dist/generators/documentation/templates/index.d.ts +0 -15
  143. package/dist/generators/documentation/templates/index.d.ts.map +0 -1
  144. package/dist/generators/documentation/templates/index.js +0 -30
  145. package/dist/generators/documentation/templates/index.js.map +0 -1
  146. package/dist/generators/documentation/templates/indexTemplate.d.ts +0 -3
  147. package/dist/generators/documentation/templates/indexTemplate.d.ts.map +0 -1
  148. package/dist/generators/documentation/templates/indexTemplate.js +0 -42
  149. package/dist/generators/documentation/templates/indexTemplate.js.map +0 -1
  150. package/dist/generators/documentation/templates/migrationTemplate.d.ts +0 -2
  151. package/dist/generators/documentation/templates/migrationTemplate.d.ts.map +0 -1
  152. package/dist/generators/documentation/templates/migrationTemplate.js +0 -422
  153. package/dist/generators/documentation/templates/migrationTemplate.js.map +0 -1
  154. package/dist/generators/documentation/templates/onboardingTemplate.d.ts +0 -2
  155. package/dist/generators/documentation/templates/onboardingTemplate.d.ts.map +0 -1
  156. package/dist/generators/documentation/templates/onboardingTemplate.js +0 -431
  157. package/dist/generators/documentation/templates/onboardingTemplate.js.map +0 -1
  158. package/dist/generators/documentation/templates/projectOverviewTemplate.d.ts +0 -3
  159. package/dist/generators/documentation/templates/projectOverviewTemplate.d.ts.map +0 -1
  160. package/dist/generators/documentation/templates/projectOverviewTemplate.js +0 -65
  161. package/dist/generators/documentation/templates/projectOverviewTemplate.js.map +0 -1
  162. package/dist/generators/documentation/templates/securityTemplate.d.ts +0 -2
  163. package/dist/generators/documentation/templates/securityTemplate.d.ts.map +0 -1
  164. package/dist/generators/documentation/templates/securityTemplate.js +0 -39
  165. package/dist/generators/documentation/templates/securityTemplate.js.map +0 -1
  166. package/dist/generators/documentation/templates/testingTemplate.d.ts +0 -2
  167. package/dist/generators/documentation/templates/testingTemplate.d.ts.map +0 -1
  168. package/dist/generators/documentation/templates/testingTemplate.js +0 -45
  169. package/dist/generators/documentation/templates/testingTemplate.js.map +0 -1
  170. package/dist/generators/documentation/templates/toolingTemplate.d.ts +0 -2
  171. package/dist/generators/documentation/templates/toolingTemplate.d.ts.map +0 -1
  172. package/dist/generators/documentation/templates/toolingTemplate.js +0 -42
  173. package/dist/generators/documentation/templates/toolingTemplate.js.map +0 -1
  174. package/dist/generators/documentation/templates/troubleshootingTemplate.d.ts +0 -2
  175. package/dist/generators/documentation/templates/troubleshootingTemplate.d.ts.map +0 -1
  176. package/dist/generators/documentation/templates/troubleshootingTemplate.js +0 -292
  177. package/dist/generators/documentation/templates/troubleshootingTemplate.js.map +0 -1
  178. package/dist/generators/documentation/templates/types.d.ts +0 -23
  179. package/dist/generators/documentation/templates/types.d.ts.map +0 -1
  180. package/dist/generators/documentation/templates/types.js +0 -3
  181. package/dist/generators/documentation/templates/types.js.map +0 -1
  182. package/dist/generators/plans/index.d.ts +0 -2
  183. package/dist/generators/plans/index.d.ts.map +0 -1
  184. package/dist/generators/plans/index.js +0 -6
  185. package/dist/generators/plans/index.js.map +0 -1
  186. package/dist/generators/plans/planGenerator.d.ts +0 -22
  187. package/dist/generators/plans/planGenerator.d.ts.map +0 -1
  188. package/dist/generators/plans/planGenerator.js +0 -109
  189. package/dist/generators/plans/planGenerator.js.map +0 -1
  190. package/dist/generators/plans/templates/indexTemplate.d.ts +0 -3
  191. package/dist/generators/plans/templates/indexTemplate.d.ts.map +0 -1
  192. package/dist/generators/plans/templates/indexTemplate.js +0 -37
  193. package/dist/generators/plans/templates/indexTemplate.js.map +0 -1
  194. package/dist/generators/plans/templates/planTemplate.d.ts +0 -3
  195. package/dist/generators/plans/templates/planTemplate.d.ts.map +0 -1
  196. package/dist/generators/plans/templates/planTemplate.js +0 -166
  197. package/dist/generators/plans/templates/planTemplate.js.map +0 -1
  198. package/dist/generators/plans/templates/types.d.ts +0 -19
  199. package/dist/generators/plans/templates/types.d.ts.map +0 -1
  200. package/dist/generators/plans/templates/types.js +0 -3
  201. package/dist/generators/plans/templates/types.js.map +0 -1
  202. package/dist/generators/shared/contextGenerator.d.ts +0 -7
  203. package/dist/generators/shared/contextGenerator.d.ts.map +0 -1
  204. package/dist/generators/shared/contextGenerator.js +0 -13
  205. package/dist/generators/shared/contextGenerator.js.map +0 -1
  206. package/dist/generators/shared/directoryTemplateHelpers.d.ts +0 -2
  207. package/dist/generators/shared/directoryTemplateHelpers.d.ts.map +0 -1
  208. package/dist/generators/shared/directoryTemplateHelpers.js +0 -12
  209. package/dist/generators/shared/directoryTemplateHelpers.js.map +0 -1
  210. package/dist/generators/shared/generatorUtils.d.ts +0 -16
  211. package/dist/generators/shared/generatorUtils.d.ts.map +0 -1
  212. package/dist/generators/shared/generatorUtils.js +0 -119
  213. package/dist/generators/shared/generatorUtils.js.map +0 -1
  214. package/dist/generators/shared/index.d.ts +0 -4
  215. package/dist/generators/shared/index.d.ts.map +0 -1
  216. package/dist/generators/shared/index.js +0 -10
  217. package/dist/generators/shared/index.js.map +0 -1
  218. package/dist/index.d.ts +0 -9
  219. package/dist/index.d.ts.map +0 -1
  220. package/dist/index.js.map +0 -1
  221. package/dist/prompts/defaults.d.ts +0 -3
  222. package/dist/prompts/defaults.d.ts.map +0 -1
  223. package/dist/prompts/defaults.js +0 -95
  224. package/dist/prompts/defaults.js.map +0 -1
  225. package/dist/services/baseLLMClient.d.ts +0 -12
  226. package/dist/services/baseLLMClient.d.ts.map +0 -1
  227. package/dist/services/baseLLMClient.js +0 -80
  228. package/dist/services/baseLLMClient.js.map +0 -1
  229. package/dist/services/fill/fillService.d.ts +0 -46
  230. package/dist/services/fill/fillService.d.ts.map +0 -1
  231. package/dist/services/fill/fillService.js +0 -254
  232. package/dist/services/fill/fillService.js.map +0 -1
  233. package/dist/services/init/initService.d.ts +0 -37
  234. package/dist/services/init/initService.d.ts.map +0 -1
  235. package/dist/services/init/initService.js +0 -167
  236. package/dist/services/init/initService.js.map +0 -1
  237. package/dist/services/llmClientFactory.d.ts +0 -8
  238. package/dist/services/llmClientFactory.d.ts.map +0 -1
  239. package/dist/services/llmClientFactory.js +0 -23
  240. package/dist/services/llmClientFactory.js.map +0 -1
  241. package/dist/services/openRouterClient.d.ts +0 -9
  242. package/dist/services/openRouterClient.d.ts.map +0 -1
  243. package/dist/services/openRouterClient.js +0 -49
  244. package/dist/services/openRouterClient.js.map +0 -1
  245. package/dist/services/plan/planService.d.ts +0 -57
  246. package/dist/services/plan/planService.d.ts.map +0 -1
  247. package/dist/services/plan/planService.js +0 -334
  248. package/dist/services/plan/planService.js.map +0 -1
  249. package/dist/services/shared/llmConfig.d.ts +0 -22
  250. package/dist/services/shared/llmConfig.d.ts.map +0 -1
  251. package/dist/services/shared/llmConfig.js +0 -38
  252. package/dist/services/shared/llmConfig.js.map +0 -1
  253. package/dist/types.d.ts +0 -65
  254. package/dist/types.d.ts.map +0 -1
  255. package/dist/types.js +0 -3
  256. package/dist/types.js.map +0 -1
  257. package/dist/utils/cliUI.d.ts +0 -27
  258. package/dist/utils/cliUI.d.ts.map +0 -1
  259. package/dist/utils/cliUI.js +0 -252
  260. package/dist/utils/cliUI.js.map +0 -1
  261. package/dist/utils/fileMapper.d.ts +0 -11
  262. package/dist/utils/fileMapper.d.ts.map +0 -1
  263. package/dist/utils/fileMapper.js +0 -146
  264. package/dist/utils/fileMapper.js.map +0 -1
  265. package/dist/utils/gitService.d.ts +0 -50
  266. package/dist/utils/gitService.d.ts.map +0 -1
  267. package/dist/utils/gitService.js +0 -470
  268. package/dist/utils/gitService.js.map +0 -1
  269. package/dist/utils/i18n.d.ts +0 -171
  270. package/dist/utils/i18n.d.ts.map +0 -1
  271. package/dist/utils/i18n.js +0 -381
  272. package/dist/utils/i18n.js.map +0 -1
  273. package/dist/utils/promptLoader.d.ts +0 -12
  274. package/dist/utils/promptLoader.d.ts.map +0 -1
  275. package/dist/utils/promptLoader.js +0 -81
  276. package/dist/utils/promptLoader.js.map +0 -1
  277. package/dist/utils/versionChecker.d.ts +0 -15
  278. package/dist/utils/versionChecker.d.ts.map +0 -1
  279. package/dist/utils/versionChecker.js +0 -49
  280. package/dist/utils/versionChecker.js.map +0 -1
  281. package/prompts/update_plan_prompt.md +0 -41
  282. package/prompts/update_scaffold_prompt.md +0 -47
@@ -1,166 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.renderPlanTemplate = renderPlanTemplate;
4
- function renderPlanTemplate(context) {
5
- const { title, slug, summary, agents, docs } = context;
6
- const relatedAgents = agents.length
7
- ? agents.map(agent => ` - "${agent.type}"`).join('\n')
8
- : ' - "documentation-writer"';
9
- const agentTableRows = agents.length
10
- ? agents
11
- .map(agent => `| ${agent.title} | TODO: Describe why this agent is involved. | [${agent.title}](../agents/${agent.type}.md) | ${agent.responsibility} |`)
12
- .join('\n')
13
- : '| Documentation Writer | TODO: Describe why this agent is involved. | [Documentation Writer](../agents/documentation-writer.md) | Create clear, comprehensive documentation |';
14
- const docsTableRows = docs.length
15
- ? docs
16
- .map(doc => `| ${doc.title} | [${doc.file}](../docs/${doc.file}) | ${doc.marker} | ${doc.primaryInputs} |`)
17
- .join('\n')
18
- : '| Documentation Index | [README.md](../docs/README.md) | agent-update:docs-index | Current docs directory listing |';
19
- return `---
20
- id: plan-${slug}
21
- ai_update_goal: "Define the stages, owners, and evidence required to complete ${title}."
22
- required_inputs:
23
- - "Task summary or issue link describing the goal"
24
- - "Relevant documentation sections from docs/README.md"
25
- - "Matching agent playbooks from agents/README.md"
26
- success_criteria:
27
- - "Stages list clear owners, deliverables, and success signals"
28
- - "Plan references documentation and agent resources that exist today"
29
- - "Follow-up actions and evidence expectations are recorded"
30
- related_agents:
31
- ${relatedAgents}
32
- ---
33
-
34
- <!-- agent-update:start:plan-${slug} -->
35
- # ${title} Plan
36
-
37
- > ${summary?.trim() || 'TODO: Summarize the desired outcome and the problem this plan addresses.'}
38
-
39
- ## Task Snapshot
40
- - **Primary goal:** TODO: Describe the outcome to achieve.
41
- - **Success signal:** TODO: Define how the team will know the plan worked.
42
- - **Key references:**
43
- - [Documentation Index](../docs/README.md)
44
- - [Agent Handbook](../agents/README.md)
45
- - [Plans Index](./README.md)
46
-
47
- ## Agent Lineup
48
- | Agent | Role in this plan | Playbook | First responsibility focus |
49
- | --- | --- | --- | --- |
50
- ${agentTableRows}
51
-
52
- ## Documentation Touchpoints
53
- | Guide | File | Task Marker | Primary Inputs |
54
- | --- | --- | --- | --- |
55
- ${docsTableRows}
56
-
57
- ## Risk Assessment
58
- Identify potential blockers, dependencies, and mitigation strategies before beginning work.
59
-
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
-
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
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 -->
153
- ## Agent Playbook Checklist
154
- 1. Pick the agent that matches your task.
155
- 2. Enrich the template with project-specific context or links.
156
- 3. Share the final prompt with your AI assistant.
157
- 4. Capture learnings in the relevant documentation file so future runs improve.
158
-
159
- ## Evidence & Follow-up
160
- - TODO: List artifacts to collect (logs, PR links, test runs, design notes).
161
- - TODO: Record follow-up actions or owners.
162
-
163
- <!-- agent-update:end -->
164
- `;
165
- }
166
- //# sourceMappingURL=planTemplate.js.map
@@ -1 +0,0 @@
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,E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/types';
3
- export interface PlanAgentSummary {
4
- type: AgentType;
5
- title: string;
6
- responsibility: string;
7
- }
8
- export interface PlanTemplateContext {
9
- title: string;
10
- slug: string;
11
- summary?: string;
12
- agents: PlanAgentSummary[];
13
- docs: GuideMeta[];
14
- }
15
- export interface PlanIndexEntry {
16
- slug: string;
17
- title: string;
18
- }
19
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/generators/plans/templates/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAEhE,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,IAAI,EAAE,SAAS,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/generators/plans/templates/types.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { FileMapper } from '../../utils/fileMapper';
2
- export declare class ContextGenerator {
3
- protected readonly fileMapper: FileMapper;
4
- constructor(fileMapper: FileMapper);
5
- protected loadFileContent(path: string): Promise<string>;
6
- }
7
- //# sourceMappingURL=contextGenerator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contextGenerator.d.ts","sourceRoot":"","sources":["../../../src/generators/shared/contextGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,qBAAa,gBAAgB;IACf,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;gBAAtB,UAAU,EAAE,UAAU;cAErC,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAG/D"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ContextGenerator = void 0;
4
- class ContextGenerator {
5
- constructor(fileMapper) {
6
- this.fileMapper = fileMapper;
7
- }
8
- async loadFileContent(path) {
9
- return this.fileMapper.readFileContent(path);
10
- }
11
- }
12
- exports.ContextGenerator = ContextGenerator;
13
- //# sourceMappingURL=contextGenerator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contextGenerator.js","sourceRoot":"","sources":["../../../src/generators/shared/contextGenerator.ts"],"names":[],"mappings":";;;AAEA,MAAa,gBAAgB;IAC3B,YAA+B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;IAAG,CAAC;IAE/C,KAAK,CAAC,eAAe,CAAC,IAAY;QAC1C,OAAO,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;CACF;AAND,4CAMC"}
@@ -1,2 +0,0 @@
1
- export declare function formatDirectoryList(directories: string[], placeholderMessage?: string): string;
2
- //# sourceMappingURL=directoryTemplateHelpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"directoryTemplateHelpers.d.ts","sourceRoot":"","sources":["../../../src/generators/shared/directoryTemplateHelpers.ts"],"names":[],"mappings":"AAAA,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,CAQ9F"}
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.formatDirectoryList = formatDirectoryList;
4
- function formatDirectoryList(directories, placeholderMessage) {
5
- if (!directories.length) {
6
- return placeholderMessage ?? '';
7
- }
8
- return directories
9
- .map(dir => `- \`${dir}/\` — TODO: Describe the purpose of this directory.`)
10
- .join('\n');
11
- }
12
- //# sourceMappingURL=directoryTemplateHelpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"directoryTemplateHelpers.js","sourceRoot":"","sources":["../../../src/generators/shared/directoryTemplateHelpers.ts"],"names":[],"mappings":";;AAAA,kDAQC;AARD,SAAgB,mBAAmB,CAAC,WAAqB,EAAE,kBAA2B;IACpF,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC;QACxB,OAAO,kBAAkB,IAAI,EAAE,CAAC;IAClC,CAAC;IAED,OAAO,WAAW;SACf,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,GAAG,qDAAqD,CAAC;SAC3E,IAAI,CAAC,IAAI,CAAC,CAAC;AAChB,CAAC"}
@@ -1,16 +0,0 @@
1
- import { RepoStructure } from '../../types';
2
- export declare class GeneratorUtils {
3
- static formatBytes(bytes: number): string;
4
- static slugify(text: string): string;
5
- static formatModuleName(name: string): string;
6
- static formatTitle(text: string): string;
7
- static ensureDirectoryAndLog(dir: string, verbose: boolean, description: string): Promise<void>;
8
- static writeFileWithLogging(filePath: string, content: string, verbose: boolean, successMessage?: string): Promise<void>;
9
- static logError(message: string, error: any, verbose: boolean): void;
10
- static logProgress(message: string, verbose: boolean): void;
11
- static getFileTypeDistribution(repoStructure: RepoStructure): Map<string, number>;
12
- static getTopFileExtensions(repoStructure: RepoStructure, limit?: number): Array<[string, number]>;
13
- static createTimestamp(): string;
14
- static createGeneratedByFooter(additionalInfo?: string): string;
15
- }
16
- //# sourceMappingURL=generatorUtils.d.ts.map
@@ -1 +0,0 @@
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,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM;CAOhE"}
@@ -1,119 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- var __importDefault = (this && this.__importDefault) || function (mod) {
36
- return (mod && mod.__esModule) ? mod : { "default": mod };
37
- };
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.GeneratorUtils = void 0;
40
- const fs = __importStar(require("fs-extra"));
41
- const path = __importStar(require("path"));
42
- const chalk_1 = __importDefault(require("chalk"));
43
- class GeneratorUtils {
44
- static formatBytes(bytes) {
45
- if (bytes === 0)
46
- return '0 Bytes';
47
- const k = 1024;
48
- const sizes = ['Bytes', 'KB', 'MB', 'GB'];
49
- const i = Math.floor(Math.log(bytes) / Math.log(k));
50
- return parseFloat((bytes / Math.pow(k, i)).toFixed(2)) + ' ' + sizes[i];
51
- }
52
- static slugify(text) {
53
- return text
54
- .toLowerCase()
55
- .replace(/\s+/g, '-')
56
- .replace(/[^a-z0-9-]/g, '');
57
- }
58
- static formatModuleName(name) {
59
- return name
60
- .split(/[-_]/)
61
- .map(word => word.charAt(0).toUpperCase() + word.slice(1))
62
- .join(' ');
63
- }
64
- static formatTitle(text) {
65
- return text.split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join(' ');
66
- }
67
- static async ensureDirectoryAndLog(dir, verbose, description) {
68
- await fs.ensureDir(dir);
69
- if (verbose) {
70
- console.log(chalk_1.default.blue(`📁 ${description}: ${dir}`));
71
- }
72
- }
73
- static async writeFileWithLogging(filePath, content, verbose, successMessage) {
74
- const fileName = path.basename(filePath);
75
- if (verbose) {
76
- console.log(chalk_1.default.blue(`📄 Creating ${fileName}...`));
77
- }
78
- await fs.writeFile(filePath, content);
79
- if (verbose) {
80
- console.log(chalk_1.default.green(`✅ ${successMessage || `Created ${fileName}`}`));
81
- }
82
- }
83
- static logError(message, error, verbose) {
84
- if (verbose) {
85
- console.log(chalk_1.default.red(`❌ ${message}: ${error}`));
86
- }
87
- }
88
- static logProgress(message, verbose) {
89
- if (verbose) {
90
- console.log(chalk_1.default.yellow(message));
91
- }
92
- }
93
- static getFileTypeDistribution(repoStructure) {
94
- const extensions = new Map();
95
- repoStructure.files.forEach(file => {
96
- const ext = file.extension || 'no-extension';
97
- extensions.set(ext, (extensions.get(ext) || 0) + 1);
98
- });
99
- return extensions;
100
- }
101
- static getTopFileExtensions(repoStructure, limit = 5) {
102
- const extensions = this.getFileTypeDistribution(repoStructure);
103
- return Array.from(extensions.entries())
104
- .sort((a, b) => b[1] - a[1])
105
- .slice(0, limit);
106
- }
107
- static createTimestamp() {
108
- return new Date().toISOString();
109
- }
110
- static createGeneratedByFooter(additionalInfo) {
111
- return `---
112
- *Generated by AI Coders Context*
113
- ${additionalInfo ? `*${additionalInfo}*` : ''}
114
- *Generated on: ${this.createTimestamp()}*
115
- `;
116
- }
117
- }
118
- exports.GeneratorUtils = GeneratorUtils;
119
- //# sourceMappingURL=generatorUtils.js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eAAe,EAAE;CACtC,CAAC;IACA,CAAC;CACF;AA9FD,wCA8FC"}
@@ -1,4 +0,0 @@
1
- export { GeneratorUtils } from './generatorUtils';
2
- export { ContextGenerator } from './contextGenerator';
3
- export { formatDirectoryList } from './directoryTemplateHelpers';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generators/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.formatDirectoryList = exports.ContextGenerator = exports.GeneratorUtils = void 0;
4
- var generatorUtils_1 = require("./generatorUtils");
5
- Object.defineProperty(exports, "GeneratorUtils", { enumerable: true, get: function () { return generatorUtils_1.GeneratorUtils; } });
6
- var contextGenerator_1 = require("./contextGenerator");
7
- Object.defineProperty(exports, "ContextGenerator", { enumerable: true, get: function () { return contextGenerator_1.ContextGenerator; } });
8
- var directoryTemplateHelpers_1 = require("./directoryTemplateHelpers");
9
- Object.defineProperty(exports, "formatDirectoryList", { enumerable: true, get: function () { return directoryTemplateHelpers_1.formatDirectoryList; } });
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generators/shared/index.ts"],"names":[],"mappings":";;;AAAA,mDAAkD;AAAzC,gHAAA,cAAc,OAAA;AACvB,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA;AACzB,uEAAiE;AAAxD,+HAAA,mBAAmB,OAAA"}
package/dist/index.d.ts DELETED
@@ -1,9 +0,0 @@
1
- #!/usr/bin/env node
2
- export declare function runInit(repoPath: string, type: string, rawOptions: any): Promise<void>;
3
- export declare function runGenerate(repoPath: string, options: any): Promise<void>;
4
- export declare function runAnalyze(..._args: unknown[]): Promise<void>;
5
- export declare function runUpdate(..._args: unknown[]): Promise<void>;
6
- export declare function runPreview(..._args: unknown[]): Promise<void>;
7
- export declare function runGuidelines(..._args: unknown[]): Promise<void>;
8
- export declare function runLlmFill(repoPath: string, rawOptions: any): Promise<void>;
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
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"}
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4LA,0BAEC;AAED,kCAWC;AAED,gCAEC;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Prompt: Update Repository Documentation and Agent Playbooks\n\n## Purpose\nYou are an AI assistant responsible for refreshing the documentation (`docs/`) and agent playbooks (`agents/`) generated by the ai-context scaffolding tool. Your goal is to bring every guide up to date with the latest repository state, fill in placeholder sections, and maintain cross-references between docs and agent instructions.\n\n## Context Gathering Checklist\n1. Run `git status -sb` to understand pending changes.\n2. Review the latest merged commits or PRs related to documentation, architecture, workflow, or testing.\n3. Inspect `package.json`, CI configuration, and any release or roadmap notes stored in the repository.\n4. Check `docs/README.md` for the current document map and update AI markers (`agent-update:*`).\n5. Identify unresolved placeholders marked as `<!-- agent-fill:* -->`.\n\n## Update Procedure\n1. **Select a Guide**\n - Navigate to `docs/<guide>.md`.\n - Read the YAML front matter (`ai_update_goal`, `required_inputs`, `success_criteria`) and ensure you collect the listed inputs before editing.\n\n2. **Edit Within Update Wrappers**\n - Update content strictly inside the matching `<!-- agent-update:start:... -->` block and keep the closing `<!-- agent-update:end -->` tag.\n - Remove or replace any `TODO` text with accurate, current information.\n - When you complete a placeholder slot (`<!-- agent-fill:... -->`), remove the wrapper and provide the finalized description.\n\n3. **Cross-Link Updates**\n - Verify that links between docs remain valid.\n - If you add new guides or sections, update `docs/README.md` and the document map table.\n\n4. **Agent Playbook Alignment**\n - For each change in `docs/`, adjust the related `agents/*.md` playbooks.\n - Ensure the \"Documentation Touchpoints\" list references the correct `agent-update` markers.\n - Update collaboration checklists and evidence sections to reflect the latest workflows.\n\n5. **Evidence & Traceability**\n - Note key sources (commit hashes, issues, ADRs) in the \"Evidence to Capture\" or \"AI Update Checklist\" summary lines.\n - If anything is ambiguous or requires human follow-up, leave a concise note clearly labelled for maintainers.\n\n## Acceptance Criteria\n- Every guide\u2019s `success_criteria` field is satisfied.\n- No unresolved `TODO` or `agent-fill` blocks remain unless they require explicit human input; in such cases, add a comment explaining the dependency.\n- Agent playbooks list accurate responsibilities, best practices, and pointer links to the refreshed docs.\n- Changes are self-contained, well-formatted Markdown, and reference any new external resources introduced.\n\n## Deliverables\n- Updated Markdown files committed to the repository.\n- A short changelog or PR description summarizing:\n - Guides touched\n - Key decisions or facts added\n - Evidence links and any pending follow-ups\n";
2
- export declare const UPDATE_PLAN_PROMPT_FALLBACK = "# Prompt: Update Collaboration Plans\n\n## Purpose\nYou are an AI assistant responsible for refining collaboration plans that live in the `.context/plans/` directory. Each plan orchestrates work across documentation guides (`docs/`) and agent playbooks (`agents/`). Your goal is to replace placeholders with actionable guidance that keeps the plan aligned with the referenced docs, agents, and repository context.\n\n## Preparation Checklist\n1. Review the plan\u2019s YAML front matter to understand the stated `ai_update_goal`, `required_inputs`, and `success_criteria`.\n2. Inspect the provided documentation excerpts (from `docs/`) and agent playbooks to ensure the plan reflects their current guidance.\n3. Confirm that the \u201CAgent Lineup\u201D and \u201CDocumentation Touchpoints\u201D tables link to real files and reference the correct `agent-update` markers.\n4. Note any TODOs, `agent-fill` placeholders, or missing evidence sections that must be resolved.\n\n## Update Procedure\n1. **Task Snapshot**\n - Summarize the primary goal and success signal in concrete terms.\n - List authoritative references (docs, issues, specs) that contributors should consult.\n\n2. **Agent Alignment**\n - For each agent in the lineup, describe why they are involved and call out the first responsibility they should focus on.\n - Ensure playbook links and responsibility summaries match the referenced agent files.\n\n3. **Documentation Touchpoints**\n - Map each plan stage to the docs excerpts provided, highlighting which sections need to be updated during execution.\n - Keep the table sorted and ensure the listed `agent-update` markers exist.\n\n4. **Working Phases**\n - Break the work into sequential phases that each include a numbered list of steps, accountable owners, deliverables, and evidence expectations.\n - Close every phase with an explicit Git commit checkpoint (for example, `git commit -m \"chore(plan): complete phase 1\"`) so progress is recorded in version control.\n - Reference documentation and agent resources that the team should consult while executing each phase.\n\n5. **Evidence & Follow-up**\n - Specify the artefacts that must be captured (PR links, test runs, change logs) before the plan is considered complete.\n - Record any follow-up actions or decisions that require human confirmation.\n\n## Acceptance Criteria\n- Every TODO or placeholder inside the plan\u2019s `agent-update` block is resolved or accompanied by a clear escalation note.\n- Tables reference existing files and stay in sync with the docs/agent indices.\n- Phases provide actionable guidance, include numbered steps, and end with an explicit Git commit checkpoint.\n- The plan remains fully self-contained and ready for contributors to execute.\n\n## Deliverables\n- Updated plan Markdown returned verbatim.\n- No additional commentary outside the Markdown output.\n";
3
- //# sourceMappingURL=defaults.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/prompts/defaults.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B,83FA+C3C,CAAC;AAEF,eAAO,MAAM,2BAA2B,u1FA0CvC,CAAC"}
@@ -1,95 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UPDATE_PLAN_PROMPT_FALLBACK = exports.UPDATE_SCAFFOLD_PROMPT_FALLBACK = void 0;
4
- exports.UPDATE_SCAFFOLD_PROMPT_FALLBACK = `# Prompt: Update Repository Documentation and Agent Playbooks
5
-
6
- ## Purpose
7
- You are an AI assistant responsible for refreshing the documentation (\`docs/\`) and agent playbooks (\`agents/\`) generated by the ai-context scaffolding tool. Your goal is to bring every guide up to date with the latest repository state, fill in placeholder sections, and maintain cross-references between docs and agent instructions.
8
-
9
- ## Context Gathering Checklist
10
- 1. Run \`git status -sb\` to understand pending changes.
11
- 2. Review the latest merged commits or PRs related to documentation, architecture, workflow, or testing.
12
- 3. Inspect \`package.json\`, CI configuration, and any release or roadmap notes stored in the repository.
13
- 4. Check \`docs/README.md\` for the current document map and update AI markers (\`agent-update:*\`).
14
- 5. Identify unresolved placeholders marked as \`<!-- agent-fill:* -->\`.
15
-
16
- ## Update Procedure
17
- 1. **Select a Guide**
18
- - Navigate to \`docs/<guide>.md\`.
19
- - Read the YAML front matter (\`ai_update_goal\`, \`required_inputs\`, \`success_criteria\`) and ensure you collect the listed inputs before editing.
20
-
21
- 2. **Edit Within Update Wrappers**
22
- - Update content strictly inside the matching \`<!-- agent-update:start:... -->\` block and keep the closing \`<!-- agent-update:end -->\` tag.
23
- - Remove or replace any \`TODO\` text with accurate, current information.
24
- - When you complete a placeholder slot (\`<!-- agent-fill:... -->\`), remove the wrapper and provide the finalized description.
25
-
26
- 3. **Cross-Link Updates**
27
- - Verify that links between docs remain valid.
28
- - If you add new guides or sections, update \`docs/README.md\` and the document map table.
29
-
30
- 4. **Agent Playbook Alignment**
31
- - For each change in \`docs/\`, adjust the related \`agents/*.md\` playbooks.
32
- - Ensure the "Documentation Touchpoints" list references the correct \`agent-update\` markers.
33
- - Update collaboration checklists and evidence sections to reflect the latest workflows.
34
-
35
- 5. **Evidence & Traceability**
36
- - Note key sources (commit hashes, issues, ADRs) in the "Evidence to Capture" or "AI Update Checklist" summary lines.
37
- - If anything is ambiguous or requires human follow-up, leave a concise note clearly labelled for maintainers.
38
-
39
- ## Acceptance Criteria
40
- - Every guide’s \`success_criteria\` field is satisfied.
41
- - No unresolved \`TODO\` or \`agent-fill\` blocks remain unless they require explicit human input; in such cases, add a comment explaining the dependency.
42
- - Agent playbooks list accurate responsibilities, best practices, and pointer links to the refreshed docs.
43
- - Changes are self-contained, well-formatted Markdown, and reference any new external resources introduced.
44
-
45
- ## Deliverables
46
- - Updated Markdown files committed to the repository.
47
- - A short changelog or PR description summarizing:
48
- - Guides touched
49
- - Key decisions or facts added
50
- - Evidence links and any pending follow-ups
51
- `;
52
- exports.UPDATE_PLAN_PROMPT_FALLBACK = `# Prompt: Update Collaboration Plans
53
-
54
- ## Purpose
55
- You are an AI assistant responsible for refining collaboration plans that live in the \`.context/plans/\` directory. Each plan orchestrates work across documentation guides (\`docs/\`) and agent playbooks (\`agents/\`). Your goal is to replace placeholders with actionable guidance that keeps the plan aligned with the referenced docs, agents, and repository context.
56
-
57
- ## Preparation Checklist
58
- 1. Review the plan’s YAML front matter to understand the stated \`ai_update_goal\`, \`required_inputs\`, and \`success_criteria\`.
59
- 2. Inspect the provided documentation excerpts (from \`docs/\`) and agent playbooks to ensure the plan reflects their current guidance.
60
- 3. Confirm that the “Agent Lineup” and “Documentation Touchpoints” tables link to real files and reference the correct \`agent-update\` markers.
61
- 4. Note any TODOs, \`agent-fill\` placeholders, or missing evidence sections that must be resolved.
62
-
63
- ## Update Procedure
64
- 1. **Task Snapshot**
65
- - Summarize the primary goal and success signal in concrete terms.
66
- - List authoritative references (docs, issues, specs) that contributors should consult.
67
-
68
- 2. **Agent Alignment**
69
- - For each agent in the lineup, describe why they are involved and call out the first responsibility they should focus on.
70
- - Ensure playbook links and responsibility summaries match the referenced agent files.
71
-
72
- 3. **Documentation Touchpoints**
73
- - Map each plan stage to the docs excerpts provided, highlighting which sections need to be updated during execution.
74
- - Keep the table sorted and ensure the listed \`agent-update\` markers exist.
75
-
76
- 4. **Working Phases**
77
- - Break the work into sequential phases that each include a numbered list of steps, accountable owners, deliverables, and evidence expectations.
78
- - Close every phase with an explicit Git commit checkpoint (for example, \`git commit -m "chore(plan): complete phase 1"\`) so progress is recorded in version control.
79
- - Reference documentation and agent resources that the team should consult while executing each phase.
80
-
81
- 5. **Evidence & Follow-up**
82
- - Specify the artefacts that must be captured (PR links, test runs, change logs) before the plan is considered complete.
83
- - Record any follow-up actions or decisions that require human confirmation.
84
-
85
- ## Acceptance Criteria
86
- - Every TODO or placeholder inside the plan’s \`agent-update\` block is resolved or accompanied by a clear escalation note.
87
- - Tables reference existing files and stay in sync with the docs/agent indices.
88
- - Phases provide actionable guidance, include numbered steps, and end with an explicit Git commit checkpoint.
89
- - The plan remains fully self-contained and ready for contributors to execute.
90
-
91
- ## Deliverables
92
- - Updated plan Markdown returned verbatim.
93
- - No additional commentary outside the Markdown output.
94
- `;
95
- //# sourceMappingURL=defaults.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../src/prompts/defaults.ts"],"names":[],"mappings":";;;AAAa,QAAA,+BAA+B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+C9C,CAAC;AAEW,QAAA,2BAA2B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0C1C,CAAC"}
@@ -1,12 +0,0 @@
1
- import { UsageStats } from '../types';
2
- export declare abstract class BaseLLMClient {
3
- protected usageStats: UsageStats;
4
- constructor(model: string);
5
- abstract generateText(prompt: string, systemPrompt?: string): Promise<string>;
6
- generateDocumentation(codeContent: string, filePath: string, context: string): Promise<string>;
7
- generateAgentPrompt(repoStructure: string, fileContext: string, agentType: string): Promise<string>;
8
- getUsageStats(): UsageStats;
9
- resetUsageStats(): void;
10
- protected trackUsage(usage: any): void;
11
- }
12
- //# sourceMappingURL=baseLLMClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"baseLLMClient.d.ts","sourceRoot":"","sources":["../../src/services/baseLLMClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,8BAAsB,aAAa;IACjC,SAAS,CAAC,UAAU,EAAE,UAAU,CAAC;gBAErB,KAAK,EAAE,MAAM;IAUzB,QAAQ,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAEvE,qBAAqB,CACzB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,MAAM,CAAC;IAwBZ,mBAAmB,CACvB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,MAAM,CAAC;IAyBlB,aAAa,IAAI,UAAU;IAI3B,eAAe,IAAI,IAAI;IAWvB,SAAS,CAAC,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;CAQvC"}