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.

feat(merge): landing-gated submits still run the invariant tests [C7,V4]

Corey Olsonad75d19edf58
diff --cc src/gate.js
index c0d581a0,04cfd9ec..d605a9a3
--- a/src/gate.js
+++ b/src/gate.js
@@@ -6,10 -6,9 +6,10 @@@
*/
import { spawn, spawnSync } from 'node:child_process';
import { randomUUID } from 'node:crypto';
- import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';
+ import { existsSync, mkdirSync, readFileSync, statSync, writeFileSync } from 'node:fs';
-import { dirname, join } from 'node:path';
+import { dirname, isAbsolute, join, relative, sep } from 'node:path';
import { availableParallelism } from 'node:os';
+import { fileURLToPath } from 'node:url';
import { gitChildEnv, gitPath, headTree, invalidateGitFacts, isClean, untracked } from './git.js';
import { secretsIn } from './hooks.js';
import { Refused } from './refused.js';
@@@ -440,10 -399,8 +452,10 @@@ export async function runSubmitGate(roo
runner: [...new Set(profiles.map(value => value.runner))].join(', '),
format: [...new Set(profiles.map(value => value.format))].join('+'),
unavailable: profiles.some(value => value.unavailable) ? 'per-test timing unavailable: output was not TAP or JUnit (one or more phases)' : null,
+ ...(lease.runner ? { executionRunner: lease.runner.host,
+ executionSource: profiles.find(value => value.executionSource)?.executionSource } : {}),
});
- return { ...proof, log, seconds: criterion.seconds + proof.seconds, ...selection, deferred, deferFullFallback, check: receipt,
+ return { ...proof, log, seconds: criterion.seconds + proof.seconds, ...selection, ...(deferred ? { files: proofFiles, submitInvariants: invariants } : {}), deferred, deferFullFallback, check: receipt,
profile, profilePath, proofProfilePath: proof.profilePath, proofLog: proof.log };
};
if (!criterion.isGreen) {