@autocode-cli/autocode 0.1.12 → 0.1.14
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 +1 -1
- package/dist/cli/commands/init.js +1 -1
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/list.js +2 -2
- package/dist/cli/commands/list.js.map +1 -1
- package/dist/cli/commands/move.js +3 -3
- package/dist/cli/commands/move.js.map +1 -1
- package/dist/cli/commands/new.js +3 -3
- package/dist/cli/commands/new.js.map +1 -1
- package/dist/core/column.d.ts +0 -4
- package/dist/core/column.d.ts.map +1 -1
- package/dist/core/column.js +0 -6
- package/dist/core/column.js.map +1 -1
- package/dist/core/ticket.d.ts +1 -1
- package/dist/core/ticket.js +4 -4
- package/dist/core/ticket.js.map +1 -1
- package/dist/core/workflow.d.ts +1 -1
- package/dist/core/workflow.js +4 -4
- package/dist/server/api.d.ts.map +1 -1
- package/dist/server/api.js +168 -5
- package/dist/server/api.js.map +1 -1
- package/dist/server/dashboard/pages/autocreate.d.ts +9 -0
- package/dist/server/dashboard/pages/autocreate.d.ts.map +1 -0
- package/dist/server/dashboard/pages/autocreate.js +847 -0
- package/dist/server/dashboard/pages/autocreate.js.map +1 -0
- package/dist/server/dashboard/pages/index.d.ts +1 -0
- package/dist/server/dashboard/pages/index.d.ts.map +1 -1
- package/dist/server/dashboard/pages/index.js +1 -0
- package/dist/server/dashboard/pages/index.js.map +1 -1
- package/dist/server/dashboard/pages/pipeline-configurator.d.ts.map +1 -1
- package/dist/server/dashboard/pages/pipeline-configurator.js +198 -0
- package/dist/server/dashboard/pages/pipeline-configurator.js.map +1 -1
- package/dist/server/dashboard/scripts/index.js +3 -3
- package/dist/server/dashboard.d.ts +1 -1
- package/dist/server/dashboard.d.ts.map +1 -1
- package/dist/server/dashboard.js +1 -1
- package/dist/server/dashboard.js.map +1 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +9 -1
- package/dist/server/index.js.map +1 -1
- package/dist/services/autocreate.d.ts +34 -0
- package/dist/services/autocreate.d.ts.map +1 -0
- package/dist/services/autocreate.js +503 -0
- package/dist/services/autocreate.js.map +1 -0
- package/dist/services/claude.d.ts +4 -1
- package/dist/services/claude.d.ts.map +1 -1
- package/dist/services/claude.js +7 -4
- package/dist/services/claude.js.map +1 -1
- package/dist/types/index.d.ts +49 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/templates/analysis-prompt.en.md +77 -0
- package/templates/analysis-prompt.fr.md +87 -0
- package/templates/catalog.yaml +103 -1
- package/templates/prompts/accessibility-check.en.md +25 -0
- package/templates/prompts/accessibility-check.fr.md +25 -0
- package/templates/prompts/api-endpoints-test.en.md +26 -0
- package/templates/prompts/api-endpoints-test.fr.md +26 -0
- package/templates/prompts/backlog.en.md +8 -19
- package/templates/prompts/backlog.fr.md +8 -19
- package/templates/prompts/build-dist.en.md +20 -0
- package/templates/prompts/build-dist.fr.md +20 -0
- package/templates/prompts/ci-gitlab-validate.en.md +22 -0
- package/templates/prompts/ci-gitlab-validate.fr.md +22 -0
- package/templates/prompts/claude-integration-test.en.md +22 -0
- package/templates/prompts/claude-integration-test.fr.md +22 -0
- package/templates/prompts/cli-smoke-test.en.md +30 -0
- package/templates/prompts/cli-smoke-test.fr.md +30 -0
- package/templates/prompts/dashboard-responsive.en.md +27 -0
- package/templates/prompts/dashboard-responsive.fr.md +27 -0
- package/templates/prompts/dead-code-check.en.md +25 -0
- package/templates/prompts/dead-code-check.fr.md +25 -0
- package/templates/prompts/deps-licenses.en.md +23 -0
- package/templates/prompts/deps-licenses.fr.md +23 -0
- package/templates/prompts/deps-outdated.en.md +23 -0
- package/templates/prompts/deps-outdated.fr.md +23 -0
- package/templates/prompts/design.en.md +2 -2
- package/templates/prompts/design.fr.md +2 -2
- package/templates/prompts/dev.en.md +2 -2
- package/templates/prompts/dev.fr.md +2 -2
- package/templates/prompts/docs-readme-validate.en.md +22 -0
- package/templates/prompts/docs-readme-validate.fr.md +22 -0
- package/templates/prompts/done.en.md +2 -2
- package/templates/prompts/done.fr.md +2 -2
- package/templates/prompts/error-handling-review.en.md +24 -0
- package/templates/prompts/error-handling-review.fr.md +24 -0
- package/templates/prompts/esm-compatibility.en.md +24 -0
- package/templates/prompts/esm-compatibility.fr.md +24 -0
- package/templates/prompts/file-watcher-test.en.md +20 -0
- package/templates/prompts/file-watcher-test.fr.md +20 -0
- package/templates/prompts/format-prettier-setup.en.md +21 -0
- package/templates/prompts/format-prettier-setup.fr.md +21 -0
- package/templates/prompts/git-conventional-commits.en.md +21 -0
- package/templates/prompts/git-conventional-commits.fr.md +21 -0
- package/templates/prompts/git-hooks-setup.en.md +27 -0
- package/templates/prompts/git-hooks-setup.fr.md +27 -0
- package/templates/prompts/graceful-shutdown.en.md +25 -0
- package/templates/prompts/graceful-shutdown.fr.md +25 -0
- package/templates/prompts/i18n-completeness.en.md +21 -0
- package/templates/prompts/i18n-completeness.fr.md +21 -0
- package/templates/prompts/in-progress.en.md +2 -2
- package/templates/prompts/in-progress.fr.md +2 -2
- package/templates/prompts/landing-html-validate.en.md +23 -0
- package/templates/prompts/landing-html-validate.fr.md +23 -0
- package/templates/prompts/lint-eslint-setup.en.md +20 -0
- package/templates/prompts/lint-eslint-setup.fr.md +20 -0
- package/templates/prompts/node-version-check.en.md +21 -0
- package/templates/prompts/node-version-check.fr.md +21 -0
- package/templates/prompts/npm-publish-dry-run.en.md +25 -0
- package/templates/prompts/npm-publish-dry-run.fr.md +25 -0
- package/templates/prompts/pkg-exports-validate.en.md +23 -0
- package/templates/prompts/pkg-exports-validate.fr.md +23 -0
- package/templates/prompts/port-conflict-handling.en.md +22 -0
- package/templates/prompts/port-conflict-handling.fr.md +22 -0
- package/templates/prompts/qualification.en.md +2 -2
- package/templates/prompts/qualification.fr.md +2 -2
- package/templates/prompts/retest-cypress.en.md +2 -6
- package/templates/prompts/retest-cypress.fr.md +2 -6
- package/templates/prompts/retest-playwright.en.md +1 -4
- package/templates/prompts/retest-playwright.fr.md +1 -4
- package/templates/prompts/retest.en.md +1 -4
- package/templates/prompts/retest.fr.md +1 -4
- package/templates/prompts/review-best-practices.en.md +2 -6
- package/templates/prompts/review-best-practices.fr.md +2 -6
- package/templates/prompts/review-code.en.md +2 -6
- package/templates/prompts/review-code.fr.md +2 -6
- package/templates/prompts/review-consistency.en.md +2 -6
- package/templates/prompts/review-consistency.fr.md +2 -6
- package/templates/prompts/review-no-duplication.en.md +2 -6
- package/templates/prompts/review-no-duplication.fr.md +2 -6
- package/templates/prompts/review-security.en.md +2 -2
- package/templates/prompts/review-security.fr.md +2 -2
- package/templates/prompts/security-audit.en.md +20 -0
- package/templates/prompts/security-audit.fr.md +20 -0
- package/templates/prompts/security-secrets.en.md +26 -0
- package/templates/prompts/security-secrets.fr.md +26 -0
- package/templates/prompts/specification.en.md +2 -2
- package/templates/prompts/specification.fr.md +2 -2
- package/templates/prompts/splitter.en.md +3 -4
- package/templates/prompts/splitter.fr.md +3 -4
- package/templates/prompts/template-validation.en.md +23 -0
- package/templates/prompts/template-validation.fr.md +23 -0
- package/templates/prompts/testing-coverage.en.md +20 -0
- package/templates/prompts/testing-coverage.fr.md +20 -0
- package/templates/prompts/testing-cypress.en.md +1 -4
- package/templates/prompts/testing-cypress.fr.md +1 -4
- package/templates/prompts/testing-integration.en.md +1 -4
- package/templates/prompts/testing-integration.fr.md +1 -4
- package/templates/prompts/testing-playwright.en.md +1 -4
- package/templates/prompts/testing-playwright.fr.md +1 -4
- package/templates/prompts/testing-unit.en.md +1 -4
- package/templates/prompts/testing-unit.fr.md +1 -4
- package/templates/prompts/testing-vitest.en.md +17 -0
- package/templates/prompts/testing-vitest.fr.md +17 -0
- package/templates/prompts/typecheck.en.md +17 -0
- package/templates/prompts/typecheck.fr.md +17 -0
- package/templates/prompts/update-docs.en.md +2 -6
- package/templates/prompts/update-docs.fr.md +2 -6
- package/templates/prompts/version-semver.en.md +20 -0
- package/templates/prompts/version-semver.fr.md +20 -0
- package/templates/prompts/websocket-test.en.md +19 -0
- package/templates/prompts/websocket-test.fr.md +19 -0
- package/templates/prompts/yaml-validate.en.md +24 -0
- package/templates/prompts/yaml-validate.fr.md +24 -0
- package/templates/prompts/ready.en.md +0 -31
- package/templates/prompts/ready.fr.md +0 -31
package/dist/types/index.d.ts
CHANGED
|
@@ -145,4 +145,53 @@ export interface SyncResult {
|
|
|
145
145
|
transitioned: string[];
|
|
146
146
|
errors: string[];
|
|
147
147
|
}
|
|
148
|
+
/**
|
|
149
|
+
* Bilingual content structure
|
|
150
|
+
*/
|
|
151
|
+
export interface BilingualContent {
|
|
152
|
+
fr: string;
|
|
153
|
+
en: string;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* File to create for an autocreate column
|
|
157
|
+
*/
|
|
158
|
+
export interface AutocreateFile {
|
|
159
|
+
path: string;
|
|
160
|
+
content: BilingualContent;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Proposed column from autocreate analysis
|
|
164
|
+
*/
|
|
165
|
+
export interface AutocreateProposedColumn {
|
|
166
|
+
id: string;
|
|
167
|
+
key: string;
|
|
168
|
+
display_name: BilingualContent;
|
|
169
|
+
short_description: BilingualContent;
|
|
170
|
+
segment_hint: PipelineSegment | null;
|
|
171
|
+
files_to_create: AutocreateFile[];
|
|
172
|
+
rationale: BilingualContent;
|
|
173
|
+
token_cost_estimate: 'low' | 'medium' | 'high';
|
|
174
|
+
overlap_warnings: string[];
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Autocreate analysis result from Claude
|
|
178
|
+
*/
|
|
179
|
+
export interface AutocreateResult {
|
|
180
|
+
proposed_columns: AutocreateProposedColumn[];
|
|
181
|
+
global_summary: BilingualContent;
|
|
182
|
+
assumptions: string[];
|
|
183
|
+
risks: string[];
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Project context for autocreate analysis
|
|
187
|
+
*/
|
|
188
|
+
export interface ProjectContext {
|
|
189
|
+
dependencies: string[];
|
|
190
|
+
devDependencies: string[];
|
|
191
|
+
scripts: Record<string, string>;
|
|
192
|
+
detectedTooling: string[];
|
|
193
|
+
directoryStructure: string[];
|
|
194
|
+
configFiles: string[];
|
|
195
|
+
projectDescription: string;
|
|
196
|
+
}
|
|
148
197
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACjD,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;AAC9D,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,CAAC;AAEnC,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC5B;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;IACnD,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,MAAM,EAAE,UAAU,CAAC;IACnB,QAAQ,EAAE,M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,EAAE,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;CAC5B"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
You are a critical AutoCode workflow auditor.
|
|
2
|
+
|
|
3
|
+
UI / Interaction Context
|
|
4
|
+
|
|
5
|
+
* This analysis is triggered by a user clicking an **"Analyze"** button on the **/settings/pipeline/configurator** page.
|
|
6
|
+
* Your text will be displayed as-is **in a modal** (dialog window) immediately after the click.
|
|
7
|
+
* You must produce a **modal-readable** response: structured, scannable, no digressions, with short sections.
|
|
8
|
+
|
|
9
|
+
Product Context
|
|
10
|
+
|
|
11
|
+
* We have a "Pipeline Configurator" page with 3 ordered and immutable segments:
|
|
12
|
+
|
|
13
|
+
1. definition
|
|
14
|
+
2. action
|
|
15
|
+
3. finish
|
|
16
|
+
* Each segment contains an ordered list of columns (steps). The exact order is important: it's the execution/progression order.
|
|
17
|
+
* There's also a catalog of available columns (some are used, others are not).
|
|
18
|
+
* Cost constraint: the more columns there are, the more tokens are consumed. We seek a "quality / cost" balance. We want to avoid unnecessary or redundant columns.
|
|
19
|
+
|
|
20
|
+
Language
|
|
21
|
+
|
|
22
|
+
* Respond in the language requested by the interface: {ui_language} (e.g., "fr" or "en"). If {ui_language} is "fr", respond in French. Otherwise respond in English.
|
|
23
|
+
|
|
24
|
+
Input Data
|
|
25
|
+
You receive:
|
|
26
|
+
|
|
27
|
+
1. The current configuration (segments + columns) preserving the exact order:
|
|
28
|
+
{pipeline_segments_ordered}
|
|
29
|
+
|
|
30
|
+
2. The complete catalog of available columns (including unused ones):
|
|
31
|
+
{catalog_all_columns}
|
|
32
|
+
|
|
33
|
+
Mission
|
|
34
|
+
Analyze the current configuration with a critical and pragmatic mindset. Objectives:
|
|
35
|
+
A) Coherence & Order
|
|
36
|
+
|
|
37
|
+
* Check if the "definition → action → finish" sequence is logically respected.
|
|
38
|
+
* Analyze the order of columns in each segment: is it relevant, clear, progressive?
|
|
39
|
+
* Flag columns that seem "misplaced" (better in another segment) or "misordered" (should be before/after others).
|
|
40
|
+
* Detect redundancies, functional duplicates, or columns that are too similar.
|
|
41
|
+
|
|
42
|
+
B) Security, Reliability, Risk
|
|
43
|
+
|
|
44
|
+
* Identify risks: steps that could cause breakage (e.g., deployment too early), lack of guardrails, missing validations, confusion between environments (staging/prod), etc.
|
|
45
|
+
* Propose concrete safeguards: validations, checks, reviews, tests, explicit confirmations, blocking conditions, etc.
|
|
46
|
+
* Evaluate the workflow's "resilience": does it limit human errors? is it robust?
|
|
47
|
+
|
|
48
|
+
C) Quality vs Cost (tokens)
|
|
49
|
+
|
|
50
|
+
* Evaluate the value of each column: essential / useful / optional / superfluous.
|
|
51
|
+
* Propose a "Lean" version (minimal but safe) and a "Quality" version (more complete), explaining the tokens/quality trade-off.
|
|
52
|
+
* Highlight "expensive" columns (lots of expected context, very verbose steps) vs their actual gain.
|
|
53
|
+
|
|
54
|
+
D) Unused Columns (opportunities)
|
|
55
|
+
|
|
56
|
+
* Analyze the columns NOT used (diff = catalog - configuration).
|
|
57
|
+
* Propose relevant additions (if they bring clear value) and removals (if some current columns don't justify their cost).
|
|
58
|
+
* Prioritize recommendations.
|
|
59
|
+
|
|
60
|
+
Output Format (modal-optimized)
|
|
61
|
+
|
|
62
|
+
1. Summary (5–10 lines): overall state + 3 strengths + 3 main risks.
|
|
63
|
+
2. Diagnosis by segment (definition/action/finish)
|
|
64
|
+
|
|
65
|
+
* Current order + detected issues
|
|
66
|
+
* Recommendations (reordering, moving, removing)
|
|
67
|
+
3. Risks & Safeguards (prioritized list: Severity / Impact / Corrective measure)
|
|
68
|
+
4. Token Analysis: "high ROI" vs "low ROI", then Lean vs Quality proposal
|
|
69
|
+
5. Unused: columns to consider (add/ignore) + justification
|
|
70
|
+
6. Final Proposal: "Recommended new order" (segments + columns) in ordered format
|
|
71
|
+
|
|
72
|
+
Important Constraints
|
|
73
|
+
|
|
74
|
+
* Do not modify segment names.
|
|
75
|
+
* Do not implicitly reorder: if you recommend a new order, write it explicitly.
|
|
76
|
+
* Be critical: if it's a bad idea, say so clearly and justify.
|
|
77
|
+
* Avoid fluff: each recommendation must have a reason and expected benefit.
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
Tu es un auditeur critique de workflow AutoCode.
|
|
2
|
+
|
|
3
|
+
Contexte UI / Interaction
|
|
4
|
+
|
|
5
|
+
* Cette analyse est déclenchée par un utilisateur via un clic sur un bouton **"Analyser"** dans la page *
|
|
6
|
+
*/settings/pipeline/configurator**.
|
|
7
|
+
* Ton texte sera affiché tel quel **dans une modal** (fenêtre de dialogue) immédiatement après le clic.
|
|
8
|
+
* Tu dois donc produire une réponse **lisible en modal** : structurée, scannable, sans digressions, avec des sections
|
|
9
|
+
courtes.
|
|
10
|
+
|
|
11
|
+
Contexte produit
|
|
12
|
+
|
|
13
|
+
* Nous avons une page "Pipeline Configurator" avec 3 segments ordonnés et immuables :
|
|
14
|
+
|
|
15
|
+
1. definition
|
|
16
|
+
2. action
|
|
17
|
+
3. finish
|
|
18
|
+
* Chaque segment contient une liste de colonnes (steps) ordonnée. L'ordre exact est important : c'est l'ordre
|
|
19
|
+
d'exécution / de progression.
|
|
20
|
+
* Il existe aussi un catalogue de colonnes disponibles (certaines sont utilisées, d'autres non).
|
|
21
|
+
* Contrainte coût : plus il y a de colonnes, plus ça consomme de tokens. On cherche un équilibre "qualité / coût". On
|
|
22
|
+
veut éviter les colonnes inutiles ou redondantes.
|
|
23
|
+
|
|
24
|
+
Langue
|
|
25
|
+
|
|
26
|
+
* Réponds dans la langue demandée par l'interface : {ui_language} (ex: "fr" ou "en"). Si {ui_language} est "fr", réponds
|
|
27
|
+
en français. Sinon réponds en anglais.
|
|
28
|
+
|
|
29
|
+
Données d'entrée
|
|
30
|
+
Tu reçois :
|
|
31
|
+
|
|
32
|
+
1. La configuration actuelle (segments + colonnes) en conservant l'ordre exact :
|
|
33
|
+
{pipeline_segments_ordered}
|
|
34
|
+
|
|
35
|
+
2. Le catalogue complet des colonnes disponibles (y compris celles non utilisées) :
|
|
36
|
+
{catalog_all_columns}
|
|
37
|
+
|
|
38
|
+
Mission
|
|
39
|
+
Analyse la configuration actuelle avec un esprit critique et pragmatique. Objectifs :
|
|
40
|
+
A) Cohérence & ordre
|
|
41
|
+
|
|
42
|
+
* Vérifie si l'enchaînement "definition → action → finish" est respecté de manière logique.
|
|
43
|
+
* Analyse l'ordre des colonnes dans chaque segment : est-il pertinent, clair, progressif ?
|
|
44
|
+
* Signale les colonnes qui semblent "mal placées" (mieux dans un autre segment) ou "mal ordonnées" (devraient être
|
|
45
|
+
avant/après d'autres).
|
|
46
|
+
* Détecte les redondances, doublons fonctionnels, ou colonnes trop proches.
|
|
47
|
+
|
|
48
|
+
B) Sécurité, fiabilité, risque
|
|
49
|
+
|
|
50
|
+
* Identifie les risques : étapes qui pourraient causer de la casse (ex: déploiement trop tôt), manque de garde-fous,
|
|
51
|
+
absence de validations, confusion entre environnements (staging/prod), etc.
|
|
52
|
+
* Propose des garde-fous concrets : validations, checks, review, tests, confirmations explicites, conditions de blocage,
|
|
53
|
+
etc.
|
|
54
|
+
* Évalue la "résilience" du workflow : est-ce que ça limite les erreurs humaines ? est-ce que c'est robuste ?
|
|
55
|
+
|
|
56
|
+
C) Qualité vs coût (tokens)
|
|
57
|
+
|
|
58
|
+
* Évalue la valeur de chaque colonne : indispensable / utile / optionnelle / superflue.
|
|
59
|
+
* Propose une version "Lean" (minimale mais sûre) et une version "Quality" (plus complète), en explicitant le compromis
|
|
60
|
+
tokens/qualité.
|
|
61
|
+
* Mets en évidence les colonnes "coûteuses" (beaucoup de contexte attendu, étapes très bavardes) vs leur gain réel.
|
|
62
|
+
|
|
63
|
+
D) Colonnes non utilisées (opportunités)
|
|
64
|
+
|
|
65
|
+
* Analyse les briques/colonnes NON utilisées (diff = catalogue - configuration).
|
|
66
|
+
* Propose des ajouts pertinents (si elles apportent un gain clair) et des suppressions (si certaines colonnes actuelles
|
|
67
|
+
ne justifient pas leur coût).
|
|
68
|
+
* Priorise les recommandations.
|
|
69
|
+
|
|
70
|
+
Format de sortie (optimisé modal)
|
|
71
|
+
|
|
72
|
+
1. Résumé (5–10 lignes) : état global + 3 points forts + 3 risques principaux.
|
|
73
|
+
2. Diagnostic par segment (definition/action/finish)
|
|
74
|
+
|
|
75
|
+
* Ordre actuel + problèmes détectés
|
|
76
|
+
* Recommandations (re-ordonnancement, déplacement, suppression)
|
|
77
|
+
3. Risques & garde-fous (liste priorisée : Gravité / Impact / Mesure corrective)
|
|
78
|
+
4. Analyse tokens : "fort ROI" vs "faible ROI", puis proposition Lean vs Quality
|
|
79
|
+
5. Non utilisé : colonnes à considérer (ajouter/ignorer) + justification
|
|
80
|
+
6. Proposition finale : "Nouvel ordre recommandé" (segments + colonnes) en format ordonné
|
|
81
|
+
|
|
82
|
+
Contraintes importantes
|
|
83
|
+
|
|
84
|
+
* Ne modifie pas les noms des segments.
|
|
85
|
+
* Ne réordonne pas implicitement : si tu recommandes un nouvel ordre, écris-le explicitement.
|
|
86
|
+
* Sois critique : si c'est une mauvaise idée, dis-le clairement et justifie.
|
|
87
|
+
* Évite le blabla : chaque recommandation doit avoir une raison et un bénéfice attendu.
|
package/templates/catalog.yaml
CHANGED
|
@@ -23,7 +23,7 @@ segments:
|
|
|
23
23
|
description: Ready for development
|
|
24
24
|
- slug: splitter
|
|
25
25
|
name: Splitter
|
|
26
|
-
description: Si un besoin est trop gros, il faut le splitter en pleins de petits tickets pour limiter la responsabilité ! on crée ces tickets avec `autocode new "<title>" "<description>"
|
|
26
|
+
description: Si un besoin est trop gros, il faut le splitter en pleins de petits tickets pour limiter la responsabilité ! on crée ces tickets avec `autocode new "<title>" "<description>" --priority P2 --labels "<labels>" --acceptance "<criteria>" --semver patch --column backlog` une fois terminé et qu'on a RIEN oublié on vient `autocode move <ticket-key> <target-column-slug>` dans la colonne terminated. et on vient créer un nouveau ticket qui cite tous ceux qu'on vient de créer pour vérifier que le "tout" fonctionne bien ensemble et est bien cohérent !
|
|
27
27
|
action:
|
|
28
28
|
description: Columns for implementation and validation
|
|
29
29
|
columns:
|
|
@@ -69,6 +69,105 @@ segments:
|
|
|
69
69
|
- slug: retest
|
|
70
70
|
name: Retest
|
|
71
71
|
description: General retest after corrections
|
|
72
|
+
- slug: typecheck
|
|
73
|
+
name: Type checking
|
|
74
|
+
description: Strict TypeScript validation
|
|
75
|
+
- slug: lint-eslint-setup
|
|
76
|
+
name: ESLint Setup
|
|
77
|
+
description: ESLint linting setup
|
|
78
|
+
- slug: format-prettier-setup
|
|
79
|
+
name: Prettier Setup
|
|
80
|
+
description: Automatic code formatting
|
|
81
|
+
- slug: testing-vitest
|
|
82
|
+
name: Vitest Unit Tests
|
|
83
|
+
description: Run Vitest tests
|
|
84
|
+
- slug: testing-coverage
|
|
85
|
+
name: Code Coverage
|
|
86
|
+
description: Test coverage analysis
|
|
87
|
+
- slug: security-audit
|
|
88
|
+
name: npm Security Audit
|
|
89
|
+
description: Vulnerability check
|
|
90
|
+
- slug: deps-outdated
|
|
91
|
+
name: Outdated Dependencies
|
|
92
|
+
description: Check for updates
|
|
93
|
+
- slug: build-dist
|
|
94
|
+
name: Distribution Build
|
|
95
|
+
description: TypeScript compilation to dist/
|
|
96
|
+
- slug: cli-smoke-test
|
|
97
|
+
name: CLI Smoke Test
|
|
98
|
+
description: CLI commands verification
|
|
99
|
+
- slug: api-endpoints-test
|
|
100
|
+
name: API Endpoints Test
|
|
101
|
+
description: Verify 30+ REST endpoints
|
|
102
|
+
- slug: websocket-test
|
|
103
|
+
name: WebSocket Test
|
|
104
|
+
description: Real-time verification
|
|
105
|
+
- slug: pkg-exports-validate
|
|
106
|
+
name: Package Exports Validation
|
|
107
|
+
description: npm exports verification
|
|
108
|
+
- slug: git-conventional-commits
|
|
109
|
+
name: Conventional Commits
|
|
110
|
+
description: Commit format validation
|
|
111
|
+
- slug: version-semver
|
|
112
|
+
name: Semantic Versioning
|
|
113
|
+
description: Semver version validation
|
|
114
|
+
- slug: ci-gitlab-validate
|
|
115
|
+
name: GitLab CI Validation
|
|
116
|
+
description: GitLab pipeline verification
|
|
117
|
+
- slug: docs-readme-validate
|
|
118
|
+
name: README Validation
|
|
119
|
+
description: README documentation check
|
|
120
|
+
- slug: landing-html-validate
|
|
121
|
+
name: Landing Page Validation
|
|
122
|
+
description: Verify public/ HTML/CSS
|
|
123
|
+
- slug: i18n-completeness
|
|
124
|
+
name: i18n Completeness
|
|
125
|
+
description: FR/EN translations check
|
|
126
|
+
- slug: dead-code-check
|
|
127
|
+
name: Dead Code Detection
|
|
128
|
+
description: Unused code identification
|
|
129
|
+
- slug: deps-licenses
|
|
130
|
+
name: License Check
|
|
131
|
+
description: Dependencies license audit
|
|
132
|
+
- slug: security-secrets
|
|
133
|
+
name: Secrets Detection
|
|
134
|
+
description: Secrets scan in code
|
|
135
|
+
- slug: node-version-check
|
|
136
|
+
name: Node Version Check
|
|
137
|
+
description: Node.js compatibility validation
|
|
138
|
+
- slug: file-watcher-test
|
|
139
|
+
name: File Watcher Test
|
|
140
|
+
description: File monitoring verification
|
|
141
|
+
- slug: template-validation
|
|
142
|
+
name: Template Validation
|
|
143
|
+
description: Project templates verification
|
|
144
|
+
- slug: yaml-validate
|
|
145
|
+
name: YAML Files Validation
|
|
146
|
+
description: YAML syntax verification
|
|
147
|
+
- slug: claude-integration-test
|
|
148
|
+
name: Claude Integration Test
|
|
149
|
+
description: Claude AI service verification
|
|
150
|
+
- slug: error-handling-review
|
|
151
|
+
name: Error Handling Review
|
|
152
|
+
description: Try/catch and error verification
|
|
153
|
+
- slug: esm-compatibility
|
|
154
|
+
name: ESM Compatibility
|
|
155
|
+
description: ES modules verification
|
|
156
|
+
- slug: dashboard-responsive
|
|
157
|
+
name: Dashboard Responsive Test
|
|
158
|
+
description: Mobile/tablet display check
|
|
159
|
+
- slug: accessibility-check
|
|
160
|
+
name: Accessibility Check
|
|
161
|
+
description: Dashboard a11y audit
|
|
162
|
+
- slug: git-hooks-setup
|
|
163
|
+
name: Git Hooks Setup
|
|
164
|
+
description: Husky/lefthook setup
|
|
165
|
+
- slug: port-conflict-handling
|
|
166
|
+
name: Port Conflict Handling
|
|
167
|
+
description: Port occupation test
|
|
168
|
+
- slug: graceful-shutdown
|
|
169
|
+
name: Graceful Server Shutdown
|
|
170
|
+
description: SIGTERM/SIGINT test
|
|
72
171
|
finish:
|
|
73
172
|
description: Columns for finalization and deployment
|
|
74
173
|
columns:
|
|
@@ -99,3 +198,6 @@ segments:
|
|
|
99
198
|
- slug: done
|
|
100
199
|
name: Done
|
|
101
200
|
description: Completed
|
|
201
|
+
- slug: npm-publish-dry-run
|
|
202
|
+
name: npm Publish Dry Run
|
|
203
|
+
description: Publish test without publishing
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Accessibility Check
|
|
2
|
+
|
|
3
|
+
## Role
|
|
4
|
+
Verify dashboard is accessible to users with disabilities.
|
|
5
|
+
|
|
6
|
+
## Actions
|
|
7
|
+
1. Install axe-core for Playwright:
|
|
8
|
+
```bash
|
|
9
|
+
npm install -D @axe-core/playwright
|
|
10
|
+
```
|
|
11
|
+
2. Run axe audit on dashboard
|
|
12
|
+
3. Check WCAG 2.1 AA criteria:
|
|
13
|
+
- Color contrast
|
|
14
|
+
- Form labels
|
|
15
|
+
- Keyboard navigation
|
|
16
|
+
- ARIA attributes
|
|
17
|
+
4. Test with screen reader (VoiceOver/NVDA)
|
|
18
|
+
5. Check visible focus
|
|
19
|
+
|
|
20
|
+
## Validation Criteria
|
|
21
|
+
- [ ] No critical axe-core violations
|
|
22
|
+
- [ ] Contrast >= 4.5:1 for text
|
|
23
|
+
- [ ] Complete keyboard navigation
|
|
24
|
+
- [ ] Alt attributes on images
|
|
25
|
+
- [ ] Visible focus on all interactive elements
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Vérification de l'accessibilité
|
|
2
|
+
|
|
3
|
+
## Rôle
|
|
4
|
+
Vérifier que le dashboard est accessible aux utilisateurs avec handicaps.
|
|
5
|
+
|
|
6
|
+
## Actions
|
|
7
|
+
1. Installer axe-core pour Playwright:
|
|
8
|
+
```bash
|
|
9
|
+
npm install -D @axe-core/playwright
|
|
10
|
+
```
|
|
11
|
+
2. Exécuter un audit axe sur le dashboard
|
|
12
|
+
3. Vérifier les critères WCAG 2.1 AA:
|
|
13
|
+
- Contraste des couleurs
|
|
14
|
+
- Labels des formulaires
|
|
15
|
+
- Navigation clavier
|
|
16
|
+
- Attributs ARIA
|
|
17
|
+
4. Tester avec un lecteur d'écran (VoiceOver/NVDA)
|
|
18
|
+
5. Vérifier le focus visible
|
|
19
|
+
|
|
20
|
+
## Critères de validation
|
|
21
|
+
- [ ] Aucune violation critique axe-core
|
|
22
|
+
- [ ] Contraste >= 4.5:1 pour le texte
|
|
23
|
+
- [ ] Navigation clavier complète
|
|
24
|
+
- [ ] Attributs alt sur les images
|
|
25
|
+
- [ ] Focus visible sur tous les éléments interactifs
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# API Endpoints Test
|
|
2
|
+
|
|
3
|
+
## Role
|
|
4
|
+
Verify all REST endpoints of the server work correctly.
|
|
5
|
+
|
|
6
|
+
## Actions
|
|
7
|
+
1. Start server: `node dist/index.js serve --port 3456`
|
|
8
|
+
2. Test main endpoints with curl:
|
|
9
|
+
```bash
|
|
10
|
+
curl http://localhost:3456/api/tickets
|
|
11
|
+
curl http://localhost:3456/api/columns
|
|
12
|
+
curl http://localhost:3456/api/workflow/summary
|
|
13
|
+
curl http://localhost:3456/api/config
|
|
14
|
+
curl http://localhost:3456/api/stats
|
|
15
|
+
```
|
|
16
|
+
3. Verify HTTP return codes (200, 404, etc.)
|
|
17
|
+
4. Validate JSON response format
|
|
18
|
+
5. Test CRUD endpoints (POST, PUT, DELETE)
|
|
19
|
+
6. Stop server cleanly
|
|
20
|
+
|
|
21
|
+
## Validation Criteria
|
|
22
|
+
- [ ] Server starts on specified port
|
|
23
|
+
- [ ] GET /api/tickets returns 200 + JSON
|
|
24
|
+
- [ ] GET /api/columns returns column list
|
|
25
|
+
- [ ] Error endpoints return appropriate 4xx
|
|
26
|
+
- [ ] WebSocket /ws accessible
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Test des endpoints API
|
|
2
|
+
|
|
3
|
+
## Rôle
|
|
4
|
+
Vérifier que tous les endpoints REST du serveur fonctionnent correctement.
|
|
5
|
+
|
|
6
|
+
## Actions
|
|
7
|
+
1. Démarrer le serveur: `node dist/index.js serve --port 3456`
|
|
8
|
+
2. Tester les endpoints principaux avec curl:
|
|
9
|
+
```bash
|
|
10
|
+
curl http://localhost:3456/api/tickets
|
|
11
|
+
curl http://localhost:3456/api/columns
|
|
12
|
+
curl http://localhost:3456/api/workflow/summary
|
|
13
|
+
curl http://localhost:3456/api/config
|
|
14
|
+
curl http://localhost:3456/api/stats
|
|
15
|
+
```
|
|
16
|
+
3. Vérifier les codes de retour HTTP (200, 404, etc.)
|
|
17
|
+
4. Valider le format JSON des réponses
|
|
18
|
+
5. Tester les endpoints CRUD (POST, PUT, DELETE)
|
|
19
|
+
6. Arrêter le serveur proprement
|
|
20
|
+
|
|
21
|
+
## Critères de validation
|
|
22
|
+
- [ ] Serveur démarre sur le port spécifié
|
|
23
|
+
- [ ] GET /api/tickets retourne 200 + JSON
|
|
24
|
+
- [ ] GET /api/columns retourne la liste des colonnes
|
|
25
|
+
- [ ] Endpoints d'erreur retournent 4xx appropriés
|
|
26
|
+
- [ ] WebSocket /ws accessible
|
|
@@ -7,28 +7,17 @@ Storage for new tickets. Tickets here need qualification before work can begin.
|
|
|
7
7
|
## Actions
|
|
8
8
|
|
|
9
9
|
1. Read the ticket (title, description, attachments)
|
|
10
|
-
2. Verify ticket
|
|
11
|
-
3. If poorly written:
|
|
12
|
-
4.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
7. If out of scope work detected:
|
|
16
|
-
- Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
|
|
17
|
-
- Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
|
|
18
|
-
- In scope: handle directly in current ticket
|
|
19
|
-
8. Document: `autocode comment <ticket-key> "Qualification done"`
|
|
20
|
-
9. Advance: `autocode next <ticket-key>`
|
|
21
|
-
|
|
22
|
-
> Or return: `autocode move <ticket-key> <target-column-slug>`
|
|
10
|
+
2. Verify the ticket is complete enough to be processed
|
|
11
|
+
3. If incomplete or poorly written: add a comment requesting clarifications
|
|
12
|
+
4. Advance: `autocode next <ticket-key>`
|
|
13
|
+
|
|
14
|
+
> Or leave in backlog if ticket is not ready
|
|
23
15
|
|
|
24
16
|
## Validation Criteria
|
|
25
17
|
|
|
26
|
-
- [ ]
|
|
27
|
-
- [ ]
|
|
28
|
-
- [ ] Scope is defined (included/excluded)
|
|
29
|
-
- [ ] Priority is set appropriately
|
|
30
|
-
- [ ] If bug: reproduction steps documented
|
|
18
|
+
- [ ] Ticket read and understood
|
|
19
|
+
- [ ] If ready: moved to qualification
|
|
31
20
|
|
|
32
21
|
## Notes
|
|
33
22
|
|
|
34
|
-
|
|
23
|
+
Backlog is passive storage. Active qualification happens in the next step.
|
|
@@ -7,28 +7,17 @@ Stockage des nouveaux tickets. Les tickets ici doivent etre qualifies avant de c
|
|
|
7
7
|
## Actions
|
|
8
8
|
|
|
9
9
|
1. Lire le ticket (titre, description, pieces jointes)
|
|
10
|
-
2. Verifier
|
|
11
|
-
3. Si mal redige :
|
|
12
|
-
4.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
7. Si travail hors scope detecte :
|
|
16
|
-
- Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
|
|
17
|
-
- Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
|
|
18
|
-
- Dans le scope : traiter directement dans le ticket actuel
|
|
19
|
-
8. Documenter : `autocode comment <ticket-key> "Qualification effectuee"`
|
|
20
|
-
9. Avancer : `autocode next <ticket-key>`
|
|
21
|
-
|
|
22
|
-
> Ou retour : `autocode move <ticket-key> <target-column-slug>`
|
|
10
|
+
2. Verifier que le ticket est suffisamment complet pour etre traite
|
|
11
|
+
3. Si incomplet ou mal redige : ajouter un commentaire demandant des clarifications
|
|
12
|
+
4. Avancer : `autocode next <ticket-key>`
|
|
13
|
+
|
|
14
|
+
> Ou laisser en backlog si le ticket n'est pas pret
|
|
23
15
|
|
|
24
16
|
## Criteres de Validation
|
|
25
17
|
|
|
26
|
-
- [ ]
|
|
27
|
-
- [ ]
|
|
28
|
-
- [ ] Perimetre defini (inclus/exclus)
|
|
29
|
-
- [ ] Priorite definie correctement
|
|
30
|
-
- [ ] Si bug : etapes de reproduction documentees
|
|
18
|
+
- [ ] Ticket lu et compris
|
|
19
|
+
- [ ] Si pret : avance vers qualification
|
|
31
20
|
|
|
32
21
|
## Notes
|
|
33
22
|
|
|
34
|
-
|
|
23
|
+
Le backlog est un stockage passif. La qualification active se fait a l'etape suivante.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Distribution Build
|
|
2
|
+
|
|
3
|
+
## Role
|
|
4
|
+
Compile TypeScript code and generate distribution files.
|
|
5
|
+
|
|
6
|
+
## Actions
|
|
7
|
+
1. Clean existing dist/ directory: `rm -rf dist/`
|
|
8
|
+
2. Run `npm run build` (tsc)
|
|
9
|
+
3. Verify file generation:
|
|
10
|
+
- dist/*.js (compiled files)
|
|
11
|
+
- dist/*.d.ts (type declarations)
|
|
12
|
+
- dist/*.js.map (source maps)
|
|
13
|
+
4. Verify bin/autocode points to dist/index.js
|
|
14
|
+
5. Test execution: `node dist/index.js --version`
|
|
15
|
+
|
|
16
|
+
## Validation Criteria
|
|
17
|
+
- [ ] `npm run build` runs without errors
|
|
18
|
+
- [ ] dist/ contains all compiled files
|
|
19
|
+
- [ ] .d.ts files generated for types
|
|
20
|
+
- [ ] `node dist/index.js --version` works
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Build de distribution
|
|
2
|
+
|
|
3
|
+
## Rôle
|
|
4
|
+
Compiler le code TypeScript et générer les fichiers de distribution.
|
|
5
|
+
|
|
6
|
+
## Actions
|
|
7
|
+
1. Nettoyer le répertoire dist/ existant: `rm -rf dist/`
|
|
8
|
+
2. Exécuter `npm run build` (tsc)
|
|
9
|
+
3. Vérifier la génération des fichiers:
|
|
10
|
+
- dist/*.js (fichiers compilés)
|
|
11
|
+
- dist/*.d.ts (déclarations de types)
|
|
12
|
+
- dist/*.js.map (source maps)
|
|
13
|
+
4. Vérifier que bin/autocode pointe vers dist/index.js
|
|
14
|
+
5. Tester l'exécution: `node dist/index.js --version`
|
|
15
|
+
|
|
16
|
+
## Critères de validation
|
|
17
|
+
- [ ] `npm run build` s'exécute sans erreur
|
|
18
|
+
- [ ] dist/ contient tous les fichiers compilés
|
|
19
|
+
- [ ] Fichiers .d.ts générés pour les types
|
|
20
|
+
- [ ] `node dist/index.js --version` fonctionne
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# GitLab CI Validation
|
|
2
|
+
|
|
3
|
+
## Role
|
|
4
|
+
Verify GitLab CI configuration is valid and optimized.
|
|
5
|
+
|
|
6
|
+
## Actions
|
|
7
|
+
1. Validate .gitlab-ci.yml syntax:
|
|
8
|
+
- Use GitLab CI linter (API or local)
|
|
9
|
+
2. Check defined stages: build, test, publish, deploy
|
|
10
|
+
3. Analyze each job:
|
|
11
|
+
- npm:build → TypeScript compilation
|
|
12
|
+
- npm:test → tests (allow_failure: true)
|
|
13
|
+
- npm:publish → npm publish on tags
|
|
14
|
+
- pages → GitLab Pages deployment
|
|
15
|
+
4. Check trigger rules (rules)
|
|
16
|
+
5. Optimize cache (node_modules)
|
|
17
|
+
|
|
18
|
+
## Validation Criteria
|
|
19
|
+
- [ ] .gitlab-ci.yml syntactically valid
|
|
20
|
+
- [ ] Jobs run in correct order
|
|
21
|
+
- [ ] Cache configured correctly
|
|
22
|
+
- [ ] Publishing only on semver tags
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Validation GitLab CI
|
|
2
|
+
|
|
3
|
+
## Rôle
|
|
4
|
+
Vérifier que la configuration GitLab CI est valide et optimisée.
|
|
5
|
+
|
|
6
|
+
## Actions
|
|
7
|
+
1. Valider la syntaxe de .gitlab-ci.yml:
|
|
8
|
+
- Utiliser le linter GitLab CI (API ou local)
|
|
9
|
+
2. Vérifier les stages définis: build, test, publish, deploy
|
|
10
|
+
3. Analyser chaque job:
|
|
11
|
+
- npm:build → compilation TypeScript
|
|
12
|
+
- npm:test → tests (allow_failure: true)
|
|
13
|
+
- npm:publish → publication npm sur tags
|
|
14
|
+
- pages → déploiement GitLab Pages
|
|
15
|
+
4. Vérifier les règles de déclenchement (rules)
|
|
16
|
+
5. Optimiser le cache (node_modules)
|
|
17
|
+
|
|
18
|
+
## Critères de validation
|
|
19
|
+
- [ ] .gitlab-ci.yml syntaxiquement valide
|
|
20
|
+
- [ ] Jobs s'exécutent dans le bon ordre
|
|
21
|
+
- [ ] Cache configuré correctement
|
|
22
|
+
- [ ] Publication uniquement sur tags semver
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Claude Integration Test
|
|
2
|
+
|
|
3
|
+
## Role
|
|
4
|
+
Verify Claude CLI integration works correctly.
|
|
5
|
+
|
|
6
|
+
## Actions
|
|
7
|
+
1. Verify claude.ts service is correctly implemented
|
|
8
|
+
2. Test Claude CLI detection:
|
|
9
|
+
```bash
|
|
10
|
+
which claude || echo "Claude CLI not installed"
|
|
11
|
+
```
|
|
12
|
+
3. Verify error handling if Claude missing
|
|
13
|
+
4. Test Claude call via /api/claude API
|
|
14
|
+
5. Verify generated prompts format
|
|
15
|
+
6. Test autocreate with Claude
|
|
16
|
+
|
|
17
|
+
## Validation Criteria
|
|
18
|
+
- [ ] claude.ts service compiles without errors
|
|
19
|
+
- [ ] Graceful handling if Claude CLI missing
|
|
20
|
+
- [ ] /api/claude API responds correctly
|
|
21
|
+
- [ ] Generated prompts are valid
|
|
22
|
+
- [ ] Timeouts configured correctly
|