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.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
test(view): follow roadmap shipping groups [N26,A2,N38,A10]
Corey Olson5d55961669e3
diff --git a/test/cockpit/detail.test.js b/test/cockpit/detail.test.jsindex c37532a6..8813369d 100644--- a/test/cockpit/detail.test.js+++ b/test/cockpit/detail.test.js@@ -80,8 +80,11 @@ test('opening an item loads its detail on demand [N26,A2]', { timeout: 150_000 }assert.equal(listed.tab, 'shouts');assert.equal(listed.summaries, true, 'the view sends item summaries: no history, criterion or thread');assert.deepEqual(listed.rows.sort(), ['2', '3'], 'the Active list shows the submitted and the open item');- // Current Roadmap keeps pending work before verified rows (readMilestone).- assert.deepEqual(listed.roadmap, ['#2 to verify', '#1 accepted'], 'the roadmap reads each item state from its summary');+ assert.deepEqual([...listed.roadmap].sort(), ['#1 accepted', '#2 to verify'], 'the roadmap reads every member and its exact state from summaries');+ // Shipping groups follow the approved legend order, independently of item IDs or milestone membership order.+ const group = { accepted: 0, 'to verify': 1, building: 2, unclaimed: 3, 'sent back': 3, held: 4, verified: 5 };+ const ranks = listed.roadmap.map((row) => group[row.slice(row.indexOf(' ') + 1)]);+ assert.ok(ranks.every((rank, index) => Number.isInteger(rank) && (!index || ranks[index - 1] <= rank)), `the roadmap groups accepted, review, building, waiting, held, then landed: ${JSON.stringify(listed.roadmap)}`);assert.deepEqual(itemReads(listed.reads), [], 'the list renders with no item detail fetched');// Search asks the API, which matches the criterion the summaries leave out, and its result opens the item.diff --git a/test/cockpit/snapshot.test.js b/test/cockpit/snapshot.test.jsindex 09e30062..bd6b6b5d 100644--- a/test/cockpit/snapshot.test.js+++ b/test/cockpit/snapshot.test.js@@ -656,9 +656,9 @@ test('an exported roadmap has its own address under a folder, and Back and Forwaawait openRoadmapParts(chrome);const seen = await readRoadmap(chrome);assert.deepEqual(seen.cards[0].rows.map(({ id, label, tone, button }) => ({ id, label, tone, button })), [+ { id: '#1', label: 'accepted', tone: 'ok', button: true },{ id: '#2', label: 'unclaimed', tone: 'free', button: true },{ id: 'beacon#1', label: 'unclaimed', tone: 'free', button: true },- { id: '#1', label: 'accepted', tone: 'ok', button: true },], "the snapshot's rows expand in place; another repo's unavailable item has no Items link");assert.equal(seen.cards[0].rows.find((row) => row.id === 'beacon#1').tip, 'Billing webhook retries (not in this snapshot)', 'and says why');assert.deepEqual([seen.cards[1].name, seen.cards[1].empty], ['Later', 'No items yet.']);