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,387 @@
|
|
|
1
|
+
# Augment AIWF Integration Guide
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
This guide configures Augment Code to deeply understand and work with AIWF projects. Augment's codebase comprehension and team collaboration features are enhanced with AIWF's structured approach.
|
|
6
|
+
|
|
7
|
+
## Core Integration Concepts
|
|
8
|
+
|
|
9
|
+
### 1. Deep Codebase Understanding
|
|
10
|
+
|
|
11
|
+
Augment learns your AIWF structure:
|
|
12
|
+
- **Feature Ledger**: Understands all features and their relationships
|
|
13
|
+
- **Sprint Tasks**: Knows current work and priorities
|
|
14
|
+
- **AI Personas**: Applies appropriate context based on personas
|
|
15
|
+
- **Architecture**: Comprehends system design through ADRs
|
|
16
|
+
|
|
17
|
+
### 2. Team Collaboration
|
|
18
|
+
|
|
19
|
+
AIWF + Augment enables:
|
|
20
|
+
- Shared understanding of features across team
|
|
21
|
+
- Task assignment based on expertise
|
|
22
|
+
- Consistent code patterns
|
|
23
|
+
- Automated knowledge sharing
|
|
24
|
+
|
|
25
|
+
### 3. Intelligent Assistance
|
|
26
|
+
|
|
27
|
+
Augment provides AIWF-aware help:
|
|
28
|
+
- Suggests relevant features for new code
|
|
29
|
+
- Warns about feature conflicts
|
|
30
|
+
- Recommends appropriate personas
|
|
31
|
+
- Tracks sprint progress
|
|
32
|
+
|
|
33
|
+
## Configuration
|
|
34
|
+
|
|
35
|
+
### Feature Ledger Integration
|
|
36
|
+
|
|
37
|
+
Augment automatically indexes:
|
|
38
|
+
```
|
|
39
|
+
.aiwf/feature-ledger/
|
|
40
|
+
├── FL-001-authentication.json
|
|
41
|
+
├── FL-002-user-profiles.json
|
|
42
|
+
└── feature-map.json
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Understanding includes:
|
|
46
|
+
- Feature specifications
|
|
47
|
+
- Dependencies
|
|
48
|
+
- Implementation status
|
|
49
|
+
- Related code locations
|
|
50
|
+
|
|
51
|
+
### Sprint Awareness
|
|
52
|
+
|
|
53
|
+
Current sprint context:
|
|
54
|
+
```
|
|
55
|
+
.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/
|
|
56
|
+
├── sprint_metadata.json
|
|
57
|
+
├── T13_S03_AI_도구_통합.md
|
|
58
|
+
└── sprint_goals.md
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Augment knows:
|
|
62
|
+
- Active tasks
|
|
63
|
+
- Task assignments
|
|
64
|
+
- Progress status
|
|
65
|
+
- Acceptance criteria
|
|
66
|
+
|
|
67
|
+
### AI Persona Application
|
|
68
|
+
|
|
69
|
+
Available personas:
|
|
70
|
+
```
|
|
71
|
+
.aiwf/personas/
|
|
72
|
+
├── analyst.json
|
|
73
|
+
├── architect.json
|
|
74
|
+
├── developer.json
|
|
75
|
+
├── reviewer.json
|
|
76
|
+
└── tester.json
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Augment applies persona-specific:
|
|
80
|
+
- Code suggestions
|
|
81
|
+
- Review criteria
|
|
82
|
+
- Documentation style
|
|
83
|
+
- Testing approaches
|
|
84
|
+
|
|
85
|
+
## Usage Patterns
|
|
86
|
+
|
|
87
|
+
### 1. Feature-Aware Coding
|
|
88
|
+
|
|
89
|
+
When writing code, Augment:
|
|
90
|
+
- Suggests feature references
|
|
91
|
+
- Validates against ledger
|
|
92
|
+
- Maintains consistency
|
|
93
|
+
- Updates documentation
|
|
94
|
+
|
|
95
|
+
Example:
|
|
96
|
+
```javascript
|
|
97
|
+
// Start typing a function
|
|
98
|
+
function processPayment() {
|
|
99
|
+
// Augment suggests:
|
|
100
|
+
// Feature: FL-003 - Payment Processing
|
|
101
|
+
// Dependencies: FL-001 (Auth), FL-002 (User)
|
|
102
|
+
// Sprint Task: T14_S03
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### 2. Smart Code Completion
|
|
107
|
+
|
|
108
|
+
Context-aware suggestions:
|
|
109
|
+
|
|
110
|
+
```javascript
|
|
111
|
+
// When implementing authentication
|
|
112
|
+
user.authenticate() // Augment knows this relates to FL-001
|
|
113
|
+
|
|
114
|
+
// Suggests methods from feature spec:
|
|
115
|
+
user.validateCredentials()
|
|
116
|
+
user.generateToken()
|
|
117
|
+
user.setupTwoFactor()
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### 3. Team Collaboration
|
|
121
|
+
|
|
122
|
+
Shared understanding:
|
|
123
|
+
|
|
124
|
+
```javascript
|
|
125
|
+
// Team member A implements feature
|
|
126
|
+
// @augment FL-001 implementation by @alice
|
|
127
|
+
|
|
128
|
+
// Team member B sees context
|
|
129
|
+
// Augment shows: "Alice implemented FL-001, see patterns in auth.js"
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### 4. Automated Documentation
|
|
133
|
+
|
|
134
|
+
Augment generates:
|
|
135
|
+
|
|
136
|
+
```javascript
|
|
137
|
+
/**
|
|
138
|
+
* Processes user payment
|
|
139
|
+
*
|
|
140
|
+
* @feature FL-003 - Payment Processing
|
|
141
|
+
* @sprint S03
|
|
142
|
+
* @task T14_S03
|
|
143
|
+
* @dependencies FL-001, FL-002
|
|
144
|
+
* @augment-generated
|
|
145
|
+
*/
|
|
146
|
+
function processPayment(userId, amount) {
|
|
147
|
+
// Implementation
|
|
148
|
+
}
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### 5. Code Review Integration
|
|
152
|
+
|
|
153
|
+
During reviews, Augment:
|
|
154
|
+
- Checks feature compliance
|
|
155
|
+
- Validates sprint alignment
|
|
156
|
+
- Ensures persona guidelines
|
|
157
|
+
- Suggests improvements
|
|
158
|
+
|
|
159
|
+
## Best Practices
|
|
160
|
+
|
|
161
|
+
### 1. Feature First
|
|
162
|
+
|
|
163
|
+
Always start with feature context:
|
|
164
|
+
```
|
|
165
|
+
@augment explain FL-001
|
|
166
|
+
@augment show dependencies for current file
|
|
167
|
+
@augment validate against feature spec
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### 2. Team Sync
|
|
171
|
+
|
|
172
|
+
Keep team aligned:
|
|
173
|
+
```
|
|
174
|
+
@augment share feature understanding
|
|
175
|
+
@augment show team progress on S03
|
|
176
|
+
@augment who worked on FL-001?
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### 3. Sprint Focus
|
|
180
|
+
|
|
181
|
+
Stay on track:
|
|
182
|
+
```
|
|
183
|
+
@augment current sprint tasks
|
|
184
|
+
@augment my assigned tasks
|
|
185
|
+
@augment task progress T13_S03
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
### 4. Documentation
|
|
189
|
+
|
|
190
|
+
Let Augment help:
|
|
191
|
+
```
|
|
192
|
+
@augment document this function
|
|
193
|
+
@augment update feature docs
|
|
194
|
+
@augment generate API docs
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
## Advanced Features
|
|
198
|
+
|
|
199
|
+
### 1. Codebase Analysis
|
|
200
|
+
|
|
201
|
+
Deep understanding commands:
|
|
202
|
+
|
|
203
|
+
```
|
|
204
|
+
@augment analyze feature coverage
|
|
205
|
+
@augment find feature gaps
|
|
206
|
+
@augment suggest refactoring for FL-001
|
|
207
|
+
@augment architecture review
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
### 2. Test Generation
|
|
211
|
+
|
|
212
|
+
AIWF-aware testing:
|
|
213
|
+
|
|
214
|
+
```javascript
|
|
215
|
+
// @augment generate tests for FL-001
|
|
216
|
+
// Generates:
|
|
217
|
+
describe('Authentication Feature (FL-001)', () => {
|
|
218
|
+
it('should validate credentials', () => {
|
|
219
|
+
// Test based on feature spec
|
|
220
|
+
});
|
|
221
|
+
|
|
222
|
+
it('should handle 2FA', () => {
|
|
223
|
+
// Test for feature requirement
|
|
224
|
+
});
|
|
225
|
+
});
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
### 3. Refactoring Suggestions
|
|
229
|
+
|
|
230
|
+
Intelligent improvements:
|
|
231
|
+
|
|
232
|
+
```
|
|
233
|
+
@augment refactor for feature FL-001
|
|
234
|
+
// Suggests:
|
|
235
|
+
// - Extract authentication logic to service
|
|
236
|
+
// - Implement strategy pattern for auth methods
|
|
237
|
+
// - Add feature flag for gradual rollout
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
### 4. Knowledge Queries
|
|
241
|
+
|
|
242
|
+
Ask about your codebase:
|
|
243
|
+
|
|
244
|
+
```
|
|
245
|
+
@augment how does authentication work?
|
|
246
|
+
@augment what features depend on user service?
|
|
247
|
+
@augment show architecture for payment system
|
|
248
|
+
@augment who has expertise in FL-003?
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
## Team Features
|
|
252
|
+
|
|
253
|
+
### 1. Expertise Mapping
|
|
254
|
+
|
|
255
|
+
Augment tracks:
|
|
256
|
+
- Who implemented which features
|
|
257
|
+
- Domain expertise by team member
|
|
258
|
+
- Code ownership patterns
|
|
259
|
+
- Review participation
|
|
260
|
+
|
|
261
|
+
### 2. Task Assignment
|
|
262
|
+
|
|
263
|
+
Smart suggestions:
|
|
264
|
+
```
|
|
265
|
+
@augment who should implement T14_S03?
|
|
266
|
+
// Based on:
|
|
267
|
+
// - Feature expertise
|
|
268
|
+
// - Current workload
|
|
269
|
+
// - Past performance
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
### 3. Knowledge Transfer
|
|
273
|
+
|
|
274
|
+
Automated documentation:
|
|
275
|
+
```
|
|
276
|
+
@augment create onboarding guide for FL-001
|
|
277
|
+
@augment explain payment flow to new developer
|
|
278
|
+
@augment document team decisions on auth
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
### 4. Code Consistency
|
|
282
|
+
|
|
283
|
+
Team-wide patterns:
|
|
284
|
+
```
|
|
285
|
+
@augment show team coding patterns
|
|
286
|
+
@augment enforce style for FL-001
|
|
287
|
+
@augment suggest consistent naming
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
## Performance Optimization
|
|
291
|
+
|
|
292
|
+
### 1. Context Management
|
|
293
|
+
|
|
294
|
+
- Augment automatically compresses large contexts
|
|
295
|
+
- Prioritizes relevant features
|
|
296
|
+
- Caches frequently accessed data
|
|
297
|
+
- Optimizes for quick responses
|
|
298
|
+
|
|
299
|
+
### 2. Indexing Strategy
|
|
300
|
+
|
|
301
|
+
- Incremental indexing on file changes
|
|
302
|
+
- Priority indexing for active features
|
|
303
|
+
- Background indexing for full codebase
|
|
304
|
+
- Smart cache invalidation
|
|
305
|
+
|
|
306
|
+
### 3. Team Sync
|
|
307
|
+
|
|
308
|
+
- Efficient delta syncing
|
|
309
|
+
- Compressed knowledge transfer
|
|
310
|
+
- Lazy loading of team data
|
|
311
|
+
- Local caching of common queries
|
|
312
|
+
|
|
313
|
+
## Integration Commands
|
|
314
|
+
|
|
315
|
+
Quick reference:
|
|
316
|
+
|
|
317
|
+
```bash
|
|
318
|
+
# Feature commands
|
|
319
|
+
@augment feature list
|
|
320
|
+
@augment feature show FL-001
|
|
321
|
+
@augment feature validate
|
|
322
|
+
|
|
323
|
+
# Sprint commands
|
|
324
|
+
@augment sprint current
|
|
325
|
+
@augment sprint tasks
|
|
326
|
+
@augment sprint progress
|
|
327
|
+
|
|
328
|
+
# Team commands
|
|
329
|
+
@augment team status
|
|
330
|
+
@augment team expertise
|
|
331
|
+
@augment team assign T14_S03
|
|
332
|
+
|
|
333
|
+
# Analysis commands
|
|
334
|
+
@augment analyze codebase
|
|
335
|
+
@augment analyze dependencies
|
|
336
|
+
@augment analyze architecture
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
## Troubleshooting
|
|
340
|
+
|
|
341
|
+
### Common Issues
|
|
342
|
+
|
|
343
|
+
1. **Augment not recognizing features**
|
|
344
|
+
- Run `@augment reindex features`
|
|
345
|
+
- Check .augment/config.json
|
|
346
|
+
- Verify feature ledger structure
|
|
347
|
+
|
|
348
|
+
2. **Team sync issues**
|
|
349
|
+
- Check network connectivity
|
|
350
|
+
- Verify team permissions
|
|
351
|
+
- Run `@augment team sync --force`
|
|
352
|
+
|
|
353
|
+
3. **Slow performance**
|
|
354
|
+
- Enable compression: `@augment config set compression true`
|
|
355
|
+
- Clear cache: `@augment cache clear`
|
|
356
|
+
- Reduce context size
|
|
357
|
+
|
|
358
|
+
### Debug Mode
|
|
359
|
+
|
|
360
|
+
Enable detailed logging:
|
|
361
|
+
|
|
362
|
+
```json
|
|
363
|
+
{
|
|
364
|
+
"augment": {
|
|
365
|
+
"debug": {
|
|
366
|
+
"enabled": true,
|
|
367
|
+
"verbose": true,
|
|
368
|
+
"log_file": ".augment/debug.log"
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
## Best Practices Summary
|
|
375
|
+
|
|
376
|
+
1. **Always reference features** in code and commits
|
|
377
|
+
2. **Keep sprint tasks updated** as you work
|
|
378
|
+
3. **Use appropriate personas** for different tasks
|
|
379
|
+
4. **Leverage team features** for collaboration
|
|
380
|
+
5. **Let Augment generate** documentation
|
|
381
|
+
6. **Trust codebase analysis** for decisions
|
|
382
|
+
7. **Share knowledge** through Augment
|
|
383
|
+
8. **Maintain feature specs** for accuracy
|
|
384
|
+
|
|
385
|
+
---
|
|
386
|
+
|
|
387
|
+
*Augment AIWF Integration v1.0.0*
|
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
# Augment AI Configuration for AIWF Projects
|
|
2
|
+
# Version: 1.0.0
|
|
3
|
+
|
|
4
|
+
# Project identification
|
|
5
|
+
project:
|
|
6
|
+
type: aiwf
|
|
7
|
+
framework_version: 1.0.0
|
|
8
|
+
name: "${PROJECT_NAME}"
|
|
9
|
+
description: "AI Workflow Framework project with Augment integration"
|
|
10
|
+
|
|
11
|
+
# AIWF structure mapping
|
|
12
|
+
structure:
|
|
13
|
+
root: .aiwf
|
|
14
|
+
directories:
|
|
15
|
+
features: 06_FEATURE_LEDGERS
|
|
16
|
+
sprints: 03_SPRINTS
|
|
17
|
+
tasks: 04_GENERAL_TASKS
|
|
18
|
+
personas: personas
|
|
19
|
+
templates: 99_TEMPLATES
|
|
20
|
+
architecture: 05_ARCHITECTURAL_DECISIONS
|
|
21
|
+
state: 10_STATE_OF_PROJECT
|
|
22
|
+
|
|
23
|
+
# Context providers
|
|
24
|
+
context:
|
|
25
|
+
providers:
|
|
26
|
+
- name: feature_ledger
|
|
27
|
+
type: markdown
|
|
28
|
+
path: .aiwf/06_FEATURE_LEDGERS/**/*.md
|
|
29
|
+
parser: aiwf_feature
|
|
30
|
+
cache: true
|
|
31
|
+
refresh: on_save
|
|
32
|
+
|
|
33
|
+
- name: current_sprint
|
|
34
|
+
type: directory
|
|
35
|
+
path: .aiwf/03_SPRINTS
|
|
36
|
+
parser: aiwf_sprint
|
|
37
|
+
watch: true
|
|
38
|
+
|
|
39
|
+
- name: active_persona
|
|
40
|
+
type: json
|
|
41
|
+
path: .aiwf/current_persona.json
|
|
42
|
+
watch: true
|
|
43
|
+
|
|
44
|
+
- name: project_manifest
|
|
45
|
+
type: markdown
|
|
46
|
+
path: .aiwf/00_PROJECT_MANIFEST.md
|
|
47
|
+
parser: aiwf_manifest
|
|
48
|
+
cache: true
|
|
49
|
+
|
|
50
|
+
# Code generation patterns
|
|
51
|
+
patterns:
|
|
52
|
+
# File naming
|
|
53
|
+
naming:
|
|
54
|
+
services: "{feature_id}_{name}.service.{ext}"
|
|
55
|
+
controllers: "{feature_id}_{name}.controller.{ext}"
|
|
56
|
+
tests: "{name}.spec.{ext}"
|
|
57
|
+
components: "{name}.component.{ext}"
|
|
58
|
+
|
|
59
|
+
# Import organization
|
|
60
|
+
imports:
|
|
61
|
+
order:
|
|
62
|
+
- external
|
|
63
|
+
- "@aiwf/core"
|
|
64
|
+
- "@aiwf/*"
|
|
65
|
+
- internal
|
|
66
|
+
- feature
|
|
67
|
+
- relative
|
|
68
|
+
grouping: true
|
|
69
|
+
sorting: alphabetical
|
|
70
|
+
|
|
71
|
+
# Documentation
|
|
72
|
+
documentation:
|
|
73
|
+
style: jsdoc
|
|
74
|
+
required_tags:
|
|
75
|
+
- "@feature"
|
|
76
|
+
- "@task"
|
|
77
|
+
- "@persona"
|
|
78
|
+
auto_generate:
|
|
79
|
+
feature_id: true
|
|
80
|
+
task_id: true
|
|
81
|
+
sprint_id: true
|
|
82
|
+
timestamp: false
|
|
83
|
+
|
|
84
|
+
# Persona configurations
|
|
85
|
+
personas:
|
|
86
|
+
architect:
|
|
87
|
+
focus:
|
|
88
|
+
- system_design
|
|
89
|
+
- architectural_patterns
|
|
90
|
+
- scalability
|
|
91
|
+
- abstractions
|
|
92
|
+
patterns:
|
|
93
|
+
- interfaces
|
|
94
|
+
- abstract_classes
|
|
95
|
+
- design_patterns
|
|
96
|
+
- dependency_injection
|
|
97
|
+
suggestions:
|
|
98
|
+
priority: architecture_first
|
|
99
|
+
examples: true
|
|
100
|
+
alternatives: multiple
|
|
101
|
+
|
|
102
|
+
security:
|
|
103
|
+
focus:
|
|
104
|
+
- input_validation
|
|
105
|
+
- authentication
|
|
106
|
+
- authorization
|
|
107
|
+
- encryption
|
|
108
|
+
patterns:
|
|
109
|
+
- sanitization
|
|
110
|
+
- rate_limiting
|
|
111
|
+
- audit_logging
|
|
112
|
+
- security_headers
|
|
113
|
+
warnings:
|
|
114
|
+
level: high
|
|
115
|
+
types:
|
|
116
|
+
- sql_injection
|
|
117
|
+
- xss
|
|
118
|
+
- csrf
|
|
119
|
+
- exposed_secrets
|
|
120
|
+
|
|
121
|
+
frontend:
|
|
122
|
+
focus:
|
|
123
|
+
- user_experience
|
|
124
|
+
- component_design
|
|
125
|
+
- performance
|
|
126
|
+
- accessibility
|
|
127
|
+
patterns:
|
|
128
|
+
- react_hooks
|
|
129
|
+
- state_management
|
|
130
|
+
- responsive_design
|
|
131
|
+
- lazy_loading
|
|
132
|
+
frameworks:
|
|
133
|
+
react: true
|
|
134
|
+
vue: true
|
|
135
|
+
angular: true
|
|
136
|
+
|
|
137
|
+
backend:
|
|
138
|
+
focus:
|
|
139
|
+
- api_design
|
|
140
|
+
- data_models
|
|
141
|
+
- business_logic
|
|
142
|
+
- integrations
|
|
143
|
+
patterns:
|
|
144
|
+
- rest_api
|
|
145
|
+
- graphql
|
|
146
|
+
- microservices
|
|
147
|
+
- event_driven
|
|
148
|
+
databases:
|
|
149
|
+
sql: true
|
|
150
|
+
nosql: true
|
|
151
|
+
cache: true
|
|
152
|
+
|
|
153
|
+
data_analyst:
|
|
154
|
+
focus:
|
|
155
|
+
- data_processing
|
|
156
|
+
- visualization
|
|
157
|
+
- statistics
|
|
158
|
+
- reporting
|
|
159
|
+
patterns:
|
|
160
|
+
- pandas_operations
|
|
161
|
+
- numpy_calculations
|
|
162
|
+
- chart_generation
|
|
163
|
+
- data_pipelines
|
|
164
|
+
libraries:
|
|
165
|
+
pandas: true
|
|
166
|
+
numpy: true
|
|
167
|
+
matplotlib: true
|
|
168
|
+
seaborn: true
|
|
169
|
+
|
|
170
|
+
# Code suggestions behavior
|
|
171
|
+
suggestions:
|
|
172
|
+
# Context awareness
|
|
173
|
+
context_depth: 3
|
|
174
|
+
include_related_features: true
|
|
175
|
+
check_dependencies: true
|
|
176
|
+
|
|
177
|
+
# Validation
|
|
178
|
+
validation:
|
|
179
|
+
feature_status: always
|
|
180
|
+
task_alignment: always
|
|
181
|
+
sprint_scope: warning
|
|
182
|
+
persona_match: info
|
|
183
|
+
|
|
184
|
+
# Auto-completion
|
|
185
|
+
autocomplete:
|
|
186
|
+
trigger_chars: 3
|
|
187
|
+
show_metadata: true
|
|
188
|
+
include_examples: true
|
|
189
|
+
max_suggestions: 10
|
|
190
|
+
|
|
191
|
+
# Intelligence features
|
|
192
|
+
intelligence:
|
|
193
|
+
learn_from_codebase: true
|
|
194
|
+
adapt_to_style: true
|
|
195
|
+
suggest_refactoring: true
|
|
196
|
+
detect_patterns: true
|
|
197
|
+
|
|
198
|
+
# Integration rules
|
|
199
|
+
rules:
|
|
200
|
+
# Feature validation
|
|
201
|
+
- id: feature_validation
|
|
202
|
+
name: "Require feature validation"
|
|
203
|
+
severity: error
|
|
204
|
+
applies_to: ["services", "controllers"]
|
|
205
|
+
pattern: "class.*"
|
|
206
|
+
requires: "validateFeature|checkFeature"
|
|
207
|
+
message: "All services must validate their feature status"
|
|
208
|
+
|
|
209
|
+
# Task references
|
|
210
|
+
- id: task_reference
|
|
211
|
+
name: "Task reference required"
|
|
212
|
+
severity: warning
|
|
213
|
+
applies_to: ["all"]
|
|
214
|
+
pattern: "export (class|function|const)"
|
|
215
|
+
requires: "@task"
|
|
216
|
+
message: "Exported items should reference their task ID"
|
|
217
|
+
|
|
218
|
+
# Security checks
|
|
219
|
+
- id: input_sanitization
|
|
220
|
+
name: "Input sanitization"
|
|
221
|
+
severity: error
|
|
222
|
+
applies_to: ["controllers", "api"]
|
|
223
|
+
pattern: "req\\.(body|params|query)"
|
|
224
|
+
requires: "sanitize|validate"
|
|
225
|
+
message: "User input must be sanitized"
|
|
226
|
+
|
|
227
|
+
# Test coverage
|
|
228
|
+
- id: test_required
|
|
229
|
+
name: "Test file required"
|
|
230
|
+
severity: warning
|
|
231
|
+
applies_to: ["services", "controllers", "utils"]
|
|
232
|
+
requires_file: "{name}.spec.{ext}"
|
|
233
|
+
message: "Test file is missing"
|
|
234
|
+
|
|
235
|
+
# Error handling
|
|
236
|
+
error_handling:
|
|
237
|
+
style: contextual
|
|
238
|
+
include_metadata: true
|
|
239
|
+
patterns:
|
|
240
|
+
feature_error: |
|
|
241
|
+
class {Name}Error extends Error {
|
|
242
|
+
constructor(message, context) {
|
|
243
|
+
super(`[{feature_id}/{task_id}] ${message}`);
|
|
244
|
+
this.feature = '{feature_id}';
|
|
245
|
+
this.task = '{task_id}';
|
|
246
|
+
this.timestamp = new Date().toISOString();
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
# Git integration
|
|
251
|
+
git:
|
|
252
|
+
hooks:
|
|
253
|
+
pre_commit:
|
|
254
|
+
- validate_features
|
|
255
|
+
- check_task_references
|
|
256
|
+
- run_linter
|
|
257
|
+
post_commit:
|
|
258
|
+
- update_feature_progress
|
|
259
|
+
- log_to_sprint
|
|
260
|
+
|
|
261
|
+
commit_format: "{type}({feature_id}): {message}"
|
|
262
|
+
branch_format: "feature/{feature_id}-{name}"
|
|
263
|
+
|
|
264
|
+
# Performance optimization
|
|
265
|
+
performance:
|
|
266
|
+
analyze: true
|
|
267
|
+
suggest_optimizations: true
|
|
268
|
+
track_metrics: true
|
|
269
|
+
thresholds:
|
|
270
|
+
response_time: 100ms
|
|
271
|
+
bundle_size: 500kb
|
|
272
|
+
memory_usage: 100mb
|
|
273
|
+
|
|
274
|
+
# Testing integration
|
|
275
|
+
testing:
|
|
276
|
+
framework: jest
|
|
277
|
+
coverage:
|
|
278
|
+
threshold: 80
|
|
279
|
+
include_feature_tests: true
|
|
280
|
+
require_acceptance_tests: true
|
|
281
|
+
patterns:
|
|
282
|
+
unit: "*.spec.{js,ts}"
|
|
283
|
+
integration: "*.integration.{js,ts}"
|
|
284
|
+
e2e: "*.e2e.{js,ts}"
|
|
285
|
+
|
|
286
|
+
# Documentation generation
|
|
287
|
+
documentation:
|
|
288
|
+
auto_generate: true
|
|
289
|
+
update_on_save: true
|
|
290
|
+
targets:
|
|
291
|
+
- feature_ledger
|
|
292
|
+
- api_docs
|
|
293
|
+
- readme
|
|
294
|
+
- changelog
|
|
295
|
+
format:
|
|
296
|
+
style: markdown
|
|
297
|
+
include_examples: true
|
|
298
|
+
include_diagrams: true
|
|
299
|
+
|
|
300
|
+
# Custom commands
|
|
301
|
+
commands:
|
|
302
|
+
- name: "Create Feature"
|
|
303
|
+
command: "aiwf:create-feature"
|
|
304
|
+
shortcut: "cmd+shift+f"
|
|
305
|
+
description: "Create a new feature in Feature Ledger"
|
|
306
|
+
|
|
307
|
+
- name: "Update Task"
|
|
308
|
+
command: "aiwf:update-task"
|
|
309
|
+
shortcut: "cmd+shift+t"
|
|
310
|
+
description: "Update current task status"
|
|
311
|
+
|
|
312
|
+
- name: "Switch Persona"
|
|
313
|
+
command: "aiwf:switch-persona"
|
|
314
|
+
shortcut: "cmd+shift+p"
|
|
315
|
+
description: "Switch active AI persona"
|
|
316
|
+
|
|
317
|
+
- name: "Sprint Status"
|
|
318
|
+
command: "aiwf:sprint-status"
|
|
319
|
+
shortcut: "cmd+shift+s"
|
|
320
|
+
description: "Show current sprint status"
|
|
321
|
+
|
|
322
|
+
# Cache configuration
|
|
323
|
+
cache:
|
|
324
|
+
enabled: true
|
|
325
|
+
location: .augment/cache
|
|
326
|
+
max_size: 100mb
|
|
327
|
+
ttl: 24h
|
|
328
|
+
clear_on:
|
|
329
|
+
- major_version_change
|
|
330
|
+
- structure_change
|
|
331
|
+
- manual_clear
|
|
332
|
+
|
|
333
|
+
# Telemetry
|
|
334
|
+
telemetry:
|
|
335
|
+
enabled: false
|
|
336
|
+
anonymous: true
|
|
337
|
+
track:
|
|
338
|
+
- feature_usage
|
|
339
|
+
- persona_switches
|
|
340
|
+
- performance_metrics
|
|
341
|
+
|
|
342
|
+
# Experimental features
|
|
343
|
+
experimental:
|
|
344
|
+
ai_refactoring: false
|
|
345
|
+
auto_test_generation: false
|
|
346
|
+
smart_documentation: false
|
|
347
|
+
predictive_coding: false
|