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
fix(rigor): retain valid counted proof exits [D1,D3]
Corey Olson1c2c58fdbb59
diff --git a/src/rigor-source.js b/src/rigor-source.jsindex 03995794..9e496f59 100644--- a/src/rigor-source.js+++ b/src/rigor-source.js@@ -23,10 +23,11 @@ export function readRigorSource(source) {|| !Array.isArray(item.commits) || item.commits.some(value => !commit(value)))|| typeof data.proof?.check !== 'string' || !data.proof.check.trim()|| !commit(data.proof.red?.commit) || !commit(data.proof.green?.commit)- || !Number.isInteger(data.proof.red.exit) || data.proof.green.exit !== 0) return null;+ || !Number.isInteger(data.proof.red.exit) || !Number.isInteger(data.proof.green.exit)) return null;const work = data.key.startsWith('doctrine:') || data.key.startsWith('refusal:');- if (work ? ![0, 1].includes(data.proof.red.exit) || !(data.proof.red.problems > 0) || data.proof.green.problems !== 0- : data.proof.red.exit === 0) return null;+ if (work ? ![0, 1].includes(data.proof.red.exit) || ![0, 1].includes(data.proof.green.exit)+ || !(data.proof.red.problems > 0) || data.proof.green.problems !== 0+ : data.proof.red.exit === 0 || data.proof.green.exit !== 0) return null;return data;} catch { return null; }}