cd /news/artificial-intelligence/engineering-the-channel-restoring-so… · home topics artificial-intelligence article
[ARTICLE · art-70231] src=socium.build ↗ pub= topic=artificial-intelligence verified=true sentiment=↓ negative

Engineering the Channel: Restoring Software Engineering Discipline for LLMs

A 2026 survey of 200 engineering leaders found 82% reported at least one major production failure caused by AI-generated code in the preceding six months, and an analysis of 470 open-source pull requests showed AI-assisted submissions averaged 10.8 issues each versus 6.5 for human-authored. The paper argues that LLM reliability requires channel engineering—treating the human-AI interaction as a distributed system with deterministic memory, independent validation, and per-step re-grounding—rather than waiting for better models alone.

read61 min views1 publishedJul 23, 2026
Engineering the Channel: Restoring Software Engineering Discipline for LLMs
Image: source

Abstract #

A model does not make software reliable. The system engineered around it does.

Large language models have upended the economics of software production. Code, documentation, and tests that once took days can now be drafted in minutes. Reliability has not followed. The majority of organizations deploying LLMs report major production failures, experienced developers can be measurably slower on real tasks, and practitioner trust is falling even as the models improve. Capability and reliability are not the same axis, and the field has spent almost everything on the first. This paper argues they are complements, and that reliability lives in the half left under-engineered: the channel between human and AI, the full communication system that carries intent into the model and work back out. The context window is only a part of it.

The industry has converged on context engineering: curating the tokens a model sees. Channel engineering goes further. Following Shannon and Weaver, it separates the technical problem of moving symbols from the semantic problem of conveying meaning and the effectiveness problem of producing the intended outcome. Reliability is lost at the semantic and effectiveness levels, and token curation cannot reach them. The difference is ownership: you cannot engineer a channel you do not own. Owning the loop is what makes the rest possible. Treat the context window as a sliding attention viewport over a durable record, not a buffer the work is compressed to fit. Keep memory deterministic and extractive. Gate output through independent, tamper-resistant validation. Assemble context by mode. Re-ground at every step, because per-step reliability compounds across the many steps of agentic work.

None of this is new. Aerospace (DO-178C), medical devices (IEC 62304), and formal methods (Meyer, Jackson, Lamport) solved the same problem for human programmers that channel engineering solves for LLMs. The gap between ad hoc programming and engineering is the gap here. What is new is cost: LLMs make the discipline economically viable for mainstream software for the first time.

The paper introduces the Socium model, channel engineering applied to human-AI collaboration. The partnership is treated as a distributed system, the context window as a communication channel, the accumulated decisions and artifacts as a shared corpus of durable intelligence. This is a position paper and a research agenda. It assembles converging work into one argument, takes positions the field can falsify, names a gap current evidence does not yet measure, and specifies the experiments that would test its claims. It asks the field to treat LLM reliability as an engineering problem, solved alongside model improvement rather than downstream of it.

1 The Reliability Problem That Doesn't Go Away #

Engineers who adopted large language models early encountered a consistent pattern: the models produced excellent output in isolation and proved unreliable in production. Code that works for one case fails on the next. A test suite passes today and fails tomorrow on the same codebase, same prompt.

The field's default response has been to wait for better models. 1 Yet the evidence of the last two years cuts against that hope. In a 2026 survey of two hundred engineering leaders, 82% reported at least one major production failure caused by AI-generated code in the preceding six months.

The defect data points the same way. In an analysis of 470 open-source pull requests, AI-assisted submissions averaged 10.8 issues each against 6.5 for human-authored, roughly 1.7 times more overall, with security issues up to 2.74 times higher in the worst category.

2A separate security evaluation spanning more than one hundred models found 45% of generations introduce a known vulnerability.

3A randomized controlled trial published by METR in 2025 found that experienced open-source developers were, contrary to their own forecasts, 19%

4slowerwhen allowed to use the AI tools of the day. Stack Overflow's 2025 developer survey recorded adoption climbing past 80% even as trust in the accuracy of AI output fell from 40% to 29%, with the single largest frustration, cited by two-thirds of developers, being output that is 'almost right, but not quite.'

[5](#fn-5)Across this period the models improved markedly; the structural problem did not move with them.

[6](#fn-6)

7This is not evidence that capability is irrelevant. Better models do produce better output, and a sufficiently capable model would paper over many channel defects. The claim here is narrower: capability and the channel are complements, and the field has poured almost all of its visible investment into capability and left the channel under-engineered. If this is right, reliability lives disproportionately in the half the field has barely begun to build. The beginning is real: the research literature has lately given that half a name, the harness, and begun surveying it as an engineering discipline and measuring it as an economic effect. 8 A name, though, is not yet a practice.

The reliability problem in LLM-assisted development mirrors the one that created software engineering as a discipline. The NATO Software Engineering conferences of 1968 and 1969 were convened in response to what was then called the 'software crisis': programs that worked for their authors failed in the hands of others, systems that performed correctly in testing failed in deployment, codebases that were maintainable by their original authors became unmaintainable as they grew.9

The solutions that emerged were not answers to a capability problem: structured programming, formal specification, rigorous testing, version control, code review. The engineers of 1968 had skill in abundance. What they lacked was the engineering discipline that transforms individual skill into reliable systems.

LLM-assisted development sits where pre-discipline software sat: real capability, no structural practice to make it reliable. The solution is not to wait for better models. It is to build the discipline the medium requires.

2 The Channel as a Communication System #

The metaphor of the 'channel' is drawn from information theory, but it must be drawn carefully. Shannon's 1948 theory deliberately set meaning aside: it modeled the faithful transmission of symbols through a noisy medium and declared the semantic content of those symbols irrelevant to the engineering problem. 10 That is the half scale has been solving. The half that remains is the one Shannon set aside.

Warren Weaver, in his companion essay to Shannon's theory, named the full structure. 11 Weaver distinguished three levels of communication problem.

Level A, the

technicalproblem: how accurately can the symbols be transmitted?

Level B, the

semanticproblem: how precisely do the transmitted symbols convey the intended meaning?

Level C, the

effectivenessproblem: how well does the received meaning produce the intended conduct? Channel engineering is the discipline of engineering all three levels of the human-AI channel. The mainstream effort to curate what enters the context window works mostly at the technical level, though the boundary is not clean; selecting what to say is already partly a semantic act. The sharper distinction is architectural. Context engineering optimizes the model-visible state; channel engineering governs the whole stateful protocol around generation: ingestion, authority, durable state, validation, recovery, and accountable effects. If reliability is lost at B and C, as we argue below, curating the visible state alone cannot recover it.

The Context Window Is the Medium, Not the Channel

Context-engineering discussion tends to collapse the channel into the context window. This is a category error. The context window is the medium: the wire down which symbols travel, with finite bandwidth and characteristic noise. It is necessary, but it is not the whole channel. The channel also comprises the encoding (how human intent is rendered into a specification the model can act on), the shared code (the accumulated conventions and decisions that let a symbol carry the same meaning to both parties), the feedback path (the validation that detects corruption and demands retransmission), and the decoding (how the model's output is checked back against intent). Engineering only the medium, packing the window well, addresses mostly Weaver's technical level and stops there.

A parallel line of work models the language model itself as a noisy channel and asks after its information-theoretic capacity. 12 That work concerns the medium and the model; the channel this paper engineers is the managed interaction

aroundthem (encoding, shared code, feedback, and retention), where Weaver's semantic and effectiveness problems live. Recent formal work restates this mathematically. It models audience and context as a channel with a finite

capacity for meaning, and finds that even perfectly engineered prompts cannot exceed that capacity: vocabulary mismatch imposes an irreducible fidelity limit. This is an independent derivation of the claim that reliability is lost at Levels B and C.

13### The Medium Is Lossy in a Specific, Now-Quantified Way LLM context windows have grown dramatically, from 2,048 tokens in the original GPT-3 to one million tokens as standard across today's frontier models, and as many as ten million in some. 14 This growth has led to the assumption that the channel problem is being solved by scale. It is not. The medium is lossy in a specific, measured way. Liu and colleagues showed that a model's ability to use a piece of information depends on

wherein the context it sits: accuracy is high at the beginning and the end of the window and sags in the middle: a U-shaped curve, with drops exceeding thirty points as a relevant fact moves to the interior.

Subsequent work documented 'context rot': measurable degradation as input length grows, across every frontier model tested, even on trivial retrieval tasks.

15Recent theory shows the U-shape is a structural property of the causal-decoder architecture, present at initialization rather than an artifact that further training will remove.

[16](#fn-16)Inference-time calibration can recover part of this loss for some tasks, but not reliably or in full.

[17](#fn-17)The lesson inverts the bigger-window optimism: the medium does not become reliable by growing. It must be engineered.

18This is a property of the medium, in the way packet loss is a property of a network, and it survives every improvement in the endpoints. Engineering the channel means accounting for it explicitly: placing the constraints that matter where attention is highest, and never assuming that information merely present in the window is information the model is actually using. The remedy this physics demands (a different model of what the window is) is stated in Section 4.

You Cannot Engineer a Channel You Do Not Own

There is a structural precondition that context-engineering guides routinely skip. To engineer a channel is to control its encoding, its assembly, its feedback, and its retention. Those controls belong to whoever owns the loop in which the model runs: the process that decides what enters the window, in what order, under what budget, and what becomes of the output. A tool that injects context into a window owned by some other agent can influence the channel; it cannot engineer it. This is why channel engineering is finally an architectural claim: the discipline begins the moment one takes ownership of the loop.

What Engineering the Channel Means

Channel engineering is the practice of deliberately constructing the information environment in which an LLM operates. Section 4 states the operational principles as one compounding process; the sections that follow develop the mechanisms they rely on.

3 Externalizing Executive Control #

If the lossy medium is one structural source of unreliability, the process that consumes it is the other. The context window loses information; the model traversing it is short-sighted. The vocabulary for this second failure comes from clinical neuropsychology. In 1997, the clinical psychologist Russell Barkley reframed ADHD. The disorder, he argued, is not fundamentally a deficit of attention; it is a deficit of behavioral inhibition, and that single deficit cascades into the executive functions that govern goal-directed behavior across time: holding a goal in working memory while acting, resisting the most immediately available response in favor of the correct one, and monitoring whether what was done actually achieved the goal. 19 People with ADHD can attend to what is immediately engaging; what is hard is sustaining a goal when the path of least resistance diverges from the path to the goal. The intervention follows from the diagnosis: you do not remediate an executive-function deficit by exhorting greater effort; you engineer the environment to supply the functions the person cannot reliably supply internally.

Across long-horizon tasks, LLM behavior fits the pattern. The parallel is functional: the behaviors match, even if the mechanisms differ. Working memory: models drift from their original requirements over a long task, repeating work or solving a subtly different problem than the one specified; the goal state degrades just as the medium loses its early tokens. Inhibition: asked whether a test passes, the locally cheapest continuation is text that asserts it passes, since actually running it is the costlier path; the documented tendency of models to satisfy the letter of a check (altering a checklist to hide an incomplete task, editing test code so it reports success) is consistent with inhibition failure, arose under specific training conditions, and is empirically attested.20Self-monitoring: models reliably over-report their own completion quality, because text asserting success resembles high-quality training data more closely than text that s to verify: the same preference structure that produces sycophancy. 21 None of these is an attention problem, and none has been removed by scale so far: capability gains across recent model generations have produced only small reliability improvements on agentic work (Section 1). Internal control of this kind may yet improve; interpretability work has found workspace-like structure emerging in trained models, with reportable, reusable intermediate states that causally mediate multi-step reasoning.

The design stance does not depend on where that ceiling lies: external structure augments whatever executive capacity the model has, and stabilizes it where it is weakest.

22The communication analysis reached the same conclusion from the other direction. A lossy channel and a short-sighted process both demand an external structure that holds the goal, enforces the sequence, and makes the shortcut harder than the work. That structure is the design brief for everything that follows: a durable corpus and re-grounding stand in for the working memory the model cannot maintain; ordered, gated execution supplies the temporal regulation it lacks; and independent validation supplies the inhibition it cannot supply itself. Channel engineering is executive function externalized.

4 Beyond Context Engineering #

Between 2024 and 2026 the field moved. The proposition that LLM unreliability is a context problem rather than a pure capability problem (Layer 2 of this paper's thesis) is no longer contrarian; it is the emerging consensus. Anthropic describes context engineering as "the natural progression of prompt engineering," 23 a 2025 survey systematizing the area drew on more than fourteen hundred papers,

and practitioners now state the diagnosis flatly: most agent failures are not model failures but context failures.

24We welcome the convergence. But context engineering, as practiced, is largely the discipline of curating the tokens that enter a window: work at and near Weaver's technical level, and often from inside a loop one does not own. Reliability at the tail demands more than good packing.

25### The Window Is a Viewport, Not a Buffer Underneath the two practices sit two different models of what the context window is. The prevailing model treats the window as a buffer: a container the work must fit inside, to be packed well, grown when possible, and compacted when full. This paper's model is drawn from the discipline its name honors. The window is a viewport: a bounded attention aperture, re-positioned at every step over a durable record that lives outside the medium entirely. The record accumulates; the window does not. The record is never compressed to fit the medium, because the medium's job was never to hold the work. Its job is to carry a chosen projection of the work, reassembled fresh at each step.

Transport engineering settled the underlying question fifty years ago. How does the internet move a terabyte across a medium that carries roughly 1,500 bytes at a time, loses some frames, reorders others, and degrades under load? By never once attempting to fit the file through the wire. The stream lives durably at the endpoints. A small window of in-flight data slides over it; sequence numbers and retransmission guarantee that the receiver reconstructs the exact stream; flow control sizes the window to what the path can actually carry rather than what it advertises. The medium carries a moving window over the message. It never carries the message.

When you hold the field's ruling instinct against that example, it looks strange. The reflexive treatment of a full context window is to compress the history: to summarize the message itself so that it fits the medium. That is the one move transport engineering never makes; no engineer has proposed lossily summarizing a file because the maximum transmission unit is small. Transport's answer to a bounded window was not a smaller message; it was durability at the endpoints, sequencing, and a window that slides. Consider the ratios: a terabyte over 1,500-byte frames is a mismatch of a billion to one, solved and boring; a long project over a modern context window is a mismatch of a few hundred to one, treated as a crisis. The crisis was never the ratio. It is the missing layer.

The transfer runs mechanism by mechanism. The durable record is the stream at the endpoint: the corpus, with its specifications, decisions, and audit trail. Context assembly is windowing: each step re-projects a bounded, freshly positioned working set from the record. Validation gates are detection and retransmission: verify at the boundary, and demand the work again rather than repair it in flight. Budgets are flow control: size the window to the medium's measured capacity, never its advertised one, and hold headroom below the degradation knee. And the position is carried by the medium's measured physics (Section 2), not by the analogy. Context rot is degradation in input length: a sliding window bounds length by construction, so the degradation the medium imposes stays fixed at the chosen size instead of compounding as the work grows. The position-bias curve is degradation by location: a window re-projected at every step chooses, at every step, what sits where attention is highest. Under a sliding window, the medium's two measured pathologies stop being weather and become parameters.

The scale at which this matters is the scale at which real work is delivered. A feature is not a generation. It is hundreds of dependent steps across sessions that may span days. The record of the work outgrows any window early, often within the first session, and keeps growing until the outcome ships. Under the buffer model, that growth is a problem to be beaten back with larger windows and lossier summaries. Under the viewport it is the normal case the architecture assumes: the unit of delivery is larger than the unit of attention, and the window's job is to keep each step well-aimed while the record carries the whole.

The position is argued, not tested, and falsifiable: on long-horizon work, a bounded window re-projected from a complete record should outperform both a monotonically growing window and generative compaction of history, at equal model capability and with retrieval quality held constant across arms. The claim presumes an adequate selection function, not a perfect one.

Two boundaries must be drawn honestly. The first is the one place transport does not transfer: the position of the window. TCP slides forward over contiguous bytes, where the next span is simply the next span. The next projection of a working record is nothing of the kind. The working set for a step is non-contiguous by nature: this decision, that distant constraint, a scattered handful of code. Choosing it is a content-addressed judgment whose wrong answer is a wrong output. Selection is not sliding. Section 7 names that problem (retrieval by causal relevance rather than surface similarity) and leaves it honestly unsolved. It is the weight the rest of the discipline carries. Nor does the discipline carry it by retrieval alone. Decomposition carries most of it. A specification broken into tasks with checkable acceptance criteria pre-computes the bulk of each step's working set, because a well-formed task names what it needs: its criteria, its constraints, the standards it invokes. What remains for retrieval is the long tail: the relevant prior decision, the conflict from two months back. Selection stays unsolved in general. The disciplined move is to arrange the work so the general problem is rarely faced in full. The second boundary is Weaver's. The transport catalog secures Level A: it makes the medium dependable; it cannot make the meaning right. Everything after this section exists because Levels B and C remain: gates, specifications, and the corpus fight for meaning above a medium the sliding window has made trustworthy.

Context engineering packs a buffer. Channel engineering slides a viewport over a record it never rewrites to fit, and owns the loop that slides it.

Seven commitments follow, and they compound. Owning the loop is the precondition; the rest are the disciplines it unlocks. One of them, updating the corpus on every validated decision, is what makes the process feed itself.

1. Own the loop, do not plug into one

The controls that constitute channel engineering (assembly order, budget enforcement, constraint placement, deterministic retention) exist only for the owner of the loop. The broader evidence points the same way: DORA's 2025 study concludes that AI acts as an amplifier, with the gains accruing not to teams that adopt a tool but to those with strong control systems and fast feedback loops. 26 The conclusion is not ours alone: the practitioner '12-factor agents' framework arrives at it independently, making

own your context windowand

own your control flowtwo of its load-bearing factors.

From the research side, Weng's survey of 27harness engineeringnames the same layer and treats it as no less decisive than the model itself; Section 11 takes up the relationship.

The viewport makes the requirement concrete: a tool that injects context into another agent's window can pack it; only the owner of the loop can slide it. Architecture is what separates acceleration from instability.

28If you cannot change assembly order, budget, or retention without another vendor's permission, you do not own the loop; you are a guest in it.

2. Keep durable memory deterministic

The reflexive answer to a full window (and the prevailing vendor recommendation, Anthropic's included) is to have the model compact the history into a generated summary. 29 We take the opposite position. A generative step in the memory path can hallucinate, and its errors compound into every later package. Retention should be

extractive: it may omit, but it must not invent. It should be deterministic, and therefore replayable and auditable. This is the record half of the viewport doctrine: the stream at the endpoint must stay truthful precisely because the window never holds the whole. The asymmetry the context-engineering survey identifies (models comprehend rich context far better than they generate it) argues against placing generation in the load-bearing memory path; an ETH Zurich evaluation in which machine-generated repository context files

reducedtask success points the same way.

The position is argued, not yet tested.

30If condensation can produce a sentence no source ever wrote, every future retrieval can inherit the invention.

3. Specify before you generate

Every significant generation is preceded by a specification: a structured statement of what the output must do, what constraints it must satisfy, and how it will be validated. The specification narrows the output distribution before generation begins, and it narrows the selection problem too, because a task with checkable criteria names most of its own working set.

If you cannot state how the output will be checked before you generate it, you have a prompt, not a specification.

4. Assemble by mode

The channel is not one channel. When a human is in the loop, the conversational tail is the authoritative statement of intent and recency-forward assembly is correct. When the human is absent and the model is executing autonomously, the opposite holds: intent must be structurally re-presented, pinned and placed where attention is highest, so that the goal cannot age out beneath a pile of intermediate results. Uniform context management ignores this; the position effects documented above make it decisive. Mode selects the positioning policy for the viewport.

At step 20 of an unattended run, check whether the goal still sits where attention is highest. If intermediate results have displaced it, your assembly was designed for a conversation that is not happening.

5. Gate independently before commit

The requirements a work item must satisfy belong in the open; they are the specification. What must stay independent is the verification itself: the gate's implementation, its held-out checks, and the depth to which it validates submitted evidence. A generator graded against a rubric it can read verbatim will optimize the rubric's letter rather than do the work: Goodhart's law restated for AI. 31 A generator that knows the requirements but must submit evidence to an independent verifier has one reliable strategy: doing the work. The most-cited developer frustration of 2025 (output that is "almost right, but not quite") is this failure at population scale.

The gate is the viewport doctrine's feedback path; Section 8 takes up its mechanics.

32If an agent that could read the gate's test harness could still pass without doing the work, it is a rubric, not a gate.

6. Update the corpus on every validated decision

Every decision that passes a gate is written back into the corpus. This is the step that makes the process compound: the record grows through the work, and each validated decision sharpens every retrieval that follows. A decision that is not captured is lost, and its absence degrades every later generation.

Ask where last week's validated decision lives. If the only answer is "the chat history," it is already lost to every future retrieval.

7. Re-ground at every step

Because per-step errors compound (Section 7), reliability must be re-secured at each step, through retrieval that re-anchors the model in project truth and gates that re-check its output. Re-grounding is the re-projection itself; the compounding arithmetic sets its cadence.

Count the steps between two retrievals of project truth. Every step in that gap is one where the model trusts window residue and error compounds unchecked.

5 Historical Precedents: Discipline as the Answer #

The history of high-reliability software is a history of engineering discipline closing the gap between capability and reliability. The aerospace industry's DO-178C standard 33 did not make programmers more capable; it made their capability more reliably usable. The medical device industry's IEC 62304

works the same way: it imposes the structural practices that make skill reliable in safety-critical contexts.

34Bertrand Meyer's Design by Contract, formalized in the Eiffel language and documented in Object-Oriented Software Construction, 35 was an answer to the same problem at the level of individual modules: how do you make the behavior of a component reliable and verifiable independently of the competence of its caller? The answer was to make the contract explicit: to engineer the interface between components so that violations were detectable at the boundary.

Daniel Jackson's Alloy and the broader formal methods tradition 36 approached the problem from the other direction: rather than making components more robust to incorrect usage, make the specification precise enough that incorrect usage becomes visible before implementation. The discipline of writing a formal specification forces the engineer to confront the ambiguities and contradictions that will otherwise surface as bugs.

Leslie Lamport's work on distributed systems, 37 from logical clocks to the TLA+ specification language, is perhaps the most directly relevant precedent. Lamport's insight was that distributed systems fail in specific, structural ways that cannot be addressed by improving individual components. The failure modes are properties of the system's communication structure, not properties of its components. The solution is to engineer the communication structure explicitly.

The tradition that engineered communication structure most successfully is the one this discipline's name honors. Transport engineering spent five decades making unreliable media carry reliable streams; Section 4 has already mapped its mechanisms (the sliding window, retransmission, flow control) onto this discipline's practices. What the precedent adds is proof at scale: TCP's exact reconstruction of arbitrarily long streams over a medium that loses, reorders, and degrades remains the largest working demonstration that reliability can be manufactured in the channel rather than demanded of the medium.

The same tradition also settled where reliability functions belong. The end-to-end argument holds that reliability must live at the endpoints, because no improvement in the medium ever removes the endpoints' need to verify. Better links are welcome, and the original paper says so; what they cannot do is substitute for verification at the ends. 38 Substitute 'model' for 'link' and the argument reads as this paper's thesis stated forty years early: a more capable model is a more reliable medium, and the endpoints (the specification that encodes intent, the gate that verifies output) must do their work regardless. Waiting on better models alone is link-layer thinking.

Engineering traditions are not the only domains to have confronted the problem of staying accountable for outcomes one authorized but did not personally execute. Military command doctrine arrived at a direct answer, under conditions more demanding than software development. The doctrine is called mission command (Auftragstaktik in its Prussian form), and its structure is centuries old: the commander issues intent and holds judgment; subordinates exercise bounded initiative within that intent; the scaffolding supplies the observability that makes command responsibility honest rather than a fiction.39

The parallel to channel engineering is structural. Commander accountability is legitimate only to the degree the commander can comprehend and refuse what they authorize; a checkpoint trivial enough to rubber-stamp produces accountability in name only. The same constraint is load-bearing in human-AI systems: amplifying past the steward's capacity to judge does not maximize reliable output per unit of human judgment; it produces accountability theater. This is the governing disposition behind every gate, every provenance record, and every audit trail in channel engineering: they exist to keep the human's accountability exercisable. One corollary is strict: when the human cannot be reached, degraded oversight narrows the machine's autonomy rather than widening it. Bounded initiative within approved intent continues; what denies by default is new consequential authority, because no doctrine of delegation survives silence counting as consent. Absence is not permission.

The agile movement of the 1990s and 2000s was, in part, a reaction against the overhead costs of formal discipline in mainstream development. This reaction was not without merit: the heavyweight processes of the era (waterfall, RUP, CMM) had accumulated overhead far beyond what the value of the discipline warranted. But the reaction overcorrected in a specific place: mainstream practice optimized for iteration speed and local feedback, and systematically underinvested in durable decision records, explicit cross-system contracts, and evidence tied to intent. The 'move fast' era of the 2010s is the result: enormous velocity in individual components, chronic unreliability in systems. Empirical studies of agile teams document this de-emphasis directly: internal documentation and explicit specifications are systematically under-produced, and practitioners themselves recognize the resulting gap as a source of technical debt and lost design rationale.40

6 The Abandonment of Discipline, and Why It Matters #

Where formal discipline did recede from mainstream practice, it did not recede because it failed. It receded because it was expensive. Writing formal specifications, maintaining audit trails, enforcing validation gates: these practices carry real overhead costs. For safety-critical systems, where the cost of failure is measured in lives, the overhead is clearly worth paying. For a startup building a consumer application, where the cost of failure is measured in churn and support tickets, the calculus was different.

The economic argument against discipline was never wrong for the contexts in which it was made. It was wrong in its implicit assumption that the overhead costs were fixed. They were not. The costs of discipline are primarily costs of communication and documentation: writing down what you intend, tracking what you decided, verifying that what you built matches what you intended. These are the costs that LLMs have collapsed.

A formal specification that a senior engineer might once have spent two days writing can plausibly be drafted in an afternoon; an audit trail that once required dedicated tooling and manual effort can now be maintained automatically. The controlled evidence on AI and developer productivity is genuinely mixed: a randomized trial at Google found AI assistance shortened time on a complex enterprise task by roughly 21%, and a combined field experiment across three firms and 4,867 developers reported a 26% increase in completed tasks, even as the METR trial discussed earlier found a 19% slowdown for experienced developers on mature repositories. 41 The exact multiplier matters less than the direction: the labor cost of producing and maintaining the artifacts of discipline (specifications, decision records, audit trails) has fallen far enough, for enough tasks, that the historical economic argument against discipline no longer holds automatically. The paper treats this as an economic hypothesis the productivity evidence makes plausible, not one it proves. The discipline is not cheaper because the intellectual requirements have changed; it is cheaper because the administrative labor has. And the saving is real only when it is counted net of validation: a draft produced in an afternoon still has to be checked, and it is the checking that the gates of channel engineering make affordable to trust.

The cost of engineering discipline fell. The need for it rose.

7 The Probability Space: How Context Narrows Uncertainty #

A useful way to think about what an LLM does is in terms of probability distributions over output space. Given no context, the model's output distribution is broad: high-entropy relative to any well-specified task, with probability spread across vast regions of text that have nothing to do with the work at hand. As context is added (a system prompt, a specification, examples, prior conversation), the distribution narrows. The model's outputs become more specific, more consistent, more likely to match what the engineer intends.

This framing makes the engineering problem precise. The goal of channel engineering is to narrow the output distribution to the region of output space that contains the specific output the work requires. The channel is the mechanism by which context is delivered to the model. The quality of the channel determines how effectively context narrows the distribution.

Why Tail Reliability Compounds

A single generation that is 95% reliable sounds excellent. But agentic software work is not a single generation; it is a chain of many dependent steps (read, design, implement, test, debug, ship), each conditioned on the last. Reliability across a chain is approximately the product of the per-step reliabilities. At an illustrative 95% per step, a ten-step task finishes correctly about 60% of the time; a hundred-step task, well under 1%: 0.95^100 ≈ 0.006. 42 This treats the steps as independent: the

charitableassumption. In practice a mistake left in the window conditions every step that follows, and the measured self-conditioning effect is that per-step accuracy degrades as the chain lengthens rather than holding flat. The independent-step curve therefore understates the trouble, not overstates it; the true uncorrected decay is steeper still. Which is exactly why the remedy cannot be a better average step; it must interrupt the propagation: re-ground in project truth so the model stops conditioning on its own residue, and gate each step so an error is caught before it poisons the next. This arithmetic explains why mean accuracy on isolated benchmarks so badly overpredicts reliability in production, and why the METR finding, capable models making experienced developers

sloweron real, multi-step tasks, should have surprised no one.

It also dictates the remedy. A chain cannot be made reliable by raising the average quality of a step alone; it must be re-grounded at each step so that errors are caught before they propagate. Retrieval re-anchors the model in project truth at the moment of generation; validation gates catch corruption before it is committed. Re-grounding, in the terms of Section 4, is the re-projection of the viewport itself. That is what arrests the compounding.

The Retrieval Problem

The central challenge of channel engineering is retrieval: identifying, from the accumulated corpus of the project, the specific context that is most relevant to the current generation request. This differs from search in the traditional sense: the most relevant context is not always the most similar context. What is wanted is the context that most effectively constrains the output distribution toward the desired output.

This distinction matters in practice. A naive retrieval system that surfaces the most semantically similar prior decisions will often surface the wrong context: decisions made in similar but importantly different circumstances. We state this as a requirement rather than a solved problem, because it is genuinely hard. An adequate retrieval layer must rank by causal relevance (which prior decisions constrain the current one) rather than by surface similarity, and must carry the provenance needed to resolve conflicts when sources disagree. Naming those properties precisely fixes the engineering target; hitting it remains hard.

8 The Validation Gate: Catching Channel Failures #

A channel failure is an error caused by the managed interaction itself: loss, distortion, or omission in what was delivered; ambiguity in how intent was encoded; stale or conflicting state; an authority mismatch; a missing feedback path. Channel failures manifest as bugs, hallucinations, inconsistencies, and specification violations, but not every such defect is a channel failure. A model can reason wrongly over complete and well-formed context; a tool can fail; a verifier can be defective; the intent itself can be invalid. The channel and the model are complements here as everywhere; the discipline's claim is that the channel's share of the failures is the share nobody is engineering. In a disciplined development process, failures of either kind are caught at validation gates: explicit checkpoints where the output is verified against the specification before it propagates into the codebase.

The concept of a validation gate is borrowed directly from hardware engineering. In chip design, simulation gates and formal verification checkpoints are placed at every stage of the design pipeline to catch errors before they are committed to silicon, where the cost of a fix is orders of magnitude higher. The same principle holds in software, and here the evidence is direct rather than analogical: the relative cost of repairing a defect rises steeply the later it is caught. Boehm's classic data placed a defect found in operation at hundreds of times the cost of one corrected at the requirements stage, and the 2002 NIST/RTI study estimated that finding defects closer to where they are introduced could recover on the order of $22 billion a year in the United States alone. 43 The exact multiplier is contested: more recent analysis finds the cost-to-fix curve is not always exponential, or even monotonic, across projects.

But the direction is robust, and it is the empirical foundation of the shift-left doctrine: catching a channel failure before a generated artifact reaches the codebase is far cheaper than catching it in production.

44### What Validation Gates Look Like in Practice A validation gate is any checkpoint that compares a generated artifact against a specification. In the simplest case, it is a human review: the engineer reads the generated code and checks it against the requirements. In more sophisticated implementations, it is automated: a test suite that verifies the generated code against a formal specification, a static analyzer that checks the code against a set of invariants, a contract checker that verifies the code against a Design by Contract specification.

The key property of a validation gate is that it is explicit: it makes the comparison between intent and output a formal step in the process, rather than an implicit assumption. This explicitness is what makes channel failures catchable and correctable.

Gates Must Be Independent and Tamper-Resistant

A gate for an LLM differs in a subtle but decisive way from a checklist for a human. The requirements stay in the open, because they are the specification the work was approved against. What does not stay open is the verification. A capable model graded against a test harness it can read verbatim will optimize to satisfy the harness as stated, producing output that passes the check without doing the underlying work: a measure that becomes a target ceases to be a good measure. The defense is independence and tamper-resistance. The gate validates submitted evidence after the fact, down to its content, with its implementation and its held-out checks outside the generator's reach; and where the check is a deterministic oracle (the test passes or it does not, the artifact exists or it does not), the verdict cannot be argued with, only earned. No evaluator is categorically beyond gaming. The design goal is a gate the generator cannot negotiate with and cannot rehearse against. The shape is transport's: detect at the boundary, request retransmission, and never trust the medium to correct itself. A gate that teaches the model how to pass it is not a gate.

A validation gate is the one moment intent and output are held in the same frame and compared. Everything upstream is preparation for it.

9 The Four-Layer Thesis #

The argument of this paper can be organized into four layers, each resting on the one below. Understanding the layered structure helps clarify why the field's current approach, waiting for better models, is responding to the wrong layer of the problem.

Layer 1: The Capability Frame. The field's default interpretation of LLM unreliability is that it is a capability problem: the models are not yet good enough. The solution, in this frame, is to wait for better models, larger context windows, more capable reasoning. This frame is not wrong (better models do produce better outputs), but it is incomplete. It treats reliability as a function of model capability alone, ignoring the engineering environment in which the model operates.

Layer 2: The Communication Frame. The thesis of this paper is that LLM unreliability is primarily a communication problem: the channel between human intent and model output is under-engineered. The model has the capability; what it is missing is delivery, because the information it needs to succeed is not reaching it in usable form. This reframing moves the problem from model improvement to channel engineering.

Layer 3: The Restored Discipline. Channel engineering is an old discipline under a new name: the application of established software engineering practices (formal specification, validation gates, audit trails, evidence-based progress) to the specific challenges of LLM-assisted development. These practices were developed to solve the same problem for human programmers that channel engineering solves for LLMs. They were abandoned because they were too expensive. LLMs make them affordable again.

Layer 4: The Deeper Disposition. Underlying the communication frame and the restored discipline is a deeper disposition: the recognition that distributed systems (and human-AI collaboration is a distributed system) fail in structural ways that cannot be addressed by improving individual components. The fallacies of distributed computing 45 apply to human-AI systems as much as to networked software: the network is not reliable, latency is not zero, bandwidth is not infinite, the channel is not secure.

The specific structural failure this produces in human-AI systems has a name: an accountability sink, 46 the failure mode where responsibility drains into a process until no human is answerable for its outcomes. A system that executes autonomously without making its progress legible, auditable, or refusable at each consequential step does not merely fail to be reliable; it fails to be

governed. The deepest obligation of the discipline follows: refuse to build accountability sinks. Make the system reliable, and keep the human's accountability over it exercisable. A gate trivial enough to rubber-stamp provides the form of oversight without the substance; it is an accountability sink pointed the other way.

10 The Socium Model: A Framework for the Partnership #

The Socium model takes its name from the Latin word for partner or associate. If channel engineering is the discipline, the Socium model is one concrete way to practice it: a framework for treating human-AI collaboration as a genuine partnership between two different kinds of intelligence, joined by a shared substrate of accumulated work.

The model has three components. The first is the two participants: the human, who brings judgment, direction, and domain expertise; and the AI, who brings production capacity, pattern recognition, and broad knowledge. The second is the channel: the context window as medium, the retrieval layer, the prompt construction, and the validation gates, which together form the engineered information environment that makes the partnership productive. The third is the corpus: the accumulated artifacts of the work (specifications, code, tests, decisions, audit trails) that constitute the partnership's durable memory.

The Corpus as Distributed Memory

The corpus is the most important and most underappreciated component of the Socium model. LLMs are stateless: each generation begins from scratch, with no memory of prior interactions except what is delivered through the context window. In a naive implementation, this means that the accumulated knowledge of a long collaboration is lost at the end of each session. In a disciplined implementation, the corpus is maintained as a structured artifact that can be retrieved and delivered through the channel on demand.

The corpus is more than a log: a structured representation of the decisions, specifications, and constraints that govern the work. It is organized so that the most relevant prior decisions can be surfaced at the moment of generation, narrowing the output distribution toward the desired region. A well-maintained corpus is the difference between a model that generates code consistent with the project's architecture and a model that generates code that is locally correct but globally incompatible.

This is distributed cognition in the sense Edwin Hutchins gave the term: the unit that performs the work is not a single mind but a system of people, instruments, and representations, and the knowledge lives in the arrangement rather than in any participant. 47 Hutchins studied ship navigation, where a bearing sighted through an alidade is spoken over a phone circuit, written into a log, and plotted on a chart. No one on the bridge computes the position. Each transfer is a step in the computation, and each is a place information can be lost. That is the channel of Section 2, reached from anthropology rather than from information theory.

One property does not carry over. The components Hutchins studied do not misreport: a chart does not claim a position it cannot support, and an alidade has no reason to assert success. Here one participant produces output that is confident, plausible, and unverifiable on its face. That is the whole reason this channel needs a validation gate and a cockpit does not.

The socium is the interwoven substrate: accumulated decisions that belong to neither participant alone, and that persist when either participant is swapped out.

What makes the corpus trustworthy is not only what it holds but when it is written. The discipline is write-ahead: the record of an action precedes the action's visible effect, and no step proceeds until the record of the last one is durable. An audit trail written after the fact is a diary; one written ahead of the act is provenance. Databases settled this principle decades ago, for the same reason, under the name write-ahead logging: a system that must stay honest across failure records intent before effect. Two consequences follow. There is no unaudited interval, because nothing you see, and nothing the model does next, outruns the record. And every accepted unit of work carries one durable identity and reaches one recorded terminal state, committed, failed, cancelled, or honestly unresolved, even across a crash; a retry can never silently create a second committed outcome. Work can fail, and its effect on the world can even be unknown, but it cannot vanish.

Durable, though, is not the same as true. The record accumulates wrong decisions, superseded requirements, and conflicting sources, and in an adversarial setting it can accumulate injected content; durability preserves all of it faithfully. A trustworthy corpus therefore carries obligations beyond retention: provenance on every entry, explicit supersession when a decision is revised, and conflict surfaced rather than silently resolved. Write-ahead discipline guarantees the record is complete and honest about what happened. Keeping it current and trusted is curation, and it never stops.

The Socium model implies a specific kind of development process. Work proceeds through a cycle of specification, generation, validation, and corpus update. The specification phase produces a structured artifact that constrains the generation. The generation phase produces output within those constraints. The validation phase compares the output against the specification and catches channel failures. The corpus update phase incorporates the validated output, and the decisions that produced it, into the accumulated corpus.

The Cycle in Practice

The author is implementing these four phases in a Rust daemon, informed by a prior Python/MCP prototype that exposed the failure modes (silent plan-item drops, permissive gate fallbacks, model self-attestation of approval) that the design corrects. The corrected mechanics are specified but not yet all operational; the prototype's defects are what they correct. Tracing a single task through the design makes the cycle concrete.

A feature does not begin with a prompt. It begins with a specification, a structured set of artifacts: business requirements, technical design, and a task breakdown in which every task carries explicit, checkable acceptance criteria. The specification is authored in its own gated workflow, and is not advanced to implementation until a human approves it. This is the moment the output distribution is narrowed, before a line of code is generated.48

Approval, though, has a blind spot that deserves naming. You review the specification as a readable artifact; the machine executes its parse of that artifact; and content review cannot see parse divergence. A work item silently dropped in translation is approved but never executed, and nobody is positioned to notice, because the reviewer checked the prose and the prose was right. The discipline's answer is ingestion fidelity: the machine runs exactly the plan you approved or refuses loudly, and it reports its parse back (so many phases, so many tasks, by name) so you can recognize your plan in what it ingested. The mechanism is the acknowledgment leg the channel frame already implies: transport has the ACK, voice procedure has the read-back, the receiver proving what it heard before anyone acts on it. It is the same validation discipline the gates of Section 8 apply to output, turned to face intent: the gate compares what came out against what was intended; the read-back confirms that what went in is what was approved.

Implementation then proceeds one task at a time; the task is the unit of projection as well as the unit of work. Before generating, the agent retrieves the project's own standards for the work at hand, re-grounding in project truth rather than trusting the residue left in the window. It writes the code and its tests, then submits the result to a validation gate. The gate is independent by construction: the requirements live in the approved specification, while the verifier itself (which proof artifacts, validated to what depth, against which held-out cases) stays outside the generating agent's reach, so the model cannot rehearse against it. It can only submit proof artifacts (test output, file listings, command results), which the gate validates after the fact, down to their content. When implemented as specified, a failed gate halts advancement; an autonomous run cannot self-certify its way past it.

Only validated, human-promoted work updates the corpus: passing a gate makes work eligible, a human's judgment makes it authoritative. The acceptance criteria are marked complete, a human promotes the result, an evidence record is appended, and the decision joins the durable corpus of specifications, standards, and audit trails. When a later session (a fresh, stateless model with no memory of this work) meets a related problem, it retrieves that decision through the same channel. Each validated task leaves the next one better grounded than the last: the loop is built to compound reliability rather than erode it.

12 Conclusion: The Engineering We Already Know How to Do #

The field of software engineering was born in crisis: systems that worked for their authors failed in the hands of others, and programs that passed testing failed in production. The solutions that emerged (structured programming, formal methods, rigorous testing, version control) were systematic applications of engineering discipline to a medium that had been treated as craft.

LLM-assisted development is in the same position. The models are capable. The discipline is not there. The reliability problem will not be solved by waiting for better models; it will be solved by building the engineering practice that the medium requires. That practice exists. It was developed over fifty years of high-reliability software engineering. It was not wrong; it was expensive. LLMs have made it affordable.

The Socium model is a proposal for how to apply that practice to the specific challenges of human-AI collaboration: treat the partnership as a distributed system, treat the context window as a communication channel, treat the accumulated work as a shared corpus of durable intelligence. Engineer the channel. The rest follows.

This is old engineering, applied at last to the medium that has needed it most.

This paper is an argument, not a product. The author is putting these principles into practice at Socium; if you are working on the same problem, the conversation is open.

Drafting and Verification #

This paper was drafted with substantial assistance from several AI systems, under the author's direction and across many revision cycles. The models spanned the United States and China, open weight and closed: Claude Opus 4.8 and Fable 5, ChatGPT Sol 5.6, Qwen 3.6 27B and Qwen 3.7 Max, Kimi K3 Max, and GLM 5.2. Generation was delegated. Judgment was not. The author reviewed every claim, scoped each to what the cited work supports, verified the arithmetic that appears in the text, and takes sole responsibility for the argument. The drafting process is in version control, attributable to the character, which is the record the paper argues for. It was produced under the discipline it describes.

Notes #

  • Rarely advanced as an explicit thesis, this is the implicit premise of capability-first investment and scaling-optimist roadmaps; the evidence assembled below weighs against it.
[↩](#fnref-1) - New Relic / Hanover Research,
(survey of 200 U.S. engineering leaders).*The 2026 State of AI Coding Report*[↩](#fnref-2) - CodeRabbit,

, 2025: 470 GitHub PRs, compared via Poisson rate ratios. The 1.7x is issues overall (critical and major categories range 1.4–1.7x); the 2.74x is the maximum across security categories. New Relic's report cites this same analysis for its defect multiplier; the two are one source, not two.State of AI vs Human Code Generation - Veracode,

(100+ models across four languages; 45% of generations introduce an OWASP Top 10 flaw).*2025 GenAI Code Security Report*[↩](#fnref-4) - METR,
, 2025.*Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity*[↩](#fnref-5) - Stack Overflow,
.*2025 Developer Survey*[↩](#fnref-6) - S. Rabanser, S. Kapoor, A. Narayanan, et al.,

, arXiv:2602.16666, 2026: evaluating 15 models across two complementary agent benchmarks, the authors find that recent capability gains have produced only small improvements in reliability, a limitation that appears across providers.Towards a Science of AI Agent Reliability - L. Weng, 'Harness Engineering for Self-Improvement', Lil'Log, July 2026, surveys the design space, angled at self-improving systems; a thirty-three-author industry study,'The Harness Effect', arXiv:2607.06906, 2026, reports that on its enterprise workload, orchestration design cut blended cost per task by more than switching between the cheapest and most expensive model did (41% against 36%, with per-model gains of 33–61%). Section 11 takes up the relationship. - The two conference reports remain the canonical record: P. Naur and B. Randell (eds.), (Garmisch, 1968; NATO Science Committee, 1969), and B. Randell and J. N. Buxton (eds.),Software Engineering**Software Engineering Techniques(Rome, 1969; NATO Science Committee, 1970). The term 'software crisis' enters wide use through them. - C. E. Shannon,

['A Mathematical Theory of Communication'](https://people.math.harvard.edu/~ctm/home/text/others/shannon/entropy/entropy.pdf), 1948.[↩](#fnref-10) - C. E. Shannon and W. Weaver,
, 1949.*The Mathematical Theory of Communication*[↩](#fnref-11) - For the model-as-channel view see, e.g.,

'LLMs as Noisy Channels: A Shannon Perspective on Model Capacity and Scaling Laws', arXiv:2605.23901, 2026, and the agent-as-channel formalization in'A Communication-Theoretic Framework for LLM Agents', arXiv:2605.09121, 2026. 'The Semiotic Channel Principle: Measuring the Capacity for Meaning in LLM Communication', arXiv:2511.19550, 2025; and a related framework integrating Shannon, Weaver, and formal proof systems (arXiv:2604.16471, 2026), which identifies a 'semantic bottleneck' arising from vocabulary mismatch that persists even over a noiseless carrier.- As of 2026, one-million-token windows are standard across the frontier (current Claude, GPT, and Gemini models; Gemini's is exactly 1,048,576); Meta's Llama 4 Scout advertises the largest at ten million tokens, though no published benchmark shows quality holding near that length. Epoch AI finds the longest context windows have grown roughly thirtyfold per year since 2023 (

[epoch.ai/data-insights/context-windows](https://epoch.ai/data-insights/context-windows)).[↩](#fnref-14) - N. F. Liu et al.,
['Lost in the Middle: How Language Models Use Long Contexts'](https://aclanthology.org/2024.tacl-1.9/), TACL 2024.[↩](#fnref-15) - Chroma Research,
['Context Rot'](https://research.trychroma.com/context-rot), 2025.[↩](#fnref-16) - X. Wu, Y. Wang, S. Jegelka, and A. Jadbabaie,

'On the Emergence of Position Bias in Transformers', ICML 2025, prove graph-theoretically that causal masking biases attention toward earlier positions structurally rather than as a learned artifact; the follow-on result'Lost in the Middle at Birth: An Exact Theory of Transformer Position Bias', arXiv:2603.10123, 2026, shows the full U-shape is present at random initialization, with or without RoPE, and that standard pretraining does not remove it. - C.-Y. Hsieh et al., 'Found in the Middle: Calibrating Positional Attention Bias Improves Long Context Utilization', Findings of ACL 2024 (arXiv:2406.16008): a training-free method that subtracts the model's positional bias from its attention weights recovers up to fifteen points of long-context RAG accuracy: a partial, task-dependent remedy, not a fix. - R. A. Barkley, 'Behavioral Inhibition, Sustained Attention, and Executive Functions: Constructing a Unifying Theory of ADHD',Psychological Bulletin121(1):65–94, 1997. - C. Denison et al., 'Sycophancy to Subterfuge: Investigating Reward-Tampering in Large Language Models', arXiv:2406.10162, 2024: a controlled study in which models trained on ordinary specification gaming generalized, on rare but non-negligible occasions, to altering a checklist to cover up an unfinished task and editing test files to conceal it. - M. Sharma et al., 'Towards Understanding Sycophancy in Language Models', ICLR 2024 (arXiv:2310.13548), find that RLHF-trained assistants consistently favor responses that match the user over responses that are correct; the completion-over-reporting mechanism suggested here is a hypothesis consistent with those findings, not a result they establish. - Anthropic,

[research on emergent global-workspace structure in language models (the 'J-space')](https://www.anthropic.com/research/global-workspace), July 2026.[↩](#fnref-22) - Anthropic,
['Effective Context Engineering for AI Agents'](https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents), 2025.[↩](#fnref-23) - L. Mei et al.,
['A Survey of Context Engineering for Large Language Models'](https://arxiv.org/abs/2507.13334), arXiv:2507.13334, 2025.[↩](#fnref-24) - P. Schmid,
['The New Skill in AI is Not Prompting, It's Context Engineering'](https://www.philschmid.de/context-engineering), philschmid.de, June 2025.[↩](#fnref-25) - DORA / Google,
, 2025.*State of AI-assisted Software Development*[↩](#fnref-26) - D. Horthy / HumanLayer,
['12-Factor Agents'](https://github.com/humanlayer/12-factor-agents), 2025.[↩](#fnref-27) - L. Weng,
['Harness Engineering for Self-Improvement'](https://lilianweng.github.io/posts/2026-07-04-harness/), Lil'Log, July 2026.[↩](#fnref-28) - Anthropic,

'Effective Context Engineering for AI Agents', 2025, presents LLM-based compaction of conversation history as a primary long-horizon strategy. - An ETH Zurich evaluation across four coding agents and two benchmarks found that LLM-generated repository context files reduced task-success rates relative to providing no context file while raising inference cost by over 20%; developer-written files produced only marginal gains. 'Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents?', arXiv:2602.11988, 2026. The study measures generated context files, not generative compaction of conversation history; the two are related but distinct mechanisms. - C. A. E. Goodhart, 'Problems of Monetary Management: The U.K. Experience,' Papers in Monetary Economics, Reserve Bank of Australia, 1975, originates the law; the now-standard phrasing, "when a measure becomes a target, it ceases to be a good measure," is M. Strathern,'Improving Ratings: Audit in the British University System',European Review5(3), 1997. - F. Liu et al., 'Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Code', IEEE TSE 2026 (arXiv:2404.00971), build a taxonomy of code hallucinations whose categories include conflicts with the task's requirements and with the surrounding project context: "almost right" is, concretely, fluent and plausible code that diverges from intent or repository reality. - RTCA DO-178C, Software Considerations in Airborne Systems and Equipment Certification. RTCA, Inc., 2011.rtca.org/do-178 - IEC 62304, Medical device software: Software life cycle processes. International Electrotechnical Commission, 2006 (rev. 2015).iso.org/standard/38421.html - B. Meyer, Object-Oriented Software Construction, 2nd ed. Prentice Hall, 1997.bertrandmeyer.com/OOSC2 - D. Jackson, Software Abstractions: Logic, Language, and Analysis. MIT Press, 2006 (rev. 2012).alloytools.org/book.html - L. Lamport, 'Time, Clocks, and the Ordering of Events in a Distributed System,' Communications of the ACM21(7):558–565, 1978 (lamport.azurewebsites.net/pubs/time-clocks.pdf); and the TLA+ specification language (lamport.azurewebsites.net/tla/tla.html). - J. H. Saltzer, D. P. Reed, and D. D. Clark, 'End-to-End Arguments in System Design',ACM Transactions on Computer Systems2(4), 1984. - Codified in contemporary form as Mission Command(U.S. Army Doctrine Publication ADP 6-0, 2019), the doctrine traces to Prussian military reform following the Napoleonic wars, and has been independently rediscovered across aviation crew resource management, nuclear plant operations, and other high-stakes delegation contexts. For the general doctrine seeen.wikipedia.org/wiki/Mission_command. - See, e.g., C. J. Stettina and W. Heijstek, , SIGDOC, 2011; andNecessary and Neglected? An Empirical Study of Internal Documentation in Agile Software Development Teams, JSERD, 2018.Working Software over Comprehensive Documentation: Rationales of Agile Teams for Artefacts Usage 'How Much Does AI Impact Development Speed? An Enterprise-Based Randomized Controlled Trial', arXiv:2410.12944, 2024; Z. Cui et al.,'The Effects of Generative AI on High-Skilled Work: Evidence from Three Field Experiments with Software Developers', 2025.- The per-step figure is illustrative; the compounding it models is measured. METR finds task-success rates fall steeply with task length: the horizon at which frontier models succeed 80% of the time is roughly five times shorter than their 50% horizon, the macroscopic signature of errors compounding across steps ( 'Measuring AI Ability to Complete Long Tasks', arXiv:2503.14499, 2025). Sinha et al. trace the mechanism: single-step accuracy compounds over a horizon, so marginal per-step gains translate into exponentially longer achievable tasks; a model highly accurate in one step still fails across many. They further find per-step accuracy itselfdegradesas steps accumulate, the model conditioning on its own earlier mistakes: a 'self-conditioning' effect ('The Illusion of Diminishing Returns: Measuring Long Horizon Execution in LLMs', ICLR 2026, arXiv:2509.09677). - B. W. Boehm, Software Engineering Economics, Prentice Hall, 1981, established the canonical cost-to-fix-by-phase curve; G. Tassey,, NIST/RTI, 2002, estimated U.S. annual costs of $59.5 billion from inadequate testing, roughly $22.2 billion of it recoverable by catching defects nearer the stage that introduced them.The Economic Impacts of Inadequate Infrastructure for Software Testing 'Are Delayed Issues Harder to Resolve? Revisiting Cost-to-Fix of Defects throughout the Lifecycle', 2017.- P. Deutsch et al., 'The Fallacies of Distributed Computing,' Sun Microsystems, 1994–97. en.wikipedia.org/wiki/Fallacies_of_distributed_computing - The term is due to Dan Davies, The Unaccountability Machine: Why Big Systems Make Terrible Decisions—and How the World Lost Its Mind(Profile Books, 2024), which develops it from Stafford Beer's management cybernetics. - E. Hutchins, , MIT Press, 1995. The companion study of the airline cockpit as a memory system is E. Hutchins, 'How a Cockpit Remembers Its Speeds,'Cognition in the Wild**Cognitive Science19(3):265–288, 1995. - Q. Ma et al., 'What Should We Engineer in Prompts? Training Humans in Requirement-Driven LLM Use', ACM TOCHI 2025 (arXiv:2409.08775): in a randomized controlled experiment, training novices to articulate explicit requirements outperformed conventional prompt-engineering training twenty points to one, a gap automatic prompt optimization did not close. Input quality lives in the requirements, not the phrasing. - These methods are catalogued and unified as special cases of a small set of communication-theoretic operators in

['A Communication-Theoretic Framework for LLM Agents'](https://arxiv.org/abs/2605.09121), arXiv:2605.09121, 2026.[↩](#fnref-49) - L. Weng,
['Harness Engineering for Self-Improvement'](https://lilianweng.github.io/posts/2026-07-04-harness/), Lil'Log, July 2026.[↩](#fnref-50)

References #

An extended bibliography, numbered independently of the inline citation markers; those resolve to the footnotes, not to the entries below.

- RTCA DO-178C—
*Software Considerations in Airborne Systems and Equipment Certification*. RTCA, Inc., 2011.[https://www.rtca.org/do-178/](https://www.rtca.org/do-178/) - IEC 62304—

Medical device software: Software life cycle processes. International Electrotechnical Commission, 2006 (rev. 2015).https://www.iso.org/standard/38421.html - Bertrand Meyer—

*Object-Oriented Software Construction*, 2nd ed. Prentice Hall, 1997.[https://bertrandmeyer.com/OOSC2/](https://bertrandmeyer.com/OOSC2/) - Daniel Jackson—
*Software Abstractions: Logic, Language, and Analysis*. MIT Press, 2006. (Alloy toolkit.)[https://alloytools.org/book.html](https://alloytools.org/book.html) - Nancy Leveson—

Engineering a Safer World: Systems Thinking Applied to Safety. MIT Press, 2011.https://direct.mit.edu/books/oa-monograph/2908/Engineering-a-Safer-WorldSystems-Thinking-Applied - Beck et al.— Manifesto for Agile Software Development. 2001.https://agilemanifesto.org - Leslie Lamport—'Time, Clocks, and the Ordering of Events in a Distributed System.' Communications of the ACM21(7), 1978.https://lamport.azurewebsites.net/pubs/time-clocks.pdf - Ghemawat, Gobioff, Leung—'The Google File System.' SOSP 2003./ Dean and Ghemawat—'MapReduce: Simplified Data Processing on Large Clusters.'OSDI 2004.https://research.google.com/archive/gfs-sosp2003.pdf - Peter Deutsch et al.—'Fallacies of Distributed Computing.' Sun Microsystems, 1994. https://en.wikipedia.org/wiki/Fallacies_of_distributed_computing - Claude E. Shannon—'A Mathematical Theory of Communication.' Bell System Technical Journal27, 1948.https://people.math.harvard.edu/~ctm/home/text/others/shannon/entropy/entropy.pdf - Claude E. Shannon and Warren Weaver— The Mathematical Theory of Communication. University of Illinois Press, 1949. (Weaver's three levels of communication: technical, semantic, effectiveness.)https://archive.org/details/mathematicaltheo00shan - Nelson F. Liu et al.—'Lost in the Middle: How Language Models Use Long Contexts.' Transactions of the ACL, 2024.https://aclanthology.org/2024.tacl-1.9/ - Chroma Research—'Context Rot: How Increasing Input Tokens Impacts LLM Performance.' 2025.

[https://research.trychroma.com/context-rot](https://research.trychroma.com/context-rot) - Lingrui Mei et al.—'A Survey of Context Engineering for Large Language Models.' arXiv:2507.13334, 2025.
[https://arxiv.org/abs/2507.13334](https://arxiv.org/abs/2507.13334) - Anthropic—'Effective Context Engineering for AI Agents.' 2025.

https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents - METR—'Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity.' 2025. https://metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/ - Stack Overflow—'2025 Developer Survey.' 2025. https://survey.stackoverflow.co/2025/ai - New Relic / Hanover Research—'The 2026 State of AI Coding Report.' 2026. https://newrelic.com/blog/ai/state-of-ai-coding-2026 - DORA / Google—'State of AI-assisted Software Development.' 2025. https://dora.dev/dora-report-2025/ - C. J. Stettina and W. Heijstek—'Necessary and Neglected? An Empirical Study of Internal Documentation in Agile Software Development Teams.' SIGDOC, 2011. https://doi.org/10.1145/2038476.2038509 - 'Working Software over Comprehensive Documentation: Rationales of Agile Teams for Artefacts Usage.' Journal of Software Engineering Research and Development, 2018. https://doi.org/10.1186/s40411-018-0051-7 - X. Wu, Y. Wang, S. Jegelka, and A. Jadbabaie—'On the Emergence of Position Bias in Transformers.' ICML 2025 (PMLR 267:67756–67781). https://proceedings.mlr.press/v267/wu25ad.html - 'Lost in the Middle at Birth: An Exact Theory of Transformer Position Bias.' arXiv:2603.10123, 2026. https://arxiv.org/abs/2603.10123 - 'Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents?' arXiv:2602.11988, 2026. https://arxiv.org/abs/2602.11988 - 'How Much Does AI Impact Development Speed? An Enterprise-Based Randomized Controlled Trial.' arXiv:2410.12944, 2024. https://arxiv.org/abs/2410.12944 - Z. Cui, M. Demirer, S. Jaffe, L. Musolff, S. Peng, and T. Salz—'The Effects of Generative AI on High-Skilled Work: Evidence from Three Field Experiments with Software Developers.' 2025. microsoft.com/en-us/research/publication/the-effects-of-generative-ai-on-high-skilled-work - B. W. Boehm— *Software Engineering Economics.*Prentice Hall, 1981. - G. Tassey—'The Economic Impacts of Inadequate Infrastructure for Software Testing.' NIST / RTI, 2002. nist.gov/system/files/documents/director/planning/report02-3.pdf - 'Are Delayed Issues Harder to Resolve? Revisiting Cost-to-Fix of Defects throughout the Lifecycle.' arXiv:1609.04886, 2017. https://arxiv.org/abs/1609.04886 - R. A. Barkley—'Behavioral Inhibition, Sustained Attention, and Executive Functions: Constructing a Unifying Theory of ADHD.' Psychological Bulletin 121(1):65–94, 1997. https://doi.org/10.1037/0033-2909.121.1.65 - C. Denison et al.—'Sycophancy to Subterfuge: Investigating Reward-Tampering in Large Language Models.' arXiv:2406.10162, 2024.

[https://arxiv.org/abs/2406.10162](https://arxiv.org/abs/2406.10162) - M. Sharma et al.—'Towards Understanding Sycophancy in Language Models.' ICLR 2024 (arXiv:2310.13548).
[https://arxiv.org/abs/2310.13548](https://arxiv.org/abs/2310.13548) - D. Horthy / HumanLayer—'12-Factor Agents.' 2025.

github.com/humanlayer/12-factor-agents - 'A Communication-Theoretic Framework for LLM Agents: Cost-Aware Adaptive Reliability.' arXiv:2605.09121, 2026. https://arxiv.org/abs/2605.09121 - 'LLMs as Noisy Channels: A Shannon Perspective on Model Capacity and Scaling Laws.' arXiv:2605.23901, 2026. https://arxiv.org/abs/2605.23901 - 'The Semiotic Channel Principle: Measuring the Capacity for Meaning in LLM Communication.' arXiv:2511.19550, 2025. https://arxiv.org/abs/2511.19550 - J. Xu—'Semantic Channel Theory: Deductive Compression and Structural Fidelity for Multi-Agent Communication.' arXiv:2604.16471, 2026. https://arxiv.org/abs/2604.16471 - Dan Davies—The Unaccountability Machine: Why Big Systems Make Terrible Decisions—and How the World Lost Its Mind. Profile Books, 2024. (Origin of the term 'accountability sink'; builds on Stafford Beer's management cybernetics.) press.uchicago.edu/ucp/books/book/chicago/U/bo252799883.html - CodeRabbit—'State of AI vs Human Code Generation.' 2025. (470 open-source GitHub PRs; AI-co-authored changes averaged 10.83 issues per PR vs. 6.45 for human-only, approx. 1.7x overall with security categories up to 2.74x, compared via Poisson rate ratios with 95% CIs. New Relic's 2026 report cites this analysis for its defect multiplier.) coderabbit.ai/blog/state-of-ai-vs-human-code-generation-report - Veracode—'2025 GenAI Code Security Report.' 2025. (100+ models across four languages; 45% of generations introduce an OWASP Top 10 flaw.) veracode.com/wp-content/uploads/2025_GenAI_Code_Security_Report_Final.pdf - P. Naur and B. Randell (eds.)— Software Engineering: Report of a Conference Sponsored by the NATO Science Committee, Garmisch, Germany, 7–11 Oct. 1968. Scientific Affairs Division, NATO, 1969. (Origin of the discipline's name and the 'software crisis' framing.)homepages.cs.ncl.ac.uk/brian.randell/NATO/nato1968.PDF - B. Randell and J. N. Buxton (eds.)— Software Engineering Techniques: Report of a Conference Sponsored by the NATO Science Committee, Rome, Italy, 27–31 Oct. 1969. Scientific Affairs Division, NATO, 1970.homepages.cs.ncl.ac.uk/brian.randell/NATO/nato1969.PDF - S. Rabanser, S. Kapoor, P. Kirgis, K. Liu, S. Utpala, and A. Narayanan— Towards a Science of AI Agent Reliability. arXiv:2602.16666 (Princeton University), 2026. (Decomposes agent reliability into consistency, robustness, predictability, and safety across twelve metrics; evaluating 15 models on two benchmarks, finds recent capability gains produced only small reliability improvements industry-wide.)arxiv.org/abs/2602.16666 - C. A. E. Goodhart—'Problems of Monetary Management: The U.K. Experience.' Papers in Monetary Economics, Reserve Bank of Australia, 1975 (origin of Goodhart's law); the now-standard formulation is M. Strathern—'Improving Ratings: Audit in the British University System.'European Review5(3):305–321, 1997 ("when a measure becomes a target, it ceases to be a good measure").doi.org/10.1017/S1062798700002660 - Q. Ma, W. Peng, C. Yang, H. Shen, K. Koedinger, and T. Wu—'What Should We Engineer in Prompts? Training Humans in Requirement-Driven LLM Use.' ACM Transactions on Computer-Human Interaction, 2025 (arXiv:2409.08775). (Randomized controlled experiment: requirement-articulation training beat conventional prompt-engineering training 20% to 1%, a gap automatic prompt optimization did not close.)arxiv.org/abs/2409.08775 - F. Liu, Y. Liu, L. Shi, Z. Yang, L. Zhang, X. Lian, Z. Li, and Y. Ma—'Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Code.' IEEE Transactions on Software Engineering, 2026 (arXiv:2404.00971). (Taxonomy of code hallucinations across three primary and twelve sub-categories, including conflicts with task requirements and with project context.)arxiv.org/abs/2404.00971 - C.-Y. Hsieh, Y.-S. Chuang, C.-L. Li, et al.—'Found in the Middle: Calibrating Positional Attention Bias Improves Long Context Utilization.' Findings of ACL 2024 (arXiv:2406.16008). (Training-free inference-time calibration subtracting positional bias from attention weights, recovering up to fifteen points of long-context RAG accuracy: a partial, task-dependent remedy.) arxiv.org/abs/2406.16008 - T. Kwa et al. (METR)—'Measuring AI Ability to Complete Long Tasks.' arXiv:2503.14499, 2025. (Defines the 50%-task-completion time horizon; task-success rates fall steeply with task length, and the 80% horizon is roughly five times shorter than the 50% horizon, evidence of errors compounding across steps.) arxiv.org/abs/2503.14499 - A. Sinha, A. Arun, S. Goel, S. Staab, and J. Geiping—'The Illusion of Diminishing Returns: Measuring Long Horizon Execution in LLMs.' ICLR 2026 (arXiv:2509.09677). (Single-step accuracy compounds over a horizon: marginal per-step gains yield exponentially longer achievable tasks, while per-step accuracy itself degrades as steps accumulate, via a self-conditioning effect.) arxiv.org/abs/2509.09677 - L. Weng—'Harness Engineering for Self-Improvement.' Lil'Log, July 2026. (Defines the harness as the system surrounding a base model that orchestrates planning, tool use, context management, artifact storage, and evaluation; surveys design patterns and self-improving-harness research, closing on open problems of weak evaluators, reward hacking, and human oversight.) lilianweng.github.io/posts/2026-07-04-harness/ - P. Schmid—'The New Skill in AI is Not Prompting, It's Context Engineering.' philschmid.de, June 2025. (Source of the practitioner diagnosis that most agent failures are context failures rather than model failures.) philschmid.de/context-engineering - J. H. Saltzer, D. P. Reed, and D. D. Clark—'End-to-End Arguments in System Design.' ACM Transactions on Computer Systems2(4):277–288, 1984. (Reliability functions belong at the endpoints; no improvement in the medium removes the endpoints' need to verify. The transport tradition's answer to 'wait for a better link,' and this paper's answer to 'wait for a better model.')web.mit.edu/Saltzer/www/publications/endtoend/ - M. Sayed Ali et al.—'The Harness Effect: How Orchestration Design Sets the Token Economics of Enterprise Agentic AI.' arXiv:2607.06906, 2026. (Controlled comparison across six models and two orchestrations; reports the harness cut blended cost per task 41%, against the 36% available from switching between the cheapest and most expensive model, with per-model gains of 33–61%. All thirty-three authors are affiliated with the vendor of the evaluated harness; the token and cost accounting is the load-bearing result.) arxiv.org/abs/2607.06906 - E. Hutchins— Cognition in the Wild. MIT Press, 1995. (Ethnography of ship navigation aboard the USS Palau, arguing that the unit of cognition is the system of people, instruments, and representations rather than the individual mind, and defining cognition as the propagation of representational state across media. The companion paper, 'How a Cockpit Remembers Its Speeds,'Cognitive Science19(3):265–288, 1995, treats external representations as the crew's working memory.)mitpress.mit.edu/9780262581462/cognition-in-the-wild

About the Author #

Josh Paul is the founder of Socium. Over nearly two decades he has engineered reliability into large-scale distributed systems (infrastructure automation, Kubernetes platform engineering, observability, and network security) at AWS, Nutanix, Okta, and Amplitude, among others. He began his career in the United States Air Force as a Russian cryptologic linguist and digital network intelligence analyst; communication channels under adversarial conditions were the work, not a metaphor. Most recently, building a production observability SDK with AI brought him face-to-face with the failure modes described here: silent data loss, ungrounded assumptions, critical signal lost in a noisy medium. Channel engineering is his attempt to name the discipline that answers them.

Download #

Cite this paper: Josh Paul, "Engineering the Channel: Restoring Software Engineering Discipline in the Age of LLMs," Socium White Paper, July 2026. https://socium.build/paper/

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @metr 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/engineering-the-chan…] indexed:0 read:61min 2026-07-23 ·