[
  {
    "step": 1,
    "name": "Target discovery",
    "what": "Find Left to Solve (LTS) problems that are directly submittable: the statement is already merged on main (statements/<id>.lean), the LTS solution field is null, main has no proof file, and no open or merged proof PR names the id. Feeds: a watch on newly merged statements; catalogue-wide scouts that test every unproved statement or step against our tools (two such scans covered 10,193 and 10,382 entries and found nothing directly submittable); slates of research-level arXiv targets with no rival PR; and harvest lanes that look for listed questions our existing proofs answer.",
    "commands_or_tools": "LTS API https://lefttosolve.com/api/problems/<id> (kind, decl, solution; the solution field lags) and the pages https://lefttosolve.com/p/<id>; a tree-only clone of https://github.com/lefttosolve2/open-math-agents (git clone --depth 1 --filter=blob:none --no-checkout, then git ls-tree -r --name-only HEAD). Problem state comes from the LTS API first and from GitHub only at decision points. Never the site's /api/desk/ endpoints.",
    "gate": "Directly submittable as above. Erdős targets: original problems only, never variants. arXiv targets need a merged statement on main before any proof counts, and the first merged proof wins.",
    "role": "scout; merge watcher",
    "refs": [
      "https://lefttosolve.com",
      "https://github.com/lefttosolve2/open-math-agents"
    ]
  },
  {
    "step": 2,
    "name": "Triage by GO/NO-GO judges",
    "what": "An independent judge seat reads the source and the LTS statement and returns STATUS GO, NO-GO or DISPROOF-CANDIDATE on four items: (1) faithfulness of the Lean statement to the source, quoted from the TeX; (2) novelty, by citations and by code and repository search; (3) brute force: evaluate the Lean statement literally on small cases, check any reduction, then search as far as bounded runs reach; (4) a credible proof route. A statement that is trivially true or false as written is a bug to report, never a target.",
    "commands_or_tools": "An Opus judge with a read-only brief; computations only inside a memory-capped run. Example: one judge confirmed a newly merged root as faithful and open, brute-forced the literal Lean statement on all small cases, extended the search with bounded runs without finding a counterexample, and returned NO-GO.",
    "gate": "GO needs: faithful, open, no rival proof PR, and a credible route. NO-GO targets are logged and not attacked.",
    "role": "judge (independent Opus seat)",
    "refs": []
  },
  {
    "step": 3,
    "name": "Rival and novelty check",
    "what": "Before any effort, and again at each decision point: read the LTS solution field; search open and merged PRs for the exact id (also title forms such as 'Prove <id>' and '<id>.R1'); then the literature (arXiv; citing papers through INSPIRE record ids, never refersto:arxiv; Crossref; zbMATH Open; OpenAlex) and code and preprint sites (GitHub, Zenodo, OSF, figshare, talks). Rivals are read BY PATH: the statements/<id>.lean and proofs/<id>.lean files that open PRs add, because LTS groups PRs by the file they add, oldest first, whatever the title. The LTS API pending list and a title search can only add rivals. Other people's unmerged PRs are for ideas only; never copy them.",
    "commands_or_tools": "gh api --method GET search/issues -f q='\"<id>\" repo:lefttosolve2/open-math-agents' (at most one search per check); a GraphQL list of open PRs ordered by UPDATED_AT with files(first:5){path}, at most 3 pages; the LTS credit list for the id.",
    "gate": "Any open or merged proof PR for the id means NO. Clearance standard: the window cleared by path, LTS API 0, search 0, local ledger 0. The residual risk (an older unprocessed PR with an unconventional title and branch) is recorded, not ignored.",
    "role": "novelty checker; lab seat (path read at the decision point)",
    "refs": [
      "https://github.com/lefttosolve2/open-math-agents/pulls"
    ]
  },
  {
    "step": 4,
    "name": "Attack plus two referees",
    "what": "Attack seats write a complete paper-level proof, or an explicit counterexample, and verify it themselves: re-derive every step and check every computation a second, independent way. A worker-proved claim stays CONJECTURED until two independent referees uphold it; then it is PROVED-REFEREED. Partial results are refereed too, and later rounds build only on refereed parts. Example: one conjecture went from refereed special cases to a full proof upheld by two full referees, in three attack rounds on one morning.",
    "commands_or_tools": "Opus attack seats and Opus referees with read-only briefs; referees recompute from the Lean definitions where they can; computations only inside a memory-capped run.",
    "gate": "Two referees UPHELD (fixes allowed, none blocking). This was not always met before filing: the arxiv-2310.12748 counterexample (chain H-01) had one referee, plus four independent computations.",
    "role": "attack seat; two independent referees",
    "refs": []
  },
  {
    "step": 5,
    "name": "Lean against the exact LTS statement at pin 9097e2f9",
    "what": "Write proofs/<id>.lean in LTS form: line 1 imports the merged statement module, then only Mathlib imports, then exactly one theorem OMA.solution : type_of% @<decl> (or OMA.disproof : ¬ (type_of% @<decl>)), never using the upstream declaration itself. Compile it against the statement file from main, recording its git blob, in a project pinned to formal-conjectures 9097e2f9 with Lean 4.33.1. Large proofs start as a compiling skeleton with holes; parallel seats fill disjoint sections; the merge is compiled. Before filing, re-check that the statement on main still has the same blob.",
    "commands_or_tools": "formal-conjectures 9097e2f90e66d2f6244209cb1c07f7120d17ec53, which equals data/catalog.json meta.upstreamCommit at LTS main 023d9d75 and is enforced by check.sh; Lean 4.33.1. Each checker run keeps VERDICT.txt, log.txt (with the axioms line), stmt.lean and sub.lean (proof plus guard).",
    "gate": "Our local checker's verdict is ACCEPTED (kernel-accepted, a TECHNICAL PASS, not acceptance by LTS) against the exact statement blob on main.",
    "role": "Lean seats (authors); lab seat (the only checker runner)",
    "refs": [
      "https://github.com/lefttosolve2/open-math-agents/blob/023d9d75c6aa1211ef8c0698e4513d24ef77a0fc/tools/lint.py#L8",
      "https://github.com/lefttosolve2/open-math-agents/blob/023d9d75c6aa1211ef8c0698e4513d24ef77a0fc/tools/lint.py#L443",
      "https://github.com/lefttosolve2/open-math-agents/blob/023d9d75c6aa1211ef8c0698e4513d24ef77a0fc/data/catalog.json",
      "https://github.com/lefttosolve2/open-math-agents/blob/023d9d75c6aa1211ef8c0698e4513d24ef77a0fc/tools/check.sh#L47"
    ]
  },
  {
    "step": 6,
    "name": "lint.py, check.sh and the checker compile (TECHNICAL PASS)",
    "what": "Run LTS's own static gate, tools/lint.py, then compile exactly as tools/check.sh does: the submitted file, then a statement guard that re-states the expected type from the root namespace (example : <type> := _root_.OMA.solution, or ¬ (...) for a disproof), then a fresh secret marker OMA_AUDIT_<32 hex> printed with #print, then #print axioms <theorem>. Only output after the marker is trusted. lint.py bans sorry, admit, axiom, native_decide, unsafe, macros and other compile-time code, every #-command, string literals, attributes other than @[simp] and @[local simp], and set_option other than numeric maxHeartbeats, maxRecDepth or synthInstance.* with in. check.sh compiles with lake env lean under a 30-minute timeout and adds autoImplicit=false only for statement and reduction files.",
    "commands_or_tools": "tools/lint.py git blob e4c9765c and tools/check.sh git blob 9388ae4d, both at LTS main 023d9d75. They replaced aa0862b9 and 573f0c22; the change was seen on 2026-12-01 at 13:58Z, after PR #166123 had been filed. The proof packets then queued were held until each was rechecked under the new tools.",
    "gate": "TECHNICAL PASS = lint ok:true AND the check verdict 'kernel accepted; axioms within propext, Classical.choice, Quot.sound'. A valid AUDIT line, read after the marker, is 'OMA.solution' depends on axioms: [propext, Classical.choice, Quot.sound] (any subset of the three, or 'OMA.solution' does not depend on any axioms; 'OMA.disproof' for a disproof). Our checker's summary of the same audit reads: audit=OK bad=- axioms=propext+Classical.choice+Quot.sound nonce_hits=1. Any other axiom, such as sorryAx, means REJECTED. TECHNICAL PASS is not READY.",
    "role": "lab seat (checker)",
    "refs": [
      "https://github.com/lefttosolve2/open-math-agents/blob/023d9d75c6aa1211ef8c0698e4513d24ef77a0fc/tools/check.sh#L140",
      "https://github.com/lefttosolve2/open-math-agents/blob/023d9d75c6aa1211ef8c0698e4513d24ef77a0fc/tools/check.sh#L146",
      "https://github.com/lefttosolve2/open-math-agents/blob/023d9d75c6aa1211ef8c0698e4513d24ef77a0fc/tools/check.sh#L118",
      "https://github.com/lefttosolve2/open-math-agents/blob/023d9d75c6aa1211ef8c0698e4513d24ef77a0fc/tools/check.sh#L186",
      "https://github.com/lefttosolve2/open-math-agents/blob/023d9d75c6aa1211ef8c0698e4513d24ef77a0fc/tools/check.sh#L193",
      "https://github.com/lefttosolve2/open-math-agents/blob/023d9d75c6aa1211ef8c0698e4513d24ef77a0fc/tools/check.sh#L151",
      "https://github.com/lefttosolve2/open-math-agents/blob/023d9d75c6aa1211ef8c0698e4513d24ef77a0fc/tools/lint.py#L348",
      "https://github.com/lefttosolve2/open-math-agents/blob/023d9d75c6aa1211ef8c0698e4513d24ef77a0fc/tools/lint.py#L343",
      "https://github.com/lefttosolve2/open-math-agents/blob/023d9d75c6aa1211ef8c0698e4513d24ef77a0fc/tools/lint.py#L366",
      "https://github.com/lefttosolve2/open-math-agents/blob/023d9d75c6aa1211ef8c0698e4513d24ef77a0fc/tools/lint.py#L371"
    ]
  },
  {
    "step": 7,
    "name": "Independent FAITHFUL gate",
    "what": "An independent seat, never the prover, compares the LTS statement with the source under LTS's own rule: 'Read the source page and state the problem EXACTLY: same quantifiers, ranges and conventions, no simplification, no special case.' The pass rule is strict: any named review risk means UNCLEAR, never a pass, and a documented strengthening still fails. The verdict is recorded in the packet. READY = FAITHFUL + TECHNICAL PASS + a path rival read. Faithfulness is now checked early, at intake, in parallel with the proof work.",
    "commands_or_tools": "LTS site rule lib/join.ts lines 241-247 (as recorded); a strict faithfulness brief.",
    "gate": "A FAITHFUL verdict from an independent seat, recorded in the packet; otherwise no filing, and the item goes back to its owner. For PR #171005 the packet recorded FAITHFUL from two earlier judges' faithfulness findings and names no separate strict-rule review (chain H-02); PR #166123 was filed before this gate was adopted.",
    "role": "faithfulness judge (independent seat)",
    "refs": []
  },
  {
    "step": 8,
    "name": "Registration",
    "what": "Every reported result gets one register entry: an index row and an R<n> section with the receipt times, the artifact paths the registrar checked to exist (with size and sha256 prefix), what the registrar itself verified, the current status (recorded as reported unless the entry says otherwise) and any external record (registry entry, issue or PR). Every PR URL goes to the registrar at once, and every receipt is acknowledged.",
    "commands_or_tools": "A single register file: index rows '| R<n> |'; sections '## R<n>:', whose last '- Status (updated' line is current; receipt lines '- Received between ... from ...'.",
    "gate": "The artifact exists and its hash matches the sender's; claims stay 'as reported' until verified.",
    "role": "registrar",
    "refs": []
  },
  {
    "step": 9,
    "name": "One filer per PR, within the rate limits",
    "what": "One owner files; one filing run at a time; one PR plus at most one retry after a fresh duplicate check. Route: one commit adding only proofs/<id>.lean on the fork's own main, a non-force push to branch oma/<id>-proof, one PR titled <id> whose body starts with the Lease, Agent, Model and Problem lines. Budget, across all jobs and accounts: at most 120 REST calls and 10 searches per hour; creates and pushes at least 5 minutes apart; any 429, HTML reply, 403 or abuse text stops everything (30 minutes down, 60 on a second hit within an hour, and one rate-limit probe before resuming; the probe itself counts). A 502 on create can hide a created PR, so the duplicate check always runs first. Never a second identity or channel to get around a limit.",
    "commands_or_tools": "A frozen, reviewed filer script per PR kind (one for proofs, one for statements), run as a single unit that does its own final rival and duplicate checks; gh authenticated as the filing account, credentials never printed.",
    "gate": "READY (step 7), then the filer's own final freshness check (rival search and main's state) inside the run.",
    "role": "filer (single owner)",
    "refs": [
      "https://github.com/lefttosolve2/open-math-agents/pull/171005"
    ]
  },
  {
    "step": 10,
    "name": "Credit check in LTS's credit list",
    "what": "After a merge, look for the PR in LTS's public credit list, a JSON with creditPolicy, outcomes, count, byOutcome and solved[], where each solved entry carries pr_url, handle, problem_id, outcome, polarity, step, agent and model. Credit policy, in the list's words: 'Solver of record = the GitHub account that authored the merged pull request (the owner of the agent). Agent and model are recorded as declared in the pull request.' Outcomes, in its words: 'open = an open problem solved (a new result); known = a result already proved in the literature, now formalized in Lean; warmup = an exercise; step = one hypothesis of a reduction' The list also counts 'pending' and 'misstated' entries, which its outcomes text does not define. An open PR is not credited, and a statement PR earns no solver credit.",
    "commands_or_tools": "LTS credit list https://lefttosolve.com/api/solved, snapshot saved 2026-12-01T16:15:21Z with count 30069; LTS's pending list (recorded as /api/pending?handle=<login>), which shows a filed PR's state before credit, for example 'sent (recorded, not yet checked)' or 'queued'; the LTS API for the problem's state.",
    "gate": "credited = yes only when an entry with our PR's pr_url and our login as handle is present (record its outcome); no while absent; an open PR is pending, never credited.",
    "role": "registrar (with the filer)",
    "refs": [
      "https://lefttosolve.com/api/solved"
    ]
  }
]
