Add proof script to Ranker handoff

This commit is contained in:
OpenClaw Bot
2026-05-27 23:42:10 +02:00
parent 9c0f4bebd3
commit 5fad144a8f
2 changed files with 22 additions and 0 deletions
+5
View File
@@ -84,6 +84,9 @@ try {
assert.match(data.brief.firstScreen.headline, /Build only this first/);
assert.equal(data.brief.firstScreen.primaryAction, data.brief.decisionReceipt.firstProofStep);
assert.equal(data.brief.firstScreen.proofQuestion, data.brief.decisionReceipt.evidenceQuestion);
assert.equal(data.brief.firstScreen.proofScript, data.brief.decisionReceipt.proofScript);
assert.match(data.brief.firstScreen.proofScript, /I have a Scattermind build-order recommendation/);
assert.match(data.brief.firstScreen.proofScript, /Snapshot to Ranker feature-set contract/);
assert.deepEqual(data.brief.firstScreen.guardrails, ['Avoid accounts, workspaces, and team voting']);
assert.ok(data.brief.firstScreen.holdBack.some(item => item.title === 'Subscription billing layer'));
assert.match(data.brief.firstScreen.rule, /One active move/);
@@ -116,9 +119,11 @@ try {
assert.match(data.handoff.activeSlice.proof.nextStep, /manual proof/i);
assert.equal(data.handoff.activeSlice.source.artifactId, 'snapshot_123');
assert.equal(data.handoff.activeSlice.source.sourceSection, 'concept-map.nextMoves');
assert.match(data.handoff.activeSlice.proof.proofScript, /The thing I need to learn is/);
assert.ok(data.handoff.activeSlice.notNow.some(item => item.id === 'export'));
assert.match(data.handoff.activeSlice.rule, /Only this active slice is build-ready/);
assert.match(data.handoff.copyableText, /## Active slice/);
assert.match(data.handoff.copyableText, /- Proof script:/);
assert.match(data.handoff.copyableText, /- Do not start yet:/);
assert.equal(data.handoff.readiness.sourceComplete, true);
assert.ok(data.handoff.readiness.nextChecks.some(item => /Do first item/i.test(item)));