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
chore(queue): compose accepted milestone caps [N22,B13,H16,N26]
Corey Olson0f933ba68680
diff --cc src/help.jsindex 95a987c9,53f8d249..000c614a--- a/src/help.js+++ b/src/help.js@@@ -95,11 -95,13 +96,13 @@@ Worpullboard roadmap ordered milestones, N/M landed, targets, and each item as landed,accepted or its statuspullboard milestone add <name> [--note ...] [--items 1,2,3] create a milestone and optionally add items- pullboard milestone items <name> --add|--remove ids append or remove item references+ pullboard milestone items <name> --add ids [--swap id] | --remove idspullboard milestone order <name> <ids> rank these items within their milestone (agents)+ pullboard milestone pin|sink <name> <ids> --reason "<why>" hold items above or below the queue's own order+ pullboard milestone lift <name> <ids> return pinned or sunk items to the queue's orderpullboard milestone move <name> --before <other> reorder a milestone- pullboard milestone edit <name> [--name <new>] [--note <text>] [--target <date and time>|none]- rename, update a note, or set the target a milestone ships by+ pullboard milestone edit <name> [--name <new>] [--note <text>] [--target <date and time>|none] [--limit <n>|none]+ rename, update a note, or set a shipping target or item limitpullboard milestone ship <name> [--next <name>] record it shipped at main's commit and moveits unlanded items into the next milestone (or --next)pullboard milestone remove <name> remove a milestone without changing its itemsdiff --cc src/milestones.jsindex e9c186e2,3f39b885..f4957a3c--- a/src/milestones.js+++ b/src/milestones.js@@@ -237,18 -216,23 +238,21 @@@ export function editMilestoneItems(boarif (index < 0) throw new Refused('NO_MILESTONE', `no milestone named ${name}; list them with pullboard roadmap`);const current = entries[index];if (additions.length && current.shipped) throw shippedRefusal(current);- const nextItems = additions.length- ? [...current.items, ...additions]- : current.items.filter((id) => !removals.some((removeId) => JSON.stringify(removeId) === JSON.stringify(id)));- if (additions.length && new Set(nextItems.map((value) => JSON.stringify(value))).size !== nextItems.length) {- throw new Refused('MILESTONE_ITEMS', 'a milestone cannot list the same item twice; remove duplicate ids and retry');- }- if (removals.some((id) => current.items.every((present) => JSON.stringify(id) !== JSON.stringify(present)))) {- throw new Refused('MILESTONE_ITEMS', 'one or more ids are not in this milestone; read pullboard roadmap and retry');- }+ const removed = [...removals, ...swaps];+ if (removed.some(id => !current.items.includes(id))) throw new Refused('MILESTONE_ITEMS', 'one or more ids are not in this milestone; read pullboard roadmap and retry');+ if (additions.some(id => current.items.includes(id))) throw new Refused('MILESTONE_ITEMS', 'a milestone cannot list the same item twice; remove duplicate ids and retry');+ const nextItems = swaps.length+ ? current.items.map(id => id === swaps[0] ? additions[0] : id)+ : [...current.items.filter(id => !removed.includes(id)), ...additions];+ if (additions.length) enforceMilestoneLimit(board, current, nextItems);entries[index] = { ...current, items: nextItems,...((board.executionEngineVersion ?? ENGINE_VERSION) >= MILESTONE_RANK_ENGINE && current.order- ? { order: current.order.filter(id => nextItems.includes(id)) } : {}) };+ ? { order: current.order.map(id => swaps.includes(id) ? additions[0] : id).filter(id => nextItems.includes(id)) } : {}) };+ if (engineOf(board) >= WORK_ORDER_ENGINE && (current.sunk || current.reasons)) {+ entries[index] = withOverrides(entries[index], entries[index].order ?? [], (current.sunk ?? []).filter(id => nextItems.includes(id)));+ }saveMilestones(board, entries);- logEvent(board, agentId, 'milestone_items', null, { name, add: additions, remove: removals });+ logEvent(board, agentId, 'milestone_items', null, { name, add: additions, remove: removals, ...(swaps.length ? { swap: swaps } : {}) });return nextItems;});}