Substrate Repair Protocol¶
Protocol — instantiates Stock-First Control Restoration
Rebuilds the damaged carrying structure of the stock itself — not merely its level — so the flow lever has an intact medium to act through again.
Substrate Repair Protocol fixes the stock when the problem is structural: the medium that holds and transmits the stock is broken, so no amount of the flow lever — and no amount of refilling — restores the outcome. Its defining target is carrying capacity, not quantity. You can pour in as much as you like, but a broken container will not hold or conduct it; the repair therefore operates on the substrate itself, rebuilding the medium so that ordinary control has something intact to act through. It is the tool for the one case where both "push harder" and "top it up" fail for the same underlying reason.
Example¶
After a hard freeze, a city's water distribution network suffers widespread main breaks. Pumping harder — turning up the pressure lever — does not restore service: the pressure escapes through the breaks, and pushing harder simply bursts more mains. The stock's carrying structure is damaged, so it sits outside the range where the pressure lever converts into delivered water. The repair protocol isolates the network section by section, repairs or replaces the damaged mains, and verifies that each restored section can hold pressure before it is brought back — only then re-pressurizing.
The point of the sequence is that the object being fixed is the medium, not the water in it: success is measured by restored ability to carry throughput, not by how much was pumped in. Once the structure is sound, the ordinary pressure lever once again turns into delivered flow, and control can resume.
How it works¶
The protocol first locates the damage in the substrate — where and how the medium is broken — then repairs the structure rather than adding more of the stock, and finally verifies that the repaired medium can once again carry throughput before handing back. What distinguishes it from a refill is the object of the work: the container and its ability to conduct, not the level inside it. A repair that restores appearance but not carrying capacity has not done this job.
Tuning parameters¶
- Repair scope — patch only the worst damage or rebuild the whole substrate; deeper repair lasts longer but costs more downtime.
- In-place versus replace — mend the existing structure or swap in new; replacement is cleaner but more disruptive.
- Sequencing of damaged sections — repair the most load-bearing parts first, or the easiest first to restore partial function soonest.
- Load during repair — hold the substrate in a reduced, safe mode while repairing, or take it fully offline.
- Verification depth — a quick check versus a full stress test of restored carrying capacity before resuming.
When it helps, and when it misleads¶
Its strength is that it addresses the actual reason the lever went dead when the fault is structural — the one situation where both refilling and pushing harder are wasted — restoring the medium so ordinary control can work at all. Its costs are real: structural repair is slow and expensive, and misreading mere depletion as damage over-invests, rebuilding a container that was only empty. The classic misuse is cosmetic repair — declaring the substrate fixed because it looks whole, then resuming the lever onto a still-compromised medium that fails again under load. The discipline is to verify restored carrying capacity rather than appearance before handoff, and to confirm from the diagnostic map that the failure is genuinely structural before committing to a full repair.
How it implements the components¶
Substrate Repair Protocol realizes the rebuild-the-structure side of the machinery — the parts that reconstruct the medium itself:
control_mediating_stock— it operates directly on the substrate, rebuilding the medium the lever acts through so that it can carry throughput again.stock_repair_plan— it produces the structural repair plan: what is broken, in what order it is fixed, and to what standard of restored capacity.
It does not set a numeric restoration target or name the refill owner (repair_threshold, repair_owner_and_authority_path → Replenishment or Refill Protocol, which governs topping up an intact reserve), and it does not run the graduated restart (staged_control_reactivation → Staged Lever Ramp); it heals the medium, then hands off.
Related¶
- Instantiates: Stock-First Control Restoration — it restores the substrate whose damage disabled the lever.
- Consumes: Stock-Flow Diagnostic Map — the map identifies the substrate and confirms the fault is damage, not depletion.
- Sibling mechanisms: Replenishment or Refill Protocol · Staged Lever Ramp · Stock-Flow Diagnostic Map · Trust Repair Before Persuasion Rule · Minimum Stock Floor Alert
Notes¶
Damage and depletion often co-occur — a stock that has been abused is frequently both broken and drained. The order that works is structure first, then level, then resumption: repair the substrate so it can hold, refill it to target, and only then ramp the lever back. Refilling before repair pours into a leaking container.