Project 1956 (Agent Research With Enforced Sourcing)

Role: Solo, end-to-end: spec, evidence ledger, task queue, chemistry adapters, review gates, and the owner decisions the agents work under
Tech Stack: Python 3.12, SQLite, numpy / scipy / astropy, RDKit, xTB, CREST and Psi4 as external engines, JSON Schema, pytest
Repository: Private. Demo available on request

Overview

This is research software, and I want to be plain about what it has produced: nothing has been identified, and this page makes no scientific claim. Every candidate in the system carries the lowest evidence label, exploratory, as of the last commit I read (1709b70, 2026-11-19).

The subject is a real open question. A 2026 paper (Bézard et al., arXiv:2606.13350) reports an absorption band near 1956 cm-1 (5.11 um) in JWST spectra of Titan and Pluto and says its carrier is unidentified. I am not a spectroscopist. What interested me was a software question: how do you get coding agents to do literature-grounded research when the easiest thing for a language model to do is produce a plausible number from memory?

My answer was to stop treating “cite your sources” as an instruction and make it a property of the storage. The agents work through an evidence ledger that will not accept a value without a registered source and a location inside it, cannot be edited or pruned after the fact, and has no code path that can write the label identified. The rest of the project is two evidence lanes (published observations and lab bands on one side, computed chemistry on the other) feeding that ledger, and a “Research Director” agent that proposes bounded investigations which I approve one step at a time.

At 1709b70 the repo holds about 8,800 non-blank lines in src/, 4,000 in workflows/, and 21,000 in 86 test files with 2,198 test functions. The last full-suite figure in the decision log is 3,671 passed and 24 skipped (2026-11-10). It has 235 commits on main from 2026-11-06 to 2026-11-19 and 38 numbered owner decisions (D-1 to D-38) that the agents work under.

What a Claim Looks Like

An evidence record has exactly ten fields: source_id, location, subject, quantity, value, uncertainty, unit, qualifier, value_kind, extraction_method. A missing or extra field is an error. The band center for one Titan observation, for example, is stored as 1955.9 +/- 0.1 cm-1, kind published_value, with a source id for the arXiv manuscript and the location “Table 1 p.5”.

Three things are checked before a row is written:

  • The source must already be registered. Sources live in a manifest with DOI or URL, retrieval date, licence note and sha256. A record naming a source the ledger has not seen is refused.
  • The kind of value must match how it was obtained. A value read off a figure is digitized_approximate and cannot be recorded as transcribed from a table. A computed frequency must cite a calculation source keyed by the hash of the job’s inputs, never a paper, and a paper value can never cite a calculation.
  • The row id is a hash of its content, so importing the same record twice adds nothing, and a changed value is a new row next to the old one.

After that, SQLite triggers refuse UPDATE and DELETE on evidence, comparisons, assessments and reviews. A correction is a new row plus a review rejecting the old one. Negative results and rejected candidates stay.

Code Snippet: The Check That Refuses an Unsourced Number

Condensed from src/orchestration/ledger.py and tests/test_ledger.py

def _insert_counted(self, r: dict) -> tuple[str, int]:
    r = _validate(r)
    if self._con.execute("SELECT 1 FROM sources WHERE source_id = ?",
                         (r["source_id"],)).fetchone() is None:
        raise LedgerError(f"unknown source {r['source_id']!r}: register it first")
    eid = artifact_id("evidence", r)
    ...

def test_unregistered_source_refused(ledger):
    with pytest.raises(LedgerError, match="unknown source"):
        ledger.add_evidence(rec(source_id="recalled_from_memory"))
    assert ledger.evidence() == []

The test’s last line matters as much as the first: the refusal has to happen before anything is written.

A Label the Code Cannot Assign

The spec defines five evidence labels: exploratory, plausible, promising, strongly supported, identified. The ledger’s set of assignable labels leaves the last one out, and writing it raises an error. The label function currently returns only exploratory, along with a list of what blocks the next label. One of those blocks is deliberate: there is no predeclared rule for how close a band position must be to count as compatible, and choosing one after seeing the residuals would be tuning toward the answer.

Fast screening numbers get the same treatment. xTB results are refused unless marked prioritization_only, and they cannot carry a label at all.

The Unattended Run

Phase 2 was a bounded search run without me. Intake took 219 candidate records (19 from the literature with page and quote, 198 generated by a fixed rule, 2 rejected duplicates kept with reasons). 563 conformer units were screened with xTB, and an escalation rule written before any result was read sent 244 of them to Psi4.

The run started 2026-11-06 21:41 EST and finished 2026-11-08 13:59, 40 hours 18 minutes, with no manual rescue and no restarts, using 75.2 of 150 budgeted job hours. It was not a clean result: 65 of the 244 escalated jobs ended blocked, 56 of them geometry optimisations that did not converge. A follow-up probe found a coordinate setting that fixed most of them, and an 11 hour 46 minute re-run brought the blocked count down to 11.

Each candidate then got one review. These are deterministic code checks, a fixed list applied to the candidate’s dossier, not a person or a model reading it. After the run, 81 of 217 raised objections, and 58 of those were simply “the Psi4 job failed”. After the re-run the count was 39 of 217 (brief of 2026-11-09). Closeness of a computed band to 1956 cm-1 is not one of the checks.

What Went Wrong

  • The Director’s first real proposal failed science review on 2026-11-10 with six blocking findings, including a predicted band depth taken from the wrong kind of ratio and a threshold that could not be falsified. The failed reviews are kept in the repo. The gate that caught it was already in place: rehearse on a scratch clone, independent science and code review, fix, re-review, then replay on main.
  • A pre-registered test was itself wrong. I closed one investigation as refused because its falsification criterion was too broad, and kept the record.
  • The founding spec had a factual error about which observing program covered Pluto. It was found from archive metadata and corrected under a decision entry.
  • The archive spectra could not answer the question asked of them. One investigation closed at its pre-registered “data cannot test this” outcome.

Where It Stands

Seven hypotheses are recorded and none is favoured. Of five investigations, two were refused, two closed as informative, and one is deferred because a literature survey found no adequate lab series in accessible data. The most recent commit pauses the acetylene route.

What I can say the project shows is narrower than its subject: the sourcing rules held through a 40-hour unattended run and through a proposal that failed review, because they were checks in code and not sentences in a prompt.

Tech Stack

  • Language: Python 3.12; core code is pure Python plus numpy, scipy, astropy and RDKit, and must not import the chemistry engines
  • Storage: SQLite for the evidence ledger and the task queue (idempotency keys, expiring leases, retries); research state as git-tracked JSON written through one script
  • Chemistry: xTB and CREST for screening, Psi4 for harmonic frequencies, pinned with a pixi lockfile and called as external programs through adapters
  • Validation: JSON Schema for manifests and fixtures; strict JSON loading that refuses duplicate keys and NaN
  • Testing: pytest, no network in tests, published values pinned as protected fixtures