A kit for Claude Code that draws an organisation's standard of development out of the person who already knows it, while that person builds real software with an agent. The standard is written down as skills the agent reads and checks that fail when it is broken. A kit built this way is meant to travel: installed in the next project, it reproduces the same standard — the same patterns, logging, error handling and the rest — and, when it is mature, lets someone who is not a developer build with it.
This repository holds the base building kit: the part that governs how any such kit is built, evolved and carried to the next project. It is domain-agnostic. You install it first, whatever you are building. The kit's own founding statement is in meta-founding-contract/FOUNDING.md; how work is done here, drawn for a developer who is next to work on a project, is the method page docs/standard/flow.html, beside the page of what was built and the standard over it, docs/standard/index.html.
Four commands, wherever you are. <kit> is a clone of this repository — the release is built from its history, so a downloaded archive will not do; <project> is the project you are working in.
git clone https://github.com/oskarc/meta-kit-builder.git <kit> # anywhere outside the project
bash <kit>/meta-bootstrap/release.sh <release> # exactly the files that ship, with their hashes
mkdir -p <project>/.claude/kit-incoming && cp -R <release>/. <project>/.claude/kit-incoming/ # upgrading
mkdir -p <project>/.claude/skills && cp -R <release>/. <project>/.claude/skills/ # installing, no kit here yet
Then, from the project's root, check the ground — it changes nothing and every refusal says why:
bash .claude/kit-incoming/meta-mechanisms/checks/preflight.sh check # upgrading
bash .claude/skills/meta-mechanisms/checks/preflight.sh check install # installing
It will ask the pioneer to commit and push anything uncommitted before you start, and it says why: the run uses git for its snapshot, its way back and its merging. If a run ever stops halfway, bash .claude/kit-incoming/meta-mechanisms/checks/rollback.sh puts the project back exactly as it was and the run begins again from the start; a half-finished run is never continued.
Then open meta-bootstrap/SKILL.md in the release you just placed and follow it: Upgrading an Existing Install for an upgrade, Step 1 onwards for an install. That skill is the procedure; everything below on this page is the practice it serves. It stops once, with one page of questions for the pioneer, and asks nothing after that.
An organisation's standards are rarely written down or top of mind, but they are always known. They live as the developer's theory of the work — what good looks like here, and what would be wrong. The kit's job is to draw that theory out, progressively, as the work is done. What the developer notices, corrects and decides becomes skills that explain and checks that enforce. Those skills and checks together are the standard, and a kit that carries them can operate without its author present for every decision. The developer becomes the auditor and owner of the standard, not the executor of every system.
We call that developer the pioneer, because the end result is not known at the start. The journey is exploration, and collaboration between a human and an agent: the practice guides the pioneer, while the pioneer guides and directs the kit being built.
meta-foundation/SKILL.md defines what this work is, what the pioneer's role demands, and how the agent orients itself to that person. Its governing lines are distilled into meta-foundation/INTENT.md, which is loaded in every session.
The work rises when the pioneer's judgement is present and active. It drifts when it is not. The kit's job is to make that presence as effective as possible and to preserve what it produces, so that it compounds across time.
Ten aspects sit above every principle, pattern and rule, split between agent and human deliberately.
The agent holds five. Lay of the land, Stop on named triggers, Partner as orientation mirror, Evolution from elevation, Evidence is the work. These are checkable disciplines: the session auditor scores the agent on them from outside the session, and the agent no longer scores itself — it closes every output by answering four questions about what its framing rests on, which are the pioneer's to read.
The human holds five. Exercise judgement, Closeness, Distance, Re-orient, Hold the approval gate. These cannot be encoded — they are what the kit is in service of. The kit stops what a check can stop, and makes the rest visible. What no check can see, the human stops, and the agent accepts the stop without resistance.
Each project holds its founding contract: the pioneer's own statement of what the project is, as a body of work. It is the one input the agent cannot draft — bootstrap asks for it and records it verbatim. The original is never rewritten; progress is recorded as dated amendments that name their cause and what they now bind. Every contract opens with a bearing of at most two sentences, read against that statement. Correcting a tier of a contract is a redraw; correcting the bearing is a reevaluation. See meta-founding-contract/SKILL.md.
The kit is split by job into six layers. Each layer reaches the agent differently, so that rules do not dilute each other in context and the steps that must happen are made to happen by a mechanism rather than by memory.
| Layer | What it holds | How it reaches the agent |
|---|---|---|
| 1 · Intent | INTENT.md, the project's FOUNDING.md |
always loaded |
| 2 · Map | MAP.md — named moments → what to load |
always loaded |
| 3 · Nodes | principle, pattern, implementation and meta skills | loaded when a map entry names them |
| 4 · Casebook | the rules of the standard with their facts and whose words they are, the cards, and the checks rules became | retrieved by moment |
| 5 · Mechanisms | hooks, agent scopes, the checks — and the kit agents they launch | fire; never loaded to work |
| 6 · Ledger | observations, learnings with their reliability in words, audits | read offline by agents and scripts; its sections on trigger |
What follows from the split:
- The kit runs itself. Hooks hand the agent its kit tasks; nothing waits on the pioneer to invoke it.
- The pioneer's attention goes where only the pioneer can decide: contracts, and the codify step after each verified contract, where every reliable learning is listed and they choose by number.
- Learnings come only from the pioneer's corrections and what the checks found, each with its reliability in words, before anyone asks for a decision.
- The pioneer's corrections become the most carefully kept record in the kit.
- Name the moment. Every prompt, the agent states the map entry that fits and loads only what it points to.
- Contract. For design-open work a spec lock settles what first. Then the bearing, a precedent check against the casebook, and the four-tier proposal: the user's story, use cases (
UC-x), guardrails (G-x), and acceptance tests (T-x) that say how we would know each guardrail held. The agent drafts the tests with the tiers, from its picture of the land after the work, so its reading shows. At the gate the pioneer answers one line — some weeks on, this shipped and let you down: what do you see, and what went wrong — and the tests are realigned to those words. They are frozen with the approval and run by the verifier; one is seen to fail after the build, before the contract reads implemented. No code before approval. - Corrections. Every redirect, decline or overridden recommendation is recorded verbatim, then the pioneer is asked three short questions: what did you notice, what would have been right, where have you seen this before. After the contract is verified, the learning agent gathers every correction: what the pioneer said is the primary source of the standard.
- Build, strictly against the approved contract. Deviations stop the work.
- Record, don't present. What the work taught goes to the ledger as observations — the agent's account, evidence the gather reads and never a learning by itself. The pioneer sees a one-line summary, not a decision request.
- The lifecycle runs. At the end of each turn the stop-gate hands over at most one due task:
- the session auditor checks the transcript for evidence of what was done
- the question after the build, put once in the envelope: run the review round and the checker now, or revisions first; silence runs nothing, and after revisions it is asked again
- the verifier, on the pioneer's "now" and after one review round: runs the acceptance tests and checks each clause against outside evidence
- the learning agent gathers what the contract taught from the pioneer's corrections and the checks' findings, writes each learning's reliability in words, and marks the ones above the bar
- meta-learning diffs what was contracted against what was verified
- Codify the standard. After a contract is verified and gathered, one message lays out every lesson that has come back in four contracts at a reliability graded high, or whose impact would be substantial, grouped by the part of the kit it would change: for each, when the pioneer said it and what it answered, the agent's reading of why they said it, why it is reliable and impactful, and the change it would make in a skill and in the rules. The pioneer shapes each by number: take, rewrite, strike, or leave it for next time; correct the reading; agree or disagree with its grading. Nothing enters the standard by silence. A hard case reaches them as a card with two options, in the same sitting.
- Written in the pioneer's words. A taken learning is written into the skill at the sentence, into the node's rule file, or both, with its source; into the casebook as a rule marked whose words it is; and the standard page is redrawn. A rule broken again with its sentence in front of the agent is offered next time as a check, never as another sentence. After each contract a note reads back how the pioneer guided it, in counts and their own quotes, and binds nothing until they say it is right.
The agent you talk to is the main agent. It draws contracts with you, builds, and records. Three other agents do the kit's housekeeping, and none of them is started by you: at the end of a turn the stop-gate looks at the records, finds the first task that is due, and tells the main agent to launch the agent for it. Each of those agents is deliberately blind to something, because a check made by the same eyes that did the work confirms intentions, not outcomes. Here is what each one is for, when it wakes, and what it must not see.
Where observations come from. Everything the kit learns starts as an observation: one sentence, one claim, written to the ledger. The main agent writes most of them, when a feature is finished and the work taught it something. Others come from meta-learning, which compares what a contract promised with what verification found; from the session auditor, when it sees a correction that nobody recorded; from the session itself, when a piece of kit knowledge existed but did not load; and the pioneer's own words, kept as corrections, which are the primary source of every learning you make, in your words; and from you, when you say something about the standard unprompted. Observations are cheap and raw. Nothing acts on one directly.
The session auditor wakes when a contract has been implemented and its session has not been audited. It reads the transcript of that session from outside, looks for evidence of what was actually done rather than what was said, scores the agent on the five aspects. It also lists corrections that were made but never recorded.
The verifier wakes when a contract has been implemented, the pioneer has said to check it now, and there is something to verify: the kit asks after every build whether to run the review round and the checker now or take revisions first, so the check reads the version the pioneer is happy with, and one review round — a fresh reader attacking the build — runs before it. It reads the contract, runs each acceptance test exactly as written, and then reads the code and the outputs for the clauses no test covers. It records a verdict per clause: verified, corrected, or open. It is told the contract id and nothing else, so the builder's account of how the work went cannot steer it. It never reads the ledger, the corrections or the casebook, because those are evidence records and the verifier's job is to produce evidence, not to lean on it.
The learning agent wakes when a contract has been verified and not yet gathered. It reads that contract's corrections in the pioneer's own words and what the checks found — the verifier's verdicts, the auditor's findings, the records edited without their skill loaded — writes each learning as a rule with one sentence saying how reliable it is and why, its reading of why the pioneer said it, its impact and the change it would make in a skill and in the rules, marks the ones that have come back in four contracts at a reliability it grades high, or whose impact it grades substantial, as over the bar, and drafts the readback. It decides nothing, and it never writes a learning from the agent's own account of its work.
No agent decides what enters the standard, overrules a rule, amends the founding statement or ranks a card. Agents report; they never fix. Nothing in the kit scores you.
For reference, the same three in one table:
| Agent | Wakes when | Must not see | Writes |
|---|---|---|---|
kit-session-auditor |
an implemented contract is unaudited | other sessions' transcripts | audits, missed corrections, map misses |
kit-learning |
a contract is verified and not yet gathered | session transcripts | learnings with their reliability in words, the readback, the gathered marks |
kit-verifier |
a contract is implemented, the pioneer said "now", and evidence exists | the builder's account; the ledger, corrections and casebook | test results and clause verdicts in the contract log |
The limits are stated, not implied. Scopes cover the ordinary path: a Grep over a parent directory can still reach a denied file, an agent with Bash can write through a shell command, and each agent's own transcript records what it read. None of this is a security boundary; it is a discipline made cheap to keep, with an auditor as backstop for the main session.
| Hook | Event | Does |
|---|---|---|
session-start.sh |
SessionStart | puts the kit's backlog in context, one line per due item |
prompt-submit.sh |
UserPromptSubmit | forces the situation assessment; flags possible corrections |
stop-gate.sh |
Stop | hands over one due kit task per turn; never while a question to the pioneer is open |
subagent-stop.sh |
SubagentStop | records which agents ran |
post-read.sh |
PostToolUse | records which kit files loaded, separating agent reads — the map's telemetry |
owner-check.sh |
PostToolUse | records a governed record edited while its owning skill sat unread — ownership evidence, a finding the learning agent reads at the gather |
deny-paths.sh, write-scope.sh |
PreToolUse, in agent frontmatter | agent blindness and write scope |
agent-launch.sh |
PreToolUse, when an agent is launched | records that one is starting, with one number standing for the content of everything a kit agent may write, so the gate can tell a running agent from one that exhausted in silence — and it reads only the kit's own agents, not a project's other helpers |
mark-done.sh |
run by the agent at the end of an install or upgrade | marks the end of an install or upgrade in telemetry |
checks/P-NNN.sh |
run by the verifier and on upgrade | one check per rule the pioneer holds by a check, written when the learning is taken |
checks/G1-size.sh |
run by the verifier and on upgrade | fails when INTENT.md or the map outgrow their allowance |
checks/G2-migration.sh |
run on upgrade | fails when a migrated record is malformed, a field or a base node or coverage line is missing |
checks/G3-retired.sh |
run by the verifier and on upgrade | fails when a wording the kit has retired still stands in any of its texts |
checks/G4-pointers.sh |
run by the verifier and on upgrade | fails when a pointer names a heading its target does not have |
checks/G5-steps.sh |
run by the verifier and on upgrade | fails when a paragraph of the bootstrap skill outgrows 1,200 bytes — the procedure stays in steps |
checks/G8-words.sh |
run by the verifier and on upgrade | fails when a rule or a learning marked as the pioneer's words does not quote the correction it names — nothing stands in the pioneer's name that they did not say |
checks/G9-sources.sh |
run by the verifier, at codify and after an extraction | fails when a taken rule was written without its source, or an extraction dropped one — whose words a rule is in travels with it |
checks/G10-learnings.sh |
run by the verifier and on upgrade | fails when a learning that can reach the pioneer rests on the agent's own account alone, or when a learning's reliability is a number or a code instead of a sentence |
checks/codify-list.sh, checks/codify-record.sh |
run by the agent at codify | the list of lessons over the bar, grouped by the part of the kit each would change and laid out in your form, drawn from the records alone and numbered when it is put; your reply recorded by those numbers — taken, rewritten in your words, struck, left, your grading and your correction of the reading — and refused, changing nothing, when a line is not one of the reply forms |
checks/readback.sh |
run at the gather, and when the readback is put and confirmed | how you guided a contract against the one before it, counted by step, grade and intervention; your confirmation kept in your words |
checks/trial.sh, checks/ladder.sh |
run when a plan is drawn, at its gate, after verification, and at the gather | a learning below the bar tried as one provisional test with its own word; a rule held by a sentence and broken again while its guide was loaded, offered one step up, naming the session |
checks/rule-file.sh |
run at codify for a learning you placed in a rule | writes it into its node's rule file under .claude/rules/, with the node's area as its patterns and its source at the end of the line |
checks/message-shape.sh, checks/reader-test.sh |
the stop hook, on every message; the release, only on your approval | holds a message that carries a kind label to the envelope's shape, never blocking; readers who know nothing of the kit read the six messages and a judge grades what they understood |
checks/migrate-026.sh |
run on upgrade to 0.34 | brings a project's records to the form of contract-026 in place, and is safe to run more than once |
checks/migrate-027.sh |
run on upgrade to 0.35, after migrate-026.sh |
gives every learning the fields the codify step now shows — why it was said, its impact, the change it would make to a skill and to the rules — and grades the undecided ones again under the bar of four contracts at a reliability graded high, or a substantial impact; safe to run more than once |
checks/G6-refusals.sh |
run by the verifier and on upgrade | fails when a refusal the kit can print names no way forward — every one is registered with its next step; a project registers its own in refusal-nextsteps.project.txt, which no upgrade replaces |
checks/waiting-on-you.sh |
read by the agent at the start of a sitting | lists what is queued on the pioneer's decision, oldest first, each line with its count |
checks/records-index.sh |
run by an agent before it reads a record | one line per item to act on, each keeping its line number, so what an agent must read does not grow with the project |
checks/transcript-digest.sh |
run by the agent before the session auditor | turns a session transcript into one row per turn, so the audit can start whatever the transcript's size; prints the path in the spelling the auditor's file tools can open |
checks/standard-page.sh |
run by the agent at install and upgrade, after a lesson is taken into the standard, and at extraction | draws, from one model of the records and the repository (standard-model.sh), what the project is and the standard over it — docs/standard/index.html and STANDARD.md: every part of what was built in a fixed place, the grid of the standard over the parts, how each piece was made, how it grew, where it is weak — and the method page beside it, flow.html and FLOW.md (flow-page.sh); no id outside a quotation, nothing folded; --check holds the published pages to the records both ways; a failure is reported once and never holds a contract |
checks/preflight.sh, checks/rollback.sh |
run at the start of an install or upgrade; after one that stopped halfway | checks the ground and refuses with a reason; records the starting point; restores the project to it exactly |
checks/merge.sh |
run on upgrade | puts your own lines onto the new kit's text with git's three-way merge, and reports a conflict with both versions; refreshes a record's header and keeps your notes beneath it |
checks/install.sh |
run at step 5 of an install and of an upgrade, by the rehearsal and the real run alike | takes the classified files, deploys the agents, merges the settings, replaces the CLAUDE.md block, adds the folders and ignore entries, removes what the kit no longer ships — and refuses, changing nothing, rather than guess at a settings file or a block it cannot identify; a P-NNN.sh whose precedent is in your casebook is never removed |
checks/hooks-selftest.sh |
run at the end of an install or upgrade | runs every hook once against a throwaway copy, so the test writes nothing into your records |
checks/roots.sh, checks/residue.sh |
run on upgrade | the project's root nodes by id; the lines of a kit skill that are the project's own, re-wrapping set aside |
bash, sed, awk, grep, tr and date only — no jq, no python (meta-mechanisms/SKILL.md → Portability). State is read through flat marker keys listed there; renaming one silently switches a mechanism off. The hooks and the lifecycle are exercised by the walks under meta-mechanisms/tests/, which exit non-zero when a state differs from what is expected.
meta-foundation/ SKILL.md (the frame) · INTENT.md (always loaded)
meta-founding-contract/ SKILL.md · FOUNDING.md (instance — this repo's own statement)
meta-map/ SKILL.md · MAP.md (always loaded)
meta-bootstrap/ SKILL.md — install and upgrade · history/ (the line history an upgrade measures against)
meta-contract-before-execution/ SKILL.md · CONTRACT-LOG.yaml
meta-contract-artifact/ SKILL.md
meta-casebook/ SKILL.md · CASEBOOK.yaml
meta-correction-log/ SKILL.md · CORRECTIONS.yaml
meta-skill-builder/ SKILL.md — codify the standard, and the abstraction loop
meta-learning/ SKILL.md · LEARNINGLOG.yaml
meta-ledger/ SKILL.md · LEDGER.yaml
meta-mechanisms/ SKILL.md · hooks/*.sh · checks/*.sh · tests/
meta-understanding/ SKILL.md — the four questions every output ends with
meta-antidrift/ SKILL.md
meta-antidrift-expand/ SKILL.md
meta-drift-eventlog/ SKILL.md · DRIFTLOG.yaml
meta-extract/ SKILL.md
meta-manifest/ SKILL.md · MANIFEST.yaml
agents/ kit-verifier · kit-learning · kit-session-auditor
templates/ MANIFEST · MAP · CONTRACT-LOG · DRIFTLOG · LEARNINGLOG · LEDGER · CORRECTIONS ·
CASEBOOK · FOUNDING · settings (hooks) · standard-page/ (the page frames) ·
messages/ (the six kinds of message the kit puts to you, one shape)
docs/ ROADMAP.md (what is coming, and why) ·
readme-review.md · rebuild-design.md · reports/ · standard/ (what was built and the standard over it, and the method page beside it, drawn from the records)
.gitattributes keeps the hook scripts on LF endings
Instance files in this repo — the manifest, logs, ledger, corrections, casebook, map and founding file — belong to the base kit itself. Its manifest reads kit_type: base, which is how the mechanisms know they are not installed in a project yet. Consumer projects are always seeded from templates/.
- Always:
INTENT.md,FOUNDING.md,MAP.md— imported by CLAUDE.md. - On trigger: every other skill, named by a map entry — including the ledger's own sections when a contract cites a learning.
- Fires: hooks, checks and kit agents.
- Offline: the ledger's evidence and the telemetry log; agents and scripts read them, and no session loads them whole.
CLAUDE.md ← kit block with three @imports, between kit-block markers
.gitattributes ← *.sh text eol=lf
docs/standard/ ← what was built and the standard over it, and the method page, drawn by the agent (contracts 025, 028)
.claude/
settings.json ← kit hooks, merged by bootstrap
agents/ ← the kit agents, copied by bootstrap
rules/ ← one rule file per node, written by the kit when the pioneer takes a learning for a rule
kit-incoming/ ← a newer kit staged for upgrade (removed afterwards)
skills/
meta-*/ ← base kit nodes, instance files seeded from templates
meta-manifest/INSTALLED.sha1 ← per-file baseline, so an upgrade can tell evolved from untouched
installed/ ← the kit's skills as last shipped: the yardstick your own lines are measured against
meta-mechanisms/checks/ ← checks written when the pioneer holds a rule by a check
agents/ templates/ ← as shipped
[type-category and project nodes discovered through use]
library/[category]/ ← placed here by the developer: META.yaml, skills, CASEBOOK.yaml
All skills follow [layer]-[name]/SKILL.md. The folder carries layer identity; the file is always SKILL.md for loader auto-discovery; the manifest uses the joined form. Layer prefixes: principle-, pattern-, implementation-, meta-. Kit agents are kit-[role].md. Every node opens with a > **Map:** header naming the entries that load it.
- Build a release and place it in your project's
.claude/skills/— the four commands under For an agent above. A raw copy of this repository is not a kit: it carries this repository's own records, and the install's ground check refuses it. - Open a session. The kit is not active yet — the install writes the project's manifest last, and until then every mechanism stays silent. The install cue lives in
meta-bootstrap's own description, because the map is not imported until bootstrap writes the CLAUDE.md block. Ask the agent to run meta-bootstrap if it doesn't offer. - Bootstrap reads the project first, then puts everything to you once: the practice, its reading of the project, and one sheet of questions — each with a default and what each answer changes — covering the applications your system spans, a library kit if it found one, the CLAUDE.md block, the settings merge, and whether to ratify the map now or later. Defaults is a complete answer. Then it asks for the founding contract, which has its own moment. After that nothing asks: it installs the hooks and agents, writes the CLAUDE.md block, seeds every instance file from its template — replacing the base kit's own copies, with the project manifest written last — and ends on a done block: what was verified, what waits on you and the words that summon it, what was not checked, start working.
- Start a new session, so the hooks load. From then on the kit runs itself.
Never copy a new kit over .claude/skills/. It would overwrite your manifest, logs, ledger and corrections, and flatten any skill your project has evolved. Instead, build a release in the kit's repository — bash meta-bootstrap/release.sh <folder> exports exactly the files that ship, with a list of them and their checksums — place that folder in .claude/kit-incoming/, and open a session; the session-start hook names the upgrade, and the agent follows the staged kit's meta-bootstrap — the copy that knows what it added. It is upgraded the way software is: the ground is checked first, and the check refuses, each time with its reason, if the staged kit is not whole, or you have uncommitted work — it asks you to commit and push first, because the upgrade uses git: your last commit is its snapshot and its way back. If a run stops halfway, one command restores the project exactly and the run is started again, never continued. The upgrade is rehearsed on a copy of your .claude/ first, silently, with a log of three numbers: decisions asked, files that genuinely differed, and troubleshooting steps. The rehearsal produces one sheet: every question the real run would meet, each with the rehearsal's answer as its default and what each choice changes. A kit skill is asked about only where you wrote lines of your own in it — the upgrade measures them against the copy the kit last installed, takes a re-wrapped line for the kit's, and shows you exactly those lines: reapply them on top of the upgraded skill, or replace. Your own lines are put onto the new skill by git's three-way merge, and where your edit and the kit's change meet in the same lines, the sheet shows both versions and asks which stands. Beside those come at most seven standing questions, each only when it applies: the files the kit no longer ships, which older contracts you want verified, drift entries awaiting review, base lines you changed in a record, the applications your system spans, which project skills belong in the always-loaded map, and whether to ratify the map now or later. You answer once; the real run takes every answer from the sheet, asks nothing, and ends on the same done block as an install. Existing records are never replaced; new fields are added with a default that says they were not there before, and a migration check fails the run if a record came out incomplete. A project from before the map and the hooks existed is upgraded by the same steps, measured against the line history the kit ships.
Phase 1 — Discovery. No type-category kit exists yet. Every session builds the system and evolves the emerging standard. Nodes, precedents and map entries are discovered, not inherited.
Phase 2 — Maturity. The type-category layer separates from the project layer. Learnings per contract fall, verification diffs increasingly confirm, and the correction log shows the pioneer's interventions moving from redirecting toward reviewing.
Phase 3 — Extraction. When the instruments say the standard carries the pioneer's judgement, run meta-extract. It packages the type-category nodes, their map entries and their precedents for the library. The next project of the same type inherits the generation.
Silence is not the measure; failure produces silence too. The ledger and the contract log keep the instruments, and every number in them is a count of things that happened, never a score of the pioneer:
- learnings gathered per contract, and how many were taken — read next to the share of sessions audited and contracts verified, so a fall in learnings is not mistaken for a fall in attention
- corrections from tests versus from reading — whether the acceptance tests are doing the finding, or the pioneer still is
- cost per contract — turns, tokens where known, the pioneer's minutes; nothing estimated
- the readback — how the pioneer's corrections move by step, from redirecting the work toward reviewing it, in counts they confirm
The non-developer milestone is reached when those instruments hold across generations: few learnings with healthy process, corrections moving from reading toward tests, and the readback confirmed by the pioneer.
- A prompt library or collection of reusable snippets
- A replacement for developer judgement — it draws judgement out and writes it down; it does not substitute for it
- A finished standard — the base kit is intentionally minimal; type-category kits are built through use
- A tool that works without discipline — the mechanisms make discipline cheap; they do not make it optional
- A solo endeavour — the human's presence in the work is not optional. It is what makes the standard rise rather than drift
The base building kit is at v0.36. Since the six-layer form was built and reviewed (contracts 001 and 002), twenty-six contracts have moved it:
- Contract-003 ratified the founding statement's place in every contract: the bearing, read against
FOUNDING.md, with redraw and reevaluation told apart. - Contract-004 gave every skill the records it owns and a hook that notices when a record is edited without its skill being read, and made the consolidator read each candidate against the text of the skill it would change — so a learning can update or retire a rule as readily as add one. It also made acceptance tests the fourth tier of every contract, frozen at approval.
- Contract-005 made the pioneer's corrections the place where the standard gets written: three questions asked at the moment of a correction, and a case clerk that turns the answer into a precedent and, where it can be tested, into a check that fails.
- Contract-006 subtracted what the kit's own research could not support. Scores computed over evidence from one person, one model and one codebase were removed rather than tuned; nothing in the kit scores the pioneer; the rebuild experiment was withdrawn to
docs/rebuild-design.mdwith the conditions for its return; the intent was aligned to the founding statement and ratified. - Contract-007 made the kit ready to travel: the version moves, the upgrade migrates everything 004–006 added, stale files are listed and removed only on confirmation, and the upgrade is rehearsed on a copy before it touches a project. It also corrected the hooks where they told the agent something false, made the lifecycle walks fail when a state is wrong, added the size check, and re-evaluated this README line by line (
docs/readme-review.md). - Contract-008 made the upgrade compare by mechanism after the first real fork lost three of its own evolutions and eight registry nodes without a question: the kit keeps an installed copy of every meta skill as the yardstick, asks only where a project wrote lines of its own (reapply on top, or replace), checks a migration for completeness and validity as well as preservation, computes the map's roots by id, lets a deferred drift entry rest at
legacy, and keeps the rehearsal log. - Contract-009 closed the four gaps the first real upgrade run logged, each where the log found it: the staged folder is the travel set and may be cloned and copied at a short path, an absent base coverage line is added and checked, an empty ratification pass asks nothing, and the record templates' headers read as the record's; the tree-or-commit question became the seventh standing question, and the kit's own log and corrections were backfilled so its own migration check passes on its own tree.
- Contract-010 let a kit govern a system that spans repositories from the one it is installed in: the applications are named once at install, the agent writes the manifest's
workspacelist, theadditionalDirectoriesgrant and the kit-block line itself, and the hooks act on the kit their event belongs to, found by walking up from the working directory, so a session moved into the pilot with/cdruns its hooks and another kit's reads are never this kit's evidence. - Contract-011 made the install and the upgrade read everything first and ask everything once: one sheet with the default and the impact of each choice, a run that cannot stop after it, a done block that says what was verified, what waits and what was not checked, and a
doneline in telemetry that holds the first review batch until the next session. - Contract-012 drafts Tier 4 with the tiers: the acceptance tests arrive with the bearing and Tiers 1 to 3, drawn from the agent's picture of the land after implementation so its reading shows before any code; the pioneer's disappointment line per guarantee is still asked and still wins, the tests it moves are realigned before approval and named on a
realigned:line, and the gate is one stop. - Contract-013 made the kit say one thing everywhere, after the verifier read contracts 008 to 012 and found one kind of miss in all five — a sentence changed beside a sentence left saying the opposite, and tests that searched only for the new words: the contract order, the doctrine that a matching precedent decides, the silent run and the nine seeded templates now read the same in every file; a script measures which lines of a kit skill are the project's own and sets re-wrapping aside; the hooks bring a path's two Windows spellings to one; and two checks fail on the class — a list of retired wordings that must not survive anywhere, and pointers that must name a heading that exists.
- Contract-014 is the pioneer's presentation rule: whatever reaches them says what it is, why now, and what is asked — no id, code or number stands alone. It is one always-loaded line and one section of the foundation skill, applied to the review-batch item, the summary after a build, how a contract cites a past ruling, and anything an agent's result is passed on as. The plain words sit beside the record's own words and never replace them, and the ask is exactly the one the record allows — the pioneer's pre-mortem was a translation that loses accuracy. The session auditor checks the agent's messages from outside the session.
- Contract-015 moved three promises off the agent's memory and onto mechanisms: the first review batch after an install or upgrade is held by the baseline that run wrote, whether or not the done script was remembered; a contract records the session's id, which the session-start hook names, so the auditor can find the session and no machine path is tracked; and a session launched in one installed kit that moves inside another is told so on every prompt. The walk that travels with the kit now tests which kit a hook acts on, both Windows path spellings, the hold and the session id. The contract gate states the pioneer's default: given no disappointment line, the pre-mortem stands as the line.
- Contract-016 put the upgrade procedure into steps without changing a word of it: the bootstrap skill's ten longest paragraphs — the rehearsal step had grown to 4,078 bytes in one — were split at line breaks only, proved identical to the old text once line breaks and list markers are set aside, and read by two independent readers, one given the old text and one the new. A check now fails when any paragraph of that skill outgrows 1,200 bytes.
- Contract-017 made the install and the upgrade follow how software is upgraded, after the procedure was checked against twelve standard practices taken from their own documentation (report-005) and rehearsed on three projects: a release is built by one command, with a list of what ships; a preflight checks the ground and refuses with a reason — on uncommitted work it asks the pioneer to commit and push, and says why; every run starts from a recorded point and one command restores it; the files an upgrade compares against are replaced last; the pioneer's own lines are merged onto the new kit by git, which the kit may now use; and the upgrade's tests write nothing into a project's records.
- Contract-018 came out of the first upgrade of a real project by an agent that had never seen this repository. It scored clean on both of the procedure's own instruments — three questions asked, no troubleshooting — while a required step was silently skipped, because the text named its files by counting bullets instead of listing them. So the step that installs files became a script both the rehearsal and the real run call,
checks/install.sh, which refuses rather than guesses: it will not merge a settings file that is not the one the last install shipped, will not replace aCLAUDE.mdblock whose end is a judgement, and will not delete aP-NNN.shwhose precedent is in your casebook — the one place the procedure's default motion was deletion of something you made. The README gained the four commands an agent needs, the log learned that a report is not a contract, and the upgrade report gained one question: what can this project do now that it could not before. - Contract-019 came from a day downstream in which a gate asked an agent to do an impossible thing twenty-one times and the agent refused, correctly, twenty-one times — because nothing in the kit could record this cannot be done.
auditedwastrueorfalse, so a task nobody could do and a task nobody had got to read the same, and everything below it in the queue went unserved while the pioneer ran the lifecycle by hand. The four lifecycle states now takeblockedwith a reason and what it waits for, on the record beside the state; the gate skips a blocked task, puts it to the pioneer once a sitting with a suggested action, and treats the same hand-over three turns running as a fault rather than a backlog; a documented refusal stops counting as drift; the session auditor reads a digest of one row per turn instead of a transcript whose every line is a whole turn; and every refusal the kit can print is registered with the next step it gives the reader, held bychecks/G6-refusals.sh. - Contract-020 replaced the block that closed every output. It graded the agent on five qualities it could not see the absence of, so it read cleanest exactly when it was most wrong — a downstream report watched a whole working day pass with every gate green over understanding that would not survive one question. Every output to the pioneer now ends with four questions instead, in the agent's own prose, two to three sentences each: what the framing should have rested on, what it did rest on, why that, and how it was put to them. Nothing scores, counts or checks the answers — the pioneer reads them, and a story that is not true stops matching the work within a few rounds. The agent no longer scores itself;
kit-session-auditorscores the five aspects from the transcript and picks up the approvals acted on and the deviations nobody authorised. A new node,meta-understanding, carries why the questions exist. - Contract-021 came from the first complete run of the lifecycle in a real project. It ran end to end and the pioneer held it together by hand: four kit agents ran out of turns eight times in two days, every one with the work done and nothing written, and a person restarted each; four times the gate dispatched a second agent while the first still held the ledger; twice it called a task that was waiting on the pioneer a fault. An agent is now recorded starting as well as stopping, with the length of every record it may write, so the gate can tell a running agent from one that exhausted in silence. While an agent runs nothing else is dispatched, and that hold expires like a lease if it never reports finishing. An agent that wrote nothing is resumed once and then recorded blocked. Waiting is no longer called failing. Every hand-over names how many tasks stand behind it. And
checks/records-index.shgives an agent one line per item it must act on, each keeping its line number, because what exhausted them was reading a record that grows with every contract. - Contract-022 came from drawing the loop and marking every point where it stops and asks the pioneer something. Three of those stops were carrying more than one kind of question: a direction to judge, tests to disappoint, and design choices to pick between, all in the message where getting it wrong costs most. The bearing is now served alone and first, marked as the thing everything else derives from, so rejecting a direction costs two sentences of reading instead of four tiers — and the gate is still one stop. Design choices leave the gate for the spec lock, before the tiers exist; anything not load-bearing the agent decides with its reasoning shown. And
checks/waiting-on-you.shlists what is queued on the pioneer, which the session-start hook hands to the agent to put to them at the start of a sitting, so a backlog never again reaches them only because they asked. A review batch appears as one line with no count, because knowing how many items are really due would let the re-presented ones be counted out. - Contract-023 came from reading the whole kit for places where one part contradicts another, after a downstream report argued that the sealed key had survived four releases because it lives in the one layer no shell test can reach. There were nineteen, and nine had been introduced by the four contracts before this one — each of which passed its own tests, because each test asked whether the new rule did what it said and none asked what else passes through the point that was changed. The pioneer's ruling on the list: obvious conflicts and errors are handled, not parked. So the key is sealed by a script, as it is opened by one, and a review batch can be assembled for the first time; the batch step is the agent's move and a jam there is called a fault instead of "waiting on you"; every gate task that can block has somewhere to write it; only the kit's own agents are watched, and "wrote nothing" is judged by content; whether a review is due is one rule that three readers call; the auditor is handed a path it can open; and eight sentences that said what the kit no longer does were corrected, their old wordings listed as retired. Every repair is tested from the side it was hidden from — each agent's own procedure run through its own guards, the fingerprint held to the agents' write scopes, the inventory and the self-test held to the folders they describe.
- Contract-024 came from the first review batch a project ever held — twenty items, five corrections drawn by the review itself. A batch is now held to six items and 1,200 words by a check, every kind of item has a form written for a reader new to the practice, a card can be deferred, the two opening questions are asked of candidates only, the records index lists live candidates by target, a changed mind reaches its precedent, and the correction log says an override is not an error.
- Contract-025 made the standard legible to someone who was not in the room: one page, drawn from the records by a script and never typed, that says what the project is for in the pioneer's words, what rules it holds itself to node by node with the case behind each, which of those a script enforces and which rest on the reader, how the standard grew and where it is thin, how a piece of work moves from intent to codified rule, and where every file lives. Two versions from one run — a web page and a text git renders — drawn again whenever a learning is adopted into a skill, with every number counted, every quotation dated, no kit term left bare, and a check that holds the page to the records both ways.
- Contract-026 put the learning route on the pioneer's core and retired the form that had grown around it. After each verified contract a learning agent reads only two sources, the pioneer's corrections in their own words and what the checks found, and writes each lesson with its reliability as a sentence; the ones reliable enough reach the pioneer as one list, most reliable first, answered by number, and only what they take enters the standard, written with its source into a skill, into a rule file for one area of the code, or both. A lesson not yet reliable is tried as one provisional test in the next plan; a rule broken again while its guide was loaded is offered one step up, as a check or a hook; a short readback of how the pioneer guided each contract binds nothing until they confirm it. Everything the kit puts to the pioneer is one of six kinds of message in one shape, held by a check on the stop hook that never blocks. The review batch, the sealed key and its blind, the recorder, forecasts, the consolidator, clerk-written rulings, the batch assembler, the map steward and the reconstructor were removed, and an upgrade migrates a project's records without losing an open item or showing a settled one twice. Before it was verified, eight rounds of adversarial review and a read-through of every promise against the code found and fixed 65 defects. Its first codify list showed the step leaving the pioneer outside the loop where they should be most inside it, so its lessons wait for the next contract to rebuild the step.
- Contract-027 put the pioneer inside the loop at the step where lessons become the standard, after its first codify list — sixteen quotes of their own words, each without the moment it was said in — showed them outside it. A lesson now reaches them only when it has come back in four contracts at a reliability the learning agent grades high, or when its impact is graded substantial, never for being in their words alone. Each comes grouped by the part of the kit it would change, with when it was said and what it answered, the agent's reading of why they said it, marked as the agent's for them to correct, why it is reliable and impactful, and the change it would make in a skill and in the rules, each label on its own line; they take, rewrite or strike it, correct the reading, and agree or disagree with the grading, and a lesson they disagree with waits until it comes back. After every build the kit asks whether to run the review round and the checker now, or take revisions first, and silence runs nothing: the rounds had cost them about twelve to fourteen hours with the fixing between them. And every question, in any repository, says which step it belongs to, why now, what is asked and what silence does.
- Contract-028 drew the standard as a built system, for the developer who did not build a project and is the next to work on it. The standard page opens with what the project is and what surrounds it, then draws every part of what was built in a fixed place — the product's folders as its programmers laid them out, read from the file names and from the commit messages that name each contract, never a file's contents — then the standard laid over the parts as a grid: what holds each piece (a check, a hook, or only text), whose words it is, the corrections it came from, and the parts nothing covers, drawn as gaps. The method page beside it draws who does what, the four steps as a blueprint, and every question the kit asks, copied from the kit's own text, with one real contract walked through. A clash between two pieces of the standard now reaches the pioneer as a card and is named at every session start until they rank it; an exception is drawn beside the approval where it was made, not carded. No id stands on either page outside a quotation, nothing is folded, and a check holds both pages to the records both ways.
The first evaluation in a project other than this one is under way and not yet reported. Known limits are tracked in the manifest's gap queue: independence with a single pioneer; the marker-key dependency; this repository not running its own mechanisms in a session; subagent inheritance of deny rules; transcript access for the auditor, and agents' own transcripts going unaudited; the rebuild experiment awaiting its conditions; and a contradicting correction that is due at once still waiting for a batch to open.
Contributions, forks, and field reports welcome.