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): a check that is not valid shell is refused [C7,V4]

Corey Olson80048c9f5549
diff --cc src/cli.js
index 791f3d68,d249cb38..36ad7c28
--- a/src/cli.js
+++ b/src/cli.js
@@@ -61,10 -59,9 +61,10 @@@ import
standings,
unmetRows,
} from './spec.js';
-import { bundledBlueprints, planBlueprint, readBlueprint, saveBlueprint } from './blueprints.js';
+import { answerQuestion, bundledBlueprints, planBlueprint, readBlueprint, saveBlueprint } from './blueprints.js';
import { briefFiles } from './brief.js';
-import { checkBaseline, prepareCheckBaseline, refuseCheckSyntax, sayCheckBaseline } from './check-baseline.js';
+import { commitFirst, commitOwnerLines, commitOwners, coordinatorInbox, coordinatorInboxLines, inboxFirst } from './resume.js';
- import { checkBaseline, prepareCheckBaseline, sayCheckBaseline } from './check-baseline.js';
++import { checkBaseline, prepareCheckBaseline, sayCheckBaseline, refuseCheckSyntax } from './check-baseline.js';
import { retryCheckBaselines, startCheckBaseline } from './check-baseline-worker.js';
import { compareMainFailures, mainRedMessage, mainRedReworkItems } from './main-red.js';
import { runItems } from './run.js';
@@@ -2970,9 -2901,9 +2971,10 @@@ function workCommands(io, args)
criterion: values.criterion,
check: values.check,
after: editAfter(values.after),
+ ...(values.reason !== undefined ? { reason: values.reason } : {}),
};
const { item, command } = store.validateItemEdit(board, id, change);
+ if (command && command !== item.item_check) refuseCheckSyntax(command);
if (command && command !== item.item_check) change.checkBaseline = values.wait ? checkBaseline(ctx.info.root, command) : prepareCheckBaseline(ctx.info.root, command);
await ordered(ctx, board, 'editItem', [id, change]);
if (change.checkBaseline?.result === 'pending') await launchBaseline(ctx, board, id, change.checkBaseline);