Skip to content

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/


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.mdCore/DASHBOARD.md
  • kb-business/generate-sidebar.ts — three hardcoded Business/ references → unified vault root
  • kb-mbr/sync-content.ts — homepage: 00_KB Home/00_KB Home.mdStrategy/00_KB Home.md
  • config.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.

  • Collapsed by default: Added collapsed: true to all nested sidebar groups — both generate-sidebar.ts files. 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-out to ITEMS_TO_DELETE and FOLDERS_TO_EXCLUDE in both sync-content.ts and generate-sidebar.ts.
  • Tablet sidebar toggle: Added custom.css to 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: 0px affecting its width calc.

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.


Added cross-session /clear guidance as part of this task.

  • ~/.claude/commands/task-continue.md — Step 3 now surfaces a relevance advisory (mirrors task-start Step 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.


  • https://kb-online-site.pages.dev/ — full unified KB (Core, MBR, SDC, FSS, Clippings)
  • https://kb-mbr.pages.dev/ — MBR-only view