Design a migration workflow: generate migrations, run on staging snapshots, verify invariants, measure runtime, and define rollback strategy. Require human approval for prod.
Design characterization tests for legacy code before refactoring: capture I/O behavior, edge cases, and performance baselines. Use them as a gate for changes.
Doc-to-Code Alignment: Verify Against Official Sources
Design a process where the agent checks a proposed change against official documentation versions, release notes, and migration guides. Require citations for claims.
Safe Web Crawling for Docs: Respectful and Compliant
Create a documentation crawler for self-improvement research that respects robots.txt, rate limits, and TOS. Include caching, dedupe, and citation storage.
Design an improvement loop keyed to SLOs: latency, error rates, and quality metrics. Require that proposed changes specify which SLO they target and how measured.
Create a backlog system: bugs, tech debt, performance, and security items. Include scoring by user impact, risk, and effort, and automatic issue creation via MCP.
Design a patch strategy that prefers minimal diffs: isolate behavior changes, avoid formatting churn, and include clear intent comments. Add a “diff size budget.”