feat(consilium): develop-scope chooser — ship P0s as one small MR per round - #580
Merged
Conversation
… round
A develop round implemented EVERY verdict action point in one branch,
producing a single huge MR (5-10 heavyweight tasks) that no human can
review. The loop is round-based by design — use that: let the operator
scope a round to the P0s, merge a small MR, and let the next review
round re-derive and carry the remainder.
- controller.develop(loopId, {scope?: 'p0'|'all'}) filters the verdict's
action points to the P0 slice on 'p0'; absent/'all' is byte-identical.
- route: optional body.scope validated ('p0'|'all' else 400); absent
scope keeps the historical single-arg controller call.
- UI: 'Hand off to SDLC' opens a scope chooser when the verdict has both
P0s and non-P0s — 'Only P0s (n) — small MR' vs 'All action points (m)';
no meaningful choice ⇒ direct hand-off as before.
develop-route/fsm/autoplan: 166 passed (2 new). tsc + vite build clean.
100rd
added a commit
that referenced
this pull request
Jul 29, 2026
…e: top) (#581) 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. Co-authored-by: Igor Gerasimov <gerasimowigor@gmail.com>
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.
Проблема
Develop-раунд реализует все action-points вердикта в одну ветку → один огромный MR (5–10 тяжёлых задач), который невозможно ревьюить.
Решение — использовать раундовую природу лупа
controller.develop(loopId, {scope: "p0"|"all"}): «p0» режет вердикт до P0-задач; absent/«all» — байт-в-байт прежнее поведение.body.scopeс валидацией (иначе 400).Тесты
166 passed (2 новых: passthrough scope, 400 на мусорный scope). tsc + vite build чистые.