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)
- : The 37-task study found no benefit from prose guides or library tools.
- : 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.
- : Topic clustering, word-only feature location and RAM-only labelling missed their bars.
- : 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.
- Output is cheap to make. Attention stays the same.
- Output keeps growing. The window does not.
- Each item links to its source and shows its status.
- A source changes. Work that depends on it goes stale.
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.
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()) 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) 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) 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 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%) 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 The measured rebuild and task comparisons, with their conditions, are in the current answer.
Where the full detail is
Every result, number, credit and limit is in one of these records.
- Full record: each measured result with its conditions, what is built, the scope and limits, the planned next study and the supporting projects. Also as Markdown. The research-sprawl plan is with the shared-knowledge proposal.
- Public fixture replay: the synthetic example anyone can run, with what it does and does not check. The interactive cutaway steps through the same recorded correction in the browser.
- Decision ledger: 34 decisions from one working day, each with its pass bar written before the check (11 confirmed; 14 refuted, meaning they missed that bar; 5 inconclusive; 4 open).
- Live lab (in development): a small worker reading the Python standard-library docs one step every hour, with its record and cost in public.
- September 2026 archive: the September 30 intake and procedure studies and the September 24 nine-case demonstration, as dated sections.
- Dated progress log: what was found on each date, newest first, with the October 2026 summary (JSON).
File details on this page
Format, size and a short SHA-256 identifier, measured when this page was built.
- consumption-engine-implementation-2026-09-23.mdMarkdown, 24.2 KB, sha256 2ea2d6cf079c
- consumption-october-2026-summary.jsonJSON, 11.5 KB, sha256 082866e24a93