Skip to content
The Liberation Engine

Puzzles and mysteries / Recipe 03 of 4 · Decide

The carpool nobody could solve

Five families, four cars, two children needing boosters: the agent proves no schedule works as written, shows the count a parent can check by hand, and solves two minimal one-fact fixes.

What the agent made

Ran it for real with OMP 18.13.1 on 2026-10-27, in an empty session with no saved memory. Your result will differ.

Make your own

  1. Get the files

    Download the practice folder (ZIP)

    Unzip it: you get a folder called cli-practice with 1 practice file. Download the fictional families.txt: six kids, four cars, two children needing boosters, and who can drive when.

  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

    Read families.txt without changing it. It is a fictional school carpool. Find out whether any two-week schedule follows every rule. Write only check.py, solve.py, why-impossible.md, fix-1.json, fix-2.json, and carpool.html. Use Python 3 standard library only. A schedule is JSON: {"change": "<one sentence or none>", "runs": [{"week": 1, "day": "Mon", "run": "morning", "cars": [{"family": "Abara", "kids": ["Ada Abara"]}]}]} with every run of both weeks listed.
    Write check.py <schedule.json> [--fix 1|2] to check every rule independently of solve.py, report each broken rule with week, day and run, and exit nonzero on any violation. Without --fix it checks the original rules; with --fix N it applies exactly the one-fact change described by fix N. Add python3 check.py --self-test: mutate an otherwise passing schedule in memory to violate at least three different rules, demonstrate each rejection, and do not change any files.
    Make solve.py search feasible schedules. If the original rules cannot all hold, prove it in why-impossible.md with exact clashing constraints and hand-checkable counts, not a claim that a search happened. Find two distinct smallest one-fact fixes, each changing just one seat, one driver's slot, or one fairness number. Save a complete passing schedule for each in fix-1.json and fix-2.json. Run check.py on each with its --fix and report actual commands and exit statuses.
    Build one self-contained carpool.html that leads with the hand-checkable impossibility proof and its cited lines from families.txt. Show both full printable two-week calendars in ordinary HTML, every run and car, driver and kid, and family car-trip counts for both fixes. Show an inspectable trip-capacity map grounded in those exact schedules, not invented data. Add a labeled Fix 1 / Fix 2 selector: choosing the other fix changes the visible calendar focus, trip counts and a named family's actual obligations, while both complete static schedules remain available without JavaScript. A tap or keyboard action must change substantive text, not just a highlight. Include a clearly identified current view and a way to restore the first fix. The numbers in the HTML must be checked against the two schedule JSON files by check.py, independently of solve.py; tampering with a shown family count or schedule assignment must fail. The checker --self-test must include a corrupted HTML number. Make the page feel like a working school pickup board with legible source references rather than a generic dashboard. The tally pills inside any bordered proof panel must wrap or stack at 360px and 375px: inspect the panel's own scrollWidth and its children, not just the document scrollWidth. Responsive, print-friendly, self-contained, offline; no external assets or libraries, no sideways scroll at 360px, 375px, 390px, tablet widths from 600px to 1000px, or 1280px and no split words or amounts. State visibly that the checker tests the fictional packet only and does not establish real-world child-passenger safety, legal compliance, restraint or vehicle fit, driver availability, or parent consent. Anything inside quotation marks or a blockquote must be copied exactly from the files; put the file name in a <cite> after it, and write summaries as plain sentences, never as quotations. For every quoted line, copy the entire source line verbatim, including the initial "- " on a bulleted line, its rule number if present, and the rest of the sentence; never quote only an excerpt of a source line. Apply this to why-impossible.md and carpool.html. Respect reduced motion and keyboard focus; keep all outcomes and complete calendars available without JavaScript. Work only inside this folder; never install packages, use the network, call APIs, or load external assets. Do not ask me to reply. Use no em dashes or en dashes.

    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/carpool.html in your web browser (double-click it), then:

    Human check: Read why-impossible.md against families.txt. Run python3 check.py fix-1.json --fix 1, python3 check.py fix-2.json --fix 2 and python3 check.py --self-test. Compare both complete schedules and family trip counts in carpool.html to JSON; switch the fixes and inspect a named family's obligations. Confirm both full calendars remain with JavaScript off. At 360, 375 and 390px inspect the proof panel and every tally pill for clipping as well as document overflow; open every disclosure, use each control, and sweep widths from 400 to 1300px in 4px steps.

    When we checked the recording above: Independent rider, seat, driver, fairness, and trip recount matches both JSON schedules. HTML and Markdown blockquotes match packet lines exactly. Checker validates each fixed calendar and rejects mutations in its self-test. Chromium at phone and tablet widths shows no document, panel, or tally overflow; switching fixes changes the visible obligations, and both complete calendars remain with JavaScript disabled. This only checks the fictional packet, not real-world safety.

Do it for real

Before asking an agent to read a real carpool file, remember its model provider receives the prompts and file contents: a no-network instruction only limits the agent's tools, not the model call. Check your provider's retention and training settings first (Claude Code data usage; OpenAI privacy controls). Keep originals outside the working folder; make a private copy with pseudonyms for children and drivers and redact addresses, emails, phone numbers, account and card numbers, SSNs, member and ticket IDs, and anything not needed for scheduling. Write the remaining constraints as plain rules: vehicle and restraint fit, days, drivers and fairness. Ask for an independent checker first, then a schedule, but a passing result only checks your supplied rules. Before driving, verify each child's age- and size-appropriate restraint, correct installation and fit in each vehicle, and applicable child-restraint law against the CDC child-passenger safety guidance; separately confirm driver availability and parent consent.

Why an agent, not a chat window

The agent proves the original shortage with a hand-checkable count, searches for feasible schedules after one-fact changes, and independently checks both published calendars against the fictional rules. You can inspect the proof and the complete schedules instead of trusting a plausible-looking calendar.

Go deeper

Why the prompt is written this way

The recorded runs

ToolModelFirst run tookFiles madeSessions
OMP 18.13.1openai-codex/gpt-6-sol5 min 37 s6one session

The passing OMP run published a hand-checkable counting proof, a Brooks booster-seat fix, and a higher fairness-cap fix. Each complete calendar is checked against the fictional packet; a checker pass does not establish real-world transport safety.

Push it further