@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
package/.next/standalone/packages/ui/dist/standalone/specs/058-docs-overview-polish/ANALYSIS.md
ADDED
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
# Analysis: Documentation Structure Issues
|
|
2
|
+
|
|
3
|
+
This document contains the detailed problem analysis that informed the redesign.
|
|
4
|
+
|
|
5
|
+
## Current State Analysis
|
|
6
|
+
|
|
7
|
+
### Problem #1: AI Integration Structure is Wrong (Critical)
|
|
8
|
+
|
|
9
|
+
**Current State**: Separate "AI Integration" tab in navigation
|
|
10
|
+
|
|
11
|
+
**Why This is Wrong**:
|
|
12
|
+
- LeanSpec is **fundamentally AI-native** - not an optional feature
|
|
13
|
+
- Treating AI as separate contradicts our core identity
|
|
14
|
+
- Users think: "I don't use AI, I can skip this" - Wrong mindset!
|
|
15
|
+
- Should be integrated into Guide as "Working with AI" workflow
|
|
16
|
+
|
|
17
|
+
**Evidence**:
|
|
18
|
+
- README.md emphasizes "AI-native" in first paragraph
|
|
19
|
+
- Spec 049 First Principles designed for human + AI collaboration
|
|
20
|
+
- MCP server is a core tool, not an add-on
|
|
21
|
+
- Every workflow assumes AI agents
|
|
22
|
+
|
|
23
|
+
**Fix**: Move "AI Integration" into Guide section as "Working with AI"
|
|
24
|
+
|
|
25
|
+
### Problem #2: Core Concepts Don't Reflect First Principles (Critical)
|
|
26
|
+
|
|
27
|
+
**Current State**: Core Concepts has:
|
|
28
|
+
- `philosophy.mdx` - Mentions first principles but doesn't deeply explain them
|
|
29
|
+
- `principles.mdx` - "Agile Principles" (good but missing foundation)
|
|
30
|
+
- Missing: **First Principles doc itself**
|
|
31
|
+
|
|
32
|
+
**Why This is Wrong**:
|
|
33
|
+
- Spec 049 established 5 First Principles (Context Economy, Signal-to-Noise, etc.)
|
|
34
|
+
- These are the **foundation** - everything derives from them
|
|
35
|
+
- Current docs don't show the derivation hierarchy
|
|
36
|
+
- Philosophy appears arbitrary without showing it derives from principles
|
|
37
|
+
|
|
38
|
+
**Fix**: Add First Principles doc, update Philosophy to show derivation
|
|
39
|
+
|
|
40
|
+
### Problem #3: `docs/` Folder Content Not Integrated (High Priority)
|
|
41
|
+
|
|
42
|
+
**Current State**: Valuable content exists in `docs/` but not in docs-site:
|
|
43
|
+
- `docs/MCP-SERVER.md` - Comprehensive MCP setup (more detailed than docs-site)
|
|
44
|
+
- `docs/MIGRATION.md` - Migration guides
|
|
45
|
+
- `docs/examples/` - Custom fields examples and configs
|
|
46
|
+
|
|
47
|
+
**Why This is Wrong**:
|
|
48
|
+
- Duplicate content causes confusion ("which one is canonical?")
|
|
49
|
+
- `docs/` folder has better detail (e.g., MCP troubleshooting, security)
|
|
50
|
+
- Users may miss important content
|
|
51
|
+
- Hard to maintain two documentation sources
|
|
52
|
+
|
|
53
|
+
**Fix**: Migrate `docs/` content into docs-site, deprecate `docs/` folder
|
|
54
|
+
|
|
55
|
+
### Problem #4: Navigation Doesn't Reflect Workflow (Medium Priority)
|
|
56
|
+
|
|
57
|
+
**Current Structure**:
|
|
58
|
+
```
|
|
59
|
+
Guide/
|
|
60
|
+
- Introduction (Overview, Getting Started)
|
|
61
|
+
- Core Concepts (Philosophy, Principles, When to Use)
|
|
62
|
+
- Features (Templates, Frontmatter, Custom Fields, Variables)
|
|
63
|
+
Reference/
|
|
64
|
+
- CLI, Config, Frontmatter
|
|
65
|
+
AI Integration/ (separate tab)
|
|
66
|
+
Roadmap
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**Issues**:
|
|
70
|
+
- No workflow section (board, stats, deps, validate are in CLI reference)
|
|
71
|
+
- Features and workflow mixed together
|
|
72
|
+
- No MCP reference (it's only in AI Integration)
|
|
73
|
+
- Doesn't show progression: Concepts → Setup → Workflow → Reference
|
|
74
|
+
|
|
75
|
+
**Fix**: Restructure navigation to match user journey
|
|
76
|
+
|
|
77
|
+
## Original Issues (Minor Priority)
|
|
78
|
+
|
|
79
|
+
### Issue #1: Feature Section Needs Restructuring
|
|
80
|
+
|
|
81
|
+
**Location**: "How It Works" section in overview
|
|
82
|
+
|
|
83
|
+
**Problem**: Section lists 5 CLI capabilities but:
|
|
84
|
+
1. Missing **MCP server** - major feature for AI integration!
|
|
85
|
+
2. Missing other key commands: `board`, `stats`, `deps`, `validate`, etc.
|
|
86
|
+
3. These are CLI commands, but framed as "what LeanSpec provides" (confusing scope)
|
|
87
|
+
4. No mention of roadmap/vision (VS Code extension, GitHub Action, PM integrations, etc.)
|
|
88
|
+
|
|
89
|
+
**Proposed Solution**: Replace "How It Works" with "What You Get" section that groups by:
|
|
90
|
+
- Core CLI (create, organize, search, board, stats, validate)
|
|
91
|
+
- MCP Server (AI integration)
|
|
92
|
+
- Templates & Customization (minimal/standard/enterprise, custom fields)
|
|
93
|
+
|
|
94
|
+
### Issue #2: Example Structure vs Templates
|
|
95
|
+
|
|
96
|
+
**Location**: "A Simple Example" section
|
|
97
|
+
|
|
98
|
+
**Problem**: Example structure doesn't match actual templates:
|
|
99
|
+
- **Minimal template**: Goal, Key Points, Non-Goals, Notes
|
|
100
|
+
- **Standard template**: Overview, Design, Plan, Test, Notes
|
|
101
|
+
- **Example**: Goal, Key Scenarios, Acceptance Criteria, Technical Contracts, Non-Goals
|
|
102
|
+
|
|
103
|
+
**Fix**: Add clarifying note that example is illustrative, not prescriptive
|
|
104
|
+
|
|
105
|
+
### Issue #3: Example Date
|
|
106
|
+
|
|
107
|
+
**Location**: Same example
|
|
108
|
+
|
|
109
|
+
**Problem**: Date is in the past (`created: 2025-11-02`)
|
|
110
|
+
|
|
111
|
+
**Fix**: Change to `created: 2025-11-07` or use `{date}` variable
|
|
112
|
+
|
|
113
|
+
## Comparative Analysis
|
|
114
|
+
|
|
115
|
+
### Current vs Proposed Structure
|
|
116
|
+
|
|
117
|
+
**Current (Problematic)**:
|
|
118
|
+
- 3 top-level tabs (Guide, Reference, AI Integration)
|
|
119
|
+
- AI treated as optional add-on
|
|
120
|
+
- No First Principles documentation
|
|
121
|
+
- Duplicate content in `docs/` folder
|
|
122
|
+
- Workflow buried in CLI reference
|
|
123
|
+
|
|
124
|
+
**Proposed (Aligned)**:
|
|
125
|
+
- 2 top-level tabs (Guide, Reference)
|
|
126
|
+
- AI integrated into Guide workflow
|
|
127
|
+
- First Principles prominent in Core Concepts
|
|
128
|
+
- Single source of truth (docs-site)
|
|
129
|
+
- Dedicated Workflow section
|
|
130
|
+
|
|
131
|
+
## User Journey Mapping
|
|
132
|
+
|
|
133
|
+
### Current Journey (Confusing)
|
|
134
|
+
1. Read Overview → "What is LeanSpec?"
|
|
135
|
+
2. Core Concepts → Philosophy (but why these principles?)
|
|
136
|
+
3. Features → Templates (how to start?)
|
|
137
|
+
4. Stuck: Where's AI integration? Where's workflow?
|
|
138
|
+
|
|
139
|
+
### Proposed Journey (Clear)
|
|
140
|
+
1. Introduction → Overview, Getting Started, Examples
|
|
141
|
+
2. Core Concepts → First Principles (foundation), Philosophy (application)
|
|
142
|
+
3. Working with AI → Setup, Best Practices (integrated workflow)
|
|
143
|
+
4. Features → Templates, Custom Fields (customization)
|
|
144
|
+
5. Workflow → Board/Stats, Dependencies, Validation (daily usage)
|
|
145
|
+
6. Reference → CLI, Config, Frontmatter, MCP API (technical details)
|
|
146
|
+
|
|
147
|
+
## Content Migration Map
|
|
148
|
+
|
|
149
|
+
### From `docs/` to docs-site
|
|
150
|
+
|
|
151
|
+
| Source | Destination | Action |
|
|
152
|
+
|--------|-------------|--------|
|
|
153
|
+
| `docs/MCP-SERVER.md` | `docs-site/docs/reference/mcp-server.mdx` | Migrate + enhance |
|
|
154
|
+
| `docs/MIGRATION.md` | `docs-site/docs/guide/migration.mdx` | Migrate |
|
|
155
|
+
| `docs/examples/CUSTOM-FIELDS-GUIDE.md` | `docs-site/docs/guide/custom-fields.mdx` | Merge |
|
|
156
|
+
| `docs/examples/*.json` | Inline in custom-fields.mdx | Include as examples |
|
|
157
|
+
|
|
158
|
+
### Within docs-site
|
|
159
|
+
|
|
160
|
+
| Source | Destination | Action |
|
|
161
|
+
|--------|-------------|--------|
|
|
162
|
+
| `ai-integration/index.mdx` | `guide/ai-setup.mdx` | Move + rename |
|
|
163
|
+
| `ai-integration/setup.mdx` | Merge into `guide/ai-setup.mdx` | Merge |
|
|
164
|
+
| `ai-integration/best-practices.mdx` | `guide/ai-best-practices.mdx` | Move |
|
|
165
|
+
| `ai-integration/examples.mdx` | `guide/ai-examples.mdx` | Move |
|
|
166
|
+
| `ai-integration/agents-md.mdx` | Incorporate into `guide/ai-setup.mdx` | Merge |
|
|
167
|
+
|
|
168
|
+
## Impact Analysis
|
|
169
|
+
|
|
170
|
+
### Breaking Changes
|
|
171
|
+
- None (only documentation reorganization)
|
|
172
|
+
- Old URLs redirect or show clear navigation
|
|
173
|
+
|
|
174
|
+
### User Impact
|
|
175
|
+
- **Positive**: Clearer structure, easier to find content
|
|
176
|
+
- **Neutral**: Content is the same, just reorganized
|
|
177
|
+
- **Negative**: None expected (all content remains accessible)
|
|
178
|
+
|
|
179
|
+
### Maintenance Impact
|
|
180
|
+
- **Reduced**: Single docs source (docs-site)
|
|
181
|
+
- **Improved**: Clear structure for future additions
|
|
182
|
+
- **Easier**: Less duplication, clearer ownership
|
|
183
|
+
|
|
184
|
+
## Risk Assessment
|
|
185
|
+
|
|
186
|
+
### Low Risk
|
|
187
|
+
- ✅ No code changes
|
|
188
|
+
- ✅ No API changes
|
|
189
|
+
- ✅ Content reorganization only
|
|
190
|
+
|
|
191
|
+
### Medium Risk
|
|
192
|
+
- ⚠️ Broken internal links (mitigated by thorough testing)
|
|
193
|
+
- ⚠️ User confusion during transition (mitigated by clear communication)
|
|
194
|
+
|
|
195
|
+
### High Risk
|
|
196
|
+
- None identified
|
|
197
|
+
|
|
198
|
+
## Success Metrics
|
|
199
|
+
|
|
200
|
+
### Quantitative
|
|
201
|
+
- Zero broken links after migration
|
|
202
|
+
- Build time remains <30 seconds
|
|
203
|
+
- All internal references updated
|
|
204
|
+
- Zero 404s after deployment
|
|
205
|
+
|
|
206
|
+
### Qualitative
|
|
207
|
+
- Navigation flows logically
|
|
208
|
+
- First Principles clearly explained
|
|
209
|
+
- AI integration feels core, not optional
|
|
210
|
+
- Users can find content in <2 clicks
|
|
211
|
+
|
|
212
|
+
## Validation Strategy
|
|
213
|
+
|
|
214
|
+
### Automated
|
|
215
|
+
1. Build docs-site without errors
|
|
216
|
+
2. Check for broken links (link checker)
|
|
217
|
+
3. Validate spec structure (`lean-spec validate`)
|
|
218
|
+
4. Search functionality still works
|
|
219
|
+
|
|
220
|
+
### Manual
|
|
221
|
+
1. Review navigation flow
|
|
222
|
+
2. Verify all content migrated
|
|
223
|
+
3. Check mobile/desktop rendering
|
|
224
|
+
4. Test search for common queries
|
|
225
|
+
|
|
226
|
+
## Timeline Estimate
|
|
227
|
+
|
|
228
|
+
| Phase | Estimated Time | Critical Path |
|
|
229
|
+
|-------|----------------|---------------|
|
|
230
|
+
| Navigation & Structure | 2-3 hours | Yes |
|
|
231
|
+
| Core Concepts | 2-3 hours | Yes (foundation) |
|
|
232
|
+
| AI Content Move | 3-4 hours | Yes (biggest change) |
|
|
233
|
+
| Migrate `docs/` | 2-3 hours | No |
|
|
234
|
+
| Workflow Section | 2-3 hours | No |
|
|
235
|
+
| Overview Updates | 1-2 hours | No |
|
|
236
|
+
| Testing | 1-2 hours | Yes |
|
|
237
|
+
| Polish | 1 hour | No |
|
|
238
|
+
|
|
239
|
+
**Total**: 8-12 hours over 1-2 days
|
|
240
|
+
|
|
241
|
+
**Critical Path**: 7-9 hours (Navigation → Core Concepts → AI Move → Testing)
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
# Design: Documentation Structure Redesign
|
|
2
|
+
|
|
3
|
+
This document contains the architecture and key design decisions for the new documentation structure.
|
|
4
|
+
|
|
5
|
+
## Navigation Restructure
|
|
6
|
+
|
|
7
|
+
### New Sidebar Structure
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
const sidebars: SidebarsConfig = {
|
|
11
|
+
guideSidebar: [
|
|
12
|
+
{
|
|
13
|
+
type: 'category',
|
|
14
|
+
label: 'Introduction',
|
|
15
|
+
items: ['guide/index', 'guide/getting-started', 'guide/examples'],
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
type: 'category',
|
|
19
|
+
label: 'Core Concepts',
|
|
20
|
+
items: ['guide/first-principles', 'guide/philosophy', 'guide/when-to-use'],
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
type: 'category',
|
|
24
|
+
label: 'Working with AI',
|
|
25
|
+
items: ['guide/ai-setup', 'guide/ai-best-practices', 'guide/ai-examples'],
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
type: 'category',
|
|
29
|
+
label: 'Features',
|
|
30
|
+
items: ['guide/templates', 'guide/custom-fields', 'guide/variables'],
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
type: 'category',
|
|
34
|
+
label: 'Workflow',
|
|
35
|
+
items: ['guide/board-stats', 'guide/dependencies', 'guide/validation'],
|
|
36
|
+
},
|
|
37
|
+
'guide/migration',
|
|
38
|
+
'roadmap',
|
|
39
|
+
],
|
|
40
|
+
referenceSidebar: [
|
|
41
|
+
'reference/cli',
|
|
42
|
+
'reference/config',
|
|
43
|
+
'reference/frontmatter',
|
|
44
|
+
'reference/mcp-server',
|
|
45
|
+
],
|
|
46
|
+
};
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**Key Changes**:
|
|
50
|
+
1. Remove `aiSidebar` completely (content moved to guideSidebar)
|
|
51
|
+
2. AI Integration → "Working with AI" in Guide
|
|
52
|
+
3. Add First Principles to Core Concepts
|
|
53
|
+
4. Add Workflow section
|
|
54
|
+
5. Add MCP Server to Reference
|
|
55
|
+
|
|
56
|
+
### Key Design Decisions
|
|
57
|
+
|
|
58
|
+
**Decision #1: AI Integration → Working with AI**
|
|
59
|
+
- **Rationale**: AI is core to LeanSpec, not optional
|
|
60
|
+
- **Placement**: Within Guide (part of workflow)
|
|
61
|
+
- **First Principle**: Bridge the Gap (align human + AI)
|
|
62
|
+
|
|
63
|
+
**Decision #2: First Principles Prominent**
|
|
64
|
+
- **Rationale**: Foundation for everything else
|
|
65
|
+
- **Placement**: First item in Core Concepts
|
|
66
|
+
- **First Principle**: Intent Over Implementation (capture why)
|
|
67
|
+
|
|
68
|
+
**Decision #3: Workflow Section**
|
|
69
|
+
- **Rationale**: Practical usage needs dedicated section
|
|
70
|
+
- **Placement**: After Features (progression: learn → customize → use)
|
|
71
|
+
- **First Principle**: Progressive Disclosure (add structure when useful)
|
|
72
|
+
|
|
73
|
+
**Decision #4: MCP in Reference**
|
|
74
|
+
- **Rationale**: Technical API documentation
|
|
75
|
+
- **Placement**: Reference section (alongside CLI, Config)
|
|
76
|
+
- **First Principle**: Context Economy (separate concerns)
|
|
77
|
+
|
|
78
|
+
## Content Architecture
|
|
79
|
+
|
|
80
|
+
### Documentation Hierarchy
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
Introduction (What & Why)
|
|
84
|
+
├─ Overview: What is LeanSpec, why it exists
|
|
85
|
+
├─ Getting Started: Install, init, first spec
|
|
86
|
+
└─ Examples: Real specs from this project
|
|
87
|
+
|
|
88
|
+
Core Concepts (Foundation)
|
|
89
|
+
├─ First Principles: 5 fundamental constraints
|
|
90
|
+
├─ Philosophy: How to apply principles
|
|
91
|
+
└─ When to Use: Appropriate use cases
|
|
92
|
+
|
|
93
|
+
Working with AI (Integration)
|
|
94
|
+
├─ Setup: AGENTS.md, MCP, IDE integration
|
|
95
|
+
├─ Best Practices: Writing specs for AI
|
|
96
|
+
└─ Examples: Real workflows
|
|
97
|
+
|
|
98
|
+
Features (Customization)
|
|
99
|
+
├─ Templates: Minimal, standard, enterprise
|
|
100
|
+
├─ Custom Fields: Adapt to workflow
|
|
101
|
+
└─ Variables: Template variables
|
|
102
|
+
|
|
103
|
+
Workflow (Daily Usage)
|
|
104
|
+
├─ Board & Stats: Project visibility
|
|
105
|
+
├─ Dependencies: Spec relationships
|
|
106
|
+
└─ Validation: Quality checks
|
|
107
|
+
|
|
108
|
+
Reference (Technical)
|
|
109
|
+
├─ CLI Commands: Complete reference
|
|
110
|
+
├─ Configuration: config.json schema
|
|
111
|
+
├─ Frontmatter: Schema and fields
|
|
112
|
+
└─ MCP Server: API reference
|
|
113
|
+
|
|
114
|
+
Roadmap (Future)
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Content Flow
|
|
118
|
+
|
|
119
|
+
**User Journey**:
|
|
120
|
+
1. **Introduction** → Understand what LeanSpec is
|
|
121
|
+
2. **Core Concepts** → Learn the foundation
|
|
122
|
+
3. **Working with AI** → Set up tools
|
|
123
|
+
4. **Features** → Customize to needs
|
|
124
|
+
5. **Workflow** → Use daily
|
|
125
|
+
6. **Reference** → Look up details
|
|
126
|
+
|
|
127
|
+
## Content Changes
|
|
128
|
+
|
|
129
|
+
**See [IMPLEMENTATION.md](./IMPLEMENTATION.md) for detailed content specifications.**
|
|
130
|
+
|
|
131
|
+
### Summary of Changes
|
|
132
|
+
|
|
133
|
+
**New Content**:
|
|
134
|
+
- `guide/first-principles.mdx` (from spec 049)
|
|
135
|
+
- `guide/board-stats.mdx` (new)
|
|
136
|
+
- `guide/dependencies.mdx` (new)
|
|
137
|
+
- `guide/validation.mdx` (new)
|
|
138
|
+
- `reference/mcp-server.mdx` (enhanced from `docs/MCP-SERVER.md`)
|
|
139
|
+
- `guide/migration.mdx` (from `docs/MIGRATION.md`)
|
|
140
|
+
|
|
141
|
+
**Updated Content**:
|
|
142
|
+
- `guide/philosophy.mdx` (add First Principles derivation)
|
|
143
|
+
- `guide/ai-setup.mdx` (merge from ai-integration/)
|
|
144
|
+
- `guide/custom-fields.mdx` (merge examples from `docs/examples/`)
|
|
145
|
+
|
|
146
|
+
**Moved Content**:
|
|
147
|
+
- `ai-integration/` → `guide/` (all AI content)
|
|
148
|
+
|
|
149
|
+
**Deleted**:
|
|
150
|
+
- `docs-site/docs/ai-integration/` directory (after migration)
|
|
151
|
+
- `docs/` folder content (after integration, keep folder with redirect)
|
|
152
|
+
|
|
153
|
+
## Migration Strategy
|
|
154
|
+
|
|
155
|
+
### Phase-by-Phase Approach
|
|
156
|
+
|
|
157
|
+
**Phase 1: Structure** (Non-breaking)
|
|
158
|
+
- Update `sidebars.ts`
|
|
159
|
+
- Create placeholder files
|
|
160
|
+
- Test build
|
|
161
|
+
|
|
162
|
+
**Phase 2: Content** (Content-heavy)
|
|
163
|
+
- Create first-principles.mdx
|
|
164
|
+
- Update philosophy.mdx
|
|
165
|
+
- Migrate AI content
|
|
166
|
+
|
|
167
|
+
**Phase 3: Consolidation** (Critical)
|
|
168
|
+
- Migrate `docs/` content
|
|
169
|
+
- Update all links
|
|
170
|
+
- Delete old structure
|
|
171
|
+
|
|
172
|
+
**Phase 4: Polish** (Quality)
|
|
173
|
+
- Add examples
|
|
174
|
+
- Improve formatting
|
|
175
|
+
- Final testing
|
|
176
|
+
|
|
177
|
+
### Backward Compatibility
|
|
178
|
+
|
|
179
|
+
**Link Redirects**:
|
|
180
|
+
```
|
|
181
|
+
/docs/ai-integration/setup → /docs/guide/ai-setup
|
|
182
|
+
/docs/ai-integration/best-practices → /docs/guide/ai-best-practices
|
|
183
|
+
[etc.]
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
**Implementation**:
|
|
187
|
+
- Use Docusaurus redirect plugin
|
|
188
|
+
- Add redirect entries to `docusaurus.config.ts`
|
|
189
|
+
|
|
190
|
+
## Design Validation
|
|
191
|
+
|
|
192
|
+
### Alignment with First Principles
|
|
193
|
+
|
|
194
|
+
**Context Economy**: ✅
|
|
195
|
+
- Clear section boundaries
|
|
196
|
+
- Logical grouping
|
|
197
|
+
- Easy to navigate
|
|
198
|
+
|
|
199
|
+
**Signal-to-Noise**: ✅
|
|
200
|
+
- No duplicate content
|
|
201
|
+
- Clear purpose for each section
|
|
202
|
+
- Progressive depth
|
|
203
|
+
|
|
204
|
+
**Intent Over Implementation**: ✅
|
|
205
|
+
- Shows why (First Principles)
|
|
206
|
+
- Shows how (Philosophy, Workflow)
|
|
207
|
+
- References for details
|
|
208
|
+
|
|
209
|
+
**Bridge the Gap**: ✅
|
|
210
|
+
- Human-readable navigation
|
|
211
|
+
- AI-friendly structure
|
|
212
|
+
- Both audiences served
|
|
213
|
+
|
|
214
|
+
**Progressive Disclosure**: ✅
|
|
215
|
+
- Introduction → Concepts → Setup → Features → Workflow → Reference
|
|
216
|
+
- Can start simple, go deep as needed
|
|
217
|
+
|
|
218
|
+
### User Journey Validation
|
|
219
|
+
|
|
220
|
+
**New Developer**:
|
|
221
|
+
1. Introduction → Quick start
|
|
222
|
+
2. Core Concepts → Understand foundation
|
|
223
|
+
3. Working with AI → Set up tools
|
|
224
|
+
4. Templates → First spec
|
|
225
|
+
✅ Clear path
|
|
226
|
+
|
|
227
|
+
**Experienced Developer**:
|
|
228
|
+
1. Jump to Workflow → Daily usage
|
|
229
|
+
2. Reference → Command details
|
|
230
|
+
✅ Fast access
|
|
231
|
+
|
|
232
|
+
**AI Agent**:
|
|
233
|
+
1. Can parse structure
|
|
234
|
+
2. Clear hierarchies
|
|
235
|
+
3. Unambiguous references
|
|
236
|
+
✅ Machine-friendly
|
|
237
|
+
|
|
238
|
+
## Technical Considerations
|
|
239
|
+
|
|
240
|
+
### Build Impact
|
|
241
|
+
- No build time increase expected
|
|
242
|
+
- Same number of pages (reorganized, not expanded)
|
|
243
|
+
- Search index regenerated (automatic)
|
|
244
|
+
|
|
245
|
+
### Performance
|
|
246
|
+
- Navigation depth unchanged
|
|
247
|
+
- Asset loading unchanged
|
|
248
|
+
- No performance impact
|
|
249
|
+
|
|
250
|
+
### SEO
|
|
251
|
+
- Update sitemap (automatic)
|
|
252
|
+
- Some URL changes (redirects handle)
|
|
253
|
+
- Content quality improves (better structure)
|
|
254
|
+
|
|
255
|
+
## Success Criteria
|
|
256
|
+
|
|
257
|
+
### Structural
|
|
258
|
+
- [x] Clear hierarchy (Introduction → Concepts → AI → Features → Workflow → Reference)
|
|
259
|
+
- [x] No duplicate content
|
|
260
|
+
- [x] Logical grouping
|
|
261
|
+
- [x] Consistent depth
|
|
262
|
+
|
|
263
|
+
### Content
|
|
264
|
+
- [x] First Principles clearly explained
|
|
265
|
+
- [x] Philosophy shows derivation
|
|
266
|
+
- [x] AI integration feels core
|
|
267
|
+
- [x] All `docs/` content integrated
|
|
268
|
+
|
|
269
|
+
### Technical
|
|
270
|
+
- [x] Builds without errors
|
|
271
|
+
- [x] No broken links
|
|
272
|
+
- [x] Redirects configured
|
|
273
|
+
- [x] Search works
|
|
274
|
+
|
|
275
|
+
### User Experience
|
|
276
|
+
- [x] Can find content in <2 clicks
|
|
277
|
+
- [x] Navigation flows logically
|
|
278
|
+
- [x] Mobile-friendly
|
|
279
|
+
- [x] Accessible
|