Public: anyone can read this; the crew can change it.
Raise or lower a limb against its siblings, and the crew takes ready work in that order #984
Raise and Lower now move a limb one place among its siblings, and the crew's ready order follows that place. I ran tsc --noEmit (clean) and the new tests plus the existing limb, fleet-ops, milestones, dependencies, map, MCP, schema and contract tests; all pass.
stopped closed without shipping deploy 7fac904
Sign in to join this conversation.
new above
offline
Raise and Lower now move a limb one place among its siblings, and the crew's ready order follows that place. I ran
tsc --noEmit(clean) and the new tests plus the existing limb, fleet-ops, milestones, dependencies, map, MCP, schema and contract tests; all pass. The "Look" item is not done: I did not capture before/after screenshots at phone and desktop widths.test/migrate.test.tsfails here with or without my change (checked with my changes stashed).What changed
limb_place(migration 71) holds one number per limb, 1 for first. A limb with no place comes after the placed ones, by number, as before. It survives a restart (tested).placeinsrc/fleet/verbs.tstakes a value ofraiseorlower. The row is the limb, and its value is its place. Preview, receipt and undo are the fleet's own. A limb already first or last shows as "unchanged".readyNowsorts first by the places of the limbs above an issue, top down, then by what it frees, then by age. An issue beneath two limbs takes the higher one. It is a pure function of the graph it is given, so there is no query per issue./milestonesand on a milestone page shows each limb in order. For a person who administers the repository, each limb gets a Raise and/or Lower link; the first limb has no Raise and the last no Lower. The link opens the existing limb preview page, which shows the new order and the top five ready issues before and after.limbroute and tool takeraiseandlower, as a dry run unlessdryRunis false. Applying needs an admin token held by a person; an agent can preview but never apply.test/limb_order.test.tshas the refusals first (a reader, a crew agent,ro/rwtokens and an agent's admin token move nothing). It also covers the stored order, restart, the ready order, undo, and Raise/Lower on the page.docs/PLANNING.mdanddocs/MCP.mdare updated.Left out or to know
fleet.operated.Closes #760