Sidebar Reorg State
Status
Complete ✅
Output Summary
README.md— project landing pageSidebar_Reorg_Requirements.md— concise project requirementsSidebar_Reorg_Spec.md— ideal final outcome specSidebar_Reorg_Plan_Implementation.md— complete implementation planSidebar_Reorg_History.md— session summariesSidebar_Reorg_WIP.md— active session scratchpadview_folder_config.json— generator configurationScripts/generate_view_pages.ts— the generator script
Todo
- Create Sidebar Reorg project folder and project files
- Write Sidebar Reorg requirements doc
- Write Sidebar Reorg spec describing ideal final outcome only
- Define implementation approach →
Sidebar_Reorg_Plan_Implementation.md
Phase 1 — Infrastructure Setup
- Create
Architecture/Sidebar_Reorg/view_folder_config.json - Install
tsxas a dev dependency in.internal/ - Implement project scanner module in
generate_view_pages.ts - Implement README generator module (overview, folder structure, parent/sub-project sections)
- Implement file-view page generator module
- Implement MEDIA.md generator module
- Implement sidebar snippet generator module
- Update
content.config.ts— add.generated/glob and updategenerateId - Update
.internal/package.json— addtsxdev dep, addgenerate, updatedevandbuildscripts - Add
.generated/to repo root.gitignore - Add generator script and config to sidebar in
astro.config.mjs - Verify:
astro checkpasses (0 errors, 0 warnings);astro buildsucceeds (153 pages)
Phase 2 — README Generation (First Run)
- Run generator:
npm run generate - Review and spot-check all 15 generated READMEs
- Apply README slug additions to top of each project’s sidebar group in
astro.config.mjs(preserve existing entries) - Commit all new
README.mdfiles and updatedastro.config.mjs - Verify: Deploy to Vercel preview; confirm all project READMEs accessible
Phase 3 — Non-Markdown File Visibility
- Run
npm run buildlocally; confirm.generated/populated with file-view pages (57 pages) - Spot-check Domain_Quiz
.ts, Goodreads.html/.csv, Taxonomy.tsfile-view pages - Confirm syntax highlighting renders in Starlight (via build output)
- Confirm each project README links correctly to file-view slugs
- Verify 500-line truncation on large Goodreads HTML files (16K+ lines)
- Apply file-view page slug additions to each project’s sidebar group in
astro.config.mjs - Commit updated
astro.config.mjs - Verify: Navigate sidebar AND project READMEs in preview
Phase 4 — Media Folder Pages
- Scan all Architecture projects for image files (found 1: Uvilo_Method/Media/Taxonomy_Screenshot.jpg)
- Generate
MEDIA.mdfor Uvilo_Method/Media/ - Add MEDIA.md slug to sidebar
- Verify: Confirm MEDIA.md page renders media preview
Phase 5 — Sidebar Completeness Review
- Confirm all 15 Architecture project groups have a README slug at the top
- Confirm all file-view page slugs from Phase 3 are present in the sidebar
- Confirm MEDIA.md slug from Phase 4 is present
- Identify any remaining non-Markdown files missed — all accounted for
- Commit final
astro.config.mjs - Verify: Full manual walk-through
Phase 6 — Build Integration & Final Verification
- Verify Vercel build command invokes
npm run build(which includesnpm run generate) - Trigger full Vercel preview deployment; confirm file-view pages accessible
- Confirm
astro checkpasses; no type errors from generated content - Confirm
starlightAutoSidebarplugin does not conflict with new structure - End-to-end test
- Merge to
dev; confirm production deployment at os.uvilo.com
Post-completion — Spec/Implementation Alignment
- D1: Update spec — Parent Project / Sub-projects are not auto-generated; preserved on regen
- D1: Update generator — remove subProjects/parentProject computation; preserve overview/parent/sub sections
- D2: Update spec/requirements — IMAGES.md → MEDIA.md to match implementation
- D3: Add 23 missing file-view sidebar entries to
astro.config.mjs - D4: Update spec/requirements — document SKILL.md file-view exception
- D5: Update spec — parent folder link = project README
- Verify:
astro check0 errors;astro buildsucceeds (168 pages); 0 missing sidebar slugs