Commit Graph
100 Commits
Author SHA1 Message Date
jason.woltje d6c7bf04d5 feat(orchestrator): wire agent lifecycle events to MS23 ingestion service
Add AgentIngestionService that writes to AgentConversationMessage and
AgentSessionTree on every agent lifecycle event (spawned, started,
completed, failed, killed).

Wire into AgentSpawnerService and AgentLifecycleService.

Partial #693
2026-03-06 20:24:13 -06:00
jason.woltje 49fa958444 chore(orchestrator): MS23 P0-001 done, P0-002 in-progress (#700)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-07 02:10:59 +00:00
jason.woltje 8d6abd72bb feat(api): MS23 mission control Prisma schema (#699)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-07 01:18:06 +00:00
jason.woltje 1bed5b3573 chore(orchestrator): Bootstrap MS23 mission-control TASKS.md + PRD (#698)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-07 00:27:24 +00:00
jason.woltje c644d1044b Merge pull request 'fix(api): add AuthModule import to UserAgentModule' (#691) from fix/user-agent-auth-module into main 2026-03-05 22:22:18 +00:00
jason.woltje bf5779fb73 fix(api): add AuthModule import to UserAgentModule 2026-03-05 16:21:38 -06:00
jason.woltje 08d7a6b708 chore: trigger CI rebuild for hotfix 2026-03-05 16:15:32 -06:00
jason.woltje 570edef4e5 Merge pull request 'fix(api): add AuthModule import to AgentTemplateModule' (#690) from fix/agent-template-auth-module into main 2026-03-05 22:10:36 +00:00
jason.woltje d220be6b58 fix(api): add AuthModule import to AgentTemplateModule
The AgentTemplateController uses AuthGuard which requires AuthService,
but AgentTemplateModule was not importing AuthModule. This caused the
API to crash during dependency resolution.
2026-03-05 09:46:22 -06:00
jason.woltje ade9e968ca chore(ms22-p2): mission complete — all 10 tasks done (#689)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-05 15:41:43 +00:00
jason.woltje 413ecdb63b feat(ms22-p2): add Discord channel → agent routing (#688)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-05 14:04:06 +00:00
jason.woltje e85fb11f03 test(ms22-p2): add unit tests for agent services (#687)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-05 03:40:35 +00:00
jason.woltje 0869a3dcb6 chore(ms22-p2): update mission docs — P2-008 complete (#686)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-05 03:32:36 +00:00
jason.woltje a70f149886 feat(ms22-p2): add agent selector UI in WebUI (#685)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-05 03:29:02 +00:00
jason.woltje 2f1ee53c8d feat(ms22-p2): add agent status endpoints and chat routing (#684)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-05 02:56:36 +00:00
jason.woltje b52c4e7ff9 chore(ms22-p2): update docs after P2-004 completion (#683)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-05 02:46:24 +00:00
jason.woltje af56684e84 feat(ms22-p2): add UserAgent CRUD endpoints (#682)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-05 02:44:19 +00:00
jason.woltje ee4d6fa12b feat(ms22-p2): add AgentTemplate admin CRUD endpoints (#678)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-05 02:32:17 +00:00
jason.woltje 5bd08b0d0b fix(deps): update multer override to >=2.1.1 (#681)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-05 02:27:08 +00:00
jason.woltje 1eb581553a Merge pull request 'docs(ms22-p2): validated PRD — 15/15 mosaic prdy validate' (#680) from docs/ms22-p2-prd-validated into main 2026-03-05 01:59:25 +00:00
jason.woltje da62b9bb73 docs(ms22-p2): validated PRD with FR/US/AC items — 15/15 mosaic prdy validate 2026-03-04 19:59:20 -06:00
jason.woltje 62fc76fea6 Merge pull request 'chore(ms22-p2): initialize mission, update manifest and TASKS' (#679) from chore/ms22-p2-mission-init into main 2026-03-05 01:54:14 +00:00
jason.woltje 8b38026fed chore(ms22-p2): initialize mission, update manifest and TASKS 2026-03-04 19:53:57 -06:00
jason.woltje 82b1b4cb41 Merge pull request 'feat(ms22-p2): seed default agent templates' (#677) from feat/ms22-p2-agent-seed into main 2026-03-05 01:42:05 +00:00
jason.woltje 22e08e4ef2 feat(ms22-p2): seed default agent templates (jarvis, builder, medic) 2026-03-04 19:41:25 -06:00
jason.woltje 29cc37f8df Merge pull request 'ci: mark deploy-swarm as failure:ignore' (#676) from fix/ci-disable-deploy-swarm into main 2026-03-05 01:02:40 +00:00
jason.woltje 091fb54f77 ci: mark deploy-swarm as failure:ignore so CI passes independently of deploy 2026-03-04 19:02:25 -06:00
jason.woltje 939479ac7e Merge pull request 'feat(ms22-p2): add AgentTemplate and UserAgent schema' (#675) from feat/ms22-p2-agent-schema into main 2026-03-05 00:49:44 +00:00
jason.woltje 9031509bbd Merge pull request 'test(web): update useChat tests for streaming-only implementation' (#674) from fix/usechat-tests into main 2026-03-05 00:49:38 +00:00
jason.woltje f11a005538 feat(ms22-p2): add AgentTemplate and UserAgent prisma schema 2026-03-04 18:49:25 -06:00
jason.woltje 8484e060d7 test(web): update useChat tests for streaming-only implementation 2026-03-04 18:14:14 -06:00
jason.woltje 673ca32d5a Merge pull request 'docs(ms22): add Phase 2 PRD and TASKS for Named Agent Fleet' (#673) from docs/ms22-p2-agent-fleet-prd into main 2026-03-04 20:18:38 +00:00
jason.woltje a777f1f695 docs(ms22): add Phase 2 PRD and TASKS for Named Agent Fleet 2026-03-04 14:17:57 -06:00
jason.woltje d7d8c3c88d Merge pull request 'fix(chat): restrict to authenticated users only, fix overlay transparency' (#672) from fix/chat-auth-only into main 2026-03-04 20:15:13 +00:00
jason.woltje aec8085f60 chore: mark orchestrator session as completed 2026-03-04 14:12:58 -06:00
jason.woltje 44da50d0b3 fix(chat): restrict to authenticated users only, fix overlay transparency 2026-03-04 11:33:32 -06:00
jason.woltje 44fb402ef2 Merge pull request 'ci: use Portainer API for Docker Swarm deploy' (#671) from ci/portainer-v2 into main 2026-03-03 19:01:31 +00:00
jason.woltje f42c47e314 ci: use Portainer API for Docker Swarm deploy 2026-03-03 13:00:59 -06:00
jason.woltje 8069aeadb5 Merge pull request 'fix(chat): ConfigModule import + CSRF skip for guest endpoint' (#670) from fix/chat-complete into main 2026-03-03 19:00:06 +00:00
jason.woltje 1f883c4c04 chore: remove stray file 2026-03-03 12:58:00 -06:00
jason.woltje 5207d8c0c9 fix(chat): skip CSRF for guest endpoint 2026-03-03 12:36:01 -06:00
jason.woltje d1c9a747b9 fix(chat): import ConfigModule in ChatProxyModule 2026-03-03 12:28:50 -06:00
jason.woltje 3d669713d7 Merge pull request 'feat(chat): add guest chat mode for unauthenticated users' (#667) from feature/chat-guest-mode into main 2026-03-03 17:52:08 +00:00
jason.woltje 1a6cf113c8 fix(lint): resolve prettier formatting in useChat.ts 2026-03-03 11:46:05 -06:00
jason.woltje 48d734516a fix(lint): resolve prettier and dot-notation errors 2026-03-03 11:40:38 -06:00
jason.woltje 83477165d4 fix(chat): correct indentation in useChat guest fallback 2026-03-03 11:22:18 -06:00
jason.woltje c45cec3bba feat(chat): add guest chat mode for unauthenticated users
- Add POST /api/chat/guest endpoint (no auth required)
- Add proxyGuestChat() method using configurable LLM endpoint
- Add streamGuestChat() function to frontend chat API
- Modify useChat to fall back to guest mode on auth errors (403/401)
- Remove !user check from ChatInput disabled prop
- Configure guest LLM via env vars: GUEST_LLM_URL, GUEST_LLM_API_KEY, GUEST_LLM_MODEL
- Default guest LLM: http://10.1.1.42:11434/v1 (Ollama) with llama3.2 model
2026-03-03 11:16:23 -06:00
jason.woltje b1baa70e00 fix(db): add missing MS21 user auth fields migration (#666)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-03 04:10:10 +00:00
jason.woltje 55340dc661 fix(infra): install pgvector + uuid-ossp extensions in mosaic-db-init (#665)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-03 03:55:25 +00:00
jason.woltje a8d426e3c0 infra: migrate postgres to shared openbrain_brain-db (#664)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-03 03:45:46 +00:00
jason.woltje 40e12214cf fix(test): make queue completion test more robust (#663)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-03 02:36:36 +00:00
jason.woltje 892ffd637f ci: fix deploy service names (#662)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-03 02:06:11 +00:00
jason.woltje 394a46bef2 ci: fix deploy - use docker service update (#661)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-03 01:23:01 +00:00
jason.woltje 29a78890c9 ci: use localadmin for deploy (#660)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-02 18:06:05 +00:00
jason.woltje 0c88010123 ci: add auto-deploy to Docker Swarm (#658)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-02 17:42:06 +00:00
jason.woltje 7f94ecdc7a fix: add missing orchestrator endpoints + fix AgentStatusWidget (#657)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-02 16:43:51 +00:00
jason.woltje 5b77774d91 fix(web): remove mock data from dashboard telemetry/tasks/calendar (#656)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-02 14:19:27 +00:00
jason.woltje a16371c6f9 fix(ci): use node:24-slim (glibc) instead of Alpine (musl) (#655)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-02 01:40:37 +00:00
jason.woltje 51d46b2e4a fix(ci): copy .npmrc before pnpm install in all Dockerfiles (#654)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-02 01:09:22 +00:00
jason.woltje 6582785ddd fix: matrix native binary + Dockerfile audit (#653)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-02 00:19:41 +00:00
jason.woltje ae0bebe2e0 ci: enable Kaniko layer caching (#652)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-02 00:08:15 +00:00
jason.woltje 173b429c62 fix(ci): Kaniko for base image build (#651)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 23:41:46 +00:00
jason.woltje 7d505e75f8 feat: custom node base image (#649)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 23:39:41 +00:00
jason.woltje cd1c52c506 ci: pnpm store cache (#648)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 23:26:51 +00:00
jason.woltje a00f1e1fd7 fix(api): activity interceptor tests (#647)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 23:15:16 +00:00
jason.woltje 9305cacd4a fix(web): kanban add-task tests (#645)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 23:03:21 +00:00
jason.woltje 0d5aa5c3ae feat: wire chat to backend (#644)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 22:54:48 +00:00
jason.woltje eb34eb8104 feat: compact usage widget in header (#643)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 22:53:31 +00:00
jason.woltje 5165a30fad feat: compact usage widget in header (#642)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 22:51:50 +00:00
jason.woltje 6eb91c9eba fix(api): security hardening — helmet + auth rate limiting (#641)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 22:43:10 +00:00
jason.woltje e7da4ca25e fix: attach domain to project (#640)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 22:33:49 +00:00
jason.woltje e1e265804a feat: inline add-task in Kanban (#638)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 22:33:07 +00:00
jason.woltje d361d00674 fix: Logs page — activity_logs, optional workspaceId, autoRefresh on (#637)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 22:10:16 +00:00
jason.woltje 78ff8f8e70 fix: GET workspace members endpoint (#635)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 21:53:51 +00:00
jason.woltje 2463b7b8ba test(glm47): workspace stats endpoint (#633)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 21:46:48 +00:00
jason.woltje 5b235a668f fix(web): CI lint failures from PR #632 (#634)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 21:41:29 +00:00
jason.woltje c5ab179071 fix: tag creation in File Manager (#632)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 21:29:33 +00:00
jason.woltje b4f4de6f7a fix(api): remove noisy CSRF guard debug log (#631)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 21:13:00 +00:00
jason.woltje 2b6bed2480 fix(api): value imports for DTO classes in controllers (#630)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 20:55:07 +00:00
jason.woltje eba33fc93d fix: add SYSTEM_ADMIN_IDS env var (#629)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 20:28:40 +00:00
jason.woltje c23c33b0c5 fix(api): use TRUSTED_ORIGINS for socket.io gateway CORS (#628)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 20:13:13 +00:00
jason.woltje c5253e9d62 feat(web): add project detail page (#627)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 20:09:52 +00:00
jason.woltje e898551814 fix(web): correct Add Provider form to match fleet-settings DTO (#626)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 20:00:50 +00:00
jason.woltje 3607554902 fix(api): MS22 Phase 1 post-coding audit (#625)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 19:53:49 +00:00
jason.woltje a25a77a43c fix(api): widget throttling and orchestrator endpoints (#624)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 19:22:20 +00:00
jason.woltje 861eff4686 fix(web): correct Add Provider form DTO field mapping (#623)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 19:19:04 +00:00
jason.woltje 99a4567e32 fix(api): skip CSRF for Bearer-authenticated API clients (#622)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 19:06:14 +00:00
jason.woltje 559c6b3831 fix(api): add AuthModule to FleetSettingsModule and ChatProxyModule (#621)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 18:06:49 +00:00
jason.woltje 631e5010b5 fix(api): add ConfigModule to ContainerLifecycleModule imports (#620)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 17:52:10 +00:00
jason.woltje 09e377ecd7 fix(deploy): add MOSAIC_SECRET_KEY + docker socket to api service (MS22) (#619)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 17:42:29 +00:00
jason.woltje deafcdc84b chore(orchestrator): MS22 Phase 1 complete — all 11 tasks done (#618)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 16:33:05 +00:00
jason.woltje 66d401461c feat(web): fleet settings UI (MS22-P1h) (#617)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 16:22:22 +00:00
jason.woltje 01ae164b61 feat(web): onboarding wizard (MS22-P1f) (#616)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 16:07:22 +00:00
jason.woltje 029c190c05 feat(api): chat proxy (MS22-P1i) (#615)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 15:59:00 +00:00
jason.woltje 477d0c8fdf feat(api): idle container reaper (MS22-P1k) (#614)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 15:50:34 +00:00
jason.woltje 03af39def9 feat(docker): core compose + entrypoint (MS22-P1j) (#613)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 15:50:33 +00:00
jason.woltje dc7e0c805c feat(api): onboarding API (MS22-P1e) (#612)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 15:43:43 +00:00
jason.woltje 2b010fadda feat(api): fleet settings API (MS22-P1g) (#611)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 15:37:04 +00:00
jason.woltje c25e753f35 feat(api): ContainerLifecycleService (MS22-P1d) (#610)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 15:24:42 +00:00
jason.woltje d3c8b8cadd feat(api): internal agent config endpoint (MS22-P1c) (#609)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 15:14:06 +00:00