Simone Consumption Engine / Ongoing research, in development / Reviewed November 26, 2026

How can AI agents use what a project already knows?

I am testing whether AI agents do more correct work, and less stale work, when each piece of their context is tied to its exact source and an executable check.

In short

  • Not shown in general so far. On 37 real repository tasks, prepared prose guides and library tools did not beat an ordinary agent workflow.
  • One narrow positive result. On one single-package Python target, rebuilds from hand-extracted code bricks outscored rebuilds from documentation alone in 3 of 3 runs. Documentation alone is a weak baseline, not an ordinary workflow.
  • Who can check what. I ran these studies on private code and records, so only I can rerun them; their summaries are published as JSON. Anyone can run the public fixture, a synthetic, hand-specified example that refuses stale work after a source change.

Related note: JHOVE PDF byte-offset diagnostic study.

Question, answered as of

Does source-bound context make an agent's work more correct, or less stale, than an ordinary workflow?

Reported Not shown yet in general. On 37 real repository tasks, prepared prose guides and library tools did not beat an ordinary agent workflow. On one single-package Python target, rebuilds from hand-extracted code bricks beat rebuilds from documentation alone in 3 of 3 runs; that baseline is documentation alone, not an ordinary workflow. Refusing stale work after a source change behaves as specified in the public synthetic fixture.

How sure
  • high that stale work is refused after a source change, in the public synthetic fixture: anyone can rerun the pinned release; it checks a hand-specified contract, not detection on real sources
  • moderate that the ApprovalBench gap occurred under its conditions: a large gap (mean 51.52 points, bar 10), but three runs of one design on one target and one harness, graded inside the project
  • low that the gap carries over to other code, other harnesses or a comparison with ordinary work: one single-package target, one harness, and no ordinary-workflow arm on that target
  • moderate that a compiled prose guide or library tools did not help on real repository tasks: 37 tasks, 2 builds per arm, partial-check score 48.8% guide, 49.0% tools, 53.8% ordinary; private, repaired harness
  • none yet why either result happened: no test has separated the proposed causes
Lines of evidence
  • October 18 ApprovalBench code-brick study (P1a to P1c). Could be wrong if: documentation alone is a weak baseline, or the target or checker suits bricks
  • October 7 study of 37 real repository tasks (mean partial-check score, not tasks completed). Could be wrong if: task choice or the harness favoured ordinary reading
  • September 30 procedure study: prepared context cost more tokens, and agents never chose a retained procedure on their own. Could be wrong if: two policies and one local model are too few
  • Public stale-refusal fixture, runnable by anyone. Could be wrong if: synthetic, hand-annotated sources; it measures no effect on agent work
Strongest objection
The one positive result is against documentation alone on one target, not an ordinary workflow. On real tasks the closest tested prepared context scored below ordinary work. The positive and negative results come from different tasks, so they do not yet answer the same question, and all four lines share one operator and setup.
What would change this answer
An ordinary-workflow arm on ApprovalBench that matches the brick rebuilds would move the answer toward "documentation alone was the weak point". The brick gap holding under a second agent harness, on a multi-package target, or in an outside run would move it toward "bricks help". A further real-repository loss for prepared context would strengthen the negative side.
Next test
Run the unprepared ordinary-agent arm (Arm A, .git stripped) against full code bricks (Arm D) on ApprovalBench. If ordinary work closes the gap, the result says more about the documentation-only baseline than about bricks. Running it under the second harness (mini-swe-agent) tests both at once.
What changed this answer (4)
  1. : The 37-task study found no benefit from prose guides or library tools.
  2. : Hand-extracted bricks beat documentation alone in 3 of 3 ApprovalBench runs. In a separate phase, the generated checks flagged 15 of 15 behaviour-changing edits.
  3. : Topic clustering, word-only feature location and RAM-only labelling missed their bars.
  4. : This answer was first written down.

Why this project exists

The consumption problem: output outruns the reader

AI tools can generate code and summaries much faster than a person can read and verify them. In my own projects, agents produced summaries and instructions faster than I could check which ones still held. Over six weeks in 2026, agents merged 2,338 pull requests (1,979 PR-linked commits at 9522a8a) in one of my repositories, roughly 50 a day (the study).

The same gap shows up elsewhere, and it is older than AI. Congress gets more constituent messages than its staff can handle (Congressional Management Foundation, 2021). AI makes it cheap to fill feeds and websites with slop (Stanford and Georgetown researchers, 2024).

What I am testing: bind each piece of work to its exact source span and an executable check, so that when a source changes, the work that depends on it is held back until its check runs again.

For prose policies, a person still judges whether a passage supports a claim. For code, test oracles check the tested assertions, not behaviour on untested inputs.

Four numbered panels, described in the list below.
  1. Output is cheap to make. Attention stays the same.
  2. Output keeps growing. The window does not.
  3. Each item links to its source and shows its status.
  4. A source changes. Work that depends on it goes stale.
An illustration, not a live run. In the public fixture a policy changes from three retries to two, and the three-retry answer goes stale: watch it or run it in plain Python. Illustration first published October 11, 2026, revised December 2.

Two interactive views

Explore the intake gate and a code brick

Two interactive views of the work as it stood on October 24, 2026. The first view is the engine's workflow with its recorded values. The second shows how a code brick separates cosmetic edits from breaking changes.

01 / Read-Only Census

Map & refuse secrets

Scan local trees read-only; refuse .env*, keys, credentials & DBs before file open.

A large private collection mapped | 0 secret files opened

02 / Deduplicate & Ingest

SHA-256 keeper store

Collapse exact duplicates to one keeper; store spans in SQLite/FTS5.

5-project intake: exact copies skipped

03 / Extract & Prove

AST bricks & oracles

Verify AST unit spans, strip bodies, and synthesize execution-pruned pytest oracles.

Every span hash checked

04 / Revisit on Change

Self-maintenance gate

Ignore cosmetic edits; hold back work when an oracle or span hash breaks.

One test target, October 18: 15 of 15 behaviour-changing edits flagged, 0 of 12 cosmetic edits wrongly flagged; 22 of 22 affected bricks re-proved with no human edits

Test how the intake gate classifies a file before ingestion:

Kept. Stored in CATALOGUE.sqlite and BRICKS.jsonl; each live span’s SHA-256 checked; AST units extracted for source-blind rebuilds.

Architectural overview of the Consumption Engine intake, code-brick, and self-maintenance workflow as of October 24, 2026 (recorded evaluation values, not a live browser run). The example file names in the probe are illustrations. The recorded counts are in the results table.

Interactive walkthrough (example function, recorded P1c counts)

How a code brick separates cosmetic edits from breaking changes

Select an edit scenario to see how an AST-extracted brick and its synthesized pytest oracle respond when a source file changes.

1. Source span & AST unit

def verify_digest(payload: bytes, expected: str) -> bool:
    digest = hashlib.sha256(payload).hexdigest()
    return hmac.compare_digest(digest, expected.lower())

Body stripped in builder packet

1. Cosmetic or refactor edit in source

def verify_digest(payload: bytes, expected: str) -> bool:
    actual = hashlib.sha256(payload).hexdigest()
    norm = expected.lower()
    return hmac.compare_digest(actual, norm)

Bytes changed, but AST signature and behaviour are preserved

1. Behaviour-changing edit in source

def verify_digest(payload: bytes, expected: str) -> bool:
    digest = hashlib.sha256(payload).hexdigest()
    # Bug: dropped .lower(), breaking uppercase hex
    return hmac.compare_digest(digest, expected)

Contract violation: uppercase hex digests return False

2. Synthesized pytest oracle (tests/ hidden)

def test_verify_digest_case_insensitive():
    raw = b"manifest-v1"
    hex_up = hashlib.sha256(raw).hexdigest().upper()
    assert verify_digest(raw, hex_up) is True
    assert verify_digest(raw, "0" * 64) is False

Status: VALID

2. Mechanical self-maintenance (self_maintenance.py)

Oracle check: PASS (all synthesized assertions hold)
Cosmetic false-stale: 0/12 in P1c (0.0%)
Refactor false-broken: 0/7 in P1c (0.0%)

Status: RE-PROVED (0 human edits): downstream work stays valid

2. Synthesized oracle refusal

FAILED test_verify_digest_case_insensitive
AssertionError: assert verify_digest(raw, hex_up) is True
Breaking edits flagged: 15/15 (100%) in P1c

Status: REFUSED BY ORACLE: dependent tasks held back

The measured rebuild and task comparisons, with their conditions, are in the current answer.

The function and its edits illustrate the three cases; the counts are the recorded P1c totals. The brick results come from one single-package Python target and one harness; prose guides on real repository tasks did not beat the ordinary workflow.

Where the full detail is

Every result, number, credit and limit is in one of these records.

The cutaway at step 4: a policy source, version 2, allows 2 retries; the task's version 1 instruction, 3 retries, is withdrawn; the earlier result sits in history marked stale, and no reusable configuration is loaded.
Screenshot of the interactive cutaway, step 4 of 5: a correction stops the earlier result from being reused, and the original stays in history. It steps through a recorded example from the synthetic public fixture; the page does not run the engine.
File details on this page

Format, size and a short SHA-256 identifier, measured when this page was built.