feat(consilium): ADR-005 Phase 1 — tier-per-round develop scope (scope: top) - #581
Merged
Conversation
…e: top) The PDO-819 develop round shipped all 6 action points in one ~100-file MR the operator closed as unreviewable. The binary p0/all chooser (#580) dead-ends after the P0 merge: the next verdict starts at P1 and the p0 scope filters to empty. - filterDevScope (pure, exported, unit-tested): scope 'top' keeps only the HIGHEST priority tier still present (P0→P1→P2→P3→unprioritized) — each round ships one small MR and the next round's verdict naturally carries the following tier, all the way to convergence. - develop()/route/hook accept 'top'; the UI chooser offers 'Only <tier> (n) — small MR' with the tier resolved dynamically. - ADR-005 records the full mechanism: Phase 2 (stacked MRs in one round, bottom-up merge) and Phase 3 (repo-map size-aware grouping) as proposed follow-ups. loop-fsm + develop-route: 161 passed (4 new). tsc + vite build clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Задача (ADR-005)
Большой вердикт (P0+P1+P2+…) должен разбиваться на несколько маленьких MR, а не в один на ~100 файлов (анти-пример: PDO-819 MR !386, закрыт как неревьюабельный). Бинарный p0/all (#580) тупиковый: после мержа P0 «p0»-скоуп пустой.
Phase 1 — tier-за-tier (этот PR)
filterDevScope(чистая, экспортированная, юнит-тесты):scope: "top"оставляет только старший оставшийся приоритет-tier (P0→P1→P2→P3→unprioritized). Каждый раунд — один маленький MR; следующий review-раунд сам несёт следующий tier, до сходимости.docs/adr/ADR-005-mr-splitting.md: полный механизм — Phase 2 (stacked MRs одним раундом, мердж снизу вверх) и Phase 3 (size-aware группировка по blast-radius из repo-map) как follow-ups.Тесты
161 passed (4 новых: top-фильтр ×3, route passthrough). tsc + vite build чистые.