web-deploy — KB Vault Consolidation + UI Upgrades
Section titled “web-deploy — KB Vault Consolidation + UI Upgrades”Date: 2026-06-13
Repos: talbotstevens/kb-online-site (kb-business), talbotstevens/kb-mbr
Utility: /home/ta/utils/web/web-deploy/
What Changed
Section titled “What Changed”Vault consolidation path fixes (2026-06-11)
Section titled “Vault consolidation path fixes (2026-06-11)”Both deployments were broken after the single unified KB vault replaced the old Business/ vault at D:\FSS\KB\.
kb-business/sync-content.ts— homepage:Business/00_KB Home/00_KB Home.md→Core/DASHBOARD.mdkb-business/generate-sidebar.ts— three hardcodedBusiness/references → unified vault rootkb-mbr/sync-content.ts— homepage:00_KB Home/00_KB Home.md→Strategy/00_KB Home.mdconfig.yaml— renamed kb-business from “KB Business” → “KB”README.md— updated project location table
Result: kb-business shows full unified vault (Core/FSS/MBR/SDC/Clippings). kb-mbr shows MBR-only view.
Sidebar UI upgrades (2026-06-12)
Section titled “Sidebar UI upgrades (2026-06-12)”- Collapsed by default: Added
collapsed: trueto all nested sidebar groups — bothgenerate-sidebar.tsfiles. 135 entries (kb-business), 45 entries (kb-mbr). Starlight 0.35.x persists user-expanded state via sessionStorage — no extra code needed. - Graphify-out exclusion: Added
graphify-outtoITEMS_TO_DELETEandFOLDERS_TO_EXCLUDEin bothsync-content.tsandgenerate-sidebar.ts. - Tablet sidebar toggle: Added
custom.cssto both sites. CSS shows hamburger toggle (≡) at 50em–90rem and collapses sidebar to a hidden drawer..right-sidebar-container { display: none }in same range prevents layout breakage from--sl-sidebar-width: 0pxaffecting its width calc.
Tablet CSS bugfix (2026-06-13)
Section titled “Tablet CSS bugfix (2026-06-13)”Initial tablet CSS used min-width: 72rem (1152px) for sidebar-hiding. iPad landscape is ~1024px — below that threshold, sidebar stayed always-visible with no toggle. Fix: extend range to min-width: 50em (800px) — same as the button-show range. Verified via Playwright at 768/820/1024px viewports. Both repos rebuilt and redeployed.
SMTM Efficiency Upgrade (2026-06-13)
Section titled “SMTM Efficiency Upgrade (2026-06-13)”Added cross-session /clear guidance as part of this task.
~/.claude/commands/task-continue.md— Step 3 now surfaces a relevance advisory (mirrorstask-startStep 3): non-blocking note if the session has unrelated prior content. Replaces the old 7-day file-date warning.Core/Processes/Simple Markdown Task Management/SMTM_System.md— v5.0 → v5.1. New “AI Session Efficiency” section: documents the task file as a complete context capsule,/clear-first cross-session practice, and a when-to-clear decision table.
Key principle: The 5-min prompt cache TTL and context size are orthogonal. Timer-based auto-clear fires wrong in all three real scenarios. The right signal is relevance, not elapsed time — hence an advisory, not automation.
Live Sites
Section titled “Live Sites”https://kb-online-site.pages.dev/— full unified KB (Core, MBR, SDC, FSS, Clippings)https://kb-mbr.pages.dev/— MBR-only view