internal/docs/CONTINUOUS_IMPROVEMENT.md
Go Micro is an agent harness. This file defines the autonomous loop that builds it — the framework's own thesis (an agent operating a system) pointed at itself. Claude Code drives the loop; Codex executes scoped tasks; the human sets direction and can stop or revert anything at any time.
North Star. Every increment must advance the thesis in
THESIS.md: a holistic agent harness and service framework encapsulating the lifecycle of services → agents → workflows. Judge each change against it — work that doesn't move toward that lifecycle isn't an improvement, however clean.
Full autonomy, no approval gates. Each increment: Claude Code picks the work,
implements it (or dispatches Codex), opens a PR, and merges it — including
reviewing and merging Codex's PRs. The only gate is correctness: go build,
go test, and golangci-lint must be green (that's not an approval, it's not
shipping broken code).
Transparency replaces approval: every increment ends with a one-line digest, and every change is a small, reversible, single-concern PR the human can revert.
Grounded in real signal, never speculative rewrites. Each cycle draws from:
ROADMAP.md (harness depth: durable runs,
observability, streaming, human-in-the-loop; hardening: resilience, conformance).micro new → run → chat,
an agent + a flow) and fix what hurts. Friction found here is high-signal.master.@codex <instruction> on the issue) if it's
a well-scoped chunk and Codex is free. Codex is serial — one task at a time.build/test/lint locally.@codex.claude/* branches (Codex on codex/*); never two agents on one branch;
base PRs on master (don't stack on an in-flight branch). See CODEX.md.CronCreate) — runs increments while this Claude session is
alive. Convenient, but the remote environment is reclaimed on inactivity and
recurring jobs expire after 7 days, so it is not a durable scheduler.ANTHROPIC_API_KEY repo secret. See .github/workflows/continuous-improvement.yml.CronDelete <id> (or end the session).