Skip to content
The Liberation Engine

Follow the money: before the collapse / Lesson 2 of 2 · Decide

Can a trading firm survive its worst morning?

A trading firm reports a severe loss after erroneous orders. Its August 2 release is a quantified update, not the first incident disclosure. Make a financing call from the last public capital snapshot, then open the later financing filing and regulator order.

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. Knight Capital's July 18, 2012 earnings exhibit and August 2, 2012 incident exhibit with an EDGAR source ledger. The August 6 financing and October 2013 regulator findings are held back for a fresh session. 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. Read only quarter.txt, disruption.txt and SOURCES.csv. Do not modify those inputs, use the network, install packages, read outside the folder, or ask for further replies. Python 3 standard library only. Use American English spelling in all page copy, such as "collateralized," never British variants. Do not use em dashes or en dashes. It is August 3, 2012: you cannot know any later document. 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.
    
    You are advising a counterparty deciding whether to rely on Knight Capital continuing normal operations without new capital. From the source text, calculate the reported incident loss as a fraction of the last publicly reported total equity and cash. The unaudited statement of financial condition's numeric columns are scaled by 1,000, while the loss estimate is stated in millions. Show a clearly labeled mechanical pre-tax equity subtraction, not a new pro forma financial statement. Explain why a realized pre-tax trading loss is not automatically the same as a dollar-for-dollar change in unrestricted cash, and why June balance-sheet cash and segregated assets cannot tell you the current regulatory capital, funding requirements, customer withdrawal risk, tax effect, or next trading day's liquidity. Give a clear conditional financing call and name the records that would change it. Distinguish what the issuer explicitly said about software installation, erroneous orders, broker-dealer net-capital compliance, and continued trading from what it did not identify about the exact defect or root cause. Treat the August 2 release as an update after a prior disclosure, not the first incident disclosure. Do not guess the mechanism or assert failure, insolvency, or mandatory capital raising as a known legal fact.
    Include the reported long-term debt, goodwill, intangible assets and total liabilities in the capital picture, with source-linked full-dollar amounts. Compute goodwill plus intangible assets and its share of equity. Explain what these consolidated accounting figures do and do not establish about loss-absorbing resources; do not derive a subsidiary regulatory-capital calculation from consolidated balance-sheet lines.
    
    Write only model.py, analysis.json, check.py and analysis.html. model.py parses the given originals and source ledger to produce analysis.json with monetary values in dollars, ratios, source identifiers, as-of date, findings, uncertainties and conditional call. Do not hardcode remembered answers into output. check.py independently re-reads source files without importing or executing model.py, computes the figures by a different method, checks decision-critical JSON and tagged amounts in HTML, validates source URLs, rejects any post-August-3 fact, fabricated exact root cause, or cash figure described as available regulatory capital. With --self-test it must make at least three separate in-memory corruptions of numerical or provenance outputs and demonstrate each is rejected without modifying originals. Run python3 model.py, python3 check.py, and python3 check.py --self-test and report their exit codes.
    
    Make analysis.html a complete self-contained offline editorial incident room, not a generic dashboard. Lead with the consequential financing call, then the dated equity-to-loss bridge and what cannot be inferred. Include one source-linked inline SVG zero-baseline bar chart comparing the last reported equity and approximate loss, in dollars with both labels and source IDs; every decision-critical amount and ratio must also appear in semantic HTML without JavaScript. For all original explanatory page copy, chart labels, tagged values, and interactive control results, express monetary amounts as complete dollar figures with comma separators, such as $440,000,000, never as a thousand-scaled figure, $440M, or $440 million. Explain the source unit scale only as "the source columns are scaled by a factor of 1,000"; the published HTML must not contain the consecutive words `in` and `thousands` anywhere, including provenance notes. Check this in check.py, but leave the original quarter.txt header untouched. Preserve faithful historical source wording, including source monetary units, in clearly attributed quotation elements and raw source fields; do not silently rewrite a quotation to meet the presentation rule. One meaningful touch- and keyboard-friendly control lets a reader apply a clearly labeled hypothetical additional pre-tax loss and recompute remaining equity and share lost beside the unchanged sourced baseline. Its baseline is the issuer's reported loss; a hypothetical is never a new known exposure or a forecast. A tap and keyboard action must visibly change the text, with a static equivalent and a reset. Embed ordinary external source links but load no external styles, scripts, fonts or data. Make the result look designed for this incident: a restrained trading tape or capital bridge, distinct findings and unknowns, visible citations, readable hierarchy. At 390 pixels wide, the page fits the screen; no word or amount ever breaks mid-word; narrow tables become stacked cards. The complete baseline and links remain visible without JavaScript. Respect reduced-motion settings.
    At 360, 375 and 390 pixels and every 4 pixels from 400 through 1300, including tablet widths between 600 and 1000, keep the page and each inner section within the viewport before and after the scenario control changes. In particular, equity-to-loss ratios, chart labels and full-dollar amounts must never push a multi-column card past the right edge; stack cards before their content no longer fits. No internal sideways scrollers or words and amounts broken mid-word.

    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: Recompute the scaled statement values, loss ratios, mechanical pre-tax equity remainder, goodwill plus intangible assets and its share of equity from KC1 and KC2. Include long-term debt and total liabilities. Distinguish consolidated equity from subsidiary regulatory capital, cash from segregated assets, issuer assertions from independent findings, and an incident update from the first disclosure. The mechanical subtraction is not an audited pro forma balance sheet, cash position or regulatory-capital calculation. Do not infer standalone continuity, a mandatory financing requirement or a diagnosed root cause. Run model.py, check.py and its self-test; inspect tagged figures, cutoff discipline, scenario controls and phone layouts.

    When we checked the recording above: Fresh recording preserved inputs. In a scratch copy, model.py, check.py and check.py --self-test exited cleanly; all planted corruptions were rejected. Independently checked scaled debt, liabilities, goodwill, intangibles, combined share of equity and loss bridge. Browser sweep at 360, 375, 390 and every 4 pixels from 400 through 1300 found no visible overflow or inner scrollers at baseline, maximum stress and reset. The clipped accessible table header is not a visible scroller. Pointer and arrow-key actions changed the hypothetical result and reset restored baseline; JavaScript off retained the capital picture, conditional call and sources.

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 · Follow the orders and the capital

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

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

Work only inside this practice folder. Read the original frozen packet and saved analysis first; then read outcomes.txt, order.txt and OUTCOME_SOURCES.csv. Never modify any source or original output. No network, installs, reads outside the folder, or questions. Use Python 3 standard library only. Use American English spelling in all page copy, such as "collateralized," never British variants. Do not use em dashes or en dashes. This is a fresh session: the new records were not available on August 3, 2012. 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.

Write only reveal.json, reveal.html and reveal-check.py. Build a dated, source-linked order-flow timeline directly from the regulator's numbered findings: deployment, old code and flag, incomplete deployment, distinct premarket orders and warnings, opening parent orders, child routing and executions, incident response, positions and ultimate loss. Distinguish the parent issuer from its broker-dealer subsidiary, the order's respondent, and the later 2013 corporate combination. Distinguish the initiating software error from the separate failures of pre-trade output and capital controls, post-execution monitoring, incident response, and review of a prior trading-loss warning. Present the regulator's findings of significant net-capital problems with neither invented precise amounts nor a claim that they disprove the issuer's August 2 assertion of compliance. Include the order's censure, cease-and-desist order, civil penalty, and independent-consultant undertaking. Be precise about what the order establishes, its later publication date, its without-admitting-or-denying settlement language, and how its loss estimate relates to the initial company estimate. Distinguish parent orders, child orders, executions, shares and long/short positions; do not subtract gross position values to derive trading loss. Read the issuer's later financing filing to distinguish completed financing from speculative need and account for the stated preferred dividend, seniority, conversion and board appointments, not treat details in the full filing as unknown merely because an excerpt is short. An unknown means not established by the full cited document, never just absent from this packet. Preserve the original conditional financing call as a plain-language summary attributed to saved analysis, not as a source quotation or blockquote: only quotations from KC1-KC5 may appear inside quotation marks or a blockquote. The analysis and generated JSON are not historical primary sources; a <cite> linking analysis.html does not make their wording a source quote. Do not imply later financing was knowable in the initial call or pretend a hindsight verdict was certain. Do not make unsourced allegations about individuals or their motives.
Separate an event's historical date, a document's publication date and the first public reporting of a fact: a later official account establishes what that document says, not that no one reported the mechanism earlier. Restrict cutoff claims to what this frozen packet supported on the cutoff date. Preserve timing distinctions between receipt of orders, intended auction participation and executions. Preserve differences in qualifiers between passages without inventing an explanation such as rounding. Include qualifications and exceptions in the selected control findings, and identify the legal status of furnished versus filed disclosures. State the financing's initial conversion price, series split and conditional mandatory-conversion terms as well as its conversion rate.
The SEC says significant net-capital problems. It does not establish a shortfall below any regulatory minimum, a deficit amount, a violation of net-capital requirements, or the timing or amount of a cure. Never label the problem a deficit or speak of an actual cure without evidence. Describe those specific questions as undetermined, while treating the significant problems themselves as established.

reveal.json records dated events, sourced quantities, original as-of capital bridge, financing, market-access and response failures, net-capital qualification, disposition and remaining unknowns. reveal-check.py independently parses both sets of originals without importing or running model.py, computes and validates decision-critical values against JSON and tagged HTML, checks source URLs, and rejects the later mechanism being labeled known on August 3. It must specifically test that the 97 premarket warnings arose from orders distinct from the 212 opening parent orders; the SEC's significant net-capital finding is not called unknown or a contradiction of August 2 compliance; and the missing order-entry controls, earlier warning, independent consultant, censure, cease-and-desist order and $12,000,000 penalty are represented. Its --self-test demonstrates three distinct in-memory corrupted outputs are rejected without touching inputs. Run python3 reveal-check.py and python3 reveal-check.py --self-test and report exit codes.

Make reveal.html a complete self-contained offline page with two visibly dated columns or stacked phone cards: knowable August 3 versus established by the August 6 filing and October 16, 2013 SEC order. Include one source-linked inline SVG timeline or zero-baseline comparison where quantities have comparable units; keep all decision-critical dates, dollar amounts, order and execution quantities in ordinary semantic HTML with JavaScript off. Render all explanatory monetary amounts in full dollars with comma separators, including chart labels, comparison prose, interactive evidence panels, and original bridge; do not abbreviate as $M, $B, or "$440 million". The published HTML must not contain the consecutive words `in` and `thousands` anywhere; describe the source columns as scaled by a factor of 1,000 and ensure reveal-check.py rejects this prohibited phrase outside source packets. Historical source wording must remain intact inside clearly attributed quotation elements and raw source fields, even when it says "$440 million" or "$460 million". Never use a blockquote or quote marks for saved analysis text, original financing calls, your own captions, or your own summaries, even when citing analysis.html; instead render them as ordinary prose with a source link. Neither copy raw scaled balance-sheet amounts into explanations nor rewrite authentic quotes to satisfy the display rule. Let a real reader activate a clear control to inspect one order-flow transition or later source excerpt and visibly change a substantive evidence panel, with a static equivalent and reset; pointer and keyboard both work. The timeline should make the parent-to-child routing mechanism inspectable without implying every child order executed. No external assets or network dependencies. At 390 pixels wide, the page fits the screen; no word or amount ever breaks mid-word; narrow tables become stacked cards. Respect reduced motion, preserve complete source links and distinguish approximate from exact quantities.
At 360, 375 and 390 pixels and every 4 pixels from 400 through 1300, including tablet widths between 600 and 1000, keep the page and each inner section within the viewport before and after each evidence-panel control changes. Stack comparison cards and labels before their content causes sideways overflow. No internal sideways scrollers or words and amounts broken mid-word.

Human check: KC4 is post-cutoff: financing, dividend, seniority, initial conversion price, series split, conditional mandatory conversion and board appointments must match the document. KC5 is a settled SEC order without admission or denial except jurisdiction. Finding 35 says significant net-capital problems; finding 10 says net capital problems. Do not invent a shortfall, violation of net-capital requirements, cure, or contradiction of the August 2 compliance assertion. Keep premarket warnings distinct from opening-auction parent orders and receipt before the open distinct from the execution cascade. Attribute the mechanism to the later SEC account without claiming that account was its first public reporting. Preserve the order's different qualifiers without inventing a reason. Include its limited automatic shutdown exception, consultant review, censure, cease-and-desist order and civil penalty. The saved analysis is not quoted as historical source text. Run reveal-check.py and self-test; inspect controls, dates, citations and phone layouts.

When we checked the recording: Fresh recording preserved inputs. In a scratch copy, reveal-check.py and its --self-test exited cleanly and rejected all planted corruptions. The reveal distinguishes the SEC account publication date from first public reporting, preserves qualifier differences without inventing rounding, places opening-auction order receipt before the open, includes the limited shutdown exception, financing conversion price and series terms, furnished disclosure status and full disposition. Browser sweep at 360, 375, 390 and every 4 pixels from 400 through 1300 found no overflow at baseline or after every evidence control and reset. Pointer, Enter and Space changed or restored visible evidence panels. JavaScript off retained all three transitions and key figures.

Do it for real

Before using real counterparty or work documents with any AI provider, check its retention and training settings (for example, Claude Code data usage); the provider receives prompts and file contents even if you tell its agent not to use the network. Redact names, addresses, emails, phone numbers, account and card numbers, Social Security numbers, member and ticket IDs, and everything unnecessary. Keep originals outside the working folder. For a live counterparty exposure, request current audited and regulatory capital, liquidity schedules, committed financing, clearing obligations and operational incident evidence. Independent legal and financial professionals must review obligations and capital rules. This historical exercise is not investment advice.

Why an agent, not a chat window

An agent joins two dated disclosures, parses the unaudited statement of financial condition's unit scale, reconciles an approximate loss against equity and cash, and independently tests its arithmetic. A fresh session gets the financing filing and settled regulator order to distinguish software failure, market-access controls and the eventual regulatory disposition.

Go deeper

Why the prompt is written this way

The recorded runs

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

The Claude Code attempt hit a session limit and produced no files, so only the OMP run is published. There is no completed second-tool result to compare.

Push it further