jason.woltje
|
2b542b576c
|
docs: add AGENTS.md for model-agnostic agent guidelines
- Context management strategies
- Workflow patterns (branch → PR → merge → close)
- tea/curl CLI patterns for Gitea
- TDD requirements
- Token-saving tips
Works for Claude, MiniMax, GPT, Llama, etc.
|
2026-01-29 23:21:10 -06:00 |
|
jason.woltje
|
59aec28d5c
|
Merge branch 'feature/29-cron-config' into develop
Implements cron job configuration for Mosaic Stack.
Features:
- CronSchedule model for scheduling recurring commands
- REST API endpoints for CRUD operations
- Scheduler worker that polls for due schedules
- WebSocket notifications when schedules execute
- MoltBot plugin skill definition
Issues:
- #29 Cron job configuration (p1 plugin)
- #115 Cron scheduler worker
- #116 Cron WebSocket notifications
Tests:
- 18 passing tests (cron.service + cron.scheduler)
|
2026-01-29 23:09:20 -06:00 |
|
jason.woltje
|
5048d9eb01
|
feat(#115,#116): implement cron scheduler worker and WebSocket notifications
## Issues Addressed
- #115: Cron scheduler worker
- #116: Cron WebSocket notifications
## Changes
### CronSchedulerService (cron.scheduler.ts)
- Polls CronSchedule table every minute for due schedules
- Executes commands when schedules fire (placeholder for MoltBot integration)
- Updates lastRun/nextRun fields after execution
- Handles errors gracefully with logging
- Supports manual trigger for testing
- Start/stop lifecycle management
### WebSocket Integration
- Added emitCronExecuted() method to WebSocketGateway
- Emits workspace-scoped cron:executed events
- Payload includes: scheduleId, command, executedAt
### Tests
- cron.scheduler.spec.ts: 9 passing tests
- Tests cover: status, due schedule processing, manual trigger, scheduler lifecycle
## Technical Notes
- Placeholder triggerMoltBotCommand() needs actual implementation
- Uses setInterval for polling (could upgrade to cron-parser library)
- WebSocket rooms use workspace:{id} format (existing pattern)
## Files Changed
- apps/api/src/cron/cron.scheduler.ts (new)
- apps/api/src/cron/cron.scheduler.spec.ts (new)
- apps/api/src/cron/cron.module.ts (updated)
- apps/api/src/websocket/websocket.gateway.ts (updated)
|
2026-01-29 23:05:39 -06:00 |
|
jason.woltje
|
2e6b7d4070
|
feat(#29): implement cron job configuration
- Add CronSchedule model to Prisma schema
- Implement CronService with CRUD operations
- Add REST API endpoints for cron management
- Create MoltBot plugin skill definition (SKILL.md)
- TDD: 9 passing tests for CronService
|
2026-01-29 23:00:48 -06:00 |
|
jason.woltje
|
9977d9bcf4
|
Merge pull request 'feat(#22): Implement brain query API endpoint' (#108) from feature/22-brain-api into develop
Reviewed-on: http://git.mosaicstack.dev/mosaic/stack/pulls/108
|
2026-01-30 01:45:59 +00:00 |
|
jason.woltje
|
181fb6ce2a
|
Merge pull request 'feat(#82): Implement personality module' (#107) from feature/82-personality into develop
Reviewed-on: http://git.mosaicstack.dev/mosaic/stack/pulls/107
|
2026-01-30 01:43:56 +00:00 |
|
jason.woltje
|
15e13129c7
|
Merge branch 'develop' into feature/82-personality
|
2026-01-30 01:43:40 +00:00 |
|
jason.woltje
|
567a799c53
|
Merge pull request 'feat(#16): Implement WebSocket real-time updates' (#106) from feature/16-websocket into develop
Reviewed-on: http://git.mosaicstack.dev/mosaic/stack/pulls/106
|
2026-01-30 01:43:32 +00:00 |
|
jason.woltje
|
5a470a127f
|
Merge branch 'develop' into feature/16-websocket
|
2026-01-30 01:43:06 +00:00 |
|
jason.woltje
|
ac110beb4d
|
Merge pull request 'feat(knowledge): Add link resolution service' (#105) from feature/know-link-resolution into develop
Reviewed-on: http://git.mosaicstack.dev/mosaic/stack/pulls/105
|
2026-01-30 01:42:55 +00:00 |
|
jason.woltje
|
cb0a16effa
|
Merge branch 'develop' into feature/know-link-resolution
|
2026-01-30 01:42:44 +00:00 |
|
jason.woltje
|
a75265e535
|
Merge pull request 'feat(#21): Implement Ollama integration' (#104) from feature/21-ollama into develop
Reviewed-on: http://git.mosaicstack.dev/mosaic/stack/pulls/104
|
2026-01-30 01:42:36 +00:00 |
|
jason.woltje
|
1e1a2b4960
|
Merge branch 'develop' into feature/21-ollama
|
2026-01-30 01:42:23 +00:00 |
|
jason.woltje
|
f1f4b0792c
|
Merge pull request 'feat(#15): Implement Gantt chart component' (#103) from feature/15-gantt-chart into develop
Reviewed-on: http://git.mosaicstack.dev/mosaic/stack/pulls/103
|
2026-01-30 01:42:14 +00:00 |
|
jason.woltje
|
d771fd269c
|
Merge branch 'develop' into feature/15-gantt-chart
|
2026-01-30 01:41:23 +00:00 |
|