Evidence platform and governance · Step 0
Record
Repository Stabilization
- Repository path
- data/internal/studies/step0-repository-stabilization.json
- Size · SHA-256
- 6.2 KB · b2eee261485ad871e36eb5138b9ce1db6938edb50f5f9a7d3ad96acb6d749d15
- Identifier
- study:step0-repository-stabilization
- Programme step
- 0
- Step name
- Repository Stabilization
- Schema version
- 1.0.0
- Outcomes hash
- ff13ad59fe925a66
Verdicts recorded in this file
{
"schemaVersion": "1.0.0",
"id": "study:step0-repository-stabilization",
"programmeStep": 0,
"programmeStepName": "Repository Stabilization",
"phaseNumber": null,
"phaseNumberNote": "Null by instruction: repository truth controls numbering. At audit time the highest recorded phase is 77 and the highest ADR is ADR-0062.",
"auditedOn": "2026-10-02",
"canonicalisation": "compactKeyNull.",
"verdict": "REPOSITORY_STABILIZATION_BLOCKED_BY_BILLING",
"verdictBasis": "The programme's READY requires remote CI green on the intended SHA. The job is not started by the platform, so no remote run can be green, and no action available in this repository changes that.",
"readyCriteria": [
{
"criterion": "#72 resolved correctly",
"met": false,
"state": "OPEN, draft, MERGEABLE, mergeStateStatus UNSTABLE. One commit ahead of main and ZERO behind, so no rebase is needed. Draft status not removed: the programme forbids it without explicit authorisation."
},
{
"criterion": "canonical main known",
"met": true,
"state": "origin/main 5d5130d. Its tree 5afc2db2c827 is byte-identical to that of 4b77c83, on which pnpm verify gave exit 0 with 1762 tests across 89 files. Established by tree identity, not by a fresh run."
},
{
"criterion": "local verify green",
"met": true,
"state": "Green on both relevant trees: main's tree at 1762/89 and 44 validators, and #72's head tree a441147e794c at 1776/90 and 45 validators."
},
{
"criterion": "remote CI green on intended SHA",
"met": false,
"state": "Impossible at present. See the CI finding."
},
{
"criterion": "no scientific gates weakened",
"met": true,
"state": "No gate was relaxed in this step. The only code added is pure rule functions and tests, and no validator was wired."
},
{
"criterion": "working tree clean",
"met": true,
"state": "Clean throughout."
},
{
"criterion": "Australia Phase 20 unexecuted",
"met": true,
"state": "Confirmed by enumeration: zero study records matching phase20 exist."
},
{
"criterion": "frozen artefacts intact",
"met": true,
"state": "58 frozen hashes recompute across four canonicalisations, 55 anchored to their introducing commit, 3 changed by declared supersession, 1 with a convention openly not recovered."
}
],
"theCiFinding": {
"classification": "CI_BLOCKED_BY_ACCOUNT_BILLING",
"whatWasChecked": "The workflow file, the trigger configuration, the run history, and the check-run annotations of the most recent run.",
"workflowIsSound": "ci.yml triggers on push to every branch and on pull_request, and runs the full pnpm verify. No syntax fault, no trigger fault, no permissions fault.",
"theJobNeverStarts": "The run IS created and dispatched and then ends in about two seconds with ZERO steps: startedAt 21:13:08, completedAt 21:13:10, steps 0.",
"theAnnotation": "The job was not started because recent account payments have failed or your spending limit needs to be increased. Please check the 'Billing & plans' section in your settings",
"thereforeNotACodeFailure": "A remote failure of this shape says nothing about the code. It is recorded as a billing block and NOT as a test failure, a regression, or a success.",
"whatWasNotDone": "The workflow was not modified, no check was removed, no trigger was weakened, no step was skipped, and local green is not reported as remote green."
},
"theEnvironmentDivergenceAlreadyScheduled": {
"finding": "A second annotation on the same run, unrelated to billing, states that the ubuntu-latest label migrates to Ubuntu 26 beginning 2026-10-19.",
"whyItMatters": "Today is 2026-10-02. The first remote run after billing is resolved may therefore execute on a DIFFERENT image than every local validation recorded here.",
"theRuleThisSets": "When remote CI first runs, record the actual runner image. If it fails only after the image migration, diagnose environment compatibility before suspecting a scientific regression. Prior local equivalence must not be assumed."
},
"mergeIdentityPrecomputed": {
"mainIsAncestorOfPr72Head": true,
"consequence": "A merge of #72 produces a commit whose tree equals a441147e794c, which is exactly the tree pnpm verify passed at exit 0 with 1776 tests across 90 files and 45 validators.",
"soThePostMergeVerifyTransfers": "By tree identity, not by assumption — PROVIDED the merge is of that shape. If the actual merge output differs in any byte, the transfer is void and a full verify becomes mandatory. That will be checked after the fact rather than predicted."
},
"repositoryTruthAtAudit": {
"highestPhase": 77,
"highestAdr": "ADR-0062",
"validatorsOnMain": 44,
"validatorsOnPr72": 45,
"testsOnMain": 1762,
"testFilesOnMain": 89,
"testsOnPr72": 1776,
"testFilesOnPr72": 90,
"sources": 121,
"sourcesWithDoi": 28,
"sourcesWithoutDoi": 93,
"measurementCohort": 22,
"lineageEdges": 31,
"lineageEdgesWhoseUpstreamIsNamedButNotHeld": 26,
"whyThatLastNumberMatters": "Twenty-six of thirty-one recorded lineage edges point at a work this corpus does NOT hold, named only in prose. For Step 2 this means INDEPENDENCE_UNRESOLVED will be the ordinary case rather than an edge case, and a design that treats it as exceptional would mis-model five-sixths of what is already recorded.",
"existingScholarlyApiCode": "None. No OpenAlex or Crossref code exists anywhere in packages, scripts or the research app.",
"leakageGate": "scripts/scan-public-output.ts with scripts/canaries.ts, run by verify:output alongside audit-routes.",
"freeDisk": "90 GiB at audit."
},
"whatThisStepDidNotInfer": [
"That billing is the only thing ever wrong with CI — only that it is the only thing wrong now, on the evidence of the workflow, the triggers and the annotations.",
"That local green predicts remote green, which the scheduled image migration makes actively doubtful.",
"That #72 should be merged. It is delivered and awaiting a decision that is not this step's to make.",
"Any phase number for the work that follows."
],
"outcomesHash": "ff13ad59fe925a66"
}