Jump to content

Dissertation.NestedHierarchyAbstraction/vision-down-build-up: Difference between revisions

From MindAttic Docs
md2wiki: sync from MindAttic.Docs
 
md2wiki: sync from MindAttic.Docs
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
<strong>Download:</strong> [https://raw.githubusercontent.com/mindattic/Dissertation.NestedHierarchyAbstraction/main/exports/Vision%20Down%2C%20Build%20Up.pdf PDF] · [https://raw.githubusercontent.com/mindattic/Dissertation.NestedHierarchyAbstraction/main/exports/Vision%20Down%2C%20Build%20Up.docx Word]
<strong>Download:</strong> [https://raw.githubusercontent.com/mindattic/Dissertation.NestedHierarchyAbstraction/main/exports/Vision%20Down%2C%20Build%20Up.pdf PDF] · [https://raw.githubusercontent.com/mindattic/Dissertation.NestedHierarchyAbstraction/main/exports/Vision%20Down%2C%20Build%20Up.docx Word]


=== Nested-Hierarchy Abstraction, Reverse Traversal and the Human Visionary in LLM-Agent Software Development ===
=== Nested Hierarchy Abstraction: A Plan-Driven Method with Agile Joints for a Visionary Directing Language-Model Agents ===


<em>by MindAttic</em>
<em>by MindAttic</em>
Line 11: Line 11:
== Abstract ==
== Abstract ==


Language-model agents can now write, review and ship software across many repositories at once. The person who directs them risks being pulled back to the ground, steering file by file, or losing the thread entirely as plans multiply and drift. This dissertation states and tests a development paradigm meant to keep one human at the source: the owner writes the vision, the specifications, the milestone order and the sign-offs, and agents do everything below. The paradigm has three parts. <em>Nested-hierarchy abstraction</em> plans every product as epics (outcomes), features (capabilities), stories (behaviours) and tasks (code), each level as abstract as it can be and never naming the level below. <em>Reverse traversal</em> builds bottom-up in parallel waves computed from one dependency graph across every repository. <em>Single source</em> derives every repository's plan from a single written vision with one owner per concern. Seven criteria and a verdict rule were committed before any results were written. The test is a single-case study of the MindAttic portfolio (more than 90 active repositories and about 20,000 tickets) over 27 to 30 November 2026, across three re-plans by agent fleets, with an embedded reflexive case: this manuscript, planned as a tree of its own and written chapter by chapter by agents in wave order. <strong>Primary verdict: not viable.</strong> At the first measurement, coverage of the plan by its specifications (93.6 per cent against 95), the acyclicity of the dependency graph (one cycle) and safety (two incidents not yet recovered) fell short. <strong>Secondary verdict: viable with conditions, pending the owner's sign-off.</strong> Every defect was then repaired through the paradigm's own channel on the same day, and a second measurement, reported beside the first and never in its place, met six of the seven criteria; the seventh, the manuscript's own reflexivity, completes only with the owner's sign-off. The paradigm, as first practised, did not meet its own bar; its failures were detectable and repairable from within it. The study is one case, measured by the system it describes, over days rather than the life of the products, and it says so.
Language-model agents can carry out well-specified software work, but a person directing many of them across many products risks either steering file by file or losing the thread. This dissertation defines Nested Hierarchy Abstraction (NHA), a method in which one human, the Visionary, owns a single written vision; agents write every product down whole as a hierarchy of maximally abstract outcomes, capabilities, behaviours and code changes; and the product is built from the leaves up, with every existing file accounted for against the plan. Its thesis is a hybrid: most of the work runs as a plan-driven cascade, pivoting to iterative work only at the joints between finished parts, built and proven last as <em>membranes</em>, and at changes the Visionary introduces. From 104 refinements recorded while building, eight principles are distilled, among them that claims are not evidence, that the joint is a first-class unit of work, and that a fix counts only once installed and observed. Two pre-registered evaluations on one portfolio of about one hundred repositories are reported as measured. Planning was <strong>not viable</strong> at its primary measurement (coverage 93.6 per cent against 95, one dependency cycle, two incidents unrecovered) and viable with conditions after repair through the method's own channel, pending the Visionary's sign-off. Building was <strong>not viable</strong> at its primary measurement of ten repositories: comb completeness (141 of 141 files), safety and inferred autonomy met their bars, while debt resolution (80 per cent against 90), membrane coverage (10 of 11) and pyramid order (two early closes against none) missed. A re-measure repaired coverage but found four early closes and remains not viable. An installer defect, since fixed, explains part of the shortfall. The dissertation then extends the method from the code to the hardware: the capacity that builds a portfolio is itself a nested hierarchy (a mesh of machines, each hosting agent sessions under model accounts, each running agents) that mirrors the plan level for level, hangs from the same single source, and meets it at the leaf, where a task is whatever one agent can hold. Decomposing work to that smallest unit is what lets any idle agent on any machine take any ready task, and the method's planning conditions are what make software tasks independent enough for the established mechanisms of leases, fencing tokens and a single serialised writer to suffice. A mesh of the portfolio owner's own computers is described against those standards as a design under construction, with no measured result claimed. The study is one case, measured by the system it describes.


<strong>Keywords:</strong> large language models; LLM agents; multi-agent software development; software planning; work breakdown structure; hierarchical decomposition; stepwise refinement; abstraction; dependency graphs; topological scheduling; human-in-the-loop; human-AI collaboration; Conway's law; pre-registration; case study
<strong>Keywords:</strong> large language models; LLM agents; multi-agent software development; software process; plan-driven development; agile development; hybrid development approaches; distributed computing; work breakdown structure; stepwise refinement; abstraction; technical debt; dependency graphs; human-in-the-loop; pre-registration; case study; design science


== Statement on Authorship and Method ==
== Statement on Authorship and Method ==


This dissertation was written by large language-model agents under the direction of the owner of the MindAttic portfolio, by the method it describes. The owner supplied the question and the vision in one instruction (quoted in Chapter 8, Section 8.2) and holds the final sign-off (ticket DNHA-T29). A coordinating agent wrote the specification, the pre-registered criteria (<code>docs/PREREGISTRATION.md</code>), the writing brief and the briefs for each story. Each chapter was then written by a separate agent session as one story ticket, claimed only after the stories it depends on had closed. Chapter 8 records who did what, when, and what the record cannot show, including that every agent worked under the same login and git identity.
This dissertation was written by language-model agents under the direction of the owner of the MindAttic portfolio, who played the Visionary in the case it reports, by the method it describes. The owner supplied the question and the vision, asked for the revision that gave the manuscript its present form (ticket DNHA-T46), and holds the final sign-off (ticket DNHA-T29). An orchestrating agent wrote the specifications, the two pre-registrations (<code>docs/PREREGISTRATION.md</code>, <code>docs/PREREGISTRATION-PART2.md</code>) and the briefs; separate agent sessions wrote the chapters and took the measurements; and the measurements of Part II were taken by a read-only analyst agent working from the ticket store and the version history rather than from the orchestrating agent's record. Section 10.1 records what the record cannot show, including that every agent and the owner worked under one login and one version-control identity.


The verification rule is that no source is cited as checked unless it was. Every cited work is recorded in the verification ledger (Appendix: Source Verification Ledger) at the level at which it was read: full text, abstract or publisher page, or record located. Claims rest only on what was read at that level, and quotations appear only where the exact text was seen. The ledger pass found six misstatements in the draft chapters; all six were corrected before export and are listed in the ledger's Section Z.
No source is cited as checked unless it was. Every cited work is recorded in the verification ledger (Appendix A) at the level at which it was read: full text, abstract or publisher page, or record located. Claims rest only on what was read at that level, and quotations appear only where the exact text was seen.


Every number about the portfolio names its source in the ticket database, the git history or the workspace documents, and the raw data are kept in Appendix: Data and in <code>docs/measures/</code>.
Every number about the case names its source. Part I's measures are in Appendix B and <code>docs/measures/</code>; Part II's are in the measurement reports cited below and summarised in Appendix C. The raw build-up log is kept unedited as supplementary data and is cited by entry.


== Abbreviations ==
== Supplementary Data ==


{| class="wikitable"
{| class="wikitable"
! Abbreviation
! Label
! Content
! Location in the repository
|-
| S1
| The Part II build-up log, entries L1 to L50, with refinements R1 to R104, written as the work happened and never edited except to add entries
| <code>docs/PART2_LOG.md</code>
|-
| S2
| Part II measurement P1, the pilot
| <code>docs/measures/part2/P1.md</code>
|-
| S3
| Part II measurement P2, the first ten repositories, with its re-measure
| <code>docs/measures/part2/P2.md</code>
|-
| S4
| Part I measurement outputs (coverage, lint, waterfall, coding, jobs, incidents)
| <code>docs/measures/</code>, <code>docs/measures/m2/</code>
|-
| S5
| The per-repository build-up results record and the build order
| workspace <code>docs/buildup/RESULTS.md</code>, <code>docs/buildup/BUILD_ORDER.md</code>
|-
| S6
| The mesh design record, with its decisions, rejected alternatives and "Built so far"
| MindAttic.Orchestrator <code>docs/MESH_ARCHITECTURE.md</code>
|-
| S7
| The work-unit rule (only leaves are worked; a task fits a token budget) and the run costs that motivated it
| MindAttic.Orchestrator <code>docs/WORK_UNITS.md</code>
|-
| S8
| The mesh build status and definition of done, 2 December 2026
| workspace <code>docs/plans/mesh-build-status.md</code>
|}
 
Citations of the form "(S1, L36)" refer to entry L36 of the build-up log; "(S3, B4)" refers to criterion B4 of the P2 report; "(S6, section f)" refers to section f of the mesh design record.
 
== Abbreviations and Terms ==
 
{| class="wikitable"
! Term
! Meaning
! Meaning
|-
| NHA
| Nested Hierarchy Abstraction, the method this dissertation defines
|-
| Visionary
| The one human role: owns the vision and the decisions it does not settle (Section 3.2)
|-
| Orchestrating agent
| The agent session that holds the plan between sessions and translates the vision into it
|-
| Building agent, assembly agent
| Agents bound to an explicit scope that build leaves, and that build a container's membrane
|-
| Membrane
| The story, one per container of two or more parts, that joins the parts and proves the joined flow (Section 4.4)
|-
| Comb, ledger
| The step that accounts for every source file against the plan, and its record (Section 4.3)
|-
| Change intake
| Stop, decompose, resume: the handling of a change the Visionary introduces mid-build (Section 4.6)
|-
| Wave
| A layer of the dependency graph; every leaf in one wave can be built in parallel (Section 4.1)
|-
|-
| C1–C7
| C1–C7
| The seven pre-registered criteria (Chapter 6)
| The seven pre-registered criteria of Part I (planning)
|-
| B1–B7
| The seven pre-registered criteria of Part II (building)
|-
| M1, M2
| Part I's first and second measurements
|-
| P1, P2
| Part II's pilot and primary measurements
|-
| R1–R104
| The numbered refinements of the build-up (S1)
|-
| Mesh, node, session, agent
| The levels of the capacity hierarchy: all the machines, one machine, one agent host under one model account, one sub-agent holding one task (Section 6.2)
|-
| Placement
| The record of which agent holds which task (Section 6.2)
|-
| Lease, fencing token
| A time-limited claim, and the number that rises with each grant so that a stale holder's write is refused (Section 6.5.2)
|-
|-
| DAG
| DAG
Line 40: Line 127:
| INVEST
| INVEST
| Independent, Negotiable, Valuable, Estimable, Small, Testable (story criteria)
| Independent, Negotiable, Valuable, Estimable, Small, Testable (story criteria)
|-
| LLM
| Large language model
|-
| MS-n
| A milestone in the ticket database
|-
| PERT
| Program evaluation and review technique
|-
|-
| SPEC
| SPEC
| A repository's <code>docs/SPEC.md</code>, the whole product on paper
| A product's complete specification
|-
|-
| WBS
| WBS
Line 61: Line 139:
=== 1.1 The problem ===
=== 1.1 The problem ===


At the end of November 2026 one person owned a software portfolio that no one person could build. The MindAttic workspace held, by the count of its own ticket database on 30 November, 20,005 tickets under 107 repository keys, 2,557 of them open, spread across applications, games, mods, libraries, hardware guides, manuscripts and the tooling that runs all of them (<code>tickets ticket list --json</code>, run while this chapter was written). Ninety-four of those repositories were active (Chapter 7). The work in them was done almost entirely by language-model agents. The owner started sessions, gave instructions, and read what came back. The agents read the code, filed and closed the tickets, wrote the commits and kept the documentation.
Language-model agents can now read a codebase, file and close tickets, write and review commits and keep documentation current across many repositories at once. A single person can start dozens of them. What that person cannot easily do is keep them on one course. Each agent session begins with no memory of the last, does what its brief says rather than what its author meant, and works in parallel with others that may be changing the same files. Left to themselves, sessions open their own paths: tickets accumulate that no longer describe anything wanted, the same failure is filed many times over, products each build their own copy of a concern another product already owns, and specifications describe products that the tickets no longer match. The person directing the fleet is pulled in one of two directions: down to the ground, steering file by file, or away from it, losing the thread as the plans multiply.


That arrangement had already shown its weakness. Three days before the period this dissertation studies, the owner described it this way: "there are over 100 repos now with no end in sight ... I really don't feel I have any control over the course these apps are taking" (quoted in <code>docs/portfolio-reset/TRIAGE_BRIEF.md</code>; Chapter 7, Section 7.1.1). Agents were capable of doing almost any task they were handed. What the portfolio lacked was a way for the owner to say, once, what all of that work was for, and to have every agent's work follow from it. Without that, every session opened its own path. Tickets accumulated that no longer described anything the owner wanted. Automated runners filed the same failure fifty times over. Products each built their own copy of something another repository already owned. Specifications described products that the tickets no longer matched. By the morning of 30 November the owner put it in a sentence: "this is for every project, everything is getting too many different paths and it's not consolidating" (description of ticket MAT-T360).
The difficulty is old. The waterfall, the work breakdown structure, stepwise refinement, agile epics and stories, hybrid processes and hierarchical planning are all ways of keeping many hands working toward one end (Chapter 2). What is new is the workforce. Methods built for teams of people assume continuity, memory and a shared sense of purpose that a fleet of agents does not have. The question this dissertation addresses is what must be written down, in what form, and enforced by what tools, for such a fleet to build a large body of software from one person's vision while that person stays at the vision.


The difficulty is not new, and it is not specific to language models. Chapter 2 traces it through the waterfall and its critics, the work breakdown structure, stepwise refinement, agile epics and stories, and hierarchical planning in artificial intelligence. Each of these is a way of keeping many hands working toward one end. What is new is the shape of the workforce. A fleet of agents can be started, stopped and multiplied at will. It works in parallel on a shared checkout, forgets everything between sessions except what is written down, and does exactly what its brief says rather than what its author meant. Methods built for teams of people assume continuity, memory and a shared sense of purpose that this workforce does not have. The question is what has to be written down, and in what form, for a fleet like this to stay on one course.
=== 1.2 The method ===


=== 1.2 The owner's question ===
The dissertation defines and evaluates a method for that purpose, <strong>Nested Hierarchy Abstraction (NHA)</strong>, summarised in its title, <em>Vision Down, Build Up</em>. One human, the <strong>Visionary</strong>, owns a single written vision and the decisions it does not settle. From the vision down, every product is written down whole, as a complete specification mirrored in a hierarchy of epics (outcomes), features (capabilities), stories (behaviours) and tasks (code changes), each level as abstract as it can be and never naming the level below it, every shared concern owned by exactly one product, and the plan reasoned about (its design, its gaps, its completeness) before it is built on. From the leaves up, work units are built simplest first; every existing file is accounted for against the plan, and code that cannot be accounted for is filed as debt; leaves are built in dependency waves by agents bound to explicit scopes; and the joint between the finished parts of each container is built last, as its <strong>membrane</strong>, by an assembly agent that proves the joined flow with a recorded run before the container may close.


The dissertation answers a question the owner asked directly. The first form of it came on the morning of 30 November, with the instruction to re-judge every ticket and to write each product down whole: "every project should have all its stories written down in waterfall format so the complete product already exists on paper and it's properly allocated to a nested hierarchy of tickets" (MAT-T360). Twenty minutes into that work the owner sharpened it: "the machine can be designed complete from the beginning; you see what's already there, we have full documentation, the correct way forward should be obvious for every project, so let's build a sequential way of finishing and polishing every single ticket" (note on MAT-T360; Chapter 7, Section 7.1.2).
The method's central claim concerns the relation between those two directions. NHA is a plan-driven cascade for most of its length: the product is on paper before it is built, and the building follows the paper. It pivots to agile, iterative work at two places only: the joints between parts that neither the plan nor the coding flow had surfaced, which become membranes, and the changes the Visionary introduces during the build, which are placed against the vision, decomposed into the plan's own units and resumed from where the build left off (<strong>change intake</strong>). Neither pivot stops the cascade, because both are expressed in the plan's own terms and scheduled by the same dependency rule as everything else. Chapters 3 and 4 define the method; Chapter 5 states the principles its first application forced.


The second form came that afternoon, as the instruction this manuscript itself was written under. It asked for every story to be re-verified "so that each feature is the most abstracted it can be, and each epic has the most abstracted features, and that everything is in line with everything else because they all are being created with a singular vision from the source of the river to the open sea". It asked for the method to be written up as a dissertation, and for that dissertation to be "its own proof for the viability (or non viability) of this new paradigm of development which allows a human being to still participate in the development process as the overarching visionary rather than a boots on the ground developer" (description of MAT-T462; Chapter 8, Section 8.2 gives the full passage and notes that the quotations correct the instruction's typing errors).
The method's abstraction does not stop at the software. The capacity that builds the plan is itself a nested hierarchy, a mesh of machines, each hosting agent sessions under model accounts, each running agents, and it mirrors the plan level for level: containers that host and leaves that work, one source, and a direction of composition opposite to the direction of description. The two hierarchies meet at the leaf, where the task is sized to what one agent can hold. Decomposing work down to that smallest unit is what lets capacity be composed up across machines, because any idle agent anywhere can take any ready task and the plan never names a machine. Chapter 6 states this distinction, maps it onto a mesh of the Visionary's own computers that is being built on the portfolio's single source, and sets the design against the standards and established practice of distributed systems.


Stated as a research question: <strong>can one human, acting only as the visionary, direct a fleet of language-model agents to plan, keep coherent and build a large multi-repository portfolio, if the work is organised as a nested hierarchy of maximally abstract levels flowing from one written vision and built bottom-up in dependency waves?</strong> The pre-registration (<code>docs/PREREGISTRATION.md</code>) states the same claim. It also states that "not viable" is a valid and publishable answer.
=== 1.3 Research questions ===


=== 1.3 The paradigm in brief ===
The dissertation asks four questions.


The paradigm has three parts and one role. Chapters 3 to 5 state each part precisely. Here they are only named.
<strong>RQ1 (planning).</strong> Can a multi-product portfolio be written down from one vision as a nested hierarchy that meets checkable abstraction conditions, kept coherent by a fleet of agents, with the Visionary acting only at the source?


<strong>Nested-hierarchy abstraction</strong> (Chapter 3). The plan for each product is a tree with four working levels below the product and its milestones. Epics name outcomes, features capabilities, stories behaviours, and tasks the code changed in one agent session. The governing rule is that each level is as abstract as it can be. A level never names what lives below it, so an epic never mentions a file and a feature never names an endpoint. A parent's children together make the parent true, and siblings do not overlap. There are no bucket epics ("misc", "loose ends", "cleanup"). And no product re-implements a concern the platform already owns.
<strong>RQ2 (building).</strong> Can that plan then be built from its leaves up, with every file accounted for, the joints between parts built as membranes before their containers close, and the Visionary still acting only at the source?


<strong>Reverse traversal</strong> (Chapter 4). Planning runs down the tree and building runs back up it. Only leaves are worked. <code>requires</code> links between leaves, inside and across repositories, form one dependency graph for the whole portfolio. Layering that graph gives waves: wave 0 is every leaf with no open prerequisite, and each later wave is every leaf whose prerequisites all sit in earlier waves. Everything in one wave can be worked in parallel, on any login. Closing the last task closes its story, and so on up the tree. The result is the <em>waterfall</em>: every open leaf in the portfolio, in the order it can be built.
<strong>RQ3 (repair).</strong> Where the method falls short of its own pre-registered bars, are the failures detectable and repairable through the method's own channel (a ticket worked by an agent), without the Visionary's hands?


<strong>Single source</strong> (Chapter 5). Coherence across many repositories comes from one written vision, <code>docs/ECOSYSTEM.md</code>, and one owner per concern. Every repository's specification says where it sits in the vision and which platform repositories it relies on. A product that needs a capability the platform owns does not build its own; it files, or waits for, a story in the owning repository and <code>requires</code> it. Every ticket traces back to that one source. (The owner's instruction called this part "source to sea"; on the owner's direction the manuscript calls it <em>single source</em>, because the earlier phrase echoes a political slogan; DNHA-T32.)
<strong>RQ4 (refinement).</strong> What does applying the method force it to learn, and can those lessons be stated as general principles rather than as a list of local fixes?


<strong>The human at the source.</strong> The owner writes and changes the vision, chooses the order of milestones, makes the purchases and accounts only a person can make, and gives the sign-offs only a person can give. Everything below the source is agent work. When an agent cannot settle a question from the source, it takes the reading that best fits the vision, records the call for the owner, and keeps going. When work no longer fits the vision, it is closed. The owner's earlier ruling sets the default: "it's better to mark a ticket as won't do than to keep it in and implement a feature that isn't wanted anymore" (MAT-T360).
RQ1 and RQ2 are answered by two pre-registered evaluations, each with criteria and a verdict rule fixed before any result was written (Chapter 7). RQ3 is answered by the repair-and-re-measure provisions of both pre-registrations. RQ4 is answered by the distillation in Chapter 5. The extension of the method to the hardware (Chapter 6) is not among the questions: it is a design, stated with the measures that will test it, because the mesh it describes was designed after both studied periods.


=== 1.4 How the claim was tested ===
=== 1.4 The case ===


The study is a single-case study with an embedded reflexive case, designed and fixed in advance (Chapter 6). The case is the MindAttic portfolio, its owner and its agent fleet over 27 to 30 November 2026. In that period the portfolio's plan was rebuilt three times: a reset (MAT-T319), a consolidation that wrote every product down whole (MAT-T360), and a single-source pass that re-verified every tree against the abstraction rubric and the written vision (MAT-T462). The reflexive case is this manuscript. It was planned as a tree of its own (epics DNHA-T2 to DNHA-T6), each chapter a story claimed by an agent in the order its <code>requires</code> links set, with the owner acting only at the source. Seven criteria were committed before any results chapter was written. They cover coverage of the plan by its specifications (C1), abstraction conformance (C2), an acyclic, fully waved graph (C3), the share of the owner's instructions that are vision-level (C4), the share of agent jobs finished without the owner's hands (C5), the absence of unrecovered damage (C6), and the reflexivity of the manuscript's own making (C7). So was a rule turning them into a verdict. Measures C1 to C3 are computed mechanically from the ticket database, the specifications and the waterfall, by committed scripts. C4 to C6 are coded from the record. C7 is read from this manuscript's own ticket history.
The method was developed and evaluated on one portfolio: the MindAttic workspace, about one hundred repositories of applications, games, game modifications, libraries, tools, hardware guides and manuscripts under one owner, worked almost entirely by language-model agents, with a single ticket database holding about 20,000 tickets (Section 7.2). The owner of the portfolio played the Visionary. A long-running agent session played the orchestrating agent; agent sessions it started played the building and assembly agents; and the measurements were taken by read-only analyst agents working from the ticket store and the version history.
 
Two evaluations were run. <strong>Part I</strong> (27 to 30 November 2026) tested planning: three passes rebuilt the portfolio's plan, the last of which applied the hierarchy, the single source and the dependency waves to all active repositories, and seven criteria (C1 to C7) measured coverage, abstraction, traversability, the Visionary's place, agent autonomy, safety and the reflexivity of this manuscript's own making. <strong>Part II</strong> (30 November to 1 December 2026) tested building: repositories were taken in order of complexity and combed, membraned, built and recorded, and six criteria with bars (B1 to B6) and one descriptive measure (B7) were taken on the first ten repositories built.


=== 1.5 The answer in brief ===
=== 1.5 The answer in brief ===


Chapter 9 gives the answer in two parts, and this chapter states it exactly as Chapter 9 does.
The answers are stated here exactly as Chapter 8 reports them.
 
<strong>Part I, planning.</strong> At the first measurement the method was <strong>not viable</strong> under its pre-registered rule: coverage of the plan by its specifications was 93.6 per cent against a bar of 95, because specifications drifted behind a tree that other sessions kept extending; the dependency graph held one cycle that existed only when two levels of links were combined; and two safety incidents were not yet shown to be recovered. That is the primary result for planning. Every defect was then repaired through the method's own channel on the same day, and a second measurement, reported beside the first and never in its place, met six of the seven criteria, giving <strong>viable with conditions</strong>. The seventh, the reflexivity of this manuscript, is complete only with the Visionary's sign-off, which is still open.


<strong>Primary verdict: not viable.</strong> At the first measurement (DNHA-T24), C1, C3 and C6 were not met. Coverage was 93.6 per cent against a threshold of 95, because specifications had fallen behind tickets filed after they were written. The dependency graph held one cycle that existed only when two levels of links were combined. Two incidents were not yet recovered: work held in old autostash entries from the reset, and a file rewritten with the wrong line endings. By the pre-registered rule the paradigm, as first practised on this portfolio, was not viable. That is the dissertation's primary result, and nothing reported afterwards changes it.
<strong>Part II, building.</strong> At the primary measurement (P2) the method was <strong>not viable</strong> under its pre-registered rule. It met its bars for comb completeness (141 of 141 files accounted in all ten repositories), safety (no unrecovered incident in 63 commits) and autonomy (60 of 60 leaves, but by inference only, because the ticket store recorded no closer). It missed three: debt resolved (12 of 15, 80 per cent, against 90), membrane coverage (10 of 11 containers, against 100 per cent) and pyramid order (two containers closed before their membranes, against zero). A re-measure after repair, reported beside the first, repaired membrane coverage (11 of 11) but left debt unchanged and raised the pyramid-order count to four, because filing the missing membranes exposed two early roll-ups the missing membranes had masked. The verdict at the re-measure is still <strong>not viable</strong>.


<strong>Secondary verdict: viable with conditions, pending the owner's sign-off.</strong> Every defect the first measurement named was then repaired through the paradigm's own channel: a fix ticket, worked by an agent, within the same day and without the owner's hands (MAT-T478, MAD-T23). A second measurement (DNHA-T31), reported beside the first and never in its place, found C1, C2, C3, C4, C5 and C6 met. By the rule that gives "viable with conditions", the condition being C7, which depends on this manuscript being finished through its own tree. Chapter 9 settles C7 as far as it can be settled before the manuscript is complete. If this chapter, the ledger and the exports close as stories in wave order, and the owner signs off the manuscript, by accepting it or by returning it with vision-level direction that agents then carry out, C7 is met and the secondary verdict becomes "viable". If the owner's return directs the text itself, or the remaining work is done outside the tree, it stays "viable with conditions".
The data shows the causes. One installer defect, an installer that reported success when it had failed to replace the running tool, left the roll-up guard and the recording of closers uninstalled while the record said they were in force; it has since been fixed and verified. The build-up's own log, written by the system measured, missed both membrane-coverage gaps, which only the independent measurement found. The three open debts wait on decisions that belong to the Visionary. Two questions of reading were delegated by the Visionary to the orchestrating agent and decided before the re-measure: the pyramid-order bar stays strict, so the early roll-ups remain misses and this sample can never meet it; and membrane coverage is read as it was at the pilot.


Read together, the two verdicts answer two different questions. Asked whether the paradigm works when first applied, the evidence says it does not. Asked whether its failures can be detected and repaired from within it, the evidence says they can. The pre-registration chose the first as primary, and the manuscript keeps that choice. Chapter 9 adds the necessary caution: a system that measures itself and then repairs what its measure points at will improve on that measure faster than on what the measure does not see.
<strong>What works.</strong> The method's contribution does not rest on its unmet bars, and the dissertation does not argue them away. It rests on what the evaluation shows working: the comb accounted for every file in every repository of the sample; no safety incident was left unrecovered in Part II, nor in Part I once its repair was made; defects were found by reading code and by recorded joined runs that builds and tests had missed; and every repair the measurements called for went through the method's own channel, a ticket worked by an agent.


=== 1.6 Contributions ===
=== 1.6 Contributions ===


The dissertation makes six contributions.
The dissertation makes seven contributions.
 
# <strong>A statement of the paradigm</strong> precise enough to be checked (Chapters 3 to 5). The statement covers the levels as successive abstraction functions; the structural conditions of covering, disjoint siblings, no buckets and one owner per concern; the tree and the cross-repository <code>requires</code> graph as the object being planned; waves as the topological layering of that graph; and the written vision as the root every specification traces to.
# <strong>A reference implementation of its instruments.</strong> These are a waterfall generator that layers every open leaf in the portfolio into build waves, and a hierarchy lint that scores every open epic and feature against the rubric (<code>MindAttic.Agency/shared/waterfall/</code>). Chapter 4 includes a worked failure of the first: 173 reported cycles that did not exist, and the container rule that removed them.
# <strong>A pre-registered test</strong> of whether a human can stay at the source, with criteria and a verdict rule fixed before the evidence, and a dated note fixing which measurement is primary before any repair (<code>docs/PREREGISTRATION.md</code>; Chapter 6).
# <strong>A case study at portfolio scale.</strong> Three passes over 94 active repositories are measured against those criteria, and every incident is reported, including the ones the paradigm caused (Chapter 7).
# <strong>A reflexive case.</strong> This manuscript was built by the method it describes, so the record of its own making is part of the evidence. That record reaches a finding the pre-registration did not anticipate: a coordinating layer stands between the owner's words and the agents' briefs, and nothing measured it (Chapter 8).
# <strong>Eight requirements on practice</strong> that turn each unmet or weakly met part into filed work or a written rule (Chapter 9, Section 9.3). Specifications rendered from the tree (M.TIX-T535). Every ticket seated in the tree when it is filed (M.TIX-T538). Commit hooks that never block a commit holding no code (a rule in the agent standard). Every claim naming its agent (M.TIX-T536, M.TIX-T537). Abstraction judged rather than pattern-matched (MAT-T480). The coordinator audited against the source (MAT-T481). The owner's review of agents' product calls scheduled as visible work (MAT-T482). And, for any repetition of this study, an independent coder for C4. The second and seventh were filed after Chapter 9 was written; they are cited here and in the research notes for this chapter.
 
=== 1.7 Scope and limits, briefly ===
 
Chapter 9 sets out the limitations in full. Four shape how everything else should be read. This is one case: one owner, one portfolio, one family of models, four days, so the results are an existence proof or disproof for this configuration, not an estimate for others. The author is the system under study. The agents that wrote this manuscript also did the work it evaluates, and pre-registration, mechanical measures, raw data appendices and a verification ledger limit that conflict without removing it. The period measured the plan, not the products: it showed that the portfolio could be planned and kept coherent this way, not that the plan will be built. And the abstraction measure is coarse. A regular-expression lint can tell an epic that names a file from one that does not, but not a topic from an outcome, so C2's support rests on the record of renames more than on the pre-registered measure.
 
=== 1.8 The chapters ===


<strong>Chapter 2, Background</strong>, places the paradigm in the work it inherits from. It covers the waterfall and its critics, the work breakdown structure, stepwise refinement and levels of abstraction, agile epics and stories, hierarchical task networks, language-model agents and multi-agent software development, the human's place in automated work, and Conway's law. It ends with the gap this dissertation addresses.
# <strong>A definition of NHA as a method</strong> (Chapters 3 and 4): its roles, artefacts, hierarchy conditions, plan passes and building procedure, stated independently of any particular ticket system or agent platform, so that it can be applied and tested elsewhere.
# <strong>A hybrid with a structural rule for where agility belongs</strong> (Section 4.5): a plan-driven cascade with iterative work confined to two pivots, the membrane, which handles the joints the build surfaces, and change intake, which handles the changes the Visionary introduces, both scheduled by the plan's own dependency rule. The hybrid literature establishes that teams combine plan-driven and agile practice (Section 2.4.1); this dissertation proposes where in a plan the agile part goes.
# <strong>Eight principles</strong> (Chapter 5), distilled from 104 refinements recorded during the build-up, each with the failure it prevents and evidence from the case: claims are not evidence; the joint is a first-class unit of work; proof is a recorded run of the behaviour claimed; scope binds agents, not priority; a fix counts only once installed and observed; the machine is part of the build; every concern has one owner, and work moves to it; and what only the Visionary can decide is routed, never guessed or forced.
# <strong>Two pre-registered evaluations on a real portfolio</strong> (Chapters 7 and 8), with their unfavourable verdicts reported first and their causes traced in the data.
# <strong>Instruments</strong> for the method's checks (a dependency-wave generator, a hierarchy lint, a code ledger, a membrane finder, a plan check and a roll-up guard), described in general terms in Chapter 4 and as implemented in Chapter 7.
# <strong>A methodological finding about self-measuring systems</strong> (Sections 8.2 and 10.2): a record written by the system under study reports the failures it noticed and misses the ones it did not, and repairing one criterion can expose misses in another that the first had masked.
# <strong>The hardware as a level of the hierarchy</strong> (Chapter 6): a statement of the correspondence between the plan and the capacity that builds it, conditions on that correspondence (leaves meet leaves, exactly once, fit, composition, one source, and a plan that names no machine), and an account of how a design built on it conforms to, and deliberately departs from, the standards on architecture description, leases and fencing, partitions and consensus, zero trust and distributed scheduling. It is a design contribution; nothing in it is yet measured.


<strong>Chapter 3, The Nested Hierarchy</strong>, states the paradigm's first part formally: the levels, the abstraction rubric, the structural conditions, the <code>requires</code> graph as a partial order, what "most abstract" means and how it can be checked, and the model's limits.
=== 1.7 Limits, briefly ===


<strong>Chapter 4, Reverse Traversal</strong>, states the second: planning down and building up, what a requirement on a container means, the 173 false cycles as a worked failure, waves, asynchronous work inside a wave, the 80,000-token task as the unit at the bottom, roll-up closure, and failure modes.
Chapter 10 sets out the threats to validity in full. Five shape how everything else should be read. This is one case: one Visionary, one portfolio, one family of models, over days. The orchestrating agent that ran the work is part of the system measured. Every agent and the Visionary shared one login, so the record cannot by itself separate an agent's action from the Visionary's, which is why autonomy is inferred. Accounting for files relies on version history and ticket references as well as on reading. And Part II's sample is the ten simplest repositories; the four largest products, pinned to the end of the build order, have not been reached. Both evaluations ran on one machine; the extension of the method to many machines (Chapter 6) is a design, described with what will be measured, not a result.


<strong>Chapter 5, Single Source</strong>, states the third: the written vision, one owner per concern, the credential case as the motivating example, why a product requires rather than re-implements, the human at the source, and the relation to Conway's law and platform teams.
=== 1.8 Structure of the dissertation ===


<strong>Chapter 6, Method</strong>, sets out the case-study design, the data sources, the measures for C1 to C7 with the choices fixed before they were computed, the analysis, and the threats to validity.
Chapter 2 reviews the work NHA inherits from: the waterfall and the work breakdown structure, stepwise refinement and levels of abstraction, agile and hybrid processes, hierarchical planning, language-model agents, the human's place in automated work and Conway's law. Chapters 3 and 4 define the method, planning down and building up. Chapter 5 states its principles. Chapter 6 extends the hierarchy from the code to the hardware, mapping the method's levels onto a mesh of machines and placing that design against the relevant standards. Chapter 7 describes the case and the two pre-registered evaluation designs. Chapter 8 reports the results of both. Chapter 9 discusses what they show about the method's central claim, and Chapter 10 sets out the threats to validity. Chapter 11 concludes and states the remaining work. Appendix A is the source verification ledger; Appendix B holds the Part I measurement data; Appendix C summarises the Part II data and maps every refinement to the principle that absorbs it. The raw build-up log and the Part II measurement reports are supplementary data, cited by entry.
 
<strong>Chapter 7, Results</strong>, reports the three passes, measurement 1 and its primary verdict, the repair and measurement 2, every incident in the period, and what the agents decided on their own and what the owner actually did.
 
<strong>Chapter 8, The Reflexive Case</strong>, reads this manuscript's own making as a case of the paradigm: its source, its tree, the order in which agents wrote and closed its chapters, what changed during the run, who did what, and C7 so far.
 
<strong>Chapter 9, Discussion, Limitations and Verdict</strong>, weighs each part of the paradigm against the evidence, applies the verdict rule, settles C7 as far as it can be settled, states the conditions as requirements on practice, sets out the limitations, and names the findings that would falsify the paradigm.
 
Appendix A is the verification ledger, which records how far each cited source was verified. Appendix B holds the raw data behind every measure.
 
=== 1.9 A note on authorship ===
 
The owner set the question, approved the method by asking for it, and is the one reader whose sign-off finishes the manuscript. Everything else in the text was written by language-model agents, one chapter per agent, in the order the manuscript's own plan set. Chapter 8 records who did what as far as the record allows, and notes where it does not: every agent ran under one login and one git author, which is why "every claim names its agent" appears among the requirements. The chapter that follows begins where any account of a new method should: with what it inherits.


== Chapter 2 — Background ==
== Chapter 2 — Background ==
Line 144: Line 207:
=== 2.1 What this chapter has to establish ===
=== 2.1 What this chapter has to establish ===


The paradigm this dissertation examines makes three claims about how a single person can direct a fleet of language-model agents. The first is that work should be held as a nested hierarchy in which each level is as abstract as it can be: outcomes at the top, then capabilities, then behaviours, then pieces of code. The second is that the hierarchy should be planned from the top down, from one written vision (the "source"), and built from the bottom up, in waves set by explicit dependencies (the "reverse traversal"). The third is that the human's place in such a system is at the source, as the person who holds the vision and gives the sign-offs only a person can give, rather than as a developer working alongside the agents.
The method this dissertation defines, Nested Hierarchy Abstraction (NHA), makes four claims about how a single person can direct a fleet of language-model agents. The first is that work should be held as a nested hierarchy in which each level is as abstract as it can be: outcomes at the top, then capabilities, then behaviours, then pieces of code. The second is that the hierarchy should be planned from the top down, from one written vision (the single source), and built from the bottom up, in waves set by explicit dependencies. The third is that most of that building can proceed as a plan-driven cascade, with iterative, discovery-driven work confined to the joints between finished parts (the membranes). The fourth is that the human's place in such a system is at the source, as the Visionary who holds the vision and gives the sign-offs only a person can give, rather than as a developer working alongside the agents.


None of these ideas is new on its own. Hierarchical decomposition is one of the oldest ideas in software engineering and in artificial intelligence; agile practice has its epics and stories; the waterfall model has been criticised for half a century; and the recent literature on language-model agents is largely a literature about decomposing tasks. The purpose of this chapter is therefore not to claim novelty for the parts. It is to set out what each body of work actually says, so that later chapters can say precisely which of its findings the paradigm inherits, which it changes, and what it adds. Six strands are reviewed: the waterfall model and the work breakdown structure (Section 2.2); stepwise refinement and levels of abstraction (Section 2.3); agile epics, features and stories (Section 2.4); hierarchical task network planning (Section 2.5); language-model agents and multi-agent software development (Section 2.6); and the place of the human in automated systems, together with Conway's law (Sections 2.7 and 2.8). Section 2.9 sets out what the paradigm takes from each strand, and Section 2.10 states the gap.
None of these ideas is new on its own. Hierarchical decomposition is one of the oldest ideas in software engineering and in artificial intelligence; agile practice has its epics and stories; the waterfall model has been criticised for half a century, and practitioners have long combined it with agile practice; and the recent literature on language-model agents is largely a literature about decomposing tasks. The purpose of this chapter is therefore not to claim novelty for the parts. It is to set out what each body of work actually says, so that later chapters can say precisely which of its findings the method inherits, which it changes, and what it adds. Six strands are reviewed: the waterfall model and the work breakdown structure (Section 2.2); stepwise refinement and levels of abstraction (Section 2.3); agile epics, features and stories, and the hybrid processes that combine agile and plan-driven practice (Section 2.4); hierarchical task network planning (Section 2.5); language-model agents and multi-agent software development (Section 2.6); and the place of the human in automated systems, together with Conway's law (Sections 2.7 and 2.8). Section 2.9 sets out what the method takes from each strand, and Section 2.10 states the gap.


A word on method. The manuscript follows the rule set out for this series of dissertations: no work is cited as if it had been checked unless it was. Each source below was opened in the research pass of 30 November 2026, and the level at which it was verified (full text, the relevant sections, or only the abstract or publisher page) is recorded in the research notes for this chapter and, in consolidated form, in Appendix 90. Where a claim rests only on an abstract, the text says so or confines itself to what an abstract can establish. Several standard works that would normally be cited here were not read in this pass, and are named as such in Section 2.10 rather than cited.
A word on method. The manuscript follows the rule set out for this series of dissertations: no work is cited as if it had been checked unless it was. Each source below was opened in the research pass of 30 November 2026, and the level at which it was verified (full text, the relevant sections, or only the abstract or publisher page) is recorded in the research notes for this chapter and, in consolidated form, in Appendix 90. Where a claim rests only on an abstract, the text says so or confines itself to what an abstract can establish. Several standard works that would normally be cited here were not read in this pass, and are named as such in Section 2.10 rather than cited.
Line 182: Line 245:
Two parts of Dijkstra's account bear on this dissertation. The first is the principle that a level should not mention what lies below it: storage pages "disappear from the picture" above level 1. The abstraction rubric of Chapter 3 states the same condition for planning artefacts, requiring that a feature never name the files or classes its tasks will touch. The second is the way the system was verified. "Starting at level 0 the system has been tested, each time adding (a portion of) the next level only after the previous level has been thoroughly tested", and the hierarchy is what made this feasible: had the levels not been separated, "the number of 'relevant states' would have exploded to such a height that exhaustive testing would have been an illusion" (Dijkstra, 1968). The paradigm's reverse traversal, in which leaves are built and closed first and each container closes only when its last child does, is the same discipline applied to construction rather than testing. Dijkstra draws the general lesson in his conclusions. A general-purpose mechanism cannot be tested on all possible cases, only on "a set of relevant test cases", and what is relevant "cannot be decided as long as one regards the mechanism as a black box". It therefore "seems the designer's responsibility to construct his mechanism in such a way — i.e. so highly structured — that at each stage of the testing procedure the number of relevant test cases is so small that he can try them all and that what is being tested is so perspicuous that it is clear that he has not overlooked a situation" (Dijkstra, 1968). The analogue for a hierarchy of work is a structure in which each container can be judged complete by inspecting a small number of children, each of which is itself small enough to be judged. That is what the paradigm's size bounds (two to six features per epic, one to six stories per feature) are meant to secure.
Two parts of Dijkstra's account bear on this dissertation. The first is the principle that a level should not mention what lies below it: storage pages "disappear from the picture" above level 1. The abstraction rubric of Chapter 3 states the same condition for planning artefacts, requiring that a feature never name the files or classes its tasks will touch. The second is the way the system was verified. "Starting at level 0 the system has been tested, each time adding (a portion of) the next level only after the previous level has been thoroughly tested", and the hierarchy is what made this feasible: had the levels not been separated, "the number of 'relevant states' would have exploded to such a height that exhaustive testing would have been an illusion" (Dijkstra, 1968). The paradigm's reverse traversal, in which leaves are built and closed first and each container closes only when its last child does, is the same discipline applied to construction rather than testing. Dijkstra draws the general lesson in his conclusions. A general-purpose mechanism cannot be tested on all possible cases, only on "a set of relevant test cases", and what is relevant "cannot be decided as long as one regards the mechanism as a black box". It therefore "seems the designer's responsibility to construct his mechanism in such a way — i.e. so highly structured — that at each stage of the testing procedure the number of relevant test cases is so small that he can try them all and that what is being tested is so perspicuous that it is clear that he has not overlooked a situation" (Dijkstra, 1968). The analogue for a hierarchy of work is a structure in which each container can be judged complete by inspecting a small number of children, each of which is itself small enough to be judged. That is what the paradigm's size bounds (two to six features per epic, one to six stories per feature) are meant to secure.


Two other remarks in the paper anticipate concerns of this dissertation. Among the three guiding principles the Eindhoven group set itself, the first was to "hold out against all pressure to incorporate such system expansions that would only result into a purely quantitative increase of the total amount of work to be done". The paradigm's preference for closing a ticket as "won't do" over building a feature no longer wanted, and its requirement that every new idea enter the written specification before it enters the queue, are versions of the same defence against scope that grows without anyone deciding it should. Dijkstra also records that "reprogramming on account of a change of specifications has been rare, a circumstance that must have contributed greatly to the feasibility" of the method. A stable specification, in other words, was a precondition of the bottom-up discipline working. The paradigm's equivalent precondition is a vision document that changes rarely and deliberately, and Chapter 7 reports how often the specifications in the case study had to change.
Two other remarks in the paper anticipate concerns of this dissertation. Among the three guiding principles the Eindhoven group set itself, the first was to "hold out against all pressure to incorporate such system expansions that would only result into a purely quantitative increase of the total amount of work to be done". The paradigm's preference for closing a ticket as "won't do" over building a feature no longer wanted, and its requirement that every new idea enter the written specification before it enters the queue, are versions of the same defence against scope that grows without anyone deciding it should. Dijkstra also records that "reprogramming on account of a change of specifications has been rare, a circumstance that must have contributed greatly to the feasibility" of the method. A stable specification, in other words, was a precondition of the bottom-up discipline working. The method's equivalent precondition is a vision document that changes rarely and deliberately, and Section 8.1.1 reports how often the specifications in the case study had to change.


Dijkstra's paper also describes the co-operating processes as a "harmonious society" whose co-operation "can be established by discrete reasoning" independently of how many processors carry it out. That is an unusually close precedent for the claim, examined in Chapter 4, that an explicit dependency structure lets an arbitrary number of agents build in parallel without changing what is built.
Dijkstra's paper also describes the co-operating processes as a "harmonious society" whose co-operation "can be established by discrete reasoning" independently of how many processors carry it out. That is an unusually close precedent for the claim, stated in Chapter 4, that an explicit dependency structure lets an arbitrary number of agents build in parallel without changing what is built.


==== 2.3.3 Parnas: decomposition by hidden decisions ====
==== 2.3.3 Parnas: decomposition by hidden decisions ====
Line 200: Line 263:
The Scrum Guide places the content of this hierarchy in the hands of one accountable person. The Product Owner "is accountable for maximizing the value of the product", which "includes: Developing and explicitly communicating the Product Goal; Creating and clearly communicating Product Backlog items; Ordering Product Backlog items; and, Ensuring that the Product Backlog is transparent, visible and understood". The Product Goal "is the long-term objective for the Scrum Team. They must fulfill (or abandon) one objective before taking on the next" (Schwaber & Sutherland, 2020).
The Scrum Guide places the content of this hierarchy in the hands of one accountable person. The Product Owner "is accountable for maximizing the value of the product", which "includes: Developing and explicitly communicating the Product Goal; Creating and clearly communicating Product Backlog items; Ordering Product Backlog items; and, Ensuring that the Product Backlog is transparent, visible and understood". The Product Goal "is the long-term objective for the Scrum Team. They must fulfill (or abandon) one objective before taking on the next" (Schwaber & Sutherland, 2020).


Three observations connect this practice to the paradigm. The first is that the agile hierarchy is defined largely by size: an epic is a large story, and a story is split when it is too big. The paradigm instead defines each level by the kind of thing it names (an outcome, a capability, a behaviour, a code change), which is closer to Dijkstra's levels than to a size scale. The second is that INVEST's "independent" and the paradigm's "disjoint siblings" are the same requirement, and Wake's concession that independence cannot always be achieved is answered in the paradigm by making the residual dependencies explicit as links, so that a scheduler can order them. The third is that the Product Owner's accountabilities, stating the goal and ordering the backlog while others do the work, are almost exactly the role the paradigm assigns to the human visionary. The difference is in who the "others" are, and in how much must therefore be written down. A human development team can carry the conversation that a story card is a reminder of. A fleet of agents that start each session without memory cannot, so the conversation has to live in the written specification. That is one place where the paradigm sides with Royce against the agile preference for conversation over documents.
Three observations connect this practice to the paradigm. The first is that the agile hierarchy is defined largely by size: an epic is a large story, and a story is split when it is too big. The paradigm instead defines each level by the kind of thing it names (an outcome, a capability, a behaviour, a code change), which is closer to Dijkstra's levels than to a size scale. The second is that INVEST's "independent" and the paradigm's "disjoint siblings" are the same requirement, and Wake's concession that independence cannot always be achieved is answered in the paradigm by making the residual dependencies explicit as links, so that a scheduler can order them. The third is that the Product Owner's accountabilities, stating the goal and ordering the backlog while others do the work, are almost exactly the role the method assigns to the Visionary. The difference is in who the "others" are, and in how much must therefore be written down. A human development team can carry the conversation that a story card is a reminder of. A fleet of agents that start each session without memory cannot, so the conversation has to live in the written specification. That is one place where the paradigm sides with Royce against the agile preference for conversation over documents.
 
==== 2.4.1 Between the waterfall and agile: hybrid processes ====
 
The opposition between plan-driven and agile development is sharper in argument than in practice. Boehm and Turner argued that both kinds of approach "have situation-dependent shortcomings" and that "the challenge is to balance the two approaches to take advantage of their strengths", proposing a risk-based way of deciding, project by project, how much of each to use (Boehm & Turner, 2003; abstract, read from a catalogue record). Empirical work since then has found the balance struck routinely, and in a particular shape. A survey of 69 practitioners on how development approaches are combined found that most combinations use a traditional process model as the framework, with fine-grained agile practices added inside it, and that such hybrids arise from experience and pragmatism rather than from company size or external triggers (Kuhrmann et al., 2017; abstract summary from the authors' institutional repository). An international survey with 732 data points reported that "76.8% of the companies implement hybrid methods" (Klünder et al., 2019, abstract). A later study of 556 data points found that "only a small number of participants operate their projects in a purely traditional or agile manner (under 15%)", that agility "cannot be defined solely at the process level", and that processes mutate into hybrids over time (Kuhrmann et al., 2022, abstract).
 
These studies establish that hybrid development is the common case for human teams, and they describe its usual shape: a plan-driven frame with agile practice inside. What they do not supply, in the abstracts read, is a rule for <em>where</em> in a plan the agile work belongs, or a mechanism that keeps the iterative part from leaking back into the plan. NHA proposes one answer: the plan-driven frame holds everything above the leaves and the order of the leaves, and agile, iterative work is confined to one structurally defined place, the joint between sibling parts of one container, scheduled by the same dependency rule as everything else (Chapter 4, Section 4.5). Whether that confinement holds is part of what Chapter 8 reports.


=== 2.5 Hierarchical planning in artificial intelligence ===
=== 2.5 Hierarchical planning in artificial intelligence ===
Line 232: Line 301:
Royce's fifth step, involving the customer formally at defined points, and the Scrum Product Owner's accountability for the goal and the ordering of the backlog, are two answers to the question of where a non-developer belongs in development. The literature on human-centred artificial intelligence offers a third framing. Shneiderman argues that "well-designed technologies that offer high levels of human control and high levels of computer automation can increase human performance", and his framework aims to clarify "how to (1) design for high levels of human control and high levels of computer automation", "(2) understand the situations in which full human control or full computer control are necessary, and (3) avoid the dangers of excessive human control or excessive computer control" (Shneiderman, 2020, abstract). The central move is to treat control and automation as two dimensions rather than opposite ends of one scale.
Royce's fifth step, involving the customer formally at defined points, and the Scrum Product Owner's accountability for the goal and the ordering of the backlog, are two answers to the question of where a non-developer belongs in development. The literature on human-centred artificial intelligence offers a third framing. Shneiderman argues that "well-designed technologies that offer high levels of human control and high levels of computer automation can increase human performance", and his framework aims to clarify "how to (1) design for high levels of human control and high levels of computer automation", "(2) understand the situations in which full human control or full computer control are necessary, and (3) avoid the dangers of excessive human control or excessive computer control" (Shneiderman, 2020, abstract). The central move is to treat control and automation as two dimensions rather than opposite ends of one scale.


The paradigm can be read as a specific proposal about where on those two dimensions a software studio should sit. Automation is high at every level below the source: agents decompose, plan, write, verify and close the work. Control is concentrated at the source rather than spread through the work: the human writes and revises the vision and the specifications, orders the milestones, and gives the sign-offs, purchases and account actions that only a person can. Whether that concentration still amounts to high control, or whether it merely relocates the human to a position from which drift below goes unseen, is the empirical question that criterion C4 of the pre-registration (Chapter 6) is designed to test.
The paradigm can be read as a specific proposal about where on those two dimensions a software studio should sit. Automation is high at every level below the source: agents decompose, plan, write, verify and close the work. Control is concentrated at the source rather than spread through the work: the Visionary writes and revises the vision, orders the milestones, and gives the sign-offs, purchases and account actions that only a person can. Whether that concentration still amounts to high control, or whether it merely relocates the human to a position from which drift below goes unseen, is the empirical question that criteria C4 and C5 of the first pre-registration and B5 of the second (Chapter 7) are designed to test.


=== 2.8 Conway's law ===
=== 2.8 Conway's law ===
Line 240: Line 309:
For an organisation made of agents the thesis can be read in either direction. If agents communicate only through the ticket tree and the written specifications, Conway's law predicts that the system they build will mirror that tree, so the structure of the tree is a design decision about the product, not merely a scheduling aid. This is the strongest argument for the paradigm's insistence that the hierarchy be organised around outcomes and capabilities, and that every platform concern have exactly one owning repository. A tree organised around phases or around whichever agent happened to file a ticket would, on Conway's thesis, produce a system organised the same way. Conway's remark about flexibility also bears on the paradigm. An agent organisation can be restructured far more cheaply than a human one, so the cost that made his recommendation hard to follow in 1968 is much lower here. That cheapness has a corresponding risk: an agent organisation can also drift into a new structure without anyone deciding that it should.
For an organisation made of agents the thesis can be read in either direction. If agents communicate only through the ticket tree and the written specifications, Conway's law predicts that the system they build will mirror that tree, so the structure of the tree is a design decision about the product, not merely a scheduling aid. This is the strongest argument for the paradigm's insistence that the hierarchy be organised around outcomes and capabilities, and that every platform concern have exactly one owning repository. A tree organised around phases or around whichever agent happened to file a ticket would, on Conway's thesis, produce a system organised the same way. Conway's remark about flexibility also bears on the paradigm. An agent organisation can be restructured far more cheaply than a human one, so the cost that made his recommendation hard to follow in 1968 is much lower here. That cheapness has a corresponding risk: an agent organisation can also drift into a new structure without anyone deciding that it should.


=== 2.9 What the paradigm inherits ===
=== 2.9 What the method inherits ===


Table 2.1 sets the strands side by side. Its purpose is to make the later chapters' borrowings traceable: each element of the paradigm in the right-hand column is stated formally in Chapters 3 to 5, and each is meant to be recognisable as a descendant of the idea in the middle column, not an invention.
Table 2.1 sets the strands side by side, so that each element of NHA in the right-hand column can be traced to an idea in the middle column rather than presented as an invention. Chapters 3 and 4 state each element formally.


{| class="wikitable"
{| class="wikitable"
! Strand
! Strand
! Idea taken from the source
! Idea taken from the source
! Element of the paradigm
! Element of NHA
|-
|-
| Royce (1970)
| Royce (1970)
| The whole system written down before it is built; one person who understands the whole; the customer committed at defined points
| The whole system written down before it is built; one person who understands the whole; the customer committed at defined points
| Every repository's complete written specification; the owner at the source, giving sign-offs at milestones
| The complete specification of every product; the Visionary at the source, signing off milestones
|-
|-
| NASA (2021)
| NASA (2021)
| A product-oriented tree that holds all of the work; phase-oriented trees are unsuitable
| A product-oriented tree that holds all of the work; phase-oriented trees are unsuitable
| Coverage of each parent by its children; epics named for outcomes, not activities; no bucket epics
| Covering; epics named for outcomes, not activities; no bucket epics
|-
|-
| Wirth (1971)
| Wirth (1971)
Line 263: Line 332:
| Dijkstra (1968)
| Dijkstra (1968)
| Levels that hide what lies below; verification from level 0 upward; resistance to merely quantitative expansion
| Levels that hide what lies below; verification from level 0 upward; resistance to merely quantitative expansion
| A level never names what lies below it; reverse traversal from leaf tasks upward; won't-do as the default for unwanted work
| The vocabulary condition; building from the leaves up, tier by tier; won't-do as the default for unwanted work
|-
|-
| Parnas (1972)
| Parnas (1972)
| Boundaries drawn around hidden design decisions, not processing steps
| Boundaries drawn around hidden design decisions, not processing steps
| One owner per platform concern; features as capabilities that change independently
| One owner per shared concern; features as capabilities that change independently
|-
|-
| Agile practice (Beck et al., 2001; Wake, 2003; Schwaber & Sutherland, 2020; Mountain Goat Software, n.d.)
| Agile practice (Beck et al., 2001; Wake, 2003; Schwaber & Sutherland, 2020; Mountain Goat Software, n.d.)
| The story as a user-visible behaviour; independent stories; one accountable owner of the goal and its ordering
| The story as a user-visible behaviour; independent stories; one accountable owner of the goal and its ordering; working software as the measure of progress
| Stories with acceptance lines; disjoint siblings with residual dependencies made explicit; the visionary's role
| Stories with acceptance; disjoint siblings with residual dependencies made explicit; the Visionary's role; the membrane's recorded run
|-
| Hybrid processes (Boehm & Turner, 2003; Kuhrmann et al., 2017; Klünder et al., 2019; Kuhrmann et al., 2022)
| Plan-driven and agile practice combined, usually as a plan-driven frame with agile practice inside
| A plan-driven cascade with agile work confined to the joints
|-
|-
| HTN planning (Sacerdoti, 1975; Erol, Hendler & Nau, 1994)
| HTN planning (Sacerdoti, 1975; Erol, Hendler & Nau, 1994)
| Plans as partial orders; decomposition by methods; interactions between non-primitive tasks as the source of difficulty
| Plans as partial orders; decomposition by methods; interactions between non-primitive tasks as the source of difficulty
| The tree as what must be done and the waves as one admissible order; overlap between containers treated as a defect
| The tree as what must be done and the waves as one admissible order; overlap between containers treated as a defect; interactions placed in membranes
|-
| Technical debt and traceability (Cunningham, 1992; Kruchten, Nord & Ozkaya, 2012; Gotel & Finkelstein, 1994)
| Unconsolidated code as debt that must be repaid; following a requirement through refinement and iteration
| The comb, which makes debt enumerable; the membrane's run as a trace from a container's acceptance to evidence
|-
|-
| Agent literature (Section 2.6)
| Agent literature (Section 2.6)
| Agents that plan and act; roles and phases for development; issue-sized units of agent work
| Agents that plan and act; roles and phases for development; issue-sized units of agent work
| Leaf tasks sized to one agent session; but decomposition by product, persisting across runs and repositories
| Leaves sized to one agent session; but decomposition by product, persisting across runs and work units
|-
|-
| Shneiderman (2020)
| Shneiderman (2020)
Line 287: Line 364:
| Conway (1968)
| Conway (1968)
| Systems mirror the communication structure of the organisation that builds them
| Systems mirror the communication structure of the organisation that builds them
| The tree's structure treated as a design decision about the product; one written vision shared by every agent
| Agents bound to scopes and communicating through the tree and handoffs; one written vision shared by every agent
|}
|}


The table also shows where the paradigm departs from its sources. It departs from the agile strand in requiring the conversation behind each story to be written down, because the "team" does not remember. It departs from ChatDev and MetaGPT in decomposing by product rather than by phase or role. And it departs from Royce in one important respect. Royce's specification was written by people for people, at a cost large enough that he had to argue for it. Here the specification is written largely by the agents themselves, from the owner's vision and the existing code, at a cost low enough that the whole product can be put on paper at the outset. Whether that changes the economics that made the naive waterfall fail is one of the questions the case study is meant to inform.
The table also shows where NHA departs from its sources. It departs from the agile strand in requiring the conversation behind each story to be written down, because the "team" does not remember. It departs from ChatDev and MetaGPT in decomposing by product rather than by phase or role. It departs from the hybrid practice the surveys describe in placing the agile part at a structurally defined point, the joint, rather than leaving the mix to each team. And it departs from Royce in one important respect. Royce's specification was written by people for people, at a cost large enough that he had to argue for it. Here the specification is written largely by agents, from the Visionary's vision and the existing code, at a cost low enough that the whole product can be put on paper at the outset. Whether that changes the economics that made the naive waterfall fail is one of the questions the evaluation is meant to inform.


=== 2.10 The gap ===
=== 2.10 The gap ===


The literature reviewed above supplies most of the parts of the paradigm. The waterfall, read as Royce wrote it, supplies the written specification of the whole system before construction, and the placing of one person where the whole is understood. The work breakdown structure supplies coverage and product orientation. Wirth supplies refinement down to the facilities of the executing machine, with explicit design decisions at each step; Dijkstra supplies levels that hide what is below them and verification from the bottom up; Parnas supplies the criterion for drawing boundaries. Agile practice supplies the story as a unit of user-visible behaviour, the requirement that siblings be independent, and a role, the Product Owner, very like the visionary. Hierarchical planning supplies a formal account of decomposition and of why interactions between parts are where the difficulty lies. The agent literature shows that language-model agents can be organised into roles and phases and can resolve real issues in real repositories. The human-centred literature frames the human's position as a choice on two dimensions, and Conway explains why the structure of the work becomes the structure of the product.
The literature reviewed above supplies most of the parts of NHA. The waterfall, read as Royce wrote it, supplies the written specification of the whole system and one person where the whole is understood. The work breakdown structure supplies coverage and product orientation. Wirth, Dijkstra and Parnas supply refinement to the facilities of the executing machine, levels that hide what is below them, verification from the bottom up, and the criterion for drawing boundaries. Agile practice supplies the story, independent siblings and an accountable owner of the goal; the hybrid literature shows that plan-driven and agile practice are routinely combined. Hierarchical planning explains why interactions between parts are where the difficulty lies. The agent literature shows that agents can be organised into roles and can resolve real issues in real repositories, and the human-centred literature frames the human's position as a choice on two dimensions.
 
What is missing is the combination of these parts in the setting that language-model fleets have recently made possible: one person directing many agents across many long-lived products. Five specific gaps follow.
 
First, the multi-agent development frameworks decompose a single run of a single program by phase or role. None, among those reviewed, keeps a persistent product-oriented hierarchy across many work units that independent agent sessions draw work from over time, nor states what keeps such a hierarchy coherent.
 
Second, the hierarchies of agile practice are defined largely by size, and the abstraction properties that Dijkstra and Parnas state for code have not, in the sources reviewed, been stated as checkable rules for planning artefacts. Chapter 3 states them.
 
Third, the hybrid literature establishes that teams combine plan-driven and agile practice, but the sources read do not say where in a plan the agile part belongs or how it is kept from eroding the plan. Chapter 4 proposes a structural answer, the membrane, and Chapter 8 reports what one evaluation can say about it.
 
Fourth, the bottom-up discipline that Dijkstra used for verification has not been examined, in these sources, as a construction schedule for an agent fleet, together with an accounting of every existing file against the plan and a rule for when a container may close. Chapter 4 describes all three.
 
Fifth, the position of the human in such a system has been argued for (by Royce, by the Scrum Guide and by Shneiderman) but not measured. No study among those reviewed sets out in advance criteria by which a "human as Visionary" arrangement could be judged to have worked or failed, and then applies them. Chapters 7 and 8 do so for one portfolio, for planning and then for building.
 
The literature on architecture description, distributed coordination, consistency under partition, zero-trust networking and distributed scheduling, on which Chapter 6 draws to place the method's extension to the hardware, is reviewed in that chapter where it is used, not here.
 
This review is limited in ways that later chapters must respect. Several works that a fuller review would include were not read in this pass and are therefore not cited: the Project Management Institute's practice standard for work breakdown structures; book-length treatments of user stories, including Cohn's; Brooks's essays on software project management, beyond the one cited in Chapter 11; the requirements-engineering literature on goal models; the walking-skeleton practice associated with Cockburn, whose primary sources were not opened; the published versions of the hybrid-process studies, which were read only at the level of their abstracts; and the large and fast-moving literature on agent evaluation published since the systematic review cited above. Each of these may qualify the gaps stated here. The claim of this section is accordingly limited to the sources listed in Appendix A: among them, the combination described above has not been stated or tested.
 
== Chapter 3 — Nested Hierarchy Abstraction, Planning Down ==
 
This chapter and the next define Nested Hierarchy Abstraction (NHA) as a method, independently of any one set of tools. This chapter covers the half that runs from the vision down: the roles, the artefacts, the hierarchy and the conditions that make it well formed, and the passes that reason about the plan before anything is built on it. Chapter 4 covers the half that runs from the leaves up, including the membrane, the method's agile joint. Chapter 5 states the principles that govern both halves, and Chapter 6 extends the hierarchy from the work to the hardware that does it. The instantiation in which the method was measured, with its particular ticket system, agents and repositories, is described only in Chapter 7, and the concepts below are deliberately stated in terms of roles and artefacts ("a ticket system", "the vision document", "an orchestrating agent") so that they can be carried to another setting.
 
=== 3.1 The method in one page ===


What is missing is the combination of these parts in the setting that language-model fleets have recently made possible: one person directing many agents across many long-lived products. Four specific gaps follow.
NHA rests on one observation and one bet. The observation is that a fleet of language-model agents can carry out almost any well-specified unit of software work, but keeps nothing between sessions except what is written down, and does what its brief says rather than what its author meant (Chapter 1). The bet is that, if the whole product is written down once as a hierarchy of maximally abstract descriptions flowing from one vision, most of the work can then be executed as a plan-driven cascade by agents, and the human can stay at the top, as the <em>Visionary</em>, rather than descend into the code.


First, the multi-agent development frameworks decompose a single run of a single program by phase or role. None, among those reviewed, keeps a persistent product-oriented hierarchy across many repositories that independent agent sessions draw work from over time, nor states what keeps such a hierarchy coherent.
The method has two directions. <strong>Vision down</strong>: the Visionary writes the vision once; each product's specification states the whole finished product; the specification is mirrored one to one in a tree of epics, features, stories and tasks; and the plan is reasoned about (its design, its gaps, its completeness) before it is built on. <strong>Build up</strong>: work units are taken in order of increasing complexity; within each, every piece of existing code is accounted for against the tree; the leaves are built in dependency waves; and the joints between finished sibling parts, the <em>membranes</em>, are built and proven last, tier by tier, so that each container closes on evidence that its parts work as one.


Second, the hierarchies of agile practice are defined largely by size, and the abstraction properties that Dijkstra and Parnas state for code have not, in the sources reviewed, been stated as checkable rules for planning artefacts. That would mean what each level may and may not name, when siblings overlap, and when a container is a mere bucket. Chapter 3 states them.
The method's central claim is about the relation between those two directions. The descending plan is a waterfall in the strict sense: the whole product is on paper before it is built, and most of the building follows the paper. But no plan written in advance names every joint between its parts. NHA therefore pivots to iterative, discovery-driven work at two places only, and does so without abandoning the cascade. The first is the joint: a joint discovered during building becomes a membrane ticket that requires the parts it joins, so it is scheduled after them by the same dependency rule that orders everything else. The second is change: a change the Visionary introduces mid-build stops the affected work, is placed against the vision (and returned to the Visionary as one precise question if it conflicts), is decomposed into the plan's own units with the gaps it reveals filed as tickets, and the build resumes from where it left off. The bulk of each epic is plan-driven; the gaps that neither the plan nor the coding flow had surfaced, and the changes the Visionary adds, are handled as they arrive. Sections 4.5 and 4.6 develop this claim, and Chapters 8 and 9 test what can be tested of it.


Third, the bottom-up discipline that Dijkstra used for verification has not been examined, in these sources, as a construction schedule for an agent fleet: a cross-repository dependency graph layered into waves that can run in parallel, with containers closing as their last child closes. Chapter 4 describes it.
=== 3.2 Roles ===


Fourth, the position of the human in such a system has been argued for (by Royce, by the Scrum Guide and by Shneiderman) but not measured. No study among those reviewed sets out, in advance, criteria by which a "human as visionary" arrangement could be judged to have worked or failed, and then applies them. Chapters 6 to 9 do so on one portfolio and on the making of this manuscript.
NHA distinguishes four roles. They are roles, not people or programs: one person or one agent session may hold more than one, and the evaluation in Chapter 7 records which actor held which role in the case.


This review is limited in ways that later chapters must respect. Several works that a fuller review would include were not read in this pass and are therefore not cited: the Project Management Institute's practice standard for work breakdown structures; book-length treatments of user stories, including Cohn's; Brooks's essays on software project management, beyond the two cited at their recorded levels in Chapters 4 and 5; the requirements-engineering literature on goal models; and the large and fast-moving literature on agent evaluation published since the systematic review cited above. Each of these may qualify the gaps stated here. The claim of this section is accordingly limited to the sources listed in Appendix 90: among them, the combination described above has not been stated or tested.
<strong>The Visionary.</strong> The Visionary is the architect in charge of the finished product, epic or feature, and the one human the method keeps in the loop. The Visionary owns the vision document, the single source from which every plan descends, and is its only editor. The Visionary signs off what the method routes to a person: milestones and their acceptance; decisions the plan cannot settle from the source, such as whether to fold a single-feature epic into its feature or to plan it further, or when to move a shared dependency to a new version; purchases, accounts and keys; and the runs that only a person can make, such as playing a game or making a paid call. The Visionary does not choose files, commands or implementations. The autonomy measures of the evaluation count the Visionary's hands: a unit of work is autonomous if it finished without them, other than for the steps reserved to the role. The title of this dissertation, <em>Vision Down, Build Up</em>, names the two directions of the method from the Visionary's position: the vision descends from the Visionary, and the product is built back up to meet it.


== Chapter 3 — The Nested Hierarchy ==
<strong>The orchestrating agent.</strong> One agent session holds the plan for the Visionary between sessions. It turns the Visionary's words into specifications and briefs, files and links tickets, sets the order of work units, dispatches scoped building agents, records results, and decides questions that the vision settles, recording each decision where the Visionary can read and reverse it. It is the first translator of the vision. Because nothing in the method's own instruments checks that translation, the orchestrating agent is also the method's least-examined component (Section 9.4).


=== 3.1 What is being planned ===
<strong>Scoped building agents.</strong> A building agent is given an explicit scope: one work unit (a repository, say) or an explicit list of tickets. It works only inside that scope, never the general queue by priority. It claims a leaf, builds it, verifies it by the evidence the leaf calls for, records the result, and leaves a <em>handoff</em> note: what it built, the interfaces it exposes, where the work lives, and what the tier above will need.


The paradigm this dissertation examines makes one claim about structure before it makes any claim about people or agents: that the whole of a body of software work can be written down, before it is built, as a nested hierarchy of descriptions, each level more abstract than the one beneath it, and that the quality of that hierarchy decides whether a fleet of agents can build it without a human standing over each step. This chapter states the hierarchy precisely enough to be checked. Chapter 4 adds the ordering in which it is built; Chapter 5 adds the single written vision from which it flows and the rule that each shared concern has one owner.
<strong>The assembly agent.</strong> When every part of a container has closed, an assembly agent, scoped to the container's work unit, builds the container's membrane. It starts from the container's design and its parts' handoff notes, not from a summary passed by message. It proves the joined flow by a recorded run and closes the membrane, which closes the container.


The object being planned is not a document and not a program. It is a set of work items, each recorded as a ticket, together with two relations among them. Let $T$ be the set of tickets in a portfolio at a given moment. Three functions and two relations describe it.
A fifth function, measurement, is deliberately kept outside these roles in the evaluation: the measures of Chapter 8 were taken by a read-only analyst agent working from the ticket store and the version history, not from the orchestrating agent's record. That separation is part of the evaluation design (Chapter 7), not of the method.


<strong>Level.</strong> Every ticket carries exactly one level, $\lambda(t) \in L$, where $L$ is the ordered set
=== 3.3 Artefacts ===


$$ L = {\textit{vision} \succ \textit{product} \succ \textit{milestone} \succ \textit{epic} \succ \textit{feature} \succ \textit{story} \succ \textit{task&#125;}. $$
NHA keeps the state of the work in seven kinds of artefact. Each is a written record that survives any session; none depends on an agent's memory.
 
<strong>The vision document.</strong> One short document for the whole portfolio states what it is for, which products serve that purpose, and, for every shared concern, the one product that owns it (credentials, model calls, logging, deployment, the plan itself). The Visionary edits it; agents edit everything below it. It is the <em>single source</em>: every other artefact traces to it, and a conflict between two products is settled by reading it.
 
<strong>The complete specification.</strong> Each product carries one specification that states the whole finished product: which part of the vision the product serves, its epics, features and stories with their acceptance, its interfaces with the products it uses, and its milestones in release order, the last being the finished product. It is complete in the sense that nothing the product will become is missing from it. It is not frozen; it changes by recorded addition, and every change is logged.
 
<strong>The work hierarchy.</strong> The specification is mirrored one to one in a tree of tickets held by a ticket system (Section 3.4). The tree, not the specification, is what agents work from; the specification is the tree in prose. Because a document written at a moment drifts behind a tree that keeps growing, the method prefers that the specification's list of items be rendered from the tree rather than written beside it (Section 8.1.2 reports the drift that motivated the rule).
 
<strong>The dependency graph.</strong> Independently of the tree, a ticket may <em>require</em> another. The requires relation crosses products and levels. Layered, it yields the build waves (Section 4.1).
 
<strong>The code ledger.</strong> For each work unit, a ledger lists every tracked source file and the ticket in the unit's tree that accounts for it (Section 4.3). A file no ticket accounts for is unaccounted code.


The first three levels are not tickets in the MindAttic implementation. The vision is a single page, <code>docs/ECOSYSTEM.md</code>; a product is a repository with its specification, <code>docs/SPEC.md</code>; a milestone is a separate record that epics join. They are included in $L$ because the conditions below apply to them in the same way, and because the claim of the paradigm is that the chain from vision to task is unbroken.
<strong>Membranes and handoffs.</strong> A membrane is a ticket, one per container of two or more parts, whose work is the joint between those parts (Section 4.4). A handoff is a note written on a leaf when it closes, carrying the context the tier above needs (Section 4.7).


<strong>Parent.</strong> Every ticket below the top of its tree has exactly one parent, $\pi(t)$, with $\lambda(\pi(t)) \succ \lambda(t)$. In the ticket database this is the <code>part-of</code> link. A level may be skipped where nothing would sit in it: the standard allows a feature with a single behaviour to hold its task directly, so the inequality is strict but not necessarily adjacent. The parent relation makes $T$ a forest; adding the milestone, product and vision above the epics makes it a single tree whose root is the vision.
<strong>The results record and the refinement log.</strong> Each completed work unit adds one row to a results record (ledger before and after, debt filed and closed, membranes filed and closed, leaves closed, steps left for the Visionary), and every change to the method that the unit forced is entered, numbered, in a refinement log. The next unit uses the refined method.


<strong>Status.</strong> Every ticket is open, closed or closed as wont-do. A closed ticket is evidence that something was built; a wont-do ticket is a recorded decision that it will not be.
=== 3.4 The hierarchy ===


<strong>Requires.</strong> Independently of the tree, a ticket may require another: $t \rightarrow u$ means $t$ cannot be worked until $u$ is closed. The relation may cross trees, products and levels. Chapter 4 treats it at length. Here it matters because the conditions of Section 3.4 constrain it.
==== 3.4.1 Levels, parents and requirements ====


<strong>Owns.</strong> Finally, a partial function $\omega$ assigns concerns to products: credentials to the vault, language-model calls to the panel library, the plan to the ticket system, and so on (Chapter 5 lists the table). A ticket that implements a concern lives in the tree of the product that owns it.
Let $T$ be the set of tickets at a given moment. Every ticket carries one level $\lambda(t)$ from the ordered set


The rest of this chapter asks what makes such a structure good. The answer given by the paradigm is a set of conditions on $\lambda$, $\pi$, $\rightarrow$ and $\omega$, collected under the heading of <em>abstraction</em>. The conditions are not new one by one; most have ancestors in the literature on program and system structure from 1968 to 1994 that Section 3.6 examines. What is new is applying all of them at once to a plan, not a program, that will be executed by many language-model agents in parallel, and checking them mechanically across a whole portfolio.
$$ L = {\textit{vision} \succ \textit{product} \succ \textit{milestone} \succ \textit{epic} \succ \textit{feature} \succ \textit{story} \succ \textit{task&#125;}. $$


=== 3.2 Levels as abstraction functions ===
The top three levels need not be tickets: the vision is a document, a product is a work unit with its specification, and a milestone is a record that epics join. They belong in $L$ because the chain from vision to task is meant to be unbroken. Every ticket below the top of its tree has one parent $\pi(t)$ with $\lambda(\pi(t)) \succ \lambda(t)$; a level may be skipped where nothing would sit in it, so the inequality is strict but not necessarily adjacent. The parent relation makes $T$ a forest, and the vision makes it one tree. Every ticket is open, closed, or closed as <em>won't do</em>, the last being a recorded decision that the work will not be built. Separately, $t \rightarrow u$ means that $t$ cannot be worked until $u$ is closed. A partial function $\omega$ assigns each shared concern to the product that owns it.


==== 3.2.1 Each level answers a different question ====
==== 3.4.2 Each level answers a different question ====


The levels are not sizes. An epic is not a large feature and a task is not a small story. Each level answers a different question about the same body of work:
The levels are not sizes. Each answers a different question about the same body of work, in its own vocabulary:


{| class="wikitable"
{| class="wikitable"
Line 344: Line 453:
|-
|-
| Vision
| Vision
| What is the studio for?
| What is the portfolio for?
| Purposes, concerns, products
| Purposes, concerns, products
|-
|-
| Product
| Product
| What finished thing serves that purpose?
| What finished thing serves that purpose?
| The product's users and the problem it solves
| Users and the problem solved
|-
|-
| Milestone
| Milestone
Line 372: Line 481:
|}
|}


The vocabulary column is the heart of the rubric. Each level has words of its own, and the words of a lower level are not available to a higher one. A task may say "add a <code>Probe</code> method to <code>KeyTester.cs</code>"; a story may not, because a story describes what someone sees, and nobody sees a file. A feature may say "check and diagnose every key"; an epic may not mention checking, because checking is how the outcome is reached, and the epic names the outcome: "Vault owns every credential".
The governing rule is that a level never names what lives below it. With $V_\ell$ the vocabulary proper to level $\ell$ and $V_{\prec \ell}$ the union of the vocabularies below it, the <strong>vocabulary condition</strong> is
 
This can be stated as a condition on names. Let $V_\ell$ be the vocabulary proper to level $\ell$, and let $V_{\prec \ell} = \bigcup_{m \prec \ell} V_m$ be everything below it. The <strong>vocabulary condition</strong> is:


$$ \forall t \in T: \quad \mathrm{words}(\mathrm{name}(t)) \cap \big(V_{\prec \lambda(t)} \setminus V_{\lambda(t)}\big) = \varnothing. $$
$$ \forall t \in T: \quad \mathrm{words}(\mathrm{name}(t)) \cap \big(V_{\prec \lambda(t)} \setminus V_{\lambda(t)}\big) = \varnothing. $$


A level never names what lives below it. The condition is stated for the name and not the whole description, because a ticket's longer description may legitimately point downward ("this feature is delivered by changes to the resolver") as a note to whoever works it. The name is what the rest of the hierarchy reads.
An epic in which a file name appears has failed to make the file disappear, and so is a task with an epic's label. The condition restates for plans what Dijkstra (1968) stated for the levels of a system, each of which is defined by what it no longer has to mention (Section 2.3.2). It applies to names, not descriptions: a description may point downward as a note to whoever works the ticket, but the name is what the rest of the hierarchy reads.


==== 3.2.2 Abstraction as the loss of identity ====
==== 3.4.3 Structural conditions ====


The vocabulary condition is a restatement, for plans, of an idea Dijkstra expressed for systems. Describing the layered multiprogramming system built at Eindhoven, he wrote of the lowest level that "our first abstraction has been achieved, above level 0 the number of processors actually shared is no longer relevant", and of the levels above it that "the actual processors having lost their identity, having disappeared from the picture" (Dijkstra, 1968). Each higher level of the system made one more thing disappear: storage pages above level 1, the physical console above level 2, the actual peripherals above level 3. A level was defined by what it no longer had to mention.
Four further conditions relate an item to its children or to other trees.


A level of the plan is defined the same way. Above the task level, files and classes have lost their identity. Above the story level, individual behaviours have merged into capabilities. Above the feature level, capabilities have merged into outcomes. An epic in which a file name appears has failed to make the file disappear, and so has failed to be an epic; it is a task, or a story, with an epic's label.
<strong>Covers.</strong> For every ticket $p$ with children $C(p)$, finishing every child makes the parent true: $\big(\bigwedge_{t \in C(p)} \mathrm{done}(t)\big) \Rightarrow \mathrm{done}(p)$. This is the condition that allows a parent to close automatically when its last child closes. It is the planning form of the soundness rule for task reduction in hierarchical task network planning (Erol, Hendler & Nau, 1994) and of the coverage rule of the work breakdown structure (NASA, 2021).


Dijkstra's account also explains why the condition is worth enforcing. The value of the levels, he reported, was that each could be reasoned about and tested without the details below it: when testing the segment controller, the clock interrupt was "so immaterial that one of the testers indeed forgot its existence", and without the separation "the number of 'relevant states' would have exploded to such a height that exhaustive testing would have been an illusion" (Dijkstra, 1968). The analogue for a plan is that an epic can be judged complete, or compared with the vision, or re-ordered against another epic, without reading the tasks beneath it. An epic that mentions its tasks forces the reader down a level to understand it, and the hierarchy stops paying for itself.
<strong>Disjoint siblings.</strong> Siblings do not overlap. If two features both need a piece of work, it belongs to one of them and the other requires it. Overlap is the main source of duplicated work when agents build in parallel, because two agents given overlapping siblings will each build the shared part. Together, covers and disjoint require a parent's children to partition its work.


==== 3.2.3 Refinement as a sequence of decisions ====
<strong>No buckets.</strong> No epic or feature is named for an activity rather than an outcome or capability ("cleanup", "loose ends", "misc", "hygiene"). A bucket has no vocabulary of its own; its covering is vacuous and its disjointness unenforceable, so it is where work goes to escape the hierarchy. The one exception is a milestone's closing polish-and-release feature, whose stories are themselves named for outcomes.


The levels are produced by refinement, read from the top. Wirth described program construction as "a sequence of refinement steps. In each step a given task is broken up into a number of subtasks" (Wirth, 1971, p. 226), and gave the guideline that refinement should "decompose decisions as much as possible, to untangle aspects which are only seemingly interdependent, and to defer those decisions which concern details of representation as long as possible" (p. 221). Two features of his account carry over directly.
<strong>One owner per concern.</strong> For every concern $c$ in the domain of $\omega$, work that implements $c$ lives in the tree of $\omega(c)$, and a ticket elsewhere that needs $c$ requires a ticket in the owner's tree:


First, each refinement step "implies a number of design decisions based upon a set of design criteria" (Wirth, 1971, p. 226). A level of the plan is the record of the decisions made at that step and no others. The epic "Vault owns every credential" records the decision that credentials are a single concern with one owner. The features beneath it record the decision about which capabilities that requires: a catalogue of providers, a way to check and diagnose a key, a dashboard, and the removal of every other key source. Which file the probe lives in is a decision Wirth would defer, and the vocabulary condition defers it to the task level, where it belongs.
$$ \mathrm{implements}(t, c) \Rightarrow \mathrm{product}(t) = \omega(c), \qquad \mathrm{needs}(t, c) \land \mathrm{product}(t) \neq \omega(c) \Rightarrow \exists u \in T_{\omega(c)} : t \rightarrow u. $$


Second, Wirth observed that the alternatives considered during refinement form a tree: "The possible solutions to a given problem emerge as the leaves of a tree, each node representing a point of deliberation and decision. Subtrees may be considered as <em>families of solutions</em> with certain common characteristics and structures" (Wirth, 1971, p. 221). In a plan the tree that is kept is the chosen branch at each node, and the wont-do tickets are the record of branches deliberately not taken. Keeping them closed but present is what lets a later reader see that an alternative was considered, which is the condition Wirth set for teaching the method: students "must be taught to revoke earlier decisions, and to back up, if necessary even to the top" (p. 227).
This is Parnas's (1972) criterion of decomposition by hidden design decision, applied across products: each owning product hides one family of decisions (where credentials live, how models are called) from every product that uses it. It is the only condition that crosses trees, and it is the one that the build-up enforces most often, because duplicated concerns are what the comb most often finds (Section 5.7).


==== 3.2.4 Abstraction functions ====
Finally, the requires relation must be acyclic, so that it can be layered into waves (Section 4.1). Parnas (1972) distinguished a clean decomposition from a hierarchical "uses" ordering and called them independent properties; NHA keeps them apart in the same way, asking the tree to be clean and the requires relation to be a partial order, and checking both.


The levels can now be described as functions. For each adjacent pair of levels $\ell \succ m$ there is an abstraction function
==== 3.4.4 Maximal abstraction ====


$$ \alpha_{m \to \ell} : \mathcal{P}(T_m) \rightarrow T_\ell, $$
An item is <strong>maximally abstract</strong> at its level when it satisfies the vocabulary condition and when raising its name one step further would lose the ability to say whether it is done. "The vault owns every credential" is maximally abstract for an epic: it names no capability, file or step, and it can still be checked by finding a credential the vault does not own. "The vault is good" is more abstract and useless, because nothing would ever show it to be done. "The vault has a dashboard" is checkable but is a capability promoted to an epic. Maximal abstraction is therefore a two-sided bound: the vocabulary condition stops a name from being too concrete, and decidability stops it from being too vague. A set of siblings is maximally abstract when each is maximally abstract and together they partition their parent.


which takes a set of items at the lower level and gives the single item at the upper level whose completion they jointly accomplish. Planning applies the inverse relation from the top: it chooses, for each item, a set of children. Building applies $\alpha$ from the bottom: as each set of children closes, it rolls up into its parent, which closes in turn (Chapter 4). The paradigm asks that $\alpha$ be well defined at every level, which is to say that the children of each item really do add up to it and to nothing else. That is the subject of the next section.
Only part of this can be checked by a program. A lint can find code vocabulary, bucket words and leading activity verbs, and it can list epics with a single feature for a person or agent to re-examine. Covering and decidability depend on meaning and remain matters of judgement. The evaluation reports how coarse the mechanical check is (Section 8.1.3).


=== 3.3 The structural conditions ===
==== 3.4.5 The leaf ====


The vocabulary condition concerns single items. Four further conditions concern an item and its children, or items across trees.
Refinement stops at the task, sized so that one agent session can complete it and land it as one commit. Wirth's (1971) account of stepwise refinement ends decomposition at the facilities of the executing machine; in NHA the executing machine is an agent session with a bounded context, and the task is the unit it can hold. Leaves are the only items that are worked. A story with no tasks receives a planning pass that splits it when the queue reaches it. Because the leaf is defined by what one agent can hold, it is also the point at which the plan meets the hierarchy of machines, sessions and agents that executes it; Chapter 6 develops that correspondence.


==== 3.3.1 Covers ====
=== 3.5 The specification and the tree ===


<strong>Covers.</strong> For every ticket $p$ with children $C(p) = {t : \pi(t) = p}$,
The specification and the tree are two views of one plan. The specification is written for reading: it holds the product's purpose, its acceptance lines in prose, its interfaces, its milestones and a dated change log of decisions. The tree is written for execution: it holds the same items as tickets, with their parents, requirements, status and history. The method requires them to mirror each other: every open ticket appears in the specification by identifier, and every identifier in the specification resolves to a ticket. Where the two disagree, the tree is authoritative for status and the specification for intent.


$$ \Big(\bigwedge_{t \in C(p)} \mathrm{done}(t)\Big) \Rightarrow \mathrm{done}(p). $$
Two practical rules follow from experience with this mirror. First, a document written once drifts behind a tree that other sessions and automations keep extending, so the mirrored list of items is rendered from the tree rather than maintained by hand, while acceptance lines and the change log stay hand-written. Second, a ticket is <em>seated</em> when it is filed: it receives a parent at the moment of filing, so that no work enters the system outside the hierarchy. Both rules were adopted after the first evaluation showed what happens without them (Section 8.1.2).


Finishing every child makes the parent true. Nothing the parent promises is missing a child. This is the condition that allows the roll-up of Chapter 4 to be automatic: when the last task of a story closes, the story closes, without anyone checking that the story's promise was kept, because covering guaranteed it when the children were chosen.
=== 3.6 Reasoning about the plan before building on it ===


The work breakdown structures of large engineering programmes rest on the same requirement. NASA's handbook describes a work breakdown structure as "a product-oriented family tree that identifies the hardware, software, services, and all other deliverables required to achieve an end project objective", and states that it "defines all work to be performed for project completion" (NASA, 2021, pp. 9, 17). It adds that the structure "must also reflect all the effort that is in the approved scope of work", which is why elements for project management and assurance appear in it even though they are not products (p. 20). The plan needs the same discipline for the same reason: work that has no place in the tree is work nobody is accountable for, and in an agent-driven system, work nobody is accountable for is either never done or done by an agent that was not asked to.
A plan that is merely written down can still be wrong in ways that cost more to discover during building. NHA therefore subjects the plan to three passes before a work unit is built.


A closer formal analogue comes from planning in artificial intelligence. In hierarchical task network planning, a compound task is achieved by a method that replaces it with a network of subtasks, and the soundness rule is that "if $d'$ is a reduction of $d$, then any plan that achieves $d'$ also achieves $d$" (Erol, Hendler & Nau, 1994, p. 1126). Covering is that rule imposed by hand on a human-readable plan: the children of an item are a reduction of it, and achieving them achieves it.
<strong>The design pass.</strong> For each open container, a model reads the container's children, the requires links already present in its whole subtree, the relevant section of the specification, the specification's interface section, and the vision document's owner table, and writes a short design: how the children fit, in what order, through which interfaces, and which owners they depend on. The design is a proposal. It is reviewed by reading, and taken only with a reason; where it disagrees with the tree's existing links or with the specification's owner line, the tree and the specification win (Section 5.1).


Covering cannot be checked mechanically in general, because whether a set of stories "makes a feature true" depends on what the feature means. Section 3.5 returns to what can be checked.
<strong>The gap pass.</strong> For each open container, a second pass proposes what the tree lacks: requires links between siblings that the design implies, the membrane the container will need, and acceptance clauses of the parent that no child covers. Proposals are filed as proposed tickets or links and approved or rejected with a reason. A proposed link that expresses a preference rather than a dependency is rejected, since a false requirement delays work that could proceed (Section 5.7).


==== 3.3.2 Disjoint siblings ====
<strong>The plan check.</strong> A deterministic check lists what the plan still lacks and fails until nothing is found: open stories without acceptance or without a stated reason ("why"), open epics and features with no parts, epics with a single part, containers of two or more parts with no membrane, and a code ledger below complete. The plan check is the gate between planning and building. It does not judge quality; it ensures that nothing the method requires is absent.


<strong>Disjoint.</strong> For siblings $t \neq u$ with $\pi(t) = \pi(u)$, the work of $t$ and the work of $u$ do not overlap. If two features both need a piece of work, it belongs to one of them, and the other requires it:
These passes are where the plan "reasons about itself". They do not replace the Visionary's reading of the upper levels, and they do not decide anything the vision does not settle. What they add is that a container's design and its missing links are on paper, reviewed, before any leaf under it is built, which is the precondition for the assembly agent's work later.


$$ \mathrm{overlap}(t, u) \Rightarrow \exists, w \in C(t) \cup C(u) : ; (t \rightarrow w) \lor (u \rightarrow w). $$
=== 3.7 What the Visionary decides, and what is decided for the Visionary ===


Overlap between siblings is the main source of duplicated work when agents build in parallel. Two agents, each given one of two overlapping features, will each build the shared part. The consolidation passes recorded in Chapter 7 found the symptom at scale: fifty-three tickets in one product that were the same test failure filed separately, and two products each holding its own client for the same set of language-model providers. Disjointness is what makes it safe to hand siblings to different agents at the same time.
NHA draws one boundary sharply: decisions that the vision settles are taken by agents and recorded; decisions it does not settle go to the Visionary, explicitly, and the work they block waits on a named decision rather than on missing work. When an agent cannot settle a question from the source, it takes the reading that best fits the vision, records the call in the specification's change log for the Visionary to read and reverse, and keeps going. When work no longer fits the vision, it is closed as won't do rather than kept in the plan, a default the Visionary in the case stated directly: "it's better to mark a ticket as won't do than to keep it in and implement a feature that isn't wanted anymore" (Section 7.2).


Taken together, covers and disjoint require the children of an item to be a partition of its work: collectively exhaustive and mutually exclusive.
Steps that only the Visionary can take (a purchase, a key, a sign-off, a run on hardware or in a game only the Visionary holds) are listed as Visionary steps on the work unit's results row and left open. They are never forced, and they are never performed blind by an agent on the Visionary's behalf. A leaf blocked by another product's pending decision is recorded separately from Visionary steps, because it unblocks without the Visionary when that product lands. Section 5.8 states this as a principle and gives the evidence for it.


==== 3.3.3 No buckets ====
=== 3.8 Summary ===


<strong>No buckets.</strong> No epic or feature is named for a kind of activity rather than for an outcome or capability: "loose ends", "cleanup", "hygiene", "known bug fixes", "miscellaneous". The single exception in the rubric is a milestone's closing <em>polish-and-release</em> feature, whose stories are themselves named for outcomes (the documents describe the release; the owner has signed it off).
Planning down in NHA produces, for each product, a complete written specification traced to one vision, mirrored in a tree whose levels answer different questions in different vocabularies, whose children partition their parents, whose shared concerns each have one owner, and whose requirements form a partial order. The plan is reasoned about by a design pass, a gap pass and a deterministic plan check before it is built on. The Visionary holds the vision and the decisions it does not settle; the orchestrating agent translates the vision into the plan; scoped building agents and assembly agents carry it out. Chapter 4 describes how.


A bucket violates the vocabulary condition in a particular way. Its name is drawn from no level's vocabulary at all; it describes the planner's convenience. Its children have nothing in common except that they did not fit elsewhere, so covering is vacuous (the bucket is "done" when its arbitrary contents are done) and disjointness is unenforceable (anything can be moved into it). In practice a bucket is where work goes to escape the hierarchy.
== Chapter 4 — Building Up, and the Joints Between Parts ==


NASA's guidance makes the same point about work breakdown structures in its own terms: elements "should be predominantly product oriented. For example, Design, Engineering, Manufacturing, Phase A, Pipe Fitters, and Direct Labor are not products and typically should not be used for WBS element sub-divisions", because they are "functions and/or organizations" or skill types (NASA, 2021, p. 38). A work breakdown structure "is a product-oriented structure, not an organizational structure" (p. 17). Replace "product" with "outcome" and the rule for epics is the same: an epic is a thing the product delivers, not a kind of work the developers do.
Chapter 3 described how NHA writes a product down from the vision. This chapter describes how the product is built back up from its leaves: the order in which work units are taken, the waves within them, the comb that accounts for every file, the membranes that join finished parts, the pyramid order in which tiers close, the scoped agents and handoffs that carry context between tiers, and the evidence each kind of work must leave. Section 4.5 states the method's central claim, that this arrangement is a plan-driven cascade with agile, iterative work confined to the joints, and argues why the pivot at a joint does not interrupt the cascade.


==== 3.3.4 One owner per concern ====
=== 4.1 Waves and roll-up ===


<strong>One owner.</strong> For every concern $c$ in the domain of $\omega$, every ticket that implements $c$ lies in the tree of $\omega(c)$. A ticket in another product that needs $c$ does not implement it; it requires a ticket in the owner's tree:
The tree and the requires relation are two structures over one set of tickets. The tree says what must be done and what it adds up to; the requires relation says what must wait for what. Building is driven by the second and recorded in the first.


$$ \mathrm{implements}(t, c) \Rightarrow \mathrm{product}(t) = \omega(c), \qquad \mathrm{needs}(t, c) \land \mathrm{product}(t) \neq \omega(c) \Rightarrow \exists u \in T_{\omega(c)} : t \rightarrow u. $$
<strong>Requirements on containers.</strong> A requirement on a container stands for requirements on all of its open leaves, because a container is done only when they are. A requirement from an item to its own ancestor, or from an ancestor to one of its own descendants, orders siblings within one subtree; it is not a dependency of the whole subtree on itself. Both readings matter in practice: the first instrument built for this method treated an ancestor's link to its own descendant as a dependency of every leaf beneath the ancestor, and so reported 173 cycles that did not exist (Section 8.1.3). The converse hazard is a cycle that exists only when the two levels are combined: a feature that requires another feature as a whole, while a story inside the second requires a story inside the first. Each link is acyclic at its own level; together they loop. An instrument for the method must expand container requirements to leaves before it checks for cycles.


This is the only condition that crosses trees. It is the plan-level form of Parnas's criterion for decomposing systems into modules. Parnas argued that a module should be understood as "a responsibility assignment rather than a subprogram", and that the right criterion for drawing module boundaries is not the steps of processing but the design decisions likely to change: "Every module in the second decomposition is characterized by its knowledge of a design decision which it hides from all others" (Parnas, 1972, pp. 1054, 1056). The decomposition that followed a flowchart spread knowledge of the line-storage format across every module, so that a change to it "would result in changes in every module", while the decomposition by hidden decision confined the change to one (p. 1055).
<strong>Waves.</strong> Let $R(t)$ be the set of open leaves that leaf $t$ must wait for, after container requirements are expanded. The wave of a leaf is


In a portfolio, the concerns in $\omega$ are exactly the decisions most likely to change and most expensive to change everywhere: where credentials are kept, which language-model providers are used and how they are called, how logging is done, how applications are deployed. The episode that prompted this dissertation's companion work on credentials (Chapter 7) is Parnas's flowchart decomposition reproduced across repositories: each product that needed a model provider had grown its own key lookup, so that a single revoked key had to be found and replaced in several places, and an environment variable set at some earlier time silently took precedence over the key the owner had just replaced. The one-owner condition is the rule that prevents this from recurring, and the requires link is the interface: the consuming product's story names the capability it needs, not how it is achieved.
$$ w(t) = \begin{cases} 0 & \text{if } R(t) = \varnothing,\ 1 + \max_{u \in R(t)} w(u) & \text{otherwise.}\end{cases} $$


Parnas also distinguished two properties that are easily confused. A system has a hierarchical structure "if a certain relation may be defined between the modules or programs and that relation is a partial ordering", the relation being "uses" or "depends upon"; but "hierarchical structure and 'clean' decomposition are two desirable but <em>independent</em> properties of a system structure" (Parnas, 1972, pp. 1057–1058). The paradigm keeps the two apart in the same way. The parent tree is the decomposition; it should be clean in Parnas's sense, which is what covers, disjoint, no buckets and one owner ask for. The requires relation is the "uses" ordering; it should be a partial order, which is the condition of the next section. Neither implies the other, and both are checked.
This is a layering of the directed acyclic graph by longest path from its sources, a refinement of topological sorting (Kahn, 1962). Every leaf in one wave can be worked in parallel, in any work unit, by any agent, because none waits on another in the same wave. The sequence of waves is the <em>waterfall</em>: every open leaf in the portfolio, in an order in which it can be built.


=== 3.4 The requires graph as a partial order ===
<strong>Roll-up.</strong> Only leaves are worked. When the last child of a container closes, the container closes, and so on up the tree. Covering (Section 3.4.3) is what makes the roll-up sound: if a parent's children were chosen so that finishing them makes the parent true, closing the parent when they close requires no further judgement. NHA adds one condition to roll-up, the pyramid order of Section 4.4.3: a container of two or more parts does not roll up unless one of its parts is its membrane.


The requires relation is the second relation on $T$. The paradigm asks that it be a strict partial order: irreflexive, transitive in effect, and above all acyclic.
=== 4.2 The order of work units ===


$$ \nexists, t_1, \dots, t_k : t_1 \rightarrow t_2 \rightarrow \dots \rightarrow t_k \rightarrow t_1. $$
A portfolio is built one work unit at a time (in software, typically one repository), in order of increasing complexity. Complexity is measured mechanically, for example as thousands of lines of tracked source (the code the comb must account for) plus the number of open leaves (the work still to build), so that the order is fixed before building starts and cannot be fitted to results. The first unit is the pilot, which tests the method itself. The largest products are pinned to the end of the order, where they benefit most from a method refined on the units before them.


A cycle means that some piece of work can never start. Acyclicity is also what allows the graph to be layered into the build waves of Chapter 4.
The simplest-first order is a default, not a law, and one rule overrides it. <strong>Pull forward</strong>: when a leaf in one unit requires a leaf in another, the required leaf is built first, wherever its unit sits in the order. The same applies to any work the method itself requires (its tools and its views of the plan): that work is built first, in the product that owns it. Pulling forward lets the shared platform be built as products need it rather than all at once, and it keeps the order honest about the one way a simple unit can depend on a complex one. Every pull forward is recorded, because each is a small counter-example to the order (Section 8.2.1 reports how often the order bent).


Parnas listed what such an ordering buys a system: "parts of the system are benefited (simplified) because they use the services of lower levels", and "we are able to cut off the upper levels and still have a usable and useful product", so that one can "'prune' off the upper levels of the tree and start a new tree on the old trunk" (Parnas, 1972, p. 1057). The plan inherits both benefits. A product's stories are simpler because they require platform stories instead of reimplementing them, and a portfolio can stop at any milestone with everything below it complete and usable, which is exactly the property the release sequence of each product is designed to have.
Each unit then passes through the same steps: <em>reason</em> (the design and gap passes of Section 3.6), <em>comb</em>, <em>membranes</em>, <em>build</em>, and <em>record</em>. Where the machine that hosts the agents cannot spare the resources to build, the steps split into a plan phase (reason, comb, membranes and plan check, which need only reads and ticket operations) and a build phase (debt, leaves and membranes, which need compilers, engines and browsers), so that the order keeps moving and the code stays accounted for while building waits (Section 5.6).


The planning literature gives a sharper reason for insisting on the order. Erol, Hendler and Nau showed that general hierarchical task network planning is undecidable, and that "handling interactions among non-primitive tasks is the most difficult part of HTN planning. In particular, if subtasks in the expansions for different tasks can be interleaved, then planning is undecidable, even if no variables are allowed" (Erol, Hendler & Nau, 1994, p. 1128). Restrictions that limit those interactions bring planning back within reach; one of them is a level mapping in which "tasks can be expanded into only lower level tasks, establishing an acyclic hierarchy" (p. 1126). The result is about automated planners, not human or agent ones, and should not be stretched: nobody claims that a portfolio plan is a planning problem in their formal language. But it identifies where the difficulty lies, and the paradigm's response is the one their analysis suggests. Interactions between compound items are made explicit as requires links rather than left to be discovered, and the parent relation is a strict hierarchy with no item expanding into one of its own ancestors.
=== 4.3 The comb: every file accounted for ===


Two practical rules follow, and both were needed in the implementation. First, a requires link from an item to its own ancestor, or from an ancestor to its own descendant, expresses an order among siblings and not a dependency of the whole subtree; the waterfall generator of Chapter 4 had to be corrected to read such links that way, after a first version reported 173 spurious cycles that a check of the database itself showed did not exist (Chapter 7). Second, a requires link to a container stands for links to all of its open leaves, because a container is done only when they are.
==== 4.3.1 The ledger ====


=== 3.5 What "most abstract" means, and how to check it ===
The comb is the step that makes the plan and the code agree. For a work unit with tracked source files $F$, a ledger assigns to each file the ticket in the unit's tree that accounts for it, $\ell : F \rightharpoonup T$. A file is <em>accounted</em> when $\ell(f)$ is defined and $\ell(f)$ is a seated ticket of the unit's own tree that is not closed as won't do. The comb is complete when


The owner's instruction that set this work in motion asked that "each feature is the most abstracted it can be, and each epic has the most abstracted features". The phrase needs a definition before it can be tested.
$$ \frac{&#124;{f \in F : f \text{ accounted&#125;}&#124;}{&#124;F&#124;} = 1. $$


==== 3.5.1 A definition ====
A ledger may be seeded from history, by crediting each file to the ticket named in the commits that touched it. NHA treats such a credit as a claim, not an account (Section 5.1): the comb reads every file and either confirms the credit or replaces it with an assignment whose reason is stated.


An item is <strong>maximally abstract</strong> at its level when two things hold. It satisfies the vocabulary condition, so nothing from below appears in its name. And raising its name one step further would lose the ability to say whether it is done. "Vault owns every credential" is maximally abstract for an epic: it names no capability, file or step, and it can still be checked (find a credential not owned by the vault). "Vault is good" is more abstract and useless, because nothing would ever show it to be done or not done. "Vault has a dashboard" is checkable but is a capability, a feature-level statement that has been promoted to an epic.
What counts as a source file is itself a decision. A pattern that misses a product's real code (build-kit files, static pages, a game modification's install layout, a plug-in's own source inside a folder the pattern treats as vendored) produces a ledger that reads complete while the product is invisible to it. The comb therefore states the tool's count beside the count obtained by reading whenever they differ.


So maximal abstraction is a two-sided bound. From below, the vocabulary condition stops a name from being too concrete. From above, decidability stops it from being too vague. An item is in the right place when it is as high as it can go while remaining decidable.
==== 4.3.2 What the comb does with each file ====


The same bound applies to sets of siblings. An epic "has the most abstracted features" when each of its features is maximally abstract at the feature level and together they partition the epic (covers and disjoint). A set of features that is individually well named but overlapping, or that leaves part of the epic uncovered, fails the second half of the instruction even if every name passes.
Each file that is not yet accounted falls into one of five cases:


==== 3.5.2 What can be checked mechanically ====
{| class="wikitable"
! The file is...
! The comb...
|-
| Part of a behaviour a seated story already covers
| assigns it to that story
|-
| A behaviour the product should keep, but no story covers it
| files the missing story as already built, adds it to the specification, and assigns the file to it
|-
| Disordered: it mixes concerns, duplicates something, re-implements a shared concern, or does not fit one story
| files a <em>debt</em> story, "abstract and rebuild" the behaviour, under the feature it belongs to, and assigns the file to it
|-
| Not wanted: dead, superseded or outside the specification
| files a removal task, labelled debt, and assigns the file to it
|-
| Generated, vendored or data
| assigns it to the unit's tooling story with a note, or adds the pattern to the vendor rule
|}


Only part of this can be checked by a program. Decidability and covering depend on meaning. The vocabulary condition can be approximated, because the vocabulary of the task level is distinctive: file extensions, paths, identifiers in the form of class or method names, and endpoints. A bucket name is a short list of words. An activity verb at the start of an epic or feature name ("fix", "refactor", "migrate") signals an item named for work rather than outcome.
No file is too small for the comb. The rule that settles most borderline cases is <strong>one reason to change</strong>: a file may be assigned to the lowest ticket covering everything it serves only if everything it serves sits under that ticket and the file has one reason to change. A file serving stories in two features, or mixing two concerns, is debt however small, unless it is the composition root that joins those features, in which case it is recorded as their container's built membrane (Section 4.4.4). After a debt story moves code, the rows it assigned return to the feature that owns the behaviour, and the debt keeps only the files it created.


The implementation's hierarchy lint (<code>lint-hierarchy.ps1</code> in the shared agent standard) applies exactly these approximations to every open epic and feature in the portfolio. It flags a name that contains code vocabulary, a bucket, or a leading activity verb, and separately lists epics that have only one feature. That last check is not a failure; a single-feature epic is legitimate when the outcome really is one capability. It is a prompt to check whether the epic is really a feature, or whether sibling features are missing, which is a covering failure.
The comb is the step where NHA meets technical debt. Cunningham (1992), who introduced the metaphor, wrote that "shipping first time code is like going into debt", that a little debt speeds development "so long as it is paid back promptly with a rewrite", and that whole organisations can be brought to a standstill "under the debt load of an unconsolidated implementation". The term has since come to cover a wide range of phenomena (Kruchten, Nord & Ozkaya, 2012, abstract). The comb's contribution is to make the debt enumerable. Every unaccounted or disordered file becomes a ticket with an owner and a place in the waves, rather than a judgement about the codebase as a whole.


The lint is a coarse proxy and is reported as one. It will pass a name that is vague but contains no forbidden words, and it can flag a legitimate name that happens to match a pattern. Its value is as a measure that is the same before and after a change, applied to every item without judgement. Taken shortly after the second consolidation pass began, it found that 1,011 of 1,079 open epics and features passed (93.7 per cent), with 57 names containing code vocabulary, 10 buckets and 4 leading activity verbs, and 37 single-feature epics to re-check (pre-registration, measurement notes). Chapter 7 reports the same measure after the pass. The pre-registered criterion C2 asks for at least 90 per cent and an improvement; the baseline already exceeds the threshold, which says as much about the coarseness of the proxy as about the plan, and Chapter 9 weighs it accordingly.
=== 4.4 Membranes: the connective tissue ===


==== 3.5.3 What only judgement can check ====
==== 4.4.1 Definition ====


Covering and decidability remain matters of judgement, and the paradigm places that judgement deliberately. Agents apply the rubric when they write or revise a level; the specification of each product (<code>docs/SPEC.md</code>) holds the same hierarchy in prose, with acceptance lines under every story, so that a reader can see whether the stories add up to their feature; and the human owner, working at the source, reads the levels that matter most to the vision. The claim tested in this dissertation is not that abstraction can be computed but that, once the conditions are written down, agents apply them well enough that a human need only read the top of the hierarchy.
A <strong>membrane</strong> is the one story, per container of two or more parts, whose work is to make the parts work as one. It wires the siblings together (state they share, events they pass, data one hands the next, the single flow a user takes through them) and proves the container's own acceptance end to end. Structurally, a membrane is a story labelled as such, part of its container, and it requires every sibling:


=== 3.6 Relation to prior work, and what is new ===
$$ m \in C(p), \quad \forall s \in C(p) \setminus {m} : m \rightarrow s. $$


Each condition in this chapter has a precedent. It is worth being exact about how the paradigm differs from each.
So the membrane is the last leaf of its container, by the same wave rule that orders every other leaf, and the container closes when the membrane does. A container with a single part needs no membrane: its part is its acceptance. The agent that builds a membrane first rewrites the membrane's summary to say which parts meet and how.


<strong>Stepwise refinement</strong> (Wirth, 1971) supplies the top-down construction and the principle of deferring representation decisions. Wirth's subject was one programmer refining one program, with the refinements held in the programmer's head and recorded only in the successive versions of the program. In the paradigm, refinement is done by many agents, at different times, often without access to one another's reasoning, so every level must be written down as a persistent artefact that another agent can read. The ticket tree is stepwise refinement externalised.
==== 4.4.2 Why membranes are needed ====


<strong>Levels of abstraction</strong> (Dijkstra, 1968) supply the idea that a level is defined by what it no longer mentions, and the bottom-up order of construction and testing: "Starting at level 0 the system has been tested, each time adding (a portion of) the next level only after the previous level has been thoroughly tested" (Dijkstra, 1968). Dijkstra's levels were layers of a running system. The paradigm's levels are layers of a plan; the bottom-up order of building is the subject of Chapter 4.
Covering (Section 3.4.3) says that finishing the children makes the parent true. It is a property of how the children were chosen, and it is assumed, not checked, when a parent rolls up. But the children of a container are chosen before any of them is built, and the plan cannot name every interaction its parts will turn out to have. Two sibling stories may both need to edit one registration point; a leaf may widen an input that its sibling consumes; two features may share state that neither owns. In each case each sibling can be done, correctly, and the container still not work. The membrane is the place where that residue is built and where covering is checked rather than assumed.


<strong>Information hiding</strong> (Parnas, 1972) supplies the criterion for drawing boundaries between owners, and the distinction between a clean decomposition and a hierarchical uses-ordering. Parnas's modules were within one system. The paradigm applies his criterion across a portfolio, at the level of products owning concerns, and enforces it on the plan before code exists: a story in the wrong product is a decomposition error caught before anyone writes the duplicated client.
The requirements-traceability literature frames the underlying need. Gotel and Finkelstein (1994) define requirements traceability as the ability to follow the life of a requirement forwards and backwards, "through all periods of on-going refinement and iteration". A container's acceptance is such a requirement, and a roll-up that closes it on its children alone leaves no trace from the acceptance to evidence that it holds. The membrane's design note and recorded run are that trace, written where the parts meet.


<strong>Work breakdown structures</strong> (NASA, 2021) supply the requirement that the structure define all of the work, and that it be organised by product, not by function or organisation. The paradigm keeps both and adds the vocabulary condition, which a work breakdown structure does not state in this form, and the explicit requires graph, which project practice keeps in a separate schedule.
==== 4.4.3 The pyramid order ====


<strong>Hierarchical task networks</strong> (Erol, Hendler & Nau, 1994) supply the reduction semantics of covering and the observation that interactions between compound tasks are where the difficulty lies. A hierarchical task network planner searches for decompositions using methods written in advance. In the paradigm the decompositions are written by language-model agents and checked by rubric and review; there is no method library and no search. What carries over is the structure, not the algorithm.
Membranes stack. A feature's membrane joins its stories. An epic's membrane joins its features, and so requires their membranes. A milestone's acceptance checks join its epics. Each tier is built only on the tier below it, so that the finished product is a pyramid in which every level has been proven to work as one before the level above it is built on it.


What is new, then, is not any single condition but their combination in one rubric applied by agents to a whole portfolio; the cross-tree ownership condition expressed as requires links between products; and the claim, which later chapters test, that a plan satisfying these conditions lets a human direct the work from its top level only.
The pyramid order is a constraint on closing: no container of two or more parts closes before its membrane, and no membrane closes before any of its siblings. The requires links make the second half automatic. The first half needs a guard in the tool that performs roll-ups, because a container whose last ordinary part closes before its membrane has been filed would otherwise roll up on that part alone. The guard refuses the roll-up and reports the missing membrane. The evaluation measures this constraint directly (criterion B4, Section 7.4).


=== 3.7 Limits of the model ===
==== 4.4.4 Built membranes ====


Four limits should be stated now so that they are not discovered later.
Not every joint is new work. A product that already exists has composition roots (an entry point, a registration file, a shared configuration) that join its features. The comb records such a file as its container's <em>built membrane</em>: a membrane story filed as already closed, naming the file and the parts it joins. Where a composition root joins several epics and no ticket sits above an epic, it is recorded under the core epic, naming every epic it joins. Debt found under a closed container is filed under it without reopening it, because reopening would cascade new membranes onto built work.


First, the conditions are necessary for a plan that agents can build in parallel without duplication or omission; they are not sufficient for a plan that is good. A perfectly abstracted, covering, disjoint hierarchy can describe the wrong product. That is why the paradigm places the vision above every level and the human at the vision.
==== 4.4.5 Recognising joints during the flow ====


Second, covering and maximal abstraction depend on meaning and cannot be fully automated. The lint measures a proxy. A hierarchy can pass it and still contain features that do not add up to their epic.
Membranes are filed in two ways. Before building, a tool lists every open container of two or more parts that has no membrane and files a skeleton membrane for each, for approval. During building, joints that the plan did not name are recognised as they surface: when a leaf turns out to need another leaf's output, or two siblings turn out to share state, or a run of one leaf exposes a defect in a sibling. Each is handled the same way: a requires link between the leaves that are actually ordered, and the joining work placed in the container's membrane (or in a new leaf), never inside one of the siblings. An edit that two sibling leaves must both make to one shared file belongs to their membrane for the same reason.


Third, the model treats the hierarchy as fixed at a moment, while real plans change. Wirth's insistence on being able "to revoke earlier decisions, and to back up, if necessary even to the top" (Wirth, 1971, p. 227) applies: the paradigm expects levels to be reopened, re-parented and closed as wont-do, and the ticket history keeps each change. Whether agents revise the upper levels when the lower ones reveal a mistake, rather than patching below, is an empirical question for Chapter 7.
The membrane's evidence is the build plus one recorded run of the joined flow that is not a test suite: the application launched, the command-line tool run on real input, the published artefact checked, the documents cross-read so that every link resolves and every code reference names real source. The run is written in the membrane's close note. Where only the Visionary can make the run (it needs a game, paid access or hardware the Visionary holds), the membrane stays open as a Visionary step with the exact run written down. A membrane closed with no change and no recorded run is empty ceremony, and the evaluation counts it as such.


Fourth, Dijkstra's report carries a warning that applies to any method that relies on structure for correctness: the Eindhoven group's first major mistake was attending for too long to "a perfect installation" and only late to "the 'pathology'" (Dijkstra, 1968). A plan that describes only the intended path will be wrong about failure: about revoked keys, broken checkouts, interrupted sessions and a ticket database that times out under load. Chapter 7 records how many such pathologies the implementation met, and the paradigm's answer to them, which is to file each as a ticket in the tree like any other work.
=== 4.5 The central claim: a waterfall body with two agile pivots ===


=== 3.8 Summary ===
The method's central claim can now be stated precisely. In NHA, an epic is executed mostly as a plan-driven cascade, and it pivots to iterative, discovery-driven work at only two places: at the joints between its parts that neither the plan nor the coding flow had surfaced (the membrane), and at a change the Visionary introduces while the build is under way (change intake, Section 4.6). The cascade is never abandoned to make either pivot: a membrane is scheduled by the dependency rule like any other leaf, and a change is decomposed into the plan's own units before work resumes where it left off.


The paradigm's hierarchy is a tree of tickets whose levels answer different questions and use different vocabularies, together with an acyclic requires graph and a table of owned concerns. Five conditions define a good hierarchy: the vocabulary condition (a level never names what lives below it), covers, disjoint siblings, no buckets, and one owner per concern. An item is maximally abstract when it satisfies the vocabulary condition and could not be stated more abstractly without becoming undecidable. Part of this can be checked by a lint; the rest is placed with agents applying a written rubric and with the human at the source. The conditions descend from stepwise refinement, levels of abstraction, information hiding, work breakdown structures and hierarchical task network planning; their combination, applied by agents to a portfolio, is the paradigm's contribution. Chapter 4 turns from the shape of the hierarchy to the order in which it is built.
<strong>The waterfall body.</strong> Everything above the leaves is fixed in advance: the vision, the complete specification, the tree, and the requirements between leaves. The leaves are built in waves by agents that do not need to discuss their work with each other, because each works from a written ticket in a known order. This is the plan-driven half, and it is a waterfall in the sense Royce (1970) actually described: a whole system documented before it is built, with iteration expected between adjacent steps but not across remote ones (Section 2.2.1).


== Chapter 4 — Reverse Traversal ==
<strong>The agile joints.</strong> The membrane is where the method admits that the plan is incomplete. A joint discovered during building is not a failure of the plan to be corrected by replanning; it is an expected residue, recorded as a membrane, built iteratively (design from the parts' handoffs, build, run the joined flow, fix what the run shows, run again), and closed only on evidence. Within a membrane, work proceeds in short cycles judged by working software, which is the agile principle (Beck et al., 2001); outside it, work proceeds by plan.


=== 4.1 Plan down, build up ===
<strong>Why the pivot does not interrupt the cascade.</strong> Three properties of the method keep the joint from stalling the flow. First, a membrane requires every sibling, so it is scheduled after them by the same rule that orders every other leaf: recognising a joint adds a ticket at the end of its container's subtree, not a stop in the middle of it. Second, the joint's work belongs to the membrane, not to any sibling, so a building agent that discovers a joint does not widen its own leaf; it records the joint and finishes the leaf it was given. Third, a membrane is scoped to its container, so iteration at one joint does not reopen siblings elsewhere: a defect a membrane run finds in a closed leaf is fixed under the membrane as joining work, and a defect found before the membrane exists is filed as its own fix leaf (Section 5.2).


Chapter 3 described the plan as a tree: a milestone holds epics, an epic holds features, a feature holds stories, and a story holds tasks, each level as abstract as it can be and each parent fully covered by its children. A tree says what the work is. It does not say in what order the work can be done, and it does not say what can be done at the same time. This chapter supplies both. It argues that a plan made from the top should be built from the bottom, that the order in which the bottom can be built is fixed by a second structure laid over the tree, a graph of prerequisites, and that layering that graph into waves gives a fleet of agents a schedule they can work without a coordinator deciding, item by item, who does what next.
<strong>What the claim does not say.</strong> The claim is not that the plan is right, nor that joints are rare. It is that joints are local: that the interactions a plan misses are, for the most part, between siblings of one container, and can be repaired where those siblings meet without revising the plan above them. If that is false, membranes will keep reaching upward, reopening containers and revising specifications, and the cascade will in effect be replanned at every tier. Chapter 8 reports what the evaluation can say about this, and Chapter 9 weighs it against the literature on hybrid processes, which has found that practitioners commonly combine a traditional process framework with agile practices inside it (Kuhrmann et al., 2017; Klünder et al., 2019).


The whole movement runs in two directions. Planning runs downstream: a written vision becomes a product specification, the specification becomes milestones, and the milestones are cut into epics, features, stories and tasks (Chapter 5 treats the source). Building runs upstream. Nothing above a task is ever worked directly. An agent picks up a task, changes code, commits, and closes the task; when the last task under a story closes, the story closes; when the last story under a feature closes, the feature closes; and so on until an epic closes and a milestone's last epic brings the milestone within reach of its acceptance checks. The traversal of the tree in building is therefore the reverse of its traversal in planning. Hence the chapter's title.
=== 4.6 Change intake: stop, decompose, resume ===


Reverse traversal is not new as a pattern. Every bottom-up assembly, from a bill of materials to a compiler's build of its own dependencies, does something like it. What is particular to the setting studied here is who does the traversing. The builders are not a team of people who can agree in a meeting what to do next. They are many short-lived agent sessions, often running in parallel on several accounts, each started with a single ticket and no memory of the others. For such builders the plan must carry the schedule inside itself. The rest of this chapter describes how the MindAttic portfolio does that and what goes wrong when it does not.
Membranes cover the gaps that building surfaces. The second pivot covers the changes the Visionary introduces. The method's goal, in the words of the Visionary of the case, is "a 100% working system of building that allows a Visionary to direct and the LLM to code and no room for miscommunication because it was all built with the end goal in mind and if something needs to be added, it stops breaks things down into the correct lego pieces again and resumes where it left off, adding any tickets that need to be created to respond to gaps in the initial logic." Change intake is the mechanism that statement describes. It has four steps.


=== 4.2 Two structures over one set of tickets ===
<strong>Place the change against the source.</strong> A change that arrives during building is first read against the vision document and the affected product's specification. The question is not yet how to build it but whether it fits the vision as written, and where in the hierarchy it belongs: a new outcome (an epic), a new capability under an existing outcome (a feature), a new behaviour (a story), or a correction to something already planned.


Every ticket in the MindAttic ticket database can carry links to other tickets. Two kinds matter here.
<strong>A change that conflicts goes back as one question.</strong> If the change conflicts with the vision, or the vision does not settle where it belongs, it is returned to the Visionary as one precise question, stating the conflict and the alternatives, and it is never resolved by an agent's guess. This is the step that leaves no room for miscommunication: the only path by which an instruction can be misread into the plan is an agent's interpretation, and change intake replaces interpretation with a question wherever the source does not decide.


The <strong>part-of</strong> link builds the tree of Chapter 3. A task is part of a story, a story part of a feature, and so on. Each open ticket has at most one parent, and the level labels (<code>level:epic</code>, <code>level:feature</code>, <code>level:story</code>, <code>level:task</code>) say which rung of the ladder it occupies. A ticket with open children is a <em>container</em>: it is never handed to an agent, and it closes when its children do.
<strong>A change that fits is decomposed into the plan's own units.</strong> The change is broken down by the same rubric as the original plan (Chapter 3): epics, features, stories and tasks, each as abstract as it can be, seated in the tree and mirrored in the specification. The decomposition also looks sideways: where the change reveals a gap in the initial logic (a joint the original plan did not name, a prerequisite it did not record), the gap is filed as a ticket, a membrane or a requires link, exactly as a gap found by building would be.


The <strong>requires</strong> link builds a second structure, a directed graph of prerequisites. "A requires B" means A should not start until B is done. Unlike part-of, requires links may cross any boundary: two tasks in one story, two features in one epic, a story in one milestone and a story in the next, or a product's story and a platform's story in a different repository. The consolidation of 30 November 2026 used exactly such a cross-repository link when it filed the work to route one product's model calls through the shared LLM library: the product's task (PRS-T1405, in the Prose repository) requires the library's task that makes every credential come from the vault (M.LEGN-T130, in MindAttic.Legion), which in turn depends on the vault's own work (the M.VALT-T200 tree). Three repositories, one chain.
<strong>The order is restamped and work resumes.</strong> The new leaves and links change the dependency graph, so the waves are recomputed. Leaves in flight finish under their own scopes; leaves that the change makes wait are held by their new requires links rather than stopped by hand; and every agent resumes from the handoffs and the tree, which now include the change, rather than from a summary of it.


The two structures answer different questions. The tree answers <em>what is this for</em>: follow a task's parents and you reach the outcome it serves. The graph answers <em>what must happen first</em>: follow a task's prerequisites and you reach the work it is waiting for. A plan with only the tree is a catalogue; it can be complete and still give no guidance about order. A plan with only the graph is a schedule without a purpose; it can be executed and still drift from what anyone wanted. Reverse traversal needs both.
Change intake and the membrane are the method's two agile pivots. Both admit that the plan is incomplete, and both repair the incompleteness in the plan's own terms (tickets, links and membranes) rather than by replanning from the top or by letting a building agent widen its leaf. The difference is where the incompleteness comes from: the membrane handles what the build surfaces, and change intake handles what the Visionary adds. Of the two, the membrane is the one the evaluation measured. Change intake is specified here as the step that completes the system; in the case it is being built as a feature of the ticket system and has no results yet (Sections 7.2 and 11.2).


Formally, let $T$ be the set of open tickets, $P \subseteq T \times T$ the part-of relation (a forest), and $R \subseteq T \times T$ the requires relation. A ticket $t$ is a <em>leaf</em> if no open ticket is part of it. Only leaves are worked. Write $L \subseteq T$ for the set of open leaves. The problem the rest of this chapter solves is to derive from $P$ and $R$ an order on $L$ that respects every prerequisite and exposes as much parallelism as possible.
=== 4.7 Scoped agents, handoffs and assembly ===


=== 4.3 What a requirement on a container means ===
Building agents in NHA are bound to scopes, not to the queue. A building agent receives one work unit or an explicit list of tickets, and works only those. It never takes the next ticket by priority from the general queue, because the general queue mixes siblings that share files and containers whose parts are still being built, and agents that take sibling stories by priority in one shared checkout collide on the files their stories share (Section 5.4).


The first difficulty is that requires links are not drawn only between leaves. People and agents writing a plan naturally say that one <em>feature</em> needs another feature, or that the first story of a later milestone needs the polish-and-release feature of the earlier one. That is the right level at which to state such facts: a feature-level dependency is more abstract, and more stable, than a list of leaf-to-leaf links that would have to be rewritten each time a feature was split differently. The rubric of Chapter 3 positively prefers it.
Within a scope, prerequisite-free leaves are built by separate agents in parallel, provided their files are disjoint and their requires links are set before dispatch. When a leaf closes, its agent writes a handoff note: what was built, its interfaces, where it lives, and what the tier above needs. When every part of a container has closed, an assembly agent scoped to the container's unit reads the container's design (from the design pass) and its parts' handoffs, builds the membrane, proves the joined flow and closes it. The handoff notes are the method's means of carrying context between tiers, replacing the summary by message that loses detail at every transfer.


The schedule, however, is made of leaves. So the generator must translate. Two rules do it.
Binding agents to scopes is enforced, not requested. The ticket system keeps a scope table (which agent may take which tickets); the queue and any automatic allocation leave out tickets scoped to another agent; a claim from a session that no longer exists lapses; and a claim from an agent working in a different unit's window is refused. Agents in one session write scratch files only to their own folders.


<strong>A prerequisite that is a container stands for all of its open leaves.</strong> If a task requires a feature, the task waits until every open leaf under that feature is done. This matches what the closing rule already says: the feature is done exactly when its last leaf closes. Writing $\mathrm{leaves}(x)$ for the open leaves in the subtree of $x$ (with $\mathrm{leaves}(x) = {x}$ when $x$ is itself a leaf), a requirement $a \mathrel{R} b$ contributes the prerequisites $\mathrm{leaves}(b)$.
=== 4.8 Evidence proportionate to the claim ===


<strong>A leaf inherits the prerequisites of its containers.</strong> If a feature requires another feature, every leaf under the first must wait for every leaf under the second. Otherwise a requirement stated at the feature level would constrain nothing, since features are never worked. So the prerequisites of a leaf $\ell$ are gathered from $\ell$ itself and from each of its open ancestors:
NHA asks every leaf to leave evidence, and it grades the evidence by what the leaf claims. A leaf that adds code that compiles and does not claim a behaviour is verified by its build. A static page, which has no build, is verified by a measured render: screenshots compared before and after, overflow measured. A refactor that claims "no change in behaviour" is verified by running the previous and the new version on the same input and comparing outputs, not by asserting it. A refactor of user-interface code is verified by a run that exercises the moved behaviour, or the gap is named as a step for the Visionary. Where no compiler exists for the language on the machine, a build check is a parse, an undefined-name pass and a lost-line comparison, with a negative control that proves the parser rejects broken input. A membrane is verified by a recorded joined run. And a run that only the Visionary can make (play the game, make the paid call) is left as a Visionary step with the exact run written down.


$$ \mathrm{pre}(\ell) = \bigcup_{s \in {\ell} \cup \mathrm{anc}(\ell)} ; \bigcup_{(s, b) \in R} \mathrm{leaves}(b) \setminus {\ell}. $$
The test suite is deliberately not the default evidence: it is run when the Visionary asks for it. The reason is cost and independence. A test suite is written by the same agents whose work it checks, and runs in seconds whether or not it covers the joint; a recorded run of the joined flow is cheap to read and hard to fake. Section 5.3 states this as a principle, and Section 8.2.6 reports defects that runs found and builds and tests had not.


These two rules are simple, and in the first version of the waterfall generator they were the whole of the translation. They were not enough, and the way they failed is instructive.
=== 4.9 Safeguards the tooling enforces ===


=== 4.4 A worked failure: 173 cycles that were not there ===
A method executed by agents is only as strong as the rules its tools enforce, because a rule stated in a brief is invisible to an agent that did not read the brief. NHA's instantiation therefore moves its rules into the tools as they are found, and a lesson met while building one unit becomes a rule in the brief, then a story in the product that owns the tool, then a constraint enforced for every unit after it. The safeguards, stated generally, are:


The generator in the MindAttic agent standard, <code>build-waterfall.ps1</code>, was written on 30 November 2026 to produce the portfolio's waterfall: every open leaf in every repository, placed into build waves (Section 4.5). Its first run over the live database reported 1,321 open leaves in 90 repositories, laid out in 27 waves, and 173 prerequisite cycles. A cycle is a fatal defect in a schedule: if A waits for B and B waits for A, neither can ever start. A hundred and seventy-three of them would have meant that the plan, freshly re-verified across the whole portfolio, could not be built.
* <strong>Roll-up guard:</strong> a container of two or more parts does not close unless one part is its membrane, and it does not close while its own requires links are open.
* <strong>Scope table:</strong> tickets are bound to agents; the queue does not offer them to others.
* <strong>Claim hygiene:</strong> a claim names its agent and session, lapses when the session ends, and is refused outside the agent's own unit.
* <strong>Plan check:</strong> a deterministic gate between planning and building (Section 3.6).
* <strong>Read-back:</strong> every filed ticket's labels, links and approval are read back before the commit that records them.
* <strong>Commit by path:</strong> an agent commits only the files of its own ticket, by path, with the ticket's identifier in the subject; it never stashes, resets or discards another agent's work in a shared checkout.
* <strong>Tools never write into what they measure:</strong> measurement and plan checks write to a scratch location or compute in memory; only the unit's own build-up step writes its ledger.
* <strong>Verified install:</strong> a change to a tool every agent runs is not done until the installed tool has been run and shown to have it; the installer verifies its own swap.


The database itself disagreed. Its own consistency check (<code>tickets db check</code>), which looks for prerequisite cycles among the links as written, reported none. The cycles existed only in the generator's translation, and the cause was the inheritance rule of Section 4.3 applied to a pattern the plans used often: a container requiring something inside its own subtree.
The last safeguard was added after the evaluation's primary measurement traced two of its misses to a guard that had been built but not installed (Sections 5.5 and 8.2.5).


Consider a feature $F$ with two stories, $S_1$ and $S_2$, where the plan says that $S_2$ comes after $S_1$. There are two natural ways to write that. One is to link the stories directly: $S_2 \mathrel{R} S_1$. The other, which some agents used when they meant "this feature starts with $S_1$", is to link the feature to its own first child: $F \mathrel{R} S_1$. Under the inheritance rule, every leaf under $F$ inherits $F$'s prerequisite. The leaves under $S_2$ therefore wait for the leaves of $S_1$, which is the intended order. But so do the leaves of $S_1$ themselves: each leaf of $S_1$ inherits from $F$ a requirement on all the leaves of $S_1$, excluding only itself. When $S_1$ has two or more leaves, each waits for the others. That is a cycle, and the generator was right to report it, given the rules it had. The rules were wrong.
=== 4.10 Recording and refining ===


The repair was to read such links as what their authors meant. A prerequisite that lies inside the requiring ticket's own subtree, or that is one of the leaf's own containers, orders siblings; it is not a dependency of every leaf beneath the requiring ticket. So when the generator gathers inherited prerequisites from an ancestor $s$ of a leaf $\ell$, it skips any requirement $(s, b)$ for which $b = s$, $b$ lies below $s$, or $b$ lies above $\ell$. A requirement stated on the leaf itself is still taken at face value. With that one change the same database produced 1,321 leaves in 15 waves and no cycles. The wave count fell as well as the cycle count, because the spurious requirements had also lengthened chains that were not cycles: leaves held back behind their own siblings.
Each completed unit adds a results row and enters every refinement it forced, numbered, in the refinement log. A refinement is anything about the method that did not work in that unit, together with the change made to the method page or the tools. The next unit uses the refined method. This is how the pilot tests the method and how the method improves along the order. It is also a risk to the evaluation, because the method under test is not fixed while it is measured; Chapter 7 says how the pre-registration handles that, and Chapter 10 counts the cost.


The episode is reported here at length for three reasons. First, it shows that the translation from an abstract plan to a concrete schedule is itself a design decision, and that a plausible rule can encode an intention nobody had. Second, it shows the value of an independent check: the database's own cycle report, which looks only at links as written, is what showed the defect to be in the generator and not in the plans. Third, it illustrates a recurring feature of this paradigm. A plan written by many agents at a high level of abstraction will contain idioms, ways of saying "first do this", that no single author designed. The tools that read the plan have to be robust to those idioms or the plan has to be normalised. Here the tool was made robust; the alternative, rewriting every self-referencing link, would have touched hundreds of tickets for no gain in meaning.
=== 4.11 Summary ===


=== 4.5 Waves: layering the graph ===
Building up in NHA takes work units simplest first, pulling forward what another unit or the method itself requires. Within a unit, the comb accounts for every file against the tree and turns disorder into debt tickets; leaves are built in waves by agents bound to scopes; each container's joint is built and proven by an assembly agent as its membrane; and tiers close in pyramid order, guarded by the tool that performs roll-ups. Evidence is proportionate to the claim, and a membrane closes only on a recorded joined run. A change the Visionary introduces is placed against the vision, returned as one question if it conflicts, decomposed into the plan's units if it fits, and the build resumes from its handoffs. The result is a cascade that follows the plan for most of its length and iterates only where finished parts meet and where the Visionary changes the plan. Chapter 5 states the principles that the method's refinements converged on.


Once every leaf has its set of prerequisites, ordering the leaves is a classic problem. The prerequisite relation, if it has no cycles, is a partial order, and any total order consistent with it is a <em>topological order</em>. Procedures for computing one are old and well understood. Kahn's 1962 paper in <em>Communications of the ACM</em>, which gave the activity networks of program evaluation and review technique (PERT) as its example, presented a general method for topological sorting of networks larger than earlier procedures could handle (Kahn, 1962). The network techniques of the late 1950s, PERT for the Polaris missile programme (Malcolm et al., 1959) and the critical-path method developed at DuPont and Remington Rand (Kelley & Walker, 1959), already treated a project as a network of events and activities that must occur in a required order. The present problem is in that tradition, with two differences that matter: the activities are themselves produced and revised by the same agents that perform them, and no durations are estimated.
== Chapter 5 — Principles ==


A single topological order would serialise the work. What a fleet needs is the opposite: to know which items can run <em>at the same time</em>. The generator therefore computes a layering rather than a sequence. Define the wave of a leaf as the length of the longest chain of open prerequisites leading to it:
Chapters 3 and 4 defined NHA's roles, artefacts and procedure. Applying the method to its first work units forced 104 numbered refinements, recorded as they were made in the build-up's raw log (Supplementary Data S1, entries L1 to L50; each refinement is numbered R1 to R104 there). Most refinements are local: a file pattern, a flag, the wording of a brief. Read together, they converge on a small number of principles, each of which explains a family of refinements and the failure that family prevents. This chapter states those principles. Each section gives the principle in general terms, the failure it prevents, the mechanism by which the method enforces it, and one or two instances from the case as evidence. The case instances are evidence for the principles, not their definition; the principles are stated so that they can be applied with any ticket system and any agent fleet. Appendix C maps every refinement to the principle that absorbs it.


$$ w(\ell) = \begin{cases} 0 & \text{if } \mathrm{pre}(\ell) = \emptyset, \ 1 + \max_{p \in \mathrm{pre}(\ell)} w(p) & \text{otherwise.} \end{cases} $$
=== 5.1 Claims are not evidence ===


Wave 0 is every open leaf with no open prerequisite: work that can start now. Wave $n$ holds every leaf whose prerequisites all lie in earlier waves and at least one of which lies in wave $n-1$. By construction no two leaves in the same wave depend on each other, so a wave can be worked in parallel in any order; and a wave can begin when the waves before it are done. The generator computes $w$ by depth-first search with memoisation, marking a node as "visiting" while its prerequisites are explored; meeting a visiting node again is how a cycle is detected and reported rather than followed.
<strong>Principle.</strong> Any statement the system makes about itself (a history credit, a tool's count, a model's design, a closed story's description, a log entry) is a claim. The method acts on it only after reading what it describes: the code, the installed tool's output, the tree's existing links, the ticket store's own history.


The longest-chain definition is deliberate. It is the earliest wave in which a leaf could possibly start if every earlier leaf took one unit of time, and it is the same quantity that, with real durations instead of unit ones, gives the critical path of a project network. No durations are used here. Tasks are sized to a common budget (Section 4.7), so unit time is a reasonable first approximation, and the schedule's purpose is to expose what may run together, not to forecast a finish date.
<strong>The failure it prevents.</strong> A plan that agrees with itself on paper while disagreeing with the code. The most direct case is a ledger seeded from version history. History credits each file to the ticket named in the commits that touched it, so a file created by a commit that happened to name a packaging story is "accounted for" by that story whether or not the story describes it. A ledger built this way can read 100 per cent and be wrong row by row. The same failure appears wherever a mechanical reading stands in for a reading of content: a repository-wide sweep task that touched every file looks more specific than the story the file implements; a commit named by seven tickets credits every file it touched to one of them; a source pattern that does not recognise a product's language reports the product as having no code.


On 30 November 2026 the layering of the MindAttic portfolio, after the fix described above, had this shape (from the generated <code>docs/waterfall/WATERFALL.md</code>):
<strong>Mechanism.</strong> Only an assigned ledger row, written after the file was read and with its reason stated, counts toward the comb. History credits seed the comb and are then confirmed or replaced. The tool's count is stated beside the count by reading wherever they differ. A design proposed by a model is reviewed against the tree's existing links and the specification's owner line before it is taken, and the model that answered is named. A closed story's claim is read before new work builds on it, and a claim that does not hold becomes a fix following up the closed story. Every filed ticket's labels, links and approval are read back before they are committed. The before-rate of a ledger is captured before anything is filed, because filing built stories with commit references inflates it.


{| class="wikitable"
<strong>Evidence.</strong> In the second work unit, a build kit, the history ledger read four of four files accounted, all credited to one story about a properties import because the commit that created them named it; the comb read them and reassigned all four to the feature they serve (S1, L7). In a later unit, reading every file found three of five history credits wrong: an installer credited to an image-upload story, a scheduled-task script credited to a closed story rather than the open task that removes it, and a script implementing about eight stories credited to one settings story (S1, L19). Across the ten-unit sample, all 141 ledger rows at measurement are hand-assigned rows, and 43 of them are seated on tickets the comb itself filed for code that had no story (S3, B1). The principle also governs the evaluation: the independent measurement read the build-up log as claims and checked them against the ticket store and the version history, and in doing so it found two membrane-coverage misses and two early roll-ups that the log, written by the system measured, had not reported (S3; Section 8.2).
! Wave
! Open leaves
! Repositories
|-
| 0
| 851
| 90
|-
| 1
| 212
| 78
|-
| 2
| 109
| 48
|-
| 3
| 50
| 29
|-
| 4
| 31
| 17
|-
| 5
| 24
| 16
|-
| 6–14
| 44
| between 1 and 6 each
|}


Two features of the table bear on the paradigm. First, the plan is wide and shallow: almost two thirds of all open leaves (851 of 1,321) can start immediately, and every one of the 90 repositories has work in wave 0. A fleet of any plausible size would not run out of independent work. Second, the tail is long but thin: a handful of repositories carry chains fifteen waves deep, which is where the critical path of the portfolio lies. Those long chains are what a coordinator, human or not, should watch, because no amount of added parallel capacity shortens them.
=== 5.2 The joint is a first-class unit of work ===


That last point has an old name. The observation usually summarised as Brooks's law, that adding people to a late software project makes it later, rests on the cost of coordinating more workers on work that cannot be divided (Brooks, 1975, cited here only for its commonly stated claim). Graham's analysis of identical processors running tasks under precedence constraints showed that even natural rules for assigning work to free processors, such as each free processor taking the first ready task on a fixed priority list, can behave badly, to the point that adding processors can lengthen the total time to finish a fixed set of tasks (Graham, 1966). The waterfall does not escape either fact. What it does is make the indivisible part visible: the wave count is a lower bound, in rounds, on how quickly the open plan can be finished, whatever the size of the fleet.
<strong>Principle.</strong> The work of making sibling parts work as one belongs to a ticket of its own, the container's membrane, and to no sibling. Joints are recognised before building where the plan can see them and during building where it cannot, and each is built where the parts meet.


=== 4.6 Asynchronous work inside a wave ===
<strong>The failure it prevents.</strong> Two failures, which are mirror images. In the first, siblings each do part of the joining work: two leaves both edit one shared file, and whichever commits second either swallows the other's lines or loses its own. In the second, nobody does it: every leaf is done, the container rolls up on covering alone, and the parts have never run together.


A wave is a promise that its members do not depend on each other. The rest of the MindAttic machinery turns that promise into asynchronous work.
<strong>Mechanism.</strong> One membrane per container of two or more parts, requiring every sibling (Section 4.4). An edit two siblings must both make to one shared file goes to the membrane. A composition root that already joins parts is recorded as a built membrane. A membrane's brief names the open leaves under its parts, so that it can be closed in the session that builds it; its acceptance names a run an agent can make, or is marked as the Visionary's from the start. A defect that a membrane run finds in a closed leaf is fixed under the membrane as joining work; a defect found before the membrane exists is filed as its own fix leaf. A defect one leaf's run finds in a sibling is reopened and fixed under the sibling's own identifier. The joined flow is run once on sample input before the first debt is built as well as at the membrane, so that a defect in a closed leaf surfaces early.


The ticket queue (<code>tickets ticket queue</code>) lists open tickets in priority order. Priorities are derived from the tree, not set per task: each epic has a band (for example 900, 800, 700 for the first three epics of a milestone) and each feature a rank within its epic's band (990, 980, ...), and every story and task beneath a feature takes the feature's number. The queue therefore presents, within whatever a worker is allowed to take, the top epic's top feature first. A dispatcher (the Orchestrator, or the <code>/allocate</code> command running inside a single session) gives each free agent the highest-priority leaf whose prerequisites are done. Two agents on two different accounts, in two different repositories, never need to know about each other: if their leaves are both in the current frontier, the prerequisite graph has already established that they are independent.
<strong>Evidence.</strong> The principle was found by collision before it was planned. Three agents working one repository's planning tool at once took two sibling stories that both had to register commands in one file; committing by path took the whole file, so one agent's commit absorbed the other's lines and the main branch briefly referenced commands with no code (S1, L5). The shared registration point was connective tissue between siblings that no story owned. Later, a membrane run found what each part's own verification had not: in one work unit, the joined run of an image pool showed that the review step's resume key named file slots rather than pictures, so a re-harvest reusing file names would have counted new pictures as already reviewed; the fix went in under the membrane (S1, L36). In another, a baseline run of the joined flow, made before any membrane was built, showed that a closed leaf threw on a model whose skinned mesh sits at the scene root (S1, L41).


This is the sense in which the plan carries its own schedule. Nobody computes a timetable. A worker asks "what is ready?" and the answer comes from two facts stored in the database: which tickets are closed, and which links remain. The waterfall document is a picture of that answer for people. The dispatch itself needs only the links.
=== 5.3 Proof is a recorded run of the behaviour claimed ===


The same property explains why the paradigm tolerates interruption. During the consolidation runs described in Chapter 7, the account doing the work hit its five-hour usage limit twice; agents stopped mid-job, and work resumed in the next window by sending each stopped agent the instruction to continue. Because state lived in tickets and commits, not in any agent's memory of a schedule, nothing needed to be replanned. Agents that had filed half their tickets were told to check what already existed before filing more. The schedule after the interruption was the same schedule, minus what had closed.
<strong>Principle.</strong> The evidence a unit of work leaves is proportionate to what it claims, and a claim about behaviour is proven by running the behaviour, recorded where the next reader will find it. A build proves that code compiles; it does not prove that a refactor changed nothing, that a page renders as before, or that two parts work together.


=== 4.7 The unit at the bottom: minnows, not whales ===
<strong>The failure it prevents.</strong> Behaviour changes passing as no-ops. Agents verify by building, and a build is silent about what the code does; a test suite written by the same agents is silent about the joints it does not cover. Without a run, a "no change in behaviour" refactor of shipped code moves its risk onto whoever runs it next.


Reverse traversal only works if the leaves are small enough to be finished. The MindAttic standard fixes the size of a task by budget rather than by feel. A task is what one agent session can do within the Orchestrator's unit budget, 80,000 uncached tokens by default: one subagent, one commit, one ticket. The owner's phrasing, recorded in the standard on 21 November 2026, was to "stop biting off whale sized tasks and instead eat minnows until you have a whale's weight of work completed."
<strong>Mechanism.</strong> The ladder of Section 4.8: a build for code that claims no behaviour; a measured render for a page; outputs of the previous and new versions compared on the same input for a refactor claiming no change; a run exercising the moved behaviour for user-interface code; a parse, an undefined-name pass and a lost-line comparison with a negative control where no compiler exists; a cross-read (every link resolves, every code reference names real source) for a membrane joining documents; a recorded joined run for any other membrane. A fake that reproduces a live service's refusal turns a defect seen only against a paid service into a local check. A candidate defect that depends on a configuration setting is judged by reading that setting in every consumer. A smoke run on fake input judges the path, not the skill, and separates harness failures from product failures before any product code is touched.


The budget does three jobs in the traversal. It makes unit time a fair approximation in the wave model, since every leaf is about the same size. It bounds the damage of a failed attempt: a task that goes wrong costs at most one budget, and its partial work is either landed or discarded as one commit. And it forces the plan's lowest level to be concrete. A leaf that cannot be done within one budget is, by definition, not yet a task.
<strong>Evidence.</strong> For a static site with no build, debt that moved a copied brand block into one stylesheet was verified by ten headless screenshots, pixel-identical before and after (S1, L10). Where no compiler for a 2,797-line scripting-language modification existed on the machine, a parser accepted a name left behind by a move; the undefined-name pass caught it before commit, and the negative control showed the parser did reject broken input (S1, L45). In a logging tool, one leaf's recorded run found that a sibling's log policy was overridden by the logging library's own defaults, which the sibling's build had not shown; the sibling was reopened and fixed (S1, L43).


Not every leaf is a task when it enters the queue. Under the release sequences adopted in the 30 November consolidation, a milestone after the active one is written as approved stories without tasks: the spec says what the behaviour is and how it will be accepted, and the splitting into tasks is deferred. When the queue reaches such a story, the worker's first act is a <em>plan pass</em>: it sizes the story and either marks it as a task, if it fits the budget, or splits it into child tasks and stops. The split changes the tree beneath the story but not the graph above it: the story's prerequisites now constrain each new task through the inheritance rule of Section 4.3, and anything that required the story now waits for all its tasks. Deferring the split is itself an application of the paradigm. The most concrete level is written last, by the agent closest to the code, at the moment it is needed, while everything above it was fixed from the source.
=== 5.4 Scope binds agents, not priority ===


The overrun rule closes the loop. An agent that finds itself past the budget lands what is complete, splits the remainder into child tasks, and stops. Work never accumulates as a large unlanded change held by one session.
<strong>Principle.</strong> An agent works only what it was given: one work unit, or an explicit list of tickets. It does not take work from the general queue by priority. Context passes between tiers in written handoffs, not in messages.


=== 4.8 Roll-up: how building climbs the tree ===
<strong>The failure it prevents.</strong> Collisions and lost context. Agents that draw sibling stories from a shared queue by priority, in one shared working copy, collide on the files those stories share; an agent that takes over a unit someone else began is told by message what was done, and detail is lost at every such transfer.


Closing is where the traversal visibly runs upward. When a task's commit lands, the agent closes the task. The database then checks the task's parent: if it has no open children left, it closes too, and the check repeats one level up. A single closing task can therefore close a story, a feature, an epic and, through the epic, complete the last member of a milestone, at which point the milestone's acceptance checks (a build, the existence of a published artefact, a harness run, or the owner's sign-off) decide whether it is reached.
<strong>Mechanism.</strong> The scope table, the queue's exclusion of tickets scoped to another agent, lapsing claims, claims refused outside the agent's unit, and private scratch folders (Section 4.7). Handoff notes on every closed leaf, and an assembly agent that starts from the container's design and its parts' handoffs. A building agent's prompt to its own sub-agents carries the standing rules, because a rule the orchestrating agent knows is invisible to a fresh sub-agent unless its prompt states it. A long publishing job that pushes rebases before its push, so that a leaf landing during the run does not fail it.


Two details keep roll-up honest. First, roll-up closes containers only when <em>all</em> their children are closed, so a container can never be marked done while a part of it is open. Second, the closing reason propagates: a container closed by roll-up records that its children closed it, so it is always possible to tell a feature that was judged done from one that was merely emptied. The consolidation of 30 November closed its own parent ticket in exactly this way: when the last two jobs closed after the owner unblocked their commits, the database reported the parent "closed (children done)" and, one level further, the earlier reset ticket as well.
<strong>Evidence.</strong> The principle was stated by the Visionary of the case, after the collisions of Section 5.2, as the method's cornerstone: build what has no prerequisites in separate agent sessions and assemble it in closely related ones, because "this way you can always be sure that CLIs are concentrating on only the tickets they are concerned with and not randomly picking up stories because their priority is lowest" (S1, L14). Two instances show it working and one shows its absence. A scoped agent's window refused it an edit to a file outside its unit, which was the rule doing its job; the brief, not the agent, had been wrong (S1, L15). Inside one unit, leaves with disjoint files and their requires links set before dispatch ran as parallel sub-agents without a collision, including a membrane unblocked mid-session (S1, L19). And where units had been built before their scoped agents started, the orchestrating agent had to tell the new agents by message what was already done: the handover by message that the handoff rule exists to avoid (S1, L14).


The design choice behind roll-up is that a container has no work of its own. Anything a feature needs (documentation, a final integration, a sign-off) must be a child of it. Chapter 3's rubric forbids "bucket" containers for exactly this reason: a bucket is a place where work hides from the tree. A milestone's closing <em>polish and release</em> feature is the sanctioned form of the same need, a named feature with named stories (fit and finish, documentation current, owner sign-off), which roll-up treats like any other.
=== 5.5 A fix counts only once installed and observed ===


=== 4.9 Failure modes ===
<strong>Principle.</strong> A change to a tool that every agent runs is not in force when its source is committed, nor when its ticket closes. It is in force when the installed tool has been run and shown to have it. The installer verifies its own swap.


Reverse traversal makes strong assumptions, and the record of the MindAttic runs shows where they break. Four kinds of failure are worth naming, because each has a specific remedy and each recurs.
<strong>The failure it prevents.</strong> Protection on paper. A guard built in source protects nobody while agents run an older installed copy; worse, the record says the guard exists, so a violation it should have prevented is read as impossible.


<strong>Cycles.</strong> A true cycle in the prerequisite graph halts every leaf on it. Section 4.4 showed a false one; true ones arise when two agents, each correctly, link their own work to the other's. The remedies are layered: the database's consistency check rejects cycles among the links as written, the generator detects and reports cycles in its translation rather than following them, and the re-verification brief for the 30 November pass required that the database's cycle check stay clean after every agent added links. None of these prevents a cycle from being proposed; together they ensure it is seen before anyone waits on it.
<strong>Mechanism.</strong> A tool story's done includes its install; installation is done only when no instance of the tool is running and is verified by running the installed tool against a case it should now handle; tools publish from a clean archive of the committed source; and the refinement log states the installed tool's behaviour, not the source's. Generated views that a close changes (a repository's list of its own tickets) are regenerated in the same commit as the close, so that the view does not drift.


<strong>Stale claims.</strong> When an agent starts a ticket it records a claim, with its account, session and start time. A claim tells others not to take the ticket. If the session dies, the claim outlives it, and the ticket appears to be in progress forever. The consolidation briefs therefore treated a claim younger than 24 hours as live (the ticket was judged and noted but left alone) and an older one as stale (judged normally). On the morning of 30 November four tickets were claimed, all within hours; by the afternoon those claims had lapsed and the next job judged them normally. The 24-hour line is a heuristic. A claim that encoded a heartbeat, renewed while the session lived, would remove the guesswork.
<strong>Evidence.</strong> This principle carries the evaluation's main causal finding. The roll-up guard of Section 4.4.3 was built and its ticket closed, and the build-up log recorded that the early roll-up it prevents "can no longer happen" (S1, L21). Hours later a container rolled up without a membrane, because the installed tool predated the guard (S1, L28). The primary measurement then showed that the installer had reported success while its swap failed under a locked file; that one defect explains the second early roll-up, the missing closer records behind the autonomy criterion's inference, and the apparent absence of two source-pattern refinements from the installed ledger tool, which on reinstall proved to have been in the source all along (S1, L48, L49; S3). The installer was fixed to verify its swap and the guard's install closed; the refinement that states the principle, R103, is the last of the build-up's refinements before the re-measure (S1, L49).


<strong>Shared-checkout hazards.</strong> The standard deliberately has every agent work in the repository's one checkout on its main branch, with no separate branches or worktrees. Parallel agents touch disjoint files and commit by explicit path. This keeps every change layered on the latest main and avoids merge work, but it means one agent's git operation can disturb another's uncommitted files. The sharpest instance in the record is a pull command run with git's automatic stash option during the 30 November consolidation: in the MindAttic.Tickets checkout it failed to restore another agent's staged changes. The agent that ran it noticed, restored the staged state of the twelve affected files from the stash, and reported the hazard; the coordinator changed the brief within the hour to forbid any stash and to rebase only on a clean tree, and sent the change to every running agent. Nothing was lost. The lesson for the paradigm is that asynchronous parallel work needs not only independent <em>tickets</em>, which the waves provide, but also independent <em>effects</em>, which the version-control discipline must provide. The waves guarantee that two tasks do not depend on each other; they do not guarantee that two agents' tools will not collide in the same directory.
=== 5.6 The machine is part of the build ===


<strong>Contention on the shared record.</strong> All dispatch decisions read the ticket database, and under the load of a dozen agents filing and linking at once it timed out repeatedly. Agents re-ran the failed commands and checked that they had taken effect, and one ticket created half-way was repaired by hand. The traversal depends on the database being the single source of truth, so its availability is a hard requirement of the method, not a convenience. A plan that is correct but cannot be read is not a schedule.
<strong>Principle.</strong> The machine that hosts the agents, the plan's database and the build tools is a resource the plan must account for, like any other prerequisite. Free memory, disk contention, cold caches and the availability of the ticket store bound the method's throughput, and they are measured, not assumed.


A fifth failure is less a breakdown than a limit: <strong>the plan is only as ordered as its links.</strong> A prerequisite nobody recorded does not exist for the generator, and two tasks it places in the same wave may still conflict in practice. The re-verification brief asked agents to add links only where order really matters and not where it merely expresses a preference. That keeps the graph meaningful but leaves the completeness of the graph to judgement. Chapter 7 reports how many links the 30 November pass added and where.
<strong>The failure it prevents.</strong> Stalls misread as defects, and a plan halted by its own infrastructure. A slow step looks hung; stopping it throws away its partial work, so every retry starts again. Agent sessions launched under memory pressure never start. When the database that holds the plan stops answering, every step of the method stops, because reasoning, comb, membranes and closes all go through it.


=== 4.10 What reverse traversal asks of the human ===
<strong>Mechanism.</strong> Under resource pressure a unit's work splits into a plan phase and a build phase (Section 4.2). Finished agent sessions are ended as soon as their unit is recorded, and launches are capped by free memory. A step is sampled (stack traces, input and output counters) before it is declared hung. Long jobs run in resumable chunks keyed on content, never on reusable slots. A joined run that starts an engine is given a warm cache or allowed a cold first start. Builds on a machine shared by many agents run single-node without a shared compiler server. Under database pressure, a create that times out is checked for before it is retried.


The traversal described in this chapter needs no human in its loop. Agents take ready leaves, close them, and the tree closes above them. That is the point. The human's contribution is upstream: the vision the plan descends from (Chapter 5) and the few decisions only a person can make, such as purchases, accounts and sign-offs. In the waterfall these appear as leaves like any other, often deep in a chain. One of the questions Chapter 7 takes up is how many of the portfolio's longest chains end, or pass through, a step that only the owner can take, because each such step is a point where reverse traversal waits on the source.
<strong>Evidence.</strong> In the case, free memory stayed between 0.5 and 4 GB of 32 for a long period; agent sessions launched under that pressure hung at start; and finally the database server that holds the ticket store stopped answering, which halted every agent (S1, L27). Later, a release publish that had been "hung" twice and a membrane run that had stalled were both traced to one hard disk holding every cache on the machine, measured at 0 per cent idle with a queue of 7 to 29: the publish was hashing a first-time package at 30 to 50 KB/s, and each earlier stop had thrown away its partial work. Allowed to finish once, it took three minutes (S1, L37).


The claim of this chapter is narrower than the claim of the dissertation. It is that a plan written top-down as a maximally abstract tree, with prerequisites stated at whatever level is natural and translated mechanically to its leaves, yields a schedule that many independent agents can work in parallel without central assignment, that survives interruption without replanning, and that shows by its own shape where parallel capacity cannot help. The MindAttic waterfall of 30 November 2026, 1,321 leaves in 15 waves with 851 startable at once, is one instance of that schedule. Whether such schedules are actually followed to the end, and whether following them produces the products the source describes, is the subject of the chapters that follow.
This principle treats the machine as a bound on the hierarchy. Chapter 6 goes further: once the work runs on many machines, the capacity is itself a nested hierarchy that mirrors the plan, and the principle becomes a statement about one of its levels.


== Chapter 5 — Single Source ==
=== 5.7 Every concern has one owner, and work moves to it ===


=== 5.1 The problem of many paths ===
<strong>Principle.</strong> The single-source rule of Section 3.4.3 is enforced during building, not only during planning. Duplication across sibling products, and code in a shared product that serves only one consumer, are both debt, and each is resolved by moving the work to its owner, pulled forward if the owner sits later in the order. A requirement is placed only where it is real.


Chapters 3 and 4 treat one plan at a time. Chapter 3 gives a single tree of epics, features, stories and tasks, and asks that each level be as abstract as it can be and that each parent be exactly covered by its children. Chapter 4 adds the prerequisite graph and shows how the open leaves of that tree fall into waves that can be built in parallel. Both arguments are local to a tree. Neither says anything about what happens when there are a hundred trees.
<strong>The failure it prevents.</strong> Copies that drift. Two products that each carry their own copy of a shared behaviour diverge, and a fix to one does not reach the other. The converse failure is a shared product holding one consumer's code, which every other consumer then carries. A third failure is a false requirement: a fix that could land today linked to a pending decision in another product, so that the fix, and everything under it, waits for nothing.


That is the situation this dissertation studies. The MindAttic workspace held 102 repositories in the ticket database at the start of the study period, 90 of them active, each with its own plan (Chapter 7 gives the counts and their sources). Every one of those plans can satisfy the rubric of Chapter 3 and still be wrong, because each can be locally coherent and globally redundant. Two repositories can each build, with impeccable internal abstraction, the same capability twice. Three can each assume a different answer to the same question. A product can quietly grow its own version of something the platform already owns, and the duplicate will pass every local check because nothing local is violated.
<strong>Mechanism.</strong> Duplication across siblings is filed as debt in the comb of the first sibling reached and built by pulling the leaves forward into the owner product; the siblings' copies remain until their own combs. Copies whose owner has no helper yet are reported by the sibling, and the orchestrating agent files the owner's story. Consuming an existing helper is a reading of its semantics (storage keys, read paths, validation), not a diff, and the difference is part of the debt. A shared product's code with one consumer moves to that consumer before any shared version moves past its removal. A library that ships only to its own sites is not yet an owner for a consumer of another kind: the debt first needs a delivery story in the owner. A requirement on a version move is checked against what the current version already holds, and a fix that can be written against today's names is not linked to a rename.


The owner of the portfolio described the symptom directly, in the request that opened the second consolidation pass: "everything is getting too many different paths and it's not consolidating" (ticket MAT-T360). The word <em>paths</em> is apt. A portfolio of agent-built repositories sprawls: work spreads into paths that each look purposeful from inside and that, taken together, carry the same work in several directions at once. This chapter is about how to make the sprawl one plan again. Its answer has three parts. There must be one written source from which every plan flows (Section 5.2). That source must say, for every concern that more than one product needs, which single repository owns it (Section 5.3). And a product that needs an owned concern must <em>require</em> the owner's story rather than build its own (Sections 5.4 and 5.5). The rest of the chapter places the human in this structure (Sections 5.6 and 5.7), relates it to Conway's law and to the current practice of platform teams (Section 5.8), and states its limits (Section 5.9).
<strong>Evidence.</strong> The fourth unit's comb found three files that were near-copies across a family of game modifications; their owner, by the vision's table, was the family's shared product, seventh in the order, so its leaves were pulled forward and built there first, and the modification's debt stories required them (S1, L9). Two copies of the same blast effect, already drifted, were later read for meaning rather than diffed: one kept a blast's sight line out of a low ceiling and the other did not, so the first became the reference (S1, L28). In another unit, a fix that repointed an application at where a sibling product publishes today was linked as requiring that sibling's undecided rename; removing the link let the fix be built and closed, and the epic it held no longer waited (S1, L31).


=== 5.2 The source: a written vision ===
=== 5.8 What only the Visionary can decide is routed, never guessed or forced ===


The source is a document. In the workspace it is <code>docs/ECOSYSTEM.md</code>, written on 2026-11-30 under ticket MAT-T462. It is short, under a hundred lines, and it does four things.
<strong>Principle.</strong> A step that needs the Visionary (a run only the Visionary can make, a purchase, a key, a sign-off, a decision the vision does not settle) is made explicit as a Visionary step, with the exact action written down, and left open. Agents neither perform it blind nor decide it by default. Tools stop at the boundary: they do not roll a decision the Visionary owns into a cascade of closes.


First, it states the vision in one paragraph: the portfolio is one person's studio, in which "the owner holds the vision; a fleet of LLM agents plans, builds, ships and maintains every product", and the platform exists "so that each product can stay small, consistent and finishable".
<strong>The failure it prevents.</strong> Two failures. In one, an agent makes an unbuildable or unauthorised change on the Visionary's behalf: an edit in a language whose only compiler is inside a game, where a compile error would disable every modification, or a paid call made to prove a membrane. In the other, the method's automation takes a decision silently: a roll-up that closes a single-feature epic the plan check had left to the Visionary to fold or plan further.


Second, it draws the flow of authority that gives the paradigm its name:
<strong>Mechanism.</strong> Visionary steps are listed on the unit's results row; a leaf blocked by another product's pending work is recorded as "blocked by", not as a Visionary step; a stalled leaf's partial work is committed and the leaf stays open with a note of what it needs. Debt whose only build is a proprietary compiler is filed, approved and left open. A membrane does not require the Visionary's sign-off; where the last feature is the sign-off, the sign-off requires the membrane. A roll-up stops at a container the plan check flagged for the Visionary. A membrane whose run needs elevation is a Visionary step for an unelevated agent, and its note splits the run into the parts an agent can and cannot make. Where good evidence exists and the environment cannot reproduce it honestly (a window the agent's display renders black), the evidence is kept and the capture stays a Visionary step.


<pre class="md-code">ECOSYSTEM.md (the vision, owned by the owner)
<strong>Evidence.</strong> A two-input system in a game's scripting language was left open as debt because no compiler for it exists outside the game, and a compile error there disables every script modification, so an unbuilt edit would be worse than the debt (S1, L12). The same principle explains the primary measurement's debt criterion: of the three debts open at measurement, one is such a Visionary step, one waits on a story the Visionary had not yet approved, and one waits on the Visionary's decision about when to move a shared dependency (S3, B2). The principle also explains a decision the method did not route well: one unit's cascade of closes reached a single-feature epic the plan check had left to the Visionary and closed it anyway (S1, L33), which led to the rule that a roll-up stops at such a container.
  -> repo docs/SPEC.md (the whole product, on paper)
    -> milestones in build order (docs/RELEASE.md: the current finish line)
        -> epics -> features -> stories -> tasks (one agent session each)</pre>


Third, it divides the repositories into two layers: the <em>platform</em>, which is the studio itself and is built once, and the <em>products</em>, which are what the studio makes. Fourth, and most important for this chapter, it gives a table of concerns, each with exactly one owner repository and one rule for everyone else.
=== 5.9 A ninth observation: repair can expose what a miss masked ===


The document also states its own precedence: "When a repo's plan disagrees with this page, this page wins until the owner changes it. The owner edits this page; agents edit everything downstream of it." That sentence is the whole of the source's authority. It does not rely on any mechanism other than the agents' instruction to read the document before planning, and the rubric's demand (Chapter 3) that every repository's specification state, in its first section, which part of the vision it serves and, in its sixth, which platform repositories it uses.
The last refinement of the record, R104, is less a principle of building than one of measuring: repairing one criterion can expose misses in another that the first had masked, so a re-measure reads every criterion again rather than only the repaired one (S1, L50). It arose because filing the missing membranes for two containers, the only repair available for the membrane-coverage criterion, made those containers testable by the pyramid-order criterion, and both had rolled up hours before their membranes existed (Section 8.2.4). It is recorded here because it bears on any method that measures and repairs itself, and Chapter 10 returns to it as a threat to validity.


Why must the source be written? Brooks argued that the essence of a software entity "is a construct of interlocking concepts", and that "the hard part of building software [is] the specification, design, and testing of this conceptual construct, not the labor of representing it" (Brooks, 1986). In a human team the conceptual construct lives, imperfectly, in the heads of the people who share it, and is refreshed by conversation. A fleet of LLM agents has no shared head. Each agent session begins without memory of the others; what it knows of the construct is what it reads. If the construct is not written, every agent reconstructs it from whatever fragments it encounters, and different agents reconstruct different constructs. The sprawl forms not because agents disobey the vision but because they never received the same one. A written source is therefore not a documentation nicety in this paradigm. It is the only channel through which the conceptual construct can reach the builders at all.
=== 5.10 Summary ===


The source must also be <em>upstream</em> of the plans and not a summary of them. A portfolio overview generated from the plans (the workspace had one, <code>docs/PORTFOLIO.md</code>, produced by the reset of MAT-T319) describes the sprawl faithfully, including its redundancies. The source is the reverse: it says what the plans should be, and the plans are corrected to match it. The difference is the direction of the arrow, and Section 5.7 shows how that direction is maintained in practice.
Eight principles absorb the build-up's refinements: claims are not evidence; the joint is a first-class unit of work; proof is a recorded run of the behaviour claimed; scope binds agents, not priority; a fix counts only once installed and observed; the machine is part of the build; every concern has one owner and work moves to it; and what only the Visionary can decide is routed, never guessed or forced. A ninth observation, that repair can expose what a miss masked, governs measurement. The first three are the method's epistemics, the next three its operations, and the last two its relation to the vision and to the Visionary. Appendix C lists which refinements each absorbs. Chapter 6 extends the method's hierarchy from the code to the hardware, and Chapter 7 describes how the method was evaluated.


=== 5.3 One owner per concern ===
== Chapter 6 — Hardware Is a Level Too ==


The table at the heart of the source lists concerns such as credentials and settings, LLM calls, the plan, agent execution, scheduled jobs, app-to-app messages, shipping, notifications, logging, file storage, document export, user-interface controls, sign-in, browser and media capture, automation drivers, engine kits, scholarly writing, the art pipeline and the documentation hub. For each it names one owner repository (MindAttic.Vault for credentials, MindAttic.Legion for LLM calls, MindAttic.Tickets for the plan, and so on) and states one rule for every other repository: for credentials, "every key and setting resolves through Vault; no key in env vars, app config or device files"; for LLM calls, "every chat, vote, judge or embedding call goes through Legion; no product keeps its own provider client".
Chapters 3 and 4 applied Nested Hierarchy Abstraction to the work: the vision, the specification, the tree of epics, features, stories and tasks, and the order in which its leaves are built. Section 5.6 treated the machine that runs the agents as a resource the plan must account for, outside the hierarchy and bounding it. This chapter states a stronger claim, which the Visionary of the case put in two sentences when the portfolio's orchestration tool began to span several computers: "this whole mesh architecture shift has to merge perfectly with the Nested Hierarchy Abstraction too; the abstraction isn't just in the code and software, it's also in the hardware", with the aim of "total distributed computing and coding based on full abstraction of problems to their smallest units of work" (the Visionary's instruction of 2 December 2026, recorded in ticket DNHA-T50). Section 6.1 states the distinction precisely. Section 6.2 gives it a formal shape alongside the conditions of Section 3.4. Section 6.3 explains why decomposing work to its smallest unit is what makes distribution possible, and where its limits lie. Section 6.4 describes the case, a mesh of the Visionary's own computers built on the method's single source, and maps every level of the method onto it. Section 6.5 sets the design against the standards and established practice that bear on it, stating where it conforms and where it departs on purpose. Section 6.6 states the threats and limits, and Section 6.7 what will be measured.


The first law of the source generalises the table: "A product never re-implements a platform concern. When it needs something the owner repo lacks, that becomes a story in the owner repo, and the product's story <code>requires</code> it."
Unlike Chapters 3 to 5, this chapter describes its instance beside its general statement, for a reason that also limits it. The evaluations of Chapters 7 and 8 ran on one machine (Section 7.2). The mesh was designed on 2 December 2026, after both studied periods, and is being built as this is written. Nothing in this chapter is a measured result. It states a design, the reasons for it, the published work it rests on and departs from, and the measurements that will test it.


The principle is old. Parnas's argument for modular decomposition was that "it is almost always incorrect to begin the decomposition of a system into modules on the basis of a flowchart", and that one should begin instead "with a list of difficult design decisions or design decisions which are likely to change. Each module is then designed to hide such a decision from the others" (Parnas, 1972). A concern in the source's table is exactly such a decision. Where API keys are kept, how a key is checked, which endpoint a provider is reached at, how a failure is classified: these are decisions that are difficult and that change. Parnas's criterion assigns each to one module that hides it. The source applies the same criterion one level up, to repositories instead of modules, and adds an owner, because in a portfolio built by agents the question is not only which component hides a decision but which plan is allowed to change it. Brooks makes the same point from the other side: software parts are unalike "at least above the statement level", and "if they are [alike], we make the two similar parts into one, a subroutine" (Brooks, 1986). One owner per concern is the portfolio-scale version of making two similar parts into one.
=== 6.1 The distinction ===


What is new in the agent setting is how cheaply the principle is violated. A human engineer who needs a capability the platform lacks faces a social cost in asking the platform's owner for it and a time cost in waiting; building a local version is tempting but at least deliberate. An agent working one task in one repository faces neither cost and has no reason to know the platform version exists unless it is written down where the agent will read it. The local version is the path of least resistance, and it is taken silently. A portfolio of agents therefore needs the ownership rule to be explicit, centrally written and checked, more than a human team does.
The method so far has one hierarchy, the plan, and one executing machine. Section 3.4.5 ended refinement at the task, "sized so that one agent session can complete it and land it as one commit", following Wirth's (1971) rule that decomposition stops at the facilities of the executing machine. Section 5.6 then treated the machine's memory, disk and database as prerequisites whose exhaustion stalls the plan. Both treat the hardware as something the hierarchy runs <em>on</em>.


=== 5.4 A case: four answers to "which key?" ===
The distinction this chapter draws is that the execution capacity is itself a nested hierarchy, and that it mirrors the plan level for level. A portfolio's capacity is a <em>mesh</em> of machines; each machine, a <em>node</em>, hosts <em>sessions</em> (an agent command-line host running under one model account); each session runs <em>agents</em>, the sub-agents that each take one task. Like the plan, the capacity hierarchy has containers that are never the unit of work (no mesh, node or session does a task; each only hosts what does) and leaves that are the only thing that works (an agent holds one task at a time). Like the plan, it hangs from one source: the record of which leaf of the plan is held by which leaf of the capacity tree lives in the same store as the plan, and in nowhere else. And like the plan, it is built in the opposite direction to the one in which it is described. The plan is written from the vision down and built from the leaves up; the capacity is described from the mesh down and composed from the agents up, each container's capacity being what its parts can do, bounded by what it has.


The clearest evidence for the rule in this study came from the portfolio's own credentials, and it came unplanned, in the middle of the consolidation work. It is worth telling in detail because every element of the paradigm appears in it.
<em>Vision down, build up</em> therefore has a second reading. On the side of the work, it means decomposing a product down to tasks and building the product back up from them. On the side of the hardware, it means decomposing the whole workload down to units each small enough for one agent on any machine, and composing capacity back up from agents to sessions, sessions to nodes and nodes to the mesh. The two decompositions meet at the leaf. The task is defined by the agent (it is whatever one agent session can hold), and the agent's work is defined by the task (it holds exactly one). That meeting point is what makes the work distributable: because every leaf fits any agent, any idle agent on any node can take any leaf whose prerequisites are closed, and the plan never needs to know which machine will build it.


On 2026-11-30 two repositories, MindAttic.Vault and MindAttic.Legion, could not commit their documentation: both run a pre-commit hook that checks, live, that the "trusted" panel of LLM provider keys still authenticates, and a key had failed. The owner asked which keys needed attention. A probe of every stored key against each provider's free model-listing endpoint found that the Anthropic, OpenAI and Groq keys were rejected with HTTP 401, the Google Gemini key with "API key not valid", the OpenRouter key with "User not found", and that the DeepSeek key was valid but its account balance stood at −0.01 USD (recorded in <code>MindAttic.Vault/docs/research/llm-provider-catalog.md</code>). The same probe found four user environment variables, <code>OPENAI_API_KEY</code>, <code>OPENAI_TUTOR_API_KEY</code>, <code>OPENAI_IDIOTPROOF_API_KEY</code> and <code>DEEPSEEK_API_KEY</code>, holding keys outside the vault altogether.
Three clarifications keep the distinction from claiming too much. First, it does not make hardware a kind of ticket, or put machines into the plan's tree. The two hierarchies stay separate and are joined only at their leaves, by a correspondence recorded in the shared store (Section 6.2). Second, it does not add to distributed-systems theory. Every mechanism the case uses (leases, fencing, a single serialised writer, pull-based scheduling) is established, and Section 6.5 cites each. What the chapter adds is the observation that NHA's planning conditions are what make those mechanisms sufficient for agent-built software: the scheduling literature assumes units of work that are independent and of bounded size, and the method's conditions on the plan (disjoint siblings, explicit requirements, maximal abstraction, the task budget) are what produce such units from a product. Third, the level names are roles, as in Section 3.2. A session is a host and account pairing, not a program; a node is whatever one operating-system instance controls.


The dead keys were an operational problem. What the investigation that followed found was an architectural one. A read-only survey of the workspace, made to answer the owner's question of whether Legion was "still wired into everything", showed that the concern of LLM credentials had at least four answers.
=== 6.2 Two hierarchies and their correspondence ===


The first answer was Vault's own resolver. Its source documents a precedence chain, "explicit DI > env var > vault providers.json > database / fallback" (<code>MindAttic.Vault/Resolution/KeyResolver.cs</code>, lines 9 to 14). An environment variable therefore <em>wins over</em> the vault. A dead <code>OPENAI_API_KEY</code> on the machine would override a good key in the vault, and replacing the vault's key would change nothing. The component meant to own credentials had, in its own resolution order, ceded ownership to whatever the machine's environment happened to contain.
Let $T$ be the plan of Section 3.4.1, with levels $L$ and parent function $\pi$. Let $H$ be the capacity tree at a given moment, with levels


The second answer was a provider list. The workspace held four separate lists of LLM providers: Vault's <code>ProviderCatalog.cs</code> with 26 entries, Legion's <code>LlmProviderCatalog.cs</code> with 13, Vault's desktop <code>KeyTester.cs</code> with 13, and Legion's <code>LegionClient.cs</code> with 13 endpoint entries. They did not agree. Legion reached the Moonshot (Kimi) model at <code>https&#58;//api.moonshot.cn/v1/chat/completions</code> (<code>LegionClient.cs</code>, line 139) and pointed users to <code>platform.moonshot.cn</code> for keys, while Vault's catalog and its key tester used <code>platform.moonshot.ai</code> and <code>https&#58;//api.moonshot.ai/v1/models</code> (<code>ProviderCatalog.cs</code>, line 37; <code>KeyTester.cs</code>, line 56). The two domains belong to different Moonshot platforms, and the provider research recorded in the same research file found that a key issued on one is rejected on the other. A Kimi key stored in Vault and verified by Vault's tester would have failed when Legion used it, and the failure would have read as a revoked key.
$$ L_H = {\textit{mesh} \succ \textit{node} \succ \textit{session} \succ \textit{agent&#125;}, $$


The third answer was the products' own clients. The survey found Prose, the largest application in the portfolio, calling providers through Legion but also through its own clients (a multi-model service, an Anthropic tool client, an OpenAI tool-calling client and others), each with its own idea of how a provider is reached. The fourth was a device: the Claudia voice-assistant hardware project shipped an environment template with slots for Anthropic, OpenAI and ElevenLabs keys, provisioned outside the vault entirely.
parent function $\pi_H$, and leaves $A \subseteq H$, the agents. Let $\mathrm{task}(T)$ be the open leaves of $T$ whose prerequisites are closed, the leaves of the current wave front. A <em>placement</em> at time $\tau$ is a partial function


None of this was the product of a bad decision. Every element was locally reasonable when it was written. The resolver's precedence chain mirrored one documented in IdiotProof, a reasonable consistency choice at the time. Legion's catalog was built for Legion's needs. Prose's clients predate some of Legion's capabilities. The template was the simplest way to get a device talking. The sprawl formed exactly as Section 5.3 predicts, one locally sensible channel at a time, because no single written source said that credentials belong to Vault and LLM calls to Legion, and nothing checked whether a plan honoured it.
$$ \kappa_\tau : \mathrm{task}(T) \rightharpoonup A $$


The owner's response is worth recording in their own words, because it shows the human role this chapter argues for. The owner did not specify a resolver change or an endpoint fix. They said that a dashboard should show every key and credit with "exactly what's wrong and what I need to fix it ... then provide the URL"; that "it's probably Vault since Vault stores all the keys already, no reason not to act as the reviewer and fixer"; that "Legion needs to always lean on Vault for all credentials"; that there should be "no separated LLM api keys anywhere, it all goes back to the vault"; and that the provider list should cover "ALL of the major LLM players", starting from a published top ten (ticket M.VALT-T200 and its notes). And, unprompted, they named the reason: "this is why there needs to be a LLM Health Dashboard; it's too many moving parts to maintain individually, especially with each being a totally separate architecture."
recording which agent holds which task. Six conditions relate the two trees.


Every one of those sentences is a statement about ownership, not about code. Together they amount to two rows of the source's table: credentials belong to Vault, LLM calls belong to Legion, and nothing else holds a key. The agents turned them into a tree. Under the epic M.VALT-T200, "Vault owns every credential", the plan has four features, each a capability rather than an activity in the sense of Chapter 3: "Every major provider cataloged" (M.VALT-T201), "Check and diagnose every key" (M.VALT-T202), the "LLM Health Dashboard" (M.VALT-T203) and "Vault is the only key source" (M.VALT-T204), with ten tasks beneath them (M.VALT-T205 to T214), the first of which is to make the resolver read the vault only. The work that belonged to other repositories was not written into Vault's plan. It was filed in the owners' own trees and linked: Legion's "Credentials only from Vault" feature (M.LEGN-T129), whose task to remove Legion's own key-lookup override and correct its Kimi endpoint (M.LEGN-T130) is the prerequisite of Prose's task to move its own LLM clients onto Legion (PRS-T1405), and whose task to make Legion's health check use Vault's probe (M.LEGN-T131) <em>requires</em> Vault's diagnosis story (M.VALT-T208); and Claudia's "Device keys from Vault" task (HC-T45). The four separate answers to "which key?" are, in the plan, being collapsed into one, and the order in which that happens is not left to chance: it is carried by the prerequisite links into the waterfall of Chapter 4.
<strong>Leaves meet leaves.</strong> Only tasks are placed, and only agents hold them: the domain of $\kappa_\tau$ contains no container of $T$ and its range no container of $H$. This is the condition of Section 3.4.5 (only leaves are worked) stated for both trees at once, and it is the first rule of the case's work-unit design, "Only leaves are work" (<code>docs/WORK_UNITS.md</code> in the orchestration tool's repository, Supplementary Data S7).


=== 5.5 Why require rather than re-implement ===
<strong>Exactly once.</strong> $\kappa_\tau$ is a function, so a task has at most one holder, and it is injective, so an agent holds at most one task. The first half is the property a distributed claim must guarantee across machines; the second is the scope rule of Section 5.4 applied to an agent rather than to a repository window.


The rule that a product <em>requires</em> the owner's story, instead of building its own version, can look bureaucratic. A product that needs a capability now must wait for another repository's plan to deliver it. In a human organisation that wait is often the reason the rule is broken. In this paradigm the rule earns its cost in four ways, each of which the credential case illustrates.
<strong>Fit.</strong> For every placed task, $\mathrm{cost}(t) \le \mathrm{budget}(\kappa_\tau(t))$: the task fits the agent that holds it. In the case the budget is a setting of the orchestration tool, 80,000 uncached tokens by default (S7), and a task that runs past it lands what is complete and splits the rest. This is the condition by which the leaf of the plan is defined by the leaf of the capacity tree.


The first is a single point of repair. When the concern has one owner, a defect in it is fixed once. Under the four-answer arrangement of Section 5.4, correcting the Kimi endpoint would have meant finding and changing every list that names it, and the survey that found the four lists was itself a chance discovery. With one owner the endpoint lives in one catalog, which every consumer reads.
<strong>Capacity composes.</strong> The capacity of a container of $H$ is the sum of its parts' capacities, bounded by the container's own resources: $\mathrm{cap}(h) = \min\big(\sum_{c \in C_H(h)} \mathrm{cap}(c),\ r(h)\big)$, where $r(h)$ is, for a node, the number of sessions its free memory can hold. This is the capacity form of the covering condition of Section 3.4.3: a container's work is the union of its parts' work, and a container's capacity is the sum of its parts' capacity, less what it cannot host.


The second is that drift becomes visible as a missing edge. In the plan, ownership is represented by a prerequisite link from the product's story to the owner's story. A product story that needs credentials and has no <code>requires</code> link to a Vault story is either not using credentials or using them some other way. Both are checkable. The single-source brief asks every per-repository job to look for exactly this, a product story "that implements a platform concern (its own LLM client, its own key lookup, its own logger, auth, deploy, UI control, bus, scheduler ...)", and to reword it to use the owner and add the link (<code>docs/portfolio-consolidation/SOURCE_TO_SEA_BRIEF.md</code>, step 3). Without the rule, duplication has no representation in the plan and can only be found by reading code.
<strong>Accounts cross the tree.</strong> One resource does not nest. A model account (a login) has usage windows, and the same account may run sessions on several nodes. Its constraint is a sum across the tree, $\sum_{s :\ \mathrm{acct}(s) = a} \mathrm{burn}(s) \le \mathrm{limit}(a)$, and no single node can check it alone. Structurally this is the situation of Section 3.4.3's one-owner rule: a concern that crosses trees is given one owner, and every product that needs it requires that owner's work rather than keeping its own copy. In the capacity tree the concern is the account's spending, and its owner is a single table in the shared store, from which every node computes the same pace (Section 6.4).


The third is that the wait is scheduled rather than discovered. Chapter 4 showed that the prerequisite graph determines the waves in which work can be built. When a product story requires an owner's story, the waterfall places the product story in a later wave than the owner's. The product is not blocked by surprise. It is sequenced, and the sequencing is visible to everyone, including the owner, who can see from the waterfall that Prose's migration to Legion cannot start until Legion's Vault-only lookup is done. The cost of the wait is real, but it is paid in the open.
<strong>One source, and the plan never names the hardware.</strong> Both $T$ and $\kappa$ are recorded in one store, and every node reads it before acting. No ticket of $T$ names a node, a session or an account, and no level of $H$ above the agent knows which tasks its agents hold except through the store. This extends the vocabulary condition of Section 3.4.2 across the two hierarchies: as an epic never names a file, the plan never names a machine. Kruchten (1995), describing the physical view of an architecture, asks the same of the mapping from software to processing nodes: it "needs to be highly flexible and have a minimal impact on the source code itself". In NHA the plan plays the part of the source code: a node can be added, lost or replaced without one ticket changing.


The fourth is that the owner's repository grows in the right place. When a product needs something the owner lacks, the rule turns the need into a story in the owner's plan. The platform therefore accumulates exactly the capabilities its products need, at the level of abstraction its own specification sets, instead of each product accumulating a private variant. Team Topologies describes the aim of a platform in similar terms, as "platforms that provide just enough capability without unnecessary complexity" (Team Topologies, n.d.). The require-don't-re-implement rule is one way to reach a platform of that size: capabilities enter the platform when, and only when, a product story requires them.
One honest qualification belongs with the last condition. The <em>record</em> of a placement names every level (in the case, a claim row names its machine, its command-line session, its account and its lease), because attribution needs it: Section 9.3 found that the autonomy criteria could not be measured while every action carried one identity, and a claim that names its machine and session is the means of attribution. What the condition forbids is that a level <em>decide</em> about levels it does not own. The shared store grants a task to a node's session; the node decides which of its sessions may claim; the session decides which of its agents works the task. Hiding, in this hierarchy, is a rule about authority, not about the record.


There is one discipline the rule imposes on the agents that the human case does not need. In the single-source pass the per-repository jobs were forbidden to file stories into another repository's plan: an agent that found a missing owner story had to report it, and the coordinator filed it ("do not file it in that repo: list it in your report as 'missing owner story'", brief step 3). The reason is concurrency. Thirteen jobs ran at once, and an owner repository such as Vault was the target of several of them. Letting each job write into Vault's tree would have produced duplicate stories under different names, the sprawl again, one level up. Routing every new owner story through one coordinator kept the owner's plan single-authored. Section 5.7 returns to this as a general property: in this paradigm, each level of the plan has one author at a time.
<strong>Table 6.1.</strong> The work hierarchy and the capacity hierarchy, level by level.


=== 5.6 The human at the source ===
{| class="wikitable"
 
! NHA concept
The credential case shows the division of labour the paradigm proposes. The owner made no decision below the level of the source. They did not choose the resolver change, the endpoint, the tree's features, the order of tasks or the files to edit. They stated who owns what, what they wanted to see, and what should never happen again. The agents did everything else: they surveyed the code, found the four answers, researched more than twenty provider APIs from their official documentation, filed twenty tickets across four repositories with the right prerequisite links, and wrote the result into Vault's specification.
! Work hierarchy (Chapters 3 and 4)
! Capacity hierarchy
! Instance in the mesh (Section 6.4)
|-
| The single source
| The vision document; the ticket store as the record of the plan
| The record of placements, in the same store
| One shared database server, reached only over a private network, holding the tickets, the claims, the membership and the published burn
|-
| The top container
| Vision and product
| Mesh
| Every computer the Visionary owns that runs the orchestration tool
|-
| Intermediate containers, never worked
| Epic, feature, story
| Node, session
| A Windows 11 computer; one agent command-line host signed in to one model account
|-
| The leaf, the only unit worked
| Task, sized to one agent session
| Agent
| One sub-agent, holding one task under one claim
|-
| Covers and roll-up
| Finishing the parts makes the parent true; a parent closes when its last part does
| A container's capacity is its parts', bounded by its own resources
| A node's sessions are capped by free memory against one host's footprint
|-
| One owner per concern
| A shared concern lives in one product; others require it
| A resource crossing the tree has one record; every node reads it
| Each account's burn is published by every node and summed; every node computes the same pace
|-
| Scope binds agents (Section 5.4)
| An agent works only its unit or list
| A task is held by exactly one agent anywhere
| A claim is a lease granted by one atomic conditional update and fenced by a generation number
|-
| Waves
| Leaves with no open prerequisite can be built in parallel
| Any idle agent on any node can take any wave-ready leaf
| Each node's allocator pulls from the shared queue; the plan names no machine
|-
| Handoffs in writing (Section 4.7)
| Context passes through notes on closed leaves
| Nodes coordinate only through the store and the version history
| No machine sends work to another; each pulls the latest before starting a task
|-
| A fix counts only once installed (Section 5.5)
| A tool change is in force when the installed tool shows it
| A node takes part only on the current protocol
| A node on another protocol version may watch but may not claim or pace
|-
| The machine is part of the build (Section 5.6)
| Resources bound throughput and are measured
| Capacity is a level, composed up from agents
| Placement eligibility weighs free memory and an account's remaining window
|}


This is the role Chapter 1 calls the <em>visionary</em>, and the source is the place where that role acts. The single-source standard defines it plainly: "The owner works at the source: the vision, the specs, the milestone order, purchases and accounts, and the sign-offs a person must give. Everything below the source is agent work." It also says what agents do when the source is silent: an agent "picks the reading that best fits the vision, records the call in the spec's change log for the owner, and keeps going; when the work no longer fits the vision, it is closed wont-do" (<code>mindattic-agent-standard/docs/single-source.md</code>, Section 4).
=== 6.3 Decompose down, compose up ===


Brooks argued that "great designs come from great designers", and that the software that "excited passionate fans" was the product "of one or a few designing minds" (Brooks, 1986). That argument concerned designers who also built, or who worked with builders who shared their conception through long collaboration. The paradigm studied here makes a narrower and more testable claim. It does not say the owner is a great designer. It says that if one mind holds the conception and writes it at the source, a fleet of builders who cannot share that mind's memory can still build to it, because the source is the only thing they all read and the rubric of Chapter 3 forces each level of their plans to trace back to it. Whether that claim holds is the subject of Chapters 7 and 8, and of the criterion C4 fixed before any result was written (<code>docs/PREREGISTRATION.md</code>): that at least 80 per cent of the owner's instructions in the studied period be vision-level rather than implementation-level. The credential case is one illustration, not a measurement. Its sentences are vision-level, but Chapter 7 will count all of them, including the ones that were not.
==== 6.3.1 The smallest unit of work ====


The role also has a negative definition. The visionary does not review code, does not choose between implementation alternatives, and does not resolve conflicts between two agents' plans by inspection. When two plans conflict, the conflict is settled at the source: either the source already decides it, or the source is amended and the decision then flows down. Section 5.7 shows two cases.
The case shows why the smallest unit has to be decomposed for, not assumed. Before the work-unit rule was introduced, the orchestration tool handed one sub-agent each whole ticket, however large. Across 605 such runs the median consumed 158,000 uncached tokens, the 75th percentile 347,000, the 90th 690,000 and the 95th 1.06 million, and 253 runs exceeded 200,000 (S7, "The evidence"). Units of that spread cannot be distributed well: a large unit holds an agent, a session's account and a node's memory for its whole length, and a unit that fails late loses everything it had not landed. The rule that replaced it is NHA's leaf condition applied with a number: only leaves are worked; a task fits the budget; a leaf that is not yet sized gets a planning pass that sizes or splits it; and a task that overruns lands what is complete and splits the rest (S7). The Visionary's phrase for it was to "stop biting off whale sized tasks and instead eat minnows until you have a whale's weight of work completed" (S7, quoting the instruction of 21 November 2026).


=== 5.7 How the owner's calls flow downstream ===
Decomposition into many small, independent units is the established basis of distributing work, and three bodies of practice show it. MapReduce divides each job into many map and reduce tasks and has a master that "picks idle workers and assigns each one a map task or a reduce task"; its authors state the reason for many small tasks directly: "Ideally, M and R should be much larger than the number of worker machines. Having each worker perform many different tasks improves dynamic load balancing, and also speeds up recovery when a worker fails" (Dean & Ghemawat, 2004, Sections 3.1 and 3.5). Condor's high-throughput computing aims "to provide large amounts of fault tolerant computational power over prolonged periods of time by effectively utilizing all resources available to the network", and couples it with opportunistic computing, "the ability to use resources whenever they are available, without requiring one hundred percent availability" (Thain, Tannenbaum & Livny, 2005, Section 3). BOINC's volunteer projects divide computation into <em>workunits</em>, each with "compute, memory and storage requirements and a soft deadline", issued by scheduling servers to clients that contact them, around a server complex "centered around a relational database" (Anderson, 2004, Sections 2.3 and 3.1). The scheduling theory beneath these is work stealing, in which "underutilized processors take the initiative: they attempt to 'steal' threads from other processors", as opposed to work sharing, in which the scheduler pushes new work to other processors (Blumofe & Leiserson, 1999, Section 1).


A source that agents read but that nothing enforces would decay into a wish. Four mechanisms in the workspace carry the source's decisions down to the tickets, and two kinds of failure show where they do not yet reach.
The mesh belongs to this family. A node with room pulls a task from the shared queue; no node assigns work to another. What separates it from the family is the nature of the unit. A map task or a workunit is a computation over fixed inputs whose output can be recomputed, compared or discarded; MapReduce re-executes a failed worker's tasks and launches backup copies of stragglers, and BOINC computes a workunit several times and compares the results. A task in NHA is a change to a shared code base, whose output lands in a repository other tasks are also changing. Running it twice does not produce a second opinion; it produces two conflicting commits. The units of software work are not independent by nature, and the scheduling literature's assumption of independent, bounded units is exactly what has to be manufactured before any of its mechanisms apply. NHA's planning conditions manufacture it: disjoint siblings (Section 3.4.3) keep two tasks from owning the same work; explicit requirements order the ones that must be ordered, so that a wave holds only tasks that can run at once (Section 4.1); the membrane takes the joining work no sibling may do (Section 4.4); and the budget bounds each unit's size. Decomposition to the smallest unit, in the Visionary's phrase, is therefore not a slogan about granularity but the precondition for the hardware hierarchy to work at all.


The first mechanism is the specification. Every active repository has a <code>docs/SPEC.md</code> holding the whole product, built or not, every epic, feature and story, mirrored one to one in the ticket tree (the golden rule "the complete product exists on paper first", MAT-T360). The single-source pass adds two requirements to it: the first section opens by naming the repository's place in the source, and the sixth lists the platform repositories it uses, "by concern, exactly as the table names them". A specification that names a concern without naming its owner is visibly incomplete.
==== 6.3.2 Capacity composes up, and what bounds it ====


The second is the release sequence. Each specification ends in a sequence of milestones, the active one first and the finished product last, and every unbuilt story belongs to one of them. The owner's choice of what comes first is therefore expressed once, in the milestone order, and reaches every leaf through priorities that descend across the whole sequence (Chapter 4). The owner's follow-up instruction during the consolidation, "the machine can be designed complete from the beginning ... so let's build a sequential way of finishing and polishing every single ticket", was implemented as exactly this: no proposed "later" tier, every unbuilt story in an approved milestone in build order (ticket MAT-T360, note of 2026-11-30).
If units are small and independent and any node can take any of them, adding nodes adds throughput until something else binds. The design states the intended end of that process: the binding constraint should become the model accounts and their usage limits, not the hardware. The case's tool already enforces per-account cutoffs (by default 98 per cent of a five-hour window and 90 per cent of a week, per member), and a measured footprint of about 1.24 GB per agent command-line host means a 16 GB laptop holds about six (S6, sections d and e). On one machine, memory bound first; the case's machine spent long periods with between 0.5 and 4 GB of 32 free (Section 5.6). With enough nodes, the remaining ceiling is the number of accounts times what each account's windows allow, which no hardware raises.


The third is the change log. Every specification ends with a table of dated changes, each naming its ticket. When an agent makes a call the source did not settle, the standard requires it to record the call there. The change log is how the owner, working only at the source, sees what was decided below it without reading the tickets: the record of the consolidation pass lists such calls by repository, for instance an agent's decision that a media recorder should be built on the tray icon rather than as a windowed application, flagged "the one product call I made rather than read from the docs" (<code>docs/portfolio-consolidation/RESULTS.md</code>). The owner can reverse any of them at the source, and the reversal flows down the same way.
The classical limits on parallel speed-up apply, and they say where the ceiling actually is. Amdahl (1967) argued that "the effort expended on achieving high parallel processing rates is wasted unless it is accompanied by achievements in sequential processing rates of very nearly the same magnitude", because a fraction of every workload stays sequential; in the usual later statement, which Gustafson (1988) gives as a maximum speedup of "only 1/s" for a serial fraction $s$, it bounds what any number of processors can do with a fixed problem. Gustafson's answer was that "in practice, the problem size scales with the number of processors", so that the useful measure holds run time constant and lets the problem grow. Work stealing adds the structure of dependencies: a computation with total work $T_1$ and critical-path length $T_\infty$ runs on $P$ processors in expected time $T_1/P + O(T_\infty)$ (Blumofe & Leiserson, 1999, abstract), so no number of processors shortens the longest chain.


The fourth is the "Never in the product" list. Each specification carries a list of ideas rejected for good, with reasons. A request that lands on that list is closed rather than filed. The list is the source's negative space: it lets the owner's rejections persist across sessions that do not remember them, which is otherwise the most fragile kind of decision in an agent fleet, since an idea rejected once is proposed again by the next agent that has not seen the rejection.
Each of these limits has a counterpart in NHA, and none of them is hardware. The critical path is the number of waves: Part I's waterfall held 1,387 open leaves in 29 waves at its first measurement (Section 8.1.1), and the 29 waves are a span that more nodes cannot compress, however many leaves each wave holds. The serial fraction has three components in the case: the shared store, through which every claim and close passes (short operations, so a small fraction); the landing of commits on one repository's main line, which is serial per repository (Section 6.6); and the Visionary, whose approvals and sign-offs no agent can make. The last is the largest. In Part I, 96 open leaves were Visionary steps with a median wave of 5 against 0 for all leaves, and the deepest leaf in the whole plan was a sign-off (Section 8.1.1); on 2 December 2026 the workspace held 2,327 open approved tickets, generated faster than one person can approve or sign off what follows them (Section 11.2). Gustafson's scaled regime is the one the case is in: the tree keeps growing, so more capacity means more leaves closed per hour, not a fixed plan finished sooner, until the Visionary's queue binds. The method places that bottleneck at the source by design (Section 9.4); the hardware hierarchy makes it the only bottleneck left.


The two failures are instructive. The first is <em>conflict between downstream plans</em>. During the consolidation two independently written specifications disagreed. The Orchestrator's specification placed "hub-and-spoke" operation (members' machines joined into one orchestrator) on its Never list, on the grounds that cloud hosting had been closed; Relay's specification scheduled the same capability as its final milestone. A third, Agency's, reopened a hosting ticket the Orchestrator's specification cited as closed. Each specification was locally coherent. The coordinator resolved both by appeal to a source-level fact: the design that owns the capability is Relay's, so the capability stays in the product, built by Relay, and only the separate idea of cloud worker fleets stays on the Never list (Orchestrator specification, commit df906e53; <code>docs/portfolio-consolidation/RESULTS.md</code>, "Reconciliation by the coordinator"). In the paradigm's terms this is the ownership rule applied after the fact. The lesson is that independent agents writing specifications in parallel will produce such conflicts, and that a coordinator who reads across plans is needed to catch them until the source itself is complete enough to prevent them.
=== 6.4 The case: a mesh of peers around one source ===


The second failure is <em>incompleteness of the source</em>. The first version of <code>ECOSYSTEM.md</code> did not mention four repositories, because the ticket database had never known them: AssetForge (the shared art pipeline), MindAttic.Docs and MindAttic.Docs.Wiki (the documentation hub and its site), and SendToYouTube, which turned out to be an empty repository with no commits. They were found only when a new repository was added to the database and the tool that adds repositories listed every repository it did not yet know (ticket MAT-T476). A source is only as complete as its author's knowledge of the territory, and the territory changes. The paradigm needs, and the workspace now has, a mechanical check that compares the source against the repositories that actually exist. Chapter 9 returns to this as a limitation.
<strong>The design.</strong> The case's orchestration tool (MindAttic.Orchestrator) runs on the Visionary's own computers. Its mesh design was recorded on 2 December 2026 as a design record with fourteen decisions, each with its reasons and rejected alternatives (<code>docs/MESH_ARCHITECTURE.md</code> in the tool's repository, S6), and the Visionary signed it off the same day by asking for all of it to be coded (S8). Its summary is that every machine is a full peer: each runs its own scheduler, agent hosts and dashboard and can always work alone, and "Joining the mesh adds abilities and takes none away" (S6, summary 1). There is no authority machine. The one shared component is a database: the ticket store moved from the Visionary's main machine to a database server on a rented cloud machine, reached only over a private overlay network, with three new tables for claims, membership and each machine's published account burn, so that the database is "the single serialised writer" and every machine a symmetric peer (S6, summary 2 and section a). Everything else stays on each machine. Model-account credentials never leave the machine they were signed in on; every account is signed in by hand on every machine (S6, summary 14).


=== 5.8 Conway's law, its inverse, and platform teams ===
<strong>Claims.</strong> A claim is a lease. Granting it is one atomic conditional update on the database, which succeeds only if the task has no holder or the holder's lease has expired past a grace period; it raises the claim's generation number and sets an expiry on the database's own clock. Renewal is the same update conditioned on the holder and the generation. The close of a task is checked against both, so "a stale holder can never close or re-claim over a newer one" (S6, summary 3 and section f). The claimant's scheduler renews every third of the lease (ten minutes by default); a claim whose renewals stop is shown as orphaned and returns to the queue only after a further grace of thirty minutes, because, in the design's words, "A sleeping laptop often still holds uncommitted work in its own checkout, and a short grace would double the work" (S6, section f). A machine that returns to find its task re-granted is told, in its session, that the task moved, and its close is refused.


Conway's paper of 1968 is usually remembered by its thesis, stated in its conclusion: "organizations which design systems (in the broad sense used here) are constrained to produce designs which are copies of the communication structures of these organizations" (Conway, 1968). Two less-quoted passages bear more directly on this chapter. Conway observed that "the very act of organizing a design team means that certain design decisions have already been made, explicitly or otherwise", and concluded that "there is no such thing as a design group which is both organized and unbiased". The paper also described a life cycle of design whose first two stages are "drawing of boundaries according to the ground rules" and "choice of a preliminary system concept", after which come delegation, coordination and the consolidation of sub-designs into a single design.
<strong>Failure.</strong> The design accepts one single point of failure, the database server and the link to it, and states what each machine does when it is unreachable: it grants no new claims and files or closes no tickets, keeps its running agents, keeps committing and pushing code (which does not need the database), reads tickets from a local read-only mirror, and paces each account on a stricter local fallback. After an outage no claim is requeued until the grace period has passed from the moment of recovery, because "during the outage no holder could renew and silence then does not mean the holder is dead" (S6, section f). Recovery of the server itself is by restore from nightly and log backups copied off the server, tested once before cutover; automatic failover is not built (S6, section f).


Read with an agent fleet in mind, the paper says something precise. An agent fleet has a communication structure, and it is not an organisation chart. Agents in this workspace do not talk to one another. They communicate through the plan: a ticket's parent, its prerequisites, its specification, and the source. If Conway's thesis holds for such a fleet, and nothing in the argument depends on the designers being human, then the system the fleet produces will be a copy of the structure of the plan. The four answers to "which key?" in Section 5.4 are what that copy looks like when the plan has no ownership structure: four repositories with no communication path about credentials produced four credential designs.
<strong>Pacing and placement.</strong> Each machine publishes, per account, its newest usage reading, its burn rate and its running agents; every machine reads all of them and computes the same pace and the same split of each account's allowance by a deterministic rule, so that, in the design's words, "No login passes its 5-hour or weekly cutoff, wherever its CLIs run" (S6, summary 8 and section d). In the first milestone each machine's own allocator claims from the shared queue, capped by that pace. A later milestone adds a placement scorer that ranks (machine, account) pairs by the account's expiring headroom, the machine's free memory and whether the machine already has the repository's checkout (S6, section e).


The <em>inverse Conway manoeuvre</em> names the response. Thoughtworks's technology radar described it in 2014 and again in 2015 as a technique worth trialling: "The 'Inverse Conway Maneuver' recommends evolving your team and organizational structure to promote your desired architecture. Ideally your technology architecture will display isomorphism with your business architecture" (Thoughtworks, 2015). In a human organisation the manoeuvre is costly: it means moving people between teams. In an agent fleet the team structure <em>is</em> the plan, and the plan can be rewritten in an afternoon. The single-source paradigm can be read as the inverse Conway manoeuvre made cheap. The owner writes the desired architecture at the source, as a table of owners; the plans are restructured so that each concern's work lives in its owner's tree and every consumer's work requires it; and the fleet, communicating only through that structure, is constrained by Conway's own argument to produce a system that copies it.
<strong>Code.</strong> Version control stays the arbiter for code. Each machine keeps its own checkouts on the main line and lands commits by fetching, merging and pushing; the rules that guard a shared checkout (Section 4.9) stay per checkout; across machines, exactly-once claims keep two agents off one task, and every task handed out has its checkout brought up to date first (S6, sections f and "Built so far").


Conway's stages also map onto the paradigm closely. "Drawing of boundaries according to the ground rules" is the source's table of concerns and its laws. "Choice of a preliminary system concept" is each repository's specification. "Organization of the design activity and delegation of tasks according to that concept" is the epic-to-task tree and the assignment of one task to one agent session. "Coordination among delegated tasks" is the prerequisite graph. "Consolidation of subdesigns into a single design" is the roll-up of Chapter 4, in which the last task closes its story and the last epic reaches its milestone. Conway also warned that "the number of possible communication paths in an organization is approximately half the square of the number of people", which is why organisations restrict communication to the lines of command. A fleet whose agents communicate only through the tree and the graph is restricted in exactly that way, by construction; the paradigm's bet is that the restriction is harmless when the tree was designed first.
<strong>Joining.</strong> A new machine joins by running one setup script, "safe to run again, and safe on a machine that already runs everything", which installs the toolchain, clones the workspace, creates the machine's own database login through the overlay network's authenticated remote shell (whose browser check is the Visionary's approval), deploys the tools and binds the machine's gateway to its overlay address only (the script's header, <code>setup-node.ps1</code>; S6, section b). Peers then exchange revocable per-peer keys after checking that the caller belongs to the Visionary's own overlay account and presents a fresh nonce only its own database login could have written. "Being on the tailnet is not enough to join" (S6, summary 6).


Current practice offers a second vocabulary for the same structure. Team Topologies distinguishes four kinds of team, among them stream-aligned teams that "deliver direct value to customers along a value stream" and platform teams that "create services that accelerate stream-aligned teams, removing complexity", and three modes of interaction, among them "X-as-a-Service: consuming or providing with minimal interaction" (Team Topologies, n.d.). The two layers of the source correspond to these team types: product repositories are stream-aligned, platform repositories are platform teams. The <code>requires</code> link from a product story to an owner story is the X-as-a-Service mode made explicit and checkable: the product consumes the owner's capability through a defined boundary and does not collaborate on its internals. The correspondence should not be pressed further than that. Team Topologies is about human teams and their cognitive load; its concepts are borrowed here as an analogy that helps a reader place the paradigm, not as evidence that the paradigm works. That evidence is the business of Chapters 7 and 8.
<strong>Built so far.</strong> As of 2 December 2026 the ticket store has been migrated to the shared server by backup and restore with row counts matched, the old local copy left read-only as a rollback (the workspace's build status, <code>docs/plans/mesh-build-status.md</code>, S8). Fenced lease claims with renewal, release and the recovery rule are built; the commit gate refuses a ticket close while another machine or session holds its claim; every claimed task's checkout is updated before work; per-peer keys and typing into another machine's sessions are built; and the one-click setup script exists, with the join exchange still in progress (S6, "Built so far"; S8). Cluster-wide pacing, the lost-peer display, the protocol-version guard, the outage behaviour with tested restore, and the two-machine acceptance run are not yet built or not yet run (S8). The placement scorer belongs to the second milestone.


=== 5.9 Limits ===
Table 6.1 (Section 6.2) gives the mapping of every level of the method onto this design.


Four limits of the single-source arrangement are visible already, before the results.
=== 6.5 Standards and practice: where the mesh conforms and where it departs ===


The first is that ownership boundaries are contestable. The table assigns LLM calls to Legion, but Prose's task to move its clients onto Legion explicitly keeps its media and speech clients, which call providers of image, video and speech generation, outside Legion while still reading their keys from Vault (PRS-T1405). Whether "LLM calls" includes a speech-synthesis call is a boundary question the table does not answer. Every table of concerns will have such seams, and the paradigm offers no algorithm for drawing them, only a place (the source) where the owner draws them and a rule that, once drawn, they bind.
==== 6.5.1 Describing an architecture across views ====


The second is that one owner per concern can become a bottleneck. If every product that needs a credential capability must wait for Vault's plan, Vault's plan becomes the critical path of the portfolio. The waterfall makes the bottleneck visible, but visibility is not throughput. A paradigm that routes everything through owners must also be able to give owners capacity, and in an agent fleet that means scheduling: the owner's stories must sit in early waves. Whether the release sequences produced by the consolidation do this is measurable, and Chapter 7 reports it.
ISO/IEC/IEEE 42010 "specifies requirements for the structure and expression of an architecture description", not for architectures themselves: "Architectures are not the subject of this document" (ISO/IEC/IEEE, 2022, Clause 1). Its vocabulary is the one this chapter needs. An architecture viewpoint is a "set of conventions for the creation, interpretation and use of an architecture view to frame one or more concerns"; a concern is a "matter of relevance or importance to a stakeholder"; and a correspondence is an "identified or named relationship between two or more architecture description elements", such as "equivalence, composition, refinement, consistency, traceability, dependency, constraint, satisfaction, and obligation" (Clause 3). The standard is a meta-standard: in the parts that could be read it defines how viewpoints are specified rather than naming a deployment or physical viewpoint of its own. Kruchten's (1995) "4+1" model supplies one: the physical view "describes the mapping(s) of the software onto the hardware and reflects its distributed aspect", addresses "availability, reliability (fault-tolerance), performance (throughput), and scalability", and maps processes onto "a network of computers, or processing nodes"; and the views "are not fully orthogonal or independent". The C4 model's deployment diagram shows "how instances of software systems and/or containers in the static model are deployed on to the infrastructure within a given deployment environment", with the rule that "Deployment nodes can be nested" (Brown, n.d.).


The third is that the source can be wrong or incomplete, as Section 5.7 showed, and the agents have no way to know it except by noticing a contradiction. The paradigm puts great weight on one document written by one person. That is its strength, since it gives the conceptual construct a single author, and its fragility, since every error at the source propagates into every plan.
In these terms, NHA's plan is one view and the mesh's capacity tree is another, and Table 6.1 is a correspondence between them: a composition at every container level and an equivalence of kind at the leaf, where one task is held by one agent. The mesh's design record conforms to the standard's main demand in substance: it names its stakeholder (the Visionary) and his concerns (that every machine be usable, that no account pass its limits, that nothing be done twice), and records each decision with its rationale and rejected alternatives. It departs in form. It defines no viewpoints or model kinds, uses no architecture description language, and states its correspondences in prose and in a table, not as rules a tool can check. The departure is deliberate for a one-owner portfolio, where the description's reader is the Visionary and the agents, and a formal framework would be ceremony; it becomes a gap if the method is to be audited by a third party. Kruchten's demand that the mapping to nodes be flexible and leave the source untouched is met more strictly than the 4+1 model requires, because in NHA the mapping is not designed at all: it is decided per task, at claim time, by whichever node pulls first.


The fourth is that the arrangement has so far been tested on plans, not on built products. The credential tree is filed and sequenced, but at the time of writing the resolver still prefers the environment, Legion still calls the .cn Moonshot endpoint, and the dashboard does not exist. The single-source paradigm claims that a written source and an ownership rule keep a portfolio coherent as agents build it. What this chapter can show is that they made the incoherence visible and produced a coherent plan to remove it. Whether the plan is carried out, and whether the result stays coherent, is beyond the horizon of this study, a threat the pre-registration declared in advance ("C1 to C3 measure the plan's state, not that the products get finished", <code>docs/PREREGISTRATION.md</code>).
==== 6.5.2 Leases and fencing ====


=== 5.10 Summary ===
Gray and Cheriton (1989) introduced leases for distributed caches: "A lease is a contract that gives its holder specified rights over property for a limited period of time" (Section 2, p. 202). A holder that fails simply stops renewing, and its rights lapse; failures "affect performance, not correctness" (abstract). Their correctness rested on time: "the correct functioning of leases requires only that clocks have a known bounded drift" (Section 5). Expiry alone is not enough when a holder can be paused. Kleppmann (2016) gives the case of a client whose pause "lasts longer than the lease expiry period, and the client doesn't realise that it has expired", so that it "may go ahead and make some unsafe change", and the remedy, a fencing token: "a number that increases (e.g. incremented by the lock service) every time a client acquires the lock", which the protected resource checks so that it "rejects the request with token 33" once it has seen 34. The idea is older than the name. Chubby's sequencers carry "the lock generation number", and a server that receives a stale one "should reject the request" (Burrows, 2006, Section 2.4); its authors describe guarding a file server with exactly this retrofit: "pass an additional integer (the lock acquisition count) with the write RPC, and add an if-statement to the file server to reject the write if the acquisition count is lower than the current value" (Section 2.1).


A tree that satisfies the rubric of Chapter 3 is coherent within itself; a portfolio of such trees is not thereby coherent as a whole. Coherence across repositories requires a written source that every plan reads and that wins every disagreement, a table that gives each shared concern exactly one owner, and a rule that a product requires the owner's story instead of building its own. The rule is Parnas's information hiding and Brooks's merging of similar parts applied at the scale of repositories, and the whole arrangement is the inverse Conway manoeuvre performed on a fleet whose only communication structure is its plan. The case of the portfolio's credentials, where four lists, two endpoints and a resolver that let the environment override the vault produced four answers to the same question, shows both why the rule is needed and how a human who works only at the source can direct its repair: by stating who owns what, and leaving every decision below that to the agents. Chapter 6 turns these claims into measures.
The mesh's claim conforms to all three. It is a lease, granted and renewed by conditional updates; its generation number is a fencing token, raised on every grant; and the close, the one write the claim exists to protect, is checked against holder and generation. It improves on Gray and Cheriton's clock assumption by removing it: every grant, renewal and expiry is computed on the database's own clock, so no two machines' clocks are ever compared, and a paused or sleeping holder is handled by fencing rather than by trusting its clock. It departs from their advice in one deliberate respect. Gray and Cheriton favour short terms, because short terms minimise the delay that failures cause. The mesh pairs a ten-minute lease with a thirty-minute grace, long by their standard, because its cost model is different: the delay a long grace causes is a requeue postponed, while the cost of a short one is the whole task done twice, on two machines, into two conflicting commits.


=== References cited in this chapter ===
Kleppmann's distinction between locks "for efficiency or for correctness" locates the design's one remaining exposure. The close of a ticket is a correctness lock, and it is fenced. The commits a stale holder has already made are not: a machine that wakes to find its task re-granted "can still push commits", and the design leaves any overlap to be settled by the version-control merge (S6, section f). For the code, the claim is an efficiency lock in Kleppmann's sense, whose failure means the same work done twice; the fencing token does not reach the repository, because the repository has no way to check it. Section 6.6 counts this as a threat.


Brooks, F. P., Jr. (1986). No silver bullet: Essence and accident in software engineering. In H.-J. Kugler (Ed.), <em>Information Processing 86</em> (pp. 1069–1076). Elsevier.
==== 6.5.3 Partitions, consistency and why there is no consensus ====


Conway, M. E. (1968). How do committees invent? <em>Datamation, 14</em>(4), 28–31.
Gilbert and Lynch (2002) proved that "it is impossible in the asynchronous network model to implement a read/write data object that guarantees" both availability ("every request received by a non-failing node in the system must result in a response") and atomic consistency "in all fair executions (including those in which messages are lost)" (Sections 2.2 and 3.1). Abadi (2012, p. 41) extended the choice to normal running: "if there is a partition (P), how does the system trade off availability and consistency (A and C); else (E), when the system is running normally in the absence of partitions, how does the system trade off latency (L) and consistency (C)?"


Parnas, D. L. (1972). On the criteria to be used in decomposing systems into modules. <em>Communications of the ACM, 15</em>(12), 1053–1058.
The mesh's choices can be read off the design. Under partition it chooses consistency for every write that must happen once: a node that cannot reach the database grants no claim and closes no ticket, so it is unavailable for those writes, by design (S6, section f). It stays available for everything that can tolerate staleness or that has its own arbiter: it reads tickets from a local read-only mirror, keeps its agents running and keeps pushing code, whose conflicts version control settles. Its pacing under partition errs toward stopping early, never toward passing a limit. In Abadi's terms the mesh is, for claims, a system that chooses consistency in both branches: it gives up availability under partition and latency otherwise, since every claim and close pays a round trip to a remote server. The latency is real in the case: making the ticket tool two to three times faster over the remote server was among the first tasks done, and a connection's opening of about three quarters of a second still dominates each command (S8). Abadi notes that the latency and consistency trade-off "only applies to systems that replicate data"; the mesh's shared store is not replicated, which is why its normal-running cost is latency to one server rather than a choice between replicas.


Team Topologies. (n.d.). <em>Key concepts</em>. Retrieved November 30, 2026, from https://teamtopologies.com/key-concepts
Consensus is avoided, and the reason is arithmetic. Consensus protocols decide by majority. Paxos lets the deciding set "consist of any majority of the agents", because "any two majorities have at least one acceptor in common" (Lamport, 2001, Section 2.2); Raft's servers "are fully functional (available) as long as any majority of the servers are operational", and "five is a typical number, which allows the system to tolerate two failures" (Ongaro & Ousterhout, 2014, Sections 2 and 5.1). A majority of two is two, so a two-machine cluster running consensus among its own members tolerates no failure at all, and the case's first milestone is exactly two machines, one of them a laptop that sleeps. The design record's rejected alternative says the same in its own terms: "Two-node lock protocols cannot tell 'peer asleep' from 'network split', so they either block or double-claim" (S6, section a). Chubby's authors gave the general form of the answer the mesh adopts: a lock service, itself replicated, "reduces the number of servers needed for a reliable client system to make progress", so that "even a single client can obtain a lock and make progress safely" (Burrows, 2006, Section 2.1). The mesh's database plays the part of that service, with one difference the design accepts openly: Chubby's cell is five replicas, while the mesh's server is one machine, so the mesh trades the lock service's own fault tolerance for a restore measured in minutes to hours (Section 6.6).


Thoughtworks. (2015, January). <em>Inverse Conway Maneuver</em> [Technology Radar entry]. https://www.thoughtworks.com/radar/techniques/inverse-conway-maneuver
==== 6.5.4 Trust between peers ====


== Chapter 6 — Method ==
NIST's zero-trust architecture rests on tenets that its authors call "the ideal goal, though it must be acknowledged that not all tenets may be fully implemented in their purest form for a given strategy" (Rose, Borchert, Mitchell & Connelly, 2020, Section 2.1). The ones that bear on a mesh of peers are that "All communication is secured regardless of network location. Network location alone does not imply trust" (tenet 2); that access "is granted on a per-session basis" (tenet 3); that it "is determined by dynamic policy" (tenet 4); and that "All resource authentication and authorization are dynamic and strictly enforced before access is allowed" (tenet 6). The network beneath is not an implicit trust zone (Section 2.2).


=== 6.1 The question and the design ===
The mesh conforms on identity and departs on the perimeter. It refuses membership of the private overlay network as a credential; the design rejects "Tailnet membership alone", because "Anything ever added to the tailnet ... could drive CLIs that hold commit rights" (S6, section b). Each peer holds its own revocable key, from which it mints short-lived tokens that renew themselves; each machine has its own database login with rights on the shared databases only; admission needs the overlay network's authenticated shell, a check that the caller belongs to the Visionary's own overlay account, and a fresh nonce only the joiner's own login could have written; connections use transport encryption; and a revoked peer is cut off at its next request, not when its last token expires (S6, section b). These are tenets 2, 3 and 6 applied to machines. The departures are two. The database still listens only on the overlay network's address, behind two firewalls, which is a network perimeter used as one layer of defence; and policy is static (a peer token grants one fixed scope) rather than dynamic in tenet 4's sense, with no evaluation of a device's state at each request. For a mesh whose every member is the Visionary's own machine the departures are proportionate; they would not be for a mesh that admitted other people's machines.


Chapters 3 to 5 stated a paradigm: a portfolio of software is written down as a nested hierarchy of maximally abstract levels, flowing from one written vision, and built bottom-up in dependency waves by a fleet of language-model agents, while the human works only at the source. The claim under test, fixed in <code>docs/PREREGISTRATION.md</code> before any result was written, is that a single human acting only as the visionary can direct such a fleet to plan, keep coherent and build a large multi-repository portfolio when the work is organised this way. This chapter describes how that claim is examined: what the case is, which records are read, how each of the seven pre-registered criteria is turned into a number or a verdict, and what could make the answer wrong.
==== 6.5.5 Scheduling ====


The design is a single case study with embedded units. Case study is a recognised methodology in software engineering research because it studies contemporary phenomena in their natural context (Runeson & Höst, 2009), and the phenomenon here, a working portfolio being re-planned while agents continue to change it, cannot be moved into a laboratory without removing what is being studied. The general definition most often cited for the method describes an empirical inquiry into a contemporary phenomenon within its real-life context, used especially when the boundary between the phenomenon and its context is not clear (Yin, 2009); that description fits this study, in which the plan, the products and the agents building them are entangled. The case is the MindAttic portfolio, its owner and its agent fleet. The embedded units of analysis are the <em>jobs</em>: each job is one ticket, given to one agent, covering one repository or a small family of repositories, and each produces a commit, a closed ticket and a written report. A second, smaller case sits inside the first: the making of this manuscript, which is itself a product in the portfolio with its own tree of tickets (Chapter 8).
The mesh's first milestone is work stealing in Blumofe and Leiserson's sense: each node, when it has room, takes work from the shared queue, and none pushes work to another. Its design record rejects pure stealing as the end state for a stated reason: it "cannot prefer an expiring window or keep RAM-poor machines ... from overcommitting" (S6, section e). The planned placement scorer is closest to Condor's matchmaking, in which resources and requests advertise attributes, a matchmaker "creates pairs that satisfy each other's constraints and preferences", Requirements "indicates a constraint and Rank measures the desirability of a match", and a separate claiming step lets the parties "independently verify the match" (Thain et al., 2005, Section 5). The mesh's eligibility rules (pace allows, memory suffices, protocol current, checkout present) are its Requirements, its scoring (expiring headroom first, then machine headroom, then readiness) is its Rank, and its atomic claim is the claiming step. Condor's motto, "Leave the owner in control, regardless of the cost" (Section 1), is the mesh's first decision in another form: the Visionary's main machine "never gives up anything" by joining (S6, summary 1). Where the mesh departs from BOINC and MapReduce is redundancy. Both run units more than once to guard against error or slowness; the mesh runs each exactly once and verifies it by the evidence its claim calls for (Section 4.8), because a duplicated code change is a conflict, not a vote.


The study is not an experiment. There is no control portfolio, no random assignment and no comparison with a team of human developers. What the design can establish is narrower and, for a new paradigm, prior: whether the paradigm can be carried out at all on a real portfolio of realistic size, what it produces, what goes wrong, and whether the pre-registered thresholds are met. Section 6.7 returns to what this licenses.
==== 6.5.6 Conway's law, read for the hardware ====


=== 6.2 The case and the period ===
Section 2.8 read Conway's (1968) homomorphism as a reason to organise the plan by outcome: agents that communicate only through the tree will build a system shaped like the tree. The mesh extends the reading to the machines. Nodes communicate only through the shared store and the version history; none sends another work or plan. On Conway's thesis the capacity hierarchy should then mirror the structure through which it communicates, and it does: it has one source, as the plan does, and containers that host and leaves that work, as the plan does. The design's rejected first draft, in which one machine was the authority and the others asked it, would have given the hardware a structure (a hub with spokes) that the plan does not have, and the design record rejects it for reasons of availability (S6, section a). Read through Conway, the rejection also keeps the hardware homomorphic to the plan.


<strong>The portfolio.</strong> At the start of the studied period the workspace held about one hundred repositories under one GitHub organisation, spanning desktop and web applications, games in three engines, game modifications, libraries, agent tooling, hardware projects and scholarly manuscripts. On 2026-11-30, before the consolidation began, the ticket database held 16,779 tickets across 102 repository keys, of which 1,617 were open, 13,692 closed and 1,470 closed as wont-do. Ninety of the repositories were active products by the end of the period; the others were archived copies, superseded ports or empty repositories. Chapter 5 described how the repositories divide into a platform, which owns shared concerns such as credentials and language-model calls, and products, which consume it; <code>docs/ECOSYSTEM.md</code> lists both.
<strong>Table 6.2.</strong> Standards and established practice, and the mesh's relation to each.
 
<strong>The actors.</strong> Three kinds of actor appear in the records. The <em>owner</em> is the one human, who issues instructions in a terminal session, approves or refuses, provides credentials and purchases, and signs off. The <em>coordinator</em> is a long-running agent session that receives the owner's instructions, writes briefs, files job tickets, starts job agents and records their results. The <em>job agents</em> are agent sessions started by the coordinator, each given one job ticket and one brief; they read, triage, write specifications, change tickets, commit and report. All agent sessions in the period ran the same family of models through the same command-line host. The coordinator and job agents share one working copy of each repository, a constraint of the workspace's rules (no separate branches or worktrees) that matters for the incidents reported in Chapter 7.
 
<strong>The period and the interventions.</strong> The studied period runs from 2026-11-27 to 2026-11-30. It contains three interventions, each a pass over the whole portfolio, and each started by an instruction from the owner:
 
# <strong>The portfolio reset</strong> (ticket MAT-T319, 2026-11-27). Every active repository received one milestone, a release charter (<code>docs/RELEASE.md</code>) and an epic > feature > task tree; open tickets were triaged as done, duplicate, wont-do or kept. Its results are recorded per repository in <code>docs/portfolio-reset/RESULTS.md</code>, and its brief in <code>docs/portfolio-reset/TRIAGE_BRIEF.md</code>.
# <strong>The consolidation</strong> (MAT-T360, 2026-11-30). Every open ticket was judged again; every active repository received <code>docs/SPEC.md</code>, the complete product written down; the tree was made to mirror the specification one to one; and, after the owner's follow-up the same day, every unbuilt story was placed in an approved release sequence of milestones ending in the finished product. Forty jobs (MAT-T361 to MAT-T400). Results in <code>docs/portfolio-consolidation/RESULTS.md</code>; brief in <code>BRIEF.md</code> beside it.
# <strong>The single-source pass</strong> (MAT-T462, 2026-11-30). The vision page <code>docs/ECOSYSTEM.md</code> and the abstraction rubric (<code>mindattic-agent-standard/docs/single-source.md</code>) were written; every tree was re-checked against the rubric; buckets were dissolved, products re-pointed at the platform owners of their concerns, and <code>requires</code> links added so that the waterfall could be computed. Fourteen jobs (MAT-T463 to MAT-T476). Results in <code>docs/portfolio-consolidation/SOURCE_TO_SEA_RESULTS.md</code>; brief in <code>SOURCE_TO_SEA_BRIEF.md</code>.
 
The reflexive case, the writing of this manuscript, runs from the creation of the repository on 2026-11-30 to the owner's sign-off (story DNHA-T29).
 
=== 6.3 Data sources ===
 
Every number in Chapters 7 and 8 is drawn from one of the following records, and names its source where it is used. None of the records was created for this study except the measurement outputs in the last row; the others are the working records the portfolio keeps in any case, which reduces, though it does not remove, the risk that the evidence was shaped to fit the claim.


{| class="wikitable"
{| class="wikitable"
! Source
! Source
! What it records
! What it asks or establishes
! How it is read
! Where the mesh conforms
! Where it departs, and why
|-
|-
| Ticket database
| ISO/IEC/IEEE 42010 (2022)
| Every ticket: repository, level, parent, status, summary, links (<code>part-of</code>, <code>requires</code>, <code>supersedes</code>, <code>duplicates</code>, <code>related</code>), approval, priority, history of every change with timestamps, notes
| Descriptions organised by stakeholders, concerns, viewpoints, views and correspondences
| The <code>tickets</code> command-line tool: <code>ticket list --json</code> (all tickets), <code>ticket show &lt;ID> --json</code> (links, parents, children, history), <code>ticket queue --json</code> (open tickets with <code>requires</code>, approval, priority, claims), <code>ticket orphans</code>, <code>ticket verify --repo</code>, <code>db check</code> (bad IDs, dangling links, prerequisite cycles), <code>milestone list</code>
| Concerns, decisions, rationale and rejected alternatives recorded; Table 6.1 is a correspondence between two views
| No formal viewpoints, model kinds or checkable correspondence rules; proportionate to a one-owner portfolio, a gap for third-party audit
|-
|-
| Git history
| Kruchten (1995); Brown (n.d.)
| Every commit to every repository: hash, time, author, message (which names its ticket), files
| A physical or deployment view mapping software onto nested nodes; a flexible mapping
| <code>git log</code>, <code>git show</code> per repository; commit hashes quoted in the job reports are checked against the log
| Nested capacity tree; the plan never names a machine
| The mapping is not designed but decided per task at claim time
|-
|-
| Pass results files
| Gray & Cheriton (1989)
| One row per job with its counts, commits and the agent's notes; sections for judgement calls, incidents and missing owner stories
| Time-limited grants; failed holders lapse; bounded clock drift
| Read directly; each row is traced back to the job's ticket and commits
| Leases granted and renewed in the database
| One clock (the database's) instead of bounded drift; long grace instead of short terms, because duplicate work costs more than delay
|-
|-
| Briefs
| Burrows (2006); Kleppmann (2016)
| The instructions each job agent was given
| A generation number checked by the protected resource
| Read directly; used to decide whether an agent's action followed or departed from its instructions
| The close is fenced by holder and generation
| Commits are not fenced: version control cannot check a token, so merge settles overlap
|-
|-
| Job reports
| Gilbert & Lynch (2002); Abadi (2012)
| Each job agent's final message to the coordinator
| No atomic consistency with availability under partition; latency against consistency otherwise
| Preserved in the results files, which copy them in summary; the original messages are in the coordinator's session record
| Consistency chosen for claims and closes; stale reads and code pushes stay available
| Every claim pays a round trip to one unreplicated server
|-
|-
| Specifications and charters
| Lamport (2001); Ongaro & Ousterhout (2014)
| <code>docs/SPEC.md</code>, <code>docs/RELEASE.md</code> per repository, with change logs
| Consensus by majority
| Read and parsed: ticket IDs extracted from each specification and resolved against the database
| Not used: two nodes cannot form a fault-tolerant majority
| One server instead of a replicated service; recovery by restore, not failover
|-
|-
| The source
| Rose et al. (2020), NIST SP 800-207
| <code>docs/ECOSYSTEM.md</code> and the rubric
| No trust from network location; per-session, strictly enforced access
| Read directly; the one-owner table defines which concerns are platform concerns
| Per-peer keys, per-machine database logins, nonce and identity checks, immediate revocation
| The database still sits behind a network perimeter; policy static, not dynamic
|-
|-
| Waterfall and lint outputs
| Blumofe & Leiserson (1999); Thain et al. (2005)
| <code>docs/waterfall/WATERFALL.md</code> and its data file; <code>docs/waterfall/LINT-&lt;label>.md</code> and <code>.json</code>
| Idle processors pull work; matchmaking by constraint and rank, then claim
| Regenerated by <code>build-waterfall.ps1</code> and <code>lint-hierarchy.ps1</code> (MindAttic.Agency <code>shared/waterfall/</code>) at named points; each run is kept
| Milestone 1 pulls; the planned scorer has eligibility, rank and an atomic claim
| Units are code changes, made independent by the plan's conditions, not by nature
|-
|-
| The owner's instructions
| Dean & Ghemawat (2004); Anderson (2004)
| The owner's own words
| Many small units; re-execution and redundancy
| Taken verbatim from ticket descriptions and notes where the coordinator recorded them (MAT-T360, M.VALT-T200, MAT-T462 and their notes), from the briefs (MAT-T319's instruction is quoted in <code>TRIAGE_BRIEF.md</code> and in the workspace rules; the ticket itself carries no description), and from the coordinator's session record
| Many small units, each fitting any agent
| Each unit runs exactly once; correctness by recorded evidence, not by duplicates
|-
| Amdahl (1967); Gustafson (1988)
| A serial fraction bounds speed-up of a fixed problem; scaled problems escape it
| The workload grows with capacity, the scaled regime
| The serial fraction that remains is the Visionary's, which no hardware removes
|}
|}


Two properties of these sources matter for the analysis. First, the ticket database keeps a history of every change to every ticket, with time, so the state of the plan at any point in the period can be reconstructed, and a ticket's closure, rewording or re-parenting can be attributed to the session that made it. Second, the agents were required by the workspace rules to name a ticket in every commit and to file a ticket before any work, so the commit log and the ticket database can be joined: every change to a file has a ticket, and every job ticket has its commits.
=== 6.6 Threats and limits ===
 
=== 6.4 Measures ===
 
Each criterion below is measured exactly as <code>docs/PREREGISTRATION.md</code> defines it. Where the pre-registration leaves a choice open, the choice made here is stated, and it was made before the measures were computed (story DNHA-T24 computes them; this chapter was committed first).
 
==== 6.4.1 C1: Coverage ====
 
<em>Definition.</em> The share of active repositories with a <code>docs/SPEC.md</code> whose IDs all exist and whose open tickets all appear in it. <em>Viable if</em> at least 95%.
 
<em>Population.</em> Active repositories are those listed as platform repositories or products in <code>docs/ECOSYSTEM.md</code> at the end of the period. Archived repositories and repositories with no commits are excluded, and the exclusion list is reported with the result.
 
<em>Procedure.</em> For each active repository: (a) the specification exists; (b) every ticket ID in it, matched by the pattern of the workspace's IDs (a project code, <code>-T</code>, a number), resolves through <code>tickets ticket show</code>; (c) every open ticket of the repository appears in the specification by ID. A repository counts as covered only if (a), (b) and (c) all hold. Tickets belonging to the portfolio-reset and consolidation coordination trees, which live in the Agency repository but describe the passes rather than the product, are excluded from (c) for that repository, and the exclusion is reported. The measure is computed at the end of the period.
 
==== 6.4.2 C2: Abstraction conformance ====
 
<em>Definition.</em> The share of open epics and features passing the automated hierarchy lint, which flags names and summaries that mention files, classes or endpoints, bucket words, and epics with a single feature unless the decision is recorded. <em>Viable if</em> at least 90% after the single-source pass, and higher than before it.
 
<em>Instrument.</em> <code>lint-hierarchy.ps1</code> checks every open epic and feature for three flags: <em>code</em> (a file extension, a path, a dotted identifier in the style of a class member, an API path segment, or a call with parentheses, in the name, or in an epic's summary), <em>bucket</em> (words such as "loose ends", "misc", "cleanup", "hygiene", "known bug fixes", "docs match reality", except in a milestone's polish-and-release feature) and <em>verb</em> (a name beginning with an activity such as fix, refactor, rename, migrate, move or update). It counts epics with exactly one feature separately.
 
<em>Choice made here.</em> The pre-registration counts a single-feature epic as failing "unless recorded". The lint cannot read change logs, so the measure adds one step: a single-feature epic fails C2 unless the repository's specification change log mentions that epic's ID in a single-source entry, which is where the brief told job agents to record the call. The pass rate is reported both with the lint alone and with this step, so the effect of the choice is visible.
 
<em>Timing.</em> The baseline was taken on 2026-11-30 with the label <code>baseline</code>, about twenty-five minutes after the first seven single-source jobs started (Section 6.6). The after-measure is taken when the last single-source job has closed, with the label <code>after</code>.
 
==== 6.4.3 C3: Traversability ====
 
<em>Definition.</em> The cross-repository <code>requires</code> graph is acyclic, and the waterfall assigns every open leaf to a wave. <em>Viable if</em> 100% of leaves are assigned and there are no cycles.
 
<em>Procedure.</em> Two independent checks, both at the end of the period. <code>tickets db check</code> reports prerequisite cycles among the explicit links. <code>build-waterfall.ps1</code> computes, for every open leaf, the set of open leaves it must wait for (including those inherited from its containers, under the rule Chapter 4 describes), layers the leaves into waves and reports any cycle it meets. C3 holds if the database check reports no cycle, the generator reports no cycle, and the number of leaves with a wave equals the number of open leaves. The generator's earlier false report of 173 cycles, caused by its own handling of containers (Chapter 4, Section 4.4), is reported in Chapter 7 as an incident of the instrument, and the corrected generator is the one used.
 
==== 6.4.4 C4: The human at the source ====
 
<em>Definition.</em> The share of the owner's instructions during the studied period that are vision-level (what and why) rather than implementation-level (which file, which command). <em>Viable if</em> at least 80% are vision-level.
 
<em>Unit.</em> One instruction is one distinct directive by the owner. A message containing two separate directives ("make it a dashboard; and Legion must lean on Vault") is two units; a message that elaborates a single directive is one. Pure acknowledgements and continuation signals ("do", "yes" with nothing added) are not instructions and are counted separately as <em>control</em> messages, outside the denominator. Pasted output of a command the owner was asked to run is coded as an <em>owner-only action</em>, also outside the denominator, since it is the owner doing what only the owner can do rather than directing the work.
 
<em>Codes.</em>
 
* <strong>V, vision-level.</strong> The instruction says what outcome is wanted, why, in what scope, to what standard, in what priority, or which part of the portfolio should own a concern. Examples from the record: "go through every single ticket to determine if it's become superseded ... it's better to mark a ticket as won't do than to keep it in" (MAT-T360); "the machine can be designed complete from the beginning ... let's build a sequential way of finishing and polishing every single ticket" (note on MAT-T360); "I definitely need this as a dashboard to keep all my keys and credits visible" (M.VALT-T200); "not just Mistral and Kimi; all of the major LLM players ... start with the top 10" (note on M.VALT-T200); the instruction that began the single-source pass (MAT-T462).
* <strong>I, implementation-level.</strong> The instruction names how: a file, a command, a code construct, an endpoint, a specific procedure the agent must follow. A hypothetical example: "edit KeyResolver.cs to remove the environment-variable branch".
* <strong>Ambiguous cases</strong> are coded by one rule: <em>if the instruction would still make sense with every file, command and code name removed, it is V.</em> Two recurring cases are settled in advance. Naming a repository as the home of a concern ("it's probably Vault, since Vault stores all the keys already") is V, because it assigns ownership of a concern, which is exactly the owner's role at the source; naming a provider, a ranking or a source of truth ("Perplexity? I think that's another one"; a link to a public leaderboard) is V, because it sets scope. Supplying a fact only the owner has (a password, a purchase, a decision on canon) is coded as an owner-only action.
 
<em>Procedure.</em> The owner's messages in the studied period are extracted from the coordinator's session record and from the verbatim quotations in tickets and briefs. They are coded twice: once by the agent computing the measures (DNHA-T24), and once by a second agent session that receives the rubric and the messages but not the first coding. Agreement is reported as the share of units coded the same; disagreements are settled by the rule above and listed. The coding table is published as a raw-data appendix so a reader can recode it.
 
==== 6.4.5 C5: Agent autonomy ====
 
<em>Definition.</em> The share of agent jobs that finished their ticket without the owner's hands, other than owner-only steps (keys, purchases, sign-offs). <em>Viable if</em> at least 90%.
 
<em>Population.</em> The job tickets of the consolidation (MAT-T361 to MAT-T400) and of the single-source pass (MAT-T463 to MAT-T476), and the chapter stories of this manuscript.
 
<em>Coding.</em> A job is <em>autonomous</em> if its ticket closed with commit references, or if all its work was done and its only unfinished step was owner-only. A blocked commit is owner-only when the block comes from something only the owner can provide; in this period, the Vault and Legion repositories' pre-commit hook validates every language-model key live and refused because several keys had been revoked, which only the owner can renew. A job is <em>not autonomous</em> if the owner had to give an implementation instruction about it, edit its files, or redo its work. Interruptions by the usage cap, after which the coordinator resumed the same agent, are not owner involvement and are reported separately, since they bear on cost rather than autonomy.


==== 6.4.6 C6: Safety ====
<strong>The single shared server.</strong> The design concentrates every claim and every ticket write in one database on one rented machine, reached over the public internet beneath the private overlay. If the machine or the link fails, the whole mesh stops taking new work, on every node at once (S6, section f). The design states the cost and chooses it, and its open questions include whether an outage of an hour or more is acceptable without a second, warm server (S6, "New open questions", 3). Until the backups and the restore drill are built and run, the recovery time is a design figure, not a measured one.


<em>Definition.</em> Incidents where agent work destroyed or corrupted owner or agent work and was not recovered. <em>Viable if</em> there are none unrecovered, and every incident is recorded with its fix.
<strong>Contention on the main line.</strong> Exactly-once claims keep two agents off one task, but not off one file. Two tasks under different stories may touch the same file, and on one machine the commit gate of Section 4.9 sees both agents in one checkout and refuses the collision. Across machines no gate sees both: each machine has its own checkout, and the only arbiter is the merge at push time. The protection is the plan's: disjoint siblings and explicit requirements are what keep concurrent tasks off the same files, and the more nodes work one repository at once, the more those planning conditions carry. Commits from a stale holder are a second source of contention (Section 6.5.2). The rate of rejected pushes and merge conflicts across machines is not yet known.


<em>Incident.</em> An event in which an agent's action (a) removed, overwrote or made unreachable any work, staged or committed, by the owner or by another agent; (b) corrupted shared state, including the ticket database (wrong closures, malformed tickets), repository state (lock files left behind, stashes, rewritten line endings across a whole file) or the plan (a ticket closed that should have stayed open); or (c) blocked other work by holding a shared resource. <em>Recovered</em> means the affected state was restored, or the mistake was reversed and the reversal recorded, before the end of the period.
<strong>Accounts as the ceiling.</strong> The design moves the ceiling from hardware to accounts. That is its aim, but it also means that adding machines past the point at which every account's windows are spent adds nothing, and that the ceiling depends on terms of service and usage limits that the Visionary does not control. Cluster-wide pacing, which keeps the sum of an account's spending across machines below its cutoff, is not yet built; until it is, two machines running one account can together overshoot a limit that each alone respects (S6, section d).


<em>Procedure.</em> Incidents are collected from the job reports, the incidents sections of the results files, the ticket histories (a reopen within the period after a close by the same pass is a candidate), and git (stashes, reflogs and files with line-ending-only changes). Each is listed with its kind, the job, how it was found, and its fix.
<strong>The serial fraction is the Visionary.</strong> Section 6.3.2 argued that once hardware stops binding, the Visionary's approvals and sign-offs do. The mesh therefore sharpens the finding of Section 9.4 rather than resolving it: a hierarchy that can build faster than its one human source can approve moves the bottleneck to the source.


==== 6.4.7 C7: Reflexivity ====
<strong>Leases and the lid.</strong> The grace period trades a delayed requeue for the avoidance of duplicate work. A laptop closed mid-task holds its task for up to about forty minutes (what remains of a ten-minute lease, then a thirty-minute grace) before any other machine may take it. Whether those defaults are right is an empirical question the design leaves to measurement; all are settings, and the Visionary kept them as starting values (S6, "Owner decisions", 3).


<em>Definition.</em> This dissertation is itself produced through its own tree: every chapter a story, written by agents in wave order, with the owner acting only at the source. <em>Viable if</em> every chapter maps to a closed story and the owner's inputs to the manuscript are vision-level.
<strong>The claim that the hierarchies mirror.</strong> The correspondence of Section 6.2 is argued, not measured. It could fail in ways the case would show: if placement had to know about the plan's structure (for example, if siblings had to be placed on one machine to avoid collisions), the plan would in effect name the hardware and the vocabulary condition across views would not hold; and if accounts, which cross the tree, came to dominate every placement decision, the capacity hierarchy would be better described as a pool of accounts than as a tree of machines.


<em>Procedure.</em> For each chapter file, the story that produced it is identified from the commit message, and the story's status is read. Wave order is checked by comparing each chapter's commit time with the closing times of the stories it <code>requires</code>: a chapter committed before one of its prerequisites closed breaks the order. The owner's inputs to the manuscript, if any, are coded with the C4 rubric. Chapter 8 reports this measure.
<strong>The designer is the system.</strong> The design record was written by agents of the kind it schedules, under the same Visionary, in one day, and this chapter was written by the same kind of agent from that record. The threats of Section 10.1 apply in full, and nothing here has been examined by anyone outside the case.


=== 6.5 Analysis ===
=== 6.7 What will be measured ===


The measures are computed mechanically by story DNHA-T24 from the sources above at the end of the period, and their raw outputs (the lint runs, the waterfall data, the coverage table, the coding table, the job table and the incident list) are kept as data appendices. The verdict follows the pre-registered rule without interpretation: viable if C1, C3, C6 and C7 are met and at least two of C2, C4 and C5; viable with conditions if C3 and C6 are met and at least three of the other five; not viable otherwise. Chapter 9 applies the rule and then discusses what the numbers do and do not show; the discussion may qualify the verdict but cannot change it.
Neither pre-registration covers the mesh, and no result for it is claimed. The repository's practice is to register criteria and bars before the evidence exists (Sections 7.3 and 7.4), and the measures below are written so that they can be registered in that way before the two-machine acceptance run of the design record (S6, section h, steps 1 to 9). They are stated here as the plan, not as a registration.


Qualitative material, the agents' judgement calls and departures from their briefs, the missing owner stories they reported, and the owner's decisions recorded in the specifications, is analysed by reading each item against the brief the agent was given and against the rubric. It is used to explain the numbers and to find the conditions under which the paradigm failed or nearly failed, not to replace them.
<strong>Exactly once.</strong> Over every claim made while two or more machines are active: the number of tasks held by two agents at once (the design's claim is zero), and the number of fenced closes refused, each traced to its cause.


=== 6.6 Threats to validity ===
<strong>Throughput against its ceiling.</strong> Leaves closed per hour per account, with one machine and with two, against each account's usage in the same hours, to test whether adding a machine raises throughput until the accounts, not the memory, bind.


The threats below were declared in advance in the pre-registration and are restated here with how the design responds to each.
<strong>Outage behaviour.</strong> With the database made unreachable from one machine: no claim granted and no ticket written by that machine during the outage; no claim requeued before the grace period after recovery; running agents and code pushes unaffected.


<strong>A single case.</strong> One owner, one portfolio, one model family, one set of tools. Whatever Chapter 7 finds is an existence proof or an existence disproof: it can show that the paradigm can (or cannot) be carried out on a real portfolio, not how often it would succeed elsewhere. The portfolio is unusually broad, with platform libraries, products, games, mods, hardware and manuscripts in one organisation, which makes it a demanding case for a claim about coherence across repositories, but breadth is not a substitute for replication.
<strong>Contention.</strong> Rejected pushes and merge conflicts per landed commit, per repository, with one machine and with two, and the share traced to tasks whose files overlapped despite disjoint siblings.


<strong>The author is the system under study.</strong> The agents that carried out the passes are of the same kind as the agents that wrote this dissertation, and the coordinator that ran the passes also set the criteria. This is the most serious threat. The design answers it in four ways, none complete: the criteria and the verdict rule were committed before any results chapter existed; C1 to C3 are computed by scripts whose code is in the repository and whose outputs are kept; C4 is coded twice, independently, with the coding table published; and every external claim is recorded in a verification ledger at the level at which it was read. A reader who distrusts the narrative can recompute the numbers from the published sources.
<strong>Pacing.</strong> For every account run on two machines near its cutoff, whether the combined spending stopped at or below the cutoff.


<strong>A short horizon.</strong> The period is four days. C1 to C3 measure the state of the plan, not whether the products are finished, and C5 and C6 measure the conduct of the passes, not of the years of building the plan describes. The paradigm's central promise, that building bottom-up through the waves reaches "a perfect harmonious end", is not tested here; only its precondition, a plan in which that is possible, is.
<strong>Joining.</strong> Whether the setup script, run on a fresh machine, reaches a joined, working node with no manual step other than the sign-ins and approvals the design reserves to the Visionary, and whether running it again changes nothing.


<strong>The lint is a coarse proxy.</strong> The hierarchy lint checks surface features of names with regular expressions. It cannot judge whether an epic is truly an outcome, whether siblings overlap in substance, or whether a parent is covered by its children; Chapter 3 (Section 3.5.3) says which of the rubric's conditions only judgement can check. C2 is therefore reported as what it is, a measure of conformance to the mechanical part of the rubric, and the qualitative analysis of the job reports is used to say how far the mechanical part tracks the rest.
<strong>Correspondence.</strong> The number of placements that needed knowledge of the plan's structure beyond a task's own requirements, which the vocabulary condition across views says should be none.
 
<strong>The C2 baseline was taken late.</strong> The baseline lint run was taken about twenty-five minutes after the first seven single-source jobs started, because the lint was written while those jobs were already running. Some names may already have changed. The true "before" pass rate is therefore at most the recorded baseline plus whatever those jobs had changed by then; the ticket histories allow the changes made before the baseline timestamp to be counted, and Chapter 7 reports that count with the comparison.
 
<strong>Concurrent change.</strong> The portfolio did not stop while it was being measured. Other agent sessions, belonging to the owner's other logins, closed tickets and committed code during the period (the coordinator's record shows, for instance, Gadfly tickets closing while the single-source jobs ran). Measures taken at "the end of the period" are therefore snapshots of a moving system; each is reported with its timestamp.
 
=== 6.7 Data, privacy and what is published ===
 
All data come from the owner's own repositories and records. The ticket database and session records mention other people who are members of the owner's organisation; the manuscript refers to them only by role. No credential appears in any appendix: the provider probes reported in Chapter 5 and Chapter 7 are reported by status code and verdict only. Raw-data appendices contain ticket IDs, counts, timestamps and commit hashes, all of which are already public in the repositories concerned or in the published ticket views.


=== 6.8 Summary ===
=== 6.8 Summary ===


The study is a single embedded case: the MindAttic portfolio over four days and three passes, with the jobs as units, and the making of this manuscript as a second case inside it. Its evidence is the portfolio's own working record: the ticket database with its full history, the git logs, the briefs, the job reports and results files, the specifications, and the outputs of two scripts that compute the waterfall and lint the hierarchy. Each of the seven pre-registered criteria has a stated population, procedure and threshold, and two choices left open by the pre-registration (how a single-feature epic counts toward C2, and how owner messages are divided and coded for C4) are fixed here before the measures are computed. The design can show whether the paradigm can be carried out on a real portfolio and what it costs in incidents; it cannot show that the products will be finished, and it is exposed to the fact that the system under study also wrote the study. Chapter 7 reports the measures.
The capacity that builds a portfolio is itself a nested hierarchy: a mesh of nodes, each hosting sessions under model accounts, each running agents, with containers that host and leaves that work. It mirrors the plan level for level, hangs from the same single source, and is composed upward as the plan is built upward. The two hierarchies meet at the leaf, where a task is whatever one agent can hold, and the plan names no machine. Decomposing work to its smallest unit is what lets any idle agent on any machine take any ready leaf, and NHA's planning conditions are what make software tasks independent enough for that; the established mechanisms of leases, fencing tokens, a single serialised writer and pull-based scheduling then suffice. The mesh conforms to the standards and practice that bear on it in substance and departs from them in stated ways: one unreplicated server instead of consensus, one clock instead of bounded drift, long grace instead of short terms, a network perimeter kept as one layer beneath per-peer identity, and commits left to version control. The limits are a single point of failure, contention on the main line, a ceiling set by accounts, and a serial fraction that is the Visionary. None of it is yet measured. Chapter 7 describes the case and the evaluations that were.


=== References cited in this chapter ===
== Chapter 7 — The Case and the Evaluation Design ==


Runeson, P., & Höst, M. (2009). Guidelines for conducting and reporting case study research in software engineering. <em>Empirical Software Engineering, 14</em>(2), 131–164. https://doi.org/10.1007/s10664-008-9102-8
Chapters 3 to 5 defined NHA in general terms. This chapter describes the one setting in which it was applied and measured, and how. Section 7.1 states the research design. Section 7.2 describes the case and maps each concept of the method to its instance there; from this chapter on, the case's own names (its products, tools and tickets) appear wherever evidence requires them. Sections 7.3 and 7.4 give the two pre-registrations with their criteria and bars as registered. Section 7.5 describes the data and how the measures were taken, and Section 7.6 the rules of analysis.


Yin, R. K. (2009). <em>Case study research: Design and methods</em> (4th ed.). Sage.
=== 7.1 Research design ===


== Chapter 7 — Results ==
The dissertation is a piece of design-science research evaluated by a single-case study. The artefact is the method of Chapters 3 and 4; the evaluation asks whether it does what it is for in a real setting, against criteria fixed before the evidence. Case study is a recognised methodology in software engineering research for studying contemporary phenomena in their natural context (Runeson & Höst, 2009), and the phenomenon here (a working portfolio being planned and built while agents keep changing it) cannot be moved into a laboratory without removing what is studied. The design is an embedded single case: the case is one portfolio with its Visionary and its agent fleet, and the embedded units are the jobs of Part I (one ticket, one agent, one repository or family) and the repositories of Part II.


This chapter reports what happened when the paradigm of Chapters 3 to 5 was applied to the MindAttic portfolio, and what the pre-registered measures of Chapter 6 found. Section 7.1 describes the studied period and the three passes that made up the intervention. Section 7.2 reports measurement 1, the primary result, criterion by criterion, and the verdict the pre-registered rule gives it. Section 7.3 reports how the defects measurement 1 found were repaired through the paradigm's own channels, and the second measurement made afterwards. Section 7.4 sets out every incident recorded in the period. Section 7.5 reports what the agents decided on their own, where they departed from their briefs, what the coordinating session ruled, and what the owner actually did. Section 7.6 collects the results for the discussion in Chapters 8 and 9.
The study is not an experiment. There is no control portfolio, no random assignment and no comparison with a flat plan or a human team. What the design can establish is narrower and, for a new method, prior: whether the method can be carried out on a real portfolio of realistic size, what it produces, what goes wrong, and whether its pre-registered bars are met. Both pre-registrations state that an unfavourable verdict is a valid and publishable result.


Every number in the chapter names its source. Most come from four places: the ticket database through the <code>tickets</code> command-line tool; the workspace documents <code>docs/portfolio-reset/RESULTS.md</code>, <code>docs/portfolio-consolidation/RESULTS.md</code> and <code>docs/portfolio-consolidation/SOURCE_TO_SEA_RESULTS.md</code>; the generated waterfall and lint files in the workspace's <code>docs/waterfall/</code>; and Appendix B of this manuscript (<code>chapters/91-appendix-data.md</code>), whose measures were computed by stories DNHA-T24 and DNHA-T31. Where a figure was computed for this chapter, the computation is given in the research notes (<code>references/research-notes/07-results.md</code>). The chapter cites no external literature; its claims are about the case.
The method was refined while it was measured (Section 4.10). The pre-registrations handle this in two ways. The criteria and bars were never changed after registration. And each pre-registration fixes which measurement is primary before any repair, so that a later, more favourable measurement is reported beside the primary one and never replaces it.


=== 7.1 The studied period and the three passes ===
=== 7.2 The case ===


The studied period runs from 27 to 30 November 2026. In it the portfolio's plan was rebuilt three times, each time by a coordinating agent session that wrote a brief, filed one job ticket per repository or family of repositories, and handed each job to a subagent. The owner's part in each pass was a short instruction at the start and, in the second pass, one redirection in the middle.
<strong>The portfolio.</strong> The case is the MindAttic workspace: about one hundred repositories under one organisation, spanning desktop and web applications, games in three engines, game modifications, libraries, agent tooling, hardware projects and scholarly manuscripts, with one ticket database. On 30 November 2026 the database held 20,005 tickets under 107 repository keys, 2,557 of them open (<code>tickets ticket list --json</code>, run for the earlier version of this chapter). The work in the repositories was done almost entirely by language-model agents of one model family, running through one command-line host on one machine, in one shared working copy of each repository on its main branch. The mesh of Chapter 6, in which several machines share the ticket store, was designed after both studied periods and played no part in either evaluation.


==== 7.1.1 The reset (MAT-T319, 27 November) ====
<strong>The actors.</strong> The owner of the portfolio played the Visionary. The Visionary's standing ruling on unwanted work, given at the start of Part I, set the default of Section 3.7: "it's better to mark a ticket as won't do than to keep it in and implement a feature that isn't wanted anymore" (description of ticket MAT-T360). A long-running agent session played the orchestrating agent: it received the Visionary's instructions, wrote briefs and specifications, filed tickets and dispatched agents. Agent sessions it started, or agent sessions started in a repository's own window with an explicit scope, played the building and assembly agents. The measurements of Part II were taken by read-only analyst agents. All of them, and the Visionary, worked under one operating-system login and one version-control author (Section 10.1).


The first pass predates the paradigm as Chapters 3 to 5 state it, but it laid the ground the other two built on. The owner's words, quoted in its brief (<code>docs/portfolio-reset/TRIAGE_BRIEF.md</code>), were a complaint about control: "there are over 100 repos now with no end in sight ... I really don't feel I have any control over the course these apps are taking", followed by the instruction to "clean up the tickets backlog" and to organise what remained into "features, and epics, and tasks, and then all build up leading to a natural stopping point". Each repository was given one milestone, a release charter (<code>docs/RELEASE.md</code>) and two to five epics.
<strong>The instantiation.</strong> Table 7.1 maps each concept of the method to its form in the case.


The totals recorded at the end of the reset (<code>docs/portfolio-reset/RESULTS.md</code>, "Totals") were: 1,455 open tickets before it, 557 closed as wont-do before it and 1,408 after (about 850 more), 87 active milestones each with a charter, and an open tree of 198 epics, 445 features and about 800 leaf tasks. Before the reset the tree had held six epics and eleven features, and 915 tickets had never been approved. The reset's own per-repository table shows how uneven the pruning was: Corobs closed 40 of 42 open tickets as already done, MindAttic.Relay closed 54 of 68 as wont-do, and GridGame.Unity, with 369 open, kept 228.
<strong>Table 7.1.</strong> NHA's concepts and their instances in the case.


==== 7.1.2 The consolidation (MAT-T360, 30 November, morning) ====
{| class="wikitable"
! Concept (Chapters 3 and 4)
! Instance in the case
|-
| Vision document
| <code>docs/ECOSYSTEM.md</code> at the workspace root, with a table of one owner per concern
|-
| Complete specification
| <code>docs/SPEC.md</code> in every repository; milestones in <code>docs/RELEASE.md</code>
|-
| Ticket system
| MindAttic.Tickets: a SQL-backed ticket store and the <code>tickets</code> command-line tool
|-
| Hierarchy rubric
| <code>mindattic-agent-standard/docs/single-source.md</code>
|-
| Hierarchy lint; wave generator
| <code>lint-hierarchy.ps1</code>, <code>build-waterfall.ps1</code> (MindAttic.Agency <code>shared/waterfall/</code>)
|-
| Build-up procedure
| <code>mindattic-agent-standard/docs/build-up.md</code>; per-repository brief <code>docs/buildup/CLI_BRIEF.md</code>
|-
| Order of work units
| <code>tickets order</code>, writing <code>docs/buildup/BUILD_ORDER.md</code>: 89 numbered repositories, Prose, Gadfly, GridGame and SpaceGod with their satellites pinned 83 to 89 (S1, L1)
|-
| Design pass; gap pass; plan check
| <code>tickets reason</code>; <code>tickets gaps</code>; <code>tickets plan check</code>
|-
| Code ledger
| <code>tickets ledger</code>, writing <code>docs/CODE_LEDGER.md</code> per repository
|-
| Membrane finder
| <code>tickets membranes</code> (<code>--apply</code> files skeletons)
|-
| Roll-up guard
| M.TIX-T630 in the ticket tool: no roll-up of a container of two or more parts without a membrane part
|-
| Scope table; claim rules
| <code>tickets scope</code>, M.TIX-T625; claims refused outside the window's repository, M.TIX-T629
|-
| Handoffs
| <code>tickets ticket note &lt;ID> "Handoff: ..."</code> on every closed leaf
|-
| Verified install
| M.TIX-T620 (publish and reinstall), M.TIX-T677 (the installer verifies its swap)
|-
| Closer recorded on every close
| M.TIX-T618; its fallback to the value <code>owner</code> is filed as fix M.TIX-T693
|-
| Change intake
| Specified; being built as a feature of the ticket system (M.TIX-T695, open). No results are claimed for it
|-
| Results record; refinement log
| <code>docs/buildup/RESULTS.md</code> (workspace); <code>docs/PART2_LOG.md</code> (this repository, S1)
|-
| Orchestrating agent
| One agent session of the command-line host
|-
| Building and assembly agents
| Agent sessions scoped to one repository, or sub-agents of the orchestrating session scoped the same way
|}


The second pass is the first application of the paradigm proper. The owner's instruction, recorded verbatim in the description of ticket MAT-T360, asked for three things: that every ticket be judged for whether it had been superseded or completed elsewhere ("it's better to mark a ticket as won't do than to keep it in and implement a feature that isn't wanted anymore"); that "the README and Docs should define the entire scope of every project"; and that "every project should have all its stories written down in waterfall format so the complete product already exists on paper and it's properly allocated to a nested hierarchy of tickets".
Several instruments were built while the method was applied, and several moved during the study from the shared agent standard into the ticket tool that, by the vision's own table, owns the plan (S1, L4, L21). The evaluation records which version was in force when each measure was taken.


The coordinating session wrote a brief (<code>docs/portfolio-consolidation/BRIEF.md</code>), a specification template (<code>mindattic-agent-standard/templates/SPEC.md</code>) and a new rule in the agent standard, and filed forty job tickets, MAT-T361 to MAT-T400, covering 102 repositories. The first version of the brief divided each product's unbuilt stories into two kinds: those in the active milestone, approved and prioritised, and "later" stories, filed as proposed at priority zero and held back for the owner's approval.
<strong>The periods.</strong> Part I covers 27 to 30 November 2026: a portfolio reset (MAT-T319, 27 November), a consolidation that wrote every product down whole (MAT-T360, 30 November) and a single-source pass that applied the hierarchy rubric, the vision document and the waves (MAT-T462, 30 November). Its reflexive case is this manuscript, planned as a tree of its own and written chapter by chapter by agents in wave order. Part II begins on 30 November with the pilot and runs into 1 December 2026; its sample is the first ten repositories of the build order.


<strong>The mid-pass redirection.</strong> About twenty minutes after the first ten jobs started, the owner wrote: "yes, the machine can be designed complete from the beginning; you see what's already there, we have full documentation, the correct way forward should be obvious for every project so lets built a sequential way of finishing and polishing every single ticket" (note on MAT-T360). The coordinator changed the brief (commit 8325bb7 in the workspace repository): there would be no proposed "later" tier; every unbuilt story would belong to an approved milestone in a release sequence, the active milestone first and the finished product last, each milestone ending in a polish-and-release feature, with priorities descending across the whole sequence. The ten running agents were sent the change by message. The record shows how it was absorbed: the MindAttic.Agency job, which had already filed two "later" epics as proposed at priority zero, reported that it approved them and attached them to planned milestones without being asked twice (<code>docs/portfolio-consolidation/RESULTS.md</code>, row T366, and the agent's report of 30 November). Jobs started after the change followed the amended brief from the beginning. No job reported a conflict between the two versions.
=== 7.3 Part I: the pre-registration for planning ===


The pass also changed its own procedure once, for safety. The brief's last step told agents to run <code>git pull --rebase --autostash</code> before pushing. The MindAttic.Tickets job reported that this dropped another agent's staged changes in a shared checkout; it restored them from the stash (Section 7.4). The coordinator replaced the step within minutes (commit c215c24) and messaged every running agent.
The claim under test, as registered before any results chapter was written (<code>docs/PREREGISTRATION.md</code>, 30 November 2026):


The totals at the end of the consolidation (<code>docs/portfolio-consolidation/RESULTS.md</code>, "Totals") were: 90 repositories with a <code>docs/SPEC.md</code>; tickets in the database up from 16,779 to 19,720; open tickets up from 1,617 to 2,408 (313 epics, 744 features, 544 stories and 807 tasks), all approved except one; closed tickets up from 13,692 to 15,718, mostly built work recorded as closed stories with evidence; and wont-do up from 1,470 to 1,594. The open count rose because the unbuilt remainder of each product was now on paper. The verdicts on the 1,617 tickets open at the start were mostly "keep": the reset three days earlier had already pruned hard. The largest closures were GridGame.Unity's travel-based overworld epic (30 tickets superseded under the owner's ruling of 29 November that the map stays decorative), 53 duplicate test-failure tickets in MindAttic.Tickets, 21 automatically filed test failures in MindAttic.Vault folded into three fixes, the Orchestrator's SIDEBAR duplicates, and Media.Capture's windowed recorder (per-job rows of the same file).
<blockquote>
A single human, acting only as the <strong>visionary</strong> (vision, specs, milestone order, purchases, sign-offs), can direct a fleet of LLM agents to plan, keep coherent and build a large multi-repository software portfolio, when the work is organised as a nested hierarchy of maximally abstract levels (epic > feature > story > task) flowing from one written vision (source to sea) and built bottom-up in dependency waves (reverse traversal).
</blockquote>


The 53 duplicates in MindAttic.Tickets are the case promised in Chapter 3, Section 3.3. They were tickets M.TIX-T422 to M.TIX-T473, each recording the same failure of the desktop application (an <code>InvalidCastException</code> when a database value was null), filed one per failing test by an automated test runner. The job linked all of them as duplicates of M.TIX-T421 and closed them wont-do (row T363). Vault's 21 were the same pattern on a smaller scale: three real causes, each reported many times. Both are what Chapter 3 predicted of sibling overlap: when the filing process does not check whether a sibling already covers the work, the tree grows copies, and each copy can be handed to a different worker.
("Source to sea" was the registration's name for the single source, and "reverse traversal" for building from the leaves up; the registration is frozen and keeps the old terms.)


==== 7.1.3 The single-source pass (MAT-T462, 30 November, afternoon) ====
<strong>Table 7.2.</strong> Part I criteria as registered.
 
The third pass applied the full paradigm. The owner's instruction is quoted verbatim in the description of MAT-T462; its operative clauses asked for every story to be re-verified "so that each feature is the most abstracted it can be, and each epic has the most abstracted features, and that everything is in line with everything else because they all are being created with a singular vision from the source of the river to the open sea". The coordinator first wrote the source document, <code>docs/ECOSYSTEM.md</code>, with its table of one owner per concern; the abstraction rubric (<code>mindattic-agent-standard/docs/single-source.md</code>); the waterfall generator and the hierarchy lint (<code>MindAttic.Agency/shared/waterfall/</code>). It then filed thirteen grouped jobs, MAT-T463 to MAT-T475, and later three more: MAT-T476 for three repositories that had never been consolidated, MAT-T477 to file the owner stories the jobs reported missing, and MAT-T478 to repair what measurement 1 found (Section 7.3).
 
Table 7.1 totals the per-job reports recorded in <code>SINGLE_SOURCE_RESULTS.md</code>. The counts are the agents' own; they were not independently recounted, except where the ticket history allows (below).
 
<strong>Table 7.1.</strong> The single-source pass, totals of the job reports (MAT-T463 to MAT-T475).


{| class="wikitable"
{| class="wikitable"
! #
! Criterion
! Measure
! Measure
! Total
! Viable if
! Notes
|-
|-
| Repositories covered
| C1
| 90
| Coverage
| plus 3 by MAT-T476
| Share of active repos with a <code>docs/SPEC.md</code> whose IDs all exist and whose open tickets all appear in it
| ≥ 95%
|-
|-
| Tickets renamed (as reported)
| C2
| 313
| Abstraction conformance
| plus reworded summaries, reported by some jobs only
| Share of open epics and features passing the automated hierarchy lint (no file, class or endpoint names; no bucket words; no epic with a single feature unless recorded)
| ≥ 90% after the MAT-T462 pass, and higher than before it
|-
|-
| Bucket epics or features dissolved
| C3
| 14
| Traversability
| children moved, bucket closed wont-do
| The cross-repo <code>requires</code> graph is acyclic and the waterfall assigns every open leaf to a wave
| 100% of leaves, 0 cycles
|-
|-
| Buckets reworded as outcomes instead
| C4
| 10
| Human at the source
| a deviation from the brief, Section 7.5
| Share of the owner's instructions during the studied period that are vision-level (what and why) rather than implementation-level (which file, which command), classified by a stated rubric from the session record
| ≥ 80% vision-level
|-
|-
| <code>requires</code> links added
| C5
| 511
| Agent autonomy
| at least 52 of them across repositories
| Share of agent jobs that finished their ticket without the owner's hands, other than owner-only steps (keys, purchases, sign-offs)
| ≥ 90%
|-
|-
| Platform re-points
| C6
| 27
| Safety
| a product story changed to use the owner of its concern
| Incidents where agent work destroyed or corrupted owner or agent work and was not recovered
| 0 unrecovered; every incident recorded with its fix
|-
|-
| Missing owner stories reported
| C7
| about 20
| Reflexivity
| filed by MAT-T477, which filed 24 stories in 14 repositories
| This dissertation is itself produced through its own tree: every chapter a story, written by agents in wave order, with the owner acting only at the source
| Every chapter maps to a closed story; owner inputs to the manuscript are vision-level
|}
|}


The ticket history gives an independent count for one of these figures. The database dump (<code>MindAttic.Tickets/data/Tickets.sql</code>, written at 20:10 UTC) holds 287 name changes on 30 November between 18:29:47 UTC, the first rename of the pass, and the dump's time, each on a different ticket; 284 of them are on epics and features. The job reports total 313 renames; the difference is consistent with renames made after the dump was written and with renames of stories and tasks, but the two counts were not reconciled ticket by ticket.
<strong>Verdict rule (Part I).</strong> <em>Viable</em>: C1, C3, C6 and C7 met, and at least two of C2, C4, C5 met. <em>Viable with conditions</em>: C3 and C6 met, and at least three of the remaining five met; the conditions are the unmet criteria, stated as requirements on practice. <em>Not viable</em>: otherwise.
 
Chapter 4, Section 4.6 asked how many links the pass added and where. By the job reports, the 511 <code>requires</code> links were concentrated in three kinds of place: between consecutive milestones of the same product (most jobs made the first story of each later milestone wait on the previous milestone's polish-and-release story), inside features where one task builds on another, and across repositories where a product story waits on a platform story. The largest single contribution was the IdiotProof family (120 links, MAT-T470), the smallest MAT-T471 for GridGame (7), which had already been ordered by the consolidation. The effect on the waterfall is direct. At the start of the pass the waterfall had 1,321 open leaves in 15 waves; at measurement 1 it had 1,387 leaves in 29 waves (Appendix B.3). The plan grew deeper, not wider, which is what adding real ordering constraints should do.
 
==== 7.1.4 How often the upper levels changed ====
 
Chapter 2, Section 2.3.2 noted that the bottom-up discipline of stepwise refinement depended on a stable specification, and promised a report of how often the case study's specifications had to change. Two levels can be measured.
 
<strong>The source.</strong> <code>docs/ECOSYSTEM.md</code> was written at 12:25 local time on 30 November and changed twice in the period, at 12:34 and 13:00 (<code>git log -- docs/ECOSYSTEM.md</code> in the workspace repository). Both changes were additions, not reversals: agents reported concerns or repositories the first version had left out (AssetForge, the two documentation repositories and the empty SendToYouTube; Corobs as a product library; a row for shared helpers; and the decision that every model call, including generated speech, image and video, belongs to Legion). No line of the vision was withdrawn.
 
<strong>The repository specifications.</strong> Across the 94 repositories with a <code>docs/SPEC.md</code> at the end of the period, 215 commits touched that file between 29 November and measurement 2 (<code>git log --since 2026-11-29 -- docs/SPEC.md</code> per repository; computation in the notes). The median repository's specification was committed twice: once when the consolidation wrote it and once in the single-source pass. Sixty-eight repositories had exactly two commits, three had one, and twenty-three had three or more; the most were six, in MindAttic.Orchestrator, followed by four in Gadfly, Prose, MindAttic.Tickets and MindAttic.Docs. The change logs (section 8 of each specification) hold the same number of dated rows, 215. The specifications that changed most were those of repositories that other sessions were working on during the period, which is the drift Section 7.2.1 measures.
 
The specifications therefore changed often in absolute terms, but almost entirely by addition and renaming: in this period no repository's finished product was redefined. Whether that stability lasts beyond a four-day window is outside what the case can show.
 
=== 7.2 Measurement 1 (the primary result) ===
 
Measurement 1 was made by story DNHA-T24 on 30 November, after the last single-source job of the original thirteen and the owner-story job MAT-T477 had closed (Appendix B, sections B.1 to B.8). The definitions are those of the pre-registration and Chapter 6.
 
==== 7.2.1 C1: Coverage ====
 
Of 94 active repositories, 88 were covered: each had a specification, every ID in it resolved, and every open ticket in the repository appeared in it (93.6 per cent; Appendix B.1). The threshold was 95 per cent. <strong>Not met.</strong> Six repositories fell short: Prose (37 open tickets missing from its specification), GridGame.Unity (33), Gadfly (19), MindAttic.Orchestrator (12), Dissertation.Tools (2) and Dissertation.ElenchusAtScale (1). No specification contained an ID that failed to resolve; every failure was of the other kind, an open ticket the specification did not list. If task-level tickets are left out of the check, 90 of 94 repositories pass (95.7 per cent); this variant is reported, not used.
 
The missing tickets were not ones the agents had overlooked. They had been filed after the specification was written, by other sessions running at the same time: Gadfly's were automatically filed test failures and examination-prompt work from a separate live session; Prose's and GridGame's included the owner stories and links filed by MAT-T477 and by the single-source jobs themselves. Coverage failed because the specification is a document written at a moment, while the tree it mirrors keeps growing. This is the main structural finding of the measurement, and it led to a new story in the plan's owner repository, M.TIX-T535, which renders section 4 of every specification from the ticket tree so that the two cannot drift.


==== 7.2.2 C2: Abstraction conformance ====
<strong>Measurement notes.</strong> Two notes were added to the registration as they happened, each dated. The first records that the C2 baseline was taken about twenty-five minutes after the first single-source jobs had started, so the true "before" rate is at most the recorded figure plus changes made in that interval. The second, committed after measurement 1 and before any repair, fixes measurement 1 as the primary result and states that a second measurement after repair through the method itself would be reported beside it as a secondary result, with no threshold or definition changed.


The hierarchy lint checked 1,079 open epics and features at the baseline and 1,098 after the pass (Appendix B.2). With the lint alone, the pass rate rose from 93.7 to 94.8 per cent; with Chapter 6's single-feature rule, from 90.8 to 92.5 per cent. Flags fell from 57 to 50 for code vocabulary, from 10 to 5 for buckets and from 4 to 2 for activity verbs; single-feature epics fell from 37 (none recorded as deliberate) to 35 (7 recorded). The threshold was at least 90 per cent after the pass and higher than before it. <strong>Met</strong>, under both variants.
<strong>Choices fixed before measuring.</strong> Where the registration left a choice open, it was fixed in the method chapter of the earlier version of this manuscript before the measures were computed: a single-feature epic fails C2 unless its specification's change log records the decision, with the pass rate reported both ways; for C4, one instruction is one distinct directive, acknowledgements are control messages outside the denominator, an instruction is vision-level if it would still make sense with every file, command and code name removed, and naming a product as the owner of a concern is vision-level. C4 was to be coded twice, independently; Section 8.1.2 reports that it was not.


<strong>The baseline was not a true "before".</strong> Chapter 6, Section 6.6 promised a count of the renames made before the baseline was taken. The baseline ran at 12:34 local time (18:34 UTC; the <code>generated</code> field of <code>LINT-baseline.json</code>). The ticket history shows that the first rename of the pass was at 18:29:47 UTC and that 143 epics and features had been renamed before 18:34:00 UTC, out of 284 epic and feature renames recorded up to the dump (notes). Half of the pass's visible renaming therefore happened before the "before" was measured. The effect on the measure is smaller than that suggests. Re-scoring the original names of those 143 tickets with the lint's own name rules finds that only 8 of them would have failed, against 11 failures among the same tickets at the baseline (the difference comes from summaries, which the lint also reads for epics). By that estimate the true starting pass rate was not lower than the recorded baseline, within the lint's resolution.
=== 7.4 Part II: the pre-registration for building ===


That estimate says less about the agents than about the instrument. The lint accepted 135 of the 143 original names, among them "Bug hunt", "Release hygiene" (accepted on name, flagged by its summary), "Dataset management" and "3.0 documentation", which the agents changed to "Package core without known bugs", "Every release proven", "Datasets can be removed" and "Polish and release 3.0" (history rows quoted in the notes). Each change moves a name from an activity or a topic towards an outcome or a capability, which is exactly what the rubric asks for, and almost none of them is visible to a regular expression that looks for file extensions, bucket words and leading verbs. The lint measures the floor of conformance, not its quality. C2 is met, but by a margin the instrument cannot resolve well, and the improvement the agents made is better seen in the rename record than in the percentage.
Part II was registered on 30 November 2026, before the first repository of the build order was combed or built (<code>docs/PREREGISTRATION-PART2.md</code>). It tests whether the method can <em>build</em> a portfolio from its plan, using the build-up procedure and tools as committed at registration.


==== 7.2.3 C3: Traversability ====
<strong>Units and measurement points.</strong> A unit is a repository that has completed its four steps (comb, membranes, build, record) and has a row in the results record. P1, the pilot, is measured after repository 1. P2 is measured after the first ten numbered repositories are done, or at the end of the study period, whichever comes first. "P2 is primary; P1 is reported beside it, never in its place."


The database's own check of explicit prerequisite links found no cycles, and the waterfall generator placed 1,387 open leaves in 29 waves (Appendix B.3). It also reported one cycle, at story U.HARE-T248 in Unity.Rea.Hare. <strong>Not met</strong> (the threshold was zero cycles).
<strong>Table 7.3.</strong> Part II criteria as registered.


<div class="md2wiki-parts">Part 1 of 2: <strong>1</strong> · [[Dissertation.NestedHierarchyAbstraction/vision-down-build-up/part 2|2]]</div>
<div class="md2wiki-parts">Part 1 of 2: <strong>1</strong> · [[Dissertation.NestedHierarchyAbstraction/vision-down-build-up/part 2|2]]</div>

Latest revision as of 01:17, 3 December 2026

Part 1 of 2: 1 · 2

Vision Down, Build Up

Download: PDF · Word

Nested Hierarchy Abstraction: A Plan-Driven Method with Agile Joints for a Visionary Directing Language-Model Agents

by MindAttic

Abstract

Language-model agents can carry out well-specified software work, but a person directing many of them across many products risks either steering file by file or losing the thread. This dissertation defines Nested Hierarchy Abstraction (NHA), a method in which one human, the Visionary, owns a single written vision; agents write every product down whole as a hierarchy of maximally abstract outcomes, capabilities, behaviours and code changes; and the product is built from the leaves up, with every existing file accounted for against the plan. Its thesis is a hybrid: most of the work runs as a plan-driven cascade, pivoting to iterative work only at the joints between finished parts, built and proven last as membranes, and at changes the Visionary introduces. From 104 refinements recorded while building, eight principles are distilled, among them that claims are not evidence, that the joint is a first-class unit of work, and that a fix counts only once installed and observed. Two pre-registered evaluations on one portfolio of about one hundred repositories are reported as measured. Planning was not viable at its primary measurement (coverage 93.6 per cent against 95, one dependency cycle, two incidents unrecovered) and viable with conditions after repair through the method's own channel, pending the Visionary's sign-off. Building was not viable at its primary measurement of ten repositories: comb completeness (141 of 141 files), safety and inferred autonomy met their bars, while debt resolution (80 per cent against 90), membrane coverage (10 of 11) and pyramid order (two early closes against none) missed. A re-measure repaired coverage but found four early closes and remains not viable. An installer defect, since fixed, explains part of the shortfall. The dissertation then extends the method from the code to the hardware: the capacity that builds a portfolio is itself a nested hierarchy (a mesh of machines, each hosting agent sessions under model accounts, each running agents) that mirrors the plan level for level, hangs from the same single source, and meets it at the leaf, where a task is whatever one agent can hold. Decomposing work to that smallest unit is what lets any idle agent on any machine take any ready task, and the method's planning conditions are what make software tasks independent enough for the established mechanisms of leases, fencing tokens and a single serialised writer to suffice. A mesh of the portfolio owner's own computers is described against those standards as a design under construction, with no measured result claimed. The study is one case, measured by the system it describes.

Keywords: large language models; LLM agents; multi-agent software development; software process; plan-driven development; agile development; hybrid development approaches; distributed computing; work breakdown structure; stepwise refinement; abstraction; technical debt; dependency graphs; human-in-the-loop; pre-registration; case study; design science

Statement on Authorship and Method

This dissertation was written by language-model agents under the direction of the owner of the MindAttic portfolio, who played the Visionary in the case it reports, by the method it describes. The owner supplied the question and the vision, asked for the revision that gave the manuscript its present form (ticket DNHA-T46), and holds the final sign-off (ticket DNHA-T29). An orchestrating agent wrote the specifications, the two pre-registrations (docs/PREREGISTRATION.md, docs/PREREGISTRATION-PART2.md) and the briefs; separate agent sessions wrote the chapters and took the measurements; and the measurements of Part II were taken by a read-only analyst agent working from the ticket store and the version history rather than from the orchestrating agent's record. Section 10.1 records what the record cannot show, including that every agent and the owner worked under one login and one version-control identity.

No source is cited as checked unless it was. Every cited work is recorded in the verification ledger (Appendix A) at the level at which it was read: full text, abstract or publisher page, or record located. Claims rest only on what was read at that level, and quotations appear only where the exact text was seen.

Every number about the case names its source. Part I's measures are in Appendix B and docs/measures/; Part II's are in the measurement reports cited below and summarised in Appendix C. The raw build-up log is kept unedited as supplementary data and is cited by entry.

Supplementary Data

Label Content Location in the repository
S1 The Part II build-up log, entries L1 to L50, with refinements R1 to R104, written as the work happened and never edited except to add entries docs/PART2_LOG.md
S2 Part II measurement P1, the pilot docs/measures/part2/P1.md
S3 Part II measurement P2, the first ten repositories, with its re-measure docs/measures/part2/P2.md
S4 Part I measurement outputs (coverage, lint, waterfall, coding, jobs, incidents) docs/measures/, docs/measures/m2/
S5 The per-repository build-up results record and the build order workspace docs/buildup/RESULTS.md, docs/buildup/BUILD_ORDER.md
S6 The mesh design record, with its decisions, rejected alternatives and "Built so far" MindAttic.Orchestrator docs/MESH_ARCHITECTURE.md
S7 The work-unit rule (only leaves are worked; a task fits a token budget) and the run costs that motivated it MindAttic.Orchestrator docs/WORK_UNITS.md
S8 The mesh build status and definition of done, 2 December 2026 workspace docs/plans/mesh-build-status.md

Citations of the form "(S1, L36)" refer to entry L36 of the build-up log; "(S3, B4)" refers to criterion B4 of the P2 report; "(S6, section f)" refers to section f of the mesh design record.

Abbreviations and Terms

Term Meaning
NHA Nested Hierarchy Abstraction, the method this dissertation defines
Visionary The one human role: owns the vision and the decisions it does not settle (Section 3.2)
Orchestrating agent The agent session that holds the plan between sessions and translates the vision into it
Building agent, assembly agent Agents bound to an explicit scope that build leaves, and that build a container's membrane
Membrane The story, one per container of two or more parts, that joins the parts and proves the joined flow (Section 4.4)
Comb, ledger The step that accounts for every source file against the plan, and its record (Section 4.3)
Change intake Stop, decompose, resume: the handling of a change the Visionary introduces mid-build (Section 4.6)
Wave A layer of the dependency graph; every leaf in one wave can be built in parallel (Section 4.1)
C1–C7 The seven pre-registered criteria of Part I (planning)
B1–B7 The seven pre-registered criteria of Part II (building)
M1, M2 Part I's first and second measurements
P1, P2 Part II's pilot and primary measurements
R1–R104 The numbered refinements of the build-up (S1)
Mesh, node, session, agent The levels of the capacity hierarchy: all the machines, one machine, one agent host under one model account, one sub-agent holding one task (Section 6.2)
Placement The record of which agent holds which task (Section 6.2)
Lease, fencing token A time-limited claim, and the number that rises with each grant so that a stale holder's write is refused (Section 6.5.2)
DAG Directed acyclic graph
HTN Hierarchical task network
INVEST Independent, Negotiable, Valuable, Estimable, Small, Testable (story criteria)
SPEC A product's complete specification
WBS Work breakdown structure

Chapter 1 — Introduction

1.1 The problem

Language-model agents can now read a codebase, file and close tickets, write and review commits and keep documentation current across many repositories at once. A single person can start dozens of them. What that person cannot easily do is keep them on one course. Each agent session begins with no memory of the last, does what its brief says rather than what its author meant, and works in parallel with others that may be changing the same files. Left to themselves, sessions open their own paths: tickets accumulate that no longer describe anything wanted, the same failure is filed many times over, products each build their own copy of a concern another product already owns, and specifications describe products that the tickets no longer match. The person directing the fleet is pulled in one of two directions: down to the ground, steering file by file, or away from it, losing the thread as the plans multiply.

The difficulty is old. The waterfall, the work breakdown structure, stepwise refinement, agile epics and stories, hybrid processes and hierarchical planning are all ways of keeping many hands working toward one end (Chapter 2). What is new is the workforce. Methods built for teams of people assume continuity, memory and a shared sense of purpose that a fleet of agents does not have. The question this dissertation addresses is what must be written down, in what form, and enforced by what tools, for such a fleet to build a large body of software from one person's vision while that person stays at the vision.

1.2 The method

The dissertation defines and evaluates a method for that purpose, Nested Hierarchy Abstraction (NHA), summarised in its title, Vision Down, Build Up. One human, the Visionary, owns a single written vision and the decisions it does not settle. From the vision down, every product is written down whole, as a complete specification mirrored in a hierarchy of epics (outcomes), features (capabilities), stories (behaviours) and tasks (code changes), each level as abstract as it can be and never naming the level below it, every shared concern owned by exactly one product, and the plan reasoned about (its design, its gaps, its completeness) before it is built on. From the leaves up, work units are built simplest first; every existing file is accounted for against the plan, and code that cannot be accounted for is filed as debt; leaves are built in dependency waves by agents bound to explicit scopes; and the joint between the finished parts of each container is built last, as its membrane, by an assembly agent that proves the joined flow with a recorded run before the container may close.

The method's central claim concerns the relation between those two directions. NHA is a plan-driven cascade for most of its length: the product is on paper before it is built, and the building follows the paper. It pivots to agile, iterative work at two places only: the joints between parts that neither the plan nor the coding flow had surfaced, which become membranes, and the changes the Visionary introduces during the build, which are placed against the vision, decomposed into the plan's own units and resumed from where the build left off (change intake). Neither pivot stops the cascade, because both are expressed in the plan's own terms and scheduled by the same dependency rule as everything else. Chapters 3 and 4 define the method; Chapter 5 states the principles its first application forced.

The method's abstraction does not stop at the software. The capacity that builds the plan is itself a nested hierarchy, a mesh of machines, each hosting agent sessions under model accounts, each running agents, and it mirrors the plan level for level: containers that host and leaves that work, one source, and a direction of composition opposite to the direction of description. The two hierarchies meet at the leaf, where the task is sized to what one agent can hold. Decomposing work down to that smallest unit is what lets capacity be composed up across machines, because any idle agent anywhere can take any ready task and the plan never names a machine. Chapter 6 states this distinction, maps it onto a mesh of the Visionary's own computers that is being built on the portfolio's single source, and sets the design against the standards and established practice of distributed systems.

1.3 Research questions

The dissertation asks four questions.

RQ1 (planning). Can a multi-product portfolio be written down from one vision as a nested hierarchy that meets checkable abstraction conditions, kept coherent by a fleet of agents, with the Visionary acting only at the source?

RQ2 (building). Can that plan then be built from its leaves up, with every file accounted for, the joints between parts built as membranes before their containers close, and the Visionary still acting only at the source?

RQ3 (repair). Where the method falls short of its own pre-registered bars, are the failures detectable and repairable through the method's own channel (a ticket worked by an agent), without the Visionary's hands?

RQ4 (refinement). What does applying the method force it to learn, and can those lessons be stated as general principles rather than as a list of local fixes?

RQ1 and RQ2 are answered by two pre-registered evaluations, each with criteria and a verdict rule fixed before any result was written (Chapter 7). RQ3 is answered by the repair-and-re-measure provisions of both pre-registrations. RQ4 is answered by the distillation in Chapter 5. The extension of the method to the hardware (Chapter 6) is not among the questions: it is a design, stated with the measures that will test it, because the mesh it describes was designed after both studied periods.

1.4 The case

The method was developed and evaluated on one portfolio: the MindAttic workspace, about one hundred repositories of applications, games, game modifications, libraries, tools, hardware guides and manuscripts under one owner, worked almost entirely by language-model agents, with a single ticket database holding about 20,000 tickets (Section 7.2). The owner of the portfolio played the Visionary. A long-running agent session played the orchestrating agent; agent sessions it started played the building and assembly agents; and the measurements were taken by read-only analyst agents working from the ticket store and the version history.

Two evaluations were run. Part I (27 to 30 November 2026) tested planning: three passes rebuilt the portfolio's plan, the last of which applied the hierarchy, the single source and the dependency waves to all active repositories, and seven criteria (C1 to C7) measured coverage, abstraction, traversability, the Visionary's place, agent autonomy, safety and the reflexivity of this manuscript's own making. Part II (30 November to 1 December 2026) tested building: repositories were taken in order of complexity and combed, membraned, built and recorded, and six criteria with bars (B1 to B6) and one descriptive measure (B7) were taken on the first ten repositories built.

1.5 The answer in brief

The answers are stated here exactly as Chapter 8 reports them.

Part I, planning. At the first measurement the method was not viable under its pre-registered rule: coverage of the plan by its specifications was 93.6 per cent against a bar of 95, because specifications drifted behind a tree that other sessions kept extending; the dependency graph held one cycle that existed only when two levels of links were combined; and two safety incidents were not yet shown to be recovered. That is the primary result for planning. Every defect was then repaired through the method's own channel on the same day, and a second measurement, reported beside the first and never in its place, met six of the seven criteria, giving viable with conditions. The seventh, the reflexivity of this manuscript, is complete only with the Visionary's sign-off, which is still open.

Part II, building. At the primary measurement (P2) the method was not viable under its pre-registered rule. It met its bars for comb completeness (141 of 141 files accounted in all ten repositories), safety (no unrecovered incident in 63 commits) and autonomy (60 of 60 leaves, but by inference only, because the ticket store recorded no closer). It missed three: debt resolved (12 of 15, 80 per cent, against 90), membrane coverage (10 of 11 containers, against 100 per cent) and pyramid order (two containers closed before their membranes, against zero). A re-measure after repair, reported beside the first, repaired membrane coverage (11 of 11) but left debt unchanged and raised the pyramid-order count to four, because filing the missing membranes exposed two early roll-ups the missing membranes had masked. The verdict at the re-measure is still not viable.

The data shows the causes. One installer defect, an installer that reported success when it had failed to replace the running tool, left the roll-up guard and the recording of closers uninstalled while the record said they were in force; it has since been fixed and verified. The build-up's own log, written by the system measured, missed both membrane-coverage gaps, which only the independent measurement found. The three open debts wait on decisions that belong to the Visionary. Two questions of reading were delegated by the Visionary to the orchestrating agent and decided before the re-measure: the pyramid-order bar stays strict, so the early roll-ups remain misses and this sample can never meet it; and membrane coverage is read as it was at the pilot.

What works. The method's contribution does not rest on its unmet bars, and the dissertation does not argue them away. It rests on what the evaluation shows working: the comb accounted for every file in every repository of the sample; no safety incident was left unrecovered in Part II, nor in Part I once its repair was made; defects were found by reading code and by recorded joined runs that builds and tests had missed; and every repair the measurements called for went through the method's own channel, a ticket worked by an agent.

1.6 Contributions

The dissertation makes seven contributions.

  1. A definition of NHA as a method (Chapters 3 and 4): its roles, artefacts, hierarchy conditions, plan passes and building procedure, stated independently of any particular ticket system or agent platform, so that it can be applied and tested elsewhere.
  2. A hybrid with a structural rule for where agility belongs (Section 4.5): a plan-driven cascade with iterative work confined to two pivots, the membrane, which handles the joints the build surfaces, and change intake, which handles the changes the Visionary introduces, both scheduled by the plan's own dependency rule. The hybrid literature establishes that teams combine plan-driven and agile practice (Section 2.4.1); this dissertation proposes where in a plan the agile part goes.
  3. Eight principles (Chapter 5), distilled from 104 refinements recorded during the build-up, each with the failure it prevents and evidence from the case: claims are not evidence; the joint is a first-class unit of work; proof is a recorded run of the behaviour claimed; scope binds agents, not priority; a fix counts only once installed and observed; the machine is part of the build; every concern has one owner, and work moves to it; and what only the Visionary can decide is routed, never guessed or forced.
  4. Two pre-registered evaluations on a real portfolio (Chapters 7 and 8), with their unfavourable verdicts reported first and their causes traced in the data.
  5. Instruments for the method's checks (a dependency-wave generator, a hierarchy lint, a code ledger, a membrane finder, a plan check and a roll-up guard), described in general terms in Chapter 4 and as implemented in Chapter 7.
  6. A methodological finding about self-measuring systems (Sections 8.2 and 10.2): a record written by the system under study reports the failures it noticed and misses the ones it did not, and repairing one criterion can expose misses in another that the first had masked.
  7. The hardware as a level of the hierarchy (Chapter 6): a statement of the correspondence between the plan and the capacity that builds it, conditions on that correspondence (leaves meet leaves, exactly once, fit, composition, one source, and a plan that names no machine), and an account of how a design built on it conforms to, and deliberately departs from, the standards on architecture description, leases and fencing, partitions and consensus, zero trust and distributed scheduling. It is a design contribution; nothing in it is yet measured.

1.7 Limits, briefly

Chapter 10 sets out the threats to validity in full. Five shape how everything else should be read. This is one case: one Visionary, one portfolio, one family of models, over days. The orchestrating agent that ran the work is part of the system measured. Every agent and the Visionary shared one login, so the record cannot by itself separate an agent's action from the Visionary's, which is why autonomy is inferred. Accounting for files relies on version history and ticket references as well as on reading. And Part II's sample is the ten simplest repositories; the four largest products, pinned to the end of the build order, have not been reached. Both evaluations ran on one machine; the extension of the method to many machines (Chapter 6) is a design, described with what will be measured, not a result.

1.8 Structure of the dissertation

Chapter 2 reviews the work NHA inherits from: the waterfall and the work breakdown structure, stepwise refinement and levels of abstraction, agile and hybrid processes, hierarchical planning, language-model agents, the human's place in automated work and Conway's law. Chapters 3 and 4 define the method, planning down and building up. Chapter 5 states its principles. Chapter 6 extends the hierarchy from the code to the hardware, mapping the method's levels onto a mesh of machines and placing that design against the relevant standards. Chapter 7 describes the case and the two pre-registered evaluation designs. Chapter 8 reports the results of both. Chapter 9 discusses what they show about the method's central claim, and Chapter 10 sets out the threats to validity. Chapter 11 concludes and states the remaining work. Appendix A is the source verification ledger; Appendix B holds the Part I measurement data; Appendix C summarises the Part II data and maps every refinement to the principle that absorbs it. The raw build-up log and the Part II measurement reports are supplementary data, cited by entry.

Chapter 2 — Background

2.1 What this chapter has to establish

The method this dissertation defines, Nested Hierarchy Abstraction (NHA), makes four claims about how a single person can direct a fleet of language-model agents. The first is that work should be held as a nested hierarchy in which each level is as abstract as it can be: outcomes at the top, then capabilities, then behaviours, then pieces of code. The second is that the hierarchy should be planned from the top down, from one written vision (the single source), and built from the bottom up, in waves set by explicit dependencies. The third is that most of that building can proceed as a plan-driven cascade, with iterative, discovery-driven work confined to the joints between finished parts (the membranes). The fourth is that the human's place in such a system is at the source, as the Visionary who holds the vision and gives the sign-offs only a person can give, rather than as a developer working alongside the agents.

None of these ideas is new on its own. Hierarchical decomposition is one of the oldest ideas in software engineering and in artificial intelligence; agile practice has its epics and stories; the waterfall model has been criticised for half a century, and practitioners have long combined it with agile practice; and the recent literature on language-model agents is largely a literature about decomposing tasks. The purpose of this chapter is therefore not to claim novelty for the parts. It is to set out what each body of work actually says, so that later chapters can say precisely which of its findings the method inherits, which it changes, and what it adds. Six strands are reviewed: the waterfall model and the work breakdown structure (Section 2.2); stepwise refinement and levels of abstraction (Section 2.3); agile epics, features and stories, and the hybrid processes that combine agile and plan-driven practice (Section 2.4); hierarchical task network planning (Section 2.5); language-model agents and multi-agent software development (Section 2.6); and the place of the human in automated systems, together with Conway's law (Sections 2.7 and 2.8). Section 2.9 sets out what the method takes from each strand, and Section 2.10 states the gap.

A word on method. The manuscript follows the rule set out for this series of dissertations: no work is cited as if it had been checked unless it was. Each source below was opened in the research pass of 30 November 2026, and the level at which it was verified (full text, the relevant sections, or only the abstract or publisher page) is recorded in the research notes for this chapter and, in consolidated form, in Appendix 90. Where a claim rests only on an abstract, the text says so or confines itself to what an abstract can establish. Several standard works that would normally be cited here were not read in this pass, and are named as such in Section 2.10 rather than cited.

2.2 The waterfall and the work breakdown structure

2.2.1 What Royce wrote

The word "waterfall" is usually attached to a 1970 paper by Winston Royce, "Managing the development of large software systems", and the paper is usually remembered as the origin of a rigid sequence of phases in which requirements are fixed, then design, then code, then test, each completed before the next begins. Read in full, the paper says something more interesting and, for the purposes of this dissertation, more useful (Royce, 1970).

Royce begins from two steps, analysis and coding, which he says are all that is needed "if the effort is sufficiently small and if the final product is to be operated by those who built it". For larger systems he says an implementation plan keyed only to those two steps "is doomed to failure", and he adds requirements, design and testing steps around them. He then draws the familiar cascade of phases, and the iteration he hopes for: each step iterating with "the preceding and succeeding steps but rarely with the more remote steps in the sequence", so that "the change process is scoped down to manageable limits". The sentence that follows the cascade diagram is the one that is usually forgotten: "I believe in this concept, but the implementation described above is risky and invites failure" (Royce, 1970). The reason he gives is that testing, which comes last, is "the first event for which timing, storage, input/output transfers, etc., are experienced as distinguished from analyzed"; when those phenomena fail to meet external constraints, "invariably a major redesign is required", and "the development process has returned to the origin" with up to a hundred-percent overrun.

Royce's remedy is not to abandon the sequence but to add five things to it. First, program design comes first: a preliminary design is made before analysis, "even at the risk of being wrong", and an overview document is written that is "understandable, informative and current", because "at least one person must have a deep understanding of the system which comes partially from having had to write an overview document". Second, the design is documented, and documented heavily: "the first rule of managing software development is ruthless enforcement of documentation requirements", and "during the early phase of software development the documentation is the specification and is the design". Third, the job is done twice, the first version being "the entire process done in miniature" so that questions which are otherwise "matters of judgment" can be "studied with precision". Fourth, testing is planned, controlled and monitored. Fifth, the customer is involved "in a formal way so that he has committed himself at earlier points before final delivery", because "to give the contractor free rein between requirement definition and operation is inviting trouble" (Royce, 1970).

Three features of this reading matter for what follows. The first is that the paper's central object is a document, written before the code, that states the whole system: Royce contrasts the thirty-page specification he would expect to control the procurement of a five-million-dollar hardware device with the far longer one he estimates is needed to control the same value of software. The paradigm studied here makes the same move in a different medium, requiring every repository to carry a complete written specification of the finished product before it is built. The second is that Royce locates the failure of the naive sequence in feedback that arrives too late, from the most remote step to the first, and his remedies are all ways of bringing that feedback forward. The third is that he places one person, the designer who writes the overview, at the point where the whole system is understood, and asks the customer to commit at defined points. The question this dissertation asks of a language-model fleet is a version of Royce's question: where must the human stand, and what must be written down, for a large system to be built without returning to the origin.

2.2.2 The work breakdown structure

A second tradition from large engineering projects organises work not by phase but by product. NASA's handbook on the work breakdown structure (WBS) defines it as "a product-oriented family tree that identifies the hardware, software, services, and all other deliverables required to achieve an end project objective", whose purpose is "to subdivide the project's work content into manageable segments to facilitate planning and control of cost, schedule, and technical content" (NASA, 2021). The handbook says the WBS "identifies the total project work to be performed", including work done by contractors and partners, and its procedure for building one starts at the top: "Create a parent or end product at the top of your list", then "subordinate major groupings", then "smaller groupings that have natural dividing points", and finally a translation of the functional groupings into a product structure (NASA, 2021, pp. 29–30). Among its examples are two that it lists, in its table of contents, as unsuitable: a "non-product, phase-oriented WBS" and a "functional/organizational oriented WBS" (NASA, 2021, list of figures).

Two properties of the WBS carry over directly into the rubric of Chapter 3. The first is coverage: the tree is meant to contain all of the work, so that finishing every leaf finishes the product. The second is orientation: the levels are organised around the product and its parts, not around the phases of the process or the departments of the organisation. A hierarchy whose top level is "design, build, test" is, in the handbook's terms, unsuitable, because its parts do not correspond to anything delivered. The paradigm's insistence that an epic name an outcome and not an activity, and its prohibition of "bucket" epics such as "cleanup" or "loose ends", are the same judgement applied to a backlog.

2.3 Stepwise refinement and levels of abstraction

2.3.1 Wirth: programming as a sequence of design decisions

Wirth's 1971 paper "Program development by stepwise refinement" describes programming as "a sequence of design decisions concerning the decomposition of tasks into subtasks and of data into data structures" (Wirth, 1971, p. 221). The program is "gradually developed in a sequence of refinement steps. In each step, one or several instructions of the given program are decomposed into more detailed instructions." The decomposition "terminates when all instructions are expressed in terms of an underlying computer or programming language", and "every refinement step implies some design decisions. It is important that these decision[s] be made explicit, and that the programmer be aware of the underlying criteria and of the existence of alternative solutions" (Wirth, 1971, p. 221).

The paradigm under study generalises this from the statements of one program to the work items of a portfolio. An epic is refined into features, a feature into stories, a story into tasks, and the refinement stops when each task is expressed in terms of the underlying "machine", which here is one agent session that can complete it in a single commit. Wirth's two conditions survive the generalisation. The refinement terminates at a level fixed by the executing machine, and each step embodies a design decision that should be explicit. In the paradigm, the explicit record of each decision is the specification document and its change log, and the "machine" whose facilities bound the refinement is an agent with a token budget.

2.3.2 Dijkstra: levels that hide what lies below

Dijkstra's account of the THE multiprogramming system describes a system that "admits a strict hierarchical structure" (Dijkstra, 1968). At level 0 sits processor allocation; at level 1 the segment controller; at level 2 the message interpreter; at level 3 the buffering of input and output; at level 4 the user programs; and at level 5 the operator. Each level achieves an abstraction that every level above it relies on. Above level 0, "the number of processors actually shared is no longer relevant"; above level 1, "the actual storage pages hav[e] lost their identity, having disappeared from the picture"; above level 2, "it is as if each process had its private conversational console". The placement of each component is argued from what it needs: the message interpreter sits above the segment controller because its vocabulary is stored in segments.

Two parts of Dijkstra's account bear on this dissertation. The first is the principle that a level should not mention what lies below it: storage pages "disappear from the picture" above level 1. The abstraction rubric of Chapter 3 states the same condition for planning artefacts, requiring that a feature never name the files or classes its tasks will touch. The second is the way the system was verified. "Starting at level 0 the system has been tested, each time adding (a portion of) the next level only after the previous level has been thoroughly tested", and the hierarchy is what made this feasible: had the levels not been separated, "the number of 'relevant states' would have exploded to such a height that exhaustive testing would have been an illusion" (Dijkstra, 1968). The paradigm's reverse traversal, in which leaves are built and closed first and each container closes only when its last child does, is the same discipline applied to construction rather than testing. Dijkstra draws the general lesson in his conclusions. A general-purpose mechanism cannot be tested on all possible cases, only on "a set of relevant test cases", and what is relevant "cannot be decided as long as one regards the mechanism as a black box". It therefore "seems the designer's responsibility to construct his mechanism in such a way — i.e. so highly structured — that at each stage of the testing procedure the number of relevant test cases is so small that he can try them all and that what is being tested is so perspicuous that it is clear that he has not overlooked a situation" (Dijkstra, 1968). The analogue for a hierarchy of work is a structure in which each container can be judged complete by inspecting a small number of children, each of which is itself small enough to be judged. That is what the paradigm's size bounds (two to six features per epic, one to six stories per feature) are meant to secure.

Two other remarks in the paper anticipate concerns of this dissertation. Among the three guiding principles the Eindhoven group set itself, the first was to "hold out against all pressure to incorporate such system expansions that would only result into a purely quantitative increase of the total amount of work to be done". The paradigm's preference for closing a ticket as "won't do" over building a feature no longer wanted, and its requirement that every new idea enter the written specification before it enters the queue, are versions of the same defence against scope that grows without anyone deciding it should. Dijkstra also records that "reprogramming on account of a change of specifications has been rare, a circumstance that must have contributed greatly to the feasibility" of the method. A stable specification, in other words, was a precondition of the bottom-up discipline working. The method's equivalent precondition is a vision document that changes rarely and deliberately, and Section 8.1.1 reports how often the specifications in the case study had to change.

Dijkstra's paper also describes the co-operating processes as a "harmonious society" whose co-operation "can be established by discrete reasoning" independently of how many processors carry it out. That is an unusually close precedent for the claim, stated in Chapter 4, that an explicit dependency structure lets an arbitrary number of agents build in parallel without changing what is built.

2.3.3 Parnas: decomposition by hidden decisions

Parnas's 1972 paper is about the criteria for dividing a system into modules, and its conclusion cuts against a naive reading of stepwise refinement. Comparing two decompositions of the same small system, he concludes that "it is almost always incorrect to begin the decomposition of a system into modules on the basis of a flowchart", that is, on the steps of the processing. "We propose instead that one begins with a list of difficult design decisions or design decisions which are likely to change. Each module is then designed to hide such a decision from the others" (Parnas, 1972). The second decomposition, built on "information hiding", produces modules that "no longer correspond to steps in the processing". Parnas also notes that the information-hiding decomposition admits a hierarchy "in the sense illustrated by Dijkstra", with each module placed on the level above the modules it requires (Parnas, 1972).

For a hierarchy of work, Parnas supplies the criterion for drawing boundaries. A feature boundary drawn around a phase ("write the code", "write the tests", "write the docs") is a flowchart decomposition; a boundary drawn around a capability that could change independently is an information-hiding decomposition. The paradigm's rule that there is "one owner per concern", under which a product never re-implements credentials, language-model access, logging or deployment and instead depends on the repository that owns that concern, is Parnas's criterion applied across repositories: each platform repository hides one family of design decisions from every product that uses it.

2.4 Agile epics, features and stories

The agile movement is usually presented as a rejection of the waterfall, and in its principles it rejects heavy up-front documentation in favour of "working software" as "the primary measure of progress", and it holds that "Simplicity--the art of maximizing the amount of work not done--is essential" (Beck et al., 2001). Its practices nonetheless contain a hierarchy of work items that is close to the one examined here.

The user story is the base unit. A common template, in the wording of Mountain Goat Software's guidance, is "As a [type of user], I [need/want/am required] to [do something], so that [reason or benefit]", a sentence that is "a reminder to have a conversation"; an epic "is a large story", useful "when the team wants to remember an important capability before knowing all the details"; "as the epic gets closer to development, it should be split into smaller stories the team can finish" (Mountain Goat Software, n.d.). The same guidance warns that technical work such as "Create payment-token database table" is "probably a task", and that not everything should be forced into story form. Wake's INVEST acronym gives the qualities of a good story: independent, negotiable, valuable, estimable, small and testable. Independence means the stories should "not overlap in concept", and ideally can be scheduled "in any order"; Wake concedes that "we can't always achieve this" (Wake, 2003).

The Scrum Guide places the content of this hierarchy in the hands of one accountable person. The Product Owner "is accountable for maximizing the value of the product", which "includes: Developing and explicitly communicating the Product Goal; Creating and clearly communicating Product Backlog items; Ordering Product Backlog items; and, Ensuring that the Product Backlog is transparent, visible and understood". The Product Goal "is the long-term objective for the Scrum Team. They must fulfill (or abandon) one objective before taking on the next" (Schwaber & Sutherland, 2020).

Three observations connect this practice to the paradigm. The first is that the agile hierarchy is defined largely by size: an epic is a large story, and a story is split when it is too big. The paradigm instead defines each level by the kind of thing it names (an outcome, a capability, a behaviour, a code change), which is closer to Dijkstra's levels than to a size scale. The second is that INVEST's "independent" and the paradigm's "disjoint siblings" are the same requirement, and Wake's concession that independence cannot always be achieved is answered in the paradigm by making the residual dependencies explicit as links, so that a scheduler can order them. The third is that the Product Owner's accountabilities, stating the goal and ordering the backlog while others do the work, are almost exactly the role the method assigns to the Visionary. The difference is in who the "others" are, and in how much must therefore be written down. A human development team can carry the conversation that a story card is a reminder of. A fleet of agents that start each session without memory cannot, so the conversation has to live in the written specification. That is one place where the paradigm sides with Royce against the agile preference for conversation over documents.

2.4.1 Between the waterfall and agile: hybrid processes

The opposition between plan-driven and agile development is sharper in argument than in practice. Boehm and Turner argued that both kinds of approach "have situation-dependent shortcomings" and that "the challenge is to balance the two approaches to take advantage of their strengths", proposing a risk-based way of deciding, project by project, how much of each to use (Boehm & Turner, 2003; abstract, read from a catalogue record). Empirical work since then has found the balance struck routinely, and in a particular shape. A survey of 69 practitioners on how development approaches are combined found that most combinations use a traditional process model as the framework, with fine-grained agile practices added inside it, and that such hybrids arise from experience and pragmatism rather than from company size or external triggers (Kuhrmann et al., 2017; abstract summary from the authors' institutional repository). An international survey with 732 data points reported that "76.8% of the companies implement hybrid methods" (Klünder et al., 2019, abstract). A later study of 556 data points found that "only a small number of participants operate their projects in a purely traditional or agile manner (under 15%)", that agility "cannot be defined solely at the process level", and that processes mutate into hybrids over time (Kuhrmann et al., 2022, abstract).

These studies establish that hybrid development is the common case for human teams, and they describe its usual shape: a plan-driven frame with agile practice inside. What they do not supply, in the abstracts read, is a rule for where in a plan the agile work belongs, or a mechanism that keeps the iterative part from leaking back into the plan. NHA proposes one answer: the plan-driven frame holds everything above the leaves and the order of the leaves, and agile, iterative work is confined to one structurally defined place, the joint between sibling parts of one container, scheduled by the same dependency rule as everything else (Chapter 4, Section 4.5). Whether that confinement holds is part of what Chapter 8 reports.

2.5 Hierarchical planning in artificial intelligence

Planning research reached hierarchical decomposition independently of software engineering. Sacerdoti's procedural net, presented at IJCAI in 1975, represents "a plan as a partial ordering of actions with respect to time"; by "avoiding premature commitments to a particular order for achieving subgoals", a problem solver "can deal easily and directly with problems that are otherwise very difficult to solve" (Sacerdoti, 1975, abstract). The abstract's point, that plans are executed one step at a time but need not be represented as linear sequences, is the planning-theoretic form of the paradigm's distinction between the tree (what must be done) and the waves (an order in which it can be done, with everything not ordered left free to run in parallel).

Hierarchical task network (HTN) planning formalised the approach. In Erol, Hendler and Nau's formulation, a planning problem includes primitive tasks, whose effects are given by operators, and non-primitive tasks, for which "methods" give ways of decomposing them: "each method is a pair $m = (t, d)$, where $t$ is a task and $d$ is a task network. It says one way to achieve $t$ is to perform the tasks specified in the network $d$", subject to constraints on ordering and variable bindings (Erol, Hendler & Nau, 1994). Planning proceeds by repeatedly replacing non-primitive tasks with the networks their methods give until only primitive tasks remain. The authors note that "compound tasks provide an abstract representation for sets of primitive task networks, similar to the way non-terminal symbols provide an abstract representation for sets of strings in context-free grammars".

Their complexity results matter for this dissertation. HTN planning is more expressive than planning with STRIPS-style operators, and it is undecidable "even if no variables are allowed, as long as there is the possibility that a task network can contain two non-primitive tasks without specifying the order in which they must be performed". The conclusion is direct: "handling interactions among non-primitive tasks is the most difficult part of HTN planning. In particular, if subtasks in the expansions for different tasks can be interleaved, then planning is undecidable" (Erol, Hendler & Nau, 1994). A backlog is not an HTN planning problem, and nothing in this dissertation depends on that formal result applying to it. The result does give a precise reason why the paradigm's rubric treats overlap between sibling features as a defect rather than a matter of taste. When the expansions of two containers share or interleave subtasks, the structure loses the property that makes it tractable. The rubric's remedy, assigning shared work to one owner and expressing the other's need as an explicit dependency, restores a structure in which interactions between containers are confined to stated links.

2.6 Language-model agents and multi-agent software development

2.6.1 Agents that plan and act

The current generation of language-model agents rests on a small number of ideas. ReAct interleaves "reasoning traces and task-specific actions", so that "reasoning traces help the model induce, track, and update action plans as well as handle exceptions, while actions allow it to interface with and gather additional information from external sources" (Yao et al., 2023, abstract). Plan-and-Solve prompting addresses "missing-step errors" in zero-shot reasoning by "first, devising a plan to divide the entire task into smaller subtasks, and then carrying out the subtasks according to the plan" (Wang et al., 2023, abstract). HuggingGPT uses a language model as "a controller" that conducts "task planning when receiving a user request", selects models for each subtask, executes them and summarises the results (Shen et al., 2023, abstract). In each case decomposition happens inside a single episode: the plan is generated for the task at hand, used, and discarded.

2.6.2 Agent teams that develop software

Two systems apply multi-agent decomposition to software development explicitly. MetaGPT "encodes Standardized Operating Procedures (SOPs) into prompt sequences", assigning "diverse roles to various agents" in "an assembly line paradigm", "breaking down complex tasks into subtasks involving many agents working together"; it motivates this by the "logic inconsistencies due to cascading hallucinations caused by naively chaining LLMs" (Hong et al., 2024, abstract). ChatDev is more explicit still about its lineage. Its authors write that "ChatDev thus adopts the core principles of the waterfall model, using a chat chain … with sequential phases …, each comprising sequential subtasks", segmenting development into "three sequential phases: design, coding, and testing", with coding divided into writing and completion and testing into code review and system testing; in each subtask two agents take the roles of instructor and assistant (Qian et al., 2024, Section 3.1). AutoGen provides a general framework in which "multiple agents … can converse with each other to accomplish tasks", in modes that combine "LLMs, human inputs, and tools" (Wu et al., 2023, abstract).

These systems demonstrate that language-model agents can be organised into roles and phases, and that doing so reduces the incoherence of naive chaining. They also share a set of boundaries that define the territory this dissertation explores. Each organises a single development run toward a single requested program. Each decomposes by phase or role, which is the decomposition NASA's handbook calls unsuitable for a work breakdown and Parnas argued against for modules, rather than by product capability. And in each the decomposition is created and consumed within the run, rather than persisting as a maintained structure that a human edits over months and that many independent runs draw work from.

2.6.3 Agents on real repositories

SWE-bench moved evaluation from generated toy programs to "2,294 software engineering problems drawn from real GitHub issues and corresponding pull requests across 12 popular Python repositories", where resolving an issue "frequently requires understanding and coordinating changes across multiple functions, classes, and even files simultaneously"; at publication the best model resolved 1.96% of the issues when it had to find the relevant files itself (Jimenez et al., 2024). SWE-agent showed that the interface given to the agent matters, with "a custom agent-computer interface" raising the resolution rate on SWE-bench to 12.5% (Yang et al., 2024, abstract). A systematic review of 395 papers on language models in software engineering up to January 2024 catalogues the tasks to which models had been applied and the methods used to evaluate them (Hou et al., 2024, abstract).

This line of work treats the unit of agent work as one issue in one repository. The paradigm studied here takes that unit for granted, since its leaf task is roughly an issue-sized change landed as one commit, and asks a different question: how a very large number of such units, across many repositories, are to be generated, kept coherent with one another and with a single vision, and ordered so that they can be worked asynchronously. Neither SWE-bench nor the multi-agent frameworks above addresses where the issues come from or what keeps a portfolio of them consistent.

2.7 The human's place

Royce's fifth step, involving the customer formally at defined points, and the Scrum Product Owner's accountability for the goal and the ordering of the backlog, are two answers to the question of where a non-developer belongs in development. The literature on human-centred artificial intelligence offers a third framing. Shneiderman argues that "well-designed technologies that offer high levels of human control and high levels of computer automation can increase human performance", and his framework aims to clarify "how to (1) design for high levels of human control and high levels of computer automation", "(2) understand the situations in which full human control or full computer control are necessary, and (3) avoid the dangers of excessive human control or excessive computer control" (Shneiderman, 2020, abstract). The central move is to treat control and automation as two dimensions rather than opposite ends of one scale.

The paradigm can be read as a specific proposal about where on those two dimensions a software studio should sit. Automation is high at every level below the source: agents decompose, plan, write, verify and close the work. Control is concentrated at the source rather than spread through the work: the Visionary writes and revises the vision, orders the milestones, and gives the sign-offs, purchases and account actions that only a person can. Whether that concentration still amounts to high control, or whether it merely relocates the human to a position from which drift below goes unseen, is the empirical question that criteria C4 and C5 of the first pre-registration and B5 of the second (Chapter 7) are designed to test.

2.8 Conway's law

Conway's 1968 paper gives the strand of this literature with the strongest claim about structure. "The basic thesis of this article is that organizations which design systems (in the broad sense used here) are constrained to produce designs which are copies of the communication structures of these organizations" (Conway, 1968). He describes the relationship as a homomorphism, "from the linear graph of a system to the linear graph of its design organization", and draws a management criterion from it: "a design effort should be organized according to the need for communication". He adds that because "the design which occurs first is almost never the best possible, the prevailing system concept may need to change", so that "flexibility of organization is important to effective design".

For an organisation made of agents the thesis can be read in either direction. If agents communicate only through the ticket tree and the written specifications, Conway's law predicts that the system they build will mirror that tree, so the structure of the tree is a design decision about the product, not merely a scheduling aid. This is the strongest argument for the paradigm's insistence that the hierarchy be organised around outcomes and capabilities, and that every platform concern have exactly one owning repository. A tree organised around phases or around whichever agent happened to file a ticket would, on Conway's thesis, produce a system organised the same way. Conway's remark about flexibility also bears on the paradigm. An agent organisation can be restructured far more cheaply than a human one, so the cost that made his recommendation hard to follow in 1968 is much lower here. That cheapness has a corresponding risk: an agent organisation can also drift into a new structure without anyone deciding that it should.

2.9 What the method inherits

Table 2.1 sets the strands side by side, so that each element of NHA in the right-hand column can be traced to an idea in the middle column rather than presented as an invention. Chapters 3 and 4 state each element formally.

Strand Idea taken from the source Element of NHA
Royce (1970) The whole system written down before it is built; one person who understands the whole; the customer committed at defined points The complete specification of every product; the Visionary at the source, signing off milestones
NASA (2021) A product-oriented tree that holds all of the work; phase-oriented trees are unsuitable Covering; epics named for outcomes, not activities; no bucket epics
Wirth (1971) Refinement in steps, each an explicit design decision, ending at the facilities of the machine Epic to feature to story to task, ending at a change one agent session can land in one commit; the specification's change log as the record of decisions
Dijkstra (1968) Levels that hide what lies below; verification from level 0 upward; resistance to merely quantitative expansion The vocabulary condition; building from the leaves up, tier by tier; won't-do as the default for unwanted work
Parnas (1972) Boundaries drawn around hidden design decisions, not processing steps One owner per shared concern; features as capabilities that change independently
Agile practice (Beck et al., 2001; Wake, 2003; Schwaber & Sutherland, 2020; Mountain Goat Software, n.d.) The story as a user-visible behaviour; independent stories; one accountable owner of the goal and its ordering; working software as the measure of progress Stories with acceptance; disjoint siblings with residual dependencies made explicit; the Visionary's role; the membrane's recorded run
Hybrid processes (Boehm & Turner, 2003; Kuhrmann et al., 2017; Klünder et al., 2019; Kuhrmann et al., 2022) Plan-driven and agile practice combined, usually as a plan-driven frame with agile practice inside A plan-driven cascade with agile work confined to the joints
HTN planning (Sacerdoti, 1975; Erol, Hendler & Nau, 1994) Plans as partial orders; decomposition by methods; interactions between non-primitive tasks as the source of difficulty The tree as what must be done and the waves as one admissible order; overlap between containers treated as a defect; interactions placed in membranes
Technical debt and traceability (Cunningham, 1992; Kruchten, Nord & Ozkaya, 2012; Gotel & Finkelstein, 1994) Unconsolidated code as debt that must be repaid; following a requirement through refinement and iteration The comb, which makes debt enumerable; the membrane's run as a trace from a container's acceptance to evidence
Agent literature (Section 2.6) Agents that plan and act; roles and phases for development; issue-sized units of agent work Leaves sized to one agent session; but decomposition by product, persisting across runs and work units
Shneiderman (2020) Human control and automation as two dimensions, not one High automation below the source, human control concentrated at it
Conway (1968) Systems mirror the communication structure of the organisation that builds them Agents bound to scopes and communicating through the tree and handoffs; one written vision shared by every agent

The table also shows where NHA departs from its sources. It departs from the agile strand in requiring the conversation behind each story to be written down, because the "team" does not remember. It departs from ChatDev and MetaGPT in decomposing by product rather than by phase or role. It departs from the hybrid practice the surveys describe in placing the agile part at a structurally defined point, the joint, rather than leaving the mix to each team. And it departs from Royce in one important respect. Royce's specification was written by people for people, at a cost large enough that he had to argue for it. Here the specification is written largely by agents, from the Visionary's vision and the existing code, at a cost low enough that the whole product can be put on paper at the outset. Whether that changes the economics that made the naive waterfall fail is one of the questions the evaluation is meant to inform.

2.10 The gap

The literature reviewed above supplies most of the parts of NHA. The waterfall, read as Royce wrote it, supplies the written specification of the whole system and one person where the whole is understood. The work breakdown structure supplies coverage and product orientation. Wirth, Dijkstra and Parnas supply refinement to the facilities of the executing machine, levels that hide what is below them, verification from the bottom up, and the criterion for drawing boundaries. Agile practice supplies the story, independent siblings and an accountable owner of the goal; the hybrid literature shows that plan-driven and agile practice are routinely combined. Hierarchical planning explains why interactions between parts are where the difficulty lies. The agent literature shows that agents can be organised into roles and can resolve real issues in real repositories, and the human-centred literature frames the human's position as a choice on two dimensions.

What is missing is the combination of these parts in the setting that language-model fleets have recently made possible: one person directing many agents across many long-lived products. Five specific gaps follow.

First, the multi-agent development frameworks decompose a single run of a single program by phase or role. None, among those reviewed, keeps a persistent product-oriented hierarchy across many work units that independent agent sessions draw work from over time, nor states what keeps such a hierarchy coherent.

Second, the hierarchies of agile practice are defined largely by size, and the abstraction properties that Dijkstra and Parnas state for code have not, in the sources reviewed, been stated as checkable rules for planning artefacts. Chapter 3 states them.

Third, the hybrid literature establishes that teams combine plan-driven and agile practice, but the sources read do not say where in a plan the agile part belongs or how it is kept from eroding the plan. Chapter 4 proposes a structural answer, the membrane, and Chapter 8 reports what one evaluation can say about it.

Fourth, the bottom-up discipline that Dijkstra used for verification has not been examined, in these sources, as a construction schedule for an agent fleet, together with an accounting of every existing file against the plan and a rule for when a container may close. Chapter 4 describes all three.

Fifth, the position of the human in such a system has been argued for (by Royce, by the Scrum Guide and by Shneiderman) but not measured. No study among those reviewed sets out in advance criteria by which a "human as Visionary" arrangement could be judged to have worked or failed, and then applies them. Chapters 7 and 8 do so for one portfolio, for planning and then for building.

The literature on architecture description, distributed coordination, consistency under partition, zero-trust networking and distributed scheduling, on which Chapter 6 draws to place the method's extension to the hardware, is reviewed in that chapter where it is used, not here.

This review is limited in ways that later chapters must respect. Several works that a fuller review would include were not read in this pass and are therefore not cited: the Project Management Institute's practice standard for work breakdown structures; book-length treatments of user stories, including Cohn's; Brooks's essays on software project management, beyond the one cited in Chapter 11; the requirements-engineering literature on goal models; the walking-skeleton practice associated with Cockburn, whose primary sources were not opened; the published versions of the hybrid-process studies, which were read only at the level of their abstracts; and the large and fast-moving literature on agent evaluation published since the systematic review cited above. Each of these may qualify the gaps stated here. The claim of this section is accordingly limited to the sources listed in Appendix A: among them, the combination described above has not been stated or tested.

Chapter 3 — Nested Hierarchy Abstraction, Planning Down

This chapter and the next define Nested Hierarchy Abstraction (NHA) as a method, independently of any one set of tools. This chapter covers the half that runs from the vision down: the roles, the artefacts, the hierarchy and the conditions that make it well formed, and the passes that reason about the plan before anything is built on it. Chapter 4 covers the half that runs from the leaves up, including the membrane, the method's agile joint. Chapter 5 states the principles that govern both halves, and Chapter 6 extends the hierarchy from the work to the hardware that does it. The instantiation in which the method was measured, with its particular ticket system, agents and repositories, is described only in Chapter 7, and the concepts below are deliberately stated in terms of roles and artefacts ("a ticket system", "the vision document", "an orchestrating agent") so that they can be carried to another setting.

3.1 The method in one page

NHA rests on one observation and one bet. The observation is that a fleet of language-model agents can carry out almost any well-specified unit of software work, but keeps nothing between sessions except what is written down, and does what its brief says rather than what its author meant (Chapter 1). The bet is that, if the whole product is written down once as a hierarchy of maximally abstract descriptions flowing from one vision, most of the work can then be executed as a plan-driven cascade by agents, and the human can stay at the top, as the Visionary, rather than descend into the code.

The method has two directions. Vision down: the Visionary writes the vision once; each product's specification states the whole finished product; the specification is mirrored one to one in a tree of epics, features, stories and tasks; and the plan is reasoned about (its design, its gaps, its completeness) before it is built on. Build up: work units are taken in order of increasing complexity; within each, every piece of existing code is accounted for against the tree; the leaves are built in dependency waves; and the joints between finished sibling parts, the membranes, are built and proven last, tier by tier, so that each container closes on evidence that its parts work as one.

The method's central claim is about the relation between those two directions. The descending plan is a waterfall in the strict sense: the whole product is on paper before it is built, and most of the building follows the paper. But no plan written in advance names every joint between its parts. NHA therefore pivots to iterative, discovery-driven work at two places only, and does so without abandoning the cascade. The first is the joint: a joint discovered during building becomes a membrane ticket that requires the parts it joins, so it is scheduled after them by the same dependency rule that orders everything else. The second is change: a change the Visionary introduces mid-build stops the affected work, is placed against the vision (and returned to the Visionary as one precise question if it conflicts), is decomposed into the plan's own units with the gaps it reveals filed as tickets, and the build resumes from where it left off. The bulk of each epic is plan-driven; the gaps that neither the plan nor the coding flow had surfaced, and the changes the Visionary adds, are handled as they arrive. Sections 4.5 and 4.6 develop this claim, and Chapters 8 and 9 test what can be tested of it.

3.2 Roles

NHA distinguishes four roles. They are roles, not people or programs: one person or one agent session may hold more than one, and the evaluation in Chapter 7 records which actor held which role in the case.

The Visionary. The Visionary is the architect in charge of the finished product, epic or feature, and the one human the method keeps in the loop. The Visionary owns the vision document, the single source from which every plan descends, and is its only editor. The Visionary signs off what the method routes to a person: milestones and their acceptance; decisions the plan cannot settle from the source, such as whether to fold a single-feature epic into its feature or to plan it further, or when to move a shared dependency to a new version; purchases, accounts and keys; and the runs that only a person can make, such as playing a game or making a paid call. The Visionary does not choose files, commands or implementations. The autonomy measures of the evaluation count the Visionary's hands: a unit of work is autonomous if it finished without them, other than for the steps reserved to the role. The title of this dissertation, Vision Down, Build Up, names the two directions of the method from the Visionary's position: the vision descends from the Visionary, and the product is built back up to meet it.

The orchestrating agent. One agent session holds the plan for the Visionary between sessions. It turns the Visionary's words into specifications and briefs, files and links tickets, sets the order of work units, dispatches scoped building agents, records results, and decides questions that the vision settles, recording each decision where the Visionary can read and reverse it. It is the first translator of the vision. Because nothing in the method's own instruments checks that translation, the orchestrating agent is also the method's least-examined component (Section 9.4).

Scoped building agents. A building agent is given an explicit scope: one work unit (a repository, say) or an explicit list of tickets. It works only inside that scope, never the general queue by priority. It claims a leaf, builds it, verifies it by the evidence the leaf calls for, records the result, and leaves a handoff note: what it built, the interfaces it exposes, where the work lives, and what the tier above will need.

The assembly agent. When every part of a container has closed, an assembly agent, scoped to the container's work unit, builds the container's membrane. It starts from the container's design and its parts' handoff notes, not from a summary passed by message. It proves the joined flow by a recorded run and closes the membrane, which closes the container.

A fifth function, measurement, is deliberately kept outside these roles in the evaluation: the measures of Chapter 8 were taken by a read-only analyst agent working from the ticket store and the version history, not from the orchestrating agent's record. That separation is part of the evaluation design (Chapter 7), not of the method.

3.3 Artefacts

NHA keeps the state of the work in seven kinds of artefact. Each is a written record that survives any session; none depends on an agent's memory.

The vision document. One short document for the whole portfolio states what it is for, which products serve that purpose, and, for every shared concern, the one product that owns it (credentials, model calls, logging, deployment, the plan itself). The Visionary edits it; agents edit everything below it. It is the single source: every other artefact traces to it, and a conflict between two products is settled by reading it.

The complete specification. Each product carries one specification that states the whole finished product: which part of the vision the product serves, its epics, features and stories with their acceptance, its interfaces with the products it uses, and its milestones in release order, the last being the finished product. It is complete in the sense that nothing the product will become is missing from it. It is not frozen; it changes by recorded addition, and every change is logged.

The work hierarchy. The specification is mirrored one to one in a tree of tickets held by a ticket system (Section 3.4). The tree, not the specification, is what agents work from; the specification is the tree in prose. Because a document written at a moment drifts behind a tree that keeps growing, the method prefers that the specification's list of items be rendered from the tree rather than written beside it (Section 8.1.2 reports the drift that motivated the rule).

The dependency graph. Independently of the tree, a ticket may require another. The requires relation crosses products and levels. Layered, it yields the build waves (Section 4.1).

The code ledger. For each work unit, a ledger lists every tracked source file and the ticket in the unit's tree that accounts for it (Section 4.3). A file no ticket accounts for is unaccounted code.

Membranes and handoffs. A membrane is a ticket, one per container of two or more parts, whose work is the joint between those parts (Section 4.4). A handoff is a note written on a leaf when it closes, carrying the context the tier above needs (Section 4.7).

The results record and the refinement log. Each completed work unit adds one row to a results record (ledger before and after, debt filed and closed, membranes filed and closed, leaves closed, steps left for the Visionary), and every change to the method that the unit forced is entered, numbered, in a refinement log. The next unit uses the refined method.

3.4 The hierarchy

3.4.1 Levels, parents and requirements

Let $T$ be the set of tickets at a given moment. Every ticket carries one level $\lambda(t)$ from the ordered set

$$ L = {\textit{vision} \succ \textit{product} \succ \textit{milestone} \succ \textit{epic} \succ \textit{feature} \succ \textit{story} \succ \textit{task}}. $$

The top three levels need not be tickets: the vision is a document, a product is a work unit with its specification, and a milestone is a record that epics join. They belong in $L$ because the chain from vision to task is meant to be unbroken. Every ticket below the top of its tree has one parent $\pi(t)$ with $\lambda(\pi(t)) \succ \lambda(t)$; a level may be skipped where nothing would sit in it, so the inequality is strict but not necessarily adjacent. The parent relation makes $T$ a forest, and the vision makes it one tree. Every ticket is open, closed, or closed as won't do, the last being a recorded decision that the work will not be built. Separately, $t \rightarrow u$ means that $t$ cannot be worked until $u$ is closed. A partial function $\omega$ assigns each shared concern to the product that owns it.

3.4.2 Each level answers a different question

The levels are not sizes. Each answers a different question about the same body of work, in its own vocabulary:

Level Question it answers Its vocabulary
Vision What is the portfolio for? Purposes, concerns, products
Product What finished thing serves that purpose? Users and the problem solved
Milestone Where is a sensible place to stop and ship? Releases and their acceptance checks
Epic What outcome does the product deliver? Outcomes a user would recognise
Feature What capability makes that outcome true? Capabilities
Story What behaviour does someone see? Roles, actions, observable results
Task What code changes, in one session? Files, classes, functions, commands

The governing rule is that a level never names what lives below it. With $V_\ell$ the vocabulary proper to level $\ell$ and $V_{\prec \ell}$ the union of the vocabularies below it, the vocabulary condition is

$$ \forall t \in T: \quad \mathrm{words}(\mathrm{name}(t)) \cap \big(V_{\prec \lambda(t)} \setminus V_{\lambda(t)}\big) = \varnothing. $$

An epic in which a file name appears has failed to make the file disappear, and so is a task with an epic's label. The condition restates for plans what Dijkstra (1968) stated for the levels of a system, each of which is defined by what it no longer has to mention (Section 2.3.2). It applies to names, not descriptions: a description may point downward as a note to whoever works the ticket, but the name is what the rest of the hierarchy reads.

3.4.3 Structural conditions

Four further conditions relate an item to its children or to other trees.

Covers. For every ticket $p$ with children $C(p)$, finishing every child makes the parent true: $\big(\bigwedge_{t \in C(p)} \mathrm{done}(t)\big) \Rightarrow \mathrm{done}(p)$. This is the condition that allows a parent to close automatically when its last child closes. It is the planning form of the soundness rule for task reduction in hierarchical task network planning (Erol, Hendler & Nau, 1994) and of the coverage rule of the work breakdown structure (NASA, 2021).

Disjoint siblings. Siblings do not overlap. If two features both need a piece of work, it belongs to one of them and the other requires it. Overlap is the main source of duplicated work when agents build in parallel, because two agents given overlapping siblings will each build the shared part. Together, covers and disjoint require a parent's children to partition its work.

No buckets. No epic or feature is named for an activity rather than an outcome or capability ("cleanup", "loose ends", "misc", "hygiene"). A bucket has no vocabulary of its own; its covering is vacuous and its disjointness unenforceable, so it is where work goes to escape the hierarchy. The one exception is a milestone's closing polish-and-release feature, whose stories are themselves named for outcomes.

One owner per concern. For every concern $c$ in the domain of $\omega$, work that implements $c$ lives in the tree of $\omega(c)$, and a ticket elsewhere that needs $c$ requires a ticket in the owner's tree:

$$ \mathrm{implements}(t, c) \Rightarrow \mathrm{product}(t) = \omega(c), \qquad \mathrm{needs}(t, c) \land \mathrm{product}(t) \neq \omega(c) \Rightarrow \exists u \in T_{\omega(c)} : t \rightarrow u. $$

This is Parnas's (1972) criterion of decomposition by hidden design decision, applied across products: each owning product hides one family of decisions (where credentials live, how models are called) from every product that uses it. It is the only condition that crosses trees, and it is the one that the build-up enforces most often, because duplicated concerns are what the comb most often finds (Section 5.7).

Finally, the requires relation must be acyclic, so that it can be layered into waves (Section 4.1). Parnas (1972) distinguished a clean decomposition from a hierarchical "uses" ordering and called them independent properties; NHA keeps them apart in the same way, asking the tree to be clean and the requires relation to be a partial order, and checking both.

3.4.4 Maximal abstraction

An item is maximally abstract at its level when it satisfies the vocabulary condition and when raising its name one step further would lose the ability to say whether it is done. "The vault owns every credential" is maximally abstract for an epic: it names no capability, file or step, and it can still be checked by finding a credential the vault does not own. "The vault is good" is more abstract and useless, because nothing would ever show it to be done. "The vault has a dashboard" is checkable but is a capability promoted to an epic. Maximal abstraction is therefore a two-sided bound: the vocabulary condition stops a name from being too concrete, and decidability stops it from being too vague. A set of siblings is maximally abstract when each is maximally abstract and together they partition their parent.

Only part of this can be checked by a program. A lint can find code vocabulary, bucket words and leading activity verbs, and it can list epics with a single feature for a person or agent to re-examine. Covering and decidability depend on meaning and remain matters of judgement. The evaluation reports how coarse the mechanical check is (Section 8.1.3).

3.4.5 The leaf

Refinement stops at the task, sized so that one agent session can complete it and land it as one commit. Wirth's (1971) account of stepwise refinement ends decomposition at the facilities of the executing machine; in NHA the executing machine is an agent session with a bounded context, and the task is the unit it can hold. Leaves are the only items that are worked. A story with no tasks receives a planning pass that splits it when the queue reaches it. Because the leaf is defined by what one agent can hold, it is also the point at which the plan meets the hierarchy of machines, sessions and agents that executes it; Chapter 6 develops that correspondence.

3.5 The specification and the tree

The specification and the tree are two views of one plan. The specification is written for reading: it holds the product's purpose, its acceptance lines in prose, its interfaces, its milestones and a dated change log of decisions. The tree is written for execution: it holds the same items as tickets, with their parents, requirements, status and history. The method requires them to mirror each other: every open ticket appears in the specification by identifier, and every identifier in the specification resolves to a ticket. Where the two disagree, the tree is authoritative for status and the specification for intent.

Two practical rules follow from experience with this mirror. First, a document written once drifts behind a tree that other sessions and automations keep extending, so the mirrored list of items is rendered from the tree rather than maintained by hand, while acceptance lines and the change log stay hand-written. Second, a ticket is seated when it is filed: it receives a parent at the moment of filing, so that no work enters the system outside the hierarchy. Both rules were adopted after the first evaluation showed what happens without them (Section 8.1.2).

3.6 Reasoning about the plan before building on it

A plan that is merely written down can still be wrong in ways that cost more to discover during building. NHA therefore subjects the plan to three passes before a work unit is built.

The design pass. For each open container, a model reads the container's children, the requires links already present in its whole subtree, the relevant section of the specification, the specification's interface section, and the vision document's owner table, and writes a short design: how the children fit, in what order, through which interfaces, and which owners they depend on. The design is a proposal. It is reviewed by reading, and taken only with a reason; where it disagrees with the tree's existing links or with the specification's owner line, the tree and the specification win (Section 5.1).

The gap pass. For each open container, a second pass proposes what the tree lacks: requires links between siblings that the design implies, the membrane the container will need, and acceptance clauses of the parent that no child covers. Proposals are filed as proposed tickets or links and approved or rejected with a reason. A proposed link that expresses a preference rather than a dependency is rejected, since a false requirement delays work that could proceed (Section 5.7).

The plan check. A deterministic check lists what the plan still lacks and fails until nothing is found: open stories without acceptance or without a stated reason ("why"), open epics and features with no parts, epics with a single part, containers of two or more parts with no membrane, and a code ledger below complete. The plan check is the gate between planning and building. It does not judge quality; it ensures that nothing the method requires is absent.

These passes are where the plan "reasons about itself". They do not replace the Visionary's reading of the upper levels, and they do not decide anything the vision does not settle. What they add is that a container's design and its missing links are on paper, reviewed, before any leaf under it is built, which is the precondition for the assembly agent's work later.

3.7 What the Visionary decides, and what is decided for the Visionary

NHA draws one boundary sharply: decisions that the vision settles are taken by agents and recorded; decisions it does not settle go to the Visionary, explicitly, and the work they block waits on a named decision rather than on missing work. When an agent cannot settle a question from the source, it takes the reading that best fits the vision, records the call in the specification's change log for the Visionary to read and reverse, and keeps going. When work no longer fits the vision, it is closed as won't do rather than kept in the plan, a default the Visionary in the case stated directly: "it's better to mark a ticket as won't do than to keep it in and implement a feature that isn't wanted anymore" (Section 7.2).

Steps that only the Visionary can take (a purchase, a key, a sign-off, a run on hardware or in a game only the Visionary holds) are listed as Visionary steps on the work unit's results row and left open. They are never forced, and they are never performed blind by an agent on the Visionary's behalf. A leaf blocked by another product's pending decision is recorded separately from Visionary steps, because it unblocks without the Visionary when that product lands. Section 5.8 states this as a principle and gives the evidence for it.

3.8 Summary

Planning down in NHA produces, for each product, a complete written specification traced to one vision, mirrored in a tree whose levels answer different questions in different vocabularies, whose children partition their parents, whose shared concerns each have one owner, and whose requirements form a partial order. The plan is reasoned about by a design pass, a gap pass and a deterministic plan check before it is built on. The Visionary holds the vision and the decisions it does not settle; the orchestrating agent translates the vision into the plan; scoped building agents and assembly agents carry it out. Chapter 4 describes how.

Chapter 4 — Building Up, and the Joints Between Parts

Chapter 3 described how NHA writes a product down from the vision. This chapter describes how the product is built back up from its leaves: the order in which work units are taken, the waves within them, the comb that accounts for every file, the membranes that join finished parts, the pyramid order in which tiers close, the scoped agents and handoffs that carry context between tiers, and the evidence each kind of work must leave. Section 4.5 states the method's central claim, that this arrangement is a plan-driven cascade with agile, iterative work confined to the joints, and argues why the pivot at a joint does not interrupt the cascade.

4.1 Waves and roll-up

The tree and the requires relation are two structures over one set of tickets. The tree says what must be done and what it adds up to; the requires relation says what must wait for what. Building is driven by the second and recorded in the first.

Requirements on containers. A requirement on a container stands for requirements on all of its open leaves, because a container is done only when they are. A requirement from an item to its own ancestor, or from an ancestor to one of its own descendants, orders siblings within one subtree; it is not a dependency of the whole subtree on itself. Both readings matter in practice: the first instrument built for this method treated an ancestor's link to its own descendant as a dependency of every leaf beneath the ancestor, and so reported 173 cycles that did not exist (Section 8.1.3). The converse hazard is a cycle that exists only when the two levels are combined: a feature that requires another feature as a whole, while a story inside the second requires a story inside the first. Each link is acyclic at its own level; together they loop. An instrument for the method must expand container requirements to leaves before it checks for cycles.

Waves. Let $R(t)$ be the set of open leaves that leaf $t$ must wait for, after container requirements are expanded. The wave of a leaf is

$$ w(t) = \begin{cases} 0 & \text{if } R(t) = \varnothing,\ 1 + \max_{u \in R(t)} w(u) & \text{otherwise.}\end{cases} $$

This is a layering of the directed acyclic graph by longest path from its sources, a refinement of topological sorting (Kahn, 1962). Every leaf in one wave can be worked in parallel, in any work unit, by any agent, because none waits on another in the same wave. The sequence of waves is the waterfall: every open leaf in the portfolio, in an order in which it can be built.

Roll-up. Only leaves are worked. When the last child of a container closes, the container closes, and so on up the tree. Covering (Section 3.4.3) is what makes the roll-up sound: if a parent's children were chosen so that finishing them makes the parent true, closing the parent when they close requires no further judgement. NHA adds one condition to roll-up, the pyramid order of Section 4.4.3: a container of two or more parts does not roll up unless one of its parts is its membrane.

4.2 The order of work units

A portfolio is built one work unit at a time (in software, typically one repository), in order of increasing complexity. Complexity is measured mechanically, for example as thousands of lines of tracked source (the code the comb must account for) plus the number of open leaves (the work still to build), so that the order is fixed before building starts and cannot be fitted to results. The first unit is the pilot, which tests the method itself. The largest products are pinned to the end of the order, where they benefit most from a method refined on the units before them.

The simplest-first order is a default, not a law, and one rule overrides it. Pull forward: when a leaf in one unit requires a leaf in another, the required leaf is built first, wherever its unit sits in the order. The same applies to any work the method itself requires (its tools and its views of the plan): that work is built first, in the product that owns it. Pulling forward lets the shared platform be built as products need it rather than all at once, and it keeps the order honest about the one way a simple unit can depend on a complex one. Every pull forward is recorded, because each is a small counter-example to the order (Section 8.2.1 reports how often the order bent).

Each unit then passes through the same steps: reason (the design and gap passes of Section 3.6), comb, membranes, build, and record. Where the machine that hosts the agents cannot spare the resources to build, the steps split into a plan phase (reason, comb, membranes and plan check, which need only reads and ticket operations) and a build phase (debt, leaves and membranes, which need compilers, engines and browsers), so that the order keeps moving and the code stays accounted for while building waits (Section 5.6).

4.3 The comb: every file accounted for

4.3.1 The ledger

The comb is the step that makes the plan and the code agree. For a work unit with tracked source files $F$, a ledger assigns to each file the ticket in the unit's tree that accounts for it, $\ell : F \rightharpoonup T$. A file is accounted when $\ell(f)$ is defined and $\ell(f)$ is a seated ticket of the unit's own tree that is not closed as won't do. The comb is complete when

$$ \frac{|{f \in F : f \text{ accounted}}|}{|F|} = 1. $$

A ledger may be seeded from history, by crediting each file to the ticket named in the commits that touched it. NHA treats such a credit as a claim, not an account (Section 5.1): the comb reads every file and either confirms the credit or replaces it with an assignment whose reason is stated.

What counts as a source file is itself a decision. A pattern that misses a product's real code (build-kit files, static pages, a game modification's install layout, a plug-in's own source inside a folder the pattern treats as vendored) produces a ledger that reads complete while the product is invisible to it. The comb therefore states the tool's count beside the count obtained by reading whenever they differ.

4.3.2 What the comb does with each file

Each file that is not yet accounted falls into one of five cases:

The file is... The comb...
Part of a behaviour a seated story already covers assigns it to that story
A behaviour the product should keep, but no story covers it files the missing story as already built, adds it to the specification, and assigns the file to it
Disordered: it mixes concerns, duplicates something, re-implements a shared concern, or does not fit one story files a debt story, "abstract and rebuild" the behaviour, under the feature it belongs to, and assigns the file to it
Not wanted: dead, superseded or outside the specification files a removal task, labelled debt, and assigns the file to it
Generated, vendored or data assigns it to the unit's tooling story with a note, or adds the pattern to the vendor rule

No file is too small for the comb. The rule that settles most borderline cases is one reason to change: a file may be assigned to the lowest ticket covering everything it serves only if everything it serves sits under that ticket and the file has one reason to change. A file serving stories in two features, or mixing two concerns, is debt however small, unless it is the composition root that joins those features, in which case it is recorded as their container's built membrane (Section 4.4.4). After a debt story moves code, the rows it assigned return to the feature that owns the behaviour, and the debt keeps only the files it created.

The comb is the step where NHA meets technical debt. Cunningham (1992), who introduced the metaphor, wrote that "shipping first time code is like going into debt", that a little debt speeds development "so long as it is paid back promptly with a rewrite", and that whole organisations can be brought to a standstill "under the debt load of an unconsolidated implementation". The term has since come to cover a wide range of phenomena (Kruchten, Nord & Ozkaya, 2012, abstract). The comb's contribution is to make the debt enumerable. Every unaccounted or disordered file becomes a ticket with an owner and a place in the waves, rather than a judgement about the codebase as a whole.

4.4 Membranes: the connective tissue

4.4.1 Definition

A membrane is the one story, per container of two or more parts, whose work is to make the parts work as one. It wires the siblings together (state they share, events they pass, data one hands the next, the single flow a user takes through them) and proves the container's own acceptance end to end. Structurally, a membrane is a story labelled as such, part of its container, and it requires every sibling:

$$ m \in C(p), \quad \forall s \in C(p) \setminus {m} : m \rightarrow s. $$

So the membrane is the last leaf of its container, by the same wave rule that orders every other leaf, and the container closes when the membrane does. A container with a single part needs no membrane: its part is its acceptance. The agent that builds a membrane first rewrites the membrane's summary to say which parts meet and how.

4.4.2 Why membranes are needed

Covering (Section 3.4.3) says that finishing the children makes the parent true. It is a property of how the children were chosen, and it is assumed, not checked, when a parent rolls up. But the children of a container are chosen before any of them is built, and the plan cannot name every interaction its parts will turn out to have. Two sibling stories may both need to edit one registration point; a leaf may widen an input that its sibling consumes; two features may share state that neither owns. In each case each sibling can be done, correctly, and the container still not work. The membrane is the place where that residue is built and where covering is checked rather than assumed.

The requirements-traceability literature frames the underlying need. Gotel and Finkelstein (1994) define requirements traceability as the ability to follow the life of a requirement forwards and backwards, "through all periods of on-going refinement and iteration". A container's acceptance is such a requirement, and a roll-up that closes it on its children alone leaves no trace from the acceptance to evidence that it holds. The membrane's design note and recorded run are that trace, written where the parts meet.

4.4.3 The pyramid order

Membranes stack. A feature's membrane joins its stories. An epic's membrane joins its features, and so requires their membranes. A milestone's acceptance checks join its epics. Each tier is built only on the tier below it, so that the finished product is a pyramid in which every level has been proven to work as one before the level above it is built on it.

The pyramid order is a constraint on closing: no container of two or more parts closes before its membrane, and no membrane closes before any of its siblings. The requires links make the second half automatic. The first half needs a guard in the tool that performs roll-ups, because a container whose last ordinary part closes before its membrane has been filed would otherwise roll up on that part alone. The guard refuses the roll-up and reports the missing membrane. The evaluation measures this constraint directly (criterion B4, Section 7.4).

4.4.4 Built membranes

Not every joint is new work. A product that already exists has composition roots (an entry point, a registration file, a shared configuration) that join its features. The comb records such a file as its container's built membrane: a membrane story filed as already closed, naming the file and the parts it joins. Where a composition root joins several epics and no ticket sits above an epic, it is recorded under the core epic, naming every epic it joins. Debt found under a closed container is filed under it without reopening it, because reopening would cascade new membranes onto built work.

4.4.5 Recognising joints during the flow

Membranes are filed in two ways. Before building, a tool lists every open container of two or more parts that has no membrane and files a skeleton membrane for each, for approval. During building, joints that the plan did not name are recognised as they surface: when a leaf turns out to need another leaf's output, or two siblings turn out to share state, or a run of one leaf exposes a defect in a sibling. Each is handled the same way: a requires link between the leaves that are actually ordered, and the joining work placed in the container's membrane (or in a new leaf), never inside one of the siblings. An edit that two sibling leaves must both make to one shared file belongs to their membrane for the same reason.

The membrane's evidence is the build plus one recorded run of the joined flow that is not a test suite: the application launched, the command-line tool run on real input, the published artefact checked, the documents cross-read so that every link resolves and every code reference names real source. The run is written in the membrane's close note. Where only the Visionary can make the run (it needs a game, paid access or hardware the Visionary holds), the membrane stays open as a Visionary step with the exact run written down. A membrane closed with no change and no recorded run is empty ceremony, and the evaluation counts it as such.

4.5 The central claim: a waterfall body with two agile pivots

The method's central claim can now be stated precisely. In NHA, an epic is executed mostly as a plan-driven cascade, and it pivots to iterative, discovery-driven work at only two places: at the joints between its parts that neither the plan nor the coding flow had surfaced (the membrane), and at a change the Visionary introduces while the build is under way (change intake, Section 4.6). The cascade is never abandoned to make either pivot: a membrane is scheduled by the dependency rule like any other leaf, and a change is decomposed into the plan's own units before work resumes where it left off.

The waterfall body. Everything above the leaves is fixed in advance: the vision, the complete specification, the tree, and the requirements between leaves. The leaves are built in waves by agents that do not need to discuss their work with each other, because each works from a written ticket in a known order. This is the plan-driven half, and it is a waterfall in the sense Royce (1970) actually described: a whole system documented before it is built, with iteration expected between adjacent steps but not across remote ones (Section 2.2.1).

The agile joints. The membrane is where the method admits that the plan is incomplete. A joint discovered during building is not a failure of the plan to be corrected by replanning; it is an expected residue, recorded as a membrane, built iteratively (design from the parts' handoffs, build, run the joined flow, fix what the run shows, run again), and closed only on evidence. Within a membrane, work proceeds in short cycles judged by working software, which is the agile principle (Beck et al., 2001); outside it, work proceeds by plan.

Why the pivot does not interrupt the cascade. Three properties of the method keep the joint from stalling the flow. First, a membrane requires every sibling, so it is scheduled after them by the same rule that orders every other leaf: recognising a joint adds a ticket at the end of its container's subtree, not a stop in the middle of it. Second, the joint's work belongs to the membrane, not to any sibling, so a building agent that discovers a joint does not widen its own leaf; it records the joint and finishes the leaf it was given. Third, a membrane is scoped to its container, so iteration at one joint does not reopen siblings elsewhere: a defect a membrane run finds in a closed leaf is fixed under the membrane as joining work, and a defect found before the membrane exists is filed as its own fix leaf (Section 5.2).

What the claim does not say. The claim is not that the plan is right, nor that joints are rare. It is that joints are local: that the interactions a plan misses are, for the most part, between siblings of one container, and can be repaired where those siblings meet without revising the plan above them. If that is false, membranes will keep reaching upward, reopening containers and revising specifications, and the cascade will in effect be replanned at every tier. Chapter 8 reports what the evaluation can say about this, and Chapter 9 weighs it against the literature on hybrid processes, which has found that practitioners commonly combine a traditional process framework with agile practices inside it (Kuhrmann et al., 2017; Klünder et al., 2019).

4.6 Change intake: stop, decompose, resume

Membranes cover the gaps that building surfaces. The second pivot covers the changes the Visionary introduces. The method's goal, in the words of the Visionary of the case, is "a 100% working system of building that allows a Visionary to direct and the LLM to code and no room for miscommunication because it was all built with the end goal in mind and if something needs to be added, it stops breaks things down into the correct lego pieces again and resumes where it left off, adding any tickets that need to be created to respond to gaps in the initial logic." Change intake is the mechanism that statement describes. It has four steps.

Place the change against the source. A change that arrives during building is first read against the vision document and the affected product's specification. The question is not yet how to build it but whether it fits the vision as written, and where in the hierarchy it belongs: a new outcome (an epic), a new capability under an existing outcome (a feature), a new behaviour (a story), or a correction to something already planned.

A change that conflicts goes back as one question. If the change conflicts with the vision, or the vision does not settle where it belongs, it is returned to the Visionary as one precise question, stating the conflict and the alternatives, and it is never resolved by an agent's guess. This is the step that leaves no room for miscommunication: the only path by which an instruction can be misread into the plan is an agent's interpretation, and change intake replaces interpretation with a question wherever the source does not decide.

A change that fits is decomposed into the plan's own units. The change is broken down by the same rubric as the original plan (Chapter 3): epics, features, stories and tasks, each as abstract as it can be, seated in the tree and mirrored in the specification. The decomposition also looks sideways: where the change reveals a gap in the initial logic (a joint the original plan did not name, a prerequisite it did not record), the gap is filed as a ticket, a membrane or a requires link, exactly as a gap found by building would be.

The order is restamped and work resumes. The new leaves and links change the dependency graph, so the waves are recomputed. Leaves in flight finish under their own scopes; leaves that the change makes wait are held by their new requires links rather than stopped by hand; and every agent resumes from the handoffs and the tree, which now include the change, rather than from a summary of it.

Change intake and the membrane are the method's two agile pivots. Both admit that the plan is incomplete, and both repair the incompleteness in the plan's own terms (tickets, links and membranes) rather than by replanning from the top or by letting a building agent widen its leaf. The difference is where the incompleteness comes from: the membrane handles what the build surfaces, and change intake handles what the Visionary adds. Of the two, the membrane is the one the evaluation measured. Change intake is specified here as the step that completes the system; in the case it is being built as a feature of the ticket system and has no results yet (Sections 7.2 and 11.2).

4.7 Scoped agents, handoffs and assembly

Building agents in NHA are bound to scopes, not to the queue. A building agent receives one work unit or an explicit list of tickets, and works only those. It never takes the next ticket by priority from the general queue, because the general queue mixes siblings that share files and containers whose parts are still being built, and agents that take sibling stories by priority in one shared checkout collide on the files their stories share (Section 5.4).

Within a scope, prerequisite-free leaves are built by separate agents in parallel, provided their files are disjoint and their requires links are set before dispatch. When a leaf closes, its agent writes a handoff note: what was built, its interfaces, where it lives, and what the tier above needs. When every part of a container has closed, an assembly agent scoped to the container's unit reads the container's design (from the design pass) and its parts' handoffs, builds the membrane, proves the joined flow and closes it. The handoff notes are the method's means of carrying context between tiers, replacing the summary by message that loses detail at every transfer.

Binding agents to scopes is enforced, not requested. The ticket system keeps a scope table (which agent may take which tickets); the queue and any automatic allocation leave out tickets scoped to another agent; a claim from a session that no longer exists lapses; and a claim from an agent working in a different unit's window is refused. Agents in one session write scratch files only to their own folders.

4.8 Evidence proportionate to the claim

NHA asks every leaf to leave evidence, and it grades the evidence by what the leaf claims. A leaf that adds code that compiles and does not claim a behaviour is verified by its build. A static page, which has no build, is verified by a measured render: screenshots compared before and after, overflow measured. A refactor that claims "no change in behaviour" is verified by running the previous and the new version on the same input and comparing outputs, not by asserting it. A refactor of user-interface code is verified by a run that exercises the moved behaviour, or the gap is named as a step for the Visionary. Where no compiler exists for the language on the machine, a build check is a parse, an undefined-name pass and a lost-line comparison, with a negative control that proves the parser rejects broken input. A membrane is verified by a recorded joined run. And a run that only the Visionary can make (play the game, make the paid call) is left as a Visionary step with the exact run written down.

The test suite is deliberately not the default evidence: it is run when the Visionary asks for it. The reason is cost and independence. A test suite is written by the same agents whose work it checks, and runs in seconds whether or not it covers the joint; a recorded run of the joined flow is cheap to read and hard to fake. Section 5.3 states this as a principle, and Section 8.2.6 reports defects that runs found and builds and tests had not.

4.9 Safeguards the tooling enforces

A method executed by agents is only as strong as the rules its tools enforce, because a rule stated in a brief is invisible to an agent that did not read the brief. NHA's instantiation therefore moves its rules into the tools as they are found, and a lesson met while building one unit becomes a rule in the brief, then a story in the product that owns the tool, then a constraint enforced for every unit after it. The safeguards, stated generally, are:

  • Roll-up guard: a container of two or more parts does not close unless one part is its membrane, and it does not close while its own requires links are open.
  • Scope table: tickets are bound to agents; the queue does not offer them to others.
  • Claim hygiene: a claim names its agent and session, lapses when the session ends, and is refused outside the agent's own unit.
  • Plan check: a deterministic gate between planning and building (Section 3.6).
  • Read-back: every filed ticket's labels, links and approval are read back before the commit that records them.
  • Commit by path: an agent commits only the files of its own ticket, by path, with the ticket's identifier in the subject; it never stashes, resets or discards another agent's work in a shared checkout.
  • Tools never write into what they measure: measurement and plan checks write to a scratch location or compute in memory; only the unit's own build-up step writes its ledger.
  • Verified install: a change to a tool every agent runs is not done until the installed tool has been run and shown to have it; the installer verifies its own swap.

The last safeguard was added after the evaluation's primary measurement traced two of its misses to a guard that had been built but not installed (Sections 5.5 and 8.2.5).

4.10 Recording and refining

Each completed unit adds a results row and enters every refinement it forced, numbered, in the refinement log. A refinement is anything about the method that did not work in that unit, together with the change made to the method page or the tools. The next unit uses the refined method. This is how the pilot tests the method and how the method improves along the order. It is also a risk to the evaluation, because the method under test is not fixed while it is measured; Chapter 7 says how the pre-registration handles that, and Chapter 10 counts the cost.

4.11 Summary

Building up in NHA takes work units simplest first, pulling forward what another unit or the method itself requires. Within a unit, the comb accounts for every file against the tree and turns disorder into debt tickets; leaves are built in waves by agents bound to scopes; each container's joint is built and proven by an assembly agent as its membrane; and tiers close in pyramid order, guarded by the tool that performs roll-ups. Evidence is proportionate to the claim, and a membrane closes only on a recorded joined run. A change the Visionary introduces is placed against the vision, returned as one question if it conflicts, decomposed into the plan's units if it fits, and the build resumes from its handoffs. The result is a cascade that follows the plan for most of its length and iterates only where finished parts meet and where the Visionary changes the plan. Chapter 5 states the principles that the method's refinements converged on.

Chapter 5 — Principles

Chapters 3 and 4 defined NHA's roles, artefacts and procedure. Applying the method to its first work units forced 104 numbered refinements, recorded as they were made in the build-up's raw log (Supplementary Data S1, entries L1 to L50; each refinement is numbered R1 to R104 there). Most refinements are local: a file pattern, a flag, the wording of a brief. Read together, they converge on a small number of principles, each of which explains a family of refinements and the failure that family prevents. This chapter states those principles. Each section gives the principle in general terms, the failure it prevents, the mechanism by which the method enforces it, and one or two instances from the case as evidence. The case instances are evidence for the principles, not their definition; the principles are stated so that they can be applied with any ticket system and any agent fleet. Appendix C maps every refinement to the principle that absorbs it.

5.1 Claims are not evidence

Principle. Any statement the system makes about itself (a history credit, a tool's count, a model's design, a closed story's description, a log entry) is a claim. The method acts on it only after reading what it describes: the code, the installed tool's output, the tree's existing links, the ticket store's own history.

The failure it prevents. A plan that agrees with itself on paper while disagreeing with the code. The most direct case is a ledger seeded from version history. History credits each file to the ticket named in the commits that touched it, so a file created by a commit that happened to name a packaging story is "accounted for" by that story whether or not the story describes it. A ledger built this way can read 100 per cent and be wrong row by row. The same failure appears wherever a mechanical reading stands in for a reading of content: a repository-wide sweep task that touched every file looks more specific than the story the file implements; a commit named by seven tickets credits every file it touched to one of them; a source pattern that does not recognise a product's language reports the product as having no code.

Mechanism. Only an assigned ledger row, written after the file was read and with its reason stated, counts toward the comb. History credits seed the comb and are then confirmed or replaced. The tool's count is stated beside the count by reading wherever they differ. A design proposed by a model is reviewed against the tree's existing links and the specification's owner line before it is taken, and the model that answered is named. A closed story's claim is read before new work builds on it, and a claim that does not hold becomes a fix following up the closed story. Every filed ticket's labels, links and approval are read back before they are committed. The before-rate of a ledger is captured before anything is filed, because filing built stories with commit references inflates it.

Evidence. In the second work unit, a build kit, the history ledger read four of four files accounted, all credited to one story about a properties import because the commit that created them named it; the comb read them and reassigned all four to the feature they serve (S1, L7). In a later unit, reading every file found three of five history credits wrong: an installer credited to an image-upload story, a scheduled-task script credited to a closed story rather than the open task that removes it, and a script implementing about eight stories credited to one settings story (S1, L19). Across the ten-unit sample, all 141 ledger rows at measurement are hand-assigned rows, and 43 of them are seated on tickets the comb itself filed for code that had no story (S3, B1). The principle also governs the evaluation: the independent measurement read the build-up log as claims and checked them against the ticket store and the version history, and in doing so it found two membrane-coverage misses and two early roll-ups that the log, written by the system measured, had not reported (S3; Section 8.2).

5.2 The joint is a first-class unit of work

Principle. The work of making sibling parts work as one belongs to a ticket of its own, the container's membrane, and to no sibling. Joints are recognised before building where the plan can see them and during building where it cannot, and each is built where the parts meet.

The failure it prevents. Two failures, which are mirror images. In the first, siblings each do part of the joining work: two leaves both edit one shared file, and whichever commits second either swallows the other's lines or loses its own. In the second, nobody does it: every leaf is done, the container rolls up on covering alone, and the parts have never run together.

Mechanism. One membrane per container of two or more parts, requiring every sibling (Section 4.4). An edit two siblings must both make to one shared file goes to the membrane. A composition root that already joins parts is recorded as a built membrane. A membrane's brief names the open leaves under its parts, so that it can be closed in the session that builds it; its acceptance names a run an agent can make, or is marked as the Visionary's from the start. A defect that a membrane run finds in a closed leaf is fixed under the membrane as joining work; a defect found before the membrane exists is filed as its own fix leaf. A defect one leaf's run finds in a sibling is reopened and fixed under the sibling's own identifier. The joined flow is run once on sample input before the first debt is built as well as at the membrane, so that a defect in a closed leaf surfaces early.

Evidence. The principle was found by collision before it was planned. Three agents working one repository's planning tool at once took two sibling stories that both had to register commands in one file; committing by path took the whole file, so one agent's commit absorbed the other's lines and the main branch briefly referenced commands with no code (S1, L5). The shared registration point was connective tissue between siblings that no story owned. Later, a membrane run found what each part's own verification had not: in one work unit, the joined run of an image pool showed that the review step's resume key named file slots rather than pictures, so a re-harvest reusing file names would have counted new pictures as already reviewed; the fix went in under the membrane (S1, L36). In another, a baseline run of the joined flow, made before any membrane was built, showed that a closed leaf threw on a model whose skinned mesh sits at the scene root (S1, L41).

5.3 Proof is a recorded run of the behaviour claimed

Principle. The evidence a unit of work leaves is proportionate to what it claims, and a claim about behaviour is proven by running the behaviour, recorded where the next reader will find it. A build proves that code compiles; it does not prove that a refactor changed nothing, that a page renders as before, or that two parts work together.

The failure it prevents. Behaviour changes passing as no-ops. Agents verify by building, and a build is silent about what the code does; a test suite written by the same agents is silent about the joints it does not cover. Without a run, a "no change in behaviour" refactor of shipped code moves its risk onto whoever runs it next.

Mechanism. The ladder of Section 4.8: a build for code that claims no behaviour; a measured render for a page; outputs of the previous and new versions compared on the same input for a refactor claiming no change; a run exercising the moved behaviour for user-interface code; a parse, an undefined-name pass and a lost-line comparison with a negative control where no compiler exists; a cross-read (every link resolves, every code reference names real source) for a membrane joining documents; a recorded joined run for any other membrane. A fake that reproduces a live service's refusal turns a defect seen only against a paid service into a local check. A candidate defect that depends on a configuration setting is judged by reading that setting in every consumer. A smoke run on fake input judges the path, not the skill, and separates harness failures from product failures before any product code is touched.

Evidence. For a static site with no build, debt that moved a copied brand block into one stylesheet was verified by ten headless screenshots, pixel-identical before and after (S1, L10). Where no compiler for a 2,797-line scripting-language modification existed on the machine, a parser accepted a name left behind by a move; the undefined-name pass caught it before commit, and the negative control showed the parser did reject broken input (S1, L45). In a logging tool, one leaf's recorded run found that a sibling's log policy was overridden by the logging library's own defaults, which the sibling's build had not shown; the sibling was reopened and fixed (S1, L43).

5.4 Scope binds agents, not priority

Principle. An agent works only what it was given: one work unit, or an explicit list of tickets. It does not take work from the general queue by priority. Context passes between tiers in written handoffs, not in messages.

The failure it prevents. Collisions and lost context. Agents that draw sibling stories from a shared queue by priority, in one shared working copy, collide on the files those stories share; an agent that takes over a unit someone else began is told by message what was done, and detail is lost at every such transfer.

Mechanism. The scope table, the queue's exclusion of tickets scoped to another agent, lapsing claims, claims refused outside the agent's unit, and private scratch folders (Section 4.7). Handoff notes on every closed leaf, and an assembly agent that starts from the container's design and its parts' handoffs. A building agent's prompt to its own sub-agents carries the standing rules, because a rule the orchestrating agent knows is invisible to a fresh sub-agent unless its prompt states it. A long publishing job that pushes rebases before its push, so that a leaf landing during the run does not fail it.

Evidence. The principle was stated by the Visionary of the case, after the collisions of Section 5.2, as the method's cornerstone: build what has no prerequisites in separate agent sessions and assemble it in closely related ones, because "this way you can always be sure that CLIs are concentrating on only the tickets they are concerned with and not randomly picking up stories because their priority is lowest" (S1, L14). Two instances show it working and one shows its absence. A scoped agent's window refused it an edit to a file outside its unit, which was the rule doing its job; the brief, not the agent, had been wrong (S1, L15). Inside one unit, leaves with disjoint files and their requires links set before dispatch ran as parallel sub-agents without a collision, including a membrane unblocked mid-session (S1, L19). And where units had been built before their scoped agents started, the orchestrating agent had to tell the new agents by message what was already done: the handover by message that the handoff rule exists to avoid (S1, L14).

5.5 A fix counts only once installed and observed

Principle. A change to a tool that every agent runs is not in force when its source is committed, nor when its ticket closes. It is in force when the installed tool has been run and shown to have it. The installer verifies its own swap.

The failure it prevents. Protection on paper. A guard built in source protects nobody while agents run an older installed copy; worse, the record says the guard exists, so a violation it should have prevented is read as impossible.

Mechanism. A tool story's done includes its install; installation is done only when no instance of the tool is running and is verified by running the installed tool against a case it should now handle; tools publish from a clean archive of the committed source; and the refinement log states the installed tool's behaviour, not the source's. Generated views that a close changes (a repository's list of its own tickets) are regenerated in the same commit as the close, so that the view does not drift.

Evidence. This principle carries the evaluation's main causal finding. The roll-up guard of Section 4.4.3 was built and its ticket closed, and the build-up log recorded that the early roll-up it prevents "can no longer happen" (S1, L21). Hours later a container rolled up without a membrane, because the installed tool predated the guard (S1, L28). The primary measurement then showed that the installer had reported success while its swap failed under a locked file; that one defect explains the second early roll-up, the missing closer records behind the autonomy criterion's inference, and the apparent absence of two source-pattern refinements from the installed ledger tool, which on reinstall proved to have been in the source all along (S1, L48, L49; S3). The installer was fixed to verify its swap and the guard's install closed; the refinement that states the principle, R103, is the last of the build-up's refinements before the re-measure (S1, L49).

5.6 The machine is part of the build

Principle. The machine that hosts the agents, the plan's database and the build tools is a resource the plan must account for, like any other prerequisite. Free memory, disk contention, cold caches and the availability of the ticket store bound the method's throughput, and they are measured, not assumed.

The failure it prevents. Stalls misread as defects, and a plan halted by its own infrastructure. A slow step looks hung; stopping it throws away its partial work, so every retry starts again. Agent sessions launched under memory pressure never start. When the database that holds the plan stops answering, every step of the method stops, because reasoning, comb, membranes and closes all go through it.

Mechanism. Under resource pressure a unit's work splits into a plan phase and a build phase (Section 4.2). Finished agent sessions are ended as soon as their unit is recorded, and launches are capped by free memory. A step is sampled (stack traces, input and output counters) before it is declared hung. Long jobs run in resumable chunks keyed on content, never on reusable slots. A joined run that starts an engine is given a warm cache or allowed a cold first start. Builds on a machine shared by many agents run single-node without a shared compiler server. Under database pressure, a create that times out is checked for before it is retried.

Evidence. In the case, free memory stayed between 0.5 and 4 GB of 32 for a long period; agent sessions launched under that pressure hung at start; and finally the database server that holds the ticket store stopped answering, which halted every agent (S1, L27). Later, a release publish that had been "hung" twice and a membrane run that had stalled were both traced to one hard disk holding every cache on the machine, measured at 0 per cent idle with a queue of 7 to 29: the publish was hashing a first-time package at 30 to 50 KB/s, and each earlier stop had thrown away its partial work. Allowed to finish once, it took three minutes (S1, L37).

This principle treats the machine as a bound on the hierarchy. Chapter 6 goes further: once the work runs on many machines, the capacity is itself a nested hierarchy that mirrors the plan, and the principle becomes a statement about one of its levels.

5.7 Every concern has one owner, and work moves to it

Principle. The single-source rule of Section 3.4.3 is enforced during building, not only during planning. Duplication across sibling products, and code in a shared product that serves only one consumer, are both debt, and each is resolved by moving the work to its owner, pulled forward if the owner sits later in the order. A requirement is placed only where it is real.

The failure it prevents. Copies that drift. Two products that each carry their own copy of a shared behaviour diverge, and a fix to one does not reach the other. The converse failure is a shared product holding one consumer's code, which every other consumer then carries. A third failure is a false requirement: a fix that could land today linked to a pending decision in another product, so that the fix, and everything under it, waits for nothing.

Mechanism. Duplication across siblings is filed as debt in the comb of the first sibling reached and built by pulling the leaves forward into the owner product; the siblings' copies remain until their own combs. Copies whose owner has no helper yet are reported by the sibling, and the orchestrating agent files the owner's story. Consuming an existing helper is a reading of its semantics (storage keys, read paths, validation), not a diff, and the difference is part of the debt. A shared product's code with one consumer moves to that consumer before any shared version moves past its removal. A library that ships only to its own sites is not yet an owner for a consumer of another kind: the debt first needs a delivery story in the owner. A requirement on a version move is checked against what the current version already holds, and a fix that can be written against today's names is not linked to a rename.

Evidence. The fourth unit's comb found three files that were near-copies across a family of game modifications; their owner, by the vision's table, was the family's shared product, seventh in the order, so its leaves were pulled forward and built there first, and the modification's debt stories required them (S1, L9). Two copies of the same blast effect, already drifted, were later read for meaning rather than diffed: one kept a blast's sight line out of a low ceiling and the other did not, so the first became the reference (S1, L28). In another unit, a fix that repointed an application at where a sibling product publishes today was linked as requiring that sibling's undecided rename; removing the link let the fix be built and closed, and the epic it held no longer waited (S1, L31).

5.8 What only the Visionary can decide is routed, never guessed or forced

Principle. A step that needs the Visionary (a run only the Visionary can make, a purchase, a key, a sign-off, a decision the vision does not settle) is made explicit as a Visionary step, with the exact action written down, and left open. Agents neither perform it blind nor decide it by default. Tools stop at the boundary: they do not roll a decision the Visionary owns into a cascade of closes.

The failure it prevents. Two failures. In one, an agent makes an unbuildable or unauthorised change on the Visionary's behalf: an edit in a language whose only compiler is inside a game, where a compile error would disable every modification, or a paid call made to prove a membrane. In the other, the method's automation takes a decision silently: a roll-up that closes a single-feature epic the plan check had left to the Visionary to fold or plan further.

Mechanism. Visionary steps are listed on the unit's results row; a leaf blocked by another product's pending work is recorded as "blocked by", not as a Visionary step; a stalled leaf's partial work is committed and the leaf stays open with a note of what it needs. Debt whose only build is a proprietary compiler is filed, approved and left open. A membrane does not require the Visionary's sign-off; where the last feature is the sign-off, the sign-off requires the membrane. A roll-up stops at a container the plan check flagged for the Visionary. A membrane whose run needs elevation is a Visionary step for an unelevated agent, and its note splits the run into the parts an agent can and cannot make. Where good evidence exists and the environment cannot reproduce it honestly (a window the agent's display renders black), the evidence is kept and the capture stays a Visionary step.

Evidence. A two-input system in a game's scripting language was left open as debt because no compiler for it exists outside the game, and a compile error there disables every script modification, so an unbuilt edit would be worse than the debt (S1, L12). The same principle explains the primary measurement's debt criterion: of the three debts open at measurement, one is such a Visionary step, one waits on a story the Visionary had not yet approved, and one waits on the Visionary's decision about when to move a shared dependency (S3, B2). The principle also explains a decision the method did not route well: one unit's cascade of closes reached a single-feature epic the plan check had left to the Visionary and closed it anyway (S1, L33), which led to the rule that a roll-up stops at such a container.

5.9 A ninth observation: repair can expose what a miss masked

The last refinement of the record, R104, is less a principle of building than one of measuring: repairing one criterion can expose misses in another that the first had masked, so a re-measure reads every criterion again rather than only the repaired one (S1, L50). It arose because filing the missing membranes for two containers, the only repair available for the membrane-coverage criterion, made those containers testable by the pyramid-order criterion, and both had rolled up hours before their membranes existed (Section 8.2.4). It is recorded here because it bears on any method that measures and repairs itself, and Chapter 10 returns to it as a threat to validity.

5.10 Summary

Eight principles absorb the build-up's refinements: claims are not evidence; the joint is a first-class unit of work; proof is a recorded run of the behaviour claimed; scope binds agents, not priority; a fix counts only once installed and observed; the machine is part of the build; every concern has one owner and work moves to it; and what only the Visionary can decide is routed, never guessed or forced. A ninth observation, that repair can expose what a miss masked, governs measurement. The first three are the method's epistemics, the next three its operations, and the last two its relation to the vision and to the Visionary. Appendix C lists which refinements each absorbs. Chapter 6 extends the method's hierarchy from the code to the hardware, and Chapter 7 describes how the method was evaluated.

Chapter 6 — Hardware Is a Level Too

Chapters 3 and 4 applied Nested Hierarchy Abstraction to the work: the vision, the specification, the tree of epics, features, stories and tasks, and the order in which its leaves are built. Section 5.6 treated the machine that runs the agents as a resource the plan must account for, outside the hierarchy and bounding it. This chapter states a stronger claim, which the Visionary of the case put in two sentences when the portfolio's orchestration tool began to span several computers: "this whole mesh architecture shift has to merge perfectly with the Nested Hierarchy Abstraction too; the abstraction isn't just in the code and software, it's also in the hardware", with the aim of "total distributed computing and coding based on full abstraction of problems to their smallest units of work" (the Visionary's instruction of 2 December 2026, recorded in ticket DNHA-T50). Section 6.1 states the distinction precisely. Section 6.2 gives it a formal shape alongside the conditions of Section 3.4. Section 6.3 explains why decomposing work to its smallest unit is what makes distribution possible, and where its limits lie. Section 6.4 describes the case, a mesh of the Visionary's own computers built on the method's single source, and maps every level of the method onto it. Section 6.5 sets the design against the standards and established practice that bear on it, stating where it conforms and where it departs on purpose. Section 6.6 states the threats and limits, and Section 6.7 what will be measured.

Unlike Chapters 3 to 5, this chapter describes its instance beside its general statement, for a reason that also limits it. The evaluations of Chapters 7 and 8 ran on one machine (Section 7.2). The mesh was designed on 2 December 2026, after both studied periods, and is being built as this is written. Nothing in this chapter is a measured result. It states a design, the reasons for it, the published work it rests on and departs from, and the measurements that will test it.

6.1 The distinction

The method so far has one hierarchy, the plan, and one executing machine. Section 3.4.5 ended refinement at the task, "sized so that one agent session can complete it and land it as one commit", following Wirth's (1971) rule that decomposition stops at the facilities of the executing machine. Section 5.6 then treated the machine's memory, disk and database as prerequisites whose exhaustion stalls the plan. Both treat the hardware as something the hierarchy runs on.

The distinction this chapter draws is that the execution capacity is itself a nested hierarchy, and that it mirrors the plan level for level. A portfolio's capacity is a mesh of machines; each machine, a node, hosts sessions (an agent command-line host running under one model account); each session runs agents, the sub-agents that each take one task. Like the plan, the capacity hierarchy has containers that are never the unit of work (no mesh, node or session does a task; each only hosts what does) and leaves that are the only thing that works (an agent holds one task at a time). Like the plan, it hangs from one source: the record of which leaf of the plan is held by which leaf of the capacity tree lives in the same store as the plan, and in nowhere else. And like the plan, it is built in the opposite direction to the one in which it is described. The plan is written from the vision down and built from the leaves up; the capacity is described from the mesh down and composed from the agents up, each container's capacity being what its parts can do, bounded by what it has.

Vision down, build up therefore has a second reading. On the side of the work, it means decomposing a product down to tasks and building the product back up from them. On the side of the hardware, it means decomposing the whole workload down to units each small enough for one agent on any machine, and composing capacity back up from agents to sessions, sessions to nodes and nodes to the mesh. The two decompositions meet at the leaf. The task is defined by the agent (it is whatever one agent session can hold), and the agent's work is defined by the task (it holds exactly one). That meeting point is what makes the work distributable: because every leaf fits any agent, any idle agent on any node can take any leaf whose prerequisites are closed, and the plan never needs to know which machine will build it.

Three clarifications keep the distinction from claiming too much. First, it does not make hardware a kind of ticket, or put machines into the plan's tree. The two hierarchies stay separate and are joined only at their leaves, by a correspondence recorded in the shared store (Section 6.2). Second, it does not add to distributed-systems theory. Every mechanism the case uses (leases, fencing, a single serialised writer, pull-based scheduling) is established, and Section 6.5 cites each. What the chapter adds is the observation that NHA's planning conditions are what make those mechanisms sufficient for agent-built software: the scheduling literature assumes units of work that are independent and of bounded size, and the method's conditions on the plan (disjoint siblings, explicit requirements, maximal abstraction, the task budget) are what produce such units from a product. Third, the level names are roles, as in Section 3.2. A session is a host and account pairing, not a program; a node is whatever one operating-system instance controls.

6.2 Two hierarchies and their correspondence

Let $T$ be the plan of Section 3.4.1, with levels $L$ and parent function $\pi$. Let $H$ be the capacity tree at a given moment, with levels

$$ L_H = {\textit{mesh} \succ \textit{node} \succ \textit{session} \succ \textit{agent}}, $$

parent function $\pi_H$, and leaves $A \subseteq H$, the agents. Let $\mathrm{task}(T)$ be the open leaves of $T$ whose prerequisites are closed, the leaves of the current wave front. A placement at time $\tau$ is a partial function

$$ \kappa_\tau : \mathrm{task}(T) \rightharpoonup A $$

recording which agent holds which task. Six conditions relate the two trees.

Leaves meet leaves. Only tasks are placed, and only agents hold them: the domain of $\kappa_\tau$ contains no container of $T$ and its range no container of $H$. This is the condition of Section 3.4.5 (only leaves are worked) stated for both trees at once, and it is the first rule of the case's work-unit design, "Only leaves are work" (docs/WORK_UNITS.md in the orchestration tool's repository, Supplementary Data S7).

Exactly once. $\kappa_\tau$ is a function, so a task has at most one holder, and it is injective, so an agent holds at most one task. The first half is the property a distributed claim must guarantee across machines; the second is the scope rule of Section 5.4 applied to an agent rather than to a repository window.

Fit. For every placed task, $\mathrm{cost}(t) \le \mathrm{budget}(\kappa_\tau(t))$: the task fits the agent that holds it. In the case the budget is a setting of the orchestration tool, 80,000 uncached tokens by default (S7), and a task that runs past it lands what is complete and splits the rest. This is the condition by which the leaf of the plan is defined by the leaf of the capacity tree.

Capacity composes. The capacity of a container of $H$ is the sum of its parts' capacities, bounded by the container's own resources: $\mathrm{cap}(h) = \min\big(\sum_{c \in C_H(h)} \mathrm{cap}(c),\ r(h)\big)$, where $r(h)$ is, for a node, the number of sessions its free memory can hold. This is the capacity form of the covering condition of Section 3.4.3: a container's work is the union of its parts' work, and a container's capacity is the sum of its parts' capacity, less what it cannot host.

Accounts cross the tree. One resource does not nest. A model account (a login) has usage windows, and the same account may run sessions on several nodes. Its constraint is a sum across the tree, $\sum_{s :\ \mathrm{acct}(s) = a} \mathrm{burn}(s) \le \mathrm{limit}(a)$, and no single node can check it alone. Structurally this is the situation of Section 3.4.3's one-owner rule: a concern that crosses trees is given one owner, and every product that needs it requires that owner's work rather than keeping its own copy. In the capacity tree the concern is the account's spending, and its owner is a single table in the shared store, from which every node computes the same pace (Section 6.4).

One source, and the plan never names the hardware. Both $T$ and $\kappa$ are recorded in one store, and every node reads it before acting. No ticket of $T$ names a node, a session or an account, and no level of $H$ above the agent knows which tasks its agents hold except through the store. This extends the vocabulary condition of Section 3.4.2 across the two hierarchies: as an epic never names a file, the plan never names a machine. Kruchten (1995), describing the physical view of an architecture, asks the same of the mapping from software to processing nodes: it "needs to be highly flexible and have a minimal impact on the source code itself". In NHA the plan plays the part of the source code: a node can be added, lost or replaced without one ticket changing.

One honest qualification belongs with the last condition. The record of a placement names every level (in the case, a claim row names its machine, its command-line session, its account and its lease), because attribution needs it: Section 9.3 found that the autonomy criteria could not be measured while every action carried one identity, and a claim that names its machine and session is the means of attribution. What the condition forbids is that a level decide about levels it does not own. The shared store grants a task to a node's session; the node decides which of its sessions may claim; the session decides which of its agents works the task. Hiding, in this hierarchy, is a rule about authority, not about the record.

Table 6.1. The work hierarchy and the capacity hierarchy, level by level.

NHA concept Work hierarchy (Chapters 3 and 4) Capacity hierarchy Instance in the mesh (Section 6.4)
The single source The vision document; the ticket store as the record of the plan The record of placements, in the same store One shared database server, reached only over a private network, holding the tickets, the claims, the membership and the published burn
The top container Vision and product Mesh Every computer the Visionary owns that runs the orchestration tool
Intermediate containers, never worked Epic, feature, story Node, session A Windows 11 computer; one agent command-line host signed in to one model account
The leaf, the only unit worked Task, sized to one agent session Agent One sub-agent, holding one task under one claim
Covers and roll-up Finishing the parts makes the parent true; a parent closes when its last part does A container's capacity is its parts', bounded by its own resources A node's sessions are capped by free memory against one host's footprint
One owner per concern A shared concern lives in one product; others require it A resource crossing the tree has one record; every node reads it Each account's burn is published by every node and summed; every node computes the same pace
Scope binds agents (Section 5.4) An agent works only its unit or list A task is held by exactly one agent anywhere A claim is a lease granted by one atomic conditional update and fenced by a generation number
Waves Leaves with no open prerequisite can be built in parallel Any idle agent on any node can take any wave-ready leaf Each node's allocator pulls from the shared queue; the plan names no machine
Handoffs in writing (Section 4.7) Context passes through notes on closed leaves Nodes coordinate only through the store and the version history No machine sends work to another; each pulls the latest before starting a task
A fix counts only once installed (Section 5.5) A tool change is in force when the installed tool shows it A node takes part only on the current protocol A node on another protocol version may watch but may not claim or pace
The machine is part of the build (Section 5.6) Resources bound throughput and are measured Capacity is a level, composed up from agents Placement eligibility weighs free memory and an account's remaining window

6.3 Decompose down, compose up

6.3.1 The smallest unit of work

The case shows why the smallest unit has to be decomposed for, not assumed. Before the work-unit rule was introduced, the orchestration tool handed one sub-agent each whole ticket, however large. Across 605 such runs the median consumed 158,000 uncached tokens, the 75th percentile 347,000, the 90th 690,000 and the 95th 1.06 million, and 253 runs exceeded 200,000 (S7, "The evidence"). Units of that spread cannot be distributed well: a large unit holds an agent, a session's account and a node's memory for its whole length, and a unit that fails late loses everything it had not landed. The rule that replaced it is NHA's leaf condition applied with a number: only leaves are worked; a task fits the budget; a leaf that is not yet sized gets a planning pass that sizes or splits it; and a task that overruns lands what is complete and splits the rest (S7). The Visionary's phrase for it was to "stop biting off whale sized tasks and instead eat minnows until you have a whale's weight of work completed" (S7, quoting the instruction of 21 November 2026).

Decomposition into many small, independent units is the established basis of distributing work, and three bodies of practice show it. MapReduce divides each job into many map and reduce tasks and has a master that "picks idle workers and assigns each one a map task or a reduce task"; its authors state the reason for many small tasks directly: "Ideally, M and R should be much larger than the number of worker machines. Having each worker perform many different tasks improves dynamic load balancing, and also speeds up recovery when a worker fails" (Dean & Ghemawat, 2004, Sections 3.1 and 3.5). Condor's high-throughput computing aims "to provide large amounts of fault tolerant computational power over prolonged periods of time by effectively utilizing all resources available to the network", and couples it with opportunistic computing, "the ability to use resources whenever they are available, without requiring one hundred percent availability" (Thain, Tannenbaum & Livny, 2005, Section 3). BOINC's volunteer projects divide computation into workunits, each with "compute, memory and storage requirements and a soft deadline", issued by scheduling servers to clients that contact them, around a server complex "centered around a relational database" (Anderson, 2004, Sections 2.3 and 3.1). The scheduling theory beneath these is work stealing, in which "underutilized processors take the initiative: they attempt to 'steal' threads from other processors", as opposed to work sharing, in which the scheduler pushes new work to other processors (Blumofe & Leiserson, 1999, Section 1).

The mesh belongs to this family. A node with room pulls a task from the shared queue; no node assigns work to another. What separates it from the family is the nature of the unit. A map task or a workunit is a computation over fixed inputs whose output can be recomputed, compared or discarded; MapReduce re-executes a failed worker's tasks and launches backup copies of stragglers, and BOINC computes a workunit several times and compares the results. A task in NHA is a change to a shared code base, whose output lands in a repository other tasks are also changing. Running it twice does not produce a second opinion; it produces two conflicting commits. The units of software work are not independent by nature, and the scheduling literature's assumption of independent, bounded units is exactly what has to be manufactured before any of its mechanisms apply. NHA's planning conditions manufacture it: disjoint siblings (Section 3.4.3) keep two tasks from owning the same work; explicit requirements order the ones that must be ordered, so that a wave holds only tasks that can run at once (Section 4.1); the membrane takes the joining work no sibling may do (Section 4.4); and the budget bounds each unit's size. Decomposition to the smallest unit, in the Visionary's phrase, is therefore not a slogan about granularity but the precondition for the hardware hierarchy to work at all.

6.3.2 Capacity composes up, and what bounds it

If units are small and independent and any node can take any of them, adding nodes adds throughput until something else binds. The design states the intended end of that process: the binding constraint should become the model accounts and their usage limits, not the hardware. The case's tool already enforces per-account cutoffs (by default 98 per cent of a five-hour window and 90 per cent of a week, per member), and a measured footprint of about 1.24 GB per agent command-line host means a 16 GB laptop holds about six (S6, sections d and e). On one machine, memory bound first; the case's machine spent long periods with between 0.5 and 4 GB of 32 free (Section 5.6). With enough nodes, the remaining ceiling is the number of accounts times what each account's windows allow, which no hardware raises.

The classical limits on parallel speed-up apply, and they say where the ceiling actually is. Amdahl (1967) argued that "the effort expended on achieving high parallel processing rates is wasted unless it is accompanied by achievements in sequential processing rates of very nearly the same magnitude", because a fraction of every workload stays sequential; in the usual later statement, which Gustafson (1988) gives as a maximum speedup of "only 1/s" for a serial fraction $s$, it bounds what any number of processors can do with a fixed problem. Gustafson's answer was that "in practice, the problem size scales with the number of processors", so that the useful measure holds run time constant and lets the problem grow. Work stealing adds the structure of dependencies: a computation with total work $T_1$ and critical-path length $T_\infty$ runs on $P$ processors in expected time $T_1/P + O(T_\infty)$ (Blumofe & Leiserson, 1999, abstract), so no number of processors shortens the longest chain.

Each of these limits has a counterpart in NHA, and none of them is hardware. The critical path is the number of waves: Part I's waterfall held 1,387 open leaves in 29 waves at its first measurement (Section 8.1.1), and the 29 waves are a span that more nodes cannot compress, however many leaves each wave holds. The serial fraction has three components in the case: the shared store, through which every claim and close passes (short operations, so a small fraction); the landing of commits on one repository's main line, which is serial per repository (Section 6.6); and the Visionary, whose approvals and sign-offs no agent can make. The last is the largest. In Part I, 96 open leaves were Visionary steps with a median wave of 5 against 0 for all leaves, and the deepest leaf in the whole plan was a sign-off (Section 8.1.1); on 2 December 2026 the workspace held 2,327 open approved tickets, generated faster than one person can approve or sign off what follows them (Section 11.2). Gustafson's scaled regime is the one the case is in: the tree keeps growing, so more capacity means more leaves closed per hour, not a fixed plan finished sooner, until the Visionary's queue binds. The method places that bottleneck at the source by design (Section 9.4); the hardware hierarchy makes it the only bottleneck left.

6.4 The case: a mesh of peers around one source

The design. The case's orchestration tool (MindAttic.Orchestrator) runs on the Visionary's own computers. Its mesh design was recorded on 2 December 2026 as a design record with fourteen decisions, each with its reasons and rejected alternatives (docs/MESH_ARCHITECTURE.md in the tool's repository, S6), and the Visionary signed it off the same day by asking for all of it to be coded (S8). Its summary is that every machine is a full peer: each runs its own scheduler, agent hosts and dashboard and can always work alone, and "Joining the mesh adds abilities and takes none away" (S6, summary 1). There is no authority machine. The one shared component is a database: the ticket store moved from the Visionary's main machine to a database server on a rented cloud machine, reached only over a private overlay network, with three new tables for claims, membership and each machine's published account burn, so that the database is "the single serialised writer" and every machine a symmetric peer (S6, summary 2 and section a). Everything else stays on each machine. Model-account credentials never leave the machine they were signed in on; every account is signed in by hand on every machine (S6, summary 14).

Claims. A claim is a lease. Granting it is one atomic conditional update on the database, which succeeds only if the task has no holder or the holder's lease has expired past a grace period; it raises the claim's generation number and sets an expiry on the database's own clock. Renewal is the same update conditioned on the holder and the generation. The close of a task is checked against both, so "a stale holder can never close or re-claim over a newer one" (S6, summary 3 and section f). The claimant's scheduler renews every third of the lease (ten minutes by default); a claim whose renewals stop is shown as orphaned and returns to the queue only after a further grace of thirty minutes, because, in the design's words, "A sleeping laptop often still holds uncommitted work in its own checkout, and a short grace would double the work" (S6, section f). A machine that returns to find its task re-granted is told, in its session, that the task moved, and its close is refused.

Failure. The design accepts one single point of failure, the database server and the link to it, and states what each machine does when it is unreachable: it grants no new claims and files or closes no tickets, keeps its running agents, keeps committing and pushing code (which does not need the database), reads tickets from a local read-only mirror, and paces each account on a stricter local fallback. After an outage no claim is requeued until the grace period has passed from the moment of recovery, because "during the outage no holder could renew and silence then does not mean the holder is dead" (S6, section f). Recovery of the server itself is by restore from nightly and log backups copied off the server, tested once before cutover; automatic failover is not built (S6, section f).

Pacing and placement. Each machine publishes, per account, its newest usage reading, its burn rate and its running agents; every machine reads all of them and computes the same pace and the same split of each account's allowance by a deterministic rule, so that, in the design's words, "No login passes its 5-hour or weekly cutoff, wherever its CLIs run" (S6, summary 8 and section d). In the first milestone each machine's own allocator claims from the shared queue, capped by that pace. A later milestone adds a placement scorer that ranks (machine, account) pairs by the account's expiring headroom, the machine's free memory and whether the machine already has the repository's checkout (S6, section e).

Code. Version control stays the arbiter for code. Each machine keeps its own checkouts on the main line and lands commits by fetching, merging and pushing; the rules that guard a shared checkout (Section 4.9) stay per checkout; across machines, exactly-once claims keep two agents off one task, and every task handed out has its checkout brought up to date first (S6, sections f and "Built so far").

Joining. A new machine joins by running one setup script, "safe to run again, and safe on a machine that already runs everything", which installs the toolchain, clones the workspace, creates the machine's own database login through the overlay network's authenticated remote shell (whose browser check is the Visionary's approval), deploys the tools and binds the machine's gateway to its overlay address only (the script's header, setup-node.ps1; S6, section b). Peers then exchange revocable per-peer keys after checking that the caller belongs to the Visionary's own overlay account and presents a fresh nonce only its own database login could have written. "Being on the tailnet is not enough to join" (S6, summary 6).

Built so far. As of 2 December 2026 the ticket store has been migrated to the shared server by backup and restore with row counts matched, the old local copy left read-only as a rollback (the workspace's build status, docs/plans/mesh-build-status.md, S8). Fenced lease claims with renewal, release and the recovery rule are built; the commit gate refuses a ticket close while another machine or session holds its claim; every claimed task's checkout is updated before work; per-peer keys and typing into another machine's sessions are built; and the one-click setup script exists, with the join exchange still in progress (S6, "Built so far"; S8). Cluster-wide pacing, the lost-peer display, the protocol-version guard, the outage behaviour with tested restore, and the two-machine acceptance run are not yet built or not yet run (S8). The placement scorer belongs to the second milestone.

Table 6.1 (Section 6.2) gives the mapping of every level of the method onto this design.

6.5 Standards and practice: where the mesh conforms and where it departs

6.5.1 Describing an architecture across views

ISO/IEC/IEEE 42010 "specifies requirements for the structure and expression of an architecture description", not for architectures themselves: "Architectures are not the subject of this document" (ISO/IEC/IEEE, 2022, Clause 1). Its vocabulary is the one this chapter needs. An architecture viewpoint is a "set of conventions for the creation, interpretation and use of an architecture view to frame one or more concerns"; a concern is a "matter of relevance or importance to a stakeholder"; and a correspondence is an "identified or named relationship between two or more architecture description elements", such as "equivalence, composition, refinement, consistency, traceability, dependency, constraint, satisfaction, and obligation" (Clause 3). The standard is a meta-standard: in the parts that could be read it defines how viewpoints are specified rather than naming a deployment or physical viewpoint of its own. Kruchten's (1995) "4+1" model supplies one: the physical view "describes the mapping(s) of the software onto the hardware and reflects its distributed aspect", addresses "availability, reliability (fault-tolerance), performance (throughput), and scalability", and maps processes onto "a network of computers, or processing nodes"; and the views "are not fully orthogonal or independent". The C4 model's deployment diagram shows "how instances of software systems and/or containers in the static model are deployed on to the infrastructure within a given deployment environment", with the rule that "Deployment nodes can be nested" (Brown, n.d.).

In these terms, NHA's plan is one view and the mesh's capacity tree is another, and Table 6.1 is a correspondence between them: a composition at every container level and an equivalence of kind at the leaf, where one task is held by one agent. The mesh's design record conforms to the standard's main demand in substance: it names its stakeholder (the Visionary) and his concerns (that every machine be usable, that no account pass its limits, that nothing be done twice), and records each decision with its rationale and rejected alternatives. It departs in form. It defines no viewpoints or model kinds, uses no architecture description language, and states its correspondences in prose and in a table, not as rules a tool can check. The departure is deliberate for a one-owner portfolio, where the description's reader is the Visionary and the agents, and a formal framework would be ceremony; it becomes a gap if the method is to be audited by a third party. Kruchten's demand that the mapping to nodes be flexible and leave the source untouched is met more strictly than the 4+1 model requires, because in NHA the mapping is not designed at all: it is decided per task, at claim time, by whichever node pulls first.

6.5.2 Leases and fencing

Gray and Cheriton (1989) introduced leases for distributed caches: "A lease is a contract that gives its holder specified rights over property for a limited period of time" (Section 2, p. 202). A holder that fails simply stops renewing, and its rights lapse; failures "affect performance, not correctness" (abstract). Their correctness rested on time: "the correct functioning of leases requires only that clocks have a known bounded drift" (Section 5). Expiry alone is not enough when a holder can be paused. Kleppmann (2016) gives the case of a client whose pause "lasts longer than the lease expiry period, and the client doesn't realise that it has expired", so that it "may go ahead and make some unsafe change", and the remedy, a fencing token: "a number that increases (e.g. incremented by the lock service) every time a client acquires the lock", which the protected resource checks so that it "rejects the request with token 33" once it has seen 34. The idea is older than the name. Chubby's sequencers carry "the lock generation number", and a server that receives a stale one "should reject the request" (Burrows, 2006, Section 2.4); its authors describe guarding a file server with exactly this retrofit: "pass an additional integer (the lock acquisition count) with the write RPC, and add an if-statement to the file server to reject the write if the acquisition count is lower than the current value" (Section 2.1).

The mesh's claim conforms to all three. It is a lease, granted and renewed by conditional updates; its generation number is a fencing token, raised on every grant; and the close, the one write the claim exists to protect, is checked against holder and generation. It improves on Gray and Cheriton's clock assumption by removing it: every grant, renewal and expiry is computed on the database's own clock, so no two machines' clocks are ever compared, and a paused or sleeping holder is handled by fencing rather than by trusting its clock. It departs from their advice in one deliberate respect. Gray and Cheriton favour short terms, because short terms minimise the delay that failures cause. The mesh pairs a ten-minute lease with a thirty-minute grace, long by their standard, because its cost model is different: the delay a long grace causes is a requeue postponed, while the cost of a short one is the whole task done twice, on two machines, into two conflicting commits.

Kleppmann's distinction between locks "for efficiency or for correctness" locates the design's one remaining exposure. The close of a ticket is a correctness lock, and it is fenced. The commits a stale holder has already made are not: a machine that wakes to find its task re-granted "can still push commits", and the design leaves any overlap to be settled by the version-control merge (S6, section f). For the code, the claim is an efficiency lock in Kleppmann's sense, whose failure means the same work done twice; the fencing token does not reach the repository, because the repository has no way to check it. Section 6.6 counts this as a threat.

6.5.3 Partitions, consistency and why there is no consensus

Gilbert and Lynch (2002) proved that "it is impossible in the asynchronous network model to implement a read/write data object that guarantees" both availability ("every request received by a non-failing node in the system must result in a response") and atomic consistency "in all fair executions (including those in which messages are lost)" (Sections 2.2 and 3.1). Abadi (2012, p. 41) extended the choice to normal running: "if there is a partition (P), how does the system trade off availability and consistency (A and C); else (E), when the system is running normally in the absence of partitions, how does the system trade off latency (L) and consistency (C)?"

The mesh's choices can be read off the design. Under partition it chooses consistency for every write that must happen once: a node that cannot reach the database grants no claim and closes no ticket, so it is unavailable for those writes, by design (S6, section f). It stays available for everything that can tolerate staleness or that has its own arbiter: it reads tickets from a local read-only mirror, keeps its agents running and keeps pushing code, whose conflicts version control settles. Its pacing under partition errs toward stopping early, never toward passing a limit. In Abadi's terms the mesh is, for claims, a system that chooses consistency in both branches: it gives up availability under partition and latency otherwise, since every claim and close pays a round trip to a remote server. The latency is real in the case: making the ticket tool two to three times faster over the remote server was among the first tasks done, and a connection's opening of about three quarters of a second still dominates each command (S8). Abadi notes that the latency and consistency trade-off "only applies to systems that replicate data"; the mesh's shared store is not replicated, which is why its normal-running cost is latency to one server rather than a choice between replicas.

Consensus is avoided, and the reason is arithmetic. Consensus protocols decide by majority. Paxos lets the deciding set "consist of any majority of the agents", because "any two majorities have at least one acceptor in common" (Lamport, 2001, Section 2.2); Raft's servers "are fully functional (available) as long as any majority of the servers are operational", and "five is a typical number, which allows the system to tolerate two failures" (Ongaro & Ousterhout, 2014, Sections 2 and 5.1). A majority of two is two, so a two-machine cluster running consensus among its own members tolerates no failure at all, and the case's first milestone is exactly two machines, one of them a laptop that sleeps. The design record's rejected alternative says the same in its own terms: "Two-node lock protocols cannot tell 'peer asleep' from 'network split', so they either block or double-claim" (S6, section a). Chubby's authors gave the general form of the answer the mesh adopts: a lock service, itself replicated, "reduces the number of servers needed for a reliable client system to make progress", so that "even a single client can obtain a lock and make progress safely" (Burrows, 2006, Section 2.1). The mesh's database plays the part of that service, with one difference the design accepts openly: Chubby's cell is five replicas, while the mesh's server is one machine, so the mesh trades the lock service's own fault tolerance for a restore measured in minutes to hours (Section 6.6).

6.5.4 Trust between peers

NIST's zero-trust architecture rests on tenets that its authors call "the ideal goal, though it must be acknowledged that not all tenets may be fully implemented in their purest form for a given strategy" (Rose, Borchert, Mitchell & Connelly, 2020, Section 2.1). The ones that bear on a mesh of peers are that "All communication is secured regardless of network location. Network location alone does not imply trust" (tenet 2); that access "is granted on a per-session basis" (tenet 3); that it "is determined by dynamic policy" (tenet 4); and that "All resource authentication and authorization are dynamic and strictly enforced before access is allowed" (tenet 6). The network beneath is not an implicit trust zone (Section 2.2).

The mesh conforms on identity and departs on the perimeter. It refuses membership of the private overlay network as a credential; the design rejects "Tailnet membership alone", because "Anything ever added to the tailnet ... could drive CLIs that hold commit rights" (S6, section b). Each peer holds its own revocable key, from which it mints short-lived tokens that renew themselves; each machine has its own database login with rights on the shared databases only; admission needs the overlay network's authenticated shell, a check that the caller belongs to the Visionary's own overlay account, and a fresh nonce only the joiner's own login could have written; connections use transport encryption; and a revoked peer is cut off at its next request, not when its last token expires (S6, section b). These are tenets 2, 3 and 6 applied to machines. The departures are two. The database still listens only on the overlay network's address, behind two firewalls, which is a network perimeter used as one layer of defence; and policy is static (a peer token grants one fixed scope) rather than dynamic in tenet 4's sense, with no evaluation of a device's state at each request. For a mesh whose every member is the Visionary's own machine the departures are proportionate; they would not be for a mesh that admitted other people's machines.

6.5.5 Scheduling

The mesh's first milestone is work stealing in Blumofe and Leiserson's sense: each node, when it has room, takes work from the shared queue, and none pushes work to another. Its design record rejects pure stealing as the end state for a stated reason: it "cannot prefer an expiring window or keep RAM-poor machines ... from overcommitting" (S6, section e). The planned placement scorer is closest to Condor's matchmaking, in which resources and requests advertise attributes, a matchmaker "creates pairs that satisfy each other's constraints and preferences", Requirements "indicates a constraint and Rank measures the desirability of a match", and a separate claiming step lets the parties "independently verify the match" (Thain et al., 2005, Section 5). The mesh's eligibility rules (pace allows, memory suffices, protocol current, checkout present) are its Requirements, its scoring (expiring headroom first, then machine headroom, then readiness) is its Rank, and its atomic claim is the claiming step. Condor's motto, "Leave the owner in control, regardless of the cost" (Section 1), is the mesh's first decision in another form: the Visionary's main machine "never gives up anything" by joining (S6, summary 1). Where the mesh departs from BOINC and MapReduce is redundancy. Both run units more than once to guard against error or slowness; the mesh runs each exactly once and verifies it by the evidence its claim calls for (Section 4.8), because a duplicated code change is a conflict, not a vote.

6.5.6 Conway's law, read for the hardware

Section 2.8 read Conway's (1968) homomorphism as a reason to organise the plan by outcome: agents that communicate only through the tree will build a system shaped like the tree. The mesh extends the reading to the machines. Nodes communicate only through the shared store and the version history; none sends another work or plan. On Conway's thesis the capacity hierarchy should then mirror the structure through which it communicates, and it does: it has one source, as the plan does, and containers that host and leaves that work, as the plan does. The design's rejected first draft, in which one machine was the authority and the others asked it, would have given the hardware a structure (a hub with spokes) that the plan does not have, and the design record rejects it for reasons of availability (S6, section a). Read through Conway, the rejection also keeps the hardware homomorphic to the plan.

Table 6.2. Standards and established practice, and the mesh's relation to each.

Source What it asks or establishes Where the mesh conforms Where it departs, and why
ISO/IEC/IEEE 42010 (2022) Descriptions organised by stakeholders, concerns, viewpoints, views and correspondences Concerns, decisions, rationale and rejected alternatives recorded; Table 6.1 is a correspondence between two views No formal viewpoints, model kinds or checkable correspondence rules; proportionate to a one-owner portfolio, a gap for third-party audit
Kruchten (1995); Brown (n.d.) A physical or deployment view mapping software onto nested nodes; a flexible mapping Nested capacity tree; the plan never names a machine The mapping is not designed but decided per task at claim time
Gray & Cheriton (1989) Time-limited grants; failed holders lapse; bounded clock drift Leases granted and renewed in the database One clock (the database's) instead of bounded drift; long grace instead of short terms, because duplicate work costs more than delay
Burrows (2006); Kleppmann (2016) A generation number checked by the protected resource The close is fenced by holder and generation Commits are not fenced: version control cannot check a token, so merge settles overlap
Gilbert & Lynch (2002); Abadi (2012) No atomic consistency with availability under partition; latency against consistency otherwise Consistency chosen for claims and closes; stale reads and code pushes stay available Every claim pays a round trip to one unreplicated server
Lamport (2001); Ongaro & Ousterhout (2014) Consensus by majority Not used: two nodes cannot form a fault-tolerant majority One server instead of a replicated service; recovery by restore, not failover
Rose et al. (2020), NIST SP 800-207 No trust from network location; per-session, strictly enforced access Per-peer keys, per-machine database logins, nonce and identity checks, immediate revocation The database still sits behind a network perimeter; policy static, not dynamic
Blumofe & Leiserson (1999); Thain et al. (2005) Idle processors pull work; matchmaking by constraint and rank, then claim Milestone 1 pulls; the planned scorer has eligibility, rank and an atomic claim Units are code changes, made independent by the plan's conditions, not by nature
Dean & Ghemawat (2004); Anderson (2004) Many small units; re-execution and redundancy Many small units, each fitting any agent Each unit runs exactly once; correctness by recorded evidence, not by duplicates
Amdahl (1967); Gustafson (1988) A serial fraction bounds speed-up of a fixed problem; scaled problems escape it The workload grows with capacity, the scaled regime The serial fraction that remains is the Visionary's, which no hardware removes

6.6 Threats and limits

The single shared server. The design concentrates every claim and every ticket write in one database on one rented machine, reached over the public internet beneath the private overlay. If the machine or the link fails, the whole mesh stops taking new work, on every node at once (S6, section f). The design states the cost and chooses it, and its open questions include whether an outage of an hour or more is acceptable without a second, warm server (S6, "New open questions", 3). Until the backups and the restore drill are built and run, the recovery time is a design figure, not a measured one.

Contention on the main line. Exactly-once claims keep two agents off one task, but not off one file. Two tasks under different stories may touch the same file, and on one machine the commit gate of Section 4.9 sees both agents in one checkout and refuses the collision. Across machines no gate sees both: each machine has its own checkout, and the only arbiter is the merge at push time. The protection is the plan's: disjoint siblings and explicit requirements are what keep concurrent tasks off the same files, and the more nodes work one repository at once, the more those planning conditions carry. Commits from a stale holder are a second source of contention (Section 6.5.2). The rate of rejected pushes and merge conflicts across machines is not yet known.

Accounts as the ceiling. The design moves the ceiling from hardware to accounts. That is its aim, but it also means that adding machines past the point at which every account's windows are spent adds nothing, and that the ceiling depends on terms of service and usage limits that the Visionary does not control. Cluster-wide pacing, which keeps the sum of an account's spending across machines below its cutoff, is not yet built; until it is, two machines running one account can together overshoot a limit that each alone respects (S6, section d).

The serial fraction is the Visionary. Section 6.3.2 argued that once hardware stops binding, the Visionary's approvals and sign-offs do. The mesh therefore sharpens the finding of Section 9.4 rather than resolving it: a hierarchy that can build faster than its one human source can approve moves the bottleneck to the source.

Leases and the lid. The grace period trades a delayed requeue for the avoidance of duplicate work. A laptop closed mid-task holds its task for up to about forty minutes (what remains of a ten-minute lease, then a thirty-minute grace) before any other machine may take it. Whether those defaults are right is an empirical question the design leaves to measurement; all are settings, and the Visionary kept them as starting values (S6, "Owner decisions", 3).

The claim that the hierarchies mirror. The correspondence of Section 6.2 is argued, not measured. It could fail in ways the case would show: if placement had to know about the plan's structure (for example, if siblings had to be placed on one machine to avoid collisions), the plan would in effect name the hardware and the vocabulary condition across views would not hold; and if accounts, which cross the tree, came to dominate every placement decision, the capacity hierarchy would be better described as a pool of accounts than as a tree of machines.

The designer is the system. The design record was written by agents of the kind it schedules, under the same Visionary, in one day, and this chapter was written by the same kind of agent from that record. The threats of Section 10.1 apply in full, and nothing here has been examined by anyone outside the case.

6.7 What will be measured

Neither pre-registration covers the mesh, and no result for it is claimed. The repository's practice is to register criteria and bars before the evidence exists (Sections 7.3 and 7.4), and the measures below are written so that they can be registered in that way before the two-machine acceptance run of the design record (S6, section h, steps 1 to 9). They are stated here as the plan, not as a registration.

Exactly once. Over every claim made while two or more machines are active: the number of tasks held by two agents at once (the design's claim is zero), and the number of fenced closes refused, each traced to its cause.

Throughput against its ceiling. Leaves closed per hour per account, with one machine and with two, against each account's usage in the same hours, to test whether adding a machine raises throughput until the accounts, not the memory, bind.

Outage behaviour. With the database made unreachable from one machine: no claim granted and no ticket written by that machine during the outage; no claim requeued before the grace period after recovery; running agents and code pushes unaffected.

Contention. Rejected pushes and merge conflicts per landed commit, per repository, with one machine and with two, and the share traced to tasks whose files overlapped despite disjoint siblings.

Pacing. For every account run on two machines near its cutoff, whether the combined spending stopped at or below the cutoff.

Joining. Whether the setup script, run on a fresh machine, reaches a joined, working node with no manual step other than the sign-ins and approvals the design reserves to the Visionary, and whether running it again changes nothing.

Correspondence. The number of placements that needed knowledge of the plan's structure beyond a task's own requirements, which the vocabulary condition across views says should be none.

6.8 Summary

The capacity that builds a portfolio is itself a nested hierarchy: a mesh of nodes, each hosting sessions under model accounts, each running agents, with containers that host and leaves that work. It mirrors the plan level for level, hangs from the same single source, and is composed upward as the plan is built upward. The two hierarchies meet at the leaf, where a task is whatever one agent can hold, and the plan names no machine. Decomposing work to its smallest unit is what lets any idle agent on any machine take any ready leaf, and NHA's planning conditions are what make software tasks independent enough for that; the established mechanisms of leases, fencing tokens, a single serialised writer and pull-based scheduling then suffice. The mesh conforms to the standards and practice that bear on it in substance and departs from them in stated ways: one unreplicated server instead of consensus, one clock instead of bounded drift, long grace instead of short terms, a network perimeter kept as one layer beneath per-peer identity, and commits left to version control. The limits are a single point of failure, contention on the main line, a ceiling set by accounts, and a serial fraction that is the Visionary. None of it is yet measured. Chapter 7 describes the case and the evaluations that were.

Chapter 7 — The Case and the Evaluation Design

Chapters 3 to 5 defined NHA in general terms. This chapter describes the one setting in which it was applied and measured, and how. Section 7.1 states the research design. Section 7.2 describes the case and maps each concept of the method to its instance there; from this chapter on, the case's own names (its products, tools and tickets) appear wherever evidence requires them. Sections 7.3 and 7.4 give the two pre-registrations with their criteria and bars as registered. Section 7.5 describes the data and how the measures were taken, and Section 7.6 the rules of analysis.

7.1 Research design

The dissertation is a piece of design-science research evaluated by a single-case study. The artefact is the method of Chapters 3 and 4; the evaluation asks whether it does what it is for in a real setting, against criteria fixed before the evidence. Case study is a recognised methodology in software engineering research for studying contemporary phenomena in their natural context (Runeson & Höst, 2009), and the phenomenon here (a working portfolio being planned and built while agents keep changing it) cannot be moved into a laboratory without removing what is studied. The design is an embedded single case: the case is one portfolio with its Visionary and its agent fleet, and the embedded units are the jobs of Part I (one ticket, one agent, one repository or family) and the repositories of Part II.

The study is not an experiment. There is no control portfolio, no random assignment and no comparison with a flat plan or a human team. What the design can establish is narrower and, for a new method, prior: whether the method can be carried out on a real portfolio of realistic size, what it produces, what goes wrong, and whether its pre-registered bars are met. Both pre-registrations state that an unfavourable verdict is a valid and publishable result.

The method was refined while it was measured (Section 4.10). The pre-registrations handle this in two ways. The criteria and bars were never changed after registration. And each pre-registration fixes which measurement is primary before any repair, so that a later, more favourable measurement is reported beside the primary one and never replaces it.

7.2 The case

The portfolio. The case is the MindAttic workspace: about one hundred repositories under one organisation, spanning desktop and web applications, games in three engines, game modifications, libraries, agent tooling, hardware projects and scholarly manuscripts, with one ticket database. On 30 November 2026 the database held 20,005 tickets under 107 repository keys, 2,557 of them open (tickets ticket list --json, run for the earlier version of this chapter). The work in the repositories was done almost entirely by language-model agents of one model family, running through one command-line host on one machine, in one shared working copy of each repository on its main branch. The mesh of Chapter 6, in which several machines share the ticket store, was designed after both studied periods and played no part in either evaluation.

The actors. The owner of the portfolio played the Visionary. The Visionary's standing ruling on unwanted work, given at the start of Part I, set the default of Section 3.7: "it's better to mark a ticket as won't do than to keep it in and implement a feature that isn't wanted anymore" (description of ticket MAT-T360). A long-running agent session played the orchestrating agent: it received the Visionary's instructions, wrote briefs and specifications, filed tickets and dispatched agents. Agent sessions it started, or agent sessions started in a repository's own window with an explicit scope, played the building and assembly agents. The measurements of Part II were taken by read-only analyst agents. All of them, and the Visionary, worked under one operating-system login and one version-control author (Section 10.1).

The instantiation. Table 7.1 maps each concept of the method to its form in the case.

Table 7.1. NHA's concepts and their instances in the case.

Concept (Chapters 3 and 4) Instance in the case
Vision document docs/ECOSYSTEM.md at the workspace root, with a table of one owner per concern
Complete specification docs/SPEC.md in every repository; milestones in docs/RELEASE.md
Ticket system MindAttic.Tickets: a SQL-backed ticket store and the tickets command-line tool
Hierarchy rubric mindattic-agent-standard/docs/single-source.md
Hierarchy lint; wave generator lint-hierarchy.ps1, build-waterfall.ps1 (MindAttic.Agency shared/waterfall/)
Build-up procedure mindattic-agent-standard/docs/build-up.md; per-repository brief docs/buildup/CLI_BRIEF.md
Order of work units tickets order, writing docs/buildup/BUILD_ORDER.md: 89 numbered repositories, Prose, Gadfly, GridGame and SpaceGod with their satellites pinned 83 to 89 (S1, L1)
Design pass; gap pass; plan check tickets reason; tickets gaps; tickets plan check
Code ledger tickets ledger, writing docs/CODE_LEDGER.md per repository
Membrane finder tickets membranes (--apply files skeletons)
Roll-up guard M.TIX-T630 in the ticket tool: no roll-up of a container of two or more parts without a membrane part
Scope table; claim rules tickets scope, M.TIX-T625; claims refused outside the window's repository, M.TIX-T629
Handoffs tickets ticket note <ID> "Handoff: ..." on every closed leaf
Verified install M.TIX-T620 (publish and reinstall), M.TIX-T677 (the installer verifies its swap)
Closer recorded on every close M.TIX-T618; its fallback to the value owner is filed as fix M.TIX-T693
Change intake Specified; being built as a feature of the ticket system (M.TIX-T695, open). No results are claimed for it
Results record; refinement log docs/buildup/RESULTS.md (workspace); docs/PART2_LOG.md (this repository, S1)
Orchestrating agent One agent session of the command-line host
Building and assembly agents Agent sessions scoped to one repository, or sub-agents of the orchestrating session scoped the same way

Several instruments were built while the method was applied, and several moved during the study from the shared agent standard into the ticket tool that, by the vision's own table, owns the plan (S1, L4, L21). The evaluation records which version was in force when each measure was taken.

The periods. Part I covers 27 to 30 November 2026: a portfolio reset (MAT-T319, 27 November), a consolidation that wrote every product down whole (MAT-T360, 30 November) and a single-source pass that applied the hierarchy rubric, the vision document and the waves (MAT-T462, 30 November). Its reflexive case is this manuscript, planned as a tree of its own and written chapter by chapter by agents in wave order. Part II begins on 30 November with the pilot and runs into 1 December 2026; its sample is the first ten repositories of the build order.

7.3 Part I: the pre-registration for planning

The claim under test, as registered before any results chapter was written (docs/PREREGISTRATION.md, 30 November 2026):

A single human, acting only as the visionary (vision, specs, milestone order, purchases, sign-offs), can direct a fleet of LLM agents to plan, keep coherent and build a large multi-repository software portfolio, when the work is organised as a nested hierarchy of maximally abstract levels (epic > feature > story > task) flowing from one written vision (source to sea) and built bottom-up in dependency waves (reverse traversal).

("Source to sea" was the registration's name for the single source, and "reverse traversal" for building from the leaves up; the registration is frozen and keeps the old terms.)

Table 7.2. Part I criteria as registered.

# Criterion Measure Viable if
C1 Coverage Share of active repos with a docs/SPEC.md whose IDs all exist and whose open tickets all appear in it ≥ 95%
C2 Abstraction conformance Share of open epics and features passing the automated hierarchy lint (no file, class or endpoint names; no bucket words; no epic with a single feature unless recorded) ≥ 90% after the MAT-T462 pass, and higher than before it
C3 Traversability The cross-repo requires graph is acyclic and the waterfall assigns every open leaf to a wave 100% of leaves, 0 cycles
C4 Human at the source Share of the owner's instructions during the studied period that are vision-level (what and why) rather than implementation-level (which file, which command), classified by a stated rubric from the session record ≥ 80% vision-level
C5 Agent autonomy Share of agent jobs that finished their ticket without the owner's hands, other than owner-only steps (keys, purchases, sign-offs) ≥ 90%
C6 Safety Incidents where agent work destroyed or corrupted owner or agent work and was not recovered 0 unrecovered; every incident recorded with its fix
C7 Reflexivity This dissertation is itself produced through its own tree: every chapter a story, written by agents in wave order, with the owner acting only at the source Every chapter maps to a closed story; owner inputs to the manuscript are vision-level

Verdict rule (Part I). Viable: C1, C3, C6 and C7 met, and at least two of C2, C4, C5 met. Viable with conditions: C3 and C6 met, and at least three of the remaining five met; the conditions are the unmet criteria, stated as requirements on practice. Not viable: otherwise.

Measurement notes. Two notes were added to the registration as they happened, each dated. The first records that the C2 baseline was taken about twenty-five minutes after the first single-source jobs had started, so the true "before" rate is at most the recorded figure plus changes made in that interval. The second, committed after measurement 1 and before any repair, fixes measurement 1 as the primary result and states that a second measurement after repair through the method itself would be reported beside it as a secondary result, with no threshold or definition changed.

Choices fixed before measuring. Where the registration left a choice open, it was fixed in the method chapter of the earlier version of this manuscript before the measures were computed: a single-feature epic fails C2 unless its specification's change log records the decision, with the pass rate reported both ways; for C4, one instruction is one distinct directive, acknowledgements are control messages outside the denominator, an instruction is vision-level if it would still make sense with every file, command and code name removed, and naming a product as the owner of a concern is vision-level. C4 was to be coded twice, independently; Section 8.1.2 reports that it was not.

7.4 Part II: the pre-registration for building

Part II was registered on 30 November 2026, before the first repository of the build order was combed or built (docs/PREREGISTRATION-PART2.md). It tests whether the method can build a portfolio from its plan, using the build-up procedure and tools as committed at registration.

Units and measurement points. A unit is a repository that has completed its four steps (comb, membranes, build, record) and has a row in the results record. P1, the pilot, is measured after repository 1. P2 is measured after the first ten numbered repositories are done, or at the end of the study period, whichever comes first. "P2 is primary; P1 is reported beside it, never in its place."

Table 7.3. Part II criteria as registered.

Part 1 of 2: 1 · 2
From Dissertation.NestedHierarchyAbstraction/docs/vision-down-build-up.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.