What problem does it solve? Running a large legacy C/C++ translation campaign (porting a golden codebase to standard C++) requires disciplined wave planning: choosing which files to translate next, verifying builds, and knowing when to stop. Without a policy, agents stall, misquote completion percentages, or ship unlinked code that passes builds but is never called. ## Core Features & Use Cases - Wave Planning Policy: Selects translation targets from census output (largest gaps first), caps each wave at roughly 15k golden lines, and pre-pulls blocking units like cinitial.cpp and uHGemHT9045.cpp. - Two-Tier Acceptance Gates: Zero-behavior-change waves use preprocessed diff comparison plus a single -O3 compile; behavior-change waves require fresh Debug and Release builds with ctest failure-set comparison. - Autonomous Continuation Rules: Defines exactly when to keep going (default), which situations are pre-authorized (test recalibration, agent retry via resumeFromRunId), and the only three real stop conditions (safety-critical changes, form boundary, quota exhaustion). - Cold-Start Recovery: A fixed resume sequence using git log, git status, and the DEVLOG RESUME marker, plus dual ScheduleWakeup and cron heartbeat mechanisms for surviving quota interruptions. - Use Case: You invoke /pt-wave to run the next translation wave on the HT9045 V906 project; the skill runs the census, picks 1-7 units, dispatches append-only translation agents, integrates, gates, commits, logs to DEVLOG, and immediately starts the next wave. ## Quick Start Run the pt-wave-loop skill to plan and execute the next translation wave for the HT9045 V906 campaign starting from the census report.