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

OpenClaw User Switches to RunLobster for Managed Infrastructure
A developer spent 4 months troubleshooting OpenClaw issues including agent stalling, config breaks, and unpredictable API costs before switching to RunLobster. The same models and framework worked reliably with multi-step task completion and faster integrations.

Building a Linux Distro with Claude AI: A Developer's Practical Breakdown
A developer with 23 years in tech built NubiferOS, a security-hardened Linux distro, using Claude AI as the entire development team. The project involved 10-15 simultaneous Claude sessions, generated ~39,300 lines of code and ~57,500 lines of documentation, with zero human-written code.

Claude Projects vs Claude Code: Read/Write Gap Frustrates Second Brain Users
A user maintaining a markdown-based 'second brain' details friction between Claude Chat's voice-friendly Projects and Claude Code's file editing capabilities, proposing MCP as a workaround.

AI-Run Store Uses CLI for Shopping Experience
Ultrathink built a store operated entirely by AI agents with no human involvement in design, fulfillment, or marketing. The shopping experience is terminal-first, allowing users to browse, add-to-cart, and checkout via CLI commands.