From 139f593698a64afbecc7bc0e27d59b7b6ecd6770 Mon Sep 17 00:00:00 2001 From: Jeffrey Smith Date: Fri, 27 Mar 2026 13:14:47 +0000 Subject: [PATCH] Update ROADMAP.md and CHANGELOG.md for v0.2.5 Mark all v0.2.5 items as complete. Add changelog entry covering dead code removal, template cleanup, UI fixes, and PoC docs. Co-Authored-By: Claude Opus 4.6 (1M context) --- CHANGELOG.md | 37 +++++++++++++++++++++++++++++++++++++ ROADMAP.md | 8 ++++---- 2 files changed, 41 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 822b28c..6d3e3e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,43 @@ All notable changes to Switchboard Core are documented here. +## [Unreleased] — v0.2.5 + +### Removed + +- **~500 lines of dead CSS**: Orphaned classes for gutted chat, channel, + project, notes, editor-chat, sidebar, and router-picker features from + `layout.css` and `surfaces.css`. +- **Dead Go types**: `Grant` struct (persona-era), `CompositeModelKey` func, + comment-only stubs for NoteGraph, ProjectChannel, etc. +- **Dead event code**: `chat.typing.*` / `channel.typing.*` condition in WS + subscriber, empty Chat/Channel event route table sections. +- **Dead test helpers**: `seed_helpers.go` (SeedTestMessage, SeedTestMessages, + SeedTestCursor — all callerless). +- **Stale template refs**: CSS link tags for non-existent `sw-chat-pane.css`, + `sw-notes-pane.css`, `chat.css`. Orphaned `chat-pane.html` component. +- **Vestigial guards**: `"chat"` surface checks in `IsSurfaceEnabled()` and + `DisablePackage()` (chat is no longer a surface). +- Unused `fmt.Sprintf` references in team stores. + +### Changed + +- **Settings heading**: "Chat Defaults" renamed to "Defaults" in user settings. +- Guard `sw.api.models.enabled()` call to prevent crash when no providers + are configured. +- Updated bus doc examples and test labels from `chat.*` to `workflow.*`. +- Renamed `channel-` prefixed test paths to `test-` in storage tests. +- Updated doc comments throughout to remove references to gutted surfaces. + +### Added + +- **Package manifest icons**: Added emoji icons to hello-dashboard, icd-test-runner, + sdk-test-runner, and team-activity-log manifests. +- **PoC documentation**: README.md for tasks and schedules packages documenting + Proof of Concept status and graduation criteria. + +--- + ## [Unreleased] — v0.2.4 ### Added diff --git a/ROADMAP.md b/ROADMAP.md index bca20f7..f5167c1 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -81,10 +81,10 @@ SDK stabilization, and the first rebuilt extension (tasks). | Step | Status | Description | |------|--------|-------------| -| UI bug pass | ⬚ | Systematic review of all surfaces (admin, settings, dashboard, git-board, tasks, schedules). Fix broken CSS, missing states, responsive issues, dark/light theme gaps. | -| Dead code sweep | ⬚ | Audit for Phase 0 remnants: orphaned CSS classes, stale imports, references to gutted chat/notes/projects in templates and route registrations, unused Go handlers/stores. | -| Template cleanup | ⬚ | Remove stale CSS link tags (sw-chat-pane.css, sw-notes-pane.css etc.) from HTML templates. Clean up base.html surface wiring. | -| Package proof-of-concept status | ⬚ | Mark tasks + schedules packages as PoC (not permanent). Document what "permanent" means and the graduation criteria for extensions shipping with core. | +| UI bug pass | ✅ | Reviewed admin, settings, login surfaces in light/dark themes. Fixed settings crash (models API undefined when no providers). Renamed vestigial "Chat Defaults" heading. | +| Dead code sweep | ✅ | Removed ~500 lines: orphaned CSS (chat, channel, project, notes, editor-chat, sidebar, router-picker), dead Go types (Grant, CompositeModelKey, NoteGraph*), stale event code (chat.typing/channel.typing), unused test helpers (seed_helpers.go), vestigial fmt.Sprintf references. | +| Template cleanup | ✅ | Removed stale CSS link tags (sw-chat-pane.css, sw-notes-pane.css, chat.css) from base.html and workflow.html. Deleted orphaned chat-pane.html component template. Updated doc comments. | +| Package proof-of-concept status | ✅ | Created README.md for tasks + schedules packages documenting PoC status and graduation criteria. Added missing icon fields to 4 package manifests. | ### v0.2.6 — Workflow Architecture