Status

Research Progress

A dated record of completed work, current work and what comes next. Every completed stage ends with automated tests on the target machine and a written report.

What we are building: a guard that lets AI models reach an organisation’s data only within their rights, and a safe long-term memory for a personal AI.

How to read our results

Memory pilot
Completed
Engine stages closed
G0, G1, G2
Automated tests in a full run
6,800+
Registered decisions and rules
800+
Preparatory formal-verification stages accepted
3
Research notes published
10

Ahead

  1. Now

    Clean-up after the scale stage

    In progress

    Four of its five parts were merged between 25 and 28 Nov. Among them: after a crash, recovery keeps every check it owes; and reading a long document part by part costs work that grows only with the document’s length. In the last two parts the tests caught all 27 and all 31 deliberately broken versions of the code. A full run passes 6,819 automated tests.

  2. Later

    A port of the core to Rust

    Planned

    The core of the engine will be rebuilt in Rust.

Completed

  1. The engine at scale (G2)

    Completed

    On 16 Nov an AI model, for the first time, answered 200 test questions from the base of 1,000,000 records through the engine’s access layer; the same questions had first been asked through the layer by a script, with no model. On 17 Nov the run was repeated on a world of invented documents that no model can have read, and the results were compared. A harder invented world was tried next; that line was stopped and kept in the archive. An outside check of the stage led to one small repair. G2 closed on 22–23 Nov: the engine was checked on a second, very different base, so that it is not fitted to one set of data, and a full run of 6,680 automated tests passed on the stage’s last version.

  2. A full review of the engine’s code

    Completed

    The whole code of the engine was read, without running anything, by a lead reviewer and fifteen AI readers in one session. They reported 131 findings: 2 high, 22 medium and 107 low. Each point was then judged against the code; 145 were confirmed in full and 19 in part. The critical points and a first set of repairs were made in three parts, each with new tests shown to fail on the old code first, and merged by 13 Nov; the remaining points are recorded for later stages. Reading alone found no place where a model would receive records it may not see.

  3. The quality gate’s first full trial

    Completed

    In a hiring-style trial set by an outside evaluator, an AI agent fixed defects and added features in a practice application, and the gate judged every change. Each change passed the gate’s checks, a review by a model from another vendor and a human merge; all 357 acceptance tests pass. The evaluator accepted the technical part on 12 Nov, with the remaining limits written down.

  4. A public quality gate for AI-written code

    Published

    Our first public code: a reusable pipeline that judges the pull requests of an AI agent. The rules live in GitHub, not in a model: checks the agent cannot change judge every pull request, a model from another vendor reviews it, and nothing is merged without green checks, stored evidence and a human approval. Its own suite of 2,471 tests passes, and it caught all 243 deliberately broken versions on its list. Its known limits are written in the repository.

    github.com/XThoughtLabs/quality-gate

  5. A document base at up to a million records

    Completed

    The memory engine now reads from a base of documents in its own format. The base was built at 10,000, 100,000 and 1,000,000 records, and every read of it passes the engine’s access checks before anything is returned. The access rules were written as a contract, with their tests, before any code.

  6. Planted faults to test the tests

    Completed

    To prove that the tests check what they claim, we planted small deliberate faults in the engine’s guarantees — in the second round, 61 of them, proposed by two different models. The first run caught 45; each of the rest got a new test that catches it, and the final run caught all 61. No fault in the engine was found: every survivor was a test that did not look.

  7. A faster, stricter test run

    Completed

    The full suite of more than 4,500 automated tests now runs in parallel, about three times faster than one test at a time, and the parallel run gave every test the same result as the serial one. Tests can also be handed out in fixed or shuffled orders, which finds tests that silently depend on each other.

  8. Preparation for scale complete (G2-0)

    Completed

    Before the engine grew, its handling of withdrawn records and of faults was reworked, and the findings of independent audits were closed in a series of repair stages. The phase closed when the final checks left only small fixes, which were made and checked on the spot.

  9. Engine foundation complete (G1)

    Completed

    The foundation of the memory engine passed an independent code audit and three rounds of re-checks. The stage closed only when no critical finding remained. Every decision is registered and linked to the tests that check it.

  10. New memory architecture

    Completed

    New memory architecture adopted, built on the 41 axioms and 12 invariants set in September. The protocols were fixed before any engine code was written. Mutation testing of the pilot found 34 gaps in its tests; each is now a required check for the new engine.

  11. Memory pilot completed

    Completed

    Four rounds of external audit checked whether the prototype kept its own promises; the last found nothing new. A first load test was run on large synthetic stores.

  12. First controlled evaluation with models

    Completed

    Two agent models from different providers worked with the memory prototype only through the controlled access layer. On a closed synthetic task set, both answered all 13 memory-dependent tasks correctly with the memory; without it, both stated that the answer could not be known instead of guessing, and no answer cited a wrong record. In an adversarial trial with nine goals — such as reading another area, writing as someone else or going around the access layer — neither model reached a goal. The providers’ own safeguards limited part of that trial, so we treat it as a first check, not a security result.

  13. Scale and a controlled access layer

    Completed

    Reading and writing were measured on stores of up to 100,000 entries and met the target. Models now reach the memory only through one local access layer: a separate pass for every run, a tamper-evident log of every call, and an independent checker that verifies a run without trusting the access layer itself.

  14. Failures, recovery, reading and write protection

    Completed

    The prototype was tested against crashes and interrupted writes, with no losses and no duplicates after recovery. Agents gained scoped reading, in which a record outside a reader’s area is indistinguishable from one that does not exist. Write protection against memory poisoning was added and tested against a catalog of attacks.

    Related note: What Happens to a Model’s Guess After a Month

  15. Memory pilot begins

    Completed

    The first stages of a working memory prototype: a contract for records, a journal that is never rewritten, a single gate for every write, answers to “what was true then” and “what was known then”, corrections without rewriting history, and obligations that are not lost.

    Related note: What Happens to a Model’s Guess After a Month

  16. Formal verification track opened

    Completed

    Three preparatory stages were completed and accepted: a baseline of definitions, a targeted review of existing verification work, and a register of proof obligations — the properties the memory must be proven to have.

  17. Implementation and proof plans

    Completed

    A detailed plan for implementing and accepting the memory, and a separate plan for its formal proofs.

  18. First research notes

    Completed

    Research Notes 001–003 on continuity, reasoning effort and revision.

  19. Public research layer

    Completed

    This website, with research directions and concept visuals.