Estate Genome · the birth check
Every part is born knowing what it is, how to prove it, how to be removed, and where to stop.
Estate Genome is a check that every piece of software must pass before it is trusted: a code repository, an AI agent, a contract, a model or a service. It is admitted as a cell only when four things hold, and the check proves them by running the part's own code: it describes itself; its judge tells right from wrong; it reports its health and can be removed and put back exactly; and it refuses work outside its lane, naming who that work goes to. A part that fails any one is not admitted, and the check says exactly why.
1Describe
It ships a seed.json: what it is, what it takes, what it refuses, how to check it, where it came from. Any person or AI agent can find it and know how to use it without asking anyone.
2Verify
It names its judge, the check that makes its output right. The birth check gives the judge a known-good case and a known-bad case. A judge that calls the bad case "verified" fails.
3Prune
It reports its health, and it can be retired reversibly. The birth check retires a copy of it, then restores it, and the result must match the original byte for byte.
4Boundary
It declares its lane. The birth check hands it one input inside the lane, which it must accept, and one outside, which it must refuse, naming who to escalate to.
Words used on this page
- Estate
- All the software an organisation owns: its code repositories, services, AI agents, contracts and models. This estate has about 1,800 repositories.
- Part
- One piece of that estate: one repository, one agent, one service.
- Cell
- A part that has passed the birth check. Only cells are trusted with work.
- Genome
- The four instructions every part carries: describe, verify, prune, boundary. In practice, a
seed.jsonfile and a smallgenome/folder in the part's repository. - Manifest (
seed.json) - The part's own description of itself: what it does, what it takes, what it refuses, how to check it.
- Judge
- The part's own check of whether an output is right. It answers verified, unverified or refused.
- Lane
- The kind of work a part says it does. Work outside the lane must be turned away and handed to a named owner.
- Hook
- A small command in the part that the birth check runs: the judge, the lane check, the health report, retire and restore.
- Retire (tombstone)
- Switching a part off in a way that can be undone exactly. Nothing is deleted.
- CI
- The automatic checks a code host such as GitHub runs on every change. The birth check runs there.
- Mutation gate
- A test of the tests: a tool makes small deliberate mistakes in the code, one at a time, and the tests must catch every one.
- Metabolism
- This estate's nightly housekeeping. It measures every repository, flags the ones nobody can vouch for, and proposes reversible retirements for a person to sign.
- Conductor
- The router that hands work only to cells whose lane fits, and escalates the rest.
Start here
- Check a manifest in this tab. In Try it, pick an example or paste your own
seed.json. The page runs the same check code the command line runs, and lists what is missing. - See the four traits proved on real runs. Further down, open DocDec, the honest example or the bluffing example. You will see each hook's actual output from a real run, judged again in this tab.
- Run the full birth check on any folder. You need Node.js 20 or newer.
git clone https://github.com/sjgant80-hub/estate-genome node estate-genome/bin/genome-check.mjs path/to/your/part
It prints one line per trait and exits 0 only for a cell. - Give your own repository the genome.
growplantsseed.json, thegenome/hooks and the CI workflow, and never overwrites anything:node estate-genome/bin/grow.mjs path/to/your/repo --name my-part --purpose "What it does, in a sentence." \ --lane my-lane --accepts "what it takes" --refuses "what it turns away" --in "input" --out "output" \ --judge-what "what makes an output right" --escalate my-team --repo my-org/my-repo --by "My team"
A freshly grown part is honestly not admitted. It names the three things only you can write: the judge, the lane check, and a good and a bad case. Write them ingenome/cell.mjsandseed.json, and it becomes a cell. - Call a cell through the guard. The birth check is once; the guard is every call. It runs the cell's lane check on
your request, then its act, then its judge on the result, and hands back only what the judge verifies (see the guard):
node estate-genome/bin/genome-run.mjs path/to/cell --input '{"your":"request"}' - Make the check run in CI. The planted workflow runs it on every push:
- uses: sjgant80-hub/estate-genome@v1
- Route work by the genome. In the conductor box, type what you need. Only admitted cells can receive work, and a request no cell's lane fits is refused and escalated.
Try it: check a manifest
This checks trait 1, the manifest, entirely in your browser. Traits 2 to 4 need the part's own code to run. That happens in the command-line check and in CI, and the recorded runs are just below.
The four traits, proved on real runs
Each of these is the full birth check run on the part's own hooks. DocDec's was run on a fresh copy from GitHub. Below each hook is its real output. At the end, this tab re-judges the recorded outputs with the same kernel and checks it reaches the same verdict.
The conductor: route work by the genome
The conductor (Kar's genome tool, and bin/route.mjs) reads the genome index, the manifests of every admitted cell, and picks the cell whose lane fits. A part
that has not passed its birth check is invisible to it. A cell must fit at least half of the request's words to receive it; a
weaker fit is refused and escalated, not guessed. Type what you need:
This tab ranks cells by what their manifests say. Before handing anything over, the command-line
conductor (bin/route.mjs) also asks the chosen cell's own lane check, on a fresh copy of that cell. Two real runs:
How it works
The birth check reads the part's seed.json, then runs the part's own hooks, each as a command with a time limit:
the judge twice, the lane check twice, the health report once, and the retire-and-restore on a scratch copy. It hands what the
hooks printed to a small kernel that judges each trait. This diagram is DocDec's real run, from the trace above.
- Describe. The kernel reads the manifest and makes … checks that it is complete and well-formed: the genome version, a name, a kind, a purpose, the lane and what it takes and refuses, the input and output, the judge, a good and a bad case that differ, two lane samples that differ, who to escalate to, the hook commands, and the repository, maker and date it came from.
- Verify. The judge runs on the good case and must answer
verified, exiting cleanly. It runs on the bad case and must not answerverified. Every answer is one of three words: verified, unverified or refused. A judge that cannot tell the two apart is a rubber stamp, and the bluffing example shows one being caught. - Prune. The health hook must report whether the part's own judge still passes (measured, true or false), and what
it knows about its use (true, false, or
nullfor not measured, said honestly). Then the part is copied to a scratch folder. Its retire command runs there and must change it; its restore command must bring back a byte-identical copy. - Boundary. The lane check runs on the in-lane sample, which it must accept. It then runs on the out-of-lane sample, which it must refuse, escalating to exactly the party the manifest names.
- Verdict. All four hold: a cell. In CI that is a green check; the daily census lists it; the conductor can route to it. Anything else is a part, with the failures named in words a person can act on.
The guard: every call checked, not just the first
The birth check proves a part once, on its own known cases. Work can still go wrong later: a change slips in, and the part starts giving wrong answers to questions its tests never asked. So the four traits do not stop at birth. Every time something asks a cell to do work, the guard checks it again, on that very request.
A cell's real work is its act, a fifth, optional hook (act.run in seed.json). The guard runs three
of the cell's own hooks in order, and stops at the first that says no:
- The lane check, on the request. Out of lane: refused and handed to the cell's named owner. The work never starts.
- The act. The cell does the work and hands back its output.
- The judge, on that output. Only an output the cell's own judge calls
verifiedis handed back. Anything else is withheld, with the reason, and escalated. A cell can also declare which parts of the request its answer must repeat unchanged (act.carries), so an answer to a different question is stopped before the judge even sees it.
Verify or dissolve: what the cell cannot stand behind never leaves the guard. Run it yourself:
node estate-genome/bin/genome-run.mjs estate-genome/examples/drifted-act --input '{"sum":[70,45]}' --log calls.jsonl
It prints what the caller is handed, as one line of JSON, and exits 0 only when the output was released. With
--log, every call adds one line to that file: the request, the decision, any output held back, and how long each hook took.
Four real calls, decided again in this tab
Each is a real call through the guard, with every hook's actual output. This tab decides each one again from those outputs, with the same guard code, and checks it reaches the same decision.
Why the drifted example is a cell at all: its judge, lane check, health and retirement are all honest, so it passes its birth check. The birth check never runs the act. Its act adds one too many whenever the true total is over 100. That is the kind of fault the guard exists for: it is caught on the first call that hits it, because the judge runs on every output.
Measured: does the guard hold, and what does it cost?
The pass rules were written and committed (guard-rules.json) before the measurement first ran. The result is published as it came out (guard-measure.json). Right and wrong are decided by the measuring script adding the two numbers itself, never by asking the cell.
| What was measured | Pass rule | Result |
|---|
The time is mostly spent starting each hook as its own process under the time-limit supervisor, so it depends on the machine and how busy it is. That is why the rule is a ratio to the bare act run on the same machine at the same time, not a fixed number of seconds. A guarded call runs three hooks where the bare act runs one.
The census: how much of this estate is cells
Every day, on GitHub's own servers, the census reads every public repository in this estate. For each one that declares a genome it takes a fresh copy and runs the full birth check. It reads only GitHub's public interface, so anyone can run it and get the same figures.
| Public repositories read | … |
| Archived (not counted) | … |
| Live | … |
| Declare a genome (ship a seed.json) | … |
| Admitted as cells (all four traits, on a fresh copy) | … |
| Declared but refused | … |
| No genome yet | … |
| Cell | Lane | Birth check |
|---|
Read …. Machine-readable: census.json and the genome index, the file any agent or conductor routes by. Cells in private repositories do not appear here: private repositories are not part of the public census.
Drift: a cell that slips is named
Being admitted once is not being trusted for ever. The census keeps a history: every day, a row for every public repository that declares a genome, with its verdict and the traits that failed (census-history.json). A repository admitted on an earlier day and refused today has drifted, and the trait it lost is named as the question it can no longer answer:
Describe
…
Verify
…
Prune
…
Boundary
…
Worked out in this tab, by the same code the census uses (src/drift.mjs), from the published
history. A repository that is archived or no longer public drops out of the census; that is retirement, not drift. One that
stops shipping its seed.json while still live is refused on describe, and named.
Conserve, do not recompute
Running every birth check again every day would prove the same thing again for every repository that has not changed. So the census keeps a fold-cache (census-cache.json): each repository's last full verdict, with the commit it was made on and the version of the checking code. A verdict is reused only when the repository's latest commit is that same commit, the checking code is the same, and the verdict is under seven days old. Anything else gets a fresh copy and the full check. The age limit matters: a cache that never expires settles onto stale answers, because a check can depend on more than the code (the date, the network, a service it calls).
Measured: a cold census against a warm one. The pass rules were committed first (foldcache-rules.json); the result is published as it came out, with every check of both runs, in the file named under the table.
| What was measured | Pass rule | Result |
|---|
Most of this estate still has no genome: … live public repositories. Upgrading old repositories in one rewrite would bake in mistakes, so it is a job for the estate's metabolism. It flags every repository with no genome. Ones that are in use get upgraded. Ones measured dead get retired, reversibly, after a person signs off. New parts are grown with the genome from the start.
From counting cells to making them
A census that only counts changes nothing. So the census feeds a worklist: every live repository that still has no genome, ranked for conversion, and a ledger of each conversion and how it came out.
Cells over time
Each point is one census day, from the published history (census-history.json): the public repositories admitted as cells that day. Point at a dot for its numbers, or open the table.
The worklist: who is converted first
scripts/convert.mjs reads the census and the estate metabolism's latest plan, and ranks every genome-less live
repository in this order:
- In use and proved: something uses it (visitors, stars, forks, or a live caller), and its proof holds (a receipt, the census or a green mutation gate). It earns the genome first, because people already depend on it.
- In use, not yet proved.
- Proved, not in use.
- No measured signal: nothing says it is used or broken.
- Not in the metabolism plan: not measured at all yet.
Within a tier, a green build comes first, then the most callers. A repository measured dead (unused, and broken, unverified or superseded) is not converted at all: it takes the retirement path, reversibly, after a person signs off. The ranked names stay on the machine that made them, because some are private. What is published is the count in each tier:
| Tier | Repositories |
|---|
The conversion ledger
Each attempt to give a repository its genome, and how it came out: admitted (its birth check passed) or escalated (it could not be made a cell without a person, and the reason says why). Public repositories only (convert.json).
| Repository | Outcome | Reason | Day |
|---|
Blueprint: how it is built, part by part
Each part is a small module. Every one with logic in it is mutation-tested: a tool rewrites the code one operator at a time
(< to <=, && to ||, and so on), and the tests must catch every
change. Nothing here is exempted.
| Part | File | What it does | Mutation gate |
|---|
Also: action.yml (the birth check as a GitHub Action, used by any repository), bin/genome-check.mjs
, bin/grow.mjs and bin/genome-run.mjs (the commands), scripts/census.mjs,
scripts/traces.mjs and scripts/guard-measure.mjs (the census, the recorded runs and the guard measurement), and CI: gate.yml runs every test, the mutation gate on every file above, estate-genome's own birth
check through its own Action, and both worked examples. The honest one must be admitted and the bluffer refused. Source:
github.com/sjgant80-hub/estate-genome.
For your business
Software estates and AI agents now grow faster than anyone can track. The usual result: services nobody can explain, agents trusted because they sound confident, and old code nobody dares delete. The genome makes every part carry its own answers, and makes CI refuse the ones that cannot back them up.
Chief executive
You know what you own. Every part says what it does and what it will not do, and only parts that prove it can receive work. An AI agent with no judge, or one that will not stay in its lane, never gets the job.
Finance
Parts nobody can describe cost people's time every year: working out what they are, whether anything uses them, whether they are safe to remove. The genome turns that hunt into reading a file. Retiring is reversible, so dead parts are shed instead of carried. The calculator below uses your numbers.
Operations
Every part names who its out-of-lane work escalates to, so a request no part should take goes to a named owner instead of being half-done. Every red birth check names exactly what is missing.
Technology
One file and one CI step per repository. The hooks are commands, so any language or tool fits: Node, Python, a contract test suite, a model evaluation. It is MIT-licensed, has no dependencies and no service to run, and the Action works in private repositories too.
Security
A part must show it refuses input outside its lane, and that its judge is not a rubber stamp, before anything is allowed to call it. A judge that verifies everything, or a lane check that takes everything, is caught at birth, not in production. Retiring is tested to be exact before anyone relies on it.
The teams
grow plants everything and names the three answers only the team can write.
After that, CI keeps the part honest on every push. There is no form to fill in, and no catalogue to keep in step by hand.
What it replaces, and what your people still do
It replaces the hunt: asking around to learn what a service does, who owns it and whether it is safe to switch off. It replaces catalogue spreadsheets kept in step by hand, trusting an AI agent because it sounds sure, and keeping old code because nobody dares delete it. It sits beside your CI and your service catalogue. It does not replace them.
Your people still write each part's judge, lane check and good and bad cases, once, and improve them as they learn. They answer the work that is escalated to them, and they sign off any retirement. The genome removes the hunt and the guesswork, not the judgement.
The cost of parts nobody can describe
This is what the hunt costs now, from your numbers. How much of it the genome removes in your organisation has not been measured: that is what the first repositories of a roll-out show.
Security, data protection and compliance, answered straight
| Question | Answer |
|---|---|
| Does the birth check run our code? | Yes. It runs the part's own hooks, the way CI runs its tests. Run it where you would run that part's tests. |
| Can a hook hang, or leave processes behind? | Each hook has a time limit (60 seconds by default). It runs under a supervisor that kills the hook's whole process tree when the limit is hit. A test proves the tree is gone, on Linux and Windows. |
| Does retiring touch the real part? | No. Retire and restore are tried on a scratch copy in the system's temporary folder, and the check only ever deletes folders it made itself. |
| What leaves our machines? | Nothing, for the birth check and grow. The census and the conductor read GitHub (the public interface in the daily census). There is no telemetry. |
| Can a cell go wrong after it is admitted? | Yes: code changes, and a fault can hide where its tests never looked. That is what the guard is for. Called through genome-run, every request is checked against the cell's lane, and every output by its judge, before anything is handed back. The drifted example on this page is admitted at birth and still has every wrong total withheld. |
| Can a part fake a pass? | It can write anything in its manifest, but the check runs its judge on its own bad case. A judge that says "verified" to everything fails, as the bluffing example shows. A weak judge that separates its one bad case from its one good case can still pass. The check proves the judge is not a rubber stamp, not that it is complete. |
| Is there an audit trail? | Yes. genome-check --json writes a report of every hook's input, output and exit code, and the verdict for each trait. In CI the run log keeps the per-trait lines for every push. The daily census commits its results, so the repository's history records every day's verdicts. |
| What do we install? | Node.js, and this repository. It has no dependencies, and nothing is installed on the part. The Action is tagged v1; pin a commit instead if your policy requires. |
| What happens when a hook fails? | A hook that crashes, times out or prints nothing fails its trait, and the report says which and why. Nothing else is touched, and the part is simply not admitted. |
| Does it make us compliant? | No tool does that on its own. For each part it gives you a written purpose, a stated lane, a named judge with a test, a named escalation and a reversible removal. AI governance and change control ask for those records. It certifies nothing. |
| Personal data? | The genome holds descriptions of software, not personal data. The census publishes repository names and lanes for public repositories only. |
Rolling it out
- One repository first. Run
growon a part you know well, write its judge, lane check and cases, and turn on the Action. - New parts are born with it. Put the workflow in your repository template, so every new part starts as an honest "part" that names what it still needs.
- Count. Run the census over your organisation to see how many parts are cells, declared, or genome-less.
- Let the metabolism work. Upgrade the genome-less parts that are in use, and retire the measured-dead ones, reversibly, with a person's sign-off.
- Route by lane. Send work, including your AI agents' work, only to admitted cells whose lane takes it. Escalate the rest to a named owner.
Support, ownership, exit
Supplied by AI Native Solutions; start a conversation through that site. Support, service levels, warranty and liability are agreed per deployment, in each deployment's agreement. The software is MIT-licensed: no licence fee, and it keeps running without us. There is no lock-in: a genome is a JSON file and a few scripts in your own repository.
Risks, answered straight
| Risk | Answer |
|---|---|
| A judge can be weak. | True. The check proves a judge tells its own good case from its own bad case. Choose bad cases that look like the mistakes you fear, and add more checks inside the judge as you learn. |
| A lane check can be loose. | True, and it is measured, not promised. DocDec's lane is a word-overlap check. On held-out questions it takes … of on-topic questions and turns away … of off-topic ones. The rest is caught later, by DocDec's own refusal. |
| Hooks run code. | Yes, the part's own code, bounded and supervised. That is the point: a manifest alone cannot prove anything. |
| Coverage is small today. | Yes: … cells of … live public repositories. The census shows the real number every day, and the metabolism raises it a part at a time. |
The case for the board
- Trust you can check. Nothing is admitted on its word. The judge, the retirement and the lane are each run on the part's own code, on every push.
- Safer to combine. Every admitted part has shown, on its own code, that it refuses work outside its lane and names who that work goes to. A part that bluffs past its edge is caught before anything relies on it.
- Lean by design. Every part can be retired and restored exactly, so dead weight is shed instead of carried.
- Legible to AI agents. The genome index tells any agent what each part does, how it is checked, and where its edge is.
White paper: four instructions, and why only four
The problem. This estate's own first full scan found … live repositories: … had no measured signal saying they were healthy or broken, and … were measured unused and broken, unverified or superseded (17 Nov 2026; only its counts are published, in data/prices.lock.json). Nobody built them to be unknowable. They were built with no way to say what they are, prove it, be removed, or stay in their lane, so finding out cost a person a hunt every time.
The idea. Give every part the same four instructions at birth, and refuse the part until it obeys them. Each instruction is load-bearing, and dropping one has a named failure:
- Without describe, a part is invisible. Nothing can find it, route to it or combine it with anything without a person explaining it.
- Without verify, a part can hand out wrong output as right, and everything that uses it inherits the error.
- Without prune, the estate only grows. Nothing can be removed safely, so it all stays.
- Without boundary, a part bluffs past its competence, and combining parts stops being safe.
What is not new, and what is. Describing software is old: package manifests, service catalogues such as Backstage's
catalog-info.yaml, and API descriptions all do it. Health checks are old too (Kubernetes probes, for example). What the
genome adds is that the birth check runs the claims. It feeds the judge a known-bad case, retires and restores a copy byte for
byte, and probes the lane from both sides. A manifest on its own cannot pass.
Why only four. Every instruction in the genome is inherited by every part, for good. So the bar for a fifth is high: it would have to name a failure these four cannot catch. A small genome is what lets it fit everywhere. The act hook is not a fifth instruction. It is the work itself, and the guard holds it to two of the four on every call: the lane on the way in, the judge on the way out.
Once is not enough. A check at birth proves a part on the cases it was born with. The guard repeats the proof on every real request, so a part that drifts is caught by the first request that shows it, not at the next review.
How it spreads. New parts are grown from the template, so they carry all four from the first commit. Old parts are not rewritten in one go. The metabolism flags the genome-less ones; the ones in use are upgraded, and the dead ones are retired reversibly. The census counts the result every day, names any cell that drifts, and ranks the next repositories to convert.
Limits, stated plainly
- It makes parts self-checking. It does not make them intelligent or aware, and it does not claim to.
- A passing judge separates its own good and bad cases. It is not proof that the judge catches every wrong output.
- Health values can be
null. A part that cannot measure its own use says so, rather than guessing. - Drift is caught once a day, by the census, on public repositories. Between censuses a regression shows up only on calls made through the guard. The history starts on 20 November 2026, the first published census.
- A reused census verdict can be up to seven days old. A repository whose behaviour depends on something outside its own code can change inside that window without the census noticing; a new commit, or new checking code, always forces a fresh check.
- The guard is only as strong as each cell's judge. A judge that checks loosely lets loose answers through, on every call.
- Each guarded call runs three of the cell's hooks instead of one, so it costs more time; the measured cost is in the guard section. Only calls made through
genome-runare guarded. - Three cells have an act today: estate-genome itself and the two worked examples. Cells without an act are still admitted; the guard refuses to do work for them.
- The browser check on this page covers the manifest (trait 1). The other three need the part's code, and run on the command line and in CI.
- The conductor ranks by the words in each manifest. The command-line conductor then confirms with the cell's own lane check before handing over work. It does not understand requests.
- The public census covers public repositories only. Today … are cells. The rest have no genome yet.
- No outside organisation has deployed it yet. Every cell is this estate's own, and the census figures are this estate's.
- … public repositories are cells so far, all with Node.js hooks; the runner takes any command, but no other language has been tried yet.