Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

fix(next): retain evidenced rework promotion [N2,V1]

Corey Olson5af233eb39f9
diff --git a/src/board.js b/src/board.js
index d9860f87..2b2eb437 100644
--- a/src/board.js
+++ b/src/board.js
@@ -2011,7 +2011,7 @@ export function nextFor(board, { agentId, lane, verify = false, policy = 'any',
.map((entry, order) => ({ entry, order, shared: itemFiles(entry).filter((path) => recent.has(path)) }))
.sort((first, second) => compare(first.entry, second.entry));
// Move only evidenced reworks ahead of their own tier; with no evidence, normal order is exact.
- for (const route of lineOrderEnabled(board) || criticalPathEnabled(board) ? [] : ROUTES) {
+ for (const route of lineOrderEnabled(board) ? [] : ROUTES) {
const routeTier = ROUTES.indexOf(route);
const selected = mine.findIndex(({ entry }) => tier(entry) === routeTier && mainRed.has(entry.item_id));
const firstTierItem = mine.findIndex(({ entry }) => tier(entry) === routeTier);