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
 
Line 11: Line 11:
== Abstract ==
== 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 <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 study is one case, measured by the system it describes.
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 process; plan-driven development; agile development; hybrid development approaches; work breakdown structure; stepwise refinement; abstraction; technical debt; dependency graphs; human-in-the-loop; pre-registration; case study; design science
<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 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 9.1 records what the record cannot show, including that every agent and the owner worked under one login and one version-control 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.


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.
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.
Line 49: Line 49:
| The per-repository build-up results record and the build order
| 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>
| 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.
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 ==
== Abbreviations and Terms ==
Line 97: Line 109:
| R1–R104
| R1–R104
| The numbered refinements of the build-up (S1)
| 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 127: Line 148:


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 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 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 ===
=== 1.3 Research questions ===
Line 140: Line 163:
<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>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?


RQ1 and RQ2 are answered by two pre-registered evaluations, each with criteria and a verdict rule fixed before any result was written (Chapter 6). RQ3 is answered by the repair-and-re-measure provisions of both pre-registrations. RQ4 is answered by the distillation in Chapter 5.
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 ===
=== 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 6.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.
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.
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.
Line 150: Line 173:
=== 1.5 The answer in brief ===
=== 1.5 The answer in brief ===


The answers are stated here exactly as Chapter 7 reports them.
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>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.
Line 162: Line 185:
=== 1.6 Contributions ===
=== 1.6 Contributions ===


The dissertation makes six contributions.
The dissertation makes seven contributions.


# <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 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>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>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 6 and 7), with their unfavourable verdicts reported first and their causes traced in the data.
# <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 6.
# <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 7.2 and 9.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>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.


=== 1.7 Limits, briefly ===
=== 1.7 Limits, briefly ===


Chapter 9 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.
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 ===
=== 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 describes the case and the two pre-registered evaluation designs. Chapter 7 reports the results of both. Chapter 8 discusses what they show about the method's central claim, and Chapter 9 sets out the threats to validity. Chapter 10 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 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 ==
== Chapter 2 — Background ==
Line 221: 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 method's equivalent precondition is a vision document that changes rarely and deliberately, and Section 7.1.1 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, stated 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.
Line 245: Line 269:
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).
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 7 reports.
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 277: 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 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 6) are 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 355: Line 379:
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.
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 7 reports what one evaluation can say about it.
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.
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 6 and 7 do so for one portfolio, for planning and then for building.
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.


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 10; 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.
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 ==
== 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. The instantiation in which the method was measured, with its particular ticket system, agents and repositories, is described only in Chapter 6, 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.
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 ===
=== 3.1 The method in one page ===
Line 373: Line 399:
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.
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.


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 7 and 8 test what can be tested of it.
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 ===
=== 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 6 records which actor held which role in the case.
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.


<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.
<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.


<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 8.4).
<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).


<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.
<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.
Line 387: Line 413:
<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.
<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.


A fifth function, measurement, is deliberately kept outside these roles in the evaluation: the measures of Chapter 7 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 6), not of the method.
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 ===
=== 3.3 Artefacts ===
Line 397: Line 423:
<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 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 7.1.2 reports the drift that motivated the rule).
<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 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).
Line 483: Line 509:
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.
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.


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 7.1.3).
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 ====
==== 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.
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 ===
=== 3.5 The specification and the tree ===
Line 493: Line 519:
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.
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 <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 7.1.2).
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).


=== 3.6 Reasoning about the plan before building on it ===
=== 3.6 Reasoning about the plan before building on it ===
Line 509: Line 535:
=== 3.7 What the Visionary decides, and what is decided for the Visionary ===
=== 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 6.2).
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.
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.
Line 525: Line 551:
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.
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.


<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 7.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.
<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.


<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
<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
Line 539: Line 565:
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 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. <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 7.2.1 reports how often the order bent).
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).


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).
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).
Line 603: Line 629:
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.
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 6.4).
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 ====
==== 4.4.4 Built membranes ====
Line 625: Line 651:
<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).
<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).


<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 7 reports what the evaluation can say about this, and Chapter 8 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).
<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).


=== 4.6 Change intake: stop, decompose, resume ===
=== 4.6 Change intake: stop, decompose, resume ===
Line 639: Line 665:
<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.
<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.


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 6.2 and 10.2).
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 ===
=== 4.7 Scoped agents, handoffs and assembly ===
Line 653: Line 679:
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.
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 7.2.6 reports defects that runs found and builds and tests had not.
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 ===
=== 4.9 Safeguards the tooling enforces ===
Line 668: Line 694:
* <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.
* <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 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 7.2.5).
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 ===
=== 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 6 says how the pre-registration handles that, and Chapter 9 counts the cost.
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 ===
=== 4.11 Summary ===
Line 690: Line 716:
<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.
<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.


<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 7.2).
<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).


=== 5.2 The joint is a first-class unit of work ===
=== 5.2 The joint is a first-class unit of work ===
Line 741: Line 767:


<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).
<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).
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 ===
=== 5.7 Every concern has one owner, and work moves to it ===
Line 764: Line 792:
=== 5.9 A ninth observation: repair can expose what a miss masked ===
=== 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 7.2.4). It is recorded here because it bears on any method that measures and repairs itself, and Chapter 9 returns to it as a threat to validity.
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 ===
=== 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 describes how the method was evaluated.
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 <em>on</em>.
 
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.
 
<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.
 
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&#125;}, $$
 
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
 
$$ \kappa_\tau : \mathrm{task}(T) \rightharpoonup A $$
 
recording which agent holds which task. Six conditions relate the two trees.
 
<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).
 
<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.
 
<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.
 
<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.
 
<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).
 
<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.
 
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.
 
<strong>Table 6.1.</strong> The work hierarchy and the capacity hierarchy, level by level.
 
{| class="wikitable"
! 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 <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).
 
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 ===
 
<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).
 
<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.
 
<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).
 
<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).
 
<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").
 
<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).
 
<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.
 
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.
 
<strong>Table 6.2.</strong> Standards and established practice, and the mesh's relation to each.
 
{| class="wikitable"
! 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 ===
 
<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.
 
<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.
 
<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).
 
<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.
 
<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).
 
<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.
 
<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.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.
 
<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.
 
<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.
 
<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>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>Pacing.</strong> For every account run on two machines near its cutoff, whether the combined spending stopped at or below the cutoff.
 
<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>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.
 
=== 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 6 — The Case and the Evaluation Design ==
== 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 6.1 states the research design. Section 6.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 6.3 and 6.4 give the two pre-registrations with their criteria and bars as registered. Section 6.5 describes the data and how the measures were taken, and Section 6.6 the rules of analysis.
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.


=== 6.1 Research design ===
=== 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 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.
Line 782: Line 1,087:
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.
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.


=== 6.2 The case ===
=== 7.2 The case ===


<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.
<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.


<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 9.1).
<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).


<strong>The instantiation.</strong> Table 6.1 maps each concept of the method to its form in the case.
<strong>The instantiation.</strong> Table 7.1 maps each concept of the method to its form in the case.


<strong>Table 6.1.</strong> NHA's concepts and their instances in the case.
<strong>Table 7.1.</strong> NHA's concepts and their instances in the case.


{| class="wikitable"
{| class="wikitable"
Line 858: Line 1,163:
<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 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.


=== 6.3 Part I: the pre-registration for planning ===
=== 7.3 Part I: the pre-registration for planning ===


The claim under test, as registered before any results chapter was written (<code>docs/PREREGISTRATION.md</code>, 30 November 2026):
The claim under test, as registered before any results chapter was written (<code>docs/PREREGISTRATION.md</code>, 30 November 2026):
Line 868: Line 1,173:
("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.)
("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.)


<strong>Table 6.2.</strong> Part I criteria as registered.
<strong>Table 7.2.</strong> Part I criteria as registered.


{| class="wikitable"
{| class="wikitable"
Line 916: Line 1,221:
<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.
<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.


<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 7.1.2 reports that it was not.
<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.


=== 6.4 Part II: the pre-registration for building ===
=== 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 (<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.
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.
Line 924: Line 1,229:
<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."
<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."


<strong>Table 6.3.</strong> Part II criteria as registered.
<strong>Table 7.3.</strong> Part II criteria as registered.
 
{| class="wikitable"
! #
! Criterion
! Measure
! Bar
|-
| B1
| Comb completeness
| Share of sample repos whose <code>CODE_LEDGER.md</code> reads 100% accounted when the repo is recorded done
| ≥ 95%
|-
| B2
| Debt resolved
| Share of <code>debt</code>-labelled tickets filed in sample repos that are closed (rebuilt or removed) or closed wont-do with a reason by the repo's done date
| ≥ 90%
|-
| B3
| Membrane coverage
| Share of open containers with two or more parts, in sample repos at done, that have a <code>membrane</code> child
| 100%
|-
| B4
| Pyramid order
| Containers in sample repos closed before their membrane, plus membranes closed before any sibling (from ticket history)
| 0
|-
| B5
| Autonomy
| Share of non-owner leaves closed in sample repos without the owner's hands
| ≥ 90%
|-
| B6
| Safety
| Incidents of lost work or another agent's work committed, not recovered by P2
| 0
|-
| B7
| Refinement (descriptive)
| Refinements recorded per repo, in build order
| Reported, no bar
|}
 
<strong>Verdict rule (Part II).</strong> <em>Viable</em> if B1 to B6 all meet their bars at P2. <em>Viable with conditions</em> if every miss is traced to a defect repaired through the method's own channel (a ticket worked by an agent) and a re-measure after the repair meets the bar, the re-measure reported beside the first. <em>Not viable</em> otherwise. B7 is descriptive: the method is said to be learning if at least one refinement is recorded in the first three repos and none of the last three sample repos needs a refinement already made earlier.
 
<strong>What would count against the method,</strong> as registered: a ledger that reaches 100 per cent only through assignments that are not true; membranes that are empty ceremony; debt filed and then quietly closed without the rebuild; and the simplest-first order breaking because a simple repository needs a complex one built first. Each is reported whether or not a criterion catches it. <strong>Limits known in advance,</strong> as registered: the early repositories are small, so P2 may say little about the four pinned products; history-based accounting trusts commit subjects and ticket references; and the orchestrating agent that runs the build is part of the system measured.
 
<strong>Readings decided after P2.</strong> The P2 report found two places where the registration's wording admits more than one reading, and put both to the Visionary rather than choosing. B3's "open containers ... at done", read literally, counts only containers still open at done, and since the method closes containers by roll-up, a finished repository has none; P1 had read it as containers open at the start of the build-up. B4 does not say whether a violation later repaired still counts. The Visionary delegated both questions to the orchestrating agent ("do what you think"), which decided them before the re-measure and recorded the decisions as its own under that delegation (S1, L49): B4 stays strict, so a violation remains a miss whether or not it is later repaired, and this sample can therefore never meet B4; B3 takes the reading P1 used, containers open at the start of the build-up, since that reading was fixed before P2 was taken. No bar was changed.
 
=== 6.5 Data and measures ===
 
Every number in Chapter 7 is drawn from records the portfolio keeps in any case, which reduces, without removing, the risk that the evidence was shaped to fit the claim.
 
<strong>The ticket store</strong> holds every ticket with its level, parent, status, summary, links, approval, priority, notes and a history of every change with its time. It is read through the <code>tickets</code> tool (<code>ticket list --json</code>, <code>ticket show &lt;ID> --json</code>, <code>db check</code>). The history allows the state of the plan at any moment to be reconstructed, which is how B3 and B4 are measured: containers and their membrane children are read from the <code>children</code> and <code>labels</code> fields, and close order from the <code>created</code>, <code>status</code>, <code>rollup</code> and <code>reopen</code> events.
 
<strong>Version history</strong> gives every commit's hash, time, author, message and files. The workspace rules require every commit to name its ticket, so commits and tickets can be joined. B6 is measured from it (linear history, no reset or force in the reflog, each commit's files set against its subject), and so is part of B5 (agent commit trailers).
 
<strong>Committed ledgers</strong> give B1: the first "Accounted" line of each repository's committed <code>docs/CODE_LEDGER.md</code>, cross-checked against the tracked files and against a dry run of the installed ledger tool written only to a scratch file.
 
<strong>The working records</strong> of Part I (pass results files, briefs, job reports, specifications and the waterfall and lint outputs) give C1 to C6, by procedures set out with the raw data in Appendix B. C7 is read from this manuscript's own ticket history.
 
<strong>The build-up log</strong> (S1) is a dated record written by the orchestrating agent as the work happened. It is not evidence for any Part II criterion. The P2 analyst read it for its claims and checked them against the ticket store and the version history, and the report lists where the two disagree (Section 7.2.5).
 
=== 6.6 Analysis ===
 
Each verdict follows its pre-registered rule without interpretation; the discussion may qualify a verdict but cannot change it. The primary measurement of each part is reported first. A later measurement is reported beside it, with its own verdict under the same rule. Where a value depends on a reading the registration leaves open, every reading is reported, and the one used for the verdict is the one fixed before the measurement. Qualitative material (the agents' judgement calls, departures from briefs, refinements, and the log's claims) is used to explain the numbers and to find the conditions under which the method failed or nearly failed, not to replace them.
 
== Chapter 7 — Results ==
 
This chapter reports the two evaluations as measured. Section 7.1 reports Part I, planning: what the passes produced, measurement 1 and its primary verdict, the instruments' limits, the repair and measurement 2, and the reflexive case. Section 7.2 reports Part II, building: what the build-up produced, the pilot, the primary measurement P2 and its re-measure side by side, the causes the data shows, where the build-up's own record disagreed with the data, and what the method found that its bars do not count. Every number names its source. Part I's figures come from Appendix B and the workspace's pass records; Part II's from the measurement reports P1 and P2 (S2, S3) and the results record (S5). The build-up log (S1) is cited for instances, not for measured values.
 
=== 7.1 Part I: planning ===
 
==== 7.1.1 What the passes produced ====
 
The three passes of Part I rebuilt the plan of the portfolio. The reset (27 November) gave every active repository one milestone, a release charter and an epic, feature and task tree, and closed about 850 tickets as won't do; before it the whole portfolio held six epics and eleven features (<code>docs/portfolio-reset/RESULTS.md</code>). The consolidation (30 November, forty jobs) gave 90 repositories a complete specification and placed every unbuilt story in an approved release sequence ending at the finished product; open tickets rose from 1,617 to 2,408, because the unbuilt remainder of each product was now on paper (<code>docs/portfolio-consolidation/RESULTS.md</code>). The single-source pass (30 November, fourteen jobs) wrote the vision document and the rubric, renamed 313 tickets by the jobs' reports (287 name changes in the ticket history up to the database dump used, 284 of them on epics and features), dissolved 14 bucket epics or features and reworded 10 more as outcomes, re-pointed 27 product stories at the owners of their concerns, and added 511 requires links, at least 52 of them across repositories. The waterfall went from 1,321 open leaves in 15 waves to 1,387 leaves in 29 waves at measurement 1: deeper, not wider, as real ordering constraints should make it (Appendix B.3).
 
Three further observations from the waterfall at measurement 2 and the pass records bear on the Discussion (computations in <code>references/research-notes/07-results.md</code>). Platform work sat upstream of product work, as the one-owner rule requires: the 446 leaves in platform repositories had a median wave of 0, the 950 in product repositories a median wave of 2, and 126 leaves waited on a leaf in another repository. The Visionary sat at the bottom of the longest chains: 96 open leaves were Visionary steps, with a median wave of 5 against 0 for all leaves, and the single deepest leaf in the plan, at wave 28, was a sign-off. And the Visionary's review lagged the agents' calls: the consolidation recorded more than twenty product calls for the Visionary to confirm or reverse, and none had been confirmed or reversed by the end of the period (<code>docs/portfolio-consolidation/RESULTS.md</code>). One mid-pass change of instruction by the Visionary, from a two-tier plan with "later" stories held back to a full release sequence ending in the finished product, was absorbed by amending the brief and messaging the running agents; no job reported a conflict between the two versions.
 
The upper levels changed by addition, not reversal. The vision document changed twice after it was written, both times to add a concern or repository the first version had missed; no line was withdrawn (<code>git log -- docs/ECOSYSTEM.md</code>). Across the 94 repositories with a specification, 215 commits touched it between 29 November and measurement 2, the median repository's twice (once when written, once in the single-source pass), and no repository's finished product was redefined in the period.
 
==== 7.1.2 Measurement 1, the primary result ====
 
<strong>Table 7.1.</strong> Part I, measurement 1, against the pre-registered rule (Appendix B.1 to B.8).
 
{| class="wikitable"
! Criterion
! Value
! Met
|-
| C1 Coverage
| 88 of 94 repositories, 93.6%
| no
|-
| C2 Abstraction
| 94.8% (92.5% with the single-feature rule), up from 93.7% (90.8%)
| yes
|-
| C3 Traversability
| 1,387 leaves in 29 waves; one cross-level cycle
| no
|-
| C4 Visionary at the source
| 26 of 26 units vision-level (coding A); 27 of 27 (coding B)
| yes
|-
| C5 Autonomy
| 58 of 59 jobs and stories, 98.3%
| yes
|-
| C6 Safety
| 15 incidents: 12 recovered, 2 not recovered, 1 pending
| no
|-
| C7 Reflexivity
| chapters so far closed in wave order
| not yet measurable
|-
| <strong>Verdict</strong>
| 
| <strong>not viable</strong>
|}
 
C1 failed because six specifications did not list open tickets filed after they were written, by other sessions and automations running at the same time: a document written at a moment drifted behind a tree that kept growing. C3 failed on one cycle that existed only when two levels of links were combined (a feature requiring another feature as a whole, while a story inside the second required a story inside the first); the database's check of explicit links could not see it. C6 failed on two incidents: six stash entries left by a version-control command during the reset, holding 62 file versions no one had yet examined, and a whole file rewritten with the wrong line endings where the real change was five lines.
 
C4's agreement figure (27 of 28 items, 96.4 per cent) is intra-rater, not the independent second coding the design called for: both codings were made by one session (Appendix B.4). The Visionary's instructions in the period are reproduced verbatim in <code>docs/measures/c4-owner-instructions.csv</code>; every one is about outcomes, scope or ownership of a concern. The Visionary gave four directing instructions, commented on one subsystem, pasted one list and one link, ran one block of commands only the owner of the keys could run, asked two questions and sent one control message; the Visionary did not edit a file, name a function or choose an implementation.
 
==== 7.1.3 The instruments' limits ====
 
Two instruments turned out to be weaker or wronger than their authors expected, and both bear on how the method is checked. The hierarchy lint accepted 135 of the 143 original names that agents later improved, among them "Bug hunt", "Dataset management" and "3.0 documentation", which became "Package core without known bugs", "Datasets can be removed" and "Polish and release 3.0" (Appendix B.2). The lint measures the floor of abstraction, not its quality, so C2 is met by a margin the instrument cannot resolve well. The first wave generator reported 173 cycles that did not exist, because it read a container's link to one of its own descendants as a dependency of every leaf beneath the container; excluding prerequisites inside the requiring ticket's own subtree removed all 173, and the corrected generator is the one used (Section 4.1). This was classified as an instrument fault, found and fixed before any measure used it.
 
==== 7.1.4 Repair and measurement 2 ====
 
Every failure measurement 1 reported had been found by one of the method's own instruments. Before any repair, the dated note of Section 6.3 fixed measurement 1 as primary. The repair was filed as one fix ticket (MAT-T478) and worked by one agent: it replaced the container-level link with leaf-level links that express the real order, added every missing open ticket to eleven specifications, restored the line endings, and examined the six stash entries without applying or dropping any. The examination classified the 62 stashed versions as 22 superseded, 39 generated or churn files, and one real piece of work, preserved untouched. While it ran, the repair found two new problems and handled both through tickets: automations filing tickets with no parent (21 seated), and a documentation hub whose rebuild deleted the hub's own specification, which a second agent fixed (MAD-T23).
 
<strong>Table 7.2.</strong> Part I, measurement 1 (primary) and measurement 2 (secondary).
 
{| class="wikitable"
! Criterion
! Measurement 1
! Measurement 2
|-
| C1 Coverage
| 88/94 = 93.6%, not met
| 93/94 = 98.9%, met
|-
| C2 Abstraction
| 94.8% / 92.5%, met
| 94.8% / 92.5%, met
|-
| C3 Traversability
| one cycle, not met
| 1,396 leaves, 29 waves, 0 cycles; met
|-
| C4 Visionary at the source
| 100%, met
| unchanged, met
|-
| C5 Autonomy
| 58/59 = 98.3%, met
| 61/62 = 98.4%, met
|-
| C6 Safety
| 2 not recovered, 1 pending; not met
| 17 incidents, 16 recovered, 0 not recovered, 1 pending; met
|-
| C7 Reflexivity
| not yet measurable
| pending the Visionary's sign-off
|-
| <strong>Verdict</strong>
| <strong>not viable</strong>
| <strong>viable with conditions</strong>
|}
 
C6's change at measurement 2 rests on a classification Appendix B.9 states: content held in a stash is not destroyed, since every stashed version can be retrieved, so the stash incident counts as recovered once examined. Measurement 2 does not replace measurement 1; it answers a different question, whether the failures could be detected and repaired inside the method, and on this case it answers yes.
 
==== 7.1.5 The reflexive case and C7 ====
 
The manuscript's first version was planned as a tree of its own, each chapter a story, and every chapter story was claimed only after the stories it required had closed; four chapters with no prerequisites were written in parallel and closed in an order unrelated to their numbers, and containers closed themselves when their last child closed (Appendix B.7). The Visionary's only input to that version was one vision-level instruction. The finding the reflexive case added was a layer the registration did not name: between the Visionary's paragraph and the chapter agents stood an orchestrating agent that wrote every brief, outlined every chapter and suggested its literature, and nothing measured whether that translation was faithful (Section 8.4).
 
C7 cannot be completed by agents. It requires the Visionary's sign-off (DNHA-T29), which is open. This revision is itself a story in the same tree (DNHA-T46), made at the Visionary's request on grounds of form and framing. Part I's secondary verdict is therefore <em>viable with conditions</em>, with C7 as the open condition; if the Visionary signs off on vision-level grounds, the rule gives <em>viable</em> at measurement 2. In every case, Part I's primary verdict is <em>not viable</em>.
 
=== 7.2 Part II: building ===
 
==== 7.2.1 What the build-up produced ====
 
The build order ranked 89 repositories by complexity, with the four largest products and their satellites pinned to positions 83 to 89 (S1, L1). At the time of writing, 30 repositories have a row in the results record and further repositories have completed the plan phase alone (S5; S1, L29, L35, L46). The P2 sample is the first ten of the order, which are small: game modifications from three game families with their shared kits, a static site, a desktop utility and an engine plug-in, with 3 to 33 counted source files each (S3, B1).
 
Across the ten repositories at the primary measurement, the comb accounted for 141 of 141 files; 15 debt tickets were filed; 16 membranes were filed, of which 11 were closed; and 60 non-owner leaves closed in the window, in 63 commits (S3). Six of the eleven closed membranes closed on a recorded run or check written in their note; five were filed closed as built membranes for existing composition-root files and carry no run. They name real files, so they are not empty, but they do not meet the method's own test of a recorded run (S3, B4). Five membranes were open, all waiting on the Visionary or on the machine.
 
The simplest-first order bent, in the mild form the registration anticipated. Repository 4 needed three leaves of repository 7, which in turn needed a leaf of repository 18, all pulled forward and built first; and the method's own tools, owned by the plan's owner product near the end of the order, were pulled forward from the start (S3, B4; S1, L6, L9, L13).
 
==== 7.2.2 P1: the pilot ====
 
P1 measured repository 1 alone, a three-file game modification (S2). B1 was met (3 of 3), B6 was met, and B5 was met on a proxy (2 of 2 leaves, by the agent's commit trailer). B2, B3 and B4 were met only vacuously: the pilot had no debt and no open container of two or more parts, so it could not fail them. Four refinements came from the pilot (R1 to R4). P1 draws no verdict; it is reported beside P2.
 
==== 7.2.3 P2: the primary measurement ====
 
<strong>Table 7.3.</strong> Part II, P2, against the pre-registered rule (S3).
 
{| class="wikitable"
! Criterion
! Value
! Bar
! Met?
|-
| B1 Comb completeness
| 10 of 10 repositories; 141 of 141 files
| ≥ 95%
| yes
|-
| B2 Debt resolved
| 12 of 15 (80.0%); 12 of 14 (85.7%) without one debt filed after its repository was done
| ≥ 90%
| <strong>no</strong>
|-
| B3 Membrane coverage
| 10 of 11 containers open at the start (90.9%); 11 of 13 open at any point; 4 of 4 still open at done
| 100%
| <strong>no</strong> (on the P1 reading)
|-
| B4 Pyramid order
| 2 containers closed before their membrane, 0 membranes before a sibling; 9 on the literal reading
| 0
| <strong>no</strong>
|-
| B5 Autonomy
| 60 of 60 by inference; not measurable from the ticket data
| ≥ 90%
| provisionally yes
|-
| B6 Safety
| 0 unrecovered incidents in 63 commits; 3 near-incidents, all recovered or never committed
| 0
| yes
|-
| B7 Refinement
| 19 attributed to repositories 1 to 10, one shared, five between repositories
| none
| reported
|-
| <strong>Verdict</strong>
| 
| 
| <strong>not viable</strong>
|}
 
The verdict does not depend on the readings: B2 misses on every reading and B4 on both of its readings. The rule's middle path, <em>viable with conditions</em>, needed every miss traced to a defect repaired through the method's own channel and a re-measure that met the bar; at P2 none existed.
 
<strong>B1.</strong> All 141 committed rows are hand-assigned, every ticket exists in its repository's tree, and none is closed as won't do; an independent check found no tracked source file missing from a ledger. Two repositories' 100 per cent rested at P2 on hand rows for files the installed ledger tool could not see (31 files in one, 3 in the other), so the tool's own count was 100 per cent of a smaller denominator. Of the 141 rows, 43 (30.5 per cent) are seated on tickets the comb filed during the build-up for code that had no story. That is the method working as designed, and it is also the registration's named risk of "assignments that are not true"; the analyst checked the shape of every assignment, not its truth file by file.
 
<strong>B2.</strong> The twelve closed debts each closed on a commit that changes code; none was closed quietly without the rebuild. The three open ones are: a two-input system in a game's scripting language whose only compiler is the game's, left open by design as a Visionary step; a modification's own model-provider client, which waits on a story in the model-calls product that the Visionary had not approved; and a family helper waiting on the Visionary's decision about when to move the family's shared dependency.
 
<strong>B3.</strong> The one miss on the binding reading is a feature that had one part at its comb and gained a second when a pulled-forward pin task was filed under it and closed a minute later, with no recheck for a membrane. A second container, created during the build-up by a pull-forward, closed on its three leaves in four minutes and was never given a membrane.
 
<strong>B4.</strong> One epic rolled up four and a half minutes before its membrane was filed: building had run ahead of the membrane step. One feature rolled up without a membrane because the installed ticket tool predated the roll-up guard; it was reopened 28 seconds later and re-closed by a membrane within three minutes. The literal reading adds five epics filed closed from their specifications, whose composition-root files were recorded afterwards as built membranes by design, and two of those built membranes filed closed before debt siblings closed.
 
<strong>B5.</strong> The ticket store recorded no closer on any version the analyst read, every note was written under the one shared login, and version-control authorship is the owner's account on every commit. Of the 60 leaves, 23 carry a machine-recorded agent marker (an agent commit trailer or an agent session's claim); 37 rest on the log's account and on the absence of any sign of the Visionary. No leaf is recorded as closed by the Visionary, so the share is 60 of 60; it could be lower, and the data cannot show it.
 
<strong>B6.</strong> History is linear in all ten repositories, the reflog shows no reset, amend, rebase or force, no repository has an unpushed commit, and every commit's files are explained by its ticket. The three near-incidents were a ledger overwritten by a tool's development run and regenerated before commit, a commit hook that left an old archive staged as a revert (nothing committed from it, and the hook was fixed), and two slow steps stopped and restarted that lost their partial progress but no repository work.
 
==== 7.2.4 The re-measure, beside P2 ====
 
The repairs went through the method's own channel. The B3 miss was repaired by a membrane (GAM-T102) that closed on a recorded cross-read of the release documents against the pinned shared dependency, 133 checks, passing only after the membrane fixed documents that still described the shared code's old home. The second B3 container received a membrane whose joined run needs the game, so it stays open as a Visionary step. The installer was fixed to verify its own swap (M.TIX-T677) and the roll-up guard's install closed (M.TIX-T620). The B2 repairs were not worked: one is a Visionary step, one waits on an unapproved story, and one on the Visionary's pin decision (S1, L49).
 
<strong>Table 7.4.</strong> Part II, P2 (primary) and the re-measure (S3, "Re-measure result").
 
{| class="wikitable"
! Criterion
! P2
! Re-measure
! Bar
! Met at re-measure?
|-
| B1 Comb
| 141 of 141; installed tool disagreed on 2 repositories
| 141 of 141; installed tool agrees on all ten
| ≥ 95%
| yes (held)
|-
| B2 Debt
| 12 of 15 (80.0%)
| 12 of 15 (80.0%)
| ≥ 90%
| <strong>no</strong>, not repaired
|-
| B3 Membrane
| 10 of 11 (90.9%)
| <strong>11 of 11 (100%)</strong>
| 100%
| <strong>yes</strong>, repaired
|-
| B4 Order
| 2 (intended) / 9 (literal)
| <strong>4 / 11</strong>
| 0
| <strong>no</strong>, and under the strict decision cannot be
|-
| B5 Autonomy
| 60 of 60, by inference
| 62 of 62, by inference; a closer recorded on 2 of 62, reading <code>owner</code> on both
| ≥ 90%
| yes, on inference
|-
| B6 Safety
| 0 unrecovered, 63 commits
| 0 unrecovered, 65 commits
| 0
| yes (held)
|-
| <strong>Verdict</strong>
| <strong>not viable</strong>
| <strong>not viable</strong>
| 
| 
|}
 
The re-measure's most instructive result is B4. Repairing B3 made B4 worse: the two containers that gained membranes had rolled up hours before those membranes existed (one fifteen hours before), and they entered the B4 count only once a membrane existed to be out of order with. A container without a membrane was simply not tested by B4, so the B3 miss had masked two B4 violations. Filing a membrane for a container that has already rolled up is the only repair B3 allows, and by the registration's wording it is a B4 violation for the same container. The build-up recorded this as its last refinement, R104: a re-measure reads every criterion again, not only the repaired one (S1, L50).
 
B5 shows the same pattern in a smaller way. The closer field installed after P2 recorded a closer on the only two closes made since, and recorded the value <code>owner</code> on both, although both were agent runs with agent commit trailers. The field falls back to <code>owner</code> when the closing agent's claim has been released before the close. Taken at face value, the share closed without the Visionary would be 60 of 62 (96.8 per cent), still above the bar; the field cannot yet separate the two, and its fix is filed (M.TIX-T693). B5 remains an inference.
 
The re-measure verdict is <em>not viable</em>. B1, B3, B5 and B6 meet their bars, B5 on inference; B2 and B4 miss, and neither is repaired.
 
==== 7.2.5 The causes, and where the record disagreed with the data ====
 
The data shows three causes for the misses.
 
<strong>An installer that reported success when it had failed.</strong> The roll-up guard was built and its ticket closed, and the build-up log said the first early roll-up "can no longer happen" (S1, L21). The second early roll-up then happened because the installed tool predated the guard; the installer had failed silently under a locked file (S1, L48). The same defect explains why closers were not recorded before the verified install, which left B5 an inference, and why two source-pattern refinements appeared to be missing from the installed ledger tool: on reinstall they proved to have been in the source all along, and the tool then agreed with the committed ledgers (S1, L49; S3). The defect has been fixed and verified (M.TIX-T677, M.TIX-T620).
 
<strong>Building running ahead of the membrane step.</strong> The first early roll-up happened before any guard existed, in a repository built by an agent that had run ahead into it before the membrane step reached it (S1, L16).
 
<strong>Decisions that belong to the Visionary.</strong> All three open debts wait on a step or a decision reserved to the Visionary (Section 7.2.3).
 
The independent measurement also corrected the build-up's own record. The log, written by the orchestrating agent, reported both early roll-ups it noticed, but it never reported the two B3 misses, which appear nowhere in it; it read the five built membranes as by design without noting that the ticket history reads them as the same pattern; it presented two refinements as installed when the installed tool did not yet show them; it recorded one repository's debt as three filed and three closed, which was true when written and stale by P2; and after the re-measure it had to be corrected twice more, on the number of early roll-ups (four, not two) and on what the installed closer field records (S3; S1, L48, L50). The log agreed with the data on the timing and order of the events it did report, to the minute. The record written by the system measured reported the failures it noticed and missed the ones it did not.
 
==== 7.2.6 What the method found that the bars do not count ====
 
Some of what the build-up produced is not measured by any criterion, and is reported here because it bears on whether the method works, with the caution that most of it comes from the log and from repositories outside the P2 sample.
 
<strong>Defects found by reading.</strong> The comb reads every file, and in doing so it acted as a code review. Outside the sample, it found by reading alone a speech-recognition demonstration that could reach a paid provider without the Visionary's consent when its provider was switched, which was then fixed to fail closed on any unset, non-local or unknown endpoint (S1, L35, L38); and, in one plan phase across six repositories, a log reader that sent a database password to its web page, a notifier whose installed copy could not reach its scheduler, and an ability castable without limit (S1, L46). That last pass also filed 31 fixes found by reading that have not yet been built or proven (S1, L46).
 
<strong>Defects found by joined runs.</strong> Recorded runs found defects that builds had not: the review step's resume key in an image pool (S1, L36), a closed leaf that threw on a particular model layout (S1, L41), a sibling's logging policy overridden by its library's defaults (S1, L43), two style rules cut by mistake in a shared skin, caught by a measured render (S1, L25), and an engine defect in a sync tool exposed by a real sync run (S1, L25). In the sample itself, the B3 repair's cross-read failed until it fixed the documents it was checking (Section 7.2.4).
 
<strong>Risk moved to the Visionary.</strong> The log records, repeatedly and against the method, that the comb put behaviour-preserving refactors into game modifications already published as finished, whose only proof is a build or a parse until someone plays them (S1, L11, L12, L24, L45). The method names this as a Visionary step; it does not remove the risk.
 
==== 7.2.7 B7: refinement ====
 
Nineteen refinements are attributed to repositories 1 to 10 (four, two, one, one, two, three, one, one, one and two in build order), one more (R79, the machine is part of the build) is shared by repositories 8 and 10, and five were made between repositories 1 and 2 (S3, B7). The registration's learning test has two clauses. The first, at least one refinement in the first three repositories, is met (seven). The second, that none of the last three sample repositories needs a refinement already made earlier, is not cleanly met: the refinements repositories 8 to 10 made were new, but two earlier lessons recurred in them, an epic closed before its membrane and an installed tool lacking a refinement already made. The analyst did not rule on B7, which carries no bar. Over the whole build-up to the re-measure, 104 refinements were recorded (S1); Chapter 5 distils them.
 
=== 7.3 Summary ===
 
<strong>Planning (Part I)</strong> was <em>not viable</em> at its primary measurement and <em>viable with conditions</em> at its secondary measurement after repair through the method's own channel, with the Visionary's sign-off as the open condition.
 
<strong>Building (Part II)</strong> was <em>not viable</em> at its primary measurement and <em>not viable</em> at its re-measure. On the first ten repositories the method met its bars for accounting (141 of 141 files), safety (no unrecovered incident) and autonomy (on inference), and missed them for closing debt (80 per cent) and for building the joint before the whole (two, then four, early roll-ups). Membrane coverage missed at P2 and was repaired. The causes in the data are an installer defect, since fixed, that kept the roll-up guard and the closer record out of force; building that ran ahead of the membrane step; and debts that wait on the Visionary. The independent measurement found misses that the build-up's own record had not, and the one repair that met its bar exposed two misses that the original miss had masked.
 
== Chapter 8 — Discussion ==
 
Chapter 7 reported the verdicts. This chapter asks what they mean for the method. Section 8.1 weighs the central claim, a plan-driven cascade with agile work confined to the joints, against the evidence. Section 8.2 sets out what the evaluation shows working, and Section 8.3 what it shows not yet working and why. Section 8.4 discusses the two roles the evaluation found hardest to see: the Visionary and the orchestrating agent. Section 8.5 relates the findings to the literature of Chapter 2, and Section 8.6 states the requirements on practice that follow.
 
=== 8.1 The central claim ===
 
NHA's claim is that an epic can be executed mostly as a plan-driven cascade, pivoting to iterative work only at the joints its plan and its coding flow did not surface, and at the changes the Visionary introduces, without the pivot stopping the cascade (Section 4.5). The evaluation bears on the claim unevenly.
 
<strong>The cascade ran.</strong> Both parts show the plan-driven body working at scale. In Part I, a plan of about 1,400 open leaves in 29 waves was written, ordered and kept acyclic across 94 repositories, with platform work upstream of product work (Section 7.1). In Part II, repositories were taken simplest first and built leaf by leaf by agents working from written tickets, and the order bent only where a leaf required a leaf in a later repository, which the pull-forward rule handles (Section 7.2.1). No repository in the sample needed its plan rewritten above the level of the container being built.
 
<strong>Joints exist and are found where the method predicts.</strong> Sixteen membranes were filed across the ten-repository sample, against 60 non-owner leaves closed (Section 7.2.1). The joints that surfaced during building were of the kinds Section 4.4.2 names: two siblings editing one registration file (S1, L5), a leaf that widened an input its sibling consumed (S1, L26, L36), a sibling's behaviour overridden by a shared library's defaults (S1, L43). In each instance the repair was made where the siblings meet, under a membrane or a fix leaf, and no container above was reopened to make it. That is evidence for the locality the claim depends on, but it is the evidence of instances, not of a measure: no criterion counted how often a joint's repair reached upward, and the method's rule against reopening closed containers (Section 4.4.4) would hide some such cases by design.
 
<strong>The discipline of the joint is where the method failed its bars.</strong> B3 and B4 are, in effect, measures of whether the joint was built before the whole was declared done. On the first ten repositories it was not, four times: twice because the guard that enforces it was not yet in force, once because building ran ahead of the membrane step, and once because a container gained a second part after its comb and was never rechecked (Sections 7.2.3 to 7.2.5). The evaluation therefore supports the claim's structure (joints are local and can be placed in membranes) more than its execution (the method, as first practised, did not reliably build them in order). That distinction matters for what the misses mean. A miss caused by a tool not yet in force is a defect of the instantiation and is repairable; a miss caused by containers acquiring parts after their comb is a gap in the procedure, and the refinement that addresses it (a membrane is filed only for a container with two or more <em>open</em> parts, R71) was made after the containers in question had closed.
 
<strong>Change intake is untested.</strong> The second pivot is specified but not built in the case, and no result in this dissertation bears on it (Section 6.2). Part I does contain one mid-pass change of instruction by the Visionary, which the orchestrating agent absorbed by amending the brief and messaging the running agents, with no reported conflict (Section 7.1.1). That is an instance of the problem change intake is meant to solve, handled without the mechanism.
 
=== 8.2 What works ===
 
Five results hold up across both parts and are the basis of the method's contribution.
 
<strong>The comb.</strong> Every file in every repository of the sample is accounted for against the plan, 141 of 141, by hand-assigned rows after reading, and at the re-measure the installed tool agrees with the committed ledgers in all ten repositories (Section 7.2.4). A plan that accounts for every file of its product is, as far as the sources reviewed in Chapter 2 show, uncommon; the comb makes it routine for small repositories, and its cost is visible in the record rather than hidden.
 
<strong>Safety.</strong> No incident of lost work or of another agent's work committed was left unrecovered in Part II, in 63 and then 65 commits across ten repositories worked by many agents in shared working copies; in Part I none remained unrecovered once the repair was made (Sections 7.1.4 and 7.2.3). The rules that keep agents from damaging each other's work in a shared checkout (commit by path, never stash or reset, private scratch folders) are among the method's least glamorous and most effective parts.
 
<strong>Defects found by reading and by joined runs.</strong> The comb, by reading every file, found defects that no build would show, including a demonstration that could reach a paid provider without consent and a log reader that sent a database password to its web page; and recorded joined runs found defects in closed leaves that their own verification had passed (Section 7.2.6). These are the principles of Sections 5.1 and 5.3 producing value the bars do not measure.
 
<strong>The repair loop.</strong> In both parts, every repair the measurements called for that an agent could make was made through the method's own channel: a ticket, worked by an agent, closed on evidence. Part I's defects were repaired the same day (Section 7.1.4); Part II's B3 miss was repaired by a membrane that closed on a recorded check, and the installer defect behind two of its misses was fixed and verified (Section 7.2.4). Where a repair could not be made by an agent, it waits as a named decision, not as an untracked problem.
 
<strong>The refinements converge.</strong> The 104 refinements are many, but they are not a list of unrelated patches: they reduce to eight principles (Chapter 5), and the later refinements are increasingly restatements of earlier principles in new settings (R103 restates R49; R104 extends R12 to measurement). The method was learning, though B7's second clause shows that an earlier lesson could still recur in practice before it reached the tools.
 
=== 8.3 What does not yet work, and why ===
 
<strong>Debt closure depends on the Visionary.</strong> B2 missed at 80 per cent, and all three open debts wait on something reserved to the Visionary: a compiler only the game holds, a story the Visionary had not approved, and the Visionary's decision about a dependency move (Section 7.2.3). The method routes these correctly (Section 5.8), but routing a decision is not making it, and a bar on debt closed "by the repo's done date" cannot be met by agents alone where the debt touches the Visionary's scope. The bar measures the throughput of the Visionary's queue as much as the method.
 
<strong>Pyramid order depends on tooling in force.</strong> The pyramid order is a constraint on closing, and in a system where closes are performed by a tool, the constraint is only as good as the installed tool. The method's most important late lesson is that a fix in source is not a fix (Section 5.5). It was learned at the cost of a measured miss, and B4, held strict, records that cost permanently for this sample.
 
<strong>Autonomy cannot be measured while identities are shared.</strong> In both parts, autonomy rests on inference because the Visionary and every agent work under one login, and the closer field that was meant to separate them records <code>owner</code> for agent closes when a claim has lapsed (Section 7.2.4). B5 and C5 met their bars on every reading the analysts could construct, but the data cannot exclude a lower share. The remedy is cheap and filed (M.TIX-T693); until it lands, the method's central promise to the Visionary (that the agents do the work) is supported by the record's silence about the Visionary rather than by the record's positive attribution.
 
<strong>The record written by the system is not a measurement.</strong> The build-up log reported every event it noticed accurately and to the minute, and missed the two membrane-coverage misses entirely (Section 7.2.5). A method that improves itself from its own log will improve on what its log sees. The independent, read-only measurement against the ticket store is what found the rest, and it should be read as part of the method rather than as an external audit.
 
=== 8.4 The Visionary and the orchestrating agent ===
 
<strong>The Visionary stayed at the source.</strong> In Part I every coded instruction of the Visionary was vision-level, and the Visionary did not edit a file, name a function or choose an implementation (Section 7.1.2). In Part II the Visionary's recorded interventions were of the same kind: the cornerstone instruction that agents be bound to scopes (S1, L14), the delegation of two readings of the registration (S1, L49), and, notably, two ownership corrections that the method's own rubric had missed, one about credentials in Part I and one about a view of the plan built in the wrong product, which the Visionary caught by looking at the plan's views from the source (S1, L4). The second is evidence that the Visionary's reading of the upper levels is not ceremonial: it found what the rubric and three planning passes had not.
 
<strong>The Visionary is also the bottleneck, by design and by default.</strong> By design, because sign-offs sit at the end of every release sequence: in Part I's waterfall, 96 open leaves were Visionary steps with a median wave of 5 against 0 for all leaves, and the single deepest leaf in the whole plan was a sign-off (Section 7.1.1). By default, because the agents' recorded product calls accumulated unreviewed: more than twenty were recorded for the Visionary to confirm or reverse in Part I's consolidation alone, and none had been at the end of the period. Part II's open debts and open membranes add to the same queue. The method places the Visionary well; it does not make the Visionary's review happen, and a Visionary who does not read what the agents send back does not steer them.
 
<strong>The orchestrating agent is the least-examined component.</strong> Between the Visionary's words and the building agents' briefs stands one agent that writes the specifications, the briefs, the pre-registrations' measurement notes and the build-up log, and that, under the Visionary's delegation, decided two readings of the second registration. Nothing in the method's instruments checks the fidelity of that translation. In this case it can be checked by hand, because the sources are short and every brief is in the record. But the evaluation's most consequential finding about the record (that the log missed misses the measurement found) is a finding about the orchestrating agent. Change intake's rule that a conflicting change returns to the Visionary as one precise question (Section 4.6) is, among other things, a constraint on the orchestrating agent.
 
=== 8.5 Relation to the literature ===
 
<strong>Royce, read in full.</strong> Royce (1970) warned that a strict sequence "is risky and invites failure" when testing comes last, and his remedies were all ways of bringing feedback forward: design first, document heavily, do the job twice, plan the testing, involve the customer at defined points. NHA adopts the first two and the last directly (the complete specification and the Visionary's sign-offs). Its membrane is a way of bringing the feedback of integration forward to each container, rather than leaving it to the end of the whole: each tier is proven to work as one before the tier above is built on it, which is Dijkstra's (1968) bottom-up verification applied to construction.
 
<strong>Hybrid processes.</strong> The surveys of Chapter 2 find hybrid development to be the common case, usually as a plan-driven frame with agile practice inside (Kuhrmann et al., 2017; Klünder et al., 2019; Kuhrmann et al., 2022). NHA is a hybrid of that shape. What it adds is a structural answer to where the agile part goes (the joint and the change) and a scheduling rule that keeps it from eroding the frame (the membrane requires its siblings). Boehm and Turner (2003) proposed balancing the two by risk; NHA balances them by structure, which suits a workforce that cannot carry the judgement a risk assessment needs from one session to the next. Whether structure is a good proxy for risk is a question this evaluation cannot answer, because its sample is small and simple.
 
<strong>Agent frameworks.</strong> The multi-agent development systems reviewed decompose one run by phase or role (Hong et al., 2024; Qian et al., 2024). The evaluation supports NHA's different choice in one respect: the defects that mattered most were not within a phase but between parts (the joint) and between the record and reality (the claim), and a phase decomposition has no place to put either.
 
<strong>Human control and automation.</strong> Shneiderman (2020) frames human control and automation as two dimensions. The case had high automation. Whether it had high control depends, on this evidence, less on the plan's structure than on two things the structure does not supply: the Visionary's reading of what the agents send back, and a record that attributes each action to its actor.
 
=== 8.6 Requirements on practice ===
 
The pre-registrations ask that unmet or weakly met parts be stated as requirements on practice. Each requirement below is either a filed ticket or a written rule in the case, so that it is part of the plan rather than only a recommendation.
 
<strong>Q1. The specification's list of items is rendered from the tree</strong> (Part I, C1; M.TIX-T535). <strong>Q2. Every ticket is seated when filed</strong> (Part I; M.TIX-T538). <strong>Q3. A tool change is done only when the installed tool shows it, and the installer verifies its swap</strong> (Part II, B4 and B5; M.TIX-T620, M.TIX-T677, and the principle of Section 5.5). <strong>Q4. Every claim and every close names its agent, and the closer is never inferred from a lapsed claim</strong> (Part I, C5 and C7; Part II, B5; M.TIX-T536, T537, T618, T693). <strong>Q5. A container is rechecked for a membrane whenever it gains a part, and a roll-up stops at a container lacking one</strong> (Part II, B3 and B4; M.TIX-T630, R71). <strong>Q6. Abstraction is judged, not pattern-matched</strong> (Part I, C2; MAT-T480). <strong>Q7. The orchestrating agent's briefs are audited against the Visionary's words and the vision document</strong> (Part I, the reflexive case; MAT-T481). <strong>Q8. The Visionary's review of agents' calls, open debts and Visionary steps is scheduled as visible work with a place in the waves</strong> (both parts; MAT-T482). <strong>Q9. A re-measure reads every criterion again, and any repetition of either study uses a coder and a measurer independent of the system under study</strong> (Part I, C4; Part II, R104).
 
Q1, Q3 and Q4 would each have prevented a defect this study recorded. Q5 addresses the procedural gap behind two of Part II's misses. Q6, Q7 and Q9 address what the study could not measure, and Q2 and Q8 what accumulated at the method's edges.
 
== Chapter 9 — Threats to Validity ==
 
Both pre-registrations declared their main threats in advance. This chapter states them, and the threats the evaluation found, with what limits each and what it leaves open. Section 9.1 covers threats from who measured and how; Section 9.2 threats from measuring a system that repairs itself; Section 9.3 threats to generalisation; and Section 9.4 threats from the instruments and sources.
 
=== 9.1 The measurer and the record ===
 
<strong>The orchestrating agent is part of the system measured.</strong> The agent that ran both evaluations also wrote the specifications, the briefs, the build-up log and the measurement notes, and, under the Visionary's delegation, decided two readings of the second registration. The agents that did the work are of the same kind as the agents that wrote this dissertation. Four things limit the conflict without removing it. The criteria, bars and verdict rules were fixed before the results. The Part I measures were computed by committed scripts whose outputs are kept (S4), and Part II's were taken by a read-only analyst agent from the ticket store and the version history, reading the orchestrating agent's log only as claims to check (S3). The unfavourable verdicts are reported first. And the raw record is public and unedited. What the evaluation can show is that the procedure was followed and the record is consistent; it cannot show that a disinterested evaluator would have concluded the same.
 
<strong>One shared login.</strong> The Visionary and every agent worked under one operating-system login, and every commit carries one version-control author. The ticket store recorded no closer before the verified install, and since then records <code>owner</code> when an agent's claim has lapsed before its close (Section 7.2.4). Autonomy (C5, B5) is therefore inferred from agent commit trailers, session claims and the absence of any sign of the Visionary, and the agent responsible for a given action is known from the orchestrating session's transcript, which is not a public artefact. The bars were met on every reading the analysts could construct, but a lower true share cannot be excluded.
 
<strong>History-based accounting.</strong> The comb seeds its ledger from version history and ticket references, which the registration names as a limit: they trust commit subjects and references. The method's own principle (Section 5.1) replaces every history credit by an assigned row after reading, and all 141 rows in the sample are assigned. But the analyst verified the shape of each assignment (the ticket exists, is seated and is not closed as won't do), not its truth file by file; the pilot's measurement read one file against its story, and P2 did not repeat that for 141 files. Of the 141 rows, 43 are seated on tickets the comb itself filed, which is the method working and also the registration's named risk of assignments that are not true.
 
<strong>The log as record.</strong> The build-up log was written by the orchestrating agent as the work happened, and it is the only source for many of the instances Chapter 5 cites as evidence for the principles. Its account of events agreed with the ticket store to the minute wherever both exist, but it missed events (Section 7.2.5). Instances cited from the log are therefore illustrations of a principle, not measurements of it, and Chapter 5 cites them that way.
 
<strong>Survivorship.</strong> Incidents are counted when an agent reported them or a measure found them. An action that damaged something unnoticed would leave no entry, so the safety counts are lower bounds; "zero unrecovered" means zero unrecovered among the incidents found.
 
=== 9.2 Measuring a system that repairs itself ===
 
<strong>Repair aimed at the measure.</strong> In both parts, a measurement named defects and the system then repaired exactly those defects and measured again. A system that measures itself and fixes what the measure points at will improve on the measure faster than on what the measure does not see. Both registrations limit this by fixing the first measurement as primary before any repair and never changing a bar, and the verdicts are reported accordingly. They do not remove the risk that the secondary results overstate the method's general improvement.
 
<strong>Repairing one criterion can expose misses in another.</strong> Part II's re-measure shows a second effect, the reverse of the first. Repairing membrane coverage made pyramid order worse, because the containers that lacked membranes had not been testable for order until they had one (Section 7.2.4). A miss on one criterion masked misses on another, and the repair revealed them. The general point applies to any evaluation that measures and repairs: a re-measure must read every criterion again, not only the repaired one, and criteria that depend on the same objects must be read together. A first measurement may understate failure where criteria interact, as well as a second overstate success where repair targets the measure.
 
<strong>The method changed while it was measured.</strong> The build-up was refined 104 times during the study (Section 4.10), and P2 measured a method different from the one registered, with tools refined during the pilot and after it. The registration anticipated this by describing refinement as part of the method and fixing the bars, not the procedure. But "the method" that the verdicts describe is the method as practised during the study, not a fixed version of it, and the instruments that measured it were in some cases refined in the same period (the ledger tool's source patterns, the closer field).
 
<strong>Readings decided after the first result.</strong> The readings of B3 and B4 used at the re-measure were decided after P2 was seen, by the orchestrating agent under the Visionary's delegation. Both decisions were made in the direction that cannot favour the method: B4 strict (a repaired violation still counts), and B3 as at the pilot (fixed before P2). The decisions are recorded with their reasons (S1, L49), and the verdict does not depend on either.
 
=== 9.3 Generalisation ===
 
<strong>A single case.</strong> One Visionary, one portfolio, one family of models, one machine, over days. The results are an existence proof or disproof for this configuration, not an estimate for others. The portfolio is broad (applications, games, modifications, libraries, tools, manuscripts), which makes it a demanding case for coherence across products, but breadth is not replication.
 
<strong>A small, early sample.</strong> Part II's sample is the first ten repositories of an order sorted by complexity, so it is the ten simplest: 141 files in all, the largest repository 33 files. The registration anticipated that the early repositories would be small and that P2 might say little about the largest products. The vacuous passes of the pilot (B2 to B4, which one tiny repository cannot fail) are an extreme instance of the same limit.


<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.