disclaw/tests
Nick Tabeling 56b861f34c
Some checks failed
CI / build-and-test (ubuntu-latest) (pull_request) Has been cancelled
CI / build-and-test (windows-latest) (pull_request) Has been cancelled
CI / lint (pull_request) Has been cancelled
feat(DIS-151): channel categorization + lifecycle management
- Add deleteWorkspaceByChannelId() to DisclawDatabase
- Add src/lifecycle/categories.ts: ensureCategories() + moveToCategory()
- Add src/lifecycle/reconcile.ts: reconcile() assigns channels to active/inactive/archive categories on startup
- Add src/lifecycle/channel-delete-handler.ts: handles channelDelete events for management, category, and agent channels
- Wire lifecycle into bot.ts: state object, ensureCategories, reconcile, channelDelete listener
- Extend handleNewAgent() with optional activeCategoryId to place new channels in the active category
- Add 13 unit tests covering all lifecycle scenarios

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 14:43:32 +02:00
..
fixtures feat(runner): add --bare and --append-system-prompt-file flags 2026-04-09 11:22:44 +02:00
integration feat(DIS-103): ChannelQueue serializes messages per channel (FIFO) 2026-04-10 10:17:57 +02:00
unit feat(DIS-151): channel categorization + lifecycle management 2026-04-10 14:43:32 +02:00