Section 01
retention.sh: An Always-On Workflow Referee System for AI Coding Agents (Introduction)
retention.sh is a quality assurance system designed for AI coding agents, aiming to solve the problem of AI agents' "confident mistakes" (such as skipping tests or missing steps). It captures missing steps and verifies execution quality through four always-on hooks (session recovery, workflow detection, tool tracking, completion interception), and supports workflow replay to reduce costs by 60-70%. Its core positioning is an "always-on workflow referee" that provides hard rulings (PASS/FAIL/BLOCKED) rather than being a simple logging tool.