Research · Open pilot · PROPOSED
Can a gate earn the right to change its rules?
How can a gate earn the authority to revise its own criteria, when evidence returns only from what it let through, some of what it lets through cannot be undone, and the evidence must come from something other than itself?
AGENT_CROSSING_PILOT_001 asks this of coding agents, where the gate is a person's own permission settings and evidence arrives within days: changes get undone, tests fail, files survive. The protocol is fixed before any data exists, including the author's own. Volunteers record their sessions locally and choose whether to submit a redacted evidence pack. This site collects nothing.
- Protocol
- AGENT_CROSSING_PILOT_001 v1.0.0 · SHA-256 3485140a30175353c89e0dd98e1c26cc2c12e4984837feaf9108249761e1fb2d
- Status
- frozen on merge to risk.neverthought.org; any change is a new version, and data recorded under one version is never analysed under another
- Recorder and results
- github.com/thunkpunks/thunkpunks-crossing-pilot (packs arrive as pull requests; CI rejects any field outside the protocol's list)
- Phases
- The protocol author's own sessions, starting at the freeze. Invited participants, from 14 days after the freeze. Ends 2027-01-31, or earlier if H1 reaches 300 graded crossings and every revealed proposal has 20 graded failures in its window.
Hypotheses and how they fail
| Question | Measure | Falsifier | |
|---|---|---|---|
| H1 | Do permission rules approve file changes that later fail? | Among RULE_APPROVED crossings graded FAILED or HELD_UP, the share FAILED, with a Wilson 95% interval. UNRESOLVED share reported alongside. | With at least 300 graded RULE_APPROVED crossings pooled across participants, an upper bound below 5% means the gap is small, and the proposed claim that rule-approved failure is a measurable opportunity is downgraded on the site. |
| H2 | Where does failure live? | Proportions of FORMATION, PASSAGE, CONTINUATION and UNCODED among FAILED crossings, and a reliability table of failure share by tool and permission class. | None. H2 is descriptive and pre-registered so that its categories cannot be chosen after seeing the data. |
| H3 | Can a proposed revision to the gate earn authority? | Lift: the failure share among crossings the proposal would hold, divided by the share among those it would let through, with a Katz log 95% interval. Success: At least one revealed proposal has a lift whose lower bound, Bonferroni-corrected for the number of revealed proposals, exceeds 1, with at least 20 graded FAILED crossings in its window. | If no proposal succeeds by the end of the pilot, a generator has not yet shown measured value over the rule it would revise. |
When H1 is undecidable. UNRESOLVED exceeds half of all residualed RULE_APPROVED crossings. Then H1 is reported as not decidable with this residual design, which is itself a finding.
H3 guardrail. A proposal's author cannot grade it. Grading uses residuals recorded after the seal, from crossings the author did not choose. Anyone may submit a sealed proposal: a predicate over pack features naming crossings the gate should hold. Its SHA-256 is merged into the results repo first, and the git commit time is its timestamp. The predicate and salt are revealed later. A proposal is graded only on RULE_APPROVED crossings recorded after its seal time, which its author could not have seen.
Addendum A · Loop residue · PROPOSED
Is failure a property of the step, or of the loop?
Is late failure a property of the step, or of the loop? Step view: a change fails because something visible at approval was wrong, so better per-step auditing would catch it. Loop view: each approval is locally sound, and failure appears only when the change comes back round (approve, apply, time passes, outcome), so risk lives in what accumulates along the path. If the loop view holds, per-step gates are structurally blind to a class of failure, including the step-feature proposals of v1.0 H3.
- Addendum
- AGENT_CROSSING_PILOT_001 · Addendum A · Loop residue v1.0.0 · SHA-256 1d67a377084aaa8dfefd73f9c356f279cc92bc8d9c4144f35b119eb8da933f87
- Claim ceiling
- Mapping crossing. Curvature and holonomy are a lens here, not a finding. 'Loop residue' is the measured quantity; the geometric words may be used as mechanism language only if HL1 and HL2 both hold, and must be dropped from public claims if HL2 fails.
- Bound to
- v1.0 definitions unchanged; parent protocol 3485140a3017. Recorder 1.1.0 adds rule_set at record time. Crossings recorded by 1.0.0 have no rule_set; they are excluded from HL analyses but remain in v1.0 analyses.
| Claim | Supported if | Fails if | |
|---|---|---|---|
| HL1 | Late-failure rate is not uniform across regions. | Permutation p < 0.05 and at least one region with rate at least 2 times the overall rate. | Otherwise. Late failures look like uniform noise across regions, and regional risk has no basis in this data. |
| HL2 | Loop residue predicts late failure better than step features alone. | Held-out ΔAUC at least 0.05, with a bootstrap 95% interval (2,000 resamples of the test set, seed 20261022) excluding 0. | ΔAUC below 0.05 or the interval includes 0. Per-step auditing is sufficient in this data, and curvature and holonomy language is dropped from public claims. |
| HL3 | Crossings from the same cohort fail together more than crossings from different cohorts. | Same-cohort co-failure exceeds the shuffled baseline at p < 0.05. | No excess: no basis in this data for pricing correlated failure across agents sharing a model and rules. |
Declared in advance. With 30 late failures in the test set, an AUC interval is roughly ±0.1 wide (Hanley and McNeil), so ΔAUC of 0.05 is unlikely to be distinguishable from 0 at that size. A null result below about 100 test-set failures is reported as 'could not tell', not 'no effect'. evaluate.mjs prints the expected interval width for the actual counts. Phase 1 has one participant and probably one cohort, so HL3 cannot be tested until invitees bring different models or rules. This is stated now so that its absence later is not mistaken for a null.
Loop residue and its leakage guard
Changes in the world between approval and cutoff that the approval held fixed: (1) other approved crossings in the same region, (2) other approved crossings to the same file, (3) changes to the participant's permission settings, (4) git commits touching the same region.
Leakage guard. For a late failure whose evidence has a timestamp (undone by a later edit, or a failing test run), residue counts only events strictly before that timestamp, and the evidencing event itself is never counted. For a non-failure, events before window close. For a late failure graded from file state at window end, the evidence time is unknown, so its residue is recorded as unavailable and the crossing is excluded from HL2.
Fields
- region
- collected
- rule_set
- collected
- residue.same_region, residue.same_file
- collected
- residue.rule_changes
- collected
- residue.region_commits
- collected
- residue_cutoff_known
- collected
- model
- reconstructed. Read at collection from the session transcript: the model of the assistant message that issued the tool call, matched by tool_use_id. Labelled reconstructed. If the transcript is missing, the value is 'unknown'.
- rule_id_fired
- unavailable. Claude Code hooks do not report which permission rule allowed a call. Re-matching rules locally would be a guess presented as an observation, so it is not attempted. rule_set and gate class stand in.
- timestamp_applied
- unavailable. Recorded locally but packs keep day resolution only, as in v1.0.
- base_drift_by_others
- unavailable. Git cannot reliably tell the participant's commits from collaborators' in a local clone; region_commits counts all commits.
| Result | Licensed | Not licensed |
|---|---|---|
| HL1 only | Late failures concentrate in identifiable regions. | Anything about loops or curvature. |
| HL1 and HL2 | Failure risk accumulates along the approval loop; per-step gates are structurally blind to part of it. Curvature and holonomy may be used as mechanism language for this measure. | Claims about other codebases, agents or participants. |
| HL3 | Shared models and rules produce correlated failure, a systemic exposure. | Causal claims about why, which would need intervention. |
| none | In this pilot, late failures showed no regional, loop-level or cohort structure. A real result, published like any other. | Keeping the geometric framing. |
Label. Is: A pre-registered secondary analysis of the pilot's data, asking whether late failure is better explained by what happened after approval than by what was visible at it. Isn't: Evidence of curvature, a measurement of agents in general, or a change to v1.0's hypotheses, which stand as frozen. Where it stops: The loop is a path through time, not a cycle back to the same state, so 'holonomy' names a residue proxy, not a computed geometric quantity. Residue features are counts chosen in advance, and region is one partition among many possible.
The unit, the gate and the residual
One Edit, Write or MultiEdit tool call made by a coding agent (Claude Code) in a participant's own work, identified by its tool_use_id. Bash tool calls. They supply test-run outcomes and are reported descriptively; they are not crossings under H1 to H3.
Gate classes
- RULE_APPROVED
- PreToolUse then a tool result, with no PermissionRequest for that call, in a permission mode other than bypassPermissions.
- ASKED_ALLOWED
- A PermissionRequest for the call, then a tool result.
- HELD
- A PermissionRequest or PermissionDenied for the call, and no tool result.
- UNGATED
- Any call made in bypassPermissions mode.
- UNCLASSIFIED
- An event pattern none of the above covers. Reported, never silently assigned.
The first 7 days of each participant's recording are a calibration period: the participant checks a sample of classifications against their own memory of the session. Calibration data is reported and excluded from H1 to H3.
Residual classes · 7-day window
- FAILED
- Evidence from outside the crossing that it did not hold: its change was undone (for Edit, the original text is back and the new text is gone), or a later test run in the same repo failed and this is the only crossing on a non-test file since the last passing run.
- HELD_UP
- Its change is still present at the end of the window, and no attributable test failure followed it.
- UNRESOLVED
- Evidence arrived but supports more than one reading: the new text was replaced by something else, the file was deleted, a test failure is shared between several crossings, or the residual is not independent. Kept as a terminal outcome, not forced into FAILED or HELD_UP.
- NO_RESIDUAL
- Nothing could be checked, for example the repo is gone or the crossing was HELD.
A test failure counts as a residual only if no test file was edited in that session before the test run. Tests the agent wrote or changed in the same session do not grade the agent's own work; such cases are UNRESOLVED. HELD_UP means the change survived and no attributable test failed. It does not mean the change was correct.
What the gate refused
HELD crossings never return evidence, so the gate cannot learn from what it refused. About 10% of HELD crossings are selected for audit by hashing their tool_use_id (first byte below 26), so selection is fixed and not chosen by the participant. The participant records whether the held change would have held up, using the label WOULD_HOLD, WOULD_FAIL or CANNOT_TELL.
Audit labels are human judgements, not outside residuals. They are reported separately and never mixed into FAILED or HELD_UP counts.
Where failure lives
- FORMATION
- The crossing's own change was wrong.
- PASSAGE
- The change was right, but tools, environment or configuration broke it on the way.
- CONTINUATION
- The change was right when made, and a later change made it wrong.
Participants code the location of each FAILED crossing and each audited WOULD_FAIL, or leave it UNCODED. Location codes are human judgements and are reported as proportions, never as a single rate. After Škrinjar's formation, passage and continuation as locations of support loss.
What leaves a participant's machine
verify.mjs rejects any pack containing a field or value outside this list. Setup, collection and proposals are described in the repository README.
Results
No packs yet. Recording starts with the protocol author's own sessions; invited participants join 14 days later. Results will be copied here from the repository's pre-registered analysis, including null and negative ones, as counts and intervals, never a score.
Label
- What this is
- A pre-registered observation of volunteers' own coding-agent sessions, graded by what later happened in their repos.
- What it isn't
- A measurement of coding agents in general, of any model's quality, or of anyone's permission settings as good or bad.
- Where it stops
- Volunteers choose whether to take part and what to submit, residual windows and attribution rules are our choices, and persistence is a weak stand-in for correctness.
Related: the crossing desk, whose measured deck, on synthetic masters, showed house rules approving crossings that then failed, and the crossing classes, whose archived versions are this site's own record of rules being revised.