You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove pulse catalog + CATALOG sidebar tab and associated widgets
Important
Problem: The pulse catalog (SessionCatalogTree → amicode.catalog tree view, amicode.catalog.save/refresh/remove, catalogCard webview) is a legacy UX3 browser that predates the vault-backed CatalogStore (Q94/Q95, packages/amico-run/src/catalog.ts). It persists session pointers in workspaceState (amicode.sessionCatalog) and owns the CATALOG activity-bar tab — now superseded by the vault mount stack + pack interface (WS1 #391). Opencode #215 already lists "Catalog removed" as AC7 when landing the Workspace sidebar.
Approach: Purge the UI surface only — the tree view, its provider, commands, and card — while leaving the vault-backed catalog artifacts (catalogPulsesDir, savePulseTo, CatalogStore) intact. Extension remains a pure amicode.armonia + runInspector activity bar.
Out:packages/amico-run/src/catalog.ts, catalog_verb.ts, repertoire.ts — the vault pulse catalog stays (WS1).
Assumptions: Single-extension CodeLens: no migration for existing workspaceState entries (they silently orphan); Save to file… remains the only pulse-save path.
Acceptance Criteria
amicode.catalog tree view gone from activity bar — package.json lists only armonia (+ runInspector)
SessionCatalogTree deleted — registerTrees no longer exposes catalog
amicode.catalog.* commands absent from command palette / context menus
catalogCard open path no longer reachable (or deleted)
Tests updated — catalog_shell.test.ts removed or rewritten to not assert catalog tree; pnpm test green
Pulse save still works via Save to file… → savePulseTo + catalogPulsesDir when vault mount present (no regression to pulse-save)
DB migration: none
Key Decisions
Decision
Choice
Scope split
UI tree + card only; vault CatalogStore stays (WS1 owns the real catalog)
State migration
None — orphaned workspaceState[CATALOG_KEY] ignored, not migrated
Save path
Keep Save to file… + vault catalog/pulses/ via savePulseTo; remove the "Save to catalog" QuickPick entry
Constraints & Invariants
Backward compat: no DB migration, no workspaceState migration
Pulse-save must not regress when a vault mount is present
Remove pulse catalog + CATALOG sidebar tab and associated widgets
Important
Problem: The pulse catalog (
SessionCatalogTree→amicode.catalogtree view,amicode.catalog.save/refresh/remove,catalogCardwebview) is a legacy UX3 browser that predates the vault-backedCatalogStore(Q94/Q95,packages/amico-run/src/catalog.ts). It persists session pointers inworkspaceState(amicode.sessionCatalog) and owns theCATALOGactivity-bar tab — now superseded by the vault mount stack + pack interface (WS1 #391). Opencode #215 already lists "Catalog removed" as AC7 when landing the Workspace sidebar.Approach: Purge the UI surface only — the tree view, its provider, commands, and card — while leaving the vault-backed catalog artifacts (
catalogPulsesDir,savePulseTo,CatalogStore) intact. Extension remains a pureamicode.armonia+runInspectoractivity bar.Scope:
packages/extension/package.json— removeamicode.catalogview,amicode.catalog.*commands, context menu, dashboardcatalogCardshimpackages/extension/src/trees.ts— deleteSessionCatalogTree/CATALOG_KEY, keepPlaceholderTreeforarmonia(later replaced by Workspace tree per Reconcile the formulation entity against what the solve actually ran #215)packages/extension/src/extension.ts— removeamicode.catalog.save/refresh/removeregistrations +catalogfromregisterTreeswiring, keepcatalogPulsesDir/savePulseTofor the file-save pathpackages/extension/src/catalog_card_shell.ts+catalog_card_webview.ts+media/ui/components/catalogcard.*— remove or gate behind dead-code (card opens only via catalog flow)packages/extension/test/catalog_shell.test.ts— remove / retargetOut:
packages/amico-run/src/catalog.ts,catalog_verb.ts,repertoire.ts— the vault pulse catalog stays (WS1).Assumptions: Single-extension CodeLens: no migration for existing
workspaceStateentries (they silently orphan);Save to file…remains the only pulse-save path.Acceptance Criteria
amicode.catalogtree view gone from activity bar —package.jsonlists onlyarmonia(+runInspector)SessionCatalogTreedeleted —registerTreesno longer exposescatalogamicode.catalog.*commands absent from command palette / context menuscatalogCardopen path no longer reachable (or deleted)catalog_shell.test.tsremoved or rewritten to not assert catalog tree;pnpm testgreenSave to file…→savePulseTo+catalogPulsesDirwhen vault mount present (no regression to pulse-save)Key Decisions
CatalogStorestays (WS1 owns the real catalog)workspaceState[CATALOG_KEY]ignored, not migratedSave to file…+ vaultcatalog/pulses/viasavePulseTo; remove the"Save to catalog"QuickPick entryConstraints & Invariants
catalogview id collision)Prior Art
trees.ts:7comment — catalog tree explicitly "NOT the Phase-3 CatalogStore"opencode#215AC7 — same removal as part of larger workspace-sidebar sliceSource
Requested 2026-08-20 alongside opencode#215; decoupled so Workspace sidebar can land without the catalog view lingering.
Notes
Prep commit on top of
fix/ci-xmark-typecheckbranch; PR targetsmain.