fix(workflow): add FlowMonk to agent-doc generator

This commit is contained in:
saravanakumardb1 2026-03-10 23:35:29 -07:00
parent ad2891040d
commit 9a00fbd86a

View File

@ -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
}