Accept Scattermind first-48-hour handoffs
This commit is contained in:
@@ -374,6 +374,41 @@ try {
|
||||
assert.match(singleThreadQuestion.brief.decisionReceipt.firstProofStep, /manual proof/i);
|
||||
assert.equal(singleThreadQuestion.handoff.readiness.status, 'ready');
|
||||
|
||||
const first48HoursResponse = await fetch(`${base}/api/rank-feedback`, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({
|
||||
sourceName: 'Scattermind',
|
||||
artifactId: 'concept_map_first_48_hours',
|
||||
originalPrompt: 'Clarify a tiny offer idea and produce the first 48 hours of continuation work.',
|
||||
context: 'Solo builder. Manual proof first. Avoid saved workspace dashboards before evidence.',
|
||||
conceptMap: {
|
||||
working_name: 'First 48 hour handoff',
|
||||
first_48_hours: [
|
||||
{
|
||||
id: 'send-manual-preview',
|
||||
step: 'Send one manual build-order preview to a real freelancer',
|
||||
why_it_matters: 'This proves whether the continuation helps before UI work.',
|
||||
proof_question: 'Can they name the first move without another explanation?',
|
||||
},
|
||||
{
|
||||
id: 'workspace-dashboard',
|
||||
task: 'Create a saved workspace dashboard for every Concept Map',
|
||||
evidence_to_collect: 'Would users want saved boards later?',
|
||||
},
|
||||
],
|
||||
},
|
||||
}),
|
||||
});
|
||||
assert.equal(first48HoursResponse.status, 200);
|
||||
const first48Hours = await first48HoursResponse.json();
|
||||
assert.equal(first48Hours.input.optionCount, 2, 'first_48_hours arrays should become rankable continuation candidates');
|
||||
assert.equal(first48Hours.buildOrder.doFirst[0], 'send-manual-preview');
|
||||
assert.equal(first48Hours.ranked.find(item => item.id === 'send-manual-preview').provenance.sourceSection, 'concept-map.next48Hours');
|
||||
assert.match(first48Hours.handoff.activeSlice.proof.evidenceQuestion, /first move/);
|
||||
assert.equal(first48Hours.ranked.find(item => item.id === 'workspace-dashboard').lane.source, 'source-non-goal');
|
||||
assert.equal(first48Hours.handoff.readiness.status, 'ready');
|
||||
|
||||
const softDashLabelResponse = await fetch(`${base}/api/rank-feedback`, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
|
||||
Reference in New Issue
Block a user