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

Evaluating Multilingual Guardrails with any-guardrail in Humanitarian AI
Mozilla's any-guardrail tool evaluates multilingual guardrails in humanitarian LLMs, focusing on task and domain specificity.

OpenClaw user shifts from complex agent setups to practical automation, saves 8-10 hours weekly
A developer running OpenClaw for a month abandoned elaborate multi-agent systems and focused on automating website management through GitHub. The setup now produces 30 posts in 4 weeks, reducing weekly work from 8-10 hours to about 20 minutes daily for review.

VibecodedHub: A Discovery Platform Built Entirely with Claude Code
A developer built VibecodedHub, a discovery and launch platform for AI-built projects, using Claude Code as the primary engineer across multiple focused sessions. The platform includes landing page, authentication, feed, project submissions, Stripe integrations, admin panel, SEO, and OG images.

OpenClaw as a Process Replication Engine: Multi-Agent Workflows for Automated Development
A developer found OpenClaw more effective as a 'process replication engine' than a personal assistant, building multi-agent workflows that automate complex development pipelines from idea to deployment for around $80/month.