Commit Graph

1310 Commits

Author SHA1 Message Date
428112b702 docs(ecosystem): track phase3 audited artifact flow 2026-04-03 19:49:06 -07:00
e6b58b7187 feat(events): add phase3 trail report contracts 2026-04-03 19:47:54 -07:00
27c4879668 docs(ecosystem): reconcile rebased phase hashes 2026-04-03 19:35:43 -07:00
f65f41c157 docs(ecosystem): track phase2 plan routine habit flow 2026-04-03 19:35:11 -07:00
78918fbd90 feat(events): add phase2 plan routine habit contracts 2026-04-03 19:34:37 -07:00
dd3636d867 docs(ecosystem): close phase1 with walkthrough evidence 2026-04-03 19:34:37 -07:00
saravanakumardb1
c3942e4998 docs(ecosystem): mark NoteLett phase1 verification as done (Windsurf 623d02c)
- STATUS.md: not-started → verified, 22 files / 106 tests passing
- ECOSYSTEM_IMPLEMENTATION_TRACKER.md: add Windsurf verification note
- PHASE1_TRANSCRIPT_NOTE_MEMORY_EXECUTION_PLAN.md: mark learning_ai_notes verification checkboxes done
2026-04-03 19:17:39 -07:00
094f64c47d docs(ecosystem): refactor delegation to two-way model 2026-04-03 18:48:54 -07:00
07189b0f86 docs(ecosystem): add two-way delegation refactor plan 2026-04-03 18:44:56 -07:00
333c63738a docs(ecosystem): add delegation feedback logs 2026-04-03 18:38:50 -07:00
4cc6899c29 docs(ecosystem): clarify delegated verification rules 2026-04-03 18:36:01 -07:00
5f44d19fd3 docs(ecosystem): add phase1 closeout checklist 2026-04-03 18:18:53 -07:00
75960d9acb docs(ecosystem): record MindLyst Phase 1 web verification (49796b1)
Update tracker and execution plan with test:phase1 command, npm env
requirements, and Vitest pass evidence for note-to-memory path.

Made-with: Cursor
2026-04-03 18:13:41 -07:00
8cb7043424 docs(ecosystem): group delegation tasks by participant 2026-04-03 18:08:24 -07:00
f3b3ae30fb docs(ecosystem): add delegation task pack 2026-04-03 18:05:13 -07:00
765568fd44 docs(ecosystem): add agent operating model 2026-04-03 17:53:21 -07:00
14802d25e4 docs(ecosystem): track phase1 lineage hardening 2026-04-03 17:42:26 -07:00
cdbdd48a35 docs(devops): add canonical endpoint inventory 2026-04-03 17:29:46 -07:00
477891fb4a docs(deploy): clarify vm vs vercel hosting split 2026-04-03 17:23:18 -07:00
705f58c5c5 chore(deploy): remove railway deployment artifacts 2026-04-03 17:05:15 -07:00
5048bd7e65 docs(ecosystem): track phase1 repo execution 2026-04-03 16:40:29 -07:00
dd3d622e24 docs(ecosystem): track phase1 contract baseline 2026-04-03 16:30:32 -07:00
76f1b47484 feat(events): add phase1 ecosystem contracts 2026-04-03 16:29:30 -07:00
3d59e7bbed docs: add phase 1 ecosystem execution plan 2026-04-03 16:21:04 -07:00
c97e693a7d docs: reconcile ecosystem commit tracking 2026-04-03 16:12:02 -07:00
7a86a767b1 docs: complete core ecosystem planning set 2026-04-03 16:03:48 -07:00
41fa2cd767 docs: add detailed ecosystem implementation docs 2026-04-03 15:54:08 -07:00
577c3fa243 docs: add ecosystem implementation tracking 2026-04-03 15:45:57 -07:00
eae3409db5 docs: add core ecosystem spec stubs 2026-04-03 15:41:59 -07:00
5f4134e734 docs: create canonical ecosystem docs home 2026-04-03 15:25:00 -07:00
3e572b68d1 docs: strengthen ecosystem cross-pollination strategy 2026-04-03 15:01:49 -07:00
341cde75af docs: add execution matrix to ecosystem map 2026-04-03 14:27:24 -07:00
d28e9d079a docs: add ecosystem cross-pollination map 2026-04-03 14:26:17 -07:00
6936c007c7 fix(cowork-service): preserve budget policy auth errors 2026-04-03 14:09:52 -07:00
6c2e9a67ca test(cowork-service): skip integration suite without credentials 2026-04-03 13:58:28 -07:00
5c08832a3e feat(cowork-service): H.9 push notification stubs 2026-04-03 13:55:10 -07:00
2f8fe13c43 test(cowork-service): ecosystem integration tests (H.1-H.12) 2026-04-03 13:53:29 -07:00
a7468eaa3f feat(cowork-service): add budget policy proxy routes 2026-04-03 13:48:52 -07:00
be2f29d1b8 feat(cowork-service): add deferred IPC modules 2026-04-03 13:44:13 -07:00
saravanakumardb1
892c41be74 chore: track .windsurf/workflows/repos.txt changes 2026-04-03 10:44:47 -07:00
saravanakumardb1
ff97a372ac fix(workflows): convert hardcoded repo lists to read from repos.txt
audit-repo-health.md:
- All 9 steps now read from repos.txt dynamically
- Repos without relevant files (package.json, .dockerignore, etc.) are skipped
- No more manual maintenance when repos are added/removed

verify-all-backends.md:
- Remove duplicate learning_ai_notes entry
- Add learning_ai_efforise backend
- Add learning_ai_efforise client + learning_ai_local_llms dashboard to web checks

gitea-ci.md:
- Steps 3+4 read from repos.txt, skip repos without gitea remote
- Handle oss/ subdirectory repos via basename for Gitea API
2026-04-03 10:33:48 -07:00
saravanakumardb1
2d70eeeeb0 fix(cowork-service): audit fixes — JWT auth forwarding + temperature:0 falsy bug
Marketplace proxy:
- Forward Authorization header to platform-service for consumer/author
  routes that call requireAuth() — without this, all authenticated
  marketplace endpoints would 401
- Add 2 tests: auth header forwarding + omission when absent
  (100 tests, was 98)

IPC intercept_llm handler:
- Replace || with ?? for temperature and max_tokens — temperature:0
  is a valid value (deterministic) but || treated it as falsy, passing
  undefined to the LLM router instead
2026-04-03 01:32:34 -07:00
saravanakumardb1
bba26f2d5f feat(cowork-service): H.12 marketplace proxy — migrate TO platform marketplace
Add marketplace module that proxies all requests to platform-service's
marketplace module. Replaces the local plugin marketplace (Phase 10)
with the shared ByteLyst platform marketplace.

Endpoints proxied (18 routes):
  Public: browse catalog, listing detail, reviews, featured, categories
  Consumer: install/uninstall, my installs, add review, vote toggle
  Author: create/update/delete listings, my listings, submit, publish

Changes:
- modules/marketplace/types.ts: Zod schemas for query validation
- modules/marketplace/routes.ts: 18 proxy routes with proxyGet/proxyMutate
  helpers, productId injection, x-request-id forwarding
- modules/marketplace/routes.test.ts: 13 tests (public, consumer, author,
  error handling, 502 fallback, query validation)
- server.ts: Register marketplaceRoutes (8th module), fix costUsd type cast
- server.test.ts: Add marketplace mock, update register count 7→8

Test count: 98 (was 85)
2026-04-03 01:26:30 -07:00
saravanakumardb1
d838cd658b feat(cowork-service): IPC LLM interception — Rust runtime delegates LLM calls to multi-provider router
Add reverse-IPC protocol support: Rust runtime can send intercept_llm
requests to cowork-service, which routes them through @bytelyst/llm-router.

Changes:
- ipc-bridge.ts: handleLine now detects incoming requests (has 'method' field)
  vs normal responses. New handleIncoming() + sendResponse() for reverse IPC.
  New onIncomingRequest() to register the handler.
- server.ts: Wires intercept_llm handler — validates messages, calls
  getLlmRouter().chat(), records spend for budget tracking, logs provider/model.
- ipc-bridge.test.ts: 5 new tests for reverse IPC (handler registration,
  routing, error handling, request vs response disambiguation).
- server.test.ts: Updated IPC bridge mock with onIncomingRequest.

Test count: 85 (was 80)
2026-04-03 01:11:34 -07:00
saravanakumardb1
a9d4c63e03 fix(cowork-service): audit proxy missing taskId and tool query param forwarding
AuditQuerySchema now accepts taskId and tool optional fields.
Route forwards them as query params to platform-service GET /audit.
Previously these filters sent by the frontend were silently stripped.
2026-04-03 01:05:56 -07:00
saravanakumardb1
8e12409938 test(cowork-service): integration tests for proxy routes — 80 tests passing
Add test files for all 4 new proxy route modules:
- audit/routes.test.ts (5 tests): query, stats, 502 fallback, non-ok forward
- usage/routes.test.ts (5 tests): summary, check-limits, 502 fallback, non-ok forward
- notifications/routes.test.ts (8 tests): prefs get/put, webhooks CRUD, 502 fallback
- extraction/routes.test.ts (5 tests): extract, models, 502 fallback, non-ok forward

All tests use mocked fetch to verify proxy behavior without real services.
80 tests passing (13 test files), typecheck clean.
2026-04-03 00:13:13 -07:00
saravanakumardb1
62997bb1db feat(cowork-service): H.10 extraction proxy routes + EXTRACTION_SERVICE_URL config
Add extraction proxy routes to cowork-service for hybrid document processing:
- POST /api/extract — proxy to extraction-service POST /extract
- GET /api/extract/models — list available extraction models
- modules/extraction/routes.ts — proxy routes with error handling
- lib/config.ts — add EXTRACTION_SERVICE_URL (default: http://localhost:4005)
- server.ts — register extractionRoutes (7 route modules total)
- server.test.ts — add extraction routes mock, update register count to 7

Hybrid approach: Rust skills server handles local doc processing (PDF/xlsx/docx/pptx)
inside Docker sandbox, extraction-service provides AI-powered entity extraction.

57 tests passing, 9 test files, typecheck clean
2026-04-03 00:04:11 -07:00
saravanakumardb1
88cc18549c feat(cowork-service): H.9 notification + webhook proxy routes
Add notification and webhook management routes to cowork-service:
- GET /api/notifications/prefs — get user notification preferences
- PUT /api/notifications/prefs — update user notification preferences
- GET /api/webhooks — list webhook subscriptions
- POST /api/webhooks — create webhook subscription
- DELETE /api/webhooks/:id — delete webhook subscription
- modules/notifications/routes.ts — proxy routes with error handling
- server.ts — register notificationRoutes (6 route modules total)
- server.test.ts — add notification routes mock, update register count to 6

57 tests passing, 9 test files, typecheck clean
2026-04-03 00:00:14 -07:00
saravanakumardb1
cd5483c95b feat(cowork-service): H.6 usage/budget proxy routes
Add usage query routes to cowork-service that proxy to platform-service:
- GET /api/usage/summary — user's aggregated usage with days filter
- POST /api/usage/check-limits — check if user is within plan limits
- modules/usage/types.ts — UsageSummaryQuerySchema, CheckLimitsSchema (Zod)
- modules/usage/routes.ts — proxy routes with error handling
- server.ts — register usageRoutes (5 route modules total)
- server.test.ts — add usage routes mock, update register count to 5

57 tests passing, 9 test files, typecheck clean
2026-04-02 23:58:14 -07:00
saravanakumardb1
dc27ee9f21 feat(cowork-service): H.5 audit proxy routes — dual-source audit queries
Add audit query routes to cowork-service that proxy to platform-service:
- GET /api/audit — query audit logs with action/category/days/limit/offset filters
- GET /api/audit/stats — aggregated audit stats
- modules/audit/types.ts — AuditQuerySchema (Zod)
- modules/audit/routes.ts — proxy routes with error handling
- server.ts — register auditRoutes
- server.test.ts — add audit routes mock, update register count to 4

57 tests passing, 9 test files, typecheck clean
2026-04-02 23:54:42 -07:00