Industrial workspace
One hull, from plate to delivery.
Change one thing and follow what moves.
Synthetic: teaching records on a concept vessel. No plan here is authorized.
Navy and Coast Guard shipbuilding has run billions of dollars over cost and years behind schedule for two decades. GAO, April 2026
The vessel, its graph, its welds, its schedule and its decisions are views of one state.
The operations center: enter the hall, pick a block, and follow its work day by day
Places
A reference yard laid out to read, not a real site.
In whole yard on day 14
- at work on (FORM-B10)
- at work on (SCAN-B20)
- at work on (OUTFIT-B30)
- at work on (WELD-B40)
- at work on (PANEL-B50)
- at work on (CUT-B60)
- at work, (cutting and forming)
- under inspection where it stands, (block assembly)
- at work, (coatings)
- at work, (block assembly)
- at work, (welding and fabrication)
- at work, (cutting and forming)
- material staged, (receiving)
Done where the block stands
- on , working day 14
The examination is made where the welded block stands; inspection reaches every area and is not a place in the flow. The scan is made where the block stands, before it may be coated. Tightness and structural tests are made on the hull where it was erected; the plan schedules no move before them. A review, not work: it is held where the vessel is. Inspection is never a place.
The blocks

The baseline
Delivery day 60, target day 64; no plan can finish before day 58. The longest wait on the chain that sets delivery is at the panel line.
One incident in four numbers: the late plate lot
Loading vessel command
Provenance: the run, the code and the build
Projects lib/yard/plan.ts, lib/yard/view.ts, components/industrial/vessel3d/yard-scene.ts
- Scenario id
baseline- Dataset
- 2026.10.1
- Schema
- yard/1
- Run
- run-119d0a6ad9d0af83
- Commit
- 277e1e4ace0b
A teaching simplification, deliberately small: the 50 m concept hull in 7 blocks, 71 operations on 16 units, 165 welds and a 60-day plan. A real program is far larger and runs for many months. A day here is a scheduling unit on that small network, never an estimate of how long any hull takes, and launch, commissioning and sea trials are outside it.
One block, rendered
B30's steel through the hall, station by station, on the plan's days.
Plate off the stock, cut, welded into panels, then into a block that is examined where it stands. Every mark is the baseline plan's own operation, unit and days; open any of them in the operations center above to follow the block on to coatings, the transporter and the berth. The plan coats the block before it welds the pipe spools in: a simplification, since a yard does most hot work on a block before its final coat.
Show the rendered route, station by station

The plate B30 is cut from waits in the stock: LOT-PL-A, arriving day 0 and released for use on day 1; LOT-HP-A, arriving day 0 and released for use on day 1.
Open day 0 in the workspaceCut plate and profiles on plasma cutting table, days 1 to 3 of the baseline plan, drawing on LOT-PL-A and LOT-HP-A.
The station is the concept hall’s; it is not drawn with B30’s own parts on it.
Open day 1 in the workspacePanel line on panel line, days 3 to 6 of the baseline plan.
The station is the concept hall’s; it is not drawn with B30’s own parts on it.
Open day 3 in the workspace
Block weld on robotic weld cell 1, days 6 to 10 of the baseline plan, drawing on LOT-W-A.
Open day 6 in the workspaceUltrasonic test of block welds on ultrasonic inspection crew, days 10 to 11 of the baseline plan. A hold point: nothing after it starts until its record is made by a qualified person.
Open day 10 in the workspaceDimensional scan on dimensional scanner, days 11 to 12 of the baseline plan. A hold point: nothing after it starts until its record is made by a qualified person.
Open day 11 in the workspaceThe pipe spools its pre-outfit draws on (LOT-CU-019, released for use on day 11). The pre-outfit itself is pre-outfit on outfit crew 1, days 14 to 17, after the block is blast-coated in the coatings hall.
Open day 14 in the workspaceOne revision, to accepted work
From a drawing revision to accepted work
One revision followed through the yard: the plan it moves, the package it holds, the spools it re-orders, the two named people who must act, the crew that does the work, two independent measurements, the inspector’s disposition and the next operation. Change any of the four choices to see what the engines compute instead.
Synthetic: one teaching change on the synthetic yard, computed step by step by the engines named under each step. No drawing, spool, crew, day or reading is real, and nothing here authorizes work in any yard. Every person named in these demonstrations is a fictional role in a synthetic case, not a real employee, customer or partner.
- 1EngineeringDone
- 2PlanningDone
- 3ReleaseHeld
- 4ReceivingDone
- 5EngineeringDone
- 6ReceivingDone
- 7ReleaseDone
- 8Outfit hallDone
- 9InspectionDone
- 10InspectionAccepted
- 11Berth roadHeld
Held. Dimensional result accepted and recorded; the package waits on the pressure test (INS-124) before Move to the berth · B30.
A drawing revision is released
DoneCFG-029 moves DR-118 from Rev C to Rev D on day 12. CFG-029 moves 22 operations; delivery moves from day 60 to day 63 (+3).
The records behind it
- What changed
- Route revised Rev C → Rev D on the seawater cooling spool set.
- Released
- Day 12. Assumption: the day after the Rev C spool lot is released for use (day 11), so it was received and accepted at Rev C when the change arrives.
- Evidence it overturns
- EV-KIT-441 invalidated; EV-INS-124 invalidated; EV-CFG-029C superseded
- Computed by
revisions.ts
The work it governs is re-planned
DonePre-outfit · B30 · seawater cooling spool set has not started, so it is re-planned: days 14 to 17 in the baseline, now days 20 to 26.
The records behind it
- Why
- The heat exchanger inlet nozzle moves, so the route the package installs moves with it.
- Held until
- LOT-CU-019-D is released for use, day 20
- Next operation
- Move to the berth · B30: days 26 to 27
- Computed by
revisions.ts · plan.ts
The work package is held
HeldWP-019 may not proceed. Known open: configuration and material.
The records behind it
- Readiness
- NOT READY
- Why
- WP-019 may not proceed. Known open: configuration and material.
- Who must act
- Engineering / configuration control
- Lawful decisions now
- Hold
- Computed by
readiness.ts · decision.ts
The re-specified spools are re-ordered
Done2 spools (SP-019-08 and SP-019-09) no longer match Rev D; replacements arrive on day 18 and are released for use on day 20.
The records behind it
- Replacement lot
- LOT-CU-019-D, 2 spools from S-SPOOL
- Certificate
- MTC-CU-019-D, pending review
- Lead time
- Assumption: 6 working days from release to the arrival of conforming spools, whether reworked or refabricated. No record states a spool lead time; which route each spool takes is execution control's, not this plan's.
- Computed by
revisions.ts
Configuration control decides
DoneJ. Mensah closes CFG-029 and re-releases the package at Rev D. WP-019 may not proceed. Known open: material.
The records behind it
- Readiness
- NOT READY
- Why
- WP-019 may not proceed. Known open: material.
- Who must act
- Receiving / material control
- Lawful decisions now
- Hold
- Computed by
readiness.ts
The replacement spools are received and accepted
DoneOn day 20 the kit is complete at Rev D. WP-019 may proceed. Every required gate is positively established against governing evidence.
The records behind it
- Readiness
- READY
- Why
- WP-019 may proceed. Every required gate is positively established against governing evidence.
- Who must act
- Production release authority · B30
- Lawful decisions now
- Authorize release, Hold
- Computed by
readiness.ts
The release authority decides
DoneM. Okafor approves: the package is released at Rev D. Ready is not released until a named person acts.
The records behind it
- Readiness
- READY
- Why
- WP-019 may proceed. Every required gate is positively established against governing evidence.
- Who must act
- Production release authority · B30
- Lawful decisions now
- Authorize release, Hold
- Computed by
decision.ts
A qualified crew does the work
DonePre-outfit · B30 · seawater cooling spool set, days 20 to 26 on OUT-1. People do the work; no software performs it.
The records behind it
- Qualification held
- Qualified pipe welder, copper-nickel
- Material
- LOT-CU-019-D at Rev D
- Computed by
plan.ts
The work is measured twice, independently
DoneThe dimensional laser scan and the machine-vision inspection read the installed spool set against its Rev D geometry. A reading is a fact, never an acceptance.
The records behind it
- Dimensional laser scan
- 0.4 ± 0.3 mm against ±1.5 mm: Accepted
- Machine-vision inspection
- 0.5 ± 0.3 mm against ±1.5 mm: Accepted
- Computed by
sensor-evidence.ts
The inspector disposes of the work
AcceptedThe inspector accepts the dimensional result: two independent reads agree inside the tolerance and hold point DIM-B30-019 is satisfied.
The records behind it
- The two reads
- Sources agree. The two measurements agree (En = 0.24 at combined uncertainty ±0.42 mm); the pair supports "Accepted".
- Hold point DIM-B30-019
- DIM-B30-019 (dimensional acceptance) requires 2 independent accepted observations; 2 on record from 2 sources. The required set is satisfied, which is not the same as the measurements agreeing.
- The whole acceptance plan
- Acceptance is not complete: 1 of 2 hold points outstanding: INS-124 (insufficient).
- Computed by
sensor-evidence.ts
The next operation
HeldThe dimensional result is recorded as as-built evidence. The package is not accepted as a whole: the pressure test (INS-124) stays open, so the next operation, Move to the berth · B30 (planned day 26), now waits on that alone.
The records behind it
- As-built record
- Seawater cooling spool set at Rev D: LOT-CU-019-D, installed on OUT-1 days 20 to 26, dimensional laser scan and machine-vision inspection in agreement, dimensional result accepted by the QA inspector. Recording it is not a gate.
- Still open
- Acceptance is not complete: 1 of 2 hold points outstanding: INS-124 (insufficient). The pressure-test instrument produces no evidence in this demonstration, and the chain does not pretend otherwise.
- Computed by
sensor-evidence.ts · plan.ts
The whole construction journey this plan schedules part of, from material requirement to delivery, with the zones and machinery each step needs, is on Construction.
How each plan is compiled
Five steps, each of which can refuse
- Apply the scenario. Its events and levers are applied to a copy of the records. The baseline records are never changed.
- Check the records. Every reference must resolve, precedence must be acyclic, and every lot, unit and supplier must exist. A broken record stops the plan with its reason.
- Allocate material lot by lot. Needs are served in erection order from the usable lots of their specification, in the order the lots are released. Quantities are conserved: a need the lots cannot cover is a shortage, and its operation cannot start.
- Decide who may do each operation. A unit must hold every qualification the work needs. A lift needs a crane that reaches the block’s berth position, is rated for its lift class there and has a lift plan on file; a position with no stated rating cannot be established.
- Schedule with the one kernel. The same scheduling kernel the sprint uses. Its dispatch rule is a heuristic, so the dependency-only bound is reported beside it as the finish no plan can beat.
Appendix
Methods, as a reviewer needs them
Problem, assumptions, algorithm, verification and failure cases, one per method. Every record the methods run on is synthetic.
Dependency-only critical path standing: bound
- Problem
- The earliest day every operation could finish if resources were unlimited: a lower bound on any feasible schedule of the same network and release days.
- Inputs
- Operations with whole-day durations, predecessors and release days.
- Assumptions
- Durations are deterministic whole working days. No resource limits apply to the bound.
- Constraints
- Precedence, Release days.
- Algorithm
- Forward and backward passes in topological order (Kelley and Walker 1959). A cycle or a dangling predecessor is refused.
- Cost
- Linear in operations plus dependencies.
- Verification
- Equal to an independent forward pass written in the tests; never above any feasible schedule found.
- Failure cases
- Float on the dependency network says nothing once resources are levelled; it is printed only as dependency float.
- Module
apps/web/src/lib/shipbuilding/schedule-kernel.ts; verified byapps/web/src/lib/shipbuilding/__tests__/schedule-kernel.test.ts,apps/web/src/lib/shipbuilding/__tests__/supplier-recovery.test.ts.
Resource-constrained schedule standing: heuristic
- Problem
- Start days and unit assignments for every operation that respect precedence, release days, unit capacity (one operation per unit at a time), qualifications, crane eligibility and reserved intervals such as maintenance and outages.
- Inputs
- The compiled operations, their eligible units, each unit’s reserved intervals, and the dispatch rule.
- Assumptions
- Work is not pre-empted: an operation never straddles a reserved interval. A unit of a class can do any operation of that class it is qualified and eligible for. The hull program counts every day as a working day: the kernel can run on a working calendar, but no yard calendar is authored, so none is applied.
- Constraints
- Precedence, Release days, Unit capacity, Qualifications, Crane reach, rating and lift plan, Reserved intervals.
- Algorithm
- Serial schedule generation with the latest-finish-time priority rule (Kolisch 1996): the eligible operation with the earliest dependency latest finish claims the unit that can start it first. Nominal dispatch ranks on the network without releases; release-aware dispatch ranks on the released network and is offered as resequencing.
- Cost
- Quadratic in operations times units in the worst case; tens of milliseconds for the hull program.
- Verification
- On 200 seeded random networks every precedence, release, eligibility, capacity and reserved interval holds; on 40 small networks the result is never below the exact optimum found by enumerating every activity list, and the gap is measured (at most three days, zero on most).
- Failure cases
- A priority rule can miss the optimum: a later release can even shorten the finish by changing the order. The engine reports such cases instead of smoothing them. Optimality is claimed only when the schedule reaches the dependency bound.
- Module
apps/web/src/lib/shipbuilding/schedule-kernel.ts; verified byapps/web/src/lib/shipbuilding/__tests__/schedule-kernel.test.ts,apps/web/src/lib/shipbuilding/__tests__/production-schedule.test.ts.
Working calendar standing: heuristic
- Problem
- When work finishes in calendar days once some days do not work: a weekend, a holiday or a yard shutdown on which nothing starts and nothing progresses, and across which work is stretched rather than refused.
- Inputs
- A repeating cycle of working and non-working days counted from day 0, and a list of holidays; the same network, release days and reserved intervals as the resource-constrained schedule, all in calendar days.
- Assumptions
- One calendar for the whole network: every unit works the same days. Work is stretched across non-working days and resumes where it stopped; a reserved interval is still a unit’s own outage and is never straddled, and one that holds only non-working days reserves nothing. Durations stay whole working days; no partial day or shift is modelled.
- Constraints
- Nothing starts or works on a non-working day, Precedence, Release days, Unit capacity, Eligibility, Reserved intervals on working days.
- Algorithm
- The network is scheduled on working-day indices by the same serial scheme and priority rule: each release day becomes the first working day on or after it, each reserved interval keeps only its working days, and every start and finish is mapped back to the calendar day of its working day. The mapping only stretches time, so the order the rule chooses is the order it chooses without a calendar. A priority-rule heuristic, never called optimal; with no calendar, or one in which every day works, the result is exactly the schedule without one.
- Cost
- The scheme’s own cost, plus a lookup per start and finish into the list of working days, built once up to the finish.
- Verification
- On 200 seeded networks a calendar in which every day works returns the schedule without a calendar, unchanged. On 300 seeded networks under 300 seeded calendars with holidays, every operation starts on a working day, works exactly its duration in working days, ends on a working day, and keeps precedence, release days, eligibility, unit capacity and its unit’s reserved working days; the calendar finish is never below the working-day finish. Without releases or reserved intervals the schedule is the plain one laid onto the working days. A five-day week with a holiday is checked by hand.
- Failure cases
- A shift pattern, overtime or a calendar per unit or per trade is not modelled; one calendar is applied to every unit. Double justification and the resource bound read a finish as start plus duration, so they refuse a network with a calendar instead of shifting it wrongly. Float, queue days and the delay totals stay in working days, the only days a unit could have worked; the starts, finishes and finish dates are calendar days.
- Module
apps/web/src/lib/shipbuilding/schedule-kernel-calendar.ts; verified byapps/web/src/lib/shipbuilding/__tests__/schedule-kernel-calendar.test.ts.
Material allocation by lot standing: rule
- Problem
- Which lot serves which operation, so that no lot is drawn beyond its quantity and no operation starts before the material it draws is released.
- Inputs
- Lots with quantity, arrival, receiving days and certificate status; operations’ material needs; the erection order.
- Assumptions
- Needs are served in erection order, each from the usable lots of its spec in the order they are released (a pegging rule). A rejected certificate makes a lot unusable; nothing is substituted without an engineering disposition.
- Constraints
- Quantity conservation, Release before use, Approved-source and substitution rules.
- Algorithm
- Greedy allocation in a fixed, stated priority. An uncovered need is a shortage: the operation cannot start and the plan says so.
- Cost
- Linear in needs times lots.
- Verification
- Every lot’s draws sum to at most its quantity; every need is met exactly or reported short; no operation starts before its lots’ release.
- Failure cases
- The pegging rule is not an optimization: a different allocation could finish sooner. Reallocation is a planner’s decision.
- Module
apps/web/src/lib/yard/plan.ts; verified byapps/web/src/lib/yard/__tests__/foundation.test.ts.
Crane capability per lift standing: rule
- Problem
- Whether a crane may make a block’s lift in the simulation.
- Inputs
- The block’s lift class and berth position; the crane’s rating by position, unrated positions inside its reach, lift plans on file, and operator qualification.
- Assumptions
- Lift classes stand in for loads because no block weight is established for the concept vessel. Ratings are authored, not a crane chart.
- Constraints
- Reach, Rating at radius, An approved lift plan per crane and block, A certified operator.
- Algorithm
- A rule table: out of reach, under-rated, insufficient data where the rating is unstated, no lift plan, no operator, otherwise feasible. A larger nominal crane is never assumed suitable.
- Cost
- Constant per crane and lift.
- Verification
- No lift is ever scheduled on a crane its assessment did not find feasible; an unrated position is never feasible.
- Failure cases
- A feasible finding is a simulation result, not a lift plan or a lifting authorization. Real lifts need qualified engineering and safety planning.
- Module
apps/web/src/lib/yard/plan.ts; verified byapps/web/src/lib/yard/__tests__/foundation.test.ts.
How a change reached each operation standing: exact
- Problem
- Which operations a change could reach by dependency, and which moved only because they share a unit with work that did.
- Inputs
- The baseline plan’s graph, the scenario’s plan, and the records the scenario changed.
- Assumptions
- Reach is computed on the baseline graph; work a scenario inserts is reported as added.
- Constraints
- Typed relations only: dependency, material, assignment, supply, certificate, assembly..
- Algorithm
- Breadth-first search backwards along the impact relations from each changed record; a moved operation outside that set moved through a shared resource.
- Cost
- Linear in nodes plus edges per changed record.
- Verification
- The first-order set equals the operations that draw on a changed lot; a crane’s reach includes every lift assigned to it.
- Failure cases
- Reach is topology, not consequence: a reached operation may not move at all when slack absorbs the change, and the comparison lists those separately.
- Module
apps/web/src/lib/yard/compare.ts; verified byapps/web/src/lib/yard/__tests__/foundation.test.ts.
Delivery under uncertainty standing: simulation
- Problem
- How likely the target is, when lots may be late and work may take longer than planned.
- Inputs
- The scenario, a seed, a run count, and triangular distributions for lot lateness and duration factors.
- Assumptions
- The distributions are synthetic and calibrated against nothing. Draws are independent, so the spread is a lower bound. Durations round to the nearest whole day, never below one.
- Constraints
- Every run is a full plan: allocation, eligibility and the kernel..
- Algorithm
- Seeded Monte Carlo (mulberry32), inverse-CDF triangular draws, percentiles of the delivery day, and Spearman rank correlation of each lot’s lateness with delivery.
- Cost
- Runs times one plan; about a millisecond per run for the hull program.
- Verification
- Deterministic for a seed; the draw’s mean matches the analytical mean; every run is accounted for, refused runs counted.
- Failure cases
- Converging paths make the expected finish later than the finish of expected durations (merge bias), so a deterministic plan for a convergent hull reads optimistic; the comparison shows by how much under these assumptions, not for a real yard.
- Module
apps/web/src/lib/yard/uncertainty.ts; verified byapps/web/src/lib/yard/__tests__/uncertainty.test.ts.
Scheduling strategies compared standing: heuristic
- Problem
- Whether another dispatch rule would have finished the same plan sooner, and by how much any of them stands above the lower bound.
- Inputs
- A feasible plan’s compiled network (operations, release days, eligible units, reserved intervals), rebuilt from the plan and checked to reproduce it exactly.
- Assumptions
- Five classic priority rules (latest finish, earliest start, shortest processing time, most total successors, greatest resource demand) under nominal and release-aware dispatch stand for the strategies a planner might use. Every activity holds one unit, so resource demand reduces to duration.
- Constraints
- The same network for every rule, Every schedule checked for precedence, release, eligibility, unit capacity and reserved intervals.
- Algorithm
- The kernel’s serial schedule generation run once per rule and dispatch mode, and each of those ten schedules again after double justification. The best found is the minimum over the twenty computed schedules. Each rule, and each justification, is a heuristic; none is called optimal unless it reaches the lower bound, the greater of the dependency-only bound and the resource bound.
- Cost
- Ten kernel runs and ten justifications; a few milliseconds each for the hull program.
- Verification
- On 200 seeded random networks every rule is feasible under both dispatch modes; on 200 small networks no rule beats the exact optimum (every activity order, every eligible unit), and each rule’s gap is measured and pinned. Measured gaps in days on those networks: latest finish 0 on 188, 1 on 9, 2 on 2, 3 on 1; most successors 0 on 183, at most 3; earliest start 0 on 159, at most 4; shortest processing time 0 on 146, at most 5; greatest resource demand 0 on 148, at most 7.
- Failure cases
- A priority rule can miss the optimum, and the best of twenty heuristic schedules can too: the gap to the bound is printed, and a better schedule may exist inside it. The ranking of rules on one network says nothing about another; the measured gaps describe random test networks, not a yard.
- Module
apps/web/src/lib/yard/analysis.ts; verified byapps/web/src/lib/shipbuilding/__tests__/schedule-kernel-rules.test.ts,apps/web/src/lib/yard/__tests__/analysis.test.ts.
The same scheme on capacities standing: heuristic
- Problem
- The kernel’s schedule generation stated over renewable resources with a capacity each and a demand per activity, the form in which the scheduling literature measures schedulers, so the yard’s scheme can be tested against published results.
- Inputs
- Activities with whole-day durations, predecessors, release days and a demand on each resource; each resource’s capacity.
- Assumptions
- A resource is a capacity, not named units: no eligibility and no reserved days. Demand is held on every day an activity runs; work is not pre-empted.
- Constraints
- Precedence, Release days, Capacity of every resource on every day.
- Algorithm
- Serial schedule generation (Kolisch 1996) with the kernel’s own priority keys and tie-breaks: the ready activity with the lowest key starts on the earliest day every resource it needs has room for its whole duration. Greatest resource demand weighs duration by total demand. A priority-rule heuristic, never called optimal.
- Cost
- Quadratic in activities times duration times resources; 0.4 ms per 30-activity benchmark instance in the run of 2026-10-28.
- Verification
- Where every unit is its own resource of capacity 1, it returns the unit kernel’s starts and finish exactly, for every rule and both dispatch modes, on 200 seeded networks of 14 and of 30 activities. Where a class has two interchangeable units it agrees on most of those networks and is never later on them; where it differs, the unit kernel had already split a free slot between two units, and every cumulative schedule still fits on the units. Feasible on every day on 200 random cumulative networks.
- Failure cases
- A capacity is not a crane: a schedule that fits a capacity can still need a reassignment of named units, which the yard’s own kernel makes when it places work. Like the unit kernel, a priority rule can miss the optimum; the benchmark measures by how much.
- Module
apps/web/src/lib/shipbuilding/schedule-kernel-cumulative.ts; verified byapps/web/src/lib/shipbuilding/__tests__/schedule-kernel-cumulative.test.ts.
Double justification standing: heuristic
- Problem
- Whether a feasible schedule can finish sooner by sliding its work: every operation as late as the others and the finish allow, then every operation as early as the others allow.
- Inputs
- A feasible schedule and its network: on the yard, the kernel’s schedule with eligible units and reserved days; on the benchmark, a schedule over capacities.
- Assumptions
- One right pass then one left pass (Valls, Ballestin and Quintanilla 2005), each in a fixed order: latest finish first, then earliest start first. An operation may move to another unit it is eligible for; the others stay put while it moves.
- Constraints
- Precedence, Release days, Unit capacity or resource capacity, Eligibility, Reserved intervals.
- Algorithm
- Each move keeps the schedule feasible and staying put is always allowed, so the finish never grows. A heuristic improvement, never called optimal. On the benchmark it moves the latest finish rule from a mean deviation of 5.12 percent to 3.69 percent, shortening it on 138 of 480 instances.
- Cost
- Two passes, each placing every operation once against the others: quadratic in operations.
- Verification
- On 200 seeded unit networks of 14 and of 30 activities, with reserved days and eligibility, under every rule and both dispatch modes, and on 200 cumulative networks, the justified schedule keeps every constraint and is never longer; how often it is shorter is measured and pinned. On the hull program it is run on all ten strategies and never lengthens one.
- Failure cases
- It can leave a schedule unchanged; the yard’s lower bound then says how much could still be gained. One pass each way is a fixed effort; repeating it or searching more orders could find more and is not done.
- Module
apps/web/src/lib/shipbuilding/schedule-kernel-justify.ts; verified byapps/web/src/lib/shipbuilding/__tests__/schedule-kernel-justify.test.ts,apps/web/src/lib/shipbuilding/__tests__/schedule-kernel-cumulative.test.ts,apps/web/src/lib/yard/__tests__/analysis.test.ts.
Resource lower bound standing: bound
- Problem
- A finish no schedule can beat that counts the work the units must do, not only the longest dependency chain.
- Inputs
- The network: durations, predecessors, release days, each operation’s eligible units and each unit’s reserved days (or each resource’s capacity).
- Assumptions
- Work is treated as divisible across days and units, which only loosens the bound. An operation’s head is its earliest start with releases; its tail is the longest chain of durations after it.
- Constraints
- No schedule finishes before the bound.
- Algorithm
- For every group of units (each class, and each set of eligible units) and every pair of a head and a tail threshold taken from the operations, the work that may run only on the group, starts no earlier than the head and leaves at least the tail after it must fit in the group’s unreserved unit-days between the two: the finish is at least the head, plus the days that work needs, plus the tail. With both thresholds at their least this is the capacity bound of the scheduling literature (Klein and Scholl 1999 survey it); the thresholds are the heads-and-tails strengthening. The bound reported is the greater of this and the critical path.
- Cost
- Groups times tail thresholds times operations, with a sort: a few milliseconds for the hull program.
- Verification
- Never above the exact optimum on 200 small unit networks with reserved days and eligibility, nor on 200 small cumulative networks, both searched completely; checked by hand on networks whose answer is known. On the benchmark it never exceeds a published optimum, and it rises above the critical path on 88 of 480 instances, by 8.47 days on average, closing 29.56 percent of the gap from the critical path to the optimum there.
- Failure cases
- A bound proves nothing above itself: a schedule above it may still be optimal, and the gap between the two is printed as what is not known. Divisible work and preemption are ignored, so where one long operation dominates the bound is loose. On the benchmark it narrows gaps and closes none: it reaches the optimum on none of the 88 instances where it rises above the critical path, so each of the 216 instances where the lower bound equals the optimum is one where the critical path already does.
- Module
apps/web/src/lib/shipbuilding/schedule-kernel-justify.ts; verified byapps/web/src/lib/shipbuilding/__tests__/schedule-kernel-justify.test.ts,apps/web/src/lib/shipbuilding/__tests__/schedule-kernel-cumulative.test.ts,apps/web/src/lib/shipbuilding/__tests__/psplib-bench.test.ts.
The scheduler on the standard benchmark standing: heuristic
- Problem
- How far the yard’s scheduling scheme stands from proven optima on the standard academic test set, so its quality is measured outside the yard and against results it did not produce.
- Inputs
- The 480 instances of the PSPLIB j30 single-mode set (Kolisch and Sprecher 1997), 30 activities on four renewable resources each, and their optimal makespans (Demeulemeester and Herroelen), fetched from a pinned public mirror and checked against a SHA-256 manifest. The instance files are third-party data and are not in this repository; the results file is.
- Assumptions
- The benchmark is stated over capacities, so it measures the scheme, not the yard’s eligibility or reserved days. Runtimes are those of the machine that ran it, comparable only within one run. The instances are generated test networks from the literature, not shipyard data.
- Constraints
- Every schedule checked for precedence and capacity on every day, Every makespan at least its published optimum and every bound at most it, or the run stops.
- Algorithm
- Three methods on every instance, each a heuristic: serial scheme, latest finish time, one pass; serial scheme, latest finish time, then double justification; five priority rules, each justified, best taken. Deviation is the makespan above the optimum as a share of the optimum. The rows are then read apart: the instances whose optimum is their critical path from those where resources lengthen it, a schedule that matches the published optimum from one the kernel’s own lower bound can certify, each step’s gain over the one before, and each parameter index the instance names carry.
- Cost
- 2.7 ms per instance for the multi-pass in the run of 2026-10-28.
- Verification
- Run of 2026-10-28. Serial scheme, latest finish time, one pass: mean deviation from the optimum 5.12 percent, largest 33.90 percent, optimal on 243 of 480. Serial scheme, latest finish time, then double justification: mean deviation from the optimum 3.69 percent, largest 25.42 percent, optimal on 268 of 480. Five priority rules, each justified, best taken: mean deviation from the optimum 1.93 percent, largest 15.63 percent, optimal on 316 of 480. From the same rows: the optimum is the critical path on 216 instances, where the multi-pass is optimal on 211; resources lengthen it on 264, where the multi-pass is optimal on 105 with a mean deviation of 3.41 percent. Double justification shortens the one-pass schedule on 138 instances and the multi-pass shortens the justified one on 147; no step lengthens one. By parameter index (48 parameter indices of 10 instances each), every optimum is the critical path on indices 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44 and 48, and the multi-pass’s mean deviation runs from 0.00 percent to 9.52 percent (index 13). The results file is checked against its own rows, the manifest it names and the code that wrote it; the committed instance it may carry reproduces its row.
- Failure cases
- A heuristic misses the optimum on many instances: the largest deviation is printed beside the mean. The yard’s rule calls a schedule optimal only at the kernel’s lower bound, and where resources lengthen the optimum that rule certifies nothing: of the 264 such instances the multi-pass matches the published optimum on 105 and the kernel can prove none of them, not even on index 18, where it matches every optimum. Every schedule it certifies (211 for the multi-pass) is on an instance whose optimum is its critical path. The headline mean is diluted by the 216 instances whose optimum is their critical path: on the 264 where resources lengthen it the multi-pass averages 3.41 percent above the optimum, against 1.93 percent over all 480. Only the 30-activity set is measured; larger sets are not measured here. These methods build one to five schedules per instance. Published metaheuristics are compared at thousands of schedules per instance (Kolisch and Hartmann 2006), so this is a baseline for the kernel, not a match for them.
- Module
apps/web/scripts/bench-psplib.mjs; verified byapps/web/src/lib/shipbuilding/__tests__/psplib-bench.test.ts.
Recovery from one disruption, four ways standing: simulation
- Problem
- When one disruption becomes known part-way through a schedule, how keeping the schedule, a local right-shift repair, a one-pass reschedule and the multi-pass compare on finish, feasibility, lateness and instability, and where each does badly.
- Inputs
- The hull program’s network and 48 PSPLIB j30 instances (every tenth in the bench manifest’s order, one per parameter index), each under four disruptions placed by a rule fixed and committed before the run: a material delay, a predecessor delay, a resource window and a capacity reduction, each known on the day a third of the way through the baseline and sized at a tenth of it. 47 of the 48 j30 instance files are third-party data, fetched from the bench manifest’s pinned mirror into the gitignored cache and checked against its SHA-256, and are not in this repository; the release gate reproduces only the hull program’s rows and the committed instance’s, 8 of 196. The whole run is `pnpm bench:disruption`.
- Assumptions
- One disruption at a time, known exactly when it happens: no uncertainty about its size and no second event. Work started before the event is frozen and never pre-empted; nothing unstarted starts before the event. The baseline is the kernel’s default one-pass schedule. The right-shift repair is a labelled comparison: no yard plan or recovery search reads it.
- Constraints
- Every schedule checked by the kernel’s checkers for precedence, release, capacity, eligibility and reserved days, The results record the SHA-256 of the definition they were run under, and the test refuses any other.
- Algorithm
- Keep: the baseline unchanged, feasible only if it breaks nothing. Right-shift: work in baseline order on its baseline unit, each at the earliest free day at or after its baseline start. Reschedule: the kernel’s serial scheme with the latest-finish-time priority rule, one pass, on the remaining network. Multi-pass: the five priority rules, each double-justified, the least makespan taken. Each scheduling method is a heuristic; a row is optimal only where a method reaches the kernel’s lower bound for the remaining network.
- Cost
- Milliseconds per row. The script prints wall-clock time and does not store it, so the results file reproduces byte for byte.
- Verification
- Run under the definition whose SHA-256 begins bb668fd97208. On the 192 PSPLIB rows the mean makespan change of right-shift, the one-pass reschedule and the multi-pass is 3.02, 1.92, 0.79 days for a material delay; 3.15, 2.81, 1.90 days for a predecessor delay; 3.29, 3.19, 1.81 days for a resource window; 5.75, 4.04, 3.00 days for a capacity reduction. Keeping the baseline survives 3 of 192 (a material delay 0, a predecessor delay 0, a resource window 2, a capacity reduction 1). The multi-pass finishes before the one-pass reschedule on 60 rows and after it on none, and reaches the lower bound on 67 of 192, 6.19 days above it on average and 36 at most. On the hull program (baseline day 60), right-shift loses 3 days to a predecessor delay and 5 to a capacity reduction, where the multi-pass loses 2 and 0. The expectations written before the run, read off all 196 rows: keeping the baseline fails every material delay: held on all 49 material-delay rows, true by construction (the delay moves the target’s earliest start past its baseline start); right-shift displaces the fewest activities among the feasible methods that recover: failed, holding on 137 of 196 rows, because one pushed activity pushes the work behind it in baseline order; and right-shift loses makespan where a disruption could be routed around: failed, holding on 54 of 98 resource windows and capacity reductions, level with the better rescheduling method on 44 and sooner on 0; the multi-pass never finishes later than the one-pass reschedule: held on all 196 rows, true by construction (the multi-pass takes the least of five rules, the one-pass reschedule’s among them, and double justification never lengthens a schedule); and moves more work to get there: failed, holding on 32 of 196 rows; it displaces more activities on 32, fewer on 24 and as many on 140, and its instability is higher on 52, lower on 30 and equal on 114. Every figure is recomputed from the committed rows; the hull program’s rows and the committed PSPLIB instance’s are recomputed from the kernel on every test run.
- Failure cases
- Keeping the baseline fails every material delay by construction and survives 3 of the other 144 disruptions: a reference, not a recovery. Right-shift is the worst feasible method on makespan on 28 of 48 capacity reductions and 18 of 48 resource windows: it never moves work to another unit or into capacity freed elsewhere. A one-pass reschedule from the event is a heuristic and can lose to waiting: right-shift finishes sooner on 11 of 192 rows. The multi-pass has the largest instability of the feasible methods on 62 of 192 rows, but that does not make it the method that moves more work than the one-pass reschedule: against that one alone it moves more on some rows and less on others, as the expectations above count. A deterministic stress test on one synthetic yard network and generated benchmark networks: not a probability, a forecast or shipyard data. On the hull program the rule places the material delay on JOIN-B30, because the rule picks work by its start, not by the material it draws.
- Module
apps/web/src/lib/shipbuilding/bench/disruption-recovery.ts; verified byapps/web/src/lib/shipbuilding/__tests__/disruption-recovery.test.ts,apps/web/src/lib/yard/__tests__/methods.test.ts.
The chain that sets the finish standing: rule
- Problem
- Which operations, and which waits between them, decide the delivery day of a schedule that resources have levelled.
- Inputs
- The kernel’s schedule of a feasible plan.
- Assumptions
- The chain describes the schedule the heuristic produced, not every schedule the network allows. Where an operation waited for a unit, the link is the work of the same class that finished as it started, the first by id when several did.
- Constraints
- Each link starts on the day the link before it finishes, Each link gives its reason: precedence, resource, reserved unit, release day or day zero.
- Algorithm
- Traced inside the kernel back from the last finish: an operation that did not queue follows the predecessor whose finish released it; one that queued follows the work of its class that held the unit, or ends at the reserved interval that held it.
- Cost
- Linear in the chain’s length times the operations scanned per step.
- Verification
- On every feasible plan the yard computes, the last link finishes on the delivery day, each link starts as the one before it finishes, every reason is consistent with the schedule, and the chain is exactly the operations the kernel marks as setting the forecast.
- Failure cases
- A trace that reaches a reserved interval or a release day stops there; what set that interval or release is a record, not a link. Ties between work finishing on the same day are broken by id, so another equally valid chain may exist.
- Module
apps/web/src/lib/shipbuilding/schedule-kernel.ts; verified byapps/web/src/lib/yard/__tests__/analysis.test.ts.
Bottlenecks and contention standing: exact
- Problem
- Where capacity binds: how busy each class and unit is, the queue days each caused and how many sit on the chain, and the days when more work is ready than units are free.
- Inputs
- A feasible plan’s schedule, its units’ reserved intervals and the scenario’s outages.
- Assumptions
- Utilization is busy days over days not reserved, over the plan horizon and over the window the class’s work is needed. Demand counts operations ready or running; eligibility is not folded in.
- Constraints
- Utilization in [0, 1], A contention window is a maximal run of days with demand above available units.
- Algorithm
- Counting over the schedule day by day; the top bottleneck is the class whose queues cost the chain most, then the most queue days overall.
- Cost
- Days times operations; under a millisecond for the hull program.
- Verification
- Busy and queue days add up to the schedule’s; contention windows are exactly the days where demand rebuilt from predecessors and release days exceeds available units; utilization stays in [0, 1] on every plan the yard computes.
- Failure cases
- An operation can wait for the one crane rated for its lift while another stands idle: the queue days show it, the demand count does not. High utilization is not a bottleneck by itself; a busy unit off the chain does not move delivery.
- Module
apps/web/src/lib/yard/analysis.ts; verified byapps/web/src/lib/yard/__tests__/analysis.test.ts.
One-at-a-time sensitivity of delivery standing: simulation
- Problem
- How far delivery moves when one duration or one lot arrival moves, and which operations are critical once resources are levelled.
- Inputs
- The program, a scenario, the duration deltas (default minus one, plus one and plus two days) and the lot delays (default three and six days).
- Assumptions
- One input moves at a time; interactions are not measured. A shortening applies only to work of two days or more; gates are not moved. Every variant is scheduled by the kernel’s heuristic.
- Constraints
- Every variant is a full plan: allocation, eligibility and the kernel.
- Algorithm
- Each variant is compiled as the scenario plus one event on a copy of the records; rows are ranked by the spread of delivery shifts (a tornado). An operation whose extra day moves delivery a day is critical in this schedule; one whose extra day moves nothing absorbs it; larger or negative moves are reported as amplified or anomalous.
- Cost
- One plan per variant: about two hundred plans and a fifth of a second for the hull program.
- Verification
- Rows cover every operation with work and every lot; swings are recomputed on a path of their own by editing the records directly; the criticality lists agree with the plus-one variant.
- Failure cases
- A priority-rule heuristic can move delivery by more than the input or against it; the table shows such anomalies rather than smoothing them. Nothing in the table is a prediction: it describes this synthetic program under one change at a time.
- Module
apps/web/src/lib/yard/sensitivity.ts; verified byapps/web/src/lib/yard/__tests__/sensitivity.test.ts.
Recovery trade-off frontier standing: exact
- Problem
- Which recovery plans are worth arguing over before any weights are chosen.
- Inputs
- A recovery search: every subset of the applicable levers, each scheduled.
- Assumptions
- Four objectives, all lower is better: completion day, purchase premiums, added crew-days and operations moved. Each plan’s schedule is the kernel’s heuristic, so a frontier over levers is not a frontier over schedules.
- Constraints
- Refused plans are listed with their refusal, never placed on the frontier.
- Algorithm
- Pairwise Pareto dominance over the feasible plans: efficient when no plan is at least as good on every objective and better on one; a dominated plan names every plan that dominates it, efficient ones first.
- Cost
- Quadratic in plans; at most 4096 plans.
- Verification
- On every incident’s search no efficient plan is dominated, every named dominator dominates, and efficient and dominated plans together are exactly the feasible ones.
- Failure cases
- Exact over the levers searched only: a lever not offered is not on the frontier. Equal plans are both efficient and named as ties; choosing among efficient plans is a decision for the function named on each lever.
- Module
apps/web/src/lib/yard/sensitivity.ts; verified byapps/web/src/lib/yard/__tests__/sensitivity.test.ts.
VeldMind question routing over read-only tools standing: rule
- Problem
- Which engine answers a question about a scenario, and how to say its answer without claiming more than the engine computed.
- Inputs
- A question, the scenario it is asked against (and the run the caller saw), an optional selected record, and the registry of scenarios compiled by the incident engines.
- Assumptions
- Only the documented question shapes are answered; the patterns are fixed, so a phrasing outside them is reported as not supported rather than guessed. Intent is read from the question alone; text inside a record is data and never chooses a tool.
- Constraints
- Every tool reads; none approves, applies, records or transitions anything, Parameters are validated: a known scenario, an entity the scenario holds and of the kind asked, whole numbers in range, Every claim carries one label and refs that resolve, A request to act, an instruction in the question, an unknown scenario or a stale run is refused before any tool runs.
- Algorithm
- Fixed patterns and record-id mentions select one intent; more than one is reported as ambiguous. The intent maps to a tool plan, each tool calls the engine that owns the answer, and each sentence is composed by fixed code from the engine output, every number a stated fact.
- Cost
- One engine call per tool; the scenario registry is compiled once per program.
- Verification
- Every documented example routes to its intent; every refusal code is reachable; a deep freeze of the records changes no answer; a planted instruction in a supplier record leaves the tool plan and every sentence unchanged.
- Failure cases
- A question phrased outside the patterns is not supported even when a tool could answer it. An answer is exactly as good as the engine behind it: a heuristic schedule stays a heuristic in every sentence that cites it.
- Module
apps/web/src/lib/yard/veldmind-tools.ts; verified byapps/web/src/lib/yard/__tests__/veldmind-tools.test.ts.
VeldMind evaluation set standing: rule
- Problem
- Whether the router chooses the right tool and states only what the engines computed, on a fixed set of questions.
- Inputs
- A fixed set of questions: every supported intent asked several ways, ambiguous, unsupported, injected and planted questions, unknown records, out-of-range numbers and wrong or stale scenarios.
- Assumptions
- Expected facts are recomputed from the engines on their own path each time the evaluation runs, never copied from a run. The set is deterministic, so every measure is required at its maximum.
- Constraints
- Seven measures: tool selection, grounding, numerical consistency, evidence attribution, version correctness, unsupported-claim avoidance and unsafe-action rejection.
- Algorithm
- Each question is answered by the router and scored on every measure that applies to it; a falsified answer is scored too, so each measure is shown to fail.
- Cost
- One router call per question, a few seconds for the set.
- Verification
- Every measure scores its maximum on the set, and a falsified answer fails the measure it falsifies.
- Failure cases
- A fixed set measures only the questions in it; a phrasing outside it is not measured.
- Module
apps/web/src/lib/yard/veldmind-eval.ts; verified byapps/web/src/lib/yard/__tests__/veldmind-eval.test.ts.