Execute CodeRabbit major re-architecture and migration strategies with strangler fig pattern. Use when migrating to or from CodeRabbit, performing major version upgrades, or re-platforming existing...
Preserve every existing control until its replacement is proven. Translate outcomes and ownership instead of assuming one-to-one fields.
references/official-docs.md and re-check any time-sensitive contract before execution.Treat Git-provider sessions, CodeRabbit web sessions, CLI credentials, and CodeRabbit API keys as separate credentials. Use only an already-approved session or secret-manager reference, never print a secret, and do not place credentials in .coderabbit.yaml, source files, logs, or deliverables.
Inventory current tools, rules, checks, data controls, costs, metrics, and owners.
Map each control to supported capability, retained control, or gap.
Run coexistence in a representative pilot.
Approve cohorts only when coverage and rollback evidence pass.
Require security, repository, and business owners before replacing a required control. Keep analysis and drafts local until approval is explicit, and record who approved the action and its scope.
A control inventory, capability map, gaps, pilot comparison, cohorts, and decommission approvals. Include source dates, unknowns, and the exact boundary between observed fact and recommendation.
| Condition | Response |
|---|---|
| Current contract is unclear or docs disagree | Stop mutation, cite both sources, and request owner resolution. |
| Required access or approval is missing | Produce a draft and evidence plan only. |
| Validation or pilot behavior differs from expectation | Restore the prior state and retain the failed evidence. |
| Output contains secrets or private code | Stop, quarantine the artifact, redact it, and notify the data owner. |
Migrate from manual review while retaining two-person approval.
Replace a bot only after equivalent coverage is proven.
references/official-docs.md.