@boxxy/planning
v0.2.4
Published
boxxy's planning: builds the frame from the plug-ins and picks the next work for each free slot
Readme
boxxy's planning. buildFrame runs the plug-ins of the loaded rules over a snapshot of the open
items, and decide picks the wakes and the item phases that start, while each limit has a free
seat.
The package does no I/O: the caller passes in the snapshot, the loaded rules and the time.
Install
Install the package from npm with Bun:
bun add @boxxy/planningThe package runs on Bun 1.3 or newer.
Features
buildFrame, which returns the candidates, their holds, lifts, signal values and filter-field values, and each plug-in fault (planning: buildFrame and decide).decide, which puts each wake first, then picks pool by pool while each limit that counts a pick has a free seat, gives the reason for each item and wake it passes over, and never names a concept (planning: limits and the decision).concepts, thepool,deferandexpediteconcepts (the slice 1 concepts).conceptPins, each concept's pin, which the build generates from the concept's source (rules for slice 1).
Documentation
The planning design says why concepts are plug-ins, and
04-planning.ts gives the shapes.
