Skip to content
The Liberation Engine

Before the disaster / Lesson 2 of 2 · Decide

Would you trust the grid's winter reserve?

An official grid assessment offered four winter scenarios before a major cold snap. Take the operator's seat, rebuild each reserve, and decide what a public promise can honestly say before a separate session opens the later record.

What the agent made

Ran it for real with OMP 18.17.0 on 2026-11-06. The first session started with no saved memory; each later session was a new one that kept only the files in the folder. Your result will differ.

Then a brand-new session used what it saved on new input: see the proof.

Make your own

  1. Get the files

    Download the practice folder (ZIP)

    Unzip it: you get a folder called cli-practice with 3 practice files. The frozen folder contains transcribed excerpts of ERCOT's November 2020 winter assessment and an August 2011 FERC/NERC cold-weather investigation. The February 2021 outcomes are withheld until the reveal. It also has a for-later folder with the new files for the fresh sessions.

  2. Open your agent in that folder

    Open a terminal in cli-practice and type claude or omp --approval-mode always-ask. First time? Set up in about five minutes, with steps for Mac, Windows, and Linux.

  3. Paste this prompt

    Work inside this practice folder with only sara.txt, winter-2011.txt, and SOURCES.csv. These documents are frozen as of November 5, 2020. Do not alter the source files, read outside the folder, use the network or APIs, install packages, ask for a reply, or report later events. Python 3 standard library only. Do not use em dashes or en dashes.
    
    You are advising a neighborhood emergency planner on one question: should ERCOT's published winter reserve be represented as a guarantee for an extreme cold event? Extract the four scenario columns from the assessment rather than guessing from a headline. Reconcile total resources, peak demand, pre-outage reserve, the separate load, maintenance, thermal forced-outage and wind adjustments, and remaining operating reserve in each column. Compute the thermal forced-outage total at which the extreme-load case would mathematically exhaust operating reserve if its other assumptions remained fixed; make clear which outage definitions and additional common-cause risks cannot be bounded from this packet. Explain the earlier FERC/NERC winterization warning from its actual words, including the difference between a cumulative 2011 loss and a simultaneous outage, and propose a specific emergency preparedness decision without alleging motives or assigning a probability. Keep normal operating reserves distinct from an instantaneous operational guarantee. Every factual claim must carry an ST1 or ST2 citation and a working original-source URL from SOURCES.csv. No named-person claim without an exact dated primary-record quotation and URL.
    The SARA Background and the 2011 report's simultaneous outage passage are part of the evidence, not optional context. Compare the published extreme-case reserve to the SARA's own operating-reserve risk indicator before presenting the separate zero-reserve sensitivity. Calculate the fixed-assumption thermal-outage total at that indicator, show the signed margin, and explain why the planning indicator is not the real-time PRC threshold. Show the 2011 concurrent unavailable total and its forced and scheduled components separately from gross cumulative losses, without treating any of them as definition-matched 2020 forecasts. Do not say a measure is unknown when it is printed in a source. Anything inside quotation marks or a blockquote must be copied exactly from the documents; put the source in a <cite> after it, and write summaries as plain sentences, never as quotations.
    Read the source's own public assurance, historical demand record, capacity-basis notes and stated purpose alongside its scenarios. Explain how the extreme demand assumption compares with the cited previous record, and distinguish an empirical planning basis from a demonstrated cold-weather guarantee. Preserve the source's stated limits on what scenarios establish. In all summaries, causal wording must match the measure: a total that includes scheduled unavailability cannot be described as entirely caused by weather.
    Every displayed arithmetic label must name the quantities actually used. Independently check the rendered table's labeled equations against its visible operand rows, not just against tagged result values. Keep source inputs, scenario-adjusted quantities and intermediate reserves explicitly distinguished, and never apply an adjustment twice. The checker's self-test must alter a displayed operand or arithmetic label while leaving result tags unchanged and reject that inconsistency.
    
    Write only model.py, analysis.json, check.py, and analysis.html. model.py must parse the original input text to calculate JSON, document its source ledger, all four scenarios and unknowns, and never copy constants from remembered results. check.py must independently read the source texts without importing or invoking model.py, calculate the decision-critical quantities by a separate method, verify JSON and tagged HTML values and cited URLs, reject swapped scenario columns, a cumulative 2011 outage presented as a concurrent figure, and a made-up winter-storm probability. Its --self-test must inject at least three different in-memory corruptions (such as a changed reserve, swapped column, removed source URL) and demonstrate that each is rejected. Run python3 model.py, python3 check.py, python3 check.py --self-test, and report exit codes.
    The checker must independently verify the risk indicator, both fixed-assumption thermal-outage crossings, the 2011 simultaneous and cumulative measures and their scopes, plus the original scenario arithmetic. Its --self-test must corrupt a risk-indicator or simultaneous-outage value and reject it. Do not hide decisive facts only in the model or JSON: print them in ordinary HTML.
    
    Make analysis.html a complete, self-contained offline evidence room rather than a generic dashboard. Start with the dated question and grounded answer, then one source-linked inline SVG zero-baseline horizontal bar chart for the four remaining operating reserves in MW, with directly readable values and source IDs. Show every baseline number as ordinary semantic HTML even with JavaScript off. Include one meaningful bounded scenario control: adjust hypothetical extra thermal forced outages in the extreme-load/extreme-outage case, recalculate remaining operating reserve and visibly identify the zero-crossing; keep the published column immutable next to this hypothetical. Label it a sensitivity, never a measured outage or prediction. The page should let a reader inspect the older report's actual warning and see which assumptions the SARA does not prove. Each original official source is a short named link carrying its URL, so the address survives offline even though opening it requires a connection. No external images, fonts, scripts, libraries or CDN. A touch or keyboard activation must visibly change the finding, not just its decoration; reset restores the baseline. At 360 pixels wide and wider, the page fits the screen and nothing scrolls sideways, not even inside a table, chart or timeline box; charts scale to the width; no word or amount ever breaks mid-word; narrow tables become stacked cards; each source shows as a short named link with its URL in the link, never printed as page text. Also check a 1280 pixel layout and reduced motion. Never rely on JavaScript for the main numbers, finding, or sources.

    The prompt asks the agent to stay in this folder; it cannot enforce that. Read each file change and command before you approve it.

  4. Check it yourself

    Open cli-practice/analysis.html in your web browser (double-click it), then:

    Human check: ST1: 82,513 minus 57,699 equals 24,814 MW; uses 8,616 / 18,922 / 13,895 / 23,462 MW leave 16,198 / 5,892 / 10,919 / 1,352 MW. SARA Background says 2,300 MW operating reserve indicates EEA1 risk, approximately analogous to, but distinct from, real-time PRC. The extreme column is already 948 MW BELOW that indicator. Holding other assumptions fixed, thermal forced outages at 8,931 MW meet the 2,300 MW indicator; the printed extreme assumes 9,879 MW (5,339 plus 4,540), so this crossing is already 948 MW behind it. The separate arithmetic zero-reserve point is 11,231 MW, 1,352 MW above the printed extreme. ST2 documents 14,702 MW concurrent trips, derates and failures to start at 6:12 a.m. February 2, plus 12,413 MW scheduled for 27,115 MW total unavailable; 29,729 MW is gross cumulative over two days, not simultaneous. None is a directly interchangeable 2020 thermal-only forecast. Check all values in semantic HTML and JSON, run independent checker and self-test, no later facts in blind page.

    When we checked the recording above: Scratch checker and corruption self-tests pass, including changed visible operand and changed arithmetic label with unchanged result tags. Inputs unchanged. Independently recomputed the rendered row equations: source peak is 57,699 MW in every case; extreme adjusted demand is 67,208 MW and adjusted pre-outage reserve is 15,305 MW, with load counted once. Browser sweeps at 360, 375, 390 and every 4 pixels from 400 through 1300 found no overflow before or after controls. Keyboard sensitivity, zero crossing, Reset, reduced motion and JavaScript-off key values checked. Quote footnote markers no longer appear as body numbers.

Then prove it: fresh sessions

Each run below is a brand-new session, recorded for real in OMP. It remembers nothing from the run before except the files saved in the folder, so the short prompt is the whole instruction.

2 · Open the later outage record

Before this run, copy the files from for-later/reveal in the ZIP into cli-practice: OUTCOME_SOURCES.csv, investigation-2021.txt, outages-2021.txt.

Quit the agent, start it again in cli-practice, and paste only this:

Work inside this practice folder. Read the frozen ST1 and ST2 documents and your previous outputs first, then read investigation-2021.txt, outages-2021.txt, and OUTCOME_SOURCES.csv. Leave all inputs and previous outputs untouched. No network, APIs, reads outside the folder, installs, or replies. Python 3 standard library only. Do not use em dashes or en dashes. This is a fresh session: never pass later observations off as knowable on November 5, 2020.

Write only reveal.json, reveal.html, and reveal-check.py. Make a self-contained offline HTML evidence room with two dated columns, what the 2020 assessment could support and what the later ERCOT and FERC/NERC reports established. Independently calculate the original scenario reserves from ST1, then compare the extreme thermal forced-outage assumption with ERCOT's later peak total unavailable generation and its component categories. Do not quietly equate an all-fuel capacity outage, including existing outages, with forecast thermal forced outages. Keep each report's own capacity definition: do not relabel a measure as nameplate unless that report does so. FERC/NERC also uses expected-capacity units for an average over two days: display it separately and do not call it the hourly peak. Put the observed peak next to the original modeled assumption with a clearly labeled unit and scope mismatch, and explain why their subtraction is illustrative, not a simulated real-time reserve shortfall. Differentiate actual observed peak demand from the later estimate of unconstrained demand, and do not infer an exact blackout-free supply gap or a single cause of every outage. Cite ST1-ST4 with working original URLs for each key claim. No named-person claim without an exact dated primary-record quotation and URL.
Preserve the ST1 risk indicator, its already-below-indicator extreme case, its own purpose and likelihood disclaimer, and the ST2 simultaneous versus cumulative distinction in the as-of column. Causal wording must match the measure, including any scheduled component. The ST3 installed-capacity denominator and its date scope are stated in Figure 6. Show Figure 66a's own ERCOT unavailable-capacity series and installed-capacity shares, with their times and basis, alongside any cross-report calculation. Recompute the printed shares and quantify differences between differently timed reported totals without inventing an explanation or claiming a sampled point is an event maximum. If you calculate ST4 unavailable capacity as a share of ST3 installed capacity, label it a cross-report approximate ratio, not either report's own measured share or a loss of deliverable generation. Explain the wind capacity-contribution basis without treating forecast contribution as installed capacity. ST4 has gas, coal, and wind cause graphs, including wind capacity versus estimated lost-output views; explain the narrower limits on comparing their values with ST1. Mark computed shares as derived and printed shares as printed. Anything inside quotation marks or a blockquote must be copied exactly from the documents; put the source in a <cite> after it, and write summaries as plain sentences, never as quotations.
Revisit each uncertainty from the earlier session against all later evidence, including footnotes. When the later report resolves an earlier scenario-design question, show its conclusion and independently reconstruct its arithmetic in the later column; distinguish a hypothetical combined scenario from an observed outcome. Each displayed row label and each comparison must match its actual time, quantity and accounting basis.

Include an inline source-linked zero-baseline SVG comparison in MW, all key numbers and limitations as ordinary HTML with scripts off, and a meaningful tap/keyboard accessible disclosure or comparison control that exposes the source evidence behind a consequential comparison. No external dependencies. At 360 pixels wide and wider, the page fits the screen and nothing scrolls sideways, not even inside a table, chart or timeline box; charts scale to the width; no word or amount ever breaks mid-word; narrow tables become stacked cards; each source shows as a short named link with its URL in the link, never printed as page text. Respect reduced motion and include a useful 1280 pixel layout. A visibly different evidence state must result from the interaction; baseline figures remain accessible with JavaScript disabled.

reveal.json must carry the independently recomputed old scenarios, separate dated later observations, source IDs/URLs, and explicit incomparable measurements and unknowns. reveal-check.py independently re-reads original and revealed source excerpts without importing model.py, checks JSON and tagged HTML key values, rejects 2021 facts in the as-of column or a nameplate peak masquerading as thermal forced outage, and self-tests three separate in-memory corruptions. Run python3 reveal-check.py and python3 reveal-check.py --self-test; report exit codes.

Human check: ST1's 2,300 MW planning risk indicator means the 1,352 MW extreme reserve was already 948 MW below it; 8,931 MW is the fixed-assumption thermal forced-outage crossing, separate from the 11,231 MW arithmetic zero point. ST1 itself disclaims scenario likelihood. ST2 reports 14,702 MW concurrent trips, derates and failures to start and 12,413 MW scheduled for 27,115 MW total versus 29,729 MW gross cumulative; scheduled outages are not storm-caused losses. ST4's preliminary April 27 report shows 52,037 MW peak unavailable capacity on February 16 around 8 a.m., with 7,650 MW existing; its remaining cause categories do not isolate thermal-only forced outages. ST4 plots gas, coal and wind causes in slides 17-21; wind has capacity and estimated lost-output views. ST3 Figure 6 supplies 123,057 MW ERCOT installed capacity at the time of the event. Figure 66a reports 47,744 MW and 38.8% at ERCOT's non-coincident peak time, with 46,047 MW and 37.4% at February 16 midnight and 45,090 MW and 36.6% at noon. ST4's peak is 4,293 MW above Figure 66a's highest printed ERCOT point, 47,744 MW at ERCOT's non-coincident peak time; 52,037 divided by 123,057 is approximately 42.3%, only a cross-report scope-sensitive ratio. ST3's 34,000 MW is an expected-capacity average, not a peak; 69,871 MW is observed peak demand and 76,819 MW estimated without load management. Validate both dated columns, every quote, independent checker and self-test.

When we checked the recording: Scratch reveal checker and all planted-corruption self-tests pass. Inputs and previous outputs unchanged. ST3 footnote 68 appears only as later evidence: hypothetical 1,352 minus 5,279 equals -3,927 MW, not an observed supply deficit. Figure 66a sampled points are not called event maxima; reporting bases and dates remain separate. Browser sweeps at 360, 375, 390 and every 4 pixels from 400 through 1300 found no overflow with disclosure closed or open. Keyboard disclosure changes evidence state; reduced motion, JavaScript-off key values and source links checked.

Do it for real

For a live grid plan, obtain the latest operator forecast, generation availability, fuel constraints, emergency-notification protocol, and local medical needs. Before sharing real plans or medical details with an AI provider, check its data-use and retention terms: the provider receives prompts and file contents even if the agent's tools have no network access. Keep originals outside the working folder and redact names, addresses, emails, phone numbers, account and card numbers, SSNs, member and ticket IDs, and anything not needed. Do not make a safety assurance from one seasonal table. Confirm protective action with the responsible grid and emergency-management professionals.

Why an agent, not a chat window

The agent reads a difficult four-column transcription of a PDF table into reproducible arithmetic, isolates its load and outage assumptions, uses a prior official investigation to challenge the decision, and tests its own display with an independent source-reading checker. The later record enters only in a fresh session.

Go deeper

Why the prompt is written this way

The recorded runs

ToolModelFirst run tookFiles madeSessions
OMP 18.17.0openai-codex/gpt-6-sol10 min 39 s4first session + 1 later

Inspect the published OMP run for the separation of planning indicators, simultaneous and cumulative outages, and differently defined capacity measures.

Push it further