Add copyable Ranker handoff text

This commit is contained in:
OpenClaw Bot
2026-05-27 14:58:29 +02:00
parent 8e6040e90c
commit e22cb30061
4 changed files with 57 additions and 2 deletions
+4
View File
@@ -102,6 +102,10 @@ try {
assert.equal(data.handoff.readiness.status, 'ready');
assert.equal(data.handoff.readiness.sourceComplete, true);
assert.ok(data.handoff.readiness.nextChecks.some(item => /Do first item/i.test(item)));
assert.match(data.handoff.copyableText, /# Ranker build-order handoff/);
assert.match(data.handoff.copyableText, /## Do first\n\n- Snapshot to Ranker feature-set contract/);
assert.match(data.handoff.copyableText, /Source: concept-map\.nextMoves/);
assert.match(data.handoff.copyableText, /Rule: only the Do first item is active/);
const messyIdeaOnlyResponse = await fetch(`${base}/api/rank-feedback`, {
method: 'POST',