Skip to content
Source
Sign inSign up
TanStack/schemas

Move the PostHog monitor loop and prod deploy onto Source (agent workflow + deploy workflow) #100003

Send to my agent
Closedtombeckenham opened this issue 1 comment
tombeckenhamcommented

Replace the local 15-minute Claude Code loop with Source features:

  • .source/agent-workflows/monitor.ts: scheduled agent workflow. check reads PostHog (MCP connection posthog) for recurring ingest failures not already covered by an open issue/PR; fix runs once per new failure and opens a fix PR with the evidence (workflow jobs cannot create issues, so the PR is the record).
  • .source/workflows/deploy.ts: deploy on push to main, production environment, CLOUDFLARE_API_TOKEN held by the forge. Replaces the dead Workers Builds connection.
  • Review + merge: factory review agent and autoMerge. Admin-only setup (branch rule, secrets, variables, MCP connection, model key, factory settings) listed in the PR.
  1. tombeckenham linked this to #686

  2. Fixed by #686, merged as b3d6ebb. Closed by hand: the merge came through the GitHub sync and did not close it.

  3. tombeckenham closed this

Sign in to join this conversation.