Autonomous Claude Code Loop Runs Open-Source GymCoach 24/7 — Triages, Codes, Merges

A developer posted a bold experiment on r/ClaudeAI: letting Claude Code autonomously run an open-source app 24/7. The app, GymCoach, is a self-hosted hypertrophy training tracker with an AI coach. The loop triages the codebase, files issues, implements them end-to-end on branches, passes a hard green-gate, self-reviews, auto-merges on CI green, and writes changelogs.
GymCoach Stack
- Next.js 14 + TypeScript
- Prisma + PostgreSQL
- Docker deployment
- Provider-agnostic LLM layer (Anthropic / OpenRouter / keyless demo mode)
- Zod-validated program suggestions from AI coach
Autonomous Loop Details
The Claude Code loop autonomously performs these steps:
- Triage codebase for TOdos, coverage gaps, small bugs, roadmap items → file scoped GitHub issues
- Implement an issue end-to-end on its own branch, following repo conventions
- Pass hard green-gate:
lint + typecheck + unit + buildlocally, integration/E2E in CI - Ship PR, wait for CI, self-review diff, auto-merge on green
- Write changelog and public playbook of what shipped
The developer keeps adding new loops, including a deep-research loop that scouts features, benchmarks competitors, and mines public reviews to create issues for the build loop.
AI Coach Payload
The coach builds a compact, structured payload from user profile, recent sessions, active program, and per-exercise progression. It suggests program changes that are Zod-validated before touching data. The LLM layer is provider-agnostic: Anthropic, OpenRouter, or a keyless demo mode.
Open Question
The developer asks: “Does the loop grind toward becoming the most advanced open-source fitness-tracking repo? Or does it quietly pivot on its own?” The repo is public at github.com/Julien-Au/gymcoach.
📖 Read the full source: r/ClaudeAI
👀 See Also

Senior Developer's Claude Max Learning Curve: From Vague Prompts to Structured Code Reviews
A developer with 8 years experience in Node.js, Go, Angular, and AWS shares how they initially used Claude Max incorrectly by treating it like a senior engineer with project context, then improved results by implementing structured review processes similar to mentoring junior developers.

Claude AI Agents Build Simulator, Optimize Game Algorithm to Beat Human Score
A developer tested Claude AI agents on the programming game The Farmer Was Replaced by having them build a Python simulator of the game, then iteratively develop a sunflower harvesting algorithm. The AI achieved a time of 5:21, beating the developer's personal best and reaching rank 30 on the global leaderboard.

How a Solo 3D Animator Built a Persistent AI Biz Dev Assistant with Claude Cowork Plugins
A one-person 3D animation studio built a persistent AI biz dev assistant (Reid) using Claude Cowork plugins — handling prospect research, follow-up tracking, pitch prep, and strategy. Key design: role with a strategic, blunt persona that shapes all output.

OpenClaw and Remotion Pipeline for Automated Video Editing
A developer describes an agent-driven workflow using OpenClaw for orchestration and Remotion for rendering to automatically create 20 Reels from 400+ clips, with filtering, JSON-defined montages, and batch processing.