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(grants): a cross-lane verdict is review, not an item change [E21,V2]

Corey Olson3f59bc8e600b
diff --git a/src/agent-grant.js b/src/agent-grant.js
index e6b6fd0c..3a0ff323 100644
--- a/src/agent-grant.js
+++ b/src/agent-grant.js
@@ -60,8 +60,9 @@ export function requireAgentGrant(board, move, at = board.clock.now()) {
const item = existingItem(board, scope.item);
if (!scope.creating && !item) return; // Preserve the operation's own malformed/missing-item refusal.
const now = at.toISOString();
- if (item?.item_review_by === actor && item.item_status === 'submitted' && item.item_review_until > now
- && move.operation === 'verify') return;
+ // A verdict is review, not an item change: verify's own rules (reservations, builder and session
+ // independence) govern reviewers, who check other lanes' work by design.
+ if (move.operation === 'verify') return;
const claims = board.db.prepare("SELECT item_id,item_lease_until FROM item WHERE item_owner=? AND item_status='claimed'").all(actor);
const own = claims.find(claim => claim.item_id === item?.item_id);
const live = claims.filter(claim => claim.item_lease_until > now);