@leanspec/ui 0.2.6-dev.20251125010539 โ 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/standalone/node_modules/.pnpm/better-sqlite3@11.10.0/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/.next/standalone/packages/ui/.next/BUILD_ID +1 -1
- package/.next/standalone/packages/ui/.next/build-manifest.json +2 -2
- package/.next/standalone/packages/ui/.next/prerender-manifest.json +3 -3
- package/.next/standalone/packages/ui/.next/required-server-files.json +4 -4
- package/.next/standalone/packages/ui/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/_global-error.html +2 -2
- package/.next/standalone/packages/ui/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/_not-found.html +2 -2
- package/.next/standalone/packages/ui/.next/server/app/_not-found.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/local-projects/[id]/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/local-projects/discover/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/local-projects/list-directory/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/local-projects/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/status/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/stats/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/revalidate/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/specs/[id]/dependency-graph/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/specs/[id]/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/specs/[id]/status/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/specs/[id]/subspecs/[file]/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/api/stats/route.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/page.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/[specId]/page.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/page.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/projects/page.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/projects.html +2 -2
- package/.next/standalone/packages/ui/.next/server/app/projects.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/projects.segments/_full.segment.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/projects.segments/_index.segment.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/projects.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/projects.segments/projects/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/projects.segments/projects.segment.rsc +1 -1
- package/.next/standalone/packages/ui/.next/server/app/specs/[id]/page.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/specs/page.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/app/stats/page.js.nft.json +1 -1
- package/.next/standalone/packages/ui/.next/server/pages/404.html +2 -2
- package/.next/standalone/packages/ui/.next/server/pages/500.html +2 -2
- package/.next/standalone/packages/ui/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/packages/ui/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/packages/ui/dist/BUILD_ID +1 -0
- package/.next/standalone/packages/ui/dist/public/f864aa7e7061c0600e35cf3d879b27cf.txt +1 -0
- package/.next/standalone/packages/ui/dist/public/favicon.ico +0 -0
- package/.next/standalone/packages/ui/dist/public/file.svg +1 -0
- package/.next/standalone/packages/ui/dist/public/github-mark-white.svg +1 -0
- package/.next/standalone/packages/ui/dist/public/github-mark.svg +1 -0
- package/.next/standalone/packages/ui/dist/public/globe.svg +1 -0
- package/.next/standalone/packages/ui/dist/public/icon.svg +7 -0
- package/.next/standalone/packages/ui/dist/public/logo-dark-bg.svg +17 -0
- package/.next/standalone/packages/ui/dist/public/logo-with-bg.svg +17 -0
- package/.next/standalone/packages/ui/dist/public/logo.svg +17 -0
- package/.next/standalone/packages/ui/dist/public/next.svg +1 -0
- package/.next/standalone/packages/ui/dist/public/vercel.svg +1 -0
- package/.next/standalone/packages/ui/dist/public/window.svg +1 -0
- package/.next/standalone/packages/ui/dist/standalone/packages/web/README.md +196 -0
- package/.next/standalone/packages/ui/dist/standalone/packages/web/leanspec.db +0 -0
- package/.next/standalone/packages/ui/dist/standalone/packages/web/package.json +75 -0
- package/.next/standalone/packages/ui/dist/standalone/packages/web/server.js +44 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/014-complete-custom-frontmatter/README.md +175 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/016-github-action/README.md +317 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/017-vscode-extension/README.md +261 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/018-spec-validation/CLI-DESIGN.md +380 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/018-spec-validation/CONFIGURATION-EXAMPLES.md +230 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/018-spec-validation/CONFIGURATION.md +285 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/018-spec-validation/IMPLEMENTATION.md +358 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/018-spec-validation/README.md +303 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/018-spec-validation/TESTING.md +368 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/018-spec-validation/VALIDATION-RULES.md +327 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/024-pattern-aware-list-grouping/README.md +117 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/025-template-config-updates/README.md +73 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/026-init-pattern-selection/README.md +109 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/034-copilot-slash-commands/README.md +107 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/035-live-specs-showcase/ARCHITECTURE.md +244 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/035-live-specs-showcase/IMPLEMENTATION.md +429 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/035-live-specs-showcase/README.md +302 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/036-pm-integrations/README.md +158 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/043-official-launch-02/DEMO-AI-ASSISTED.md +359 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/043-official-launch-02/DEMO-FULL-LIFECYCLE.md +86 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/043-official-launch-02/DEMO-REAL-FEATURE.md +437 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/043-official-launch-02/DEMO-SCRIPT.md +365 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/043-official-launch-02/DOGFOODING-FINAL.md +203 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/043-official-launch-02/DOGFOODING-SESSION-2025-11-06.md +174 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/043-official-launch-02/DOGFOODING-SUMMARY.md +156 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/043-official-launch-02/IMPLEMENTATION.md +183 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/043-official-launch-02/MARKETING.md +229 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/043-official-launch-02/NEXT-STEPS-DEMO.md +243 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/043-official-launch-02/README.md +217 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/043-official-launch-02/SESSION-2025-11-06.md +166 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/043-official-launch-02/TESTING.md +126 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/045-unified-dashboard/ACTUAL-IMPLEMENTATION.md +108 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/045-unified-dashboard/DESIGN.md +382 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/045-unified-dashboard/IMPLEMENTATION.md +144 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/045-unified-dashboard/RATIONALE.md +146 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/045-unified-dashboard/README.md +208 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/045-unified-dashboard/TESTING.md +182 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/047-git-backfill-timestamps/README.md +314 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/048-spec-complexity-analysis/FINDINGS.md +113 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/048-spec-complexity-analysis/GUIDELINES.md +237 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/048-spec-complexity-analysis/README.md +149 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/049-leanspec-first-principles/ANALYSIS-COMPARISONS.md +175 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/049-leanspec-first-principles/ANALYSIS-CONSTRAINTS.md +254 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/049-leanspec-first-principles/FIRST-PRINCIPLES.md +376 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/049-leanspec-first-principles/OPERATIONALIZATION-ROADMAP.md +240 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/049-leanspec-first-principles/OPERATIONALIZATION-TOOLS.md +175 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/049-leanspec-first-principles/README.md +374 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/051-docs-system-prompt-principles/README.md +339 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/052-branding-assets/README.md +128 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/053-spec-assets-philosophy/README.md +97 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/054-validate-output-lint-style/DESIGN-DECISIONS.md +93 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/054-validate-output-lint-style/OUTPUT-FORMAT-SPEC.md +146 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/054-validate-output-lint-style/README.md +175 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/055-readme-redesign-ai-first/ANALYSIS-PART1.md +397 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/055-readme-redesign-ai-first/ANALYSIS-PART2.md +342 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/055-readme-redesign-ai-first/ANALYSIS.md +44 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/055-readme-redesign-ai-first/CHANGES.md +150 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/055-readme-redesign-ai-first/CONCERNS-ANALYSIS.md +351 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/055-readme-redesign-ai-first/DOCS-ALIGNMENT-ANALYSIS.md +238 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/055-readme-redesign-ai-first/README.md +280 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/055-readme-redesign-ai-first/REDESIGN-DRAFT.md +372 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/055-readme-redesign-ai-first/REDESIGN-REFINED.md +466 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/056-docs-site-accuracy-audit/AUDIT-RESULTS.md +178 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/056-docs-site-accuracy-audit/README.md +174 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/057-docs-validation-comprehensive/README.md +295 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/057-docs-validation-comprehensive/VALIDATION-RESULTS.md +487 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/058-docs-overview-polish/ANALYSIS.md +241 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/058-docs-overview-polish/DESIGN.md +279 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/058-docs-overview-polish/IMPLEMENTATION.md +642 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/058-docs-overview-polish/NOTES.md +125 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/058-docs-overview-polish/README.md +286 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/059-programmatic-spec-management/ARCHITECTURE.md +392 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/059-programmatic-spec-management/COMMANDS.md +1002 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/059-programmatic-spec-management/CONTEXT-ENGINEERING.md +411 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/059-programmatic-spec-management/IMPLEMENTATION.md +812 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/059-programmatic-spec-management/README.md +504 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/059-programmatic-spec-management/TESTING.md +724 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/060-core-concepts-coherence/README.md +125 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/061-ai-assisted-spec-writing/README.md +299 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/062-docs-info-architecture-v2/IMPLEMENTATION-PLAN.md +174 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/062-docs-info-architecture-v2/PAGE-SPECIFICATIONS.md +265 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/062-docs-info-architecture-v2/PROBLEM-ANALYSIS.md +36 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/062-docs-info-architecture-v2/README.md +243 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/062-docs-info-architecture-v2/SOLUTION-DESIGN.md +82 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/063-migration-from-existing-tools/DESIGN.md +338 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/063-migration-from-existing-tools/EXAMPLES.md +354 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/063-migration-from-existing-tools/IMPLEMENTATION.md +189 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/063-migration-from-existing-tools/README.md +119 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/064-docs-site-zh-translation/README.md +170 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/065-v03-planning/README.md +158 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/066-context-economy-thresholds-refinement/README.md +842 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/067-monorepo-core-extraction/README.md +358 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/068-live-specs-ux-enhancements/DESIGN.md +444 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/068-live-specs-ux-enhancements/README.md +357 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/069-token-counting-utils/README.md +551 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/070-mcp-token-counting-tool/README.md +372 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/071-simplified-token-validation/README.md +489 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/072-ai-agent-first-use-workflow/README.md +285 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/073-template-engine-agents-md/README.md +323 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/074-content-at-creation/README.md +136 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/075-intelligent-search-engine/README.md +399 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/076-programmatic-spec-relationships/README.md +301 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/077-archiving-strategy/README.md +235 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/078-sub-spec-template-system/README.md +303 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/079-cli-alphabetical-organization/README.md +196 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/080-mcp-server-modular-architecture/README.md +388 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/081-web-app-ux-redesign/README.md +824 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/082-web-realtime-sync-architecture/DATABASE.md +111 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/082-web-realtime-sync-architecture/DEPLOYMENT.md +69 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/082-web-realtime-sync-architecture/FILESYSTEM.md +77 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/082-web-realtime-sync-architecture/IMPLEMENTATION.md +184 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/082-web-realtime-sync-architecture/README.md +496 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/083-web-navigation-performance/README.md +490 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/084-sub-spec-visibility-in-tools/README.md +389 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/085-cli-relationship-commands/README.md +920 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/086-template-component-deduplication/README.md +146 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/087-cli-ui-command/README.md +607 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/088-core-concepts-terminology-only/README.md +104 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/089-sdd-practical-tutorials/README.md +124 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/090-leanspec-sdd-case-studies/README.md +129 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/091-chinese-localization-strategy/README.md +244 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/092-docs-site-submodule-migration/README.md +148 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/093-spec-detail-ui-improvements/README.md +54 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/001-typescript-cli-migration/README.md +37 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/002-template-system-redesign/README.md +60 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/003-init-system-redesign/README.md +113 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/004-existing-project-integration/README.md +69 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/004-existing-project-integration/SUMMARY.md +112 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/005-structured-frontmatter/README.md +229 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/006-pm-visualization-tools/README.md +406 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/007-system-prompt-updates/README.md +168 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/008-commander-migration/README.md +174 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/009-cli-ux-enhancement/README.md +212 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/010-commands-refactor/README.md +249 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/011-test-results/README.md +60 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/011-test-results/TEST_SUMMARY.md +139 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/012-sub-spec-files/README.md +722 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/013-custom-spec-templates/README.md +413 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/015-npm-publishing/README.md +255 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/019-readme-improvement/README.md +252 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/020-documentation-website/README.md +253 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/021-docusaurus-vercel-migration/README.md +612 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/022-flexible-folder-structure/README.md +794 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/023-folder-structure-improvements/DESIGN.md +834 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/023-folder-structure-improvements/README.md +255 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/027-cli-ui-ux-optimization/README.md +454 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/028-cli-ui-modernization/README.md +172 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/029-visualization-improvements/IMPLEMENTATION.md +152 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/029-visualization-improvements/README.md +95 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/030-created-date-format-bug/README.md +87 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/031-gantt-ux-improvements/README.md +230 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/032-console-log-chalk-security/README.md +89 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/033-mcp-server/README.md +89 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/037-docs-overhaul/README.md +166 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/038-flat-structure-migration/README.md +276 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/038-mcp-frontmatter-bug-fix/README.md +122 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/039-simplify-viewer-commands/README.md +198 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/039-template-variable-sync/README.md +192 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/040-spec-viewer-commands/README.md +171 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/042-mcp-error-handling/README.md +200 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/044-spec-relationships-clarity/README.md +317 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/046-stats-dashboard-refactor/DESIGN.md +276 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/046-stats-dashboard-refactor/IMPLEMENTATION.md +241 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/046-stats-dashboard-refactor/README.md +139 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/046-stats-dashboard-refactor/TESTING.md +328 -0
- package/.next/standalone/packages/ui/dist/standalone/specs/archived/050-tool-redesign-first-principles/README.md +400 -0
- package/.next/standalone/packages/ui/dist/static/chunks/0c19c69aa7625475.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/116800b03245a1e5.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/15843a3d7584e314.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/19e80edf527aef5c.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/465954d5af3284a9.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/5abeeb89f1412a80.js +3 -0
- package/.next/standalone/packages/ui/dist/static/chunks/5c2072ad938de8ed.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/6a05a93ec8fa7b83.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/778e42188e450b39.css +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/a02c1f50ff00204f.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/a45464b9776dd88e.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/a6dad97d9634a72d.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/b0ea0ac61604f843.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/c06e85b449720194.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/c557ac675be79771.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/cad005a57ffbb2d3.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/cdf6fe33bc65efbc.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/d12ed5dbe44caed7.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/d1ebe5c1a344f4ca.js +5 -0
- package/.next/standalone/packages/ui/dist/static/chunks/d42cf1682bc46652.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/dde5d8bddd7fbfcf.js +1 -0
- package/.next/standalone/packages/ui/dist/static/chunks/ebd89051637b9a47.js +4 -0
- package/.next/standalone/packages/ui/dist/static/chunks/ec82875d18b29f47.js +2 -0
- package/.next/standalone/packages/ui/dist/static/chunks/f0b701df9769bcc5.js +19 -0
- package/.next/standalone/packages/ui/dist/static/chunks/turbopack-1c09a99f4c9e28d3.js +3 -0
- package/.next/standalone/packages/ui/leanspec.db +0 -0
- package/.next/standalone/packages/ui/package.json +1 -1
- package/.next/standalone/packages/ui/server.js +1 -1
- package/.next/standalone/packages/ui/tsconfig.tsbuildinfo +1 -1
- package/.next/static/T_KGFP0pHt_xSaaYUJa3L/_buildManifest.js +11 -0
- package/.next/static/T_KGFP0pHt_xSaaYUJa3L/_clientMiddlewareManifest.json +1 -0
- package/.next/static/T_KGFP0pHt_xSaaYUJa3L/_ssgManifest.js +1 -0
- package/package.json +2 -2
- /package/.next/standalone/packages/ui/.next/static/{WJi9opx4ShY8zt8yBFo4r โ T_KGFP0pHt_xSaaYUJa3L}/_buildManifest.js +0 -0
- /package/.next/standalone/packages/ui/.next/static/{WJi9opx4ShY8zt8yBFo4r โ T_KGFP0pHt_xSaaYUJa3L}/_clientMiddlewareManifest.json +0 -0
- /package/.next/standalone/packages/ui/.next/static/{WJi9opx4ShY8zt8yBFo4r โ T_KGFP0pHt_xSaaYUJa3L}/_ssgManifest.js +0 -0
- /package/.next/{static/WJi9opx4ShY8zt8yBFo4r โ standalone/packages/ui/dist/static/4ZnYN1WbN4LGJQOwP6FkT}/_buildManifest.js +0 -0
- /package/.next/{static/WJi9opx4ShY8zt8yBFo4r โ standalone/packages/ui/dist/static/4ZnYN1WbN4LGJQOwP6FkT}/_clientMiddlewareManifest.json +0 -0
- /package/.next/{static/WJi9opx4ShY8zt8yBFo4r โ standalone/packages/ui/dist/static/4ZnYN1WbN4LGJQOwP6FkT}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
# Implementation: Migration Command
|
|
2
|
+
|
|
3
|
+
Implementation plan and testing strategy for `lean-spec migrate`.
|
|
4
|
+
|
|
5
|
+
## Migration Workflow
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
9
|
+
โ 1. Scan Input Path โ
|
|
10
|
+
โ - Find all documents (format-agnostic)โ
|
|
11
|
+
โ - Count files to migrate โ
|
|
12
|
+
โโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
13
|
+
โ
|
|
14
|
+
โโโโโโโโโโโดโโโโโโโโโโ
|
|
15
|
+
โ --with specified? โ
|
|
16
|
+
โโโโโโโโโโโฌโโโโโโโโโโ
|
|
17
|
+
โ
|
|
18
|
+
โโโโโโโโโโโดโโโโโโโโโโ
|
|
19
|
+
โ โ
|
|
20
|
+
NO YES
|
|
21
|
+
โ โ
|
|
22
|
+
โโโโโโโโโผโโโโโโโโโ โโโโโโโโโผโโโโโโโโโโโโโโโ
|
|
23
|
+
โ 2a. Manual โ โ 2b. Verify AI CLI โ
|
|
24
|
+
โ Mode โ โ โ
|
|
25
|
+
โ โ โ - Check installed โ
|
|
26
|
+
โ Generate โ โ - Verify version โ
|
|
27
|
+
โ generic prompt โ โ - Test connectivity โ
|
|
28
|
+
โ Output to user โ โ โ
|
|
29
|
+
โโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโฌโโโโโโโโโโโโ
|
|
30
|
+
โ
|
|
31
|
+
โ โ Verified
|
|
32
|
+
โ
|
|
33
|
+
โโโโโโโโโโโโผโโโโโโโโโโโโโโ
|
|
34
|
+
โ 3. AI Auto-Execute โ
|
|
35
|
+
โ โ
|
|
36
|
+
โ - AI analyzes format โ
|
|
37
|
+
โ - Batch documents โ
|
|
38
|
+
โ - Execute migration โ
|
|
39
|
+
โ - Create specs โ
|
|
40
|
+
โ - Set metadata โ
|
|
41
|
+
โโโโโโโโโโโโฌโโโโโโโโโโโโโโ
|
|
42
|
+
โ
|
|
43
|
+
โโโโโโโโโโโโผโโโโโโโโโโ
|
|
44
|
+
โ 4. Validate โ
|
|
45
|
+
โ - Run validate โ
|
|
46
|
+
โ - Check links โ
|
|
47
|
+
โ - Report status โ
|
|
48
|
+
โโโโโโโโโโโโโโโโโโโโโโ
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Implementation Plan
|
|
52
|
+
|
|
53
|
+
### Phase 1: Core Infrastructure (Week 1)
|
|
54
|
+
|
|
55
|
+
**Goal**: Basic command structure and manual mode
|
|
56
|
+
|
|
57
|
+
- [ ] Create `migrate` command scaffold in CLI
|
|
58
|
+
- [ ] Implement document scanning (format-agnostic file finder)
|
|
59
|
+
- [ ] Build generic migration prompt generator
|
|
60
|
+
- [ ] Add instruction output for manual mode
|
|
61
|
+
- [ ] Basic error handling (path not found, no files)
|
|
62
|
+
|
|
63
|
+
**Deliverable**: `lean-spec migrate <path>` outputs migration prompt
|
|
64
|
+
|
|
65
|
+
### Phase 2: Manual Migration (Week 1-2)
|
|
66
|
+
|
|
67
|
+
**Goal**: Refine prompt for real-world use
|
|
68
|
+
|
|
69
|
+
- [ ] Refine generic migration instructions based on feedback
|
|
70
|
+
- [ ] Add examples for common formats (ADR, RFC, Linear)
|
|
71
|
+
- [ ] Test prompt with ChatGPT, Claude, Copilot
|
|
72
|
+
- [ ] Validate with real-world document sets (5+ projects)
|
|
73
|
+
- [ ] Document manual migration workflow
|
|
74
|
+
|
|
75
|
+
**Deliverable**: Users can successfully migrate using manual mode
|
|
76
|
+
|
|
77
|
+
### Phase 3: AI CLI Integration (Week 2-3)
|
|
78
|
+
|
|
79
|
+
**Goal**: Automated AI-assisted migration
|
|
80
|
+
|
|
81
|
+
- [ ] Design AI CLI tool registry (copilot, claude, gemini)
|
|
82
|
+
- [ ] Implement CLI verification (`which`, version check)
|
|
83
|
+
- [ ] Add error handling for missing/outdated tools
|
|
84
|
+
- [ ] Implement AI CLI execution for each provider
|
|
85
|
+
- [ ] Add `--dry-run` mode
|
|
86
|
+
- [ ] Add post-migration validation
|
|
87
|
+
|
|
88
|
+
**Deliverable**: `lean-spec migrate <path> --with copilot` auto-migrates
|
|
89
|
+
|
|
90
|
+
### Phase 4: Testing & Documentation (Week 3)
|
|
91
|
+
|
|
92
|
+
**Goal**: Production-ready quality
|
|
93
|
+
|
|
94
|
+
- [ ] Integration tests with sample repos
|
|
95
|
+
- [ ] Test AI CLI detection and execution
|
|
96
|
+
- [ ] Add migration guide to docs site
|
|
97
|
+
- [ ] Create migration examples/tutorials
|
|
98
|
+
- [ ] Performance testing (100+ documents)
|
|
99
|
+
|
|
100
|
+
**Deliverable**: Documented, tested, production-ready feature
|
|
101
|
+
|
|
102
|
+
### Phase 5: Polish for 0.2 (Week 4)
|
|
103
|
+
|
|
104
|
+
**Goal**: Great user experience
|
|
105
|
+
|
|
106
|
+
- [ ] CLI UX improvements (colors, formatting)
|
|
107
|
+
- [ ] Progress indicators for batch processing
|
|
108
|
+
- [ ] Error message clarity and actionability
|
|
109
|
+
- [ ] Migration report summary with stats
|
|
110
|
+
- [ ] Beta user testing and feedback
|
|
111
|
+
|
|
112
|
+
**Deliverable**: Ship-ready feature for 0.2 launch
|
|
113
|
+
|
|
114
|
+
## Testing Strategy
|
|
115
|
+
|
|
116
|
+
### Unit Tests
|
|
117
|
+
|
|
118
|
+
- [ ] Document scanning finds all files correctly
|
|
119
|
+
- [ ] Prompt generation includes all required instructions
|
|
120
|
+
- [ ] AI CLI detection works for all providers
|
|
121
|
+
- [ ] Version parsing and comparison logic
|
|
122
|
+
- [ ] Error messages are clear and actionable
|
|
123
|
+
- [ ] Command-line argument parsing
|
|
124
|
+
|
|
125
|
+
### Integration Tests
|
|
126
|
+
|
|
127
|
+
**Basic Migration:**
|
|
128
|
+
- [ ] Migrate sample ADR repository (10+ docs)
|
|
129
|
+
- [ ] Migrate sample RFC repository
|
|
130
|
+
- [ ] Mixed format migration (various doc types)
|
|
131
|
+
- [ ] Empty directory handling
|
|
132
|
+
- [ ] Single file migration
|
|
133
|
+
|
|
134
|
+
**AI-Assisted Mode:**
|
|
135
|
+
- [ ] AI CLI detection (installed/missing/outdated)
|
|
136
|
+
- [ ] AI CLI execution completes successfully
|
|
137
|
+
- [ ] Dry-run produces no actual changes
|
|
138
|
+
- [ ] Validation runs after migration
|
|
139
|
+
- [ ] Error handling when AI CLI fails
|
|
140
|
+
|
|
141
|
+
**Edge Cases:**
|
|
142
|
+
- [ ] Very large repos (100+ documents)
|
|
143
|
+
- [ ] Nested directory structures
|
|
144
|
+
- [ ] Special characters in filenames
|
|
145
|
+
- [ ] Duplicate document names
|
|
146
|
+
- [ ] Partial migration (some docs fail)
|
|
147
|
+
|
|
148
|
+
### Real-World Validation
|
|
149
|
+
|
|
150
|
+
- [ ] Migrate OpenSpec repository (if publicly available examples exist)
|
|
151
|
+
- [ ] Migrate GitHub spec-kit repository examples
|
|
152
|
+
- [ ] Migrate actual ADR repo from open source project
|
|
153
|
+
- [ ] Migrate actual RFC repo from open source project
|
|
154
|
+
- [ ] Test with exported documents from Linear/Jira (markdown/JSON)
|
|
155
|
+
- [ ] User testing with 3+ beta users
|
|
156
|
+
- [ ] AI-assisted migration accuracy >90%
|
|
157
|
+
- [ ] Test with all 3 AI providers (Copilot, Claude, Gemini)
|
|
158
|
+
|
|
159
|
+
### Performance Tests
|
|
160
|
+
|
|
161
|
+
- [ ] Migrate 10 documents: <1 minute (manual mode)
|
|
162
|
+
- [ ] Migrate 100 documents: <5 minutes (manual mode)
|
|
163
|
+
- [ ] Migrate 100 documents: <15 minutes (AI mode)
|
|
164
|
+
- [ ] Memory usage stable with large repos
|
|
165
|
+
- [ ] No memory leaks during batch processing
|
|
166
|
+
|
|
167
|
+
## Future Enhancements
|
|
168
|
+
|
|
169
|
+
**Post-0.2 Improvements:**
|
|
170
|
+
|
|
171
|
+
- **Bidirectional sync**: Export LeanSpec back to source format
|
|
172
|
+
- **Incremental migration**: Auto-migrate new docs as they appear
|
|
173
|
+
- **Custom mappings**: User-defined source โ LeanSpec rules
|
|
174
|
+
- **Web UI**: Visual migration tool with preview
|
|
175
|
+
- **Progress tracking**: Resume interrupted migrations
|
|
176
|
+
- **Conflict resolution**: Interactive UI for duplicate handling
|
|
177
|
+
- **Attachment support**: Migrate images/diagrams from source
|
|
178
|
+
- **Relationship mapping**: Auto-detect and link related specs
|
|
179
|
+
|
|
180
|
+
## Open Questions
|
|
181
|
+
|
|
182
|
+
**For team discussion:**
|
|
183
|
+
|
|
184
|
+
1. Should we support exporting back to source format?
|
|
185
|
+
2. How to handle complex relationships (ADR supersedes)?
|
|
186
|
+
3. Should AI mode require explicit consent/confirmation?
|
|
187
|
+
4. Support for attachments/images in source docs?
|
|
188
|
+
5. Should we cache AI responses for retry scenarios?
|
|
189
|
+
6. How to handle rate limits on AI CLI tools?
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: complete
|
|
3
|
+
created: '2025-11-10'
|
|
4
|
+
tags:
|
|
5
|
+
- cli
|
|
6
|
+
- migration
|
|
7
|
+
- ai-assisted
|
|
8
|
+
- v0.2
|
|
9
|
+
priority: high
|
|
10
|
+
created_at: '2025-11-10T05:35:31.293Z'
|
|
11
|
+
updated_at: '2025-11-10T06:48:06.343Z'
|
|
12
|
+
transitions:
|
|
13
|
+
- status: in-progress
|
|
14
|
+
at: '2025-11-10T06:39:58.417Z'
|
|
15
|
+
- status: complete
|
|
16
|
+
at: '2025-11-10T06:48:06.343Z'
|
|
17
|
+
completed_at: '2025-11-10T06:48:06.343Z'
|
|
18
|
+
completed: '2025-11-10'
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# Migration from Existing SDD Tools
|
|
22
|
+
|
|
23
|
+
> **Status**: โ
Complete ยท **Priority**: High ยท **Created**: 2025-11-10 ยท **Tags**: cli, migration, ai-assisted, v0.2
|
|
24
|
+
|
|
25
|
+
**Project**: lean-spec
|
|
26
|
+
**Team**: Core Development
|
|
27
|
+
|
|
28
|
+
## Overview
|
|
29
|
+
|
|
30
|
+
Add `lean-spec migrate` command to help users migrate from mainstream SDD tools to LeanSpec.
|
|
31
|
+
|
|
32
|
+
**Problem**: Teams using existing SDD tools have different folder/file organization. Manually reorganizing specs is tedious and error-prone.
|
|
33
|
+
|
|
34
|
+
**Solution**: Two migration modes:
|
|
35
|
+
1. **Manual mode** (default): Outputs AI prompt for any AI tool
|
|
36
|
+
2. **AI-assisted mode**: Automated migration via Copilot/Claude/Gemini CLI
|
|
37
|
+
|
|
38
|
+
**Key Insight:** The real migration challenge is **metadata/frontmatter**, not folder structure or content format:
|
|
39
|
+
- **Folder structure**: spec-kit already uses `specs/###-name/` (compatible!)
|
|
40
|
+
- **Content format**: LeanSpec is flexibleโkeep your existing content
|
|
41
|
+
- **Metadata**: Need to generate system-managed frontmatter (status, priority, tags, timestamps)
|
|
42
|
+
- **Solution**: Use `lean-spec backfill` to extract metadata from git history + existing docs
|
|
43
|
+
|
|
44
|
+
**Primary Migration Sources:**
|
|
45
|
+
1. **[OpenSpec](https://github.com/Fission-AI/OpenSpec)** - `openspec/specs/` + `openspec/changes/` structure (needs folder merge)
|
|
46
|
+
2. **[GitHub spec-kit](https://github.com/github/spec-kit)** - `.specify/specs/` (already compatible! just needs frontmatter)
|
|
47
|
+
3. **Document collections** - ADR folders, RFC directories, scattered docs (need folder reorganization)
|
|
48
|
+
4. **System prompts** - AGENTS.md, Cursorrules, etc. (guide AI behavior during/after migration)
|
|
49
|
+
|
|
50
|
+
**External Systems:** Support exported documents only (no API integration). Users export to markdown/JSON, then migrate those files.
|
|
51
|
+
|
|
52
|
+
## Design
|
|
53
|
+
|
|
54
|
+
See [DESIGN.md](./DESIGN.md) for complete technical design including:
|
|
55
|
+
- Command interface and options
|
|
56
|
+
- Migration modes (manual vs AI-assisted)
|
|
57
|
+
- AI provider integration
|
|
58
|
+
- Error handling
|
|
59
|
+
|
|
60
|
+
See [EXAMPLES.md](./EXAMPLES.md) for detailed folder reorganization examples:
|
|
61
|
+
- OpenSpec โ LeanSpec (merging specs + changes directories)
|
|
62
|
+
- spec-kit โ LeanSpec (consolidating multi-file features)
|
|
63
|
+
- ADR โ LeanSpec (flat files to folder hierarchy)
|
|
64
|
+
|
|
65
|
+
## Implementation
|
|
66
|
+
|
|
67
|
+
See [IMPLEMENTATION.md](./IMPLEMENTATION.md) for implementation plan including:
|
|
68
|
+
- Migration workflow diagram
|
|
69
|
+
- 5-phase development plan
|
|
70
|
+
- Comprehensive testing strategy
|
|
71
|
+
|
|
72
|
+
## Notes
|
|
73
|
+
|
|
74
|
+
### Design Decisions
|
|
75
|
+
|
|
76
|
+
**Why focus on metadata/frontmatter, not content or folders?**
|
|
77
|
+
- LeanSpec doesn't enforce content structureโusers write however they want
|
|
78
|
+
- spec-kit already uses compatible folder structure (`specs/###-name/`)
|
|
79
|
+
- The real challenge: generating system-managed frontmatter (status, priority, tags, timestamps)
|
|
80
|
+
- Use `lean-spec backfill` to extract metadata from git history and existing docs
|
|
81
|
+
- OpenSpec and ADR need folder reorganization, but that's secondary
|
|
82
|
+
- Follows: Intent Over Implementation (automate metadata extraction, preserve content)
|
|
83
|
+
|
|
84
|
+
**Why focus on file-based specs (OpenSpec, spec-kit, ADR)?**
|
|
85
|
+
- Mainstream SDD tools used by engineering teams
|
|
86
|
+
- Git-based, version-controlled, no API complexity
|
|
87
|
+
- OpenSpec and spec-kit are AI-native and well-structured
|
|
88
|
+
- Avoids authentication and external system dependencies
|
|
89
|
+
|
|
90
|
+
**Why exported documents only for external systems?**
|
|
91
|
+
- API integration requires auth, keys, rate limits, ongoing maintenance
|
|
92
|
+
- Security concerns with storing/managing credentials
|
|
93
|
+
- Export-then-migrate keeps tool simple and secure
|
|
94
|
+
- Users already have export workflows (Linearโmarkdown, etc.)
|
|
95
|
+
|
|
96
|
+
**Why instruction-based by default?**
|
|
97
|
+
- No API keys required
|
|
98
|
+
- Works with any AI tool (ChatGPT, Claude, Copilot, etc.)
|
|
99
|
+
- User maintains control
|
|
100
|
+
- Lower complexity
|
|
101
|
+
|
|
102
|
+
**Why AI-assisted auto-executes?**
|
|
103
|
+
- When user specifies `--with`, they want automation
|
|
104
|
+
- Verification ensures tools are ready
|
|
105
|
+
- Fails fast with clear errors
|
|
106
|
+
|
|
107
|
+
**Why migrate system prompts (AGENTS.md)?**
|
|
108
|
+
- OpenSpec and spec-kit have AGENTS.md files guiding AI behavior
|
|
109
|
+
- LeanSpec also uses AGENTS.md for AI workflow instructions
|
|
110
|
+
- Migration should preserve AI guidance, not just specs
|
|
111
|
+
- Consider migrating: AGENTS.md, .cursorrules, .github/copilot-instructions.md
|
|
112
|
+
- Ensures continuity of AI-assisted development workflows
|
|
113
|
+
|
|
114
|
+
### Success Criteria
|
|
115
|
+
|
|
116
|
+
- Migrate ADR/RFC repos in <30 minutes
|
|
117
|
+
- AI-assisted migration accuracy >90%
|
|
118
|
+
- Zero data loss
|
|
119
|
+
- 80% of beta users migrate successfully without support
|
package/.next/standalone/packages/ui/dist/standalone/specs/064-docs-site-zh-translation/README.md
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: complete
|
|
3
|
+
created: '2025-11-10'
|
|
4
|
+
tags:
|
|
5
|
+
- docs
|
|
6
|
+
- i18n
|
|
7
|
+
- translation
|
|
8
|
+
- chinese
|
|
9
|
+
priority: medium
|
|
10
|
+
created_at: '2025-11-10T14:32:32.477Z'
|
|
11
|
+
updated_at: '2025-11-10T15:12:43.784Z'
|
|
12
|
+
transitions:
|
|
13
|
+
- status: in-progress
|
|
14
|
+
at: '2025-11-10T15:12:07.668Z'
|
|
15
|
+
- status: complete
|
|
16
|
+
at: '2025-11-10T15:12:43.784Z'
|
|
17
|
+
completed_at: '2025-11-10T15:12:43.784Z'
|
|
18
|
+
completed: '2025-11-10'
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# Docs Site Chinese (ZH) Translation
|
|
22
|
+
|
|
23
|
+
> **Status**: โ
Complete ยท **Priority**: Medium ยท **Created**: 2025-11-10 ยท **Tags**: docs, i18n, translation, chinese
|
|
24
|
+
|
|
25
|
+
**Project**: lean-spec
|
|
26
|
+
**Team**: Core Development
|
|
27
|
+
|
|
28
|
+
## Overview
|
|
29
|
+
|
|
30
|
+
Add Chinese (Simplified) translation support to the LeanSpec documentation site to expand reach to Chinese-speaking developers. Docusaurus has built-in i18n support that makes this straightforward.
|
|
31
|
+
|
|
32
|
+
**Why**: China has a large developer community, and Chinese documentation significantly lowers adoption barriers for non-English speakers.
|
|
33
|
+
|
|
34
|
+
**Scope**:
|
|
35
|
+
- Translation infrastructure setup (i18n config)
|
|
36
|
+
- Initial translation of core documentation pages
|
|
37
|
+
- Translation workflow and guidelines for maintainability
|
|
38
|
+
|
|
39
|
+
**Out of scope**: Traditional Chinese (can be added later), automatic translation (manual/human translation only for quality).
|
|
40
|
+
|
|
41
|
+
## Design
|
|
42
|
+
|
|
43
|
+
### Docusaurus i18n Architecture
|
|
44
|
+
|
|
45
|
+
Docusaurus provides built-in i18n support with locale-based file organization:
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
docs-site/
|
|
49
|
+
i18n/
|
|
50
|
+
zh-Hans/ # Chinese Simplified
|
|
51
|
+
docusaurus-plugin-content-docs/
|
|
52
|
+
current/ # Translated docs/
|
|
53
|
+
intro.md
|
|
54
|
+
getting-started.md
|
|
55
|
+
...
|
|
56
|
+
docusaurus-plugin-content-blog/
|
|
57
|
+
... # Translated blog posts
|
|
58
|
+
code.json # UI labels, nav items
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
**Key decisions**:
|
|
62
|
+
1. **Use `zh-Hans` (Simplified Chinese)** - Most widely used in mainland China
|
|
63
|
+
2. **Manual translation** - Ensures quality and proper context
|
|
64
|
+
3. **Progressive translation** - Start with high-value pages (getting started, core concepts)
|
|
65
|
+
4. **Maintain English as source of truth** - Chinese follows English updates
|
|
66
|
+
|
|
67
|
+
### Translation Priority
|
|
68
|
+
|
|
69
|
+
**Phase 1 (Initial Launch)** - Critical path pages:
|
|
70
|
+
- Homepage
|
|
71
|
+
- Getting Started guide
|
|
72
|
+
- Core Concepts section
|
|
73
|
+
- Quick Start tutorial
|
|
74
|
+
- Navigation/UI elements
|
|
75
|
+
|
|
76
|
+
**Phase 2** - Feature documentation:
|
|
77
|
+
- CLI Commands reference
|
|
78
|
+
- Frontmatter reference
|
|
79
|
+
- Workflow guides
|
|
80
|
+
- Templates guide
|
|
81
|
+
|
|
82
|
+
**Phase 3** - Advanced content:
|
|
83
|
+
- Blog posts
|
|
84
|
+
- Advanced guides
|
|
85
|
+
- Contributing guide
|
|
86
|
+
- API documentation
|
|
87
|
+
|
|
88
|
+
## Plan
|
|
89
|
+
|
|
90
|
+
### Setup i18n Infrastructure
|
|
91
|
+
- [ ] Add Chinese locale to `docusaurus.config.ts`
|
|
92
|
+
- [ ] Configure locale routing and language switcher
|
|
93
|
+
- [ ] Create `i18n/zh-Hans/` directory structure
|
|
94
|
+
- [ ] Set up translation workflow documentation
|
|
95
|
+
|
|
96
|
+
### Translate Core Pages (Phase 1)
|
|
97
|
+
- [ ] Homepage (`index.tsx` or homepage content)
|
|
98
|
+
- [ ] Getting Started guide
|
|
99
|
+
- [ ] Core Concepts overview
|
|
100
|
+
- [ ] Quick Start tutorial
|
|
101
|
+
- [ ] Navigation labels (`code.json`)
|
|
102
|
+
- [ ] Common UI strings (buttons, labels, etc.)
|
|
103
|
+
|
|
104
|
+
### Quality & Workflow
|
|
105
|
+
- [ ] Create translation style guide (terminology, tone)
|
|
106
|
+
- [ ] Document translation workflow for contributors
|
|
107
|
+
- [ ] Add translation status tracking (which pages are translated)
|
|
108
|
+
- [ ] Test locale switching and URL routing
|
|
109
|
+
|
|
110
|
+
### Deployment
|
|
111
|
+
- [ ] Verify build process includes Chinese locale
|
|
112
|
+
- [ ] Test Chinese site on Vercel preview
|
|
113
|
+
- [ ] Add Chinese docs link to main README.md (near documentation links)
|
|
114
|
+
- [ ] Add language badge/notice in docs site
|
|
115
|
+
- [ ] Deploy to production
|
|
116
|
+
|
|
117
|
+
## Test
|
|
118
|
+
|
|
119
|
+
**Build & Navigation**:
|
|
120
|
+
- [ ] `npm run build` succeeds with Chinese locale
|
|
121
|
+
- [ ] Language switcher appears and works correctly
|
|
122
|
+
- [ ] Chinese URLs route properly (`/zh-Hans/docs/...`)
|
|
123
|
+
- [ ] All translated pages render without errors
|
|
124
|
+
|
|
125
|
+
**Content Quality**:
|
|
126
|
+
- [ ] Chinese text displays correctly (encoding, fonts)
|
|
127
|
+
- [ ] Technical terms translated consistently
|
|
128
|
+
- [ ] Code examples remain in English (code itself)
|
|
129
|
+
- [ ] Links point to correct locale (Chinese โ Chinese)
|
|
130
|
+
|
|
131
|
+
**Fallback Behavior**:
|
|
132
|
+
- [ ] Untranslated pages show English version with notice
|
|
133
|
+
- [ ] Navigation works even with partial translation
|
|
134
|
+
- [ ] Language switcher shows translation progress
|
|
135
|
+
|
|
136
|
+
## Notes
|
|
137
|
+
|
|
138
|
+
**Docusaurus i18n commands**:
|
|
139
|
+
```bash
|
|
140
|
+
# Run dev server with Chinese locale
|
|
141
|
+
npm run start -- --locale zh-Hans
|
|
142
|
+
|
|
143
|
+
# Build with all locales
|
|
144
|
+
npm run build
|
|
145
|
+
|
|
146
|
+
# Write translations (extracts default text)
|
|
147
|
+
npm run write-translations -- --locale zh-Hans
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
**Translation resources**:
|
|
151
|
+
- Docusaurus i18n guide: https://docusaurus.io/docs/i18n/introduction
|
|
152
|
+
- Chinese technical writing style: Focus on clarity, avoid overly formal language
|
|
153
|
+
- Terminology: Consider creating glossary (e.g., "spec" โ "่ง่ๆๆกฃ")
|
|
154
|
+
|
|
155
|
+
**Accessibility for Chinese developers**:
|
|
156
|
+
- Add link in main README.md (near existing documentation links)
|
|
157
|
+
- Format: `[ไธญๆๆๆกฃ](https://www.lean-spec.dev/zh-Hans/)` or similar
|
|
158
|
+
- Place prominently so it's discoverable without scrolling
|
|
159
|
+
- Consider adding language badge/selector notice in docs header
|
|
160
|
+
- Chinese URL will be: `https://www.lean-spec.dev/zh-Hans/`
|
|
161
|
+
|
|
162
|
+
**Maintenance considerations**:
|
|
163
|
+
- English docs are source of truth - Chinese translations may lag behind
|
|
164
|
+
- Consider adding translation status badges to indicate freshness
|
|
165
|
+
- May need community contributions to keep translations current
|
|
166
|
+
|
|
167
|
+
**Future enhancements**:
|
|
168
|
+
- Traditional Chinese (`zh-Hant`) for Taiwan/Hong Kong
|
|
169
|
+
- Japanese (`ja`) or other languages
|
|
170
|
+
- Automated translation sync detection (flag outdated translations)
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: planned
|
|
3
|
+
created: '2025-11-11'
|
|
4
|
+
tags:
|
|
5
|
+
- release
|
|
6
|
+
- planning
|
|
7
|
+
- milestone
|
|
8
|
+
- v0.3.0
|
|
9
|
+
- performance
|
|
10
|
+
- ai-agents
|
|
11
|
+
priority: critical
|
|
12
|
+
created_at: '2025-11-11T06:41:08.335Z'
|
|
13
|
+
depends_on:
|
|
14
|
+
- 059-programmatic-spec-management
|
|
15
|
+
- 067-monorepo-core-extraction
|
|
16
|
+
- 035-live-specs-showcase
|
|
17
|
+
- 075-intelligent-search-engine
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# LeanSpec v0.3 - Performance & AI Agent Optimization
|
|
21
|
+
|
|
22
|
+
> **Status**: ๐
Planned ยท **Priority**: Critical ยท **Created**: 2025-11-11
|
|
23
|
+
|
|
24
|
+
**Project**: lean-spec
|
|
25
|
+
**Team**: Core Development
|
|
26
|
+
|
|
27
|
+
## Overview
|
|
28
|
+
|
|
29
|
+
v0.3 focuses on **AI agent performance optimization** and **programmatic spec management**. With v0.2 successfully launched, we've identified key bottlenecks in AI agent workflows and opportunities to improve developer/AI collaboration through better tooling.
|
|
30
|
+
|
|
31
|
+
**Why now?** v0.2 validated LeanSpec's core philosophy and received positive feedback. Usage analytics show AI agents spending significant time on spec discovery and parsing. v0.3 optimizes these workflows while adding features users are requesting.
|
|
32
|
+
|
|
33
|
+
**Key Goals:**
|
|
34
|
+
1. **10x faster spec operations** for AI agents (programmatic APIs)
|
|
35
|
+
2. **Live documentation preview** for better feedback loops
|
|
36
|
+
3. **Enhanced AI agent workflows** (improved context delivery)
|
|
37
|
+
4. **Performance benchmarking** to measure and maintain gains
|
|
38
|
+
|
|
39
|
+
## Design
|
|
40
|
+
|
|
41
|
+
**v0.3 Theme: "Performance & Intelligence"**
|
|
42
|
+
|
|
43
|
+
**Core Focus Areas:**
|
|
44
|
+
|
|
45
|
+
1. **Programmatic Spec Management** (spec 059) - CRITICAL
|
|
46
|
+
- JSON-based APIs for AI agents
|
|
47
|
+
- Batch operations for efficiency
|
|
48
|
+
- Structured queries (filter/search without parsing all files)
|
|
49
|
+
- Performance benchmarks and optimization
|
|
50
|
+
|
|
51
|
+
2. **Intelligent Search Engine** (spec 075) - CRITICAL
|
|
52
|
+
- Relevance ranking and scoring algorithms
|
|
53
|
+
- Field-weighted search (title > tags > content)
|
|
54
|
+
- Fuzzy matching for typo tolerance
|
|
55
|
+
- Boolean operators (AND/OR/NOT)
|
|
56
|
+
- Phrase search with quotes
|
|
57
|
+
- Replaces primitive substring matching
|
|
58
|
+
|
|
59
|
+
3. **Live Specs Showcase** (spec 035) - HIGH PRIORITY
|
|
60
|
+
- Real-time documentation preview
|
|
61
|
+
- Embedded dogfooding showcase
|
|
62
|
+
- Performance optimization for large spec sets
|
|
63
|
+
- Deep dive into rendering/build optimization
|
|
64
|
+
|
|
65
|
+
4. **MCP Server Enhancements**
|
|
66
|
+
- Optimize context delivery
|
|
67
|
+
- Add caching layer
|
|
68
|
+
- Reduce token usage in responses
|
|
69
|
+
- Better structured output
|
|
70
|
+
|
|
71
|
+
**Release Criteria:**
|
|
72
|
+
- All critical specs complete
|
|
73
|
+
- Performance benchmarks show >5x improvement
|
|
74
|
+
- Documentation updated with new APIs
|
|
75
|
+
- Migration guide for any breaking changes
|
|
76
|
+
- Test coverage maintained >80%
|
|
77
|
+
|
|
78
|
+
## Plan
|
|
79
|
+
|
|
80
|
+
**Phase 1: Core Performance (Week 1-2)**
|
|
81
|
+
- [ ] Complete spec 059 (programmatic-spec-management)
|
|
82
|
+
- [ ] Complete spec 075 Phase 1-2 (intelligent-search-engine)
|
|
83
|
+
- [ ] Benchmark current performance (baseline metrics)
|
|
84
|
+
- [ ] Implement caching layer for spec parsing
|
|
85
|
+
- [ ] Optimize MCP server response times
|
|
86
|
+
- [ ] Add performance tests to CI
|
|
87
|
+
|
|
88
|
+
**Phase 2: Live Preview & Showcase (Week 2-3)**
|
|
89
|
+
- [ ] Deep dive analysis of spec 035 requirements
|
|
90
|
+
- [ ] Optimize Docusaurus build for large spec sets
|
|
91
|
+
- [ ] Implement live preview functionality
|
|
92
|
+
- [ ] Add interactive visualizations (Kanban, stats)
|
|
93
|
+
- [ ] Performance optimization for client-side rendering
|
|
94
|
+
|
|
95
|
+
**Phase 3: Polish & Documentation (Week 3-4)**
|
|
96
|
+
- [ ] Update documentation with v0.3 features
|
|
97
|
+
- [ ] Create migration guide
|
|
98
|
+
- [ ] Performance benchmark results page
|
|
99
|
+
- [ ] Blog post: "How We Made LeanSpec 10x Faster"
|
|
100
|
+
- [ ] Update CHANGELOG.md
|
|
101
|
+
|
|
102
|
+
**Phase 4: Release (Week 4)**
|
|
103
|
+
- [ ] Final testing and QA
|
|
104
|
+
- [ ] Version bump to 0.3.0
|
|
105
|
+
- [ ] Publish to npm
|
|
106
|
+
- [ ] Deploy docs updates
|
|
107
|
+
- [ ] Announce on social media
|
|
108
|
+
|
|
109
|
+
## Test
|
|
110
|
+
|
|
111
|
+
**Performance Benchmarks:**
|
|
112
|
+
- [ ] Spec loading <10ms (from ~100ms)
|
|
113
|
+
- [ ] List operations <50ms for 100 specs
|
|
114
|
+
- [ ] Search operations <100ms across all specs
|
|
115
|
+
- [ ] MCP server responses <200ms average
|
|
116
|
+
- [ ] Docs build time <30s (with showcase)
|
|
117
|
+
|
|
118
|
+
**Functionality Tests:**
|
|
119
|
+
- [ ] All existing CLI commands work unchanged
|
|
120
|
+
- [ ] New programmatic APIs work as documented
|
|
121
|
+
- [ ] Live preview updates in real-time
|
|
122
|
+
- [ ] Showcase displays all specs accurately
|
|
123
|
+
- [ ] No breaking changes for existing users
|
|
124
|
+
|
|
125
|
+
**Quality Gates:**
|
|
126
|
+
- [ ] Test coverage >80%
|
|
127
|
+
- [ ] No critical bugs in staging
|
|
128
|
+
- [ ] Documentation 100% accurate
|
|
129
|
+
- [ ] Migration path tested
|
|
130
|
+
|
|
131
|
+
## Notes
|
|
132
|
+
|
|
133
|
+
**Priority Decisions:**
|
|
134
|
+
- **059 (programmatic-spec-management)**: CRITICAL - Foundation for AI agent performance
|
|
135
|
+
- **075 (intelligent-search-engine)**: CRITICAL - Search is broken, blocks AI agent effectiveness
|
|
136
|
+
- **035 (live-specs-showcase)**: HIGH - User-requested, builds trust, needs deep optimization work
|
|
137
|
+
|
|
138
|
+
**Dependencies:**
|
|
139
|
+
- spec 059 โ Must complete first (enables performance gains)
|
|
140
|
+
- spec 035 โ Can parallel track after 059 design phase
|
|
141
|
+
|
|
142
|
+
**Open Questions:**
|
|
143
|
+
- Should we include Copilot slash commands (034) in v0.3 or defer to v0.4?
|
|
144
|
+
- Do we need breaking changes for performance gains?
|
|
145
|
+
- What's the migration strategy if APIs change?
|
|
146
|
+
|
|
147
|
+
**Success Metrics:**
|
|
148
|
+
- AI agent operations 10x faster
|
|
149
|
+
- Docs build time <30s (currently ~45s)
|
|
150
|
+
- User satisfaction: showcase gets >70% positive feedback
|
|
151
|
+
- Adoption: 5+ new users from showcase visibility
|
|
152
|
+
|
|
153
|
+
**Related Specs:**
|
|
154
|
+
- 059-programmatic-spec-management (critical path)
|
|
155
|
+
- 075-intelligent-search-engine (critical path)
|
|
156
|
+
- 035-live-specs-showcase (high priority)
|
|
157
|
+
- 043-official-launch-02 (just completed)
|
|
158
|
+
- Future: 034-copilot-slash-commands, 036-pm-integrations
|