Skip to content
Maxwell CollinsContact

Operating system for an event venue

Runs an event venue's bookings, contracts, payments and deposits, with an AI receptionist answering the phone.

What it achieved

$55k → $200k+venue's yearly revenue, before and after the rebuild

Took over an event venue's front office from four people; revenue then grew from $55,000 to $200,000+.

The short version

This system took over an event venue's whole front office, work four people used to do by hand, and after the rebuild the venue's revenue grew from about $55,000 a year to more than $200,000. It has handled 1,222 bookings and six figures of revenue, with no staff dedicated to the office. Customers book a date, see the price, sign the contract and pay online. Staff run every booking from one console. A superintendent settles the security deposit from a phone after the event. An AI receptionist answers the phone and the website chat at any hour.

The problem

A venue's office work is a chain of promises with money attached: a date held, a price quoted, a contract signed, a deposit kept or returned. Four people used to run it by hand. Booking sites stop at the payment, and an AI left to itself invents rules the business does not have, such as sales tax or a percentage deposit.

In use

  1. A customer picks a free date on the website and sees the exact price for that day and package.
  2. They sign the contract and pay online in five steps. The database refuses a second booking for the same date, so two people can never hold one day.
  3. Staff see every booking, payment and message in the console, and approve any refund themselves.
  4. After the event the superintendent inspects the venue on a phone, and that inspection decides how much of the deposit goes back.
  5. Callers get answers, prices and a booking path from the AI receptionist at any hour.

What it achieved

  • It does the work four people used to do by hand. It runs the venue's bookings, contracts, payments and deposits with real customers and real money, holding 1,222 bookings, with no staff dedicated to the front office.
  • The AI receptionist settles 9 in 10 calls itself, handing only 9.5% to staff across 857 recorded calls. Three in four callers leave their details as a lead (76.2%).
  • After the rebuild the venue's revenue grew from about $55,000 a year to more than $200,000, with six figures taken through the system itself.
  • The background job that sends every confirmation email, calendar entry and refund instruction a booking promises runs every minute, and across more than 54,000 runs it has not missed a minute.
  • No date was confirmed without the payment it required: a check of every booking's money found no booking made through the system confirmed while money was still owed.
  • A fresh AI audit of the live system runs every morning without anyone starting it, and it has caught a fault that fifteen earlier AI sessions missed.
  • Each AI agent now starts work after reading a quarter as much as before, about 40,000 tokens instead of 170,000 (a 76% cut), so jobs start sooner and cost less.

The full record

On this page
In one sentence

Maxwell built the whole front office of an event venue, one system of 128,927 lines of application code and 78,816 lines of tests with 41 screens, 70 service routes and 21 data tables, that lets a customer book a date, sign the contract and pay online, lets staff run every booking from one console, lets a superintendent decide a security deposit from a phone after the event, and answers callers through an AI receptionist; it took over the running of a business that four people had run, and runs it with real bookings and real money, holding 1,222 bookings.

lines of code
128,927
lines of tests
78,816
bookings handled
1,222
venue revenue a year
$55k → $200k+
  • Booking site
  • Customer portal
  • Staff console
  • Superintendent
  • AI receptionist
One write path
BookingsPaymentsContractsDeposits

What it does

The size of the whole

128,927 lines of application code in 816 files, 78,816 lines of tests in 239 files, 2,837 written test cases, 41 screens, 70 service routes, 21 data tables, 24 database changes, and 734 commits on the main line (784 on all branches, 1,047 across both builds with the 263 of the first build). The first build adds 78,038 lines of application code and 28,401 lines of tests, with its own 263 commits on the main line, 37 screens, 103 service routes and 25 data tables. The system is one application with four front doors on one core: a staff action passes through the same rules as a customer's, so the console gives authority over what to do, never over the rules themselves. Each door has its own way of proving who is using it.

The public site and booking flow (10 screens). The venue's home page, pricing, gallery, contact, tour request, terms, privacy and text-message pages, and the booking flow itself: five steps from date to details to setup and add-ons to the digital contract to payment, then a confirmation. A customer sees real availability by the month, gets a price the server worked out, reads and signs the contract on screen, and pays by card. A booking started and abandoned becomes a lead. Leads are never deleted.

The customer portal (8 screens). A private link with no password. A customer can see the booking's details and balance, pay what is owed, fill in the setup sheet for the event, ask to cancel, and ask for a refund.

The staff console (16 screens). One sign-in for the whole office: a dashboard, bookings, new booking by hand, the calendar, contacts and leads, tours and tour availability, add-ons, blocked dates and holidays, analytics, the audit log and inspection review. Staff can take cash and record the receipt, send a portal link, unlock a setup sheet, cancel, reschedule and approve a refund, and may override any policy, with the system recording who, when and why. An AI briefing (/api/admin/ai-briefing) turns the day's bookings, balances and setup needs into a readable list, drawn only from the system's own queries.

The superintendent's portal (6 screens). Made for a phone. The superintendent gets the setup sheet by email five days before each event and an inspection link when it ends, walks the hall with a checklist and photographs, and records PASS or FAIL. Photographs go straight to file storage through a time-limited upload link. The superintendent signs in through a 256-bit emailed link, and a single inspection can be opened from its own link.

The AI receptionist's eight functions. Eric, the receptionist, reaches this system through eight service routes: check a date, quote a price, list tour times, book a tour, look up a booking after confirming two identifying details, save a lead, email booking information, and request a callback from staff. It serves the phone line and the website chat. It cannot take a booking itself, because a booking needs a signed contract and a payment, so it sends the link.

Who may do what. Four separate ways of proving identity, one per door: a password sign-in with roles for the office (administrator, moderator, superintendent), the customer's private link, the superintendent's emailed link, and a key that only the AI receptionist's calls carry. The service routes are wrapped in role checks, and a request for something a person may not see is answered as if it did not exist.

The core. 51 commands that change something, 38 read models that only look, 18 data stores, 25 files of scheduled jobs and 13 of follow-up delivery, over 21 kinds of record. Bookings, deposits and tours each follow a fixed set of states in the code's business layer, and cancelled, forfeited and refunded have no exit.

Double-booking made impossible by the database itself. One table, date_claims, holds one row per date, and the database refuses a second. Several people may start a booking for the same day; the first payment to succeed wins. The customer who loses the race has the booking cancelled as LOST_DATE_RACE, is emailed and invited to choose another date, and staff are alerted that a refund is owed.

The frozen pricing snapshot. The price quoted at booking is stored on the booking and never recalculated, so a later rate change cannot alter what a customer agreed to. What was quoted (PricingSnapshot) and what was paid (PaymentLedger) are kept as separate truths. The pricing engine handles day types, minimum hours, extra setup time, overtime, add-ons and processing fees. Staff can set custom pricing, with a required reason and an audit trail.

Payments and contracts. Card payments through Stripe and cash on one ledger, with a nightly reconciliation that catches any payment notice that was missed. Five kinds of payment notice each have their own handler: a completed checkout, an expired checkout, a failed payment, a refund and a chargeback dispute, which alerts staff with the details. The system carries the venue's whole money policy: no sales tax, a 5% processing fee in the one case it applies, a $200 security deposit, a balance due date, and refund amounts that change with how far out a customer cancels. At 60 days or fewer the deposit is forfeited; a customer who cancels 90 days out gets back everything paid, less 5% of the deposit. No money without a signed contract: the rule is written once, and both payment paths call it before a payment page is created. The check sits before money moves, never after, because refusing to record a payment already taken would itself lose money. The record keeps when the contract was viewed, scrolled and signed, and a signature made of invisible characters is refused.

Refunds are requests a person approves. No path through the system sends money back without a member of staff acting, and the record names who approved it. A cancellation, a lost race and an overpayment each produce a request or an alert, never a transfer.

The inspection decides the deposit. PASS makes the security deposit refundable. FAIL forfeits it. Once an event has taken place, nothing else can decide it. Deposit on file: a returning customer's deposit can be held on their record and applied to later bookings. If it is forfeited, the bookings relying on it go back to owing a deposit.

ONE WRITE PATH and the outbox. Every change goes through one door in a fixed order: confirm the system is not overloaded and the services it needs are up, check the request, check permission, lock, change, confirm the rules still hold, save, write the audit entry. Any follow-up the change promises (an email, a calendar entry, a refund instruction) is saved in that same step and delivered afterwards by a separate worker, which runs every minute, retries on failure, and after five attempts parks the item in a dead-letter queue, a holding list that raises an alarm. A promise cannot be lost, and cannot be sent for a change that did not happen.

Six mechanisms against doing the same thing twice. One for each way it happens: the payment company resending a notice, two edits to one booking, two payments racing on one booking, a follow-up being retried, a repeated call to the payment company, and a customer pressing the button twice. Each daily job is keyed by its name and date so it runs once.

The setup sheet. A customer describes the room for the event: tables, chairs and the rest of the setup. Five days before the event the sheet locks and goes to the superintendent. If the customer never submitted one, the superintendent gets a sheet saying so, to configure by guest count. If staff unlock a sheet after the cutoff, the corrected version reaches the superintendent automatically on resubmission.

Layers, Cents and one clock. The business rules sit in a layer of pure functions that touches no database, network or clock, so they can be tested exactly. Screens and services may call only the command layer, and a rule exists in one place that everything else points to. Cents: money is whole cents, held in a form the code cannot mix with an ordinary number and created in one place only. The server computes every amount; the screen only displays it. One clock: one file may read the time, in the venue's time zone, and everything else is handed the time, because near midnight the server and the venue disagree about what day it is.

Private links that cannot leak. A customer's link carries a 256-bit secret that the system stores only as a fingerprint and exchanges in a way that keeps it out of logs. A request for someone else's booking is answered "not found", so its existence is never confirmed.

Protection under load. A rate limiter on the public routes, a circuit breaker that stops calling a failing outside service, separate health addresses for "is it running" and "is it ready to serve", error tracking through Sentry and web analytics inside the console.

Fail closed, and change without stopping. An unverified payment notice, an unknown change of state or a missing setting is refused. Any shortcut made for development must be proven switched off in production by a test. Expand, backfill, switch, contract: the shape of the database changes over four separate releases, so a change never stops the business and can always be stepped back.

The daily jobs. Seven: completing past events, reconciling payments, balance reminders, setup reminders, event reminders, locking setup sheets, and overdue notices with cancellation at ten days. Reminders go out 35, 30, 15 and 1 days before an event without anyone remembering. Alongside them run the every-minute worker and an hourly calendar reconciliation that keeps every booking on the office's Google Calendar.

31 email templates, from the payment confirmation and cash receipt to the lost-race notice, balance reminders, inspection results, tour confirmations and dispute alerts to staff.

Tours and contacts. Tours with one-off and recurring availability, booked by a customer, by staff or by the receptionist. A single contact record for leads and customers, with an activity history.

The move to its own server. From rented hosting to an always-on server of its own, chosen so a caller to the receptionist is never kept waiting while a server wakes up, with daily backups to two places.

The operations kit. A log follower that copies the application's output to a file that outlives each release, a reader that states how much of the log it covered, two alert scripts that each confirm the other is still running, each alarm proven by a planted error, a daily digest, a pre-deploy snapshot, and money-invariants.sh, a re-runnable classifier that sorts every booking's money into explained, informational and owed.

The money-integrity checks. Four standing queries run each morning, and any rise in any of them is a critical finding.

The server reference and its sync rule. A written reference describes the production server, and any agent that changes anything on the server, or sees it differ from the reference, updates the reference in the same session.

The Morning Production Audit. At 09:00 every day the Mac opens a fresh AI session as the senior engineer on watch, and it runs 14 read-only checks across the server, the seven daily jobs, emails, money, backups, errors, the day's bookings, alerts, security, payment notices, calendar sync and the receptionist. Each check is predict, run, compare, and ends as OK with evidence, FINDING or CHECK FAILED. The audit is stateless: it asks what is wrong now, not what changed since yesterday. A list of banned dispositions keeps an old problem from fading. Customer details never appear, only counts. The ops anchor is one standing issue that holds the baselines, watches and open verifications. Under Contradiction duty, where the running system disagrees with a document, the document is corrected, so each morning's audit makes the next agent's instructions truer.

The Command Center. A project board recomputed every hour from the records, with a file in the repository as the source and the board as its projection, one way only. No language model originates a number on it, and a reading that cannot be taken shows as unknown, never green.

The test estate. 2,837 written test cases in 239 files: unit, integration, infrastructure and browser tests, the browser tests under a QA constitution that requires every test to verify what was saved, and a load-test harness.

The delivery pipeline. Six workflows run on GitHub. The main one (CI) runs on every push, on every pull request to main, develop or staging, and every Monday at 09:00, in eight jobs: lint, type check, unit tests split into four parallel shards, integration tests against a real database, infrastructure tests, the production build, a smoke run of the browser tests, and the guard checks, which first prove the guards can fail by running their planted-failure harnesses and fail the run if none is found. Another checks that every pull request title follows the commit-message format and that no locked document was touched. Another verifies the generated map of every named piece of code is current. Another tags every merge from develop into main as release/<date>-<commit>, so production can be rolled back to a known point in one step. Code owners are set so every path needs the owner's review.

Daily database backup and the pre-deploy snapshot. Every day at 06:00 UTC a workflow dumps the production database with PostgreSQL 17's tools, refuses an empty or tiny file, uploads it to Cloudflare R2 object storage and prunes to the last ten. Before any release that touches a money table, pre-deploy-snapshot.sh takes an extra dump of just those tables, records its name and checksum for the deploy log, and so gives a recovery point newer than the last daily one.

Release safety scripts. check-table-locks.sh aborts a database change if another transaction is holding a lock on the money table, rather than queueing behind it. verify-payment-lock.ts proves, by creating a test payment and updating it through three versions, that a stale update is refused with the expected and actual version numbers (the optimistic lock on payments), so a lock that no code uses cannot pass as working. ensure-safe-db.sh refuses to run a test against any database whose name lacks the _test suffix. A procedure script settles how the hosting platform behaves when a release fails its checks. Staging has its own seed script, which refuses to run against production. Repair scripts re-link booking add-ons and back-fill Google Calendar entries.

The Command Center's contract. The board is checked against a written contract of 9 deliverables and 27 machine-run checks (the board exists, its fields are derived and not typed, its views, its lanes such as "Waiting on Max"), with a verifier, a sync program and a generator for a wiki of the document index. A guard, wiki-probe-auth, forbids a probe that cannot authenticate from being the witness, so a broken probe can never make a healthy board report itself as drifted. Insights charts, which have no interface to check, are declared as not machine-checkable rather than faked.

The website chat. The receptionist also appears on the public site as an embedded voice-and-chat widget, shown on every public and customer-portal page and hidden on the staff console, with an error boundary so a failure in the widget never affects the page.

In-person signing and the screen kit. Staff can capture a customer's signature on a signature pad inside the console for bookings made by hand. The screens are built from a component library with a theme customiser, and the browser tests drive them through page objects for the public booking, customer portal, superintendent portal and staff screens.

The blueprints. Two full designs in the repository's planning record: a subscription product any venue could run with this venue as its first customer, and a GitHub command centre for every repository his agents run. Around them sits the governing estate: the constitution, 21 decision records, the repo-map and 14 handoffs.

What it achieved

  • The system took over the running of a business that four people had run, and runs it with real bookings and real money.
  • 1,222 bookings held in the system, including those brought across from the earlier booking service.
  • Six figures of real revenue taken through it with no staff dedicated to the front office.
  • A classification of every booking's money found no booking made through the system that was confirmed while owing money.
  • The every-minute worker has missed no minute across more than 54,000 runs.
  • The morning watch launches itself every day and has caught a fault that fifteen earlier sessions missed.
  • A change carrying three ways to lose money was stopped before it reached customers.
  • The contract rule went in as a 27-commit change, failing tests first, cleared by both review seats. The conformance seat built its own instrument against a real database to prove the rule end to end before accepting it.
  • The compulsory reading fell from about 170,000 tokens across 48 files to about 40,000, a 76% cut, once the documents were corrected at source and the hook took over delivery.
  • 734 commits on the main line, 86 change requests and 240 tracked issues; 28 permanent archive snapshots.

The problem it solves

  • A venue's office work is a chain of promises with money attached: a date held, a price quoted, a contract signed, a deposit kept or returned. Each promise needs one place where it is decided. An ordinary booking site stops at the payment.
  • He knew the work from the inside. He had run this venue's bookings himself and moved them online. After the rebuild the venue grew from about $55,000 to over $200,000 a year.
  • An AI builds what every other booking product has. Without this business's rules in front of it, it will confidently invent sales tax, a percentage deposit and self-service rescheduling, none of which this business has. So the rules come first, and the code is the party presumed wrong.
  • Written rules do not control AI. Only automated enforcement does. Under pressure an agent deletes the failing test, weakens the check or silences the error, so each of those is something a script refuses.
  • An AI will grade its own work, and will loosen, in the same change, the guard that would catch it. So he put in a written map of the code, protection that applies to administrators too, review by a fresh agent that did not write the work, guard changes that ship alone and first, and a ban on merges that flatten a change into one step, because flattening erases the proof of what was done in what order.
  • A measuring tool can report more than it can see. An agent reported no errors in 720 hours from a log that was under four hours old, and he caught it. He turned it into a register of every instrument and what it really measures, a log that survives each release, and one rule: a claim may never outrun the thing that measured it.
  • An agent cannot predict which instructions it will need. One judged two files irrelevant to a release and wrote a health check against addresses that do not exist. He made the reading compulsory with a receipt, and a mechanism delivers the fact at the moment of the edit, so nothing rests on prediction.
  • Corrections can themselves be wrong, so he set rules for corrections: search the whole set before marking anything corrected, never renumber findings, and never let the agent that wrote something be its reviewer.
  • An agent will soften the record of its own failure. One wrote its own lapse into the register as a fault of the documents. His rule: the record is evidence, not defence.
  • Money must never move by itself. No refund, forfeit or charge happens without a person's decision or physical evidence.
  • A wrong assumption in a live system meets real customers directly. So it is audited from nothing every morning, and age makes a problem more urgent, never less.
  • An AI auditor drifts into judging the business. He ruled that the venue manager's own decisions (blocked dates, prices, discounts, the refunds the manager approves) are never a finding.
  • The AI receptionist is part of this system, not a vendor's product, and every fault in it is this system's to fix.
  • A timer that deletes stale bookings, the standard pattern, destroys revenue at a venue that lives on enquiries. He had the job taken out, and an abandoned booking became a lead.
  • Rules pile up with every incident, so pruning has to happen as routinely as adding. He withdrew his own one-issue-per-session rule once the real causes behind it were enforced by machinery, because what protects the system is the structure of gates, not small sessions.

How he built it

Maxwell builds by directing AI agents, and this is how he directed them here.

What the AI must treat as true

  • RULE 0 and the onboarding receipt. Every session starts as the senior engineer who has just inherited the system blind, with real customers and real money behind every file. Before anything else it reads a fixed set of about 40,000 tokens (the units AI reading is counted in). Its first output is a receipt: one fact it did not know from each file, with the place it came from, so he can spot-check the reading in seconds. A summary of earlier reading does not count as reading, and the cost of reading is never a reason to read less.
  • The canonical truth hierarchy. Tier 0 is BUSINESS_LOGIC.md, the venue's pricing and policy in 821 lines of plain English. Tier 1 is the system specification, Tier 2 the contracts for each screen and service, Tier 3 the code. Where code disagrees with a tier above it, the code is wrong. The test for what belongs in Tier 0 is whether a business owner would care about it.
  • MUST NOT BELIEVE. Eleven things the repository, or the AI's own training, will say that are false and cause damage, each with the instrument that disproves it. One example: "closed" is not "shipped", so a fix marked closed may not yet be what customers are using.
  • The repo-map, the incident record and the known-issues register. 22 files that record the gap between what the code appears to do and what it actually does, with a generated index of every named piece of code. The incident record lists sixteen durable failure modes, and an agent that sees one in its own output must stop. The register gives every known fault in the documents exactly one status. Numbers inside an incident are frozen and never updated to today's values.
  • Instrument reliability. Every measuring tool the project relies on is listed with what it claims and what it really measures. Every number written down must name what measured it and over what window. A count that changes is never written as a number; the document gives the command that measures it. Clearing something as clean needs the same evidence as convicting it.
  • Reasoning Integrity. An agent may not say that code has a fault, a risk or a behaviour without citing the file and line it read. An answer that would change when challenged was never reasoned.
  • The Senior Takeover Protocol. His reusable priming document. It installs an identity instead of a checklist, gives every rule its reason, and names the corner-cutting thoughts from the inside ("the tells") so the thought itself becomes the alarm. Under its believing law, anything an AI wrote ranks last as evidence, as hearsay, until checked. For deciding what to build next it reduces the order to one question: what must be true before this can be honestly tested.
  • Locked documents, the waiver and the status register. The truth documents and past decision records cannot be changed by an ordinary change request. One written waiver, which only he may author, opens a named document for a factual correction, and an agent that writes the waiver is breaking the rule, not using it. Decisions are never rewritten; a register (ADR-0019) records which were later reversed. A later ruling (ADR-0021) separates a decision, which is history, from a factual claim, which is read as current and must be fixed at its source.
  • Deletion requires a receipt. An instruction may be removed only when an instrument proves it false or obsolete, and the removed text is kept word for word in a changelog. Removing something because it "seems redundant" is blocked, because that is a prediction.
  • Binding rulings. Three of his rulings bind every agent. The asymmetry is the rule: a customer who paid more than the total is the manager's matter and is never raised, while a booking confirmed with money still owed is reported loudly. The venue manager's business decisions are never a finding, a risk or a mention. And severity comes from how exposed something is, not from what kind of data it is.
  • Eric is ours. The AI receptionist is owned end to end. Each function it calls is half of a pair, and a rejected request is a fault on one side or the other. Calling it someone else's system is banned as a reason to stop. The website chat has no caller's number, so any fix must work on both channels.
  • No inventing his authority. An agent may not fabricate, infer or round up what he approved.

What the AI is blocked from doing

  • The Engineering Constitution. Twenty-three sections of engineering law above all four tiers, in force with an AI-control rule set from the repository's first day. It names 25 stop-the-line triggers, and it covers what agents habitually get wrong: adding code and never removing it, adding libraries without asking, leaving notes to fix things later. From that first day each piece of work arrives as a failing test and then the code, citing the section of the constitution or the business rules it implements.
  • Audit first and the Evidence Block. Before any edit the agent states the goal, quotes the passages of the truth documents that authorise it, lists the rules it touches and the commands that will prove it, and waits for approval. If a file or line the task cites no longer matches, it stops; it does not quietly update the reference and carry on.
  • The AI Agent Protocol and task capsules. Each task file names its purpose, what is in and out of scope, the files it may create, change or must not touch, and the commands that prove it done. Repair work proceeds one capsule at a time, each a single kind of change with its own clean run.
  • The AI Failure Protocol. When a test fails an agent may try two fixes, three attempts in all, then must stop and report. It may never delete a test, skip one or weaken what it checks. If the specification looks wrong it reports that and waits; it does not fix the specification.
  • Guard scripts. Thirty small programs, with a runner that executes them all, turn each rule a script can check into a refusal. A change that does decimal arithmetic on money, reads the clock directly, writes to the database outside the one door, sends an email inline, deletes a test or touches a locked document does not get in.
  • Guards on the guards. guard-registration fails the build if a guard exists but is not wired in. test-integrity counts what each test checks, so a test cannot be hollowed out. tdd-sequence confirms that, for money, permissions and anything that must not happen twice, the failing test was saved before the code that satisfies it. corpus-integrity requires every change to the instruction set to be declared. record-durability refuses a claim that work is done while the session's record exists only on the local machine. Guards carry planted-failure cases, so a dead guard cannot pass as a working one.
  • The gate and the eleven required checks. One command (the Golden Gate) runs every check before work leaves the machine, and eleven checks must clear before any change joins the shared copy. Work moves from a separate line of work to develop to main, the copy customers use, and by no other route. Each request leads with why, cites the passage that authorises it, and says what does not change.
  • The bash guard and one branch at a time. A hook, a check that runs before the AI's command does, stops destructive commands: discarding work, rewriting history, forcing a push, skipping the checks, or opening a second line of work while one is unmerged. Each block has a named override that must be typed deliberately on that one command and is recorded.
  • The injection guard, R1 to R6. A second hook reads each edit before it lands. Five rules block one specific mistake each and hand the agent the fact it was missing: a database write outside the one door, a direct clock read, decimal arithmetic on money, a health address that does not exist, and an "upgrade" command that would silently downgrade the login library. R6 blocks the first edit in each area once per session and delivers that area's facts. A reading list can be forgotten at hour four of a session; a hook cannot. Both hooks are mirrored for a second AI tool, Codex.
  • The scope fence. Each approved objective lists the files it may touch under ALLOWED_FILES. Every extension is recorded openly with who authorised it and why.
  • Archive and forensic tags. Agents may not delete files. Before any line of work is removed its last state is tagged, under a rule that lets nobody delete those tags, him included; the repository carries 28 archive tags and two forensic ones. A tool he replaces is kept in place with the reason written on it.

Who checks whom

  • The lead agent, the specialists and the review seats. A lead agent carries one objective he has approved, from scope fence to merge; a whole track of issues is recorded as an execution contract. The lead hands parts to specialist agents under a written dispatch contract, and any helper whose output will be acted on reads the full instruction set itself. Two review seats judge every load-bearing change in fresh context: conformance (ca-conformance) asks whether it does what the business rules say, and craft (ca-craft) asks whether it is built correctly. A domain-authority seat (eng-domain-authority) rules on what the product must do and in what order. The agent that wrote a change never reviews it, and done means the gate's exit code, the pass or fail a program returns, never a report.
  • File the finding and continue. A problem found outside the objective becomes a tracked issue and the work carries on. Chasing it and stopping for it are both named failures.
  • The five-role prompt suite. Implementation, QA, task-maker, task-auditor and interface roles, each tied to the truth documents, so the builder's confidence was never the acceptance test.
  • The Behavioral Audit System. Two generations of audits of what the product actually does against what the documents say it does: 34 documents, 14,172 lines.
  • The blueprint pipeline. For large decisions: vision, discovery, research, specification, design, plan. Each stage is written fresh, reviewed by a fresh agent, and waits for his approval, which is recorded in a state file.
  • The scope-drift audit and approval ledger. A 45-hour run of agent work was graded against his own approvals, each approval paired with the proposal it approved, by graders kept away from the documents under suspicion. Where the graders disagreed, the disagreement was kept on the record.
  • Reviewed handoffs. Work passes between sessions as written handoffs that are themselves reviewed; one review produced seven fixes. The next session re-derives the facts and does not take the handoff on trust.

How he judges the work by its evidence

  • The venue's rules are a plain-English document its manager can read, and the software is built to it.
  • Maxwell directs the agents and judges their work by the evidence the machine produces, instead of reading every line. What reaches him is verdicts: the onboarding receipt, a short fixed Completion Report with the raw output kept in a log, the gate's exit code, alerts in a chat channel, the board, and the morning report, whose first line carries a colour set by rule and never by mood. Every finding gives what was seen, the effect on the business, the cause, the exact fix and where it is tracked, and every escalation arrives with a recommendation and the exact command. Only decisions that are his come to him: objectives, business rulings, changes to locked documents and anything that cannot be undone.

Named concepts

The named concepts, defined

RULE 0 · the onboarding receipt · the canonical truth hierarchy (Tier 0 to Tier 3) · MUST NOT BELIEVE · the repo-map · the known-issues register · instrument reliability · Reasoning Integrity · the Senior Takeover Protocol · the reading law and the believing law · the tells · the one question · the Engineering Constitution · stop-the-line triggers · the AI Agent Protocol · the AI Failure Protocol · the Evidence Block · task capsules · ONE WRITE PATH · the outbox and the dead-letter queue · Cents · PricingSnapshot and PaymentLedger · date_claims · LOST_DATE_RACE · deposit on file · Fail closed · the Golden Gate · guard-registration · test-integrity · tdd-sequence · corpus-integrity · record-durability · the bash guard · the injection guard (R1 to R6) · the truth-pack · the scope fence (ALLOWED_FILES) · locked files and the waiver · the ADR status register · archive and forensic tags · fossil recovery · the dispatch contract · the execution contract · the conformance and craft seats · the domain-authority seat · the blueprint pipeline · the approval ledger · the Behavioral Audit System · the Morning Production Audit · the morning brief · predict, run, compare · banned dispositions · Contradiction duty · the ops anchor · OPEN VERIFICATION · the Completion Report · the Command Center · Eric is ours · The asymmetry is the rule · "Closed" is not "shipped" · Deletion requires a receipt · declare-once kernel

What it shows

He can build a real business's whole front office, with its bookings, contracts and money, at the size of a commercial product, and make it hold by directing AI agents through rules the business owns, refusals the agents cannot argue past, an independent check on every claim and a daily audit that reports its evidence to him each morning.