Building the Machine · Lesson 4
What you'll be able to do: explain why the mesh has its own GitHub account and name what that account structurally cannot do, run the three-probe ritual on any new credential and correctly read a 404 as a PASS, brief a small local model so the draft lands verbatim-correct, and run one automated lap end to end — saying precisely where the human enters the loop.
Delegating real work to a machine reduces to five verbs. Learn these and you can read any autonomous-agent pipeline, anywhere:
On your machine, with the machine account's token loaded, run:
py -m mesh.breaker new-lap "my-first-lap"
py -m mesh.lap --brief BRIEF_FILE --repo OWNER/REPO --path TARGET_FILE --base master
Watch a pull request appear on GitHub authored by an account that is not you, with the summary in its body and $0.0000 spent. Then go click the merge button — or decline it. Both are the system working. Now read on.
Three layers, built in order:
gh api, verified Write on both repos. Token gotcha learned live: fine-grained
PATs cannot cross personal accounts, so the fallback is a classic PAT, repo scope only, 90-day
expiry — the account's tiny universe does the narrowing.mesh/lap.py — strip fences, create branch,
put file, open PR, build the PUSH SUMMARY. Its Drafter call rides the Phase 4 breaker, so a lap
can never outspend its ceiling. v1 deliberately stops at "PR opened": red-CI recovery stays human
this phase.In your world this is a new employee's first day. HR issues a badge (the account) that opens exactly two doors (the invited repos). Orientation is the probe ritual: confirm the badge says their name, confirm it opens their doors, confirm it does NOT open the vault — and the vault door doesn't even admit it's a vault (the 404). Their first task comes as written instructions so precise the trainee only has to transcribe them. And nothing they produce ships until the supervisor signs the one-page summary on top.
Where the analogy ends: an employee learns from their first day. This worker learns NOTHING — the model is frozen. Every lap is exactly as smart as its brief, so all improvement lands in the briefs, templates, and pipeline: THE SCAFFOLDING LEARNS, not the worker. And unlike a trainee, its trustworthiness is not built on character: its worst possible failure is structurally bounded — a pull request you decline.
Write each answer in your own words before checking.
strip_fences ate
the file's EOF newline, and PowerShell's default encoding mojibaked the brief display. Attribute
failures honestly or you'll retrain the wrong part of the system.)This module ran live on 2026-07-06: brief assembled → py -m mesh.lap → a pull
request on a small game repo of mine, authored by the machine account, PUSH SUMMARY in the body,
$0.0000 spent → CI green in 15 seconds → I merged. Success criterion met: a pull request I would
have approved anyway. The lesson you just read is the lap that actually happened.
Lesson complete — you can now stand up a machine identity, prove a credential three ways, and run one automated lap end to end. Next: Lesson 5 — The Kill Test, where the mesh has to cold-start on a machine that has never seen it.