An Automated Software House as a Second Test of Theory Refinement

Type: kb/articles/types/article.md · Status: draft

Program theory, the witness conditions, and why software gives a stronger falsifier

Draft supplement. This develops one alternative arrangement for testing the paradigm in Learning by Theory Refinement with Fixed Models. It may change. Comments and counterexamples are welcome on the repository's GitHub Discussions page.

TL;DR. A software house is the complete persistent system that keeps changing software for its users. We conjecture that an automated one is possible with LLM weights held fixed: computation performs every production decision, and the house learns by revising its retained knowledge and machinery rather than its models. This is a second way to test the paradigm of the lead article, learning by theory refinement with fixed models, whose first test is a knowledge base. The theory a house refines is program theory, the term Peter Naur, the computer scientist who argued that programming is theory building, used for the understanding of a program's purpose, organization, and how to handle new requests. Naur held that this understanding is bound to people; an automated house that holds one would show otherwise. Software fails visibly, so the house gives the paradigm a stronger falsifier, a failure the system does not itself judge, than a knowledge base does. It also demands a harder claim: that at least one whole house exists that meets four conditions together. This supplement states the claim, why it is not ruled out in advance, the four conditions, and the comparison with the knowledge base, which the research program pursues first.

Claim

The automated software house conjecture. At least one automated software house capable of open-ended coherent software change can operate practically using only LLMs and other distributed-parametric models available by 2026-09-02, the cutoff chosen for this conjecture, and held fixed during the run.

Operates practically means that the house, started from a declared seed, the product and machinery built before the run, sustains adequate performance over a stated horizon within a stated budget, reliably rather than by chance. Open-ended means that it handles whatever reasonable requests and consequences arise as development continues, without their being listed in advance, including requests that change what it is responsible for. Reasonable is left informal; programs that cannot be produced at all, or not within budget, do not count against the house. The working standard is comparative: given the same requests and resources, the house should do at least as well as a human-agent house, one with people in its internal production roles.

A witness house is a concrete example meeting the four conditions below. A witness run is an attempt to demonstrate them under a protocol declared in advance. A successful run supplies evidence for the conjecture under its reported workload, horizon, and budget, or establishes a version of it bounded to them. It does not establish the open-ended claim, which covers requests no finite run exercises.

The boundary

An internal production role is work the house depends on to develop and evolve the software, whoever performs it: interpreting project knowledge, making implementation decisions, diagnosing failures, comparing candidates, revising project state or production machinery, and choosing which revision takes effect. Users stay outside when they provide requirements, domain facts, preferences, observed outcomes, or acceptance judgments about visible behaviour. A user crosses inside when asked to diagnose an implementation failure, choose among internal designs, or select the retained successor. The role, not the person, decides the side.

An automated house performs every internal production role computationally. People may build the seed: the product, purposes and rationale, tools, tests, evaluators, workflows, and safety boundaries. During a witness run every distributed-parametric model is declared and pinned, including adapters, embedding models, and parametric routers and critics. The house may change its natural-language and symbolic state, including tests, evaluators, workflows, and update machinery. Every internal decision and successor must come from the current house, its fixed models, and permitted external inputs. An internal human intervention ends the run. The evidence supplement develops that requirement.

Why the claim is not trivial

Open-ended change brings questions that available checks do not settle. Say a product built for one customer per deployment must now serve many tenants. Several designs for representing tenant identity may pass the current tests, while only some preserve the assumptions on which later changes depend.

Naur called the understanding needed to choose among such designs, and to revise them later, a program theory. In this supplement its main behavioural test is coherent change: later requests are handled in ways that fit the earlier design.

How would a house achieve that? The proposed mechanism is that retained project-specific commitments do three jobs: they rule out changes that break the design, they point diagnosis at the likely cause, and they say what a recovery must preserve. In the tenant example, the commitment that a person's identity is separate from their organizational membership shows where the data model has to change. The commitment to tenant isolation says what every change must keep true. Commitments like these could keep the house's search for a design coherent while the consequences of a choice are still unknown. Passing the test shows that the house has the capacity. Changing the commitments and observing what the house does next tests whether this mechanism explains it.

In Naur's maintenance cases, possessing documentation did not give the successors the capacity to use it. Naur also argues that program theory is bound to people. Both bear on the conjecture.

Naur's compiler case reports that full code, annotations, extensive design discussion, and personal advice did not give a successor team enough program theory. The case tested one historically bounded package and way of using it. The successors had to find and apply the relevant material through their own reading. So the case does not say why the transfer failed. The premises the successors needed may have been absent from the package, present but never found, or found but not applied. Newer mechanisms target the second and third causes: rationale linked to the decisions it affects, semantic retrieval, and loading the relevant record at the point where a decision is made. Whether they transfer more of the capacity is untested.

If program theory is bound to people, no automated house can hold one, and the conjecture fails. Our reading of Naur's argument identifies a further premise: computation can make these judgments only by executing explicitly formulated criteria. But formal execution does not require designers to supply a complete project-specific rule for each judgment. A fixed LLM may interpret an explanation of tenant isolation without such a rule; whether it does so reliably is an empirical question. A successful computational witness would show that program theory is not bound to people, without settling whether the judgment's criteria can be formulated.

How the components could perform the program-theory function

The conjectured house combines three components. Fixed LLMs interpret requests and project state and propose judgments and changes. Natural-language project state retains purposes, commitments, explanations, evidence, and decisions. Symbolic software supplies exact behaviour and continuity through the product, tools, schemas, tests, context assembly, scheduling, validation, rollback, and retention rules. No component holds the program theory alone. A note that is never loaded has no effect. A model without enough project state must reconstruct or guess. Software executes a decision without supplying all the judgment that selected it.

Nor does the conjecture fix which form carries the theory. The house may retain an explicit project theory, reconstruct understanding from records each time, or combine both. What matters is explanatory use: project-specific state changes proposal, evaluation, diagnosis, or recovery, including where the relevant implication is not stated verbatim.

What a witness house must show

One house must show all four conditions together. Each needs positive evidence: a run that never challenges an assumption cannot establish coherent revision because nothing went wrong.

  1. Holding and application. Across novel changes, the house uses program theory to guide proposal, evaluation, diagnosis, or recovery. The evidence must distinguish explanatory use from instruction-following, since a model that merely follows retained text as an instruction also changes its behaviour when the text changes. Three controls are part of the condition: predicted changes in the house's decisions on cases whose correct handling is not stated verbatim in its retained state; matched variation of the path by which commitments are reconstructed and consumed, not only of their text; and an account of equivalent reconstruction, since removing one written carrier without changing behaviour is inconclusive when other records supply the same understanding.
  2. Coherent revision. Later requests or operating consequences expose an inadequacy in the current program theory. The house responds by revising the product, retained project state, production machinery, or a combination, and the successor supports coherent later change.
  3. Automated continuation. The house sustains those capacities through subsequent requests and consequences without internal human production decisions.
  4. Practical reliability. The declared evaluation shows that the house sustains adequacy across the horizon within the budget, reliably enough to be useful, against a human-agent house given the same requests and resources. A single successful sequence may be chance and establishes only possibility.

The witness protocol declares before testing the starting system, the boundary and workload with how failures and exclusions are counted, the resources including seed-construction effort, and the evaluation with its baseline, thresholds, and the interventions used to test condition 1.

A formal contrast and existing constructions

Schmidhuber's Gödel machine is the nearest formal construction to the conjectured house. It can rewrite its own code, and its embedded prover admits a rewrite only after proving, from the current axioms and utility function, that switching pays. Its limit is that it "must ignore those self-improvements whose effectiveness it cannot prove" (Schmidhuber, §2.4, verbatim). The two share the requirement that every successor state arise through the current machinery and permitted inputs. They differ in the admission route: the Gödel machine admits a change by proof under its formalization, while the house admits a fallible change on empirical grounds, observes its consequences, and recovers from a wrong one. The Gödel-machine paper does not demonstrate a software house meeting the witness conditions.

Two reports make parts of the conjecture concrete. OpenAI's agent-first product account describes months of development with agent-generated code, repository-local knowledge, and automated checks. People still supplied internal design and production judgments. The Darwin Gödel Machine paper reports improved coding-benchmark performance through search over retained agent code around frozen models. Neither demonstrates autonomous program theory across later product changes. Nearest existing constructions maps eighteen systems against the four conditions; none shows all four together.

The comparison with the knowledge-base arrangement

The program's first arrangement is Commonplace producing a knowledge base for consuming projects. Both arrangements test the same paradigm through an externally assessed product. They differ on one point, Naur's program theory, and three consequences follow from it.

A theory of the product against a theory that is the product. In the software house the retained theory is about the software: it says why the code is organized as it is and what a change must preserve. The software is a separate artifact that either works or does not. In the knowledge-base arrangement the retained theory is the product: the consuming project's agents read the theory and act on it. There is no second artifact whose behaviour tests the theory independently of how it was read.

Falsifier strength. Software supplies a falsifier that does not depend on how the theory was read: a failing test, an invalid release, a user who cannot complete a task. When a house guided by a program theory ships a broken manifest, the theory or its use has failed, whatever the model understood the theory to say. A knowledge base's falsifier is a judge rejecting an agent's work, and the rejection is evidence about the combined task, consumer, and knowledge base. Locating the fault in the theory rather than in its reading needs additional interventions. The software-house arrangement therefore gives sharper evidence per episode.

Claim form. The software house supports an existence claim: one witness meeting four conditions, with the open-ended claim beyond any finite run. The knowledge-base arrangement supports a sufficiency claim across declared areas, with breadth built from several areas and evidence about transfer. A witness house that fails refutes only that construction; a knowledge-base run that fails on an area refutes sufficiency for that area. The two do not substitute for one another.

Required machinery. A software house must perform every production role of a working development organization, and its seed must already be a working house. The knowledge-base arrangement can start from an existing human-inclusive builder and move roles to computation one class at a time. That is why the program pursues it first, and why the software house is kept beside it as the arrangement whose evidence would be stronger if it could be obtained.

Whether a broadly capable knowledge-producing builder must eventually become a software house, because new domains require it to revise the software that performs its own production, is a separate conditional conjecture. This supplement does not rely on it in either direction.

Relation to the program

The lead article proposes learning by theory refinement with fixed models as a learning paradigm and states three hypotheses about a theory builder, tested through what the builder receives from outside: a falsifier, an objective, and an outcome level it does not judge itself. A software house is one arrangement that supplies those three, through product operation and users' judgments of visible behaviour. Its conjecture, boundary, and conditions were stated before the program was framed in those terms, and they are kept here with their own model cutoff. The software house is not the program's paradigm case and not a special case of the knowledge-base arrangement: it is a different product, with a stronger falsifier and a harder claim.

Where to go next

Nearest existing constructions to a witness house gives the evidence behind the claim that no existing system meets the four conditions together. The evidence supplement's section on what a run's path can and cannot show develops the requirement that every successor state come from the current system, and what it does not establish. The software house definition carries the boundary rule in its general form, and the evidence supplement states the knowledge-base arrangement's protocol for the comparison above.