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(core): require green controls for culprit attribution [B3,V4]

Corey Olsond9e88b1c382f
diff --git a/src/land.js b/src/land.js
index 797c3249..2fd7eeda 100644
--- a/src/land.js
+++ b/src/land.js
@@ -615,7 +615,8 @@ async function parallelLanding(state, initialItems) {
const flakyFiles = await diagnose(state, gate.failures, gate);
if (flakyFiles.length) { await fileFlakes(state, gate, flakyFiles); state.flaky = true; return; }
const culprit = remaining[green + 1];
- const greenBase = green >= 0 ? completeGate(results[green].gate) : parallelGreenBase(state, gate);
+ const greenBase = green >= 0 && results[green].gate.isGreen && completeGate(results[green].gate)
+ || parallelGreenBase(state, gate);
if (!greenBase) { await fileTestDefects(state, gate); state.flaky = true; return; }
// A red A+B with green A can still be an interaction: B alone must reproduce those failures.
// This is a distinct composition, not a retry of A+B or any other already tested tree.