Repository navigation
feat(review): rate migrations by the door test and their run cost as impact - #16018
Conversation
…impact The shared door definition rates a migration by whether undoing it stays a code-only revert: rewriting, deleting or narrowing is one-way; an additive migration the previous code still runs against is two-way, and removing the added structure is a separate change; turning a feature off after users wrote data through it is one-way. What a migration costs to run (locks, rewrites, backfills) moves to merge-risk's Impact area as a HIGH floor. Co-authored-by: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Lane run report
Failed GitHub API calls
|
|
claude-security-review reviewed Security review: no findingsNo security issues found. The pull request changes only Markdown, in six files:
No changed file matches a trusted-path glob. No workflow, action, hook, manifest, script, token, secret or trusted-actor surface is touched. The only copy sits at a plain reference path, so it does nothing different there. Instruction-surface lens. This diff narrows a standing definition: it drops "a migration applied" from the one-way-door examples. So the skip gate did not apply, and I checked the change against the Gate 0 classes adopted by The door definition is rating vocabulary that
The skill does not list the merge-risk rubric as a merge-hold control. Even so, the net effect on ratings is tighter or neutral for every migration that can damage data, so I found no path that weakens a hold. PR context. It holds no embedded instructions aimed at the review. Spend. None. critical-findings: 0 |
|
claude-review reviewed Code review: no findingsI found nothing to report in this pull request. It changes documentation and rubric text only, with no executable code. Changes reviewed:
Not verified: I did not run the author's checks: the Closing issue: none. The PR body says the change comes from an owner decision, so there were no acceptance criteria to check. Verifier dropped 0 of 0 candidates. |
No related issue: owner decision in a design review of our review, PR-body and retro skills
Summary
The shared door definition called every applied migration a one-way door, so
/review:merge-riskrated even an additive, backward-compatible migrationHIGHunder Reversibility. This PR rates a migration by the definition's own test (can undoing it stay a code-only revert?) and moves what a migration costs to run into the Impact area, where it belongs.Fix
lib/one-way-doors.md(and its generated planning and review copies): a migration that rewrites, deletes or narrows existing data or structure is one-way; an additive one is two-way while the previous code still runs against the new schema, and removing the added structure later is a separate change rated on its own; turning a feature off after users wrote data through it is one-way; the cost of running a migration is not a door question. "When the evidence cannot settle the call, treat it as a one-way door" stays.plugins/review/skills/merge-risk/reference/rubric.md: Impact gains aHIGHfloor for a migration whose run can lock, rewrite or backfill a large or busy table. Basis forHIGH: a non-concurrent index build on a large table takes a lock on the whole table (Railway incident report, 2025-10-28).Verification
scripts/sync-shared-copies.sh --check: all 836 registered copies match;--check-bump origin/main: every carrying plugin has a fragment.node --test plugins/review/tests/merge-risk.test.mjs: 5 of 5 pass (rubric still holds its five areas; the skill still points at the rubric).merge-risk/SKILL.md:47,rubric.md:48,planning/skills/design/reference/reversibility.md:31point at the file and restate none of it. The explain-change eval that expects a dropped column ratedHIGHstill holds (dropping is narrowing).Related
🤖 Generated with Claude Code