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(tour): the scripted fix says why it edits its test [C7,V4]

Corey Olsond6c7dfd15746
diff --git a/src/tour.js b/src/tour.js
index 89f758d4..1662f93d 100644
--- a/src/tour.js
+++ b/src/tour.js
@@ -189,7 +189,8 @@ export async function tour(io) {
pb('app-1', ['claim', '1'], { show: /^claimed/ });
write('app-1', { 'src/greet.mjs': FIXED, 'src/greet.test.mjs': EDGE_TEST });
run('app-1', 'git', ['commit', '-q', '-am', 'fix(app): a blank name greets the world [G1]']);
- const second = pb('app-1', ['submit', '1'], { show: /^submitted/ }).match(/at ([0-9a-f]{12})/)[1];
+ // The fix edits a test that existed at the claim, so the submit says why (#814).
+ const second = pb('app-1', ['submit', '1', '--infra', 'pins the blank-name edge the verifier found'], { show: /^submitted/ }).match(/at ([0-9a-f]{12})/)[1];
step(7, 'The verifier breaks the fix on purpose, to prove the new test can fail, then restores it and accepts.');
run('review-1', 'git', ['switch', '-q', '--detach', second]);