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.

Merge branch 'main' into HEAD

Corey Olson88513f6d6fa5
diff --cc src/engine.js
index 50d3b3df,cf13518b..550c088e
--- a/src/engine.js
+++ b/src/engine.js
@@@ -75,9 -74,10 +76,12 @@@ const OPERATION_ENGINE = Object.freeze(
shipMilestone: MILESTONE_SHIP_ENGINE });
/** Dependency edits, causes, sealed reviews, submission proofs, trunk conflicts, health observations and milestone targets retain distinct recorded engine meanings. */
-function minimumOperationEngine(operation, args, board) {
+function minimumOperationEngine(operation, args, board, at) {
+ if (['verify', 'reopen'].includes(operation) && args[1]?.reopenFirstRefusalMinutes !== undefined
+ || ['claim', 'release'].includes(operation) && board && firstRefusal(board, args[0], at)) return REOPEN_FIRST_REFUSAL_ENGINE;
+ // A batch landed on the local trunk before it is published (#801).
+ if (operation === 'recordLandingBatch' && args[0]?.batch?.state === 'trunk'
+ || operation === 'finishLandingBatch' && board && store.landingBatches(board).find(batch => batch.id === args[0]?.id)?.state === 'trunk') return LOCAL_LANDING_ENGINE;
if (operation === 'recordFlakeObservation') return NATIVE_FLAKE_ENGINE;
if (operation === 'recordLandingBatch' && carriesFlakeDiagnostics(args[0]?.batch)) return NATIVE_FLAKE_ENGINE;
if (['proposeSentinel', 'decideSentinel', 'beginSentinelRun', 'finishSentinelRun'].includes(operation) || typeof args[1]?.cause === 'string' && args[1].cause.startsWith('sentinel:')) return BOARD_SENTINEL_ENGINE;
diff --cc src/machine.js
index d3578fef,c0fb3b3c..71293c92
--- a/src/machine.js
+++ b/src/machine.js
@@@ -33,11 -34,8 +34,12 @@@ export const STRONG_REJECTION_NOTICE_EN
*/
export const SUBMITTED_CONFLICT_ENGINE = 60;
+/** First engine reserving opt-in reopened work for its builder (#954, coordinator allocation). */
+export const REOPEN_FIRST_REFUSAL_ENGINE = 66;
+
export const ENGINE_VERSION = Math.max(
+ REOPEN_FIRST_REFUSAL_ENGINE,
+ LOCAL_LANDING_ENGINE,
HEALTH_CAP_ENGINE,
SUBMITTED_CONFLICT_ENGINE,
NATIVE_FLAKE_ENGINE,