Skip to content

Chapter 21 · agent-neuron · Lab

Boundary layer iterative development

No more sprints, no more backlog, no more chat room coordination. The business direction is the boundary layer, the boundary layer defines the workflow, and the workflow is the communication: boundary layer iterative development, played out with an org chart.

The method, named

Twenty-one chapters in, the series has shown one way of working again and again. It hasn’t named it. The demos route a week of work by rules written in one file, stop a runaway loop under a spending ceiling, and carry on under a ceiling a manager changed. The name for it here is boundary layer iterative development.

There are three parts to the name, and the method needs each:

  • Boundary layer: the work never runs outside the bounds the business has written down (a budget, a threshold, who may answer what), and anything outside a bound is refused before it starts, by the software, not by a person who had to be watching.
  • Iterative: the work goes round and doesn’t stop. A report can be read at any point, the answer to the report is a diff, a reviewed change to the bounds, and the work carries on under it. Nobody has to remember the change.
  • Development: the rounds wrap the org’s own work, the fixes, patches and merges that used to sit in a queue for a person’s attention, and the decisions that still need one. The agents do the first kind. The second kind never left a person’s desk.

Underneath is the capstone’s claim: the coordination layer is already the network. Nobody builds a controller to run the method, because the written bounds, the places where people and agents meet them, and the record are the method. Every department in an org meets that layer at a different part of it. The rest of this chapter plays that out.

Drawn, the name is two loops (figure one). The inner one is the agent’s, and it spins with every rebuild. The outer ring is the boundary layer, and it turns only when the business changes and a person reviews the change. Try it: switch the layers on, rebuild, and apply a reviewed change.

Invented task: refund an order under the shop’s returns policy.

0

Rigid: the outer ring is the layer. It turns only when the business changes, and a person reviews each change.

Liquid: the inner loop is the agent’s. The number is its laps so far.

Inner loop: what the agent handed back

Refunds the right amount, in one function.

Right. It ships, as it should.

Outer ring: the business changes

No change to the layer yet.

10 min
2 h

Of the 14 versions, 8 are wrong under this layer. With these layers on, 7 of them ship. One reviewed change to the layer takes as long as 12 agent laps.

Two loops. The inner one is the agent’s: rebuild as often as you like, and the layer judges every version it hands back. The outer ring is the layer: it turns only when the business changes and a person reviews the change, and an agent that tries to edit it bounces off. The task, the versions, the changes and the lap times are invented; which layer catches which version is my own sorting, not data.

The figure is from Humans outside the loop.

The three pillars

The boundary layer in that figure has three parts to switch on. They’re the three pillars of Humans outside the loop, and every bound in this chapter sits under one of them.

The goals, and what success means

  • What done means for a request, agreed before it’s scheduled: two engineers accept it, shown as a diff against the original request.
  • A success is work that landed inside every bound.
  • A dependency lands with what needs it, or it hasn’t landed.

The constraints: data security, the budget and the infrastructure

  • Security: who may answer what, checked when an answer arrives.
  • Budget: what a piece of work may spend, under a ceiling that can be lowered for a run and never raised.
  • Infrastructure: what the work may touch, the merges and the payments, and one already started is never cut off.

The evaluation and the verification

  • Thresholds: how many separate answers a decision needs before it counts.
  • The desk: a named person’s answer, on the record with who and why.
  • The report: what landed, what was refused and what it cost, read from the run’s own books.

Which bound sits under which pillar is my sorting, not the project’s.

What it replaces

An org usually runs on three things that have no job in this method:

  • No more sprints.
  • No more backlog.
  • No more chat room coordination.

One sentence replaces all three. The business direction is the boundary layer, the boundary layer defines the workflow, and the workflow is the communication.

  • The business direction is the boundary layer: where an org is going is written as bounds, a budget here and a threshold there, and the software holds them. So direction isn’t a plan agreed at the start of a sprint and then remembered. It moves when a report is answered, as a diff.
  • The boundary layer defines the workflow: a request is routed under those bounds as it lands, so there’s no list beside the work for anyone to groom, only each item on its lane.
  • The workflow is the communication: a question at the desk of whoever is allowed to answer it, an answer on the record with who and why, a report read back from the work. That coordination was the chat room’s job.

What gets counted

A round isn’t a sprint, and it isn’t a count of loops. A sprint is a span on a calendar, with a scope agreed at its start and a close at its end; the rounds here have none of the three, and they never end. Inside them an agent graph iterates as often as the work asks and the bounds allow, and nothing in the method says how many times. Nobody counts the rounds, or the loops.

What gets counted is two things at the boundary layer:

  • Successes: the work that landed inside every bound.
  • Refusals: the work a bound turned away before it started.

Both are informational, a reading and not a target. Read together, the two counts show the boundary layer’s throughput and how effective it is. A diff moves the bounds while the work goes on.

The counts are also why a dependency can’t be released alone. A part that lands without what it depends on, or without what depends on it, hasn’t landed inside every bound. So it isn’t half a success and it isn’t a refusal: it’s a failure at the boundary layer, the one thing neither count should ever hold. One of the demos has the shape of it: a merge waited on two reviewers and a lead, the reviewers split, the lead said no, and nothing merged.

Picture a track with a wall on each side and no finish line (figure two): the walls are the bounds, together they’re the boundary layer, and the work goes round between them. Whatever stays inside every wall lands and is counted as a success, and whatever a wall turns away is counted as a refusal. A dependency goes round with what needs it or doesn’t go. A diff moves a wall mid-lap.

No finish line
counted: what lands inside the walls, and what they turn away

  • The walls

    the bounds on the file; together, the boundary layer

  • The lap

    the work goes round between the walls, and nobody counts the laps

  • A success

    work that stayed inside every bound and landed

  • A refusal

    work a bound turned away before it started

  • A dependency

    goes round with what needs it, or does not go

  • A diff

    moves a wall while the work keeps going

IllustrationThe boundary layer as a track: two walls, the work going round between them, and no finish line. The green dots are successes, the cross outside the wall is a refusal, the joined pair is a dependency travelling together, and the dashed line is a wall a diff has moved. A drawing of the method, not of a run.

The boundary layer, and who stands where

The boundary layer is where the bounds live, and where an org meets them. It has four parts, and only the parts:

  • The rules file: the bounds, and who may answer what, written as plain fields the work reads.
  • The desk: the page a person answers on, showing only the items they’re allowed to answer, one page per person.
  • The worker door: where agents join, at arm’s length from the desk.
  • The record: every decision lands on it as one line, with who and why.

No department meets the whole boundary layer, and none needs to:

  • Finance: the budgets and the spend report.
  • Security: who may answer what (the grants).
  • Product: what done means for a request (the criteria).
  • Engineering: their own desks, and the lead at the sign-offs.
  • Support: what the work may touch, and when newer news replaces older work.
  • Audit: the record alone, to read and nothing else.

The org chart below draws each department at the part it touches. Nowhere else.

There’s no box at the top of the chart with more reach than anyone else, because the boundary layer wouldn’t know what to do with it. In the method, authority is a line in the rules file, a permission at the door and a line on the record, for a lead, for finance and for anyone else the org names. It’s the same three things for all of them.

Harlow & Vale: the departments

  • Engineering

    the lead, two engineers

    stands at: thresholds (The rules file) · its gates and answers (The desk)

  • Product

    the product owner

    stands at: the criteria rule (The rules file) · an item sent back (The desk)

  • Finance

    the manager

    stands at: budgets (The rules file) · the spend report (The desk)

  • Security

    the officer

    stands at: grants (The rules file)

  • Support

    the support lead

    stands at: effects, staleness (The rules file) · its lanes (The desk)

  • Audit

    the reviewer

    stands at: read (The record)

The boundary layer

  • The rules file

    the bounds, as plain fields

    budgetsthresholdsgrantscriteriaeffectsstaleness
  • The desk

    one page per person, granted

  • The worker door

    where agents join

  • The record

    one line per decision, who and why

The worker side

  • The agents

    wrapped workers

  • The systems

    a merge, a payment — what an effect touches

Org chart, invented dataThe boundary layer, and who stands where: the firm’s six departments at the left, the boundary layer’s four parts in the middle, the agents and the systems they touch at the right. Each line names the bound the department writes or the door it answers at. The firm is invented; the parts of the boundary layer are the project’s: the rules file, the desk, the worker door and the record.

Harlow & Vale is invented (a freight software firm of about forty people, six departments). The machinery under the chart isn’t: the bounds and the lanes are the project’s, and every run number this chapter repeats is from a demo’s recorded run.

A week, played out

Here’s the method as a working week, on the invented firm. The week lands all at once: bugs on one lane, requirements on another, architecture changes on the third. The rules route every item before any person reads one. Routing is written down, not a meeting.

The first lane needs nobody. Clean bug fixes run and land on their own; in the demo’s recorded run, ten of fifteen did. A fix that carries a finding doesn’t land alone: it goes to the lead’s desk with the finding attached.

Nobody has to watch for a refusal either. In the demo a task was refused under a lowered budget before it started, and the record says what it was short of. The item waits until the budget allows it. A refusal is a fact and a count on the report, not an inbox item.

The requirements lane is the desk’s work. Each requirement needs both engineers to accept what done means for it, shown as a diff against the original request; in the recorded run four of five were scheduled that way, and one went back to product with a reason. The architecture changes collect both engineers’ advice, then the lead’s call, and the call gets written down either way: one adopted, one rejected, both recorded.

Nothing closes at the end of the week. The books are read as they stand, and what the week counts is what landed inside the bounds and what was refused at them:

  • Landed: ten fixes on their own.
  • Landed: four requirements scheduled.
  • Landed: two architecture calls on the record.
  • Refused: one task, turned away under the lowered budget.

Then the bounds move. In another demo five agent loops ran under a spending ceiling and two burned through it. The report landed as one question on the manager’s desk, and the answer came back as a diff: a lower ceiling. The work carried on under it, the runaways were cut off sooner, and less was spent. The method doesn’t stop for that, and doesn’t number it. The diff is the decision, and the rules file is where the decision lives. That’s the iteration the name holds.

Count what the week didn’t have:

  • No sprint: the direction was already written as bounds, so nobody planned the week or committed to a scope for it, and the direction moved once, when the manager answered the report with a diff. Nothing closed when the week was over.
  • No backlog: the bounds routed every item as it landed, so at any moment each one was running, landed, refused with a reason, or waiting at the desk of someone allowed to answer it. Nobody groomed a list.
  • No chat room coordination: the workflow carried the lead’s call, product’s reason and the manager’s ceiling to the record or the rules file. None was ever a message in a channel.

The cycle below is the week in one picture (figure four): six steps, and no last one. The only edge that leaves the cycle is the one back in: the amended file. The work goes on under it.

  1. The asks land

    the week arrives at once; the rules route it, lane by lane

  2. The run holds the line

    clean fixes land; findings go up; outside a bound, refused before it starts

  3. The desk decides

    criteria, advice, the call — every answer on the record with who and why

  4. The report

    what landed inside the bounds, what was refused at them and what it cost, read back from the run’s own arithmetic

  5. The diff

    the answer to the report, made to the file at the desk

  6. The work goes on

    under the amended file, with nobody asked to remember the change

  7. The file, amended

    the diff moves the bounds; the work does not stop

Illustration, invented dataThe round of boundary layer iterative development, which does not end: the asks land, the run holds the line, the desk decides, the report is read back, the answer is a diff to the file, and the work goes on under it. The closing edge is drawn brighter because it is the one that makes the method iterative.

The roles

The roles at the doors, as the demos run them and the firm stands them (figure five): where each one appears on the boundary layer, what it may set on the file and what it may answer. The point of the table is the two answers at the bottom: the officer and the reviewer answer nothing. That’s because their doors have no asks.

Role, Department, Stands at, Sets on the file, May answer: one row each, what the role stands at, what it sets on the file, and what it may answer.
RoleDepartmentStands atSets on the fileMay answer
the leadEngineeringits gates and its own desk itemsthresholdsits gates; at a tie, the call
an engineer, two ofEngineeringtheir own desk itemsnothingacceptance criteria, architecture advice
the product ownerProductitems sent back from the criteria lanethe rules on criteriawhat comes back, with a reason for why it left
the managerFinancethe spend report, as one askbudgetskeep the ceiling or lower it, with a reason
the officerSecuritythe grants file, before a rungrantsnothing — the door takes asks, the officer writes rules
the support leadSupportits lanes’ itemseffects and the staleness keysthe held asks it is granted
the reviewerAuditthe record, after a runnothingnothing — read only, and everything is there
Table, invented dataThe roles at the boundary layer: what each stands at, what it may set on the file, what it may answer. The firm is invented; the three answers and the two no-answers follow the demos.

Two of the demos make the same point the table makes. In one, a reviewer who wasn’t allowed to answer a question was refused at the desk itself, and the item kept waiting. In the other, the manager’s answer wasn’t a memo anyone had to remember; it was a diff. Authority that lives anywhere but the rules file is a rule an agent can be unaware of. So the method never puts it anywhere else.

The rule it rests on

This is the one section in the project’s own terms. The bounds are fields on agent-neuron’s network file, and its SPEC polices each one:

  • A budget of named units with a cost per call, and a pool a producer may lower at injection and never raise (SPEC 10, decision 0006).
  • A threshold of distinct senders on one ask, in arrival order (5.2).
  • Grants pinning who may answer what, checked when an answer arrives (decision 0010).
  • Staleness: newer input for the same key makes older work stale and the stale call is cut, but a started effect never is (5.4, 11).

The report is a fact because the books are. A cost commits on every outcome, whether the work finished, was cut or burned through a ceiling (0006), so a spend report is the run’s own arithmetic and not anyone’s story. The manager answers it as one question at the desk, like any other (3.4, decision 0008). The answer is the diff.

Run it

npm run demo backlog -- --headless --pace 3  # the week, routed by the house rules in the file
npm run demo spend -- --headless --pace 3    # round one, the report, the diff, round two
npm run demo quorum -- --headless            # the call: grants, a threshold of two, a real merge
CommandFrom the demos repo’s root; its README has the setup. The method has no run of its own: these three demos are its parts, and nothing on this page runs them.

What it is not

Not a controller, and not an org chart drawn over one. The project argues against a server that assigns items, holds locks and arbitrates, and the boundary layer keeps that argument. A department writes the bound its expertise owns, and the software holds it while the work goes. No department gets a lever on another’s door.

Not a promise that nobody talks. No more sprints, no more backlog, no more chat room coordination means none of them carries anything the work needs: nobody loses a direction, an item or a decision by missing a planning meeting or a channel. That’s a claim about what the method needs, not a report from a firm that ran without them. And the backlog demo keeps its name. It’s a week’s backlog arriving, the last time anyone handles it as a list.

Not the firm. Harlow & Vale is invented: the people, the freight product, the week below. Nothing here is a live run. Where a sentence leans on a demo, it says so, and where the firm differs from what a demo recorded, the firm is the invention, not the demo.

Not a plan that finishes the platform. Who may answer what is, today, a file beside a demo run and not part of the engine, and three more gaps are still open: a hold for a person that survives a restart, presence, and quiescence. A department that needs a hold across a restart can’t have one yet. Nothing here builds it.

overfocus/agent-neuron