Feat v0.3.7 package audit #20

Merged
xcaliber merged 4 commits from feat/v0.3.7-package-audit into main 2026-03-28 21:22:39 +00:00
2 changed files with 38 additions and 1 deletions
Showing only changes of commit d0207f336f - Show all commits

View File

@@ -2,6 +2,43 @@
All notable changes to Switchboard Core are documented here.
## v0.3.7 — Package Audit
### Added
- **Dormant status**: New `dormant` value in `packages.status` CHECK constraint
(both Postgres and SQLite). Installer auto-detects packages with unmet
`requires` entries and sets `status=dormant, enabled=false`. Enable endpoint
returns 409 for dormant packages.
- **Generalized requires check**: Any unmet requirement triggers dormant status,
not just specific values. Known capabilities checked against a whitelist;
anything unknown is unmet.
- **Admin UI indicators**: Dormant badge, disabled Enable button with tooltip,
Dormant stat card in packages admin view.
- **Tests**: 4 new handler tests covering dormant status, enable blocking,
surface exclusion, and admin list inclusion.
### Fixed
- **Manifest fixes**: Fixed 6 chat-extension manifests (`"name"``"title"`)
that were blocking install. Added explicit `"type": "surface"` to
hello-dashboard, icd-test-runner, sdk-test-runner.
- **Dashboard + Editor tagged dormant**: Both depend on removed `sw.*`
imperative SDK (`sw.tabs`, `sw.chat`, `sw.layout`, etc.) — render blank.
Tagged with `requires: ["legacy-sdk"]` so installer auto-sets dormant.
- **Dependency check**: Relaxed library dependency validation to allow
`pending_review` libraries (gitea-client declares permissions). Only
`suspended`/`dormant` libraries blocked.
### Package Audit Results
- **7 working surfaces**: schedules, tasks, team-activity-log, git-board,
hello-dashboard, icd-test-runner, sdk-test-runner
- **8 dormant**: 6 chat-dependent (csv-table, diff-viewer, js-sandbox,
katex-renderer, mermaid-renderer, regex-tester) + 2 legacy-sdk (dashboard,
editor)
- **1 library**: gitea-client (standalone, active)
## v0.3.6 — Example Workflows + Interactive Demo
### Added

View File

@@ -1,6 +1,6 @@
# Switchboard Core — Roadmap
## Current: v0.2.0 — SDK & Triggers
## Current: v0.3.7 — Package Audit
Fork of chat-switchboard, gutted to a pure extension platform. All AI/chat
features removed from the kernel. What remains is the minimum viable