Concepts
Guarantees, checks and evidence, who owns each, the three verdicts, bounds, counterexamples, planted bugs and the certificate.
InputLayer runs one loop. A person states what must stay true. The agent changes the code. InputLayer checks the change, and hands back the exact steps when something breaks. CI writes down what was checked, within which bounds, and what was left out. This page defines each piece.
Three layers, three owners
| Layer | What it is | Owner | Trusted because |
|---|---|---|---|
| Guarantee | A plain sentence, its bounds, and what it leaves out | You, through a reviewed pull request (PR) | A person accepted it |
| Check | The model of the code that InputLayer runs to test the guarantee | InputLayer, from Claude's model | Only through evidence |
| Evidence | Replayed counterexamples, caught planted bugs, traces, the certificate | InputLayer in CI | Its files are pinned by sha256 on the certificate; a bundle written by il evidence can be run again with il replay |
The agent owns the code and nothing else. It can read guarantees, run checks and fix code. It cannot edit a guarantee, a check or the evidence. When it thinks a guarantee is wrong, it files a change request and a person decides.
Guarantee
A guarantee is one sentence a person writes and a reviewer can judge, with bounds and a list of what it leaves out. This one is from the Quickstart, in the person's own words:
Someone removed from a workspace can't see or change anything in it, even work that's already running. Bounds: one member, one workspace, one removal during one piece of work; each loop at most twice. Leaves out: a removal landing between one request's own check and its act; each request's require_member check and its act modelled as one atomic step; the four document endpoints modelled as one 'doc' request; re-adding a removed member; more than one member, workspace or job; the job's work function (app.state.work) and its result contents.
Guarantees live in .inputlayer/guarantees.yaml. You write them in your own words, or pick from candidates Claude suggests from the code (the protect skill) or il derive proposes. A suggestion blocks nothing, in the session or in CI, unless il ci is run with --enforce-suggested. Only a person accepts one, with il accept <id> in a terminal, and it reaches main through a normal PR. Code owners guard the file. See Guarantees.
Check
A check is how InputLayer tests one guarantee against the code: a model of the code's steps, and InputLayer runs every execution of that model within the bounds. Where il derive recognises the pattern, il builds the model from the code itself, and il ci derives it again from a pull request's code, so Claude cannot grade its own homework. Otherwise Claude drafts the model with the protect skill, outside the project, and you add it, as in the Quickstart. il writes the checks, also from inside a session when Claude runs il derive --adopt. Once a project has guarantees, the plugin refuses Claude's direct edits under .inputlayer/. Checks live in .inputlayer/checks/ and their models in .inputlayer/models/.
A check is trusted only through evidence. A check that misses a planted bug is cannot tell. A pass with no planted bug run still passes the job, and reads checked, evidence incomplete on the certificate.
Evidence
Evidence is what makes a verdict something you can rely on without trusting the agent or the machine that ran it:
- Replay of a break. The counterexample forced on the real code, with how many runs broke the guarantee.
- Could-have-failed runs. Planted bugs and mutants the check was run against, and whether it caught each one.
- Trace. The counterexample's steps, and how each replay run ended.
- The certificate. The summary posted on the PR.
CI produces the evidence that counts: not the agent's session and not a laptop. Each run's files are pinned by sha256 on the certificate. A bundle written by il evidence can be run again with il replay.
The three verdicts
Every check of a guarantee ends in exactly one verdict:
| Verdict | Means | Blocks? |
|---|---|---|
holds within bounds | No execution within the bounds breaks the guarantee, and the check did not miss a planted bug | No |
broken, reproduced on the real code | A counterexample breaks the guarantee, and it replayed on your real code | Yes, if this change introduced it |
cannot tell | No verdict either way. The reason is always given. People see it as needs your decision | In a session, no. In CI, yes when the break was never tried on the code: no way to replay it, its test could not run, or its trace or replay ran out of time or could not be made |
cannot tell always carries a reason code and the same fixed words on every surface:
| Reason code | Words you see |
|---|---|
not_reproduced | a break was found in the check; it did not reproduce on the real code |
no_replay | a break was found in the check; there is no way to reproduce it on the real code here |
reproduction_could_not_run | the reproduction on the real code could not run |
trace_timed_out | a break was found in the check; its shortest path was not made in time to replay it on the real code |
trace_unavailable | a break was found in the check; no shortest path could be made to replay it on the real code |
replay_timed_out | a break was found in the check; its replay on the real code did not finish in time |
not_covered | the check does not cover code this change touched |
pass_unconfirmed | the re-derived check no longer shows the break the previous check found, and that break could not be replayed on the real code |
not_rederived | the check could not be re-derived from the changed code |
not_derivable | the check can no longer be derived from the code |
derive_timed_out | the check was not re-derived from the changed code in time, so it could not tell |
rederive_timed_out | the session re-deriving the check from the changed code did not finish in time, so it could not tell |
check_could_not_fail | a planted bug was not caught, so this check could not have failed |
model_failed | the check did not load cleanly |
engine_unreachable | no engine could run the check |
check_timed_out | the check did not finish in time, so it could not tell |
out_of_date | the check is older than the code or the guarantee it was built for |
changed_outside_il | a guarantee or check file was changed outside il |
changed_in_session | the guarantee was accepted or changed while Claude Code was open, not yet confirmed by a person |
under_review | a person marked the check as wrong; it is under review |
A broken verdict also says who introduced the break. InputLayer replays the same counterexample on the base code: the code at the start of the session locally, or the base branch in CI.
introduced_by | Means | Blocks? |
|---|---|---|
this_change | It breaks the new code and not the base | Yes |
pre_existing | It breaks the base code too | Only when the change edits the steps the counterexample runs through. Otherwise no; it is listed on the certificate |
not_determined | The base could not be tried | Yes |
A break that was already there is never held against a change that leaves its path alone. But if the agent edits a step the counterexample runs through and leaves it broken, the stop is blocked as if the change had introduced it. Edits to whitespace, comments, imports and blank lines never count.
Bounds and assumptions
A check never explores everything. It explores every execution within its bounds: a fixed number of actors, records, retries, faults or steps. Bounds come in two forms:
- The guarantee's bounds, in your words: "up to 2 members, 1 removal, 2 runs in flight".
- The check's bounds are the model's own. In this build il records them in words (the guarantee's bounds text), not as machine-readable limits.
Because the limits are not recorded, a holding guarantee reads checked, evidence incomplete on the certificate; the PR comment, when nothing else is missing, counts it among the guarantees that hold on this PR, within their bounds, and does not mention the limits.
Assumptions are what a check takes as given rather than checking: the database isolation level, how a queue redelivers, how an outside service replies when it is replaced by a fake. Every assumption is recorded with the result, next to what the guarantee leaves out. See Limits for how to choose bounds.
Counterexample and replay
A counterexample is the exact list of steps that breaks a guarantee, with the state after each step. It is written in the code's own terms: which actor, which function, which line, and what the shared state was.
A counterexample is called a reproduced break only once it has been replayed on the real code: il writes a test from it and runs it on the change's code and on the base's. On InputLayer's checkout-quickstart example, il ci --certificate reports "its test failed in 20 of 20 runs on this change's code, and in 0 of 20 on the base's code", and only then says broken, reproduced on the real code. il's own replay generator is Python only. For a check a person added, il accept says a break on it is tried on the code only by a Claude Code session with INPUTLAYER_REDERIVE=on (see the Quickstart).
A counterexample replayed as a test comes with the test's command (the certificate's replay.command). A bundle written by il evidence <id> comes with il replay:
il replay .inputlayer/evidence/removedIt re-runs the bundle from its own files, checks every file against its recorded sha256, and says whether the verdict reproduces. It never trusts the recorded verdict.
Two rules: planted bugs and replays
Two rules decide whether a verdict counts:
- A missed planted bug turns a pass into
cannot tell. When a guarantee has a planted bug (il derive's always carry one, or a counterexample found on the code as it was), InputLayer runs the same check on a copy of the code with that bug in it (it checks membership only once, removes a lock, drops the deduplication). If the check does not catch it, the check is not trusted and the result iscannot tell(check_could_not_fail), neverholds within bounds. If no planted bug could be run, a pass readschecked, evidence incompleteon the certificate, neververified. The certificate lists each planted bug and whether it was caught. - A break is called reproduced only once it replays on your real code. A break found by the check but not reproduced on the code is
cannot tellwith the reasonnot_reproduced. People see it as needs your decision. In a session it does not block. In CI, a break also fails the job when it was never tried on the code: there is no way to replay it, its test could not run, or its trace or replay ran out of time or could not be made (exit 1,cannot tellon the certificate). One that was replayed and did not reproduce does not (with--strictit exits 4).
Staleness
A verdict is about specific content. InputLayer records the content hash of each guarantee, its check and the code the check covers. When any of them changes, by any route (an edit tool, a shell command, a teammate, a merge), the verdict is out of date until the check runs again. The same content is never out of date.
A check built for an older version of its guarantee is stale and decides nothing.
The certificate
Every PR ends with a certificate, posted on the PR like a status check. CI writes it after checking the PR's head code against the guarantees and checks on the base branch. It lists:
- every guarantee on the base branch, with its verdict, the kind of evidence, its bounds in words and what it leaves out;
- guarantees with no check, as
stated, not checked, so none is dropped silently; - changes the PR makes to guarantees, in plain words, which do not apply to this PR's own verdict;
- changed code that no guarantee covers;
- any override of a break, with who made it and why;
- the commits, and the command to replay the evidence.
The certificate uses one of five words for each guarantee:
| Word | When |
|---|---|
checked, evidence incomplete | It holds within bounds, but some of that evidence is missing. In the current build every holding guarantee reads this, because its bounds are not recorded as machine-readable limits |
verified | The word il uses once every check holds, none is stale, each caught a planted bug, its bounds name machine-readable limits, and CI ran against the base branch. The current build does not record those limits |
broken | A check is broken, reproduced on the real code |
cannot tell | A check has no verdict, with the reason |
stated, not checked | No check covers this guarantee yet |
"Verified" needs bounds that name machine-readable limits, which the current build does not record. Every certificate says: "A record of the checks run, not a warranty." See CI for the full field list.