From 9a00fbd86a64f03e439e1b4dffb520c45a2ea933 Mon Sep 17 00:00:00 2001 From: saravanakumardb1 Date: Tue, 10 Mar 2026 23:35:29 -0700 Subject: [PATCH] fix(workflow): add FlowMonk to agent-doc generator --- scripts/update-agent-docs.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/scripts/update-agent-docs.sh b/scripts/update-agent-docs.sh index 9ccc53d7..9d16fdb2 100755 --- a/scripts/update-agent-docs.sh +++ b/scripts/update-agent-docs.sh @@ -120,6 +120,17 @@ set_meta() { LINT3="cd backend && npm run build 2>&1 | tail -10" AIDER_READ2="docs/ROADMAP.md" ;; + learning_ai_flowmonk) + NAME="FlowMonk" + ID="flowmonk" + TAGLINE="Agent-first planning and execution platform" + STACK="Next.js 16 (web) + React Native/Expo (mobile) + Fastify 5 (backend)" + BUILD_VFY="cd backend && npm run typecheck && npm run build && cd ../web && npm run typecheck && npm run build && cd ../mobile && npm run typecheck" + LINT1="cd backend && npm run typecheck 2>&1 | tail -10" + LINT2="cd web && npm run typecheck 2>&1 | tail -10" + LINT3="cd mobile && npm run typecheck 2>&1 | tail -10" + AIDER_READ2="docs/ROADMAP.md" + ;; *) warn "Unknown repo: $1 — skipping" return 1 @@ -200,6 +211,13 @@ repo_rules() { echo "- Every Cosmos document MUST include productId: \"bytelyst-notes\"" echo "- Keep docs aligned with implementation as the repo evolves from scaffold to product" ;; + learning_ai_flowmonk) + echo "- Backend is authoritative for ALL planning logic — clients never implement scheduling rules" + echo "- Backend modules follow types.ts → repository.ts → routes.ts" + echo "- Web engine logic in web/src/lib/ — pure TS, no React imports" + echo "- Mobile engine logic in mobile/src/lib/ — pure TS, no React Native imports" + echo "- Every Cosmos document MUST include productId: \"flowmonk\"" + ;; esac } @@ -265,6 +283,13 @@ repo_paths() { echo "- backend/src/modules/ — notes, workspaces, note-relationships, note-tasks" echo "- backend/src/lib/ — shared backend wiring and utilities" ;; + learning_ai_flowmonk) + echo "- backend/ — Fastify 5 + TypeScript ESM backend (port 4017)" + echo "- web/src/lib/ — Pure TS engine modules" + echo "- web/src/app/ — Next.js App Router pages" + echo "- mobile/src/lib/ — Pure TS engine modules" + echo "- mobile/src/app/ — Expo Router screens" + ;; esac }