tui: loom-core bootstrap — initialize plugin registry, storage & event bus #84
Labels
No labels
area:agents
area:ai
area:config
area:dashboard
area:design
area:design-review
area:devtools
area:entities
area:gallery
area:generate
area:image
area:infra
area:meta
area:model-browser
area:navigation
area:presets
area:security
area:sessions
area:settings
area:sharing
area:test
area:ux
area:webhook
area:workdir
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/loom#84
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User Story
As a loom-tui user, I want the TUI to initialize loom-core's plugin registry, SQLite storage, and event bus at startup, so that all screens can interact with the actual backend instead of running as empty scaffolds.
Context
All Phase 1–7 tickets (#11–#46) built the UI scaffolds — screens, components, overlays, keybindings — but none of them wire loom-core into the application. The TUI currently starts with no
PluginManager, noGalleryStorage, noAiJobWorker, and no event broadcast subscription. This ticket is the foundation for every subsequent integration ticket.Acceptance Criteria
Bootstrap
main.rsinitializesloom-coreconfig loading (AppSettings) at startupPluginManageris created and wrapped inArc<RwLock<…>>;PluginBridgefacade is availableGalleryStorage(SQLite) is opened/migratedAiJobWorkeris startedAppCtxand accessible to screensEvent Bus
tokio::sync::broadcastchannel from loom-core is subscribed in the TUI event loopEventStreamApp::process_eventError Handling
Tests
AppCtxconstruction with mock/test loom-core handlesOut of Scope
References