create-quiver 0.17.5 → 0.17.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/docs/TROUBLESHOOTING.md +52 -0
  2. package/docs/reference/commands.md +3 -0
  3. package/docs/workflows/existing-project-ai-quiver-setup.md +0 -1
  4. package/docs/workflows/existing-project.md +1 -0
  5. package/package.json +1 -1
  6. package/specs/quiver-v43-cli-i18n-audit-release-readiness/command-language-mode-matrix.json +1 -0
  7. package/specs/quiver-v57-evidence-budget-recovery-ux/EVIDENCE_REPORT.md +27 -0
  8. package/specs/quiver-v57-evidence-budget-recovery-ux/EXECUTION_PLAN.md +41 -0
  9. package/specs/quiver-v57-evidence-budget-recovery-ux/SPEC.md +139 -0
  10. package/specs/quiver-v57-evidence-budget-recovery-ux/STATUS.md +20 -0
  11. package/specs/quiver-v57-evidence-budget-recovery-ux/pr.md +124 -0
  12. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-01-recovery-contract-security-classifier/CLOSURE_BRIEF.md +22 -0
  13. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-01-recovery-contract-security-classifier/EXECUTION_BRIEF.md +58 -0
  14. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-01-recovery-contract-security-classifier/pr.md +12 -0
  15. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-01-recovery-contract-security-classifier/slice.json +60 -0
  16. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-02-budget-command-recommendation/CLOSURE_BRIEF.md +9 -0
  17. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-02-budget-command-recommendation/EXECUTION_BRIEF.md +54 -0
  18. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-02-budget-command-recommendation/pr.md +12 -0
  19. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-02-budget-command-recommendation/slice.json +60 -0
  20. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-03-cli-json-i18n-output/CLOSURE_BRIEF.md +10 -0
  21. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-03-cli-json-i18n-output/EXECUTION_BRIEF.md +58 -0
  22. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-03-cli-json-i18n-output/pr.md +13 -0
  23. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-03-cli-json-i18n-output/slice.json +68 -0
  24. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-04-integration-fixtures-docs-release-smoke/CLOSURE_BRIEF.md +14 -0
  25. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-04-integration-fixtures-docs-release-smoke/EXECUTION_BRIEF.md +55 -0
  26. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-04-integration-fixtures-docs-release-smoke/pr.md +14 -0
  27. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-04-integration-fixtures-docs-release-smoke/slice.json +65 -0
  28. package/src/create-quiver/commands/ai.js +96 -1
  29. package/src/create-quiver/lib/ai/analyze-project-recovery.js +736 -0
  30. package/src/create-quiver/lib/ai/analyze-project-validation.js +1 -0
  31. package/src/create-quiver/lib/i18n/messages/en.js +6 -0
  32. package/src/create-quiver/lib/i18n/messages/es.js +6 -0
@@ -169,6 +169,7 @@ function writeAnalyzeProjectValidationManifest(repoRoot, options = {}) {
169
169
  issue_count: issues.length,
170
170
  groups: groupAnalyzeProjectIssues(issues, { maxExamplesPerGroup: 5 }),
171
171
  retry: options.retry || null,
172
+ recovery: options.recovery || null,
172
173
  issues,
173
174
  };
174
175
 
@@ -34,6 +34,12 @@ module.exports = {
34
34
  'common.unknown': 'unknown',
35
35
  'common.warning': 'Warning: {message}',
36
36
  'common.yes': 'yes',
37
+ 'analyze_project.recovery.budget': 'Suggested budget: --max-files {files}, --max-bytes {bytes}',
38
+ 'analyze_project.recovery.reason': 'The provider cited evidence that was not included in the selected context sample.',
39
+ 'analyze_project.recovery.recommended_command': 'Recommended command:',
40
+ 'analyze_project.recovery.safe_fallback': 'No safe automatic budget recommendation is available. Inspect the selected evidence with `npx create-quiver ai analyze-project --deep --dry-run --json`, then rerun with a narrower scope.',
41
+ 'analyze_project.recovery.title': 'Recommended fix',
42
+ 'analyze_project.recovery.warning': 'Recovery warning',
37
43
  'config.error.unsupported_language': 'unsupported language: {language}. Supported languages: {supported}. Run: npx create-quiver config language set {fallback}',
38
44
  'config.error.unsupported_language_command': 'unsupported config language command: {command}. Supported commands: show, set',
39
45
  'config.error.unsupported_section': 'unsupported config section: {section}. Supported sections: language',
@@ -150,6 +150,12 @@ module.exports = {
150
150
  'common.unknown': 'desconocido',
151
151
  'common.warning': 'Advertencia: {message}',
152
152
  'common.yes': 'si',
153
+ 'analyze_project.recovery.budget': 'Presupuesto sugerido: --max-files {files}, --max-bytes {bytes}',
154
+ 'analyze_project.recovery.reason': 'El provider cito evidencia que no estaba incluida en la muestra de contexto seleccionada.',
155
+ 'analyze_project.recovery.recommended_command': 'Comando recomendado:',
156
+ 'analyze_project.recovery.safe_fallback': 'No hay una recomendacion automatica segura de presupuesto. Inspecciona la evidencia seleccionada con `npx create-quiver ai analyze-project --deep --dry-run --json` y luego reejecuta con un scope mas acotado.',
157
+ 'analyze_project.recovery.title': 'Solucion recomendada',
158
+ 'analyze_project.recovery.warning': 'Advertencia de recuperacion',
153
159
  'config.error.unsupported_language': 'idioma no compatible: {language}. Idiomas soportados: {supported}. Ejecuta: npx create-quiver config language set {fallback}',
154
160
  'config.error.unsupported_language_command': 'comando de idioma de config no compatible: {command}. Comandos soportados: show, set',
155
161
  'config.error.unsupported_section': 'seccion de config no compatible: {section}. Secciones soportadas: language',