aiwf 0.3.0 → 0.3.2
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/.aiwf/.claude/commands/aiwf/aiwf_compress_aggressive_persona.md +53 -0
- package/.aiwf/.claude/commands/aiwf/aiwf_compress_minimal_persona.md +48 -0
- package/.aiwf/.claude/commands/aiwf/aiwf_compress_stats.md +79 -0
- package/.aiwf/.claude/commands/aiwf/aiwf_compress_with_persona.md +51 -0
- package/.aiwf/.claude/commands/aiwf/aiwf_evaluate.md +92 -0
- package/.aiwf/00_PROJECT_MANIFEST.md +183 -0
- package/.aiwf/01_PROJECT_DOCS/ARCHITECTURE.md +121 -0
- package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_ADVANCED_USE_CASES.md +412 -0
- package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_API_REFERENCE.md +361 -0
- package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_COMMANDS_GUIDE.md +254 -0
- package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_FAQ.md +365 -0
- package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_SYSTEM_OVERVIEW.md +305 -0
- package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_USER_GUIDE.md +416 -0
- package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_/354/213/234/354/236/221_/352/260/200/354/235/264/353/223/234.md +247 -0
- package/.aiwf/02_REQUIREMENTS/CLAUDE.md +78 -0
- package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/M02_milestone_meta.md +34 -0
- package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/PRD_Context_Engineering_Enhancement.md +108 -0
- package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/SPECS_AI_Persona_System.md +299 -0
- package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/SPECS_Feature_Ledger_System.md +330 -0
- package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/SPECS_Token_Optimization.md +833 -0
- package/.aiwf/03_SPRINTS/CLAUDE.md +83 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/S01_M02_sprint_meta.md +95 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX01_S01_Feature_Ledger_/353/215/260/354/235/264/355/204/260_/352/265/254/354/241/260_/354/204/244/352/263/204.md +111 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX02_S01_Feature_Ledger_CLI_/353/252/205/353/240/271/354/226/264_/352/260/234/353/260/234.md +115 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX03_S01_Git_/354/227/260/353/217/231_Feature_/354/266/224/354/240/201.md +141 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX04_S01_Feature_Ledger_/353/254/270/354/204/234/355/231/224.md +114 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX05_S01_AI_/355/216/230/353/245/264/354/206/214/353/202/230_/353/215/260/354/235/264/355/204/260_/352/265/254/354/241/260_/354/204/244/352/263/204.md +123 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX06_S01_/355/216/230/353/245/264/354/206/214/353/202/230_/352/264/200/353/246/254_/353/252/205/353/240/271/354/226/264_/352/265/254/355/230/204.md +114 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX07_S01_Context_/354/225/225/354/266/225_/354/225/204/355/202/244/355/205/215/354/262/230_/354/204/244/352/263/204.md +114 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX08_S01_/355/206/240/355/201/260_/354/266/224/354/240/201_/354/213/234/354/212/244/355/205/234_/355/224/204/353/241/234/355/206/240/355/203/200/354/236/205.md +112 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX09_S01_/354/225/225/354/266/225_/354/225/214/352/263/240/353/246/254/354/246/230_/355/224/204/353/241/234/355/206/240/355/203/200/354/236/205.md +118 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX10_S01_update_docs_/353/252/205/353/240/271/354/226/264_/353/263/265/352/265/254.md +118 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX11_S01_/355/206/265/355/225/251_/355/205/214/354/212/244/355/212/270_Suite_/352/265/254/354/266/225.md +128 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX12_S01_/354/204/261/353/212/245_/354/265/234/354/240/201/355/231/224_/353/260/217_/353/254/270/354/204/234/355/231/224.md +122 -0
- package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/S02_M02_sprint_meta.md +107 -0
- package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/TX01_S02_AI_/355/216/230/353/245/264/354/206/214/353/202/230_/353/252/205/353/240/271/354/226/264_/352/265/254/355/230/204.md +129 -0
- package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/TX02_S02_/355/216/230/353/245/264/354/206/214/353/202/230_/354/273/250/355/205/215/354/212/244/355/212/270_/354/240/201/354/232/251_/354/213/234/354/212/244/355/205/234.md +152 -0
- package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/TX03_S02_Context_/354/225/225/354/266/225_/354/225/214/352/263/240/353/246/254/354/246/230_/352/265/254/355/230/204.md +186 -0
- package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/TX05_S02_S02_/355/206/265/355/225/251_/355/205/214/354/212/244/355/212/270_/353/260/217_/353/254/270/354/204/234/355/231/224.md +192 -0
- package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/TX4_S02_Feature_Git_/354/227/260/353/217/231_/353/260/217_/354/236/220/353/217/231/355/231/224.md +162 -0
- package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/S03_FINAL_SPRINT_SUMMARY.md +137 -0
- package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/S03_M02_sprint_meta.md +106 -0
- package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/TX14_S03_M02_/353/247/210/354/235/274/354/212/244/355/206/244_/354/265/234/354/242/205_/352/262/200/354/246/235_/353/260/217_/353/254/270/354/204/234/355/231/224.md +214 -0
- package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/TX15_S03_/352/270/260/353/263/270_/355/224/204/353/241/234/354/240/235/355/212/270_/355/205/234/355/224/214/353/246/277_/352/260/234/353/260/234.md +177 -0
- package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/TX16_S03_/354/230/244/355/224/204/353/235/274/354/235/270_/355/205/234/355/224/214/353/246/277_/354/272/220/354/213/234_/354/213/234/354/212/244/355/205/234.md +206 -0
- package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/TX_T13_S03_AI_/353/217/204/352/265/254_/355/206/265/355/225/251_/355/205/234/355/224/214/353/246/277_/352/260/234/353/260/234.md +151 -0
- package/.aiwf/04_GENERAL_TASKS/CLAUDE.md +96 -0
- package/.aiwf/04_GENERAL_TASKS/TX001_complete_english_translation.md +127 -0
- package/.aiwf/05_DOCUMENTATION/performance-report.md +33 -0
- package/.aiwf/06_FEATURE_LEDGERS/FEATURE_GIT_INTEGRATION.md +314 -0
- package/.aiwf/06_FEATURE_LEDGERS/FEATURE_INTEGRATION_GUIDE.md +227 -0
- package/.aiwf/06_FEATURE_LEDGERS/FEATURE_LEDGER_INDEX.md +23 -0
- package/.aiwf/06_FEATURE_LEDGERS/FEATURE_SCHEMA.md +205 -0
- package/.aiwf/06_FEATURE_LEDGERS/FEATURE_STATE_DIAGRAM.md +190 -0
- package/.aiwf/06_FEATURE_LEDGERS/active/FL001_user_authentication_system.md +47 -0
- package/.aiwf/06_FEATURE_LEDGERS/active/FL002_user_authentication_system.md +47 -0
- package/.aiwf/07_AI_PERSONAS/PERSONA_INDEX.md +57 -0
- package/.aiwf/07_AI_PERSONAS/architect/best_practices.md +104 -0
- package/.aiwf/07_AI_PERSONAS/architect/context_rules.md +46 -0
- package/.aiwf/07_AI_PERSONAS/architect/knowledge_base.md +235 -0
- package/.aiwf/07_AI_PERSONAS/backend/best_practices.md +363 -0
- package/.aiwf/07_AI_PERSONAS/backend/context_rules.md +61 -0
- package/.aiwf/07_AI_PERSONAS/backend/knowledge_base.md +623 -0
- package/.aiwf/07_AI_PERSONAS/data_analyst/best_practices.md +32 -0
- package/.aiwf/07_AI_PERSONAS/data_analyst/context_rules.md +43 -0
- package/.aiwf/07_AI_PERSONAS/data_analyst/knowledge_base.md +36 -0
- package/.aiwf/07_AI_PERSONAS/frontend/best_practices.md +31 -0
- package/.aiwf/07_AI_PERSONAS/frontend/context_rules.md +43 -0
- package/.aiwf/07_AI_PERSONAS/frontend/knowledge_base.md +32 -0
- package/.aiwf/07_AI_PERSONAS/security/best_practices.md +63 -0
- package/.aiwf/07_AI_PERSONAS/security/context_rules.md +53 -0
- package/.aiwf/07_AI_PERSONAS/security/knowledge_base.md +93 -0
- package/.aiwf/10_PERSONAS/active.json +1 -0
- package/.aiwf/10_PERSONAS/developer.md +37 -0
- package/.aiwf/10_STATE_OF_PROJECT/2025-07-09-07-20-solid-progress.md +144 -0
- package/.aiwf/98_PROMPTS/SAAS_DEVELOPMENT_GUIDE.md +302 -0
- package/.aiwf/98_PROMPTS/github_integration.md +130 -0
- package/.aiwf/98_PROMPTS/useful-prompts.md +31 -0
- package/.aiwf/98_PROMPTS/vibe-front-prompts.md +89 -0
- package/.aiwf/99_TEMPLATES/adr_template.md +49 -0
- package/.aiwf/99_TEMPLATES/feature_template.md +263 -0
- package/.aiwf/99_TEMPLATES/milestone_meta_template.md +25 -0
- package/.aiwf/99_TEMPLATES/project_manifest_template.md +39 -0
- package/.aiwf/99_TEMPLATES/sprint_meta_template.md +23 -0
- package/.aiwf/99_TEMPLATES/task_template.md +36 -0
- package/.aiwf/CLAUDE.md +76 -0
- package/.aiwf/ai-tools/README.md +105 -0
- package/.aiwf/ai-tools/augment/README.md +371 -0
- package/.aiwf/ai-tools/augment/config.json +30 -0
- package/.aiwf/ai-tools/augment/template/.augment/aiwf-integration.md +387 -0
- package/.aiwf/ai-tools/augment/template/.augment/augment.yaml +347 -0
- package/.aiwf/ai-tools/augment/template/augment.config.json +64 -0
- package/.aiwf/ai-tools/claude-code/README.md +151 -0
- package/.aiwf/ai-tools/claude-code/config.json +28 -0
- package/.aiwf/ai-tools/claude-code/template/CLAUDE.md +91 -0
- package/.aiwf/ai-tools/cursor/README.md +314 -0
- package/.aiwf/ai-tools/cursor/config.json +29 -0
- package/.aiwf/ai-tools/cursor/template/.cursorrules +362 -0
- package/.aiwf/ai-tools/github-copilot/README.md +195 -0
- package/.aiwf/ai-tools/github-copilot/config.json +24 -0
- package/.aiwf/ai-tools/github-copilot/template/.github/copilot-instructions.md +202 -0
- package/.aiwf/ai-tools/windsurf/README.md +355 -0
- package/.aiwf/ai-tools/windsurf/config.json +29 -0
- package/.aiwf/ai-tools/windsurf/template/.windsurf/aiwf-rules.md +260 -0
- package/.aiwf/ai-tools/windsurf/template/.windsurf/windsurf.config.js +312 -0
- package/.aiwf/ai-tools/windsurf/template/windsurf.config.json +63 -0
- package/.aiwf/config/language.json +6 -0
- package/.aiwf/feature-ledger/FL-001-authentication.json +52 -0
- package/.aiwf/feature-ledger/feature-index.json +20 -0
- package/.aiwf/personas/analyst.json +44 -0
- package/.aiwf/personas/architect/best_practices.md +136 -0
- package/.aiwf/personas/architect/knowledge_base.md +377 -0
- package/.aiwf/personas/architect.json +44 -0
- package/.aiwf/personas/backend/best_practices.md +766 -0
- package/.aiwf/personas/backend/knowledge_base.md +1070 -0
- package/.aiwf/personas/data_analyst/best_practices.md +594 -0
- package/.aiwf/personas/data_analyst/knowledge_base.md +1057 -0
- package/.aiwf/personas/developer.json +44 -0
- package/.aiwf/personas/evaluation_criteria.json +137 -0
- package/.aiwf/personas/frontend/best_practices.md +445 -0
- package/.aiwf/personas/frontend/knowledge_base.md +729 -0
- package/.aiwf/personas/persona-index.json +31 -0
- package/.aiwf/personas/reviewer.json +44 -0
- package/.aiwf/personas/security/best_practices.md +307 -0
- package/.aiwf/personas/security/knowledge_base.md +498 -0
- package/.aiwf/personas/tester.json +44 -0
- package/.aiwf/scripts/cache-templates.js +209 -0
- package/.aiwf/scripts/create-offline.js +86 -0
- package/.aiwf/scripts/create-project.js +151 -0
- package/.aiwf/scripts/feature-progress-calculator.cjs +236 -0
- package/.aiwf/scripts/git-integration.cjs +391 -0
- package/.aiwf/scripts/install-git-hooks.cjs +226 -0
- package/.aiwf/scripts/test-commit-parsing.cjs +125 -0
- package/.aiwf/scripts/update-feature-status.cjs +198 -0
- package/.aiwf/templates/README.md +78 -0
- package/.aiwf/templates/api-server/config.json +64 -0
- package/.aiwf/templates/api-server/template/.aiwf/config.json +56 -0
- package/.aiwf/templates/api-server/template/.aiwf/feature-ledger.json +42 -0
- package/.aiwf/templates/api-server/template/.aiwf/personas/backend-engineer.json +40 -0
- package/.aiwf/templates/api-server/template/.aiwf/scripts/cli.js +111 -0
- package/.aiwf/templates/api-server/template/.env.example +29 -0
- package/.aiwf/templates/api-server/template/.eslintrc.json +23 -0
- package/.aiwf/templates/api-server/template/README.md +171 -0
- package/.aiwf/templates/api-server/template/jest.config.js +26 -0
- package/.aiwf/templates/api-server/template/nodemon.json +9 -0
- package/.aiwf/templates/api-server/template/package.json +61 -0
- package/.aiwf/templates/api-server/template/src/app.ts +60 -0
- package/.aiwf/templates/api-server/template/src/config/swagger.ts +38 -0
- package/.aiwf/templates/api-server/template/src/controllers/aiwfController.ts +68 -0
- package/.aiwf/templates/api-server/template/src/controllers/authController.ts +128 -0
- package/.aiwf/templates/api-server/template/src/controllers/statusController.ts +28 -0
- package/.aiwf/templates/api-server/template/src/index.ts +28 -0
- package/.aiwf/templates/api-server/template/src/middleware/aiwfMiddleware.ts +50 -0
- package/.aiwf/templates/api-server/template/src/middleware/authMiddleware.ts +41 -0
- package/.aiwf/templates/api-server/template/src/middleware/errorHandler.ts +42 -0
- package/.aiwf/templates/api-server/template/src/middleware/notFoundHandler.ts +14 -0
- package/.aiwf/templates/api-server/template/src/middleware/requestLogger.ts +20 -0
- package/.aiwf/templates/api-server/template/src/routes/aiwf.ts +42 -0
- package/.aiwf/templates/api-server/template/src/routes/index.ts +13 -0
- package/.aiwf/templates/api-server/template/src/routes/v1/index.ts +67 -0
- package/.aiwf/templates/api-server/template/src/utils/logger.ts +37 -0
- package/.aiwf/templates/api-server/template/tests/app.test.ts +40 -0
- package/.aiwf/templates/api-server/template/tsconfig.json +43 -0
- package/.aiwf/templates/npm-library/config.json +61 -0
- package/.aiwf/templates/npm-library/template/LICENSE +21 -0
- package/.aiwf/templates/npm-library/template/README.md +201 -0
- package/.aiwf/templates/npm-library/template/package.json +78 -0
- package/.aiwf/templates/web-app/config.json +53 -0
- package/.aiwf/templates/web-app/template/.aiwf/config.json +54 -0
- package/.aiwf/templates/web-app/template/.aiwf/feature-ledger.json +37 -0
- package/.aiwf/templates/web-app/template/.aiwf/personas/fullstack-developer.json +40 -0
- package/.aiwf/templates/web-app/template/.aiwf/scripts/cli.js +110 -0
- package/.aiwf/templates/web-app/template/.eslintrc.cjs +20 -0
- package/.aiwf/templates/web-app/template/README.md +151 -0
- package/.aiwf/templates/web-app/template/index.html +14 -0
- package/.aiwf/templates/web-app/template/package.json +44 -0
- package/.aiwf/templates/web-app/template/postcss.config.js +6 -0
- package/.aiwf/templates/web-app/template/public/vite.svg +1 -0
- package/.aiwf/templates/web-app/template/src/App.tsx +21 -0
- package/.aiwf/templates/web-app/template/src/components/Layout.tsx +57 -0
- package/.aiwf/templates/web-app/template/src/components/aiwf/ContextStatus.tsx +107 -0
- package/.aiwf/templates/web-app/template/src/components/aiwf/FeatureLedger.tsx +93 -0
- package/.aiwf/templates/web-app/template/src/components/aiwf/TokenUsage.tsx +71 -0
- package/.aiwf/templates/web-app/template/src/index.css +60 -0
- package/.aiwf/templates/web-app/template/src/main.tsx +10 -0
- package/.aiwf/templates/web-app/template/src/pages/AiwfDashboard.tsx +60 -0
- package/.aiwf/templates/web-app/template/src/pages/HomePage.tsx +89 -0
- package/.aiwf/templates/web-app/template/src/pages/NotFound.tsx +25 -0
- package/.aiwf/templates/web-app/template/src/stores/aiwfStore.ts +126 -0
- package/.aiwf/templates/web-app/template/src/types/global.d.ts +9 -0
- package/.aiwf/templates/web-app/template/src/vite-env.d.ts +1 -0
- package/.aiwf/templates/web-app/template/tailwind.config.js +30 -0
- package/.aiwf/templates/web-app/template/tsconfig.json +37 -0
- package/.aiwf/templates/web-app/template/tsconfig.node.json +10 -0
- package/.aiwf/templates/web-app/template/vite.config.ts +23 -0
- package/.aiwf/test-cache/86c7f9e80251abb8bedd58953ab0d1779e46b4f43ea33b63bffdb778106373b0.json +6 -0
- package/.aiwf/test-cache/9e252a90b80fce0585d7ed0646e7a9b4343e109f661f42a3ae678ba1ec5e22c7.json +7 -0
- package/.aiwf/test-results-s02.json +36 -0
- package/.aiwf/token-data/alerts.json +293 -0
- package/.aiwf/token-data/monitor-config.json +12 -0
- package/CHANGELOG.md +119 -33
- package/CHANGELOG_M02.md +52 -0
- package/CLAUDE.md +133 -199
- package/README.ko.md +5 -0
- package/README.md +31 -5
- package/RELEASE_NOTES_M02.md +177 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_feature_ledger.md +54 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_default_mode.md +66 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_docs.md +225 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_get_feature_details.md +78 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_link_feature_to_milestone.md +57 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_list_features.md +54 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_architect.md +60 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_backend.md +60 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_data_analyst.md +60 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_frontend.md +60 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_security.md +60 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_status.md +72 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_switch_language.md +160 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_update_feature_status.md +53 -0
- package/claude-code/aiwf/en/commands/ai-persona.js +667 -0
- package/claude-code/aiwf/en/commands/compress-context.js +355 -0
- package/claude-code/aiwf/en/commands/feature-ledger.js +565 -0
- package/claude-code/aiwf/en/commands/feature_commit_report.js +370 -0
- package/claude-code/aiwf/en/commands/scan_git_history.js +234 -0
- package/claude-code/aiwf/en/commands/sync_feature_commits.js +154 -0
- package/claude-code/aiwf/en/commands/token-tracking.js +443 -0
- package/claude-code/aiwf/en/config/commit-patterns.js +103 -0
- package/claude-code/aiwf/en/hooks/install-hooks.sh +100 -0
- package/claude-code/aiwf/en/hooks/post-commit +84 -0
- package/claude-code/aiwf/en/tests/compression-test-suite.js +1252 -0
- package/claude-code/aiwf/en/tests/test-git-integration.js +164 -0
- package/claude-code/aiwf/en/tests/token-tracking.test.js +537 -0
- package/claude-code/aiwf/en/utils/compression-metrics.js +1031 -0
- package/claude-code/aiwf/en/utils/compression-strategies.js +557 -0
- package/claude-code/aiwf/en/utils/content-normalizer.js +455 -0
- package/claude-code/aiwf/en/utils/context-compressor.js +583 -0
- package/claude-code/aiwf/en/utils/feature-updater.js +271 -0
- package/claude-code/aiwf/en/utils/git-utils.js +220 -0
- package/claude-code/aiwf/en/utils/importance-classifier.js +645 -0
- package/claude-code/aiwf/en/utils/information-filter.js +710 -0
- package/claude-code/aiwf/en/utils/text-summarizer.js +487 -0
- package/claude-code/aiwf/en/utils/token-counter.js +177 -0
- package/claude-code/aiwf/en/utils/token-monitor.js +484 -0
- package/claude-code/aiwf/en/utils/token-reporter.js +453 -0
- package/claude-code/aiwf/en/utils/token-storage.js +433 -0
- package/claude-code/aiwf/en/utils/token-tracker.js +283 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_ID_GENERATOR.md +138 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_INDEX.md +186 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_METADATA.md +240 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_WORKFLOW.md +183 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/README.md +94 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/active/FL001_/354/202/254/354/232/251/354/236/220_/354/235/270/354/246/235_/354/213/234/354/212/244/355/205/234.md +154 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/active/FL002_ai_/355/216/230/353/245/264/354/206/214/353/202/230_/354/213/234/354/212/244/355/205/234.md +272 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/completed/FL003_/353/213/244/352/265/255/354/226/264_/353/252/205/353/240/271/354/226/264_/355/221/234/354/244/200/355/231/224.md +266 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/schemas/feature_schema.json +122 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/schemas/feature_validator.cjs +406 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_code_review.md +62 -62
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_commit.md +111 -111
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_aggressive_persona.md +53 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_context.md +116 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_minimal_persona.md +48 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_stats.md +79 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_with_persona.md +51 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_feature_ledger.md +54 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_general_task.md +106 -106
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_milestone_plan.md +127 -127
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_sprint_tasks.md +130 -130
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_sprints_from_milestone.md +87 -87
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_default_mode.md +44 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_do_task.md +72 -72
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_docs.md +225 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_evaluate.md +92 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_get_feature_details.md +78 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_initialize.md +86 -86
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_issue_create.md +3 -3
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_link_feature_to_milestone.md +57 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_list_features.md +54 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_architect.md +48 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_backend.md +37 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_data_analyst.md +37 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_frontend.md +37 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_security.md +48 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_status.md +50 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_pr_create.md +14 -14
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_prime.md +5 -5
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_project_review.md +39 -39
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_switch_language.md +160 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_test.md +76 -77
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_testing_review.md +120 -120
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_general.md +209 -266
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_update_docs_kr.md +25 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_update_feature_status.md +53 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_yolo.md +226 -226
- package/claude-code/aiwf/ko/CLAUDE.md +76 -0
- package/claude-code/aiwf/ko/ai-tools/README.md +105 -0
- package/claude-code/aiwf/ko/ai-tools/augment/README.md +371 -0
- package/claude-code/aiwf/ko/ai-tools/augment/config.json +30 -0
- package/claude-code/aiwf/ko/ai-tools/augment/template/.augment/aiwf-integration.md +387 -0
- package/claude-code/aiwf/ko/ai-tools/augment/template/.augment/augment.yaml +347 -0
- package/claude-code/aiwf/ko/ai-tools/augment/template/augment.config.json +64 -0
- package/claude-code/aiwf/ko/ai-tools/claude-code/README.md +151 -0
- package/claude-code/aiwf/ko/ai-tools/claude-code/config.json +28 -0
- package/claude-code/aiwf/ko/ai-tools/claude-code/template/CLAUDE.md +91 -0
- package/claude-code/aiwf/ko/ai-tools/cursor/README.md +314 -0
- package/claude-code/aiwf/ko/ai-tools/cursor/config.json +29 -0
- package/claude-code/aiwf/ko/ai-tools/cursor/template/.cursorrules +362 -0
- package/claude-code/aiwf/ko/ai-tools/github-copilot/README.md +195 -0
- package/claude-code/aiwf/ko/ai-tools/github-copilot/config.json +24 -0
- package/claude-code/aiwf/ko/ai-tools/github-copilot/template/.github/copilot-instructions.md +202 -0
- package/claude-code/aiwf/ko/ai-tools/windsurf/README.md +355 -0
- package/claude-code/aiwf/ko/ai-tools/windsurf/config.json +29 -0
- package/claude-code/aiwf/ko/ai-tools/windsurf/template/.windsurf/aiwf-rules.md +260 -0
- package/claude-code/aiwf/ko/ai-tools/windsurf/template/.windsurf/windsurf.config.js +312 -0
- package/claude-code/aiwf/ko/ai-tools/windsurf/template/windsurf.config.json +63 -0
- package/claude-code/aiwf/ko/bin/aiwf-create.js +56 -0
- package/claude-code/aiwf/ko/bin/aiwf.js +21 -0
- package/claude-code/aiwf/ko/commands/ai-persona.js +602 -0
- package/claude-code/aiwf/ko/commands/compress-context.js +389 -0
- package/claude-code/aiwf/ko/commands/evaluate.js +246 -0
- package/claude-code/aiwf/ko/commands/feature-ledger.js +565 -0
- package/claude-code/aiwf/ko/commands/feature_commit_report.js +370 -0
- package/claude-code/aiwf/ko/commands/persona-context-apply.js +562 -0
- package/claude-code/aiwf/ko/commands/scan_git_history.js +234 -0
- package/claude-code/aiwf/ko/commands/sync_feature_commits.js +154 -0
- package/claude-code/aiwf/ko/commands/token-tracking.js +443 -0
- package/claude-code/aiwf/ko/config/commit-patterns.js +103 -0
- package/claude-code/aiwf/ko/config/language.json +6 -0
- package/claude-code/aiwf/ko/docs/00_PROJECT_MANIFEST.md +183 -0
- package/claude-code/aiwf/ko/docs/ARCHITECTURE.md +121 -0
- package/claude-code/aiwf/ko/docs/FEATURE_LEDGER_ADVANCED_USE_CASES.md +412 -0
- package/claude-code/aiwf/ko/docs/FEATURE_LEDGER_API_REFERENCE.md +361 -0
- package/claude-code/aiwf/ko/docs/FEATURE_LEDGER_COMMANDS_GUIDE.md +254 -0
- package/claude-code/aiwf/ko/docs/FEATURE_LEDGER_FAQ.md +365 -0
- package/claude-code/aiwf/ko/docs/FEATURE_LEDGER_SYSTEM_OVERVIEW.md +305 -0
- package/claude-code/aiwf/ko/docs/FEATURE_LEDGER_USER_GUIDE.md +416 -0
- package/claude-code/aiwf/ko/docs/FEATURE_LEDGER_/354/213/234/354/236/221_/352/260/200/354/235/264/353/223/234.md +247 -0
- package/claude-code/aiwf/ko/feature-ledger/FL-001-authentication.json +52 -0
- package/claude-code/aiwf/ko/feature-ledger/feature-index.json +20 -0
- package/claude-code/aiwf/ko/hooks/install-hooks.sh +100 -0
- package/claude-code/aiwf/ko/hooks/post-commit +84 -0
- package/claude-code/aiwf/ko/personas/PERSONA_INDEX.md +57 -0
- package/claude-code/aiwf/ko/personas/analyst.json +44 -0
- package/claude-code/aiwf/ko/personas/architect/best_practices.md +136 -0
- package/claude-code/aiwf/ko/personas/architect/knowledge_base.md +377 -0
- package/claude-code/aiwf/ko/personas/architect.json +44 -0
- package/claude-code/aiwf/ko/personas/backend/best_practices.md +766 -0
- package/claude-code/aiwf/ko/personas/backend/knowledge_base.md +1070 -0
- package/claude-code/aiwf/ko/personas/data_analyst/best_practices.md +594 -0
- package/claude-code/aiwf/ko/personas/data_analyst/knowledge_base.md +1057 -0
- package/claude-code/aiwf/ko/personas/developer.json +44 -0
- package/claude-code/aiwf/ko/personas/developer.md +37 -0
- package/claude-code/aiwf/ko/personas/evaluation_criteria.json +137 -0
- package/claude-code/aiwf/ko/personas/frontend/best_practices.md +445 -0
- package/claude-code/aiwf/ko/personas/frontend/knowledge_base.md +729 -0
- package/claude-code/aiwf/ko/personas/persona-index.json +31 -0
- package/claude-code/aiwf/ko/personas/reviewer.json +44 -0
- package/claude-code/aiwf/ko/personas/security/best_practices.md +307 -0
- package/claude-code/aiwf/ko/personas/security/knowledge_base.md +498 -0
- package/claude-code/aiwf/ko/personas/tester.json +44 -0
- package/claude-code/aiwf/ko/scripts/cache-templates.js +209 -0
- package/claude-code/aiwf/ko/scripts/create-offline.js +86 -0
- package/claude-code/aiwf/ko/scripts/create-project.js +151 -0
- package/claude-code/aiwf/ko/scripts/feature-progress-calculator.cjs +236 -0
- package/claude-code/aiwf/ko/scripts/git-integration.cjs +391 -0
- package/claude-code/aiwf/ko/scripts/install-git-hooks.cjs +226 -0
- package/claude-code/aiwf/ko/scripts/test-commit-parsing.cjs +125 -0
- package/claude-code/aiwf/ko/scripts/update-feature-status.cjs +198 -0
- package/claude-code/aiwf/ko/templates/README.md +78 -0
- package/claude-code/aiwf/ko/templates/api-server/config.json +64 -0
- package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/config.json +56 -0
- package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/feature-ledger.json +42 -0
- package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/personas/backend-engineer.json +40 -0
- package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/scripts/cli.js +111 -0
- package/claude-code/aiwf/ko/templates/api-server/template/.env.example +29 -0
- package/claude-code/aiwf/ko/templates/api-server/template/.eslintrc.json +23 -0
- package/claude-code/aiwf/ko/templates/api-server/template/README.md +171 -0
- package/claude-code/aiwf/ko/templates/api-server/template/jest.config.js +26 -0
- package/claude-code/aiwf/ko/templates/api-server/template/nodemon.json +9 -0
- package/claude-code/aiwf/ko/templates/api-server/template/package.json +61 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/app.ts +60 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/config/swagger.ts +38 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/controllers/aiwfController.ts +68 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/controllers/authController.ts +128 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/controllers/statusController.ts +28 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/index.ts +28 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/aiwfMiddleware.ts +50 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/authMiddleware.ts +41 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/errorHandler.ts +42 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/notFoundHandler.ts +14 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/requestLogger.ts +20 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/routes/aiwf.ts +42 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/routes/index.ts +13 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/routes/v1/index.ts +67 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/utils/logger.ts +37 -0
- package/claude-code/aiwf/ko/templates/api-server/template/tests/app.test.ts +40 -0
- package/claude-code/aiwf/ko/templates/api-server/template/tsconfig.json +43 -0
- package/claude-code/aiwf/ko/templates/npm-library/config.json +61 -0
- package/claude-code/aiwf/ko/templates/npm-library/template/LICENSE +21 -0
- package/claude-code/aiwf/ko/templates/npm-library/template/README.md +201 -0
- package/claude-code/aiwf/ko/templates/npm-library/template/package.json +78 -0
- package/claude-code/aiwf/ko/templates/web-app/config.json +53 -0
- package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/config.json +54 -0
- package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/feature-ledger.json +37 -0
- package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/personas/fullstack-developer.json +40 -0
- package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/scripts/cli.js +110 -0
- package/claude-code/aiwf/ko/templates/web-app/template/.eslintrc.cjs +20 -0
- package/claude-code/aiwf/ko/templates/web-app/template/README.md +151 -0
- package/claude-code/aiwf/ko/templates/web-app/template/index.html +14 -0
- package/claude-code/aiwf/ko/templates/web-app/template/package.json +44 -0
- package/claude-code/aiwf/ko/templates/web-app/template/postcss.config.js +6 -0
- package/claude-code/aiwf/ko/templates/web-app/template/public/vite.svg +1 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/App.tsx +21 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/components/Layout.tsx +57 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/components/aiwf/ContextStatus.tsx +107 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/components/aiwf/FeatureLedger.tsx +93 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/components/aiwf/TokenUsage.tsx +71 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/index.css +60 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/main.tsx +10 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/pages/AiwfDashboard.tsx +60 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/pages/HomePage.tsx +89 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/pages/NotFound.tsx +25 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/stores/aiwfStore.ts +126 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/types/global.d.ts +9 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/vite-env.d.ts +1 -0
- package/claude-code/aiwf/ko/templates/web-app/template/tailwind.config.js +30 -0
- package/claude-code/aiwf/ko/templates/web-app/template/tsconfig.json +37 -0
- package/claude-code/aiwf/ko/templates/web-app/template/tsconfig.node.json +10 -0
- package/claude-code/aiwf/ko/templates/web-app/template/vite.config.ts +23 -0
- package/claude-code/aiwf/ko/tests/compression-test-suite.js +1252 -0
- package/claude-code/aiwf/ko/tests/test-git-integration.js +164 -0
- package/claude-code/aiwf/ko/tests/token-tracking.test.js +537 -0
- package/claude-code/aiwf/ko/token-data/alerts.json +293 -0
- package/claude-code/aiwf/ko/token-data/monitor-config.json +12 -0
- package/claude-code/aiwf/ko/utils/background-monitor.js +223 -0
- package/claude-code/aiwf/ko/utils/compression-metrics.js +1031 -0
- package/claude-code/aiwf/ko/utils/compression-strategies.js +557 -0
- package/claude-code/aiwf/ko/utils/content-normalizer.js +455 -0
- package/claude-code/aiwf/ko/utils/context-compressor.js +583 -0
- package/claude-code/aiwf/ko/utils/context-rule-parser.js +180 -0
- package/claude-code/aiwf/ko/utils/context-token-monitor.js +463 -0
- package/claude-code/aiwf/ko/utils/context-update-manager.js +502 -0
- package/claude-code/aiwf/ko/utils/feature-updater.js +271 -0
- package/claude-code/aiwf/ko/utils/git-utils.js +220 -0
- package/claude-code/aiwf/ko/utils/importance-classifier.js +645 -0
- package/claude-code/aiwf/ko/utils/information-filter.js +710 -0
- package/claude-code/aiwf/ko/utils/persona-aware-compressor.js +598 -0
- package/claude-code/aiwf/ko/utils/prompt-injector.js +242 -0
- package/claude-code/aiwf/ko/utils/simplified-evaluator.js +119 -0
- package/claude-code/aiwf/ko/utils/text-summarizer.js +492 -0
- package/claude-code/aiwf/ko/utils/token-counter.js +177 -0
- package/claude-code/aiwf/ko/utils/token-monitor.js +484 -0
- package/claude-code/aiwf/ko/utils/token-reporter.js +453 -0
- package/claude-code/aiwf/ko/utils/token-storage.js +433 -0
- package/claude-code/aiwf/ko/utils/token-tracker.js +283 -0
- package/docs/AI-WORKFLOW.ko.md +9 -2
- package/docs/AI-WORKFLOW.md +9 -2
- package/docs/AI_PERSONA_SYSTEM_DESIGN.md +516 -0
- package/docs/API_DOCUMENTATION.md +932 -0
- package/docs/API_REFERENCE.md +979 -0
- package/docs/COMMANDS_GUIDE.ko.md +101 -5
- package/docs/COMMANDS_GUIDE.md +289 -5
- package/docs/CONTRIBUTING.ko.md +408 -0
- package/docs/CONTRIBUTING.md +205 -203
- package/docs/EXAMPLES.md +691 -0
- package/docs/Enhanced_Installation_Flow_Design.md +498 -0
- package/docs/GETTING_STARTED.md +480 -0
- package/docs/PERFORMANCE_ARCHITECTURE.md +494 -0
- package/docs/PERFORMANCE_GUIDELINES.md +553 -0
- package/docs/PRD.ko.md +110 -58
- package/docs/PRD.md +110 -58
- package/docs/TROUBLESHOOTING.md +721 -0
- package/docs/git-feature-integration-guide.md +253 -0
- package/docs/guides/ai-personas-guide-ko.md +239 -0
- package/docs/guides/ai-personas-guide.md +239 -0
- package/docs/guides/context-compression-guide-ko.md +313 -0
- package/docs/guides/context-compression-guide.md +313 -0
- package/docs/guides/feature-git-integration-guide-ko.md +481 -0
- package/docs/guides/feature-git-integration-guide.md +481 -0
- package/docs/lightweight-evaluation.md +198 -0
- package/docs/m02-dod-checklist.md +125 -0
- package/docs/m02-gap-analysis.md +214 -0
- package/docs/m02-milestone-completion-report.md +186 -0
- package/docs/m02-milestone-executive-summary.md +68 -0
- package/docs/offline-template-cache.md +323 -0
- package/docs/performance-benchmark-report.md +159 -0
- package/docs/persona-aware-compression.md +168 -0
- package/docs/reports/S02-sprint-report.md +190 -0
- package/docs/usability-test-report.md +170 -0
- package/index.js +1349 -21
- package/jest.config.js +23 -0
- package/language-cli.js +279 -0
- package/language-utils.js +330 -0
- package/lib/ai-persona-manager.js +711 -0
- package/lib/cache-cli.js +459 -0
- package/lib/cache-integration.js +401 -0
- package/lib/cache-system.js +332 -0
- package/lib/context-engine.js +568 -0
- package/lib/file-batch-processor.js +401 -0
- package/lib/memory-profiler.js +471 -0
- package/lib/metrics-collector.js +885 -0
- package/lib/offline-detector.js +386 -0
- package/lib/performance-benchmark.js +621 -0
- package/lib/task-analyzer.js +599 -0
- package/lib/template-cache-system.js +559 -0
- package/lib/template-downloader.js +467 -0
- package/lib/template-manager.js +310 -0
- package/lib/template-version-manager.js +491 -0
- package/lib/token-optimizer.js +517 -0
- package/package.json +17 -6
- package/scripts/run-integration-tests.js +317 -0
- package/scripts/validate-commands.cjs +338 -0
- package/scripts/validate-commands.js +254 -0
- package/src/commands/ai-tool.js +383 -0
- package/test-token-system.js +88 -0
- package/tests/application.test.js +260 -0
- package/tests/basic.test.js +62 -0
- package/tests/commands.test.js +127 -0
- package/tests/installer.test.js +129 -0
- package/tests/integration/ai-persona-system.test.js +396 -0
- package/tests/integration/ai-persona.test.js +390 -0
- package/tests/integration/command-integration.test.js +600 -0
- package/tests/integration/context-compression.test.js +361 -0
- package/tests/integration/feature-ledger.test.js +226 -0
- package/tests/integration/git-integration.test.js +307 -0
- package/tests/integration/m02-milestone.test.js +420 -0
- package/tests/integration/persona-context-application.test.js +508 -0
- package/tests/integration/setup.js +174 -0
- package/tests/integration/test-persona-aware-compression.js +93 -0
- package/tests/language-utils.test.js +287 -0
- package/tests/s02-integration.test.js +422 -0
- package/tests/unit/ai-persona-manager.test.js +514 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_prime_context.md +0 -5
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_prime_context.md +0 -8
|
@@ -0,0 +1,721 @@
|
|
|
1
|
+
# AIWF Troubleshooting Guide
|
|
2
|
+
|
|
3
|
+
This guide helps you resolve common issues when using AIWF (AI Workflow Framework). If you can't find a solution here, please check our [GitHub Issues](https://github.com/aiwf/aiwf/issues) or create a new issue.
|
|
4
|
+
|
|
5
|
+
## Table of Contents
|
|
6
|
+
|
|
7
|
+
1. [Installation Issues](#installation-issues)
|
|
8
|
+
2. [Command Execution Problems](#command-execution-problems)
|
|
9
|
+
3. [Performance Issues](#performance-issues)
|
|
10
|
+
4. [Git Integration Problems](#git-integration-problems)
|
|
11
|
+
5. [AI Persona Issues](#ai-persona-issues)
|
|
12
|
+
6. [Context Compression Problems](#context-compression-problems)
|
|
13
|
+
7. [Test Failures](#test-failures)
|
|
14
|
+
8. [Language and Localization](#language-and-localization)
|
|
15
|
+
9. [Common Error Messages](#common-error-messages)
|
|
16
|
+
10. [Advanced Debugging](#advanced-debugging)
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Installation Issues
|
|
21
|
+
|
|
22
|
+
### Problem: Installation fails with "EACCES: permission denied"
|
|
23
|
+
|
|
24
|
+
**Symptoms:**
|
|
25
|
+
```bash
|
|
26
|
+
npm ERR! code EACCES
|
|
27
|
+
npm ERR! syscall mkdir
|
|
28
|
+
npm ERR! path /usr/local/lib/node_modules/aiwf
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
**Solutions:**
|
|
32
|
+
|
|
33
|
+
1. **Use npx instead of global install (Recommended):**
|
|
34
|
+
```bash
|
|
35
|
+
npx aiwf
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
2. **Fix npm permissions:**
|
|
39
|
+
```bash
|
|
40
|
+
# Option 1: Change npm's default directory
|
|
41
|
+
mkdir ~/.npm-global
|
|
42
|
+
npm config set prefix '~/.npm-global'
|
|
43
|
+
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
|
|
44
|
+
source ~/.bashrc
|
|
45
|
+
|
|
46
|
+
# Option 2: Use a Node version manager
|
|
47
|
+
# Install nvm and use it to manage Node installations
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
3. **Use sudo (Not recommended):**
|
|
51
|
+
```bash
|
|
52
|
+
sudo npm install -g aiwf
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Problem: "Cannot find module" errors during installation
|
|
56
|
+
|
|
57
|
+
**Symptoms:**
|
|
58
|
+
```bash
|
|
59
|
+
Error: Cannot find module 'chalk'
|
|
60
|
+
Error: Cannot find module 'ora'
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
**Solutions:**
|
|
64
|
+
|
|
65
|
+
1. **Clear npm cache:**
|
|
66
|
+
```bash
|
|
67
|
+
npm cache clean --force
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
2. **Delete node_modules and reinstall:**
|
|
71
|
+
```bash
|
|
72
|
+
rm -rf node_modules package-lock.json
|
|
73
|
+
npm install
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
3. **Check Node.js version:**
|
|
77
|
+
```bash
|
|
78
|
+
node --version # Should be 14.0.0 or higher
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Problem: Installation hangs or times out
|
|
82
|
+
|
|
83
|
+
**Symptoms:**
|
|
84
|
+
- Installation process freezes
|
|
85
|
+
- Network timeout errors
|
|
86
|
+
|
|
87
|
+
**Solutions:**
|
|
88
|
+
|
|
89
|
+
1. **Check internet connection**
|
|
90
|
+
|
|
91
|
+
2. **Use different npm registry:**
|
|
92
|
+
```bash
|
|
93
|
+
npm config set registry https://registry.npmjs.org/
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
3. **Increase timeout:**
|
|
97
|
+
```bash
|
|
98
|
+
npm config set timeout 60000
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
4. **Try offline installation:**
|
|
102
|
+
```bash
|
|
103
|
+
npx aiwf --offline
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Command Execution Problems
|
|
109
|
+
|
|
110
|
+
### Problem: Commands not recognized in Claude Code
|
|
111
|
+
|
|
112
|
+
**Symptoms:**
|
|
113
|
+
```
|
|
114
|
+
Command not found: /project:aiwf:initialize
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
**Solutions:**
|
|
118
|
+
|
|
119
|
+
1. **Verify installation:**
|
|
120
|
+
```bash
|
|
121
|
+
ls -la .claude/commands/aiwf/
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
2. **Reinstall AIWF commands:**
|
|
125
|
+
```bash
|
|
126
|
+
npx aiwf --force
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
3. **Check Claude Code settings:**
|
|
130
|
+
- Ensure custom commands are enabled
|
|
131
|
+
- Restart Claude Code after installation
|
|
132
|
+
|
|
133
|
+
### Problem: Commands execute but produce no output
|
|
134
|
+
|
|
135
|
+
**Symptoms:**
|
|
136
|
+
- Command runs without errors
|
|
137
|
+
- No visible changes or output
|
|
138
|
+
|
|
139
|
+
**Solutions:**
|
|
140
|
+
|
|
141
|
+
1. **Check command syntax:**
|
|
142
|
+
```bash
|
|
143
|
+
# Correct
|
|
144
|
+
/project:aiwf:initialize
|
|
145
|
+
|
|
146
|
+
# Incorrect
|
|
147
|
+
/project:aiwf initialize
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
2. **Verify working directory:**
|
|
151
|
+
```bash
|
|
152
|
+
pwd # Should be in project root
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
3. **Check permissions:**
|
|
156
|
+
```bash
|
|
157
|
+
ls -la .aiwf/
|
|
158
|
+
# Ensure write permissions
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
### Problem: Korean commands not working
|
|
162
|
+
|
|
163
|
+
**Symptoms:**
|
|
164
|
+
```
|
|
165
|
+
Command not found: /프로젝트:aiwf:초기화
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
**Solutions:**
|
|
169
|
+
|
|
170
|
+
1. **Verify Korean language installation:**
|
|
171
|
+
```bash
|
|
172
|
+
aiwf-lang status
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
2. **Switch to Korean:**
|
|
176
|
+
```bash
|
|
177
|
+
aiwf-lang set ko
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
3. **Use alternative command format:**
|
|
181
|
+
```bash
|
|
182
|
+
/project:aiwf:initialize_kr
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
## Performance Issues
|
|
188
|
+
|
|
189
|
+
### Problem: Slow command execution
|
|
190
|
+
|
|
191
|
+
**Symptoms:**
|
|
192
|
+
- Commands take several seconds to complete
|
|
193
|
+
- High CPU/memory usage
|
|
194
|
+
|
|
195
|
+
**Solutions:**
|
|
196
|
+
|
|
197
|
+
1. **Enable caching:**
|
|
198
|
+
```javascript
|
|
199
|
+
// In .aiwf/config.json
|
|
200
|
+
{
|
|
201
|
+
"performance": {
|
|
202
|
+
"enableCache": true,
|
|
203
|
+
"cacheSize": 100
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
2. **Reduce file scanning scope:**
|
|
209
|
+
```bash
|
|
210
|
+
# Add to .aiwfignore
|
|
211
|
+
node_modules/
|
|
212
|
+
dist/
|
|
213
|
+
coverage/
|
|
214
|
+
*.log
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
3. **Use batch operations:**
|
|
218
|
+
```javascript
|
|
219
|
+
// Instead of individual operations
|
|
220
|
+
await processor.addReadOperation(file1);
|
|
221
|
+
await processor.addReadOperation(file2);
|
|
222
|
+
await processor.processBatch();
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
### Problem: Out of memory errors
|
|
226
|
+
|
|
227
|
+
**Symptoms:**
|
|
228
|
+
```
|
|
229
|
+
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
**Solutions:**
|
|
233
|
+
|
|
234
|
+
1. **Increase Node.js memory:**
|
|
235
|
+
```bash
|
|
236
|
+
export NODE_OPTIONS="--max-old-space-size=4096"
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
2. **Use memory profiler:**
|
|
240
|
+
```javascript
|
|
241
|
+
const profiler = new MemoryProfiler();
|
|
242
|
+
profiler.startProfiling();
|
|
243
|
+
// ... operations ...
|
|
244
|
+
const report = profiler.generateReport();
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
3. **Process files in chunks:**
|
|
248
|
+
```javascript
|
|
249
|
+
const processor = new FileBatchProcessor({
|
|
250
|
+
maxConcurrency: 5,
|
|
251
|
+
batchSize: 10
|
|
252
|
+
});
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
### Problem: Token limit exceeded quickly
|
|
256
|
+
|
|
257
|
+
**Symptoms:**
|
|
258
|
+
- Context overflow errors
|
|
259
|
+
- Conversation resets frequently
|
|
260
|
+
|
|
261
|
+
**Solutions:**
|
|
262
|
+
|
|
263
|
+
1. **Use aggressive compression:**
|
|
264
|
+
```bash
|
|
265
|
+
/project:aiwf:compress_context:aggressive
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
2. **Exclude unnecessary files:**
|
|
269
|
+
```javascript
|
|
270
|
+
// In persona context rules
|
|
271
|
+
{
|
|
272
|
+
"exclude": ["test/**", "docs/**", "*.md"]
|
|
273
|
+
}
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
3. **Monitor token usage:**
|
|
277
|
+
```javascript
|
|
278
|
+
const tracker = new TokenTracker();
|
|
279
|
+
const stats = tracker.getSessionStats();
|
|
280
|
+
console.log(`Tokens used: ${stats.percentageUsed}%`);
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
---
|
|
284
|
+
|
|
285
|
+
## Git Integration Problems
|
|
286
|
+
|
|
287
|
+
### Problem: Commits not linking to features
|
|
288
|
+
|
|
289
|
+
**Symptoms:**
|
|
290
|
+
- Feature progress not updating
|
|
291
|
+
- Commits missing from feature ledger
|
|
292
|
+
|
|
293
|
+
**Solutions:**
|
|
294
|
+
|
|
295
|
+
1. **Check commit message format:**
|
|
296
|
+
```bash
|
|
297
|
+
# Good formats
|
|
298
|
+
git commit -m "feat(FL001): implement login"
|
|
299
|
+
git commit -m "[FL001] fix validation bug"
|
|
300
|
+
git commit -m "FL001: update styles"
|
|
301
|
+
|
|
302
|
+
# Bad format
|
|
303
|
+
git commit -m "implement login for FL001"
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
2. **Install Git hooks:**
|
|
307
|
+
```bash
|
|
308
|
+
/project:aiwf:install_git_hooks
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
3. **Manually link commits:**
|
|
312
|
+
```bash
|
|
313
|
+
/project:aiwf:link_feature_commit FL001 abc123def
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
### Problem: Git hooks not executing
|
|
317
|
+
|
|
318
|
+
**Symptoms:**
|
|
319
|
+
- No automatic feature updates
|
|
320
|
+
- Hooks exist but don't run
|
|
321
|
+
|
|
322
|
+
**Solutions:**
|
|
323
|
+
|
|
324
|
+
1. **Check hook permissions:**
|
|
325
|
+
```bash
|
|
326
|
+
chmod +x .git/hooks/post-commit
|
|
327
|
+
chmod +x .git/hooks/pre-commit
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
2. **Verify hook content:**
|
|
331
|
+
```bash
|
|
332
|
+
cat .git/hooks/post-commit
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
3. **Test hooks manually:**
|
|
336
|
+
```bash
|
|
337
|
+
./.git/hooks/post-commit
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
### Problem: Branch naming conflicts
|
|
341
|
+
|
|
342
|
+
**Symptoms:**
|
|
343
|
+
- Cannot create feature branches
|
|
344
|
+
- Branch names already exist
|
|
345
|
+
|
|
346
|
+
**Solutions:**
|
|
347
|
+
|
|
348
|
+
1. **Use unique feature IDs:**
|
|
349
|
+
```bash
|
|
350
|
+
git checkout -b feature/FL001-unique-description
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
2. **Clean up old branches:**
|
|
354
|
+
```bash
|
|
355
|
+
/project:aiwf:clean_feature_branches
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
3. **Check existing branches:**
|
|
359
|
+
```bash
|
|
360
|
+
git branch -a | grep FL
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
---
|
|
364
|
+
|
|
365
|
+
## AI Persona Issues
|
|
366
|
+
|
|
367
|
+
### Problem: Persona not switching properly
|
|
368
|
+
|
|
369
|
+
**Symptoms:**
|
|
370
|
+
- Behavior doesn't change after switch
|
|
371
|
+
- Wrong context being applied
|
|
372
|
+
|
|
373
|
+
**Solutions:**
|
|
374
|
+
|
|
375
|
+
1. **Verify current persona:**
|
|
376
|
+
```bash
|
|
377
|
+
/project:aiwf:ai_persona:status
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
2. **Reset to default:**
|
|
381
|
+
```bash
|
|
382
|
+
/project:aiwf:ai_persona:reset
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
3. **Wait for switch to complete:**
|
|
386
|
+
```javascript
|
|
387
|
+
await manager.switchPersona('architect');
|
|
388
|
+
// Wait 2-3 seconds for context update
|
|
389
|
+
await new Promise(r => setTimeout(r, 3000));
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
### Problem: Persona context rules not applying
|
|
393
|
+
|
|
394
|
+
**Symptoms:**
|
|
395
|
+
- All files included despite exclusions
|
|
396
|
+
- Wrong priorities applied
|
|
397
|
+
|
|
398
|
+
**Solutions:**
|
|
399
|
+
|
|
400
|
+
1. **Check persona configuration:**
|
|
401
|
+
```bash
|
|
402
|
+
cat .aiwf/personas/architect.json
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
2. **Validate context rules:**
|
|
406
|
+
```javascript
|
|
407
|
+
const rules = manager.getPersonaContext('architect');
|
|
408
|
+
console.log(rules);
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
3. **Clear persona cache:**
|
|
412
|
+
```bash
|
|
413
|
+
rm -rf .aiwf/cache/personas/
|
|
414
|
+
```
|
|
415
|
+
|
|
416
|
+
---
|
|
417
|
+
|
|
418
|
+
## Context Compression Problems
|
|
419
|
+
|
|
420
|
+
### Problem: Compression failing with large files
|
|
421
|
+
|
|
422
|
+
**Symptoms:**
|
|
423
|
+
```
|
|
424
|
+
Error: Maximum file size exceeded
|
|
425
|
+
Error: Compression timeout
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
**Solutions:**
|
|
429
|
+
|
|
430
|
+
1. **Process files individually:**
|
|
431
|
+
```javascript
|
|
432
|
+
const compressor = new ContextCompressor();
|
|
433
|
+
for (const file of largeFiles) {
|
|
434
|
+
await compressor.compressFile(file, 'aggressive');
|
|
435
|
+
}
|
|
436
|
+
```
|
|
437
|
+
|
|
438
|
+
2. **Increase timeout:**
|
|
439
|
+
```javascript
|
|
440
|
+
const compressor = new ContextCompressor({
|
|
441
|
+
timeout: 300000 // 5 minutes
|
|
442
|
+
});
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
3. **Split large files:**
|
|
446
|
+
```bash
|
|
447
|
+
split -l 1000 largefile.js part_
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
### Problem: Poor compression quality
|
|
451
|
+
|
|
452
|
+
**Symptoms:**
|
|
453
|
+
- Important code removed
|
|
454
|
+
- Logic broken after compression
|
|
455
|
+
|
|
456
|
+
**Solutions:**
|
|
457
|
+
|
|
458
|
+
1. **Use conservative mode:**
|
|
459
|
+
```bash
|
|
460
|
+
/project:aiwf:compress_context:conservative
|
|
461
|
+
```
|
|
462
|
+
|
|
463
|
+
2. **Exclude critical files:**
|
|
464
|
+
```javascript
|
|
465
|
+
await compressor.compressDirectory('./src', 'balanced', {
|
|
466
|
+
exclude: ['critical.js', 'config.js']
|
|
467
|
+
});
|
|
468
|
+
```
|
|
469
|
+
|
|
470
|
+
3. **Review compression rules:**
|
|
471
|
+
```javascript
|
|
472
|
+
const result = compressor.compressContext(content, 'balanced');
|
|
473
|
+
console.log(result.compressionRatio);
|
|
474
|
+
```
|
|
475
|
+
|
|
476
|
+
---
|
|
477
|
+
|
|
478
|
+
## Test Failures
|
|
479
|
+
|
|
480
|
+
### Problem: Integration tests failing
|
|
481
|
+
|
|
482
|
+
**Symptoms:**
|
|
483
|
+
```
|
|
484
|
+
19 tests failing
|
|
485
|
+
Module not found errors
|
|
486
|
+
```
|
|
487
|
+
|
|
488
|
+
**Solutions:**
|
|
489
|
+
|
|
490
|
+
1. **Install test dependencies:**
|
|
491
|
+
```bash
|
|
492
|
+
npm install --include=dev
|
|
493
|
+
```
|
|
494
|
+
|
|
495
|
+
2. **Run tests individually:**
|
|
496
|
+
```bash
|
|
497
|
+
npm test -- --testNamePattern="specific test"
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
3. **Check test environment:**
|
|
501
|
+
```bash
|
|
502
|
+
npm run test:env
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
### Problem: Coverage below threshold
|
|
506
|
+
|
|
507
|
+
**Symptoms:**
|
|
508
|
+
```
|
|
509
|
+
Jest: "global" coverage threshold for statements (80%) not met: 0%
|
|
510
|
+
```
|
|
511
|
+
|
|
512
|
+
**Solutions:**
|
|
513
|
+
|
|
514
|
+
1. **Generate coverage report:**
|
|
515
|
+
```bash
|
|
516
|
+
npm run test:coverage
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
2. **Identify uncovered code:**
|
|
520
|
+
```bash
|
|
521
|
+
npx jest --coverage --coverageReporters=html
|
|
522
|
+
open coverage/index.html
|
|
523
|
+
```
|
|
524
|
+
|
|
525
|
+
3. **Add missing tests:**
|
|
526
|
+
```javascript
|
|
527
|
+
describe('NewFeature', () => {
|
|
528
|
+
test('should work correctly', () => {
|
|
529
|
+
// Add test implementation
|
|
530
|
+
});
|
|
531
|
+
});
|
|
532
|
+
```
|
|
533
|
+
|
|
534
|
+
---
|
|
535
|
+
|
|
536
|
+
## Language and Localization
|
|
537
|
+
|
|
538
|
+
### Problem: Wrong language detected
|
|
539
|
+
|
|
540
|
+
**Symptoms:**
|
|
541
|
+
- English interface when expecting Korean
|
|
542
|
+
- Mixed language content
|
|
543
|
+
|
|
544
|
+
**Solutions:**
|
|
545
|
+
|
|
546
|
+
1. **Check system locale:**
|
|
547
|
+
```bash
|
|
548
|
+
echo $LANG
|
|
549
|
+
locale
|
|
550
|
+
```
|
|
551
|
+
|
|
552
|
+
2. **Force language selection:**
|
|
553
|
+
```bash
|
|
554
|
+
aiwf-lang set ko # For Korean
|
|
555
|
+
aiwf-lang set en # For English
|
|
556
|
+
```
|
|
557
|
+
|
|
558
|
+
3. **Reset language detection:**
|
|
559
|
+
```bash
|
|
560
|
+
aiwf-lang reset
|
|
561
|
+
rm ~/.aiwf-lang
|
|
562
|
+
```
|
|
563
|
+
|
|
564
|
+
### Problem: Missing translations
|
|
565
|
+
|
|
566
|
+
**Symptoms:**
|
|
567
|
+
- Some text appears in English only
|
|
568
|
+
- Untranslated placeholders
|
|
569
|
+
|
|
570
|
+
**Solutions:**
|
|
571
|
+
|
|
572
|
+
1. **Update language files:**
|
|
573
|
+
```bash
|
|
574
|
+
npx aiwf --update-lang
|
|
575
|
+
```
|
|
576
|
+
|
|
577
|
+
2. **Check translation files:**
|
|
578
|
+
```bash
|
|
579
|
+
ls .aiwf/i18n/
|
|
580
|
+
```
|
|
581
|
+
|
|
582
|
+
3. **Report missing translations:**
|
|
583
|
+
```bash
|
|
584
|
+
/project:aiwf:report_translation_issue
|
|
585
|
+
```
|
|
586
|
+
|
|
587
|
+
---
|
|
588
|
+
|
|
589
|
+
## Common Error Messages
|
|
590
|
+
|
|
591
|
+
### "ENOENT: no such file or directory"
|
|
592
|
+
|
|
593
|
+
**Cause:** Required file or directory missing
|
|
594
|
+
|
|
595
|
+
**Solution:**
|
|
596
|
+
```bash
|
|
597
|
+
# Recreate AIWF structure
|
|
598
|
+
npx aiwf --repair
|
|
599
|
+
```
|
|
600
|
+
|
|
601
|
+
### "EPERM: operation not permitted"
|
|
602
|
+
|
|
603
|
+
**Cause:** Permission issues
|
|
604
|
+
|
|
605
|
+
**Solution:**
|
|
606
|
+
```bash
|
|
607
|
+
# Fix permissions
|
|
608
|
+
chmod -R u+rw .aiwf/
|
|
609
|
+
```
|
|
610
|
+
|
|
611
|
+
### "EEXIST: file already exists"
|
|
612
|
+
|
|
613
|
+
**Cause:** Trying to create existing file
|
|
614
|
+
|
|
615
|
+
**Solution:**
|
|
616
|
+
```bash
|
|
617
|
+
# Force overwrite
|
|
618
|
+
npx aiwf --force
|
|
619
|
+
```
|
|
620
|
+
|
|
621
|
+
### "ValidationError: Invalid feature ID"
|
|
622
|
+
|
|
623
|
+
**Cause:** Wrong feature ID format
|
|
624
|
+
|
|
625
|
+
**Solution:**
|
|
626
|
+
```bash
|
|
627
|
+
# Use correct format: FL001, FL002, etc.
|
|
628
|
+
/project:aiwf:create_feature "My Feature"
|
|
629
|
+
```
|
|
630
|
+
|
|
631
|
+
---
|
|
632
|
+
|
|
633
|
+
## Advanced Debugging
|
|
634
|
+
|
|
635
|
+
### Enable Debug Mode
|
|
636
|
+
|
|
637
|
+
```bash
|
|
638
|
+
# Set debug environment variable
|
|
639
|
+
export AIWF_DEBUG=true
|
|
640
|
+
|
|
641
|
+
# Run with verbose output
|
|
642
|
+
npx aiwf --verbose
|
|
643
|
+
```
|
|
644
|
+
|
|
645
|
+
### Check System Information
|
|
646
|
+
|
|
647
|
+
```bash
|
|
648
|
+
# Create diagnostic report
|
|
649
|
+
/project:aiwf:diagnostic_report
|
|
650
|
+
```
|
|
651
|
+
|
|
652
|
+
### Analyze Performance
|
|
653
|
+
|
|
654
|
+
```javascript
|
|
655
|
+
// Enable performance monitoring
|
|
656
|
+
const benchmark = new PerformanceBenchmark({
|
|
657
|
+
memoryProfiling: true
|
|
658
|
+
});
|
|
659
|
+
|
|
660
|
+
const suite = BenchmarkSuites.fullSystem();
|
|
661
|
+
const report = await benchmark.run(suite);
|
|
662
|
+
await benchmark.generateHTMLReport('./performance.html');
|
|
663
|
+
```
|
|
664
|
+
|
|
665
|
+
### Trace Command Execution
|
|
666
|
+
|
|
667
|
+
```bash
|
|
668
|
+
# Enable command tracing
|
|
669
|
+
export AIWF_TRACE=true
|
|
670
|
+
|
|
671
|
+
# View execution logs
|
|
672
|
+
tail -f .aiwf/logs/commands.log
|
|
673
|
+
```
|
|
674
|
+
|
|
675
|
+
---
|
|
676
|
+
|
|
677
|
+
## Getting Help
|
|
678
|
+
|
|
679
|
+
If you can't resolve your issue:
|
|
680
|
+
|
|
681
|
+
1. **Search existing issues:**
|
|
682
|
+
- [GitHub Issues](https://github.com/aiwf/aiwf/issues)
|
|
683
|
+
|
|
684
|
+
2. **Create a new issue with:**
|
|
685
|
+
- AIWF version: `npx aiwf --version`
|
|
686
|
+
- Node.js version: `node --version`
|
|
687
|
+
- Operating system
|
|
688
|
+
- Error messages
|
|
689
|
+
- Steps to reproduce
|
|
690
|
+
|
|
691
|
+
3. **Join the community:**
|
|
692
|
+
- Discord: [discord.gg/aiwf](https://discord.gg/aiwf)
|
|
693
|
+
- Discussions: [GitHub Discussions](https://github.com/aiwf/aiwf/discussions)
|
|
694
|
+
|
|
695
|
+
4. **Emergency support:**
|
|
696
|
+
- Email: support@aiwf.dev (for critical issues only)
|
|
697
|
+
|
|
698
|
+
---
|
|
699
|
+
|
|
700
|
+
## Prevention Tips
|
|
701
|
+
|
|
702
|
+
1. **Keep AIWF updated:**
|
|
703
|
+
```bash
|
|
704
|
+
npx aiwf --check-updates
|
|
705
|
+
```
|
|
706
|
+
|
|
707
|
+
2. **Regular backups:**
|
|
708
|
+
```bash
|
|
709
|
+
/project:aiwf:backup
|
|
710
|
+
```
|
|
711
|
+
|
|
712
|
+
3. **Monitor system health:**
|
|
713
|
+
```bash
|
|
714
|
+
/project:aiwf:health_check
|
|
715
|
+
```
|
|
716
|
+
|
|
717
|
+
4. **Follow best practices:**
|
|
718
|
+
- Use appropriate compression modes
|
|
719
|
+
- Commit regularly
|
|
720
|
+
- Keep documentation updated
|
|
721
|
+
- Test changes before deploying
|