aiwf 0.3.1 → 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 +95 -11
- package/CHANGELOG_M02.md +52 -0
- package/CLAUDE.md +135 -0
- package/README.ko.md +5 -0
- package/README.md +6 -0
- 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_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_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_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_default_mode.md +44 -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_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_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 +2 -2
- 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_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 +8 -2
- package/docs/COMMANDS_GUIDE.md +196 -2
- package/docs/CONTRIBUTING.ko.md +408 -0
- package/docs/CONTRIBUTING.md +205 -203
- package/docs/EXAMPLES.md +691 -0
- package/docs/GETTING_STARTED.md +480 -0
- package/docs/PERFORMANCE_ARCHITECTURE.md +494 -0
- package/docs/PERFORMANCE_GUIDELINES.md +553 -0
- 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 +109 -1
- package/jest.config.js +20 -1
- package/language-utils.js +1 -1
- 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 +6 -3
- package/scripts/run-integration-tests.js +317 -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 +1 -1
- 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 +25 -9
- 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_language_manager.md +0 -287
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_language_status.md +0 -246
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_language_manager.md +0 -287
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_language_status.md +0 -246
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# aiwf compress-aggressive-persona
|
|
2
|
+
|
|
3
|
+
활성화된 페르소나를 고려하여 공격적 모드로 컨텍스트를 압축합니다.
|
|
4
|
+
|
|
5
|
+
## 실행
|
|
6
|
+
|
|
7
|
+
```javascript
|
|
8
|
+
const { spawn } = require('child_process');
|
|
9
|
+
const path = require('path');
|
|
10
|
+
|
|
11
|
+
// .aiwf 디렉토리로 이동하여 명령 실행
|
|
12
|
+
const cwd = path.join(process.cwd(), '.aiwf');
|
|
13
|
+
const proc = spawn('node', [
|
|
14
|
+
'../claude-code/aiwf/ko/commands/compress-context.js',
|
|
15
|
+
'aggressive',
|
|
16
|
+
'--persona'
|
|
17
|
+
], { cwd, stdio: 'inherit' });
|
|
18
|
+
|
|
19
|
+
proc.on('error', (err) => {
|
|
20
|
+
console.error('명령 실행 실패:', err.message);
|
|
21
|
+
});
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## 설명
|
|
25
|
+
|
|
26
|
+
페르소나 특성을 고려하면서도 50-70%의 높은 압축률을 목표로 합니다. 페르소나 관련 핵심 정보는 보존하되, 나머지는 적극적으로 요약합니다.
|
|
27
|
+
|
|
28
|
+
### 특징
|
|
29
|
+
|
|
30
|
+
- 페르소나 중심 요약 생성
|
|
31
|
+
- 핵심 패턴만 보존
|
|
32
|
+
- 중요도가 낮은 섹션은 요약으로 대체
|
|
33
|
+
- 페르소나별 summarization focus 적용
|
|
34
|
+
|
|
35
|
+
## 압축 결과
|
|
36
|
+
|
|
37
|
+
압축 후 페르소나별 요약이 문서 하단에 추가됩니다:
|
|
38
|
+
|
|
39
|
+
```markdown
|
|
40
|
+
---
|
|
41
|
+
### [페르소나명] 관점 요약
|
|
42
|
+
|
|
43
|
+
주요 내용 ([페르소나의 focus]):
|
|
44
|
+
- 핵심 포인트 1
|
|
45
|
+
- 핵심 포인트 2
|
|
46
|
+
- ...
|
|
47
|
+
---
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## 주의사항
|
|
51
|
+
|
|
52
|
+
- 매우 높은 압축률로 인해 일부 세부 정보가 손실될 수 있습니다
|
|
53
|
+
- 중요한 문서는 백업 후 사용을 권장합니다
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# aiwf compress-minimal-persona
|
|
2
|
+
|
|
3
|
+
활성화된 페르소나를 고려하여 최소 모드로 컨텍스트를 압축합니다.
|
|
4
|
+
|
|
5
|
+
## 실행
|
|
6
|
+
|
|
7
|
+
```javascript
|
|
8
|
+
const { spawn } = require('child_process');
|
|
9
|
+
const path = require('path');
|
|
10
|
+
|
|
11
|
+
// .aiwf 디렉토리로 이동하여 명령 실행
|
|
12
|
+
const cwd = path.join(process.cwd(), '.aiwf');
|
|
13
|
+
const proc = spawn('node', [
|
|
14
|
+
'../claude-code/aiwf/ko/commands/compress-context.js',
|
|
15
|
+
'minimal',
|
|
16
|
+
'--persona'
|
|
17
|
+
], { cwd, stdio: 'inherit' });
|
|
18
|
+
|
|
19
|
+
proc.on('error', (err) => {
|
|
20
|
+
console.error('명령 실행 실패:', err.message);
|
|
21
|
+
});
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## 설명
|
|
25
|
+
|
|
26
|
+
페르소나 특성을 고려하면서도 최소한의 압축만 수행합니다. 10-30%의 낮은 압축률로 원본 내용을 최대한 보존합니다.
|
|
27
|
+
|
|
28
|
+
### 압축 전략
|
|
29
|
+
|
|
30
|
+
- 페르소나 관련 패턴은 100% 보존
|
|
31
|
+
- 중복 내용만 제거
|
|
32
|
+
- 불필요한 공백과 포맷팅 정리
|
|
33
|
+
- 페르소나별 중요도 점수가 평균 이상인 섹션은 그대로 유지
|
|
34
|
+
|
|
35
|
+
## 적합한 사용 사례
|
|
36
|
+
|
|
37
|
+
- 중요한 기술 문서
|
|
38
|
+
- 상세한 API 문서
|
|
39
|
+
- 보안 관련 문서
|
|
40
|
+
- 데이터 분석 리포트
|
|
41
|
+
|
|
42
|
+
## 결과
|
|
43
|
+
|
|
44
|
+
압축 후에도 다음이 보장됩니다:
|
|
45
|
+
- 모든 페르소나 관련 키워드 보존
|
|
46
|
+
- 문서 구조 완전 유지
|
|
47
|
+
- 코드 블록과 예제 보존
|
|
48
|
+
- 테이블과 다이어그램 유지
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# aiwf compress-stats
|
|
2
|
+
|
|
3
|
+
페르소나별 압축 통계를 확인합니다.
|
|
4
|
+
|
|
5
|
+
## 실행
|
|
6
|
+
|
|
7
|
+
```javascript
|
|
8
|
+
const fs = require('fs');
|
|
9
|
+
const path = require('path');
|
|
10
|
+
const chalk = require('chalk');
|
|
11
|
+
|
|
12
|
+
// PersonaAwareCompressor import
|
|
13
|
+
const { PersonaAwareCompressor } = require(path.join(
|
|
14
|
+
process.cwd(),
|
|
15
|
+
'claude-code/aiwf/ko/utils/persona-aware-compressor.js'
|
|
16
|
+
));
|
|
17
|
+
|
|
18
|
+
try {
|
|
19
|
+
const compressor = new PersonaAwareCompressor();
|
|
20
|
+
const stats = compressor.getPersonaCompressionStats();
|
|
21
|
+
|
|
22
|
+
console.log(chalk.cyan('📊 페르소나별 압축 통계'));
|
|
23
|
+
console.log(chalk.gray('━'.repeat(50)));
|
|
24
|
+
|
|
25
|
+
if (stats.currentPersona) {
|
|
26
|
+
console.log(`현재 페르소나: ${chalk.yellow(stats.currentPersona)}`);
|
|
27
|
+
|
|
28
|
+
if (stats.strategy) {
|
|
29
|
+
console.log('\n📋 현재 페르소나 압축 전략:');
|
|
30
|
+
console.log(`- 포커스 영역: ${stats.strategy.focusAreas.join(', ')}`);
|
|
31
|
+
console.log(`- 요약 초점: ${stats.strategy.summarizationFocus}`);
|
|
32
|
+
console.log(`- 보존 패턴: ${stats.strategy.preservePatterns.slice(0, 5).join(', ')}...`);
|
|
33
|
+
}
|
|
34
|
+
} else {
|
|
35
|
+
console.log(chalk.yellow('⚠️ 활성화된 페르소나가 없습니다.'));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
const avgRatios = stats.averageRatioByPersona;
|
|
39
|
+
if (Object.keys(avgRatios).length > 0) {
|
|
40
|
+
console.log('\n📈 페르소나별 평균 압축률:');
|
|
41
|
+
Object.entries(avgRatios).forEach(([persona, ratio]) => {
|
|
42
|
+
const personaNames = {
|
|
43
|
+
architect: 'Architect',
|
|
44
|
+
security: 'Security Expert',
|
|
45
|
+
frontend: 'Frontend Developer',
|
|
46
|
+
backend: 'Backend Developer',
|
|
47
|
+
data_analyst: 'Data Analyst'
|
|
48
|
+
};
|
|
49
|
+
console.log(`- ${personaNames[persona] || persona}: ${chalk.green(ratio + '%')}`);
|
|
50
|
+
});
|
|
51
|
+
} else {
|
|
52
|
+
console.log('\n압축 히스토리가 없습니다.');
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
} catch (error) {
|
|
56
|
+
console.error(chalk.red('오류:'), error.message);
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## 설명
|
|
61
|
+
|
|
62
|
+
페르소나별 압축 통계와 현재 활성화된 페르소나의 압축 전략을 확인합니다.
|
|
63
|
+
|
|
64
|
+
### 제공 정보
|
|
65
|
+
|
|
66
|
+
1. **현재 페르소나 정보**
|
|
67
|
+
- 활성 페르소나 이름
|
|
68
|
+
- 압축 전략 상세
|
|
69
|
+
- 보존 패턴 목록
|
|
70
|
+
|
|
71
|
+
2. **압축 히스토리 통계**
|
|
72
|
+
- 페르소나별 평균 압축률
|
|
73
|
+
- 압축 성능 비교
|
|
74
|
+
|
|
75
|
+
## 활용 방법
|
|
76
|
+
|
|
77
|
+
- 페르소나별 압축 효율성 비교
|
|
78
|
+
- 최적의 압축 모드 선택
|
|
79
|
+
- 압축 전략 개선점 파악
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# aiwf compress-with-persona
|
|
2
|
+
|
|
3
|
+
활성화된 페르소나를 고려하여 컨텍스트를 압축합니다.
|
|
4
|
+
|
|
5
|
+
## 실행
|
|
6
|
+
|
|
7
|
+
```javascript
|
|
8
|
+
const { spawn } = require('child_process');
|
|
9
|
+
const path = require('path');
|
|
10
|
+
|
|
11
|
+
// .aiwf 디렉토리로 이동하여 명령 실행
|
|
12
|
+
const cwd = path.join(process.cwd(), '.aiwf');
|
|
13
|
+
const proc = spawn('node', [
|
|
14
|
+
'../claude-code/aiwf/ko/commands/compress-context.js',
|
|
15
|
+
'balanced',
|
|
16
|
+
'--persona'
|
|
17
|
+
], { cwd, stdio: 'inherit' });
|
|
18
|
+
|
|
19
|
+
proc.on('error', (err) => {
|
|
20
|
+
console.error('명령 실행 실패:', err.message);
|
|
21
|
+
});
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## 설명
|
|
25
|
+
|
|
26
|
+
현재 활성화된 페르소나의 특성을 고려하여 컨텍스트를 압축합니다. 페르소나별로 중요한 패턴과 키워드를 보존하며, 관련성이 낮은 내용은 더 적극적으로 압축합니다.
|
|
27
|
+
|
|
28
|
+
### 페르소나별 압축 전략
|
|
29
|
+
|
|
30
|
+
- **Architect**: 시스템 설계, 아키텍처 패턴 중심 보존
|
|
31
|
+
- **Security**: 보안 경고, 취약점 정보 완전 보존
|
|
32
|
+
- **Frontend**: UI/UX 설명, 시각적 요소 중심 보존
|
|
33
|
+
- **Backend**: API 명세, 데이터베이스 스키마 보존
|
|
34
|
+
- **Data Analyst**: 데이터 설명, 인사이트 완전 보존
|
|
35
|
+
|
|
36
|
+
## 사용 예시
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
# 기본 모드 (balanced)로 페르소나 인식 압축
|
|
40
|
+
aiwf compress-with-persona
|
|
41
|
+
|
|
42
|
+
# 다른 압축 모드와 함께 사용
|
|
43
|
+
aiwf compress-aggressive-persona # aggressive 모드
|
|
44
|
+
aiwf compress-minimal-persona # minimal 모드
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## 참고
|
|
48
|
+
|
|
49
|
+
- 페르소나가 활성화되지 않은 경우 일반 압축이 수행됩니다
|
|
50
|
+
- 압축된 파일은 `.aiwf_compressed/` 디렉토리에 저장됩니다
|
|
51
|
+
- 페르소나별 중요 패턴 보존율이 리포트에 포함됩니다
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# aiwf evaluate
|
|
2
|
+
|
|
3
|
+
AI 응답 품질을 간단하게 평가합니다.
|
|
4
|
+
|
|
5
|
+
## 실행
|
|
6
|
+
|
|
7
|
+
```javascript
|
|
8
|
+
const { spawn } = require('child_process');
|
|
9
|
+
const path = require('path');
|
|
10
|
+
|
|
11
|
+
// .aiwf 디렉토리로 이동하여 명령 실행
|
|
12
|
+
const cwd = path.join(process.cwd(), '.aiwf');
|
|
13
|
+
const args = process.argv.slice(2); // 추가 인자 전달
|
|
14
|
+
|
|
15
|
+
const proc = spawn('node', [
|
|
16
|
+
'../claude-code/aiwf/ko/commands/evaluate.js',
|
|
17
|
+
...args
|
|
18
|
+
], { cwd, stdio: 'inherit' });
|
|
19
|
+
|
|
20
|
+
proc.on('error', (err) => {
|
|
21
|
+
console.error('명령 실행 실패:', err.message);
|
|
22
|
+
});
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## 설명
|
|
26
|
+
|
|
27
|
+
경량화된 평가 시스템으로 AI 응답 품질을 모니터링합니다. 기본적으로 백그라운드에서 자동 실행되며, 필요할 때만 상세 정보를 확인할 수 있습니다.
|
|
28
|
+
|
|
29
|
+
## 사용 옵션
|
|
30
|
+
|
|
31
|
+
### 기본 사용 (빠른 평가)
|
|
32
|
+
```bash
|
|
33
|
+
aiwf evaluate
|
|
34
|
+
```
|
|
35
|
+
현재 페르소나의 최근 평가 통계를 간단히 표시합니다.
|
|
36
|
+
|
|
37
|
+
### 상세 분석
|
|
38
|
+
```bash
|
|
39
|
+
aiwf evaluate --detailed
|
|
40
|
+
# 또는
|
|
41
|
+
aiwf evaluate -d
|
|
42
|
+
```
|
|
43
|
+
모든 페르소나의 상세 통계와 개선 제안을 표시합니다.
|
|
44
|
+
|
|
45
|
+
### 평가 히스토리
|
|
46
|
+
```bash
|
|
47
|
+
aiwf evaluate --history
|
|
48
|
+
# 또는
|
|
49
|
+
aiwf evaluate -h
|
|
50
|
+
```
|
|
51
|
+
최근 10개의 평가 기록을 시간순으로 표시합니다.
|
|
52
|
+
|
|
53
|
+
### 주간 통계
|
|
54
|
+
```bash
|
|
55
|
+
aiwf evaluate --stats
|
|
56
|
+
# 또는
|
|
57
|
+
aiwf evaluate -s
|
|
58
|
+
```
|
|
59
|
+
일주일간의 평가 통계와 페르소나별 활용도를 표시합니다.
|
|
60
|
+
|
|
61
|
+
## 자동 평가 시스템
|
|
62
|
+
|
|
63
|
+
이 명령어는 수동으로 실행할 수 있지만, 실제로는 다음 상황에서 자동으로 백그라운드 평가가 수행됩니다:
|
|
64
|
+
|
|
65
|
+
- 페르소나 전환 시
|
|
66
|
+
- 컨텍스트 압축 시
|
|
67
|
+
- AI 응답 생성 후 (향후 구현)
|
|
68
|
+
|
|
69
|
+
평가 점수가 60% 미만일 때만 자동으로 피드백이 표시되므로, 작업 흐름을 방해하지 않습니다.
|
|
70
|
+
|
|
71
|
+
## 평가 기준
|
|
72
|
+
|
|
73
|
+
### 3가지 핵심 지표
|
|
74
|
+
1. **역할 일치도 (50%)**: 페르소나 특성 반영 정도
|
|
75
|
+
2. **작업 관련성 (30%)**: 요청된 작업과의 관련성
|
|
76
|
+
3. **기본 품질 (20%)**: 응답의 구조와 내용
|
|
77
|
+
|
|
78
|
+
### 점수 해석
|
|
79
|
+
- 80% 이상: 훌륭함 🎉
|
|
80
|
+
- 60-79%: 양호함 ✅
|
|
81
|
+
- 60% 미만: 개선 필요 💡
|
|
82
|
+
|
|
83
|
+
## 예시 출력
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
🔍 최근 응답 평가
|
|
87
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
88
|
+
현재 페르소나: architect
|
|
89
|
+
평균 점수: 0.75
|
|
90
|
+
평가 횟수: 23
|
|
91
|
+
추세: 📈 개선 중
|
|
92
|
+
```
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
# AIWF 프로젝트 매니페스트
|
|
2
|
+
|
|
3
|
+
**프로젝트명**: AIWF (AI Workflow Framework)
|
|
4
|
+
**생성일**: 2025-07-02
|
|
5
|
+
**마지막 업데이트**: 2025-07-10
|
|
6
|
+
**프로젝트 유형**: Node.js NPM 패키지
|
|
7
|
+
**현재 버전**: 0.3.0
|
|
8
|
+
**최고 마일스톤**: M02
|
|
9
|
+
**최고 스프린트**: S03
|
|
10
|
+
|
|
11
|
+
## 프로젝트 개요
|
|
12
|
+
|
|
13
|
+
AIWF는 Claude Code와의 통합을 위해 설계된 마크다운 기반 프로젝트 관리 프레임워크입니다. AI 지원 개발을 위한 체계적인 워크플로우를 제공하며, 다국어 지원(한국어/영어)을 통해 글로벌 개발자들이 사용할 수 있도록 설계되었습니다.
|
|
14
|
+
|
|
15
|
+
## 현재 마일스톤
|
|
16
|
+
|
|
17
|
+
- **활성 마일스톤**: M02_Context_Engineering_Enhancement
|
|
18
|
+
- **마일스톤 상태**: 완료
|
|
19
|
+
- **진행률**: 100%
|
|
20
|
+
- **완료일**: 2025-07-08
|
|
21
|
+
|
|
22
|
+
## 현재 스프린트
|
|
23
|
+
|
|
24
|
+
- **활성 스프린트**: S03_M02_ecosystem_integration
|
|
25
|
+
- **스프린트 상태**: complete
|
|
26
|
+
- **시작일**: 2025-07-08
|
|
27
|
+
- **완료일**: 2025-07-08
|
|
28
|
+
|
|
29
|
+
## 활성 태스크
|
|
30
|
+
|
|
31
|
+
### 진행 중
|
|
32
|
+
|
|
33
|
+
- **T14_S03**: 기본 프로젝트 템플릿 구축 (in_progress → 2025-07-10 06:20 시작)
|
|
34
|
+
|
|
35
|
+
### 계획됨
|
|
36
|
+
|
|
37
|
+
- 계획된 태스크 없음
|
|
38
|
+
|
|
39
|
+
### 최근 완료
|
|
40
|
+
|
|
41
|
+
- **T13_S03**: AI 도구 통합 템플릿 개발 (completed → 2025-07-10 04:37 완료)
|
|
42
|
+
|
|
43
|
+
- **TX001**: Complete English Translation for 100% i18n Support (completed → 2025-07-09 08:13 완료)
|
|
44
|
+
- **TX05_S02**: S02 통합 테스트 및 문서화 (completed → 2025-07-08 00:09 완료)
|
|
45
|
+
- **TX03_S02**: Context 압축 알고리즘 구현 (completed → 2025-07-09 03:48 완료)
|
|
46
|
+
- **TX11_S01**: 통합 테스트 Suite 구축 (completed → 2025-07-09 03:06 완료)
|
|
47
|
+
- **TX10_S01**: update_docs 명령어 복구 (completed → 2025-07-09 02:49 완료)
|
|
48
|
+
- **TX09_S01**: 압축 알고리즘 프로토타입 (completed → 2025-07-09 02:35 완료)
|
|
49
|
+
- **TX08_S01**: 토큰 추적 시스템 프로토타입 (completed → 2025-07-09 02:12 완료)
|
|
50
|
+
- **TX07_S01**: Context 압축 아키텍처 설계 (completed → 2025-07-09 01:54 완료)
|
|
51
|
+
- **TX05_S01**: AI 페르소나 데이터 구조 설계 (completed → 2025-07-09 01:25 완료)
|
|
52
|
+
- **TX04_S01**: Feature Ledger 문서화 (completed → 2025-07-09 01:02 완료)
|
|
53
|
+
- **TX03_S01**: Git 연동 Feature 추적 (completed → 2025-07-09 00:45 완료)
|
|
54
|
+
- **TX02_S01**: Feature Ledger CLI 명령어 개발 (completed → 2025-07-09 00:18 완료)
|
|
55
|
+
- **TX01_S01**: Feature Ledger 데이터 구조 설계 (completed → 2025-07-09 00:01 완료)
|
|
56
|
+
- **T04_S03**: update_docs 명령어 누락 이슈 해결 (completed → 2025-07-03 06:35 완료)
|
|
57
|
+
- **T03_S03**: 한국어 명령어 전체 시스템 표준화 (completed → 2025-07-03 06:28 완료)
|
|
58
|
+
|
|
59
|
+
### 완료됨
|
|
60
|
+
|
|
61
|
+
- 프로젝트 초기화 완료
|
|
62
|
+
- M01 마일스톤 완료 (한국어 명령어 표준화)
|
|
63
|
+
|
|
64
|
+
## 마일스톤 목록
|
|
65
|
+
|
|
66
|
+
| ID | 이름 | 상태 | 진행률 | 시작일 | 완료일 |
|
|
67
|
+
| --- | ------------------------------- | ------- | ------ | ---------- | ------ |
|
|
68
|
+
| M02 | Context_Engineering_Enhancement | 완료 | 100% | 2025-07-08 | 2025-07-08 |
|
|
69
|
+
|
|
70
|
+
### 마일스톤 상세
|
|
71
|
+
- [x] [M02: Context Engineering Enhancement](02_REQUIREMENTS/M02_Context_Engineering_Enhancement/M02_milestone_meta.md) - 상태: 완료
|
|
72
|
+
|
|
73
|
+
## 스프린트 목록
|
|
74
|
+
|
|
75
|
+
| ID | 이름 | 마일스톤 | 상태 | 진행률 | 시작일 | 완료일 |
|
|
76
|
+
| --- | ----------------------------- | -------- | --------- | ------ | ---------- | ------ |
|
|
77
|
+
| S01 | context_foundation | M02 | complete | 100% | 2025-07-08 | 2025-07-08 |
|
|
78
|
+
| S02 | ai_enhancement | M02 | complete | 100% | 2025-07-08 | 2025-07-08 |
|
|
79
|
+
| S03 | ecosystem_integration | M02 | complete | 100% | 2025-07-08 | 2025-07-08 |
|
|
80
|
+
|
|
81
|
+
## 일반 태스크
|
|
82
|
+
|
|
83
|
+
- [x] [TX001: Complete English Translation for 100% i18n Support](04_GENERAL_TASKS/TX001_complete_english_translation.md) - 상태: 완료
|
|
84
|
+
|
|
85
|
+
## 태스크 통계
|
|
86
|
+
|
|
87
|
+
- **총 태스크**: 19
|
|
88
|
+
- **완료**: 19
|
|
89
|
+
- **진행 중**: 0
|
|
90
|
+
- **대기 중**: 0
|
|
91
|
+
- **차단됨**: 0
|
|
92
|
+
|
|
93
|
+
## 프로젝트 메트릭
|
|
94
|
+
|
|
95
|
+
- **코드 커버리지**: N/A (NPM 패키지)
|
|
96
|
+
- **활성 이슈**: 0
|
|
97
|
+
- **해결된 이슈**: 0
|
|
98
|
+
- **오픈 PR**: 0
|
|
99
|
+
|
|
100
|
+
## 기술 스택
|
|
101
|
+
|
|
102
|
+
- **언어**: JavaScript (ES6+)
|
|
103
|
+
- **런타임**: Node.js 14.0.0+
|
|
104
|
+
- **패키지 매니저**: NPM
|
|
105
|
+
- **테스트**: Jest
|
|
106
|
+
- **CLI 도구**: Commander.js, Chalk, Ora, Prompts
|
|
107
|
+
|
|
108
|
+
## 주요 디렉토리
|
|
109
|
+
|
|
110
|
+
- `index.js`: 메인 CLI 설치 도구
|
|
111
|
+
- `claude-code/aiwf/ko/`: 한국어 AIWF 프레임워크
|
|
112
|
+
- `claude-code/aiwf/en/`: 영어 AIWF 프레임워크
|
|
113
|
+
- `rules/`: IDE별 개발 규칙
|
|
114
|
+
- `docs/`: 프로젝트 문서
|
|
115
|
+
- `tests/`: 테스트 파일
|
|
116
|
+
|
|
117
|
+
## 연락처 및 리소스
|
|
118
|
+
|
|
119
|
+
- **저자**: moonklabs
|
|
120
|
+
- **라이선스**: MIT
|
|
121
|
+
- **저장소**: https://github.com/aiwf/aiwf
|
|
122
|
+
- **NPM**: https://www.npmjs.com/package/aiwf
|
|
123
|
+
- **이슈 트래커**: https://github.com/aiwf/aiwf/issues
|
|
124
|
+
|
|
125
|
+
## 주요 변경사항 로그
|
|
126
|
+
|
|
127
|
+
### 2025-07-10
|
|
128
|
+
|
|
129
|
+
- 스프린트 태스크 상태 업데이트:
|
|
130
|
+
- S01_M02: 실제로 11/12 태스크 구현 완료 (테스크 파일에는 4/12로 표시됨)
|
|
131
|
+
- AI 페르소나, Context 압축, 토큰 추적 시스템 모두 구현됨
|
|
132
|
+
- Feature Ledger CLI 명령어만 미구현
|
|
133
|
+
- S02_M02: 태스크 파일과 구현의 불일치 확인
|
|
134
|
+
- 6개 페르소나 구현 (계획 5개와 다른 이름)
|
|
135
|
+
- Feature-Git 연동 부분 구현
|
|
136
|
+
- S03_M02: AI 도구 템플릿 및 프로젝트 템플릿 미구현
|
|
137
|
+
- Claude Code 템플릿만 존재
|
|
138
|
+
- 오프라인 캐시 시스템은 구현됨
|
|
139
|
+
|
|
140
|
+
### 2025-07-08
|
|
141
|
+
|
|
142
|
+
- S02 스프린트 완료: AI 강화 기능 구현
|
|
143
|
+
- 5개 AI 페르소나 명령어 구현 완료
|
|
144
|
+
- Context 압축 알고리즘 구현 (토큰 50% 절약 달성)
|
|
145
|
+
- Feature-Git 연동 시스템 구축
|
|
146
|
+
- 모든 DoD 항목 충족
|
|
147
|
+
- M01 마일스톤 삭제 (완료됨)
|
|
148
|
+
- M02 Context Engineering Enhancement 마일스톤을 위한 스프린트 재구성:
|
|
149
|
+
- S01_M02_context_foundation: Feature Ledger, AI 페르소나, Context 압축 기반 구축
|
|
150
|
+
- S02_M02_ai_enhancement: 5개 AI 페르소나, Context 압축 모드, Git 연동 구현
|
|
151
|
+
- S03_M02_ecosystem_integration: 5개 AI 도구 템플릿, 통합 및 문서화 완성
|
|
152
|
+
- M02 DoD 요구사항에 맞춘 스프린트 재정의
|
|
153
|
+
- 1주일 단위 실행 가능한 범위로 조정
|
|
154
|
+
|
|
155
|
+
### 2025-07-02
|
|
156
|
+
|
|
157
|
+
- AIWF 프로젝트 초기화 완료
|
|
158
|
+
- 아키텍처 문서 생성
|
|
159
|
+
- M01 한국어 명령어 표준화 마일스톤 시작
|
|
160
|
+
- T03_S03 태스크 생성
|
|
161
|
+
|
|
162
|
+
## 향후 계획
|
|
163
|
+
|
|
164
|
+
1. **즉시 조치 필요 사항**:
|
|
165
|
+
- Feature Ledger CLI 명령어 구현 (aiwf_create_feature_ledger, aiwf_update_feature_status 등)
|
|
166
|
+
- AI 도구 템플릿 4개 추가 (GitHub Copilot, Cursor, Windsurf, Augment)
|
|
167
|
+
- 프로젝트 템플릿 시스템 구현
|
|
168
|
+
- `.aiwf/ai-tools/` 및 `.aiwf/07_AI_PERSONAS/` 디렉토리 생성
|
|
169
|
+
|
|
170
|
+
2. **단기 목표 (1-2주)**:
|
|
171
|
+
- M02 DoD 항목 완전 충족
|
|
172
|
+
- 테스크 파일과 구현 상태 동기화
|
|
173
|
+
- 누락된 기능 구현 완료
|
|
174
|
+
|
|
175
|
+
3. **중기 목표 (1개월)**:
|
|
176
|
+
- 다음 마일스톤 계획 수립
|
|
177
|
+
- 사용자 피드백 반영
|
|
178
|
+
- 프로덕션 준비
|
|
179
|
+
|
|
180
|
+
4. **장기 목표 (분기)**:
|
|
181
|
+
- 새로운 언어 지원 추가
|
|
182
|
+
- AI 도구 통합 확대
|
|
183
|
+
- 커뮤니티 생태계 구축
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# AIWF (AI Workflow Framework) 아키텍처
|
|
2
|
+
|
|
3
|
+
## 프로젝트 개요
|
|
4
|
+
|
|
5
|
+
AIWF는 Claude Code와의 통합을 위해 설계된 마크다운 기반 프로젝트 관리 프레임워크입니다. AI 지원 개발을 위한 체계적인 워크플로우를 제공하며, 다국어 지원(한국어/영어)을 통해 글로벌 개발자들이 사용할 수 있도록 설계되었습니다.
|
|
6
|
+
|
|
7
|
+
## 핵심 목적
|
|
8
|
+
|
|
9
|
+
- AI가 효과적으로 처리할 수 있는 관리 가능한 단위로 소프트웨어 프로젝트를 분해
|
|
10
|
+
- Claude Code와의 완벽한 통합을 통한 개발 생산성 극대화
|
|
11
|
+
- 체계적인 프로젝트 관리 및 추적 시스템 제공
|
|
12
|
+
- 다국어 환경에서의 일관된 개발 경험 보장
|
|
13
|
+
|
|
14
|
+
## 핵심 아키텍처 구성요소
|
|
15
|
+
|
|
16
|
+
### 1. CLI 설치 도구 (index.js)
|
|
17
|
+
- **역할**: GitHub에서 AIWF 프레임워크 구성요소를 다운로드하고 설치하는 메인 진입점
|
|
18
|
+
- **기술 스택**: Node.js ES modules, Commander.js, Chalk, Ora, Prompts
|
|
19
|
+
- **핵심 기능**:
|
|
20
|
+
- GitHub API 통합으로 최신 프레임워크 컨텐츠 가져오기
|
|
21
|
+
- 대화형 언어 선택 (한국어/영어)
|
|
22
|
+
- 자동 백업 및 업데이트 시스템
|
|
23
|
+
- IDE별 규칙 변환 (Cursor, Windsurf)
|
|
24
|
+
|
|
25
|
+
### 2. AIWF 프레임워크 (claude-code/aiwf/)
|
|
26
|
+
- **구조**: 언어별 분리된 디렉토리 구조 (`ko/`, `en/`)
|
|
27
|
+
- **구성요소**:
|
|
28
|
+
- `.claude/commands/`: Claude Code 커스텀 명령어
|
|
29
|
+
- `.aiwf/`: 프로젝트 관리 구조 및 템플릿
|
|
30
|
+
|
|
31
|
+
### 3. 규칙 시스템 (rules/)
|
|
32
|
+
- **Global Rules**: 항상 적용되는 개발 가이드라인
|
|
33
|
+
- **Manual Rules**: 필요에 따라 적용하는 규칙들
|
|
34
|
+
- **IDE 통합**: Cursor와 Windsurf IDE를 위한 특화된 규칙 변환
|
|
35
|
+
|
|
36
|
+
## 기술적 아키텍처 결정사항
|
|
37
|
+
|
|
38
|
+
### 다국어 지원 전략
|
|
39
|
+
- **언어별 분리**: `ko/`, `en/` 폴더를 통한 완전한 언어별 컨텐츠 분리
|
|
40
|
+
- **설치 시점 선택**: 사용자가 설치 시 언어를 선택하여 해당 언어 버전만 설치
|
|
41
|
+
- **명령어 현지화**: 언어별 Claude Code 명령어 제공
|
|
42
|
+
|
|
43
|
+
### GitHub 통합 전략
|
|
44
|
+
- **직접 다운로드**: GitHub API를 통한 실시간 컨텐츠 페치
|
|
45
|
+
- **무인증 액세스**: GitHub API 속도 제한 내에서 동작
|
|
46
|
+
- **마스터 브랜치 기준**: 항상 최신 안정 버전 제공
|
|
47
|
+
|
|
48
|
+
### 파일 관리 전략
|
|
49
|
+
- **원자적 연산**: 백업/복원 기능을 통한 안전한 업데이트
|
|
50
|
+
- **선택적 업데이트**:
|
|
51
|
+
- CLAUDE.md 파일: 항상 업데이트
|
|
52
|
+
- 명령어: 항상 업데이트
|
|
53
|
+
- 템플릿: 신규 설치 시만 다운로드
|
|
54
|
+
- 사용자 컨텐츠: 업데이트 중 보존
|
|
55
|
+
|
|
56
|
+
## 프로젝트 관리 워크플로우
|
|
57
|
+
|
|
58
|
+
### 명령어 구조
|
|
59
|
+
```
|
|
60
|
+
/project:aiwf:<command>
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### 핵심 명령어 카테고리
|
|
64
|
+
1. **설정**: `initialize`, `prime`
|
|
65
|
+
2. **계획**: `plan_milestone`, `create_sprints_from_milestone`
|
|
66
|
+
3. **개발**: `do_task`, `commit`, `test`, `code_review`
|
|
67
|
+
4. **자동화**: `yolo` (자율 실행)
|
|
68
|
+
5. **GitHub 통합**: `issue_create`, `pr_create`
|
|
69
|
+
6. **분석**: `ultrathink_*`, `mermaid`, `project_review`
|
|
70
|
+
|
|
71
|
+
### 디렉토리 구조 규칙
|
|
72
|
+
```
|
|
73
|
+
.aiwf/
|
|
74
|
+
├── 00_PROJECT_MANIFEST.md # 중앙 추적 문서
|
|
75
|
+
├── 01_PROJECT_DOCS/ # 프로젝트 문서
|
|
76
|
+
├── 02_REQUIREMENTS/ # 마일스톤 요구사항
|
|
77
|
+
├── 03_SPRINTS/ # 스프린트 실행 추적
|
|
78
|
+
├── 04_GENERAL_TASKS/ # 독립적 태스크
|
|
79
|
+
├── 05_ARCHITECTURE_DECISIONS/ # ADR 문서
|
|
80
|
+
├── 10_STATE_OF_PROJECT/ # 프로젝트 상태 스냅샷
|
|
81
|
+
├── 98_PROMPTS/ # 유용한 AI 프롬프트
|
|
82
|
+
└── 99_TEMPLATES/ # 문서 템플릿
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## 중요한 기술적 제약사항
|
|
86
|
+
|
|
87
|
+
### 설치 안전성
|
|
88
|
+
- 사용자가 생성한 프로젝트 컨텐츠는 절대 덮어쓰지 않음
|
|
89
|
+
- 업데이트 전 항상 백업 생성
|
|
90
|
+
- 스프린트 및 태스크의 기존 작업 보존
|
|
91
|
+
|
|
92
|
+
### Node.js 요구사항
|
|
93
|
+
- 최소 Node.js 14.0.0
|
|
94
|
+
- ES 모듈 사용 (`"type": "module"`)
|
|
95
|
+
- `https` 및 `fs/promises` 지원 필요
|
|
96
|
+
|
|
97
|
+
### 네트워크 의존성
|
|
98
|
+
- 설치를 위한 인터넷 연결 필요
|
|
99
|
+
- 라이브 GitHub 저장소에서 모든 컨텐츠 가져오기
|
|
100
|
+
- GitHub API 속도 제한 고려 (미인증)
|
|
101
|
+
|
|
102
|
+
## 보안 고려사항
|
|
103
|
+
|
|
104
|
+
- GitHub API를 통한 안전한 컨텐츠 다운로드
|
|
105
|
+
- 사용자 로컬 파일 시스템에 대한 안전한 파일 조작
|
|
106
|
+
- 백업 메커니즘을 통한 데이터 손실 방지
|
|
107
|
+
|
|
108
|
+
## 확장성 고려사항
|
|
109
|
+
|
|
110
|
+
### 새로운 언어 추가
|
|
111
|
+
1. `claude-code/aiwf/{lang_code}/` 디렉토리 생성
|
|
112
|
+
2. 기존 언어에서 컨텐츠 복사 및 번역
|
|
113
|
+
3. `index.js`의 `messages` 객체에 언어 옵션 추가
|
|
114
|
+
4. 언어 선택 프롬프트 업데이트
|
|
115
|
+
|
|
116
|
+
### 새로운 명령어 추가
|
|
117
|
+
1. 언어별 디렉토리에 명령어 파일 생성
|
|
118
|
+
2. 명명 규칙 준수 (한국어 버전은 `_kr` 접미사 가능)
|
|
119
|
+
3. 문서 업데이트
|
|
120
|
+
|
|
121
|
+
이 아키텍처는 안정성과 사용자 안전을 중시하며, 광범위한 오류 처리와 백업 메커니즘을 통해 여러 언어에서 안정적인 프레임워크 배포를 보장합니다.
|