aiwf 0.3.23 → 0.4.0
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/.claude-plugin/marketplace.json +146 -0
- package/CHANGELOG.md +49 -1
- package/README.ko.md +118 -309
- package/README.md +68 -254
- package/docs/modernization/BROWNFIELD-GREENFIELD.ko.md +105 -0
- package/docs/modernization/CLAUDE-PLAN-REVIEW-2026-10-03.ko.md +77 -0
- package/docs/modernization/CLI-PRODUCTIVITY-REVIEWED-2026-10-03.ko.md +177 -0
- package/docs/modernization/CLI-PRODUCTIVITY.ko.md +193 -0
- package/docs/modernization/CORE-PACKAGE-PLAN.md +7 -0
- package/docs/modernization/DEEP-REVERSE-ENGINEERING.ko.md +88 -0
- package/docs/modernization/DELEGATION-OPTIONAL.ko.md +57 -0
- package/docs/modernization/DIRECTION.ko.md +56 -0
- package/docs/modernization/FULL-TEST-2026-10-03.md +49 -0
- package/docs/modernization/LEGACY-REMOVAL-PLAN.md +9 -0
- package/docs/modernization/PILOT-RESULT-2026-10-03.ko.md +85 -0
- package/docs/modernization/PILOT-UC-001.ko.md +79 -0
- package/docs/modernization/PLAN.md +28 -0
- package/docs/modernization/SKILLS.ko.md +105 -0
- package/docs/modernization/SPRINTABLE.ko.md +47 -0
- package/docs/modernization/SYNC-DOCS-VALIDATION-2026-10-04.ko.md +38 -0
- package/docs/modernization/VALIDATION.md +79 -0
- package/docs/modernization/evidence/example-review-packet.json +115 -0
- package/docs/modernization/evidence/example-spec-pin.json +48 -0
- package/docs/modernization/evidence/full-test-20261003/claude-lint.md +22 -0
- package/docs/modernization/evidence/full-test-20261003/claude-review-retry.md +56 -0
- package/docs/modernization/evidence/full-test-20261003/codex-review-packet.json +159 -0
- package/docs/modernization/evidence/full-test-20261003/src/expense.mjs +40 -0
- package/docs/modernization/evidence/full-test-20261003/summary.json +106 -0
- package/docs/modernization/evidence/full-test-20261003/tests/expense.test.mjs +61 -0
- package/docs/modernization/evidence/local-pilot-20261003/README.ko.md +40 -0
- package/docs/modernization/evidence/local-pilot-20261003/execution.json +1055 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/dependencies.json +24 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/dependencies.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/dependencies.stdout.txt +5 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/docs.json +24 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/docs.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/docs.stdout.txt +6 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/example.json +24 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/example.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/example.stdout.txt +5 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/local-docs.json +24 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/local-docs.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/local-docs.stdout.txt +6 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/node.json +23 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/node.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/node.stdout.txt +535 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/provenance.json +24 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/provenance.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/provenance.stdout.txt +5 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/readme-replay.json +24 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/readme-replay.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/readme-replay.stdout.txt +273 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/upstream.json +24 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/upstream.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/maintenance/upstream.stdout.txt +7 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/archive-service.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/archive-service.stdout.txt +148 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/archive-structure.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/archive-structure.stdout.txt +9 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/baseline-check.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/baseline-check.stdout.txt +67 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/baseline-evidence.json +34 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/baseline-packet.json +128 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/baseline-packet.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/baseline-packet.stdout.txt +128 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/baseline-pin.json +54 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/baseline-pin.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/baseline-pin.stdout.txt +60 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/baseline-readback.json +15 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/baseline-service.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/baseline-service.stdout.txt +82 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/baseline-structure.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/baseline-structure.stdout.txt +9 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/changed-check.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/changed-check.stdout.txt +79 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/changed-packet-refused.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/changed-packet-refused.stdout.txt +7 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/changed-pin-refresh.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/changed-pin-refresh.stdout.txt +66 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/changed-pin.json +60 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/changed-structure.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/changed-structure.stdout.txt +9 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/final-check.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/final-check.stdout.txt +73 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/final-evidence.json +34 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/final-packet.json +134 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/final-packet.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/final-packet.stdout.txt +134 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/final-readback.json +15 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/final-service.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/final-service.stdout.txt +148 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/final-structure.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/final-structure.stdout.txt +9 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/node-version.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/node-version.stdout.txt +1 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/python-version.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/python-version.stdout.txt +1 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/red-evidence.json +34 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/red-packet.json +134 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/red-packet.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/red-packet.stdout.txt +134 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/red-readback.json +15 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/red-service.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/red-service.stdout.txt +266 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/red-structure.stderr.txt +0 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/artifacts/red-structure.stdout.txt +9 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/docs/entity_model.md +33 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/docs/glossary.md +9 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/docs/plans/UC-001.md +20 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/docs/requirements.md +10 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/docs/test_cases/TC-001-submit-expense.md +37 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/docs/test_cases/TC-002-description-limit.md +42 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/docs/use_cases/UC-001-submit-expense.md +76 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/docs/use_cases.puml +12 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/docs/vision.md +21 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/src/expense.mjs +48 -0
- package/docs/modernization/evidence/local-pilot-20261003/project/tests/expense.test.mjs +116 -0
- package/docs/modernization/evidence/local-pilot-20261003/scope.json +31 -0
- package/docs/modernization/reviews/2026-10-03-claude-cli/CONTRACTS.ko.md +122 -0
- package/docs/modernization/reviews/2026-10-03-claude-cli/DIRECTION.ko.md +84 -0
- package/examples/spec-workflow/README.md +54 -0
- package/examples/spec-workflow/docs/entity_model.md +33 -0
- package/examples/spec-workflow/docs/glossary.md +9 -0
- package/examples/spec-workflow/docs/requirements.md +10 -0
- package/examples/spec-workflow/docs/test_cases/TC-001-submit-expense.md +37 -0
- package/examples/spec-workflow/docs/use_cases/UC-001-submit-expense.md +63 -0
- package/examples/spec-workflow/docs/use_cases.puml +12 -0
- package/examples/spec-workflow/docs/vision.md +21 -0
- package/package.json +37 -105
- package/plugins/aiwf-angular-jpa/.claude-plugin/plugin.json +11 -0
- package/plugins/aiwf-angular-jpa/LICENSE +201 -0
- package/plugins/aiwf-angular-jpa/NOTICE +16 -0
- package/plugins/aiwf-angular-jpa/README.md +54 -0
- package/plugins/aiwf-angular-jpa/UPSTREAM.json +35 -0
- package/plugins/aiwf-angular-jpa/agents/uc-coverage.md +263 -0
- package/plugins/aiwf-angular-jpa/rules/mcp-servers.md +64 -0
- package/plugins/aiwf-angular-jpa/skills/coverage-check/SKILL.md +190 -0
- package/plugins/aiwf-angular-jpa/skills/flyway-migration/SKILL.md +119 -0
- package/plugins/aiwf-angular-jpa/skills/implement/SKILL.md +528 -0
- package/plugins/aiwf-angular-jpa/skills/implement/references/module-layout.md +95 -0
- package/plugins/aiwf-angular-jpa/skills/playwright-test/SKILL.md +360 -0
- package/plugins/aiwf-angular-jpa/skills/spring-boot-test/SKILL.md +504 -0
- package/plugins/aiwf-angular-jpa/skills/vitest-test/SKILL.md +309 -0
- package/plugins/aiwf-blazor-dotnet/.claude-plugin/plugin.json +11 -0
- package/plugins/aiwf-blazor-dotnet/LICENSE +201 -0
- package/plugins/aiwf-blazor-dotnet/NOTICE +16 -0
- package/plugins/aiwf-blazor-dotnet/README.md +53 -0
- package/plugins/aiwf-blazor-dotnet/UPSTREAM.json +31 -0
- package/plugins/aiwf-blazor-dotnet/rules/mcp-servers.md +25 -0
- package/plugins/aiwf-blazor-dotnet/skills/bunit-test/SKILL.md +110 -0
- package/plugins/aiwf-blazor-dotnet/skills/dotnet-test/SKILL.md +108 -0
- package/plugins/aiwf-blazor-dotnet/skills/ef-migration/SKILL.md +43 -0
- package/plugins/aiwf-blazor-dotnet/skills/implement/SKILL.md +149 -0
- package/plugins/aiwf-blazor-dotnet/skills/playwright-test/SKILL.md +130 -0
- package/plugins/aiwf-core/.claude-plugin/plugin.json +11 -0
- package/plugins/aiwf-core/LICENSE +201 -0
- package/plugins/aiwf-core/NOTICE +20 -0
- package/plugins/aiwf-core/README.md +38 -0
- package/plugins/aiwf-core/UPSTREAM.json +50 -0
- package/plugins/aiwf-core/skills/entity-model/SKILL.md +160 -0
- package/plugins/aiwf-core/skills/entity-model/references/REFERENCE.md +36 -0
- package/plugins/aiwf-core/skills/requirements/SKILL.md +157 -0
- package/plugins/aiwf-core/skills/requirements/references/REFERENCE.md +70 -0
- package/plugins/aiwf-core/skills/requirements/references/glossary.md +7 -0
- package/plugins/aiwf-core/skills/reverse-engineer/SKILL.md +509 -0
- package/plugins/aiwf-core/skills/reverse-engineer/references/stack-signals.md +210 -0
- package/plugins/aiwf-core/skills/spec-review/SKILL.md +197 -0
- package/plugins/aiwf-core/skills/spec-review/references/lint-codes.md +63 -0
- package/plugins/aiwf-core/skills/spec-review/references/review-checklist.md +189 -0
- package/plugins/aiwf-core/skills/spec-review/scripts/spec_lint.py +1216 -0
- package/plugins/aiwf-core/skills/test-case/SKILL.md +138 -0
- package/plugins/aiwf-core/skills/test-case/references/example-process.bpmn +118 -0
- package/plugins/aiwf-core/skills/test-case/references/example.md +38 -0
- package/plugins/aiwf-core/skills/test-case/references/test-case.md +35 -0
- package/plugins/aiwf-core/skills/test-case/scripts/bpmn_paths.py +542 -0
- package/plugins/aiwf-core/skills/use-case-diagram/SKILL.md +99 -0
- package/plugins/aiwf-core/skills/use-case-spec/SKILL.md +257 -0
- package/plugins/aiwf-core/skills/use-case-spec/references/clarify-checklist.md +70 -0
- package/plugins/aiwf-core/skills/use-case-spec/references/example.md +88 -0
- package/plugins/aiwf-core/skills/use-case-spec/references/format-spec.md +246 -0
- package/plugins/aiwf-core/skills/use-case-spec/references/use-case.md +50 -0
- package/plugins/aiwf-core/skills/use-case-spec/scripts/validate_use_case.py +941 -0
- package/plugins/aiwf-delegate-claude/.claude-plugin/plugin.json +9 -0
- package/plugins/aiwf-delegate-claude/LICENSE +21 -0
- package/plugins/aiwf-delegate-claude/NOTICE +4 -0
- package/plugins/aiwf-delegate-claude/README.md +10 -0
- package/plugins/aiwf-delegate-claude/plugin.json +13 -0
- package/plugins/aiwf-delegate-claude/skills/delegate-claude/LICENSE +21 -0
- package/plugins/aiwf-delegate-claude/skills/delegate-claude/NOTICE +4 -0
- package/plugins/aiwf-delegate-claude/skills/delegate-claude/SKILL.md +49 -0
- package/plugins/aiwf-delegate-claude/skills/delegate-claude/agents/openai.yaml +2 -0
- package/plugins/aiwf-delegate-codex/.claude-plugin/plugin.json +9 -0
- package/plugins/aiwf-delegate-codex/LICENSE +21 -0
- package/plugins/aiwf-delegate-codex/NOTICE +4 -0
- package/plugins/aiwf-delegate-codex/README.md +10 -0
- package/plugins/aiwf-delegate-codex/plugin.json +13 -0
- package/plugins/aiwf-delegate-codex/skills/delegate-codex/LICENSE +21 -0
- package/plugins/aiwf-delegate-codex/skills/delegate-codex/NOTICE +4 -0
- package/plugins/aiwf-delegate-codex/skills/delegate-codex/SKILL.md +47 -0
- package/plugins/aiwf-delegate-codex/skills/delegate-codex/agents/openai.yaml +2 -0
- package/plugins/aiwf-nestjs-nextjs/.claude-plugin/plugin.json +11 -0
- package/plugins/aiwf-nestjs-nextjs/LICENSE +201 -0
- package/plugins/aiwf-nestjs-nextjs/NOTICE +16 -0
- package/plugins/aiwf-nestjs-nextjs/README.md +53 -0
- package/plugins/aiwf-nestjs-nextjs/UPSTREAM.json +32 -0
- package/plugins/aiwf-nestjs-nextjs/rules/mcp-servers.md +59 -0
- package/plugins/aiwf-nestjs-nextjs/skills/drizzle-migration/SKILL.md +222 -0
- package/plugins/aiwf-nestjs-nextjs/skills/implement/SKILL.md +393 -0
- package/plugins/aiwf-nestjs-nextjs/skills/implement/references/project-layout.md +158 -0
- package/plugins/aiwf-nestjs-nextjs/skills/nest-test/SKILL.md +300 -0
- package/plugins/aiwf-nestjs-nextjs/skills/playwright-test/SKILL.md +245 -0
- package/plugins/aiwf-nestjs-nextjs/skills/react-test/SKILL.md +217 -0
- package/plugins/aiwf-spec/.claude-plugin/plugin.json +9 -0
- package/plugins/aiwf-spec/LICENSE +201 -0
- package/plugins/aiwf-spec/NOTICE +20 -0
- package/plugins/aiwf-spec/README.md +36 -0
- package/plugins/aiwf-spec/skills/sync-docs/SKILL.md +47 -0
- package/plugins/aiwf-spec/skills/workflow/SKILL.md +42 -0
- package/plugins/aiwf-vaadin-jooq/.claude-plugin/plugin.json +11 -0
- package/plugins/aiwf-vaadin-jooq/LICENSE +201 -0
- package/plugins/aiwf-vaadin-jooq/NOTICE +16 -0
- package/plugins/aiwf-vaadin-jooq/README.md +56 -0
- package/plugins/aiwf-vaadin-jooq/UPSTREAM.json +43 -0
- package/plugins/aiwf-vaadin-jooq/agents/uc-coverage.md +260 -0
- package/plugins/aiwf-vaadin-jooq/rules/mcp-servers.md +44 -0
- package/plugins/aiwf-vaadin-jooq/skills/browserless-test/SKILL.md +407 -0
- package/plugins/aiwf-vaadin-jooq/skills/browserless-test/references/UC001ManagePersonsTest.java +111 -0
- package/plugins/aiwf-vaadin-jooq/skills/coverage-check/SKILL.md +190 -0
- package/plugins/aiwf-vaadin-jooq/skills/flyway-migration/SKILL.md +70 -0
- package/plugins/aiwf-vaadin-jooq/skills/hilla-test/SKILL.md +350 -0
- package/plugins/aiwf-vaadin-jooq/skills/hilla-test/references/UC001ManagePersonsServiceTest.java +81 -0
- package/plugins/aiwf-vaadin-jooq/skills/hilla-test/references/UC001ManagePersonsViewTest.tsx +87 -0
- package/plugins/aiwf-vaadin-jooq/skills/implement/SKILL.md +196 -0
- package/plugins/aiwf-vaadin-jooq/skills/implement-hilla/SKILL.md +216 -0
- package/plugins/aiwf-vaadin-jooq/skills/karibu-test/SKILL.md +298 -0
- package/plugins/aiwf-vaadin-jooq/skills/karibu-test/references/UC001ManagePersonsTest.java +93 -0
- package/plugins/aiwf-vaadin-jooq/skills/playwright-test/SKILL.md +237 -0
- package/plugins/aiwf-vaadin-jooq/skills/playwright-test/references/ExampleViewIT.java +143 -0
- package/plugins/aiwf-vaadin-jooq/skills/playwright-test/references/TC001CustomerOnboardingIT.java +144 -0
- package/plugins/aiwf-vaadin-jooq/skills/playwright-test/references/dramafinder-api.md +190 -0
- package/scripts/check-dependencies.js +26 -96
- package/scripts/install-spec-skills.mjs +126 -0
- package/scripts/validate-spec-plugin.mjs +145 -0
- package/src/cli/spec-cli.js +292 -0
- package/src/lib/spec-workflow.js +982 -0
- package/docs/ADR_MANAGEMENT_GUIDE.ko.md +0 -602
- package/docs/ADR_MANAGEMENT_GUIDE.md +0 -602
- package/docs/AI-WORKFLOW.ko.md +0 -299
- package/docs/AI-WORKFLOW.md +0 -401
- package/docs/API_REFERENCE_FULL.ko.md +0 -1135
- package/docs/API_REFERENCE_FULL.md +0 -1135
- package/docs/ARCHITECTURE.ko.md +0 -314
- package/docs/ARCHITECTURE.md +0 -314
- package/docs/CLI_USAGE_GUIDE.ko.md +0 -634
- package/docs/CLI_USAGE_GUIDE.md +0 -640
- package/docs/CODE_CLEANUP_GUIDE.ko.md +0 -415
- package/docs/CODE_CLEANUP_GUIDE.md +0 -415
- package/docs/COMMANDS_GUIDE.ko.md +0 -1037
- package/docs/COMMANDS_GUIDE.md +0 -1037
- package/docs/CONTRIBUTING.ko.md +0 -408
- package/docs/CONTRIBUTING.md +0 -408
- package/docs/DEVELOPMENT_GUIDE.ko.md +0 -440
- package/docs/DEVELOPMENT_GUIDE.md +0 -727
- package/docs/EXAMPLES.ko.md +0 -695
- package/docs/EXAMPLES.md +0 -693
- package/docs/GETTING_STARTED.ko.md +0 -219
- package/docs/GETTING_STARTED.md +0 -476
- package/docs/MODULE_MANAGEMENT_GUIDE.ko.md +0 -289
- package/docs/MODULE_MANAGEMENT_GUIDE.md +0 -289
- package/docs/PERFORMANCE_ARCHITECTURE.md +0 -494
- package/docs/PERFORMANCE_GUIDELINES.ko.md +0 -388
- package/docs/PERFORMANCE_GUIDELINES.md +0 -553
- package/docs/PRD.ko.md +0 -148
- package/docs/PRD.md +0 -150
- package/docs/ROADMAP_v0.4.0.md +0 -286
- package/docs/STATE_MANAGEMENT_GUIDE.ko.md +0 -278
- package/docs/STATE_MANAGEMENT_GUIDE.md +0 -278
- package/docs/TROUBLESHOOTING.ko.md +0 -366
- package/docs/TROUBLESHOOTING.md +0 -722
- package/docs/VALIDATOR_API.ko.md +0 -324
- package/docs/VALIDATOR_API.md +0 -324
- package/docs/YOLO_SYSTEM_GUIDE.ko.md +0 -542
- package/docs/YOLO_SYSTEM_GUIDE.md +0 -542
- package/docs/designs/AI_PERSONA_SYSTEM_DESIGN.md +0 -516
- package/docs/designs/API_DOCUMENTATION.md +0 -932
- package/docs/designs/API_REFERENCE.md +0 -979
- package/docs/designs/Enhanced_Installation_Flow_Design.md +0 -498
- package/docs/designs/aiwf-metadata-system-prd.md +0 -127
- package/docs/designs/offline-template-cache.md +0 -323
- package/docs/designs/persona-aware-compression.md +0 -168
- package/docs/guides/ai-personas-guide-ko.md +0 -239
- package/docs/guides/ai-personas-guide.md +0 -239
- package/docs/guides/checkpoint-system-guide-ko.md +0 -356
- package/docs/guides/checkpoint-system-guide.md +0 -356
- package/docs/guides/context-compression-guide-ko.md +0 -313
- package/docs/guides/context-compression-guide.md +0 -313
- package/docs/guides/independent-sprint-guide-ko.md +0 -321
- package/docs/guides/independent-sprint-guide.md +0 -321
- package/rules/global/aiwf-code-style-guide.md +0 -30
- package/rules/global/aiwf-coding-principles.md +0 -33
- package/rules/global/aiwf-development-process.md +0 -41
- package/rules/global/aiwf-global-rules.md +0 -84
- package/rules/manual/aiwf-generate-plan-docs.md +0 -280
- package/scripts/run-integration-tests.js +0 -317
- package/scripts/update-file-lists.js +0 -267
- package/scripts/validate-commands.js +0 -254
- package/src/cli/index.js +0 -184
- package/src/commands/sprint-independent.js +0 -393
- package/src/commands/state.js +0 -1164
- package/src/commands/yolo-config.js +0 -502
- package/src/config/file-lists.js +0 -147
- package/src/config/yolo-config-template.yaml +0 -168
- package/src/lib/backup-manager.js +0 -271
- package/src/lib/file-downloader.js +0 -304
- package/src/lib/installer.js +0 -1270
- package/src/lib/rollback-manager.js +0 -418
- package/src/lib/validator.js +0 -376
- package/src/utils/checkpoint-manager.js +0 -435
- package/src/utils/language-utils.js +0 -331
- package/src/utils/messages.js +0 -190
- package/src/utils/paths.js +0 -112
package/src/lib/validator.js
DELETED
|
@@ -1,376 +0,0 @@
|
|
|
1
|
-
import fs from 'fs/promises';
|
|
2
|
-
import path from 'path';
|
|
3
|
-
import chalk from 'chalk';
|
|
4
|
-
import { TOOL_DIRS, AIWF_DIRS, FILES } from '../utils/paths.js';
|
|
5
|
-
|
|
6
|
-
// Validation constants
|
|
7
|
-
const VALIDATION_CONSTANTS = {
|
|
8
|
-
MIN_FILE_SIZE: 10,
|
|
9
|
-
MIN_RULE_FILE_SIZE: 50,
|
|
10
|
-
MIN_FILE_COUNT: {
|
|
11
|
-
CURSOR_MDC: 2,
|
|
12
|
-
WINDSURF_MD: 2,
|
|
13
|
-
CLAUDE_COMMANDS: 4
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Simplified validation with clean interface
|
|
20
|
-
* @param {Array} selectedTools - Tools to validate
|
|
21
|
-
* @param {string} language - Language code
|
|
22
|
-
* @returns {Promise<Object>} Validation results
|
|
23
|
-
*/
|
|
24
|
-
export async function validateInstallation(selectedTools, language) {
|
|
25
|
-
const results = {
|
|
26
|
-
success: [],
|
|
27
|
-
failed: [],
|
|
28
|
-
warnings: []
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
// Always validate common files (AIWF core)
|
|
32
|
-
const commonValid = await validateCommonFiles();
|
|
33
|
-
if (!commonValid.success) {
|
|
34
|
-
results.failed.push({ tool: 'aiwf', reason: commonValid.reason });
|
|
35
|
-
} else {
|
|
36
|
-
results.success.push('aiwf');
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// Validate selected tools
|
|
40
|
-
if (selectedTools && selectedTools.length > 0) {
|
|
41
|
-
for (const tool of selectedTools) {
|
|
42
|
-
const validation = await validateTool(tool);
|
|
43
|
-
if (validation.success) {
|
|
44
|
-
results.success.push(tool);
|
|
45
|
-
} else {
|
|
46
|
-
results.failed.push({ tool, reason: validation.reason });
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
} else {
|
|
50
|
-
// Default: validate all tools if no selection provided
|
|
51
|
-
const allTools = ['claudeCode', 'geminiCLI', 'cursor', 'windsurf'];
|
|
52
|
-
for (const tool of allTools) {
|
|
53
|
-
const validation = await validateTool(tool);
|
|
54
|
-
if (validation.success) {
|
|
55
|
-
results.success.push(tool);
|
|
56
|
-
} else {
|
|
57
|
-
results.failed.push({ tool, reason: validation.reason });
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
return results;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Validate common/core files
|
|
67
|
-
* @returns {Promise<Object>} Validation result
|
|
68
|
-
*/
|
|
69
|
-
async function validateCommonFiles() {
|
|
70
|
-
try {
|
|
71
|
-
const requiredFiles = [
|
|
72
|
-
FILES.CLAUDE_MD.ROOT,
|
|
73
|
-
FILES.PROJECT_MANIFEST
|
|
74
|
-
];
|
|
75
|
-
|
|
76
|
-
for (const file of requiredFiles) {
|
|
77
|
-
const exists = await fs
|
|
78
|
-
.access(file)
|
|
79
|
-
.then(() => true)
|
|
80
|
-
.catch(() => false);
|
|
81
|
-
if (!exists) {
|
|
82
|
-
return { success: false, reason: `Missing core file: ${file}` };
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
return { success: true };
|
|
87
|
-
} catch (error) {
|
|
88
|
-
return { success: false, reason: `Core validation error: ${error.message}` };
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Validate specific tool
|
|
94
|
-
* @param {string} tool - Tool name
|
|
95
|
-
* @returns {Promise<Object>} Validation result
|
|
96
|
-
*/
|
|
97
|
-
async function validateTool(tool) {
|
|
98
|
-
switch (tool) {
|
|
99
|
-
case 'claudeCode':
|
|
100
|
-
case 'claude-code':
|
|
101
|
-
return validateClaudeCode();
|
|
102
|
-
case 'geminiCLI':
|
|
103
|
-
case 'gemini-cli':
|
|
104
|
-
return validateGeminiCLI();
|
|
105
|
-
case 'cursor':
|
|
106
|
-
return validateCursorTool();
|
|
107
|
-
case 'windsurf':
|
|
108
|
-
return validateWindsurfTool();
|
|
109
|
-
case 'aiwf':
|
|
110
|
-
return validateCommonFiles();
|
|
111
|
-
default:
|
|
112
|
-
return { success: false, reason: `Unknown tool: ${tool}` };
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* Validate Claude Code with simplified interface
|
|
118
|
-
* @returns {Promise<Object>} Validation result
|
|
119
|
-
*/
|
|
120
|
-
async function validateClaudeCode() {
|
|
121
|
-
try {
|
|
122
|
-
// 기본 필수 파일 (현재 리포지토리에 존재하는 핵심 명령어)
|
|
123
|
-
const baseRequired = [
|
|
124
|
-
'aiwf_initialize.md',
|
|
125
|
-
'aiwf_do_task.md',
|
|
126
|
-
'aiwf_commit.md'
|
|
127
|
-
];
|
|
128
|
-
|
|
129
|
-
// 과거 필수였던 리뷰 명령어의 대체 후보들
|
|
130
|
-
const reviewPrimary = 'aiwf_code_review.md';
|
|
131
|
-
const reviewAlternatives = [
|
|
132
|
-
'aiwf_yolo.md',
|
|
133
|
-
'aiwf_prime.md',
|
|
134
|
-
'aiwf_agent_workflow.md'
|
|
135
|
-
];
|
|
136
|
-
|
|
137
|
-
// 디렉토리 존재 및 파일 개수 간단 점검
|
|
138
|
-
const dirExists = await fs
|
|
139
|
-
.access(TOOL_DIRS.CLAUDE_COMMANDS)
|
|
140
|
-
.then(() => true)
|
|
141
|
-
.catch(() => false);
|
|
142
|
-
if (!dirExists) {
|
|
143
|
-
return { success: false, reason: `Missing Claude commands directory: ${TOOL_DIRS.CLAUDE_COMMANDS}` };
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
const allFiles = await fs.readdir(TOOL_DIRS.CLAUDE_COMMANDS);
|
|
147
|
-
if (allFiles.length < VALIDATION_CONSTANTS.MIN_FILE_COUNT.CLAUDE_COMMANDS) {
|
|
148
|
-
return { success: false, reason: `Insufficient Claude commands files: expected at least ${VALIDATION_CONSTANTS.MIN_FILE_COUNT.CLAUDE_COMMANDS}, found ${allFiles.length}` };
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
// 기본 필수 파일 존재/크기 확인
|
|
152
|
-
for (const fileName of baseRequired) {
|
|
153
|
-
const filePath = path.join(TOOL_DIRS.CLAUDE_COMMANDS, fileName);
|
|
154
|
-
const exists = await fs
|
|
155
|
-
.access(filePath)
|
|
156
|
-
.then(() => true)
|
|
157
|
-
.catch(() => false);
|
|
158
|
-
if (!exists) {
|
|
159
|
-
return { success: false, reason: `Missing file: ${filePath}` };
|
|
160
|
-
}
|
|
161
|
-
try {
|
|
162
|
-
const stats = await fs.stat(filePath);
|
|
163
|
-
if (stats.size < VALIDATION_CONSTANTS.MIN_FILE_SIZE) {
|
|
164
|
-
return { success: false, reason: `File ${fileName} is too small (${stats.size} bytes)` };
|
|
165
|
-
}
|
|
166
|
-
} catch (error) {
|
|
167
|
-
return { success: false, reason: `Cannot read file ${fileName}: ${error.message}` };
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
// 리뷰 명령어: 기본 파일 또는 대체 파일 중 하나라도 존재하면 통과
|
|
172
|
-
const reviewPrimaryPath = path.join(TOOL_DIRS.CLAUDE_COMMANDS, reviewPrimary);
|
|
173
|
-
const primaryExists = await fs.access(reviewPrimaryPath).then(() => true).catch(() => false);
|
|
174
|
-
|
|
175
|
-
let alternativeUsed = null;
|
|
176
|
-
if (!primaryExists) {
|
|
177
|
-
for (const alt of reviewAlternatives) {
|
|
178
|
-
const altPath = path.join(TOOL_DIRS.CLAUDE_COMMANDS, alt);
|
|
179
|
-
const altExists = await fs.access(altPath).then(() => true).catch(() => false);
|
|
180
|
-
if (altExists) {
|
|
181
|
-
alternativeUsed = alt;
|
|
182
|
-
// 크기 확인
|
|
183
|
-
try {
|
|
184
|
-
const stats = await fs.stat(altPath);
|
|
185
|
-
if (stats.size < VALIDATION_CONSTANTS.MIN_FILE_SIZE) {
|
|
186
|
-
return { success: false, reason: `File ${alt} is too small (${stats.size} bytes)` };
|
|
187
|
-
}
|
|
188
|
-
} catch (error) {
|
|
189
|
-
return { success: false, reason: `Cannot read file ${alt}: ${error.message}` };
|
|
190
|
-
}
|
|
191
|
-
break;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
if (!primaryExists && !alternativeUsed) {
|
|
197
|
-
return { success: false, reason: `Missing file: ${reviewPrimary} (or one of alternatives: ${reviewAlternatives.join(', ')})` };
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
return { success: true };
|
|
201
|
-
} catch (error) {
|
|
202
|
-
return { success: false, reason: `Claude Code validation error: ${error.message}` };
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* Validate Gemini CLI with simplified interface
|
|
208
|
-
* @returns {Promise<Object>} Validation result
|
|
209
|
-
*/
|
|
210
|
-
async function validateGeminiCLI() {
|
|
211
|
-
try {
|
|
212
|
-
const dirExists = await fs
|
|
213
|
-
.access(TOOL_DIRS.GEMINI_PROMPTS)
|
|
214
|
-
.then(() => true)
|
|
215
|
-
.catch(() => false);
|
|
216
|
-
if (!dirExists) {
|
|
217
|
-
return {
|
|
218
|
-
success: false,
|
|
219
|
-
reason: `Missing Gemini-CLI prompts directory: ${TOOL_DIRS.GEMINI_PROMPTS}`
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
return { success: true };
|
|
224
|
-
} catch (error) {
|
|
225
|
-
return { success: false, reason: `Gemini-CLI validation error: ${error.message}` };
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Validate Cursor tool with simplified interface
|
|
231
|
-
* @returns {Promise<Object>} Validation result
|
|
232
|
-
*/
|
|
233
|
-
async function validateCursorTool() {
|
|
234
|
-
try {
|
|
235
|
-
const dirExists = await fs
|
|
236
|
-
.access(TOOL_DIRS.CURSOR_RULES)
|
|
237
|
-
.then(() => true)
|
|
238
|
-
.catch(() => false);
|
|
239
|
-
if (!dirExists) {
|
|
240
|
-
return { success: false, reason: `Missing Cursor rules directory: ${TOOL_DIRS.CURSOR_RULES}` };
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
// Enhanced validation: Check file count and types
|
|
244
|
-
const files = await fs.readdir(TOOL_DIRS.CURSOR_RULES);
|
|
245
|
-
const mdcFiles = files.filter(file => file.endsWith('.mdc'));
|
|
246
|
-
|
|
247
|
-
if (mdcFiles.length < VALIDATION_CONSTANTS.MIN_FILE_COUNT.CURSOR_MDC) {
|
|
248
|
-
return {
|
|
249
|
-
success: false,
|
|
250
|
-
reason: `Cursor rules: Expected at least ${VALIDATION_CONSTANTS.MIN_FILE_COUNT.CURSOR_MDC} .mdc files, found ${mdcFiles.length}`
|
|
251
|
-
};
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
// Validate file sizes
|
|
255
|
-
for (const file of mdcFiles) {
|
|
256
|
-
const filePath = path.join(TOOL_DIRS.CURSOR_RULES, file);
|
|
257
|
-
try {
|
|
258
|
-
const stats = await fs.stat(filePath);
|
|
259
|
-
if (stats.size < VALIDATION_CONSTANTS.MIN_RULE_FILE_SIZE) {
|
|
260
|
-
return {
|
|
261
|
-
success: false,
|
|
262
|
-
reason: `Cursor rules file ${file} is too small (${stats.size} bytes, minimum ${VALIDATION_CONSTANTS.MIN_RULE_FILE_SIZE})`
|
|
263
|
-
};
|
|
264
|
-
}
|
|
265
|
-
} catch (error) {
|
|
266
|
-
return {
|
|
267
|
-
success: false,
|
|
268
|
-
reason: `Cannot read Cursor rules file ${file}: ${error.message}`
|
|
269
|
-
};
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
return { success: true };
|
|
274
|
-
} catch (error) {
|
|
275
|
-
return { success: false, reason: `Cursor validation error: ${error.message}` };
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* Validate Windsurf tool with simplified interface
|
|
281
|
-
* @returns {Promise<Object>} Validation result
|
|
282
|
-
*/
|
|
283
|
-
async function validateWindsurfTool() {
|
|
284
|
-
try {
|
|
285
|
-
const dirExists = await fs
|
|
286
|
-
.access(TOOL_DIRS.WINDSURF_RULES)
|
|
287
|
-
.then(() => true)
|
|
288
|
-
.catch(() => false);
|
|
289
|
-
if (!dirExists) {
|
|
290
|
-
return { success: false, reason: `Missing Windsurf rules directory: ${TOOL_DIRS.WINDSURF_RULES}` };
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
// Enhanced validation: Check file count and types
|
|
294
|
-
const files = await fs.readdir(TOOL_DIRS.WINDSURF_RULES);
|
|
295
|
-
const mdFiles = files.filter(file => file.endsWith('.md'));
|
|
296
|
-
|
|
297
|
-
if (mdFiles.length < VALIDATION_CONSTANTS.MIN_FILE_COUNT.WINDSURF_MD) {
|
|
298
|
-
return {
|
|
299
|
-
success: false,
|
|
300
|
-
reason: `Windsurf rules: Expected at least ${VALIDATION_CONSTANTS.MIN_FILE_COUNT.WINDSURF_MD} .md files, found ${mdFiles.length}`
|
|
301
|
-
};
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
// Validate file sizes
|
|
305
|
-
for (const file of mdFiles) {
|
|
306
|
-
const filePath = path.join(TOOL_DIRS.WINDSURF_RULES, file);
|
|
307
|
-
try {
|
|
308
|
-
const stats = await fs.stat(filePath);
|
|
309
|
-
if (stats.size < VALIDATION_CONSTANTS.MIN_RULE_FILE_SIZE) {
|
|
310
|
-
return {
|
|
311
|
-
success: false,
|
|
312
|
-
reason: `Windsurf rules file ${file} is too small (${stats.size} bytes, minimum ${VALIDATION_CONSTANTS.MIN_RULE_FILE_SIZE})`
|
|
313
|
-
};
|
|
314
|
-
}
|
|
315
|
-
} catch (error) {
|
|
316
|
-
return {
|
|
317
|
-
success: false,
|
|
318
|
-
reason: `Cannot read Windsurf rules file ${file}: ${error.message}`
|
|
319
|
-
};
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
return { success: true };
|
|
324
|
-
} catch (error) {
|
|
325
|
-
return { success: false, reason: `Windsurf validation error: ${error.message}` };
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* Display validation results in spec-compliant format
|
|
331
|
-
* @param {Object} validationResults - Validation results
|
|
332
|
-
* @param {string} language - Language code
|
|
333
|
-
*/
|
|
334
|
-
export function displaySpecCompliantValidationResults(validationResults, language) {
|
|
335
|
-
console.log(chalk.blue('\n=== Installation Validation Results ==='));
|
|
336
|
-
|
|
337
|
-
// Success summary
|
|
338
|
-
if (validationResults.success.length > 0) {
|
|
339
|
-
console.log(
|
|
340
|
-
chalk.green(`\n✅ Successfully Validated Tools (${validationResults.success.length}):`)
|
|
341
|
-
);
|
|
342
|
-
validationResults.success.forEach(tool => {
|
|
343
|
-
console.log(chalk.green(` ✓ ${tool}`));
|
|
344
|
-
});
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
// Failed summary
|
|
348
|
-
if (validationResults.failed.length > 0) {
|
|
349
|
-
console.log(chalk.red(`\n❌ Failed Validations (${validationResults.failed.length}):`));
|
|
350
|
-
validationResults.failed.forEach(({ tool, reason }) => {
|
|
351
|
-
console.log(chalk.red(` ✗ ${tool}: ${reason}`));
|
|
352
|
-
});
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
// Warnings summary
|
|
356
|
-
if (validationResults.warnings.length > 0) {
|
|
357
|
-
console.log(chalk.yellow(`\n⚠️ Warnings (${validationResults.warnings.length}):`));
|
|
358
|
-
validationResults.warnings.forEach(warning => {
|
|
359
|
-
console.log(chalk.yellow(` ⚠ ${warning}`));
|
|
360
|
-
});
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
// Overall status
|
|
364
|
-
const isSuccess = validationResults.failed.length === 0;
|
|
365
|
-
const statusIcon = isSuccess ? '✅' : '❌';
|
|
366
|
-
const statusColor = isSuccess ? chalk.green : chalk.red;
|
|
367
|
-
const statusText = isSuccess ? 'PASSED' : 'FAILED';
|
|
368
|
-
|
|
369
|
-
console.log(statusColor(`\n${statusIcon} Overall Validation: ${statusText}`));
|
|
370
|
-
|
|
371
|
-
if (isSuccess) {
|
|
372
|
-
console.log(chalk.green('🎉 All selected tools are properly installed and validated!'));
|
|
373
|
-
} else {
|
|
374
|
-
console.log(chalk.yellow('⚠️ Some installations failed. See details above.'));
|
|
375
|
-
}
|
|
376
|
-
}
|