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.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
feat(board): next names open work above your tier [B16]
Corey Olsonc82fc16df3e2
diff --git a/src/board.js b/src/board.jsindex adacd5cc..990b6e8f 100644--- a/src/board.js+++ b/src/board.js@@ -1011,7 +1011,14 @@ export function nextFor(board, { agentId, lane, verify = false, runnable = falseif (!waiting.length) return { item: entry, reasons: [], shared };reasons.push(`#${entry.item_id} waits on ${waiting.map(waitingOn).join(', ')}`);}- if (!mine.length) reasons.push(idleReason(items, lane, routed));+ if (!mine.length) {+ // Work the agent's tier cannot take is not "nothing": name it and the way to unblock it (B16).+ const above = listItems(board).filter((entry) => entry.item_status === 'open' && entry.item_lane === lane && !canTake(route, entry.item_route));+ for (const entry of above) {+ reasons.push(`#${entry.item_id} (${entry.item_route}) is open in the ${lane} lane, above the ${route} route you joined on: the coordinator reroutes it with pullboard edit ${entry.item_id} --route ${route}, or a stronger agent takes it`);+ }+ if (!above.length) reasons.push(idleReason(items, lane, routed));+ }return { item: null, reasons };}diff --git a/test/board.test.js b/test/board.test.jsindex 724afcfe..7eb6f3db 100644--- a/test/board.test.js+++ b/test/board.test.js@@ -416,3 +416,12 @@ test('peeking shows the newest unread shouts and leaves them unread [N19]', () =store.inbox(board, 'web-1');assert.deepEqual(store.peekShouts(board, 'web-1'), []);});++test('with only work above its tier open in its lane, next names it and the reroute [B16]', () => {+ const light = store.register(board, { lane: 'web', path: '/repo-web-3', route: 'light' });+ const strong = store.addItem(board, { by: 'coordinator', lane: 'web', title: 'Design the cache' });+ assert.deepEqual(store.nextFor(board, { agentId: light, lane: 'web' }).reasons, [+ `#${strong} (strong) is open in the web lane, above the light route you joined on: the coordinator reroutes it with pullboard edit ${strong} --route light, or a stronger agent takes it`,+ ]);+ assert.deepEqual(store.nextFor(board, { agentId: 'api-1', lane: 'api' }).reasons, ['no open items in the api lane']);+});