<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jo Yet</title>
    <description>The latest articles on DEV Community by Jo Yet (@joyet).</description>
    <link>https://dev.to/joyet</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4232149%2Fcfce9607-ae63-4367-bcd2-9eeb7a372acd.png</url>
      <title>DEV Community: Jo Yet</title>
      <link>https://dev.to/joyet</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/joyet"/>
    <language>en</language>
    <item>
      <title>Human-AI Protocol Asymmetry: Why Chat UI Cannot Carry Complex AI Engineering</title>
      <dc:creator>Jo Yet</dc:creator>
      <pubDate>Thu, 26 Nov 2026 12:26:26 +0000</pubDate>
      <link>https://dev.to/joyet/human-ai-protocol-asymmetry-why-chat-ui-cannot-carry-complex-ai-engineering-p11</link>
      <guid>https://dev.to/joyet/human-ai-protocol-asymmetry-why-chat-ui-cannot-carry-complex-ai-engineering-p11</guid>
      <description>&lt;p&gt;If you are merely looking up an obscure word, polishing an email, or making aimless small talk before bed, the modern Chat UI is nearly flawless. In lightweight daily scenarios, problems carry no complex contextual dependencies and cognitive load is minimal—even if the AI rambles on for a couple of extra sentences, your eyes can skim right past them, and a minor slip does no harm.&lt;/p&gt;

&lt;p&gt;Yet the moment you shift the context to engineering work of any real scale—breaking down a full set of requirements, hammering out a system architecture, or refactoring core business logic—this interaction model, so effortless in casual conversation, rapidly turns into a disaster.&lt;/p&gt;

&lt;p&gt;Anyone who writes code or designs systems has likely lived through this exhausting scenario:&lt;/p&gt;

&lt;p&gt;You have a vague requirement in hand and want the AI to help map out the boundaries. You type the prompt into the chat box and hit Enter. Within seconds, like a floodgate bursting open, it blankets the screen with a "complete solution"—marching straight from business background breakdown and feature lists all the way into database schemas, API definitions, and even which message queue to pick or how to deploy for high availability.&lt;/p&gt;

&lt;p&gt;You patiently read from the top. The first point is passable. By the second feature, you realize it has completely misunderstood the real business scenario, treating a low-frequency back-office admin action as a high-concurrency consumer core path. The trouble is, everything that follows—architecture, tech stack, exception handling—rests entirely on the false premise that the second feature was understood correctly. Every remaining word on the screen is now logically void.&lt;/p&gt;

&lt;p&gt;At this point, you cannot make it retract what it said; you can only correct it over and over again. With each correction, it spits out another sprawling wall of text, subtly altering previously valid logic in the process, forcing you to read everything from the very beginning all over again. Three or four rounds of this tug-of-war leave the human brain exhausted, while the requirements remain suspended in mid-air.&lt;/p&gt;

&lt;p&gt;Many people blame this frustration on models "not being smart enough yet," or fault themselves for "not knowing how to write prompts." Step outside the immediate back-and-forth, however, and it becomes clear this has nothing to do with model intelligence. It is a protocol mismatch—shoving serious engineering directives directly into a natural-language chat box is structurally flawed at its foundation.&lt;/p&gt;

&lt;p&gt;Natural-language dialogue is a communication protocol designed for two human beings with symmetrical cognitive architectures and shared common sense. Sitting at opposite ends of the screen today, however, are two species radically asymmetrical in information processing speed, fault tolerance, and how they express uncertainty. Forcing a symmetrical protocol built for casual human conversation to carry asymmetrical engineering collaboration almost guarantees distortion.&lt;/p&gt;

&lt;h3&gt;
  
  
  I. Three Implicit Premises Behind Human Communication
&lt;/h3&gt;

&lt;p&gt;When two people sit down face-to-face, even when tackling a highly complex project, they can often align on the broad strokes within half an hour. Human communication works not because anyone speaks with textbook precision, but because of three unspoken understandings forged through evolution:&lt;/p&gt;

&lt;p&gt;(1) Shared Background Context. Humans inhabit the same physical world and social rules; practitioners within the same industry share a vast reservoir of unwritten conventions. In a team meeting, if an architect casually remarks, "This endpoint won't see heavy concurrency—just handle it the usual way for now," every engineer in the room immediately gets it. "The usual way" means skipping complex distributed locks, sticking with the existing relational database plus a basic cache layer, and not even needing to mention which internal scaffolding the team prefers. Massive amounts of context are folded into shared experience, requiring no explicit transmission in words.&lt;/p&gt;

&lt;p&gt;(2) Comparable Information-Processing Bandwidth. The rates at which the human brain thinks, organizes language, and comprehends speech occupy the same physical order of magnitude. In conversation, a person speaks at roughly 150 to 200 words per minute—right inside the comfort zone where another brain can parse semantics, verify logic, and mount memories without strain. Should one person speak too fast or pack in too much density, micro-expressions from the listener immediately signal "I'm losing you," prompting the speaker to instinctively slow down or rephrase. It is flow control written directly into human biology.&lt;/p&gt;

&lt;p&gt;(3) High-Frequency Interruption and Synchronous Calibration. Human dialogue is never a batch-processing model where one party writes a ten-thousand-word essay and the other redlines it word by word. It is high-frequency streaming synchronization. The moment the other person utters half a sentence built on a flawed assumption, you can cut in immediately: "Hold on—that premise you just mentioned isn't in scope for this phase." Hesitation in tone, pauses before a counter-question—all act as out-of-band control signals. Misunderstandings are snuffed out within half a sentence of forming, never given the chance to propagate downstream.&lt;/p&gt;

&lt;p&gt;Shared context lowers communication redundancy, matched cognitive speed provides natural flow control, and instant interruption keeps error-correction costs near zero. Interlocking together, these three mechanisms turn natural language—an inherently ambiguous medium—into a closed-loop, symmetrical, self-correcting communication system for human society.&lt;/p&gt;

&lt;h3&gt;
  
  
  II. How Stuffing an LLM into a Chat Box Subverts All Three Rules
&lt;/h3&gt;

&lt;p&gt;When we wire a large language model into a chat window modeled after instant messengers and ask it to execute serious engineering work, all three premises holding communication together collapse at once.&lt;/p&gt;

&lt;p&gt;First: Overwhelming Bandwidth Asymmetry. Human reading and logical digestion remain stuck at a few dozen words per second, whereas an LLM, driven by raw compute, can dump hundreds of tokens every second. In engineering workflows, the AI possesses zero sensors for human cognitive load—give it a prompt, and it mobilizes its parameters to pour out every dimension of possibility, edge case, and unsolicited suggestion at once. Overnight, the human is demoted from an equal participant in dialogue to the most painful, narrowest bandwidth bottleneck in the entire collaboration pipeline. Confronted with a dense wall of text, you are forced either into exhausting line-by-line auditing or into abandoning thought altogether and trusting blindly.&lt;/p&gt;

&lt;p&gt;Second: Pragmatic Distortion from Missing Common Sense. At the level of pure syntax and vocabulary, modern LLMs outperform the vast majority of humans. The failure lies not in grammar, but in the absence of engineering context and lived operational intuition. An LLM has never wrestled with real production environments; it cannot distinguish which issues are life-or-death core contradictions at the current stage versus minor details that belong three months down the road. Faced with an ambiguous requirement, it falls back on probability distributions, laying out every element statistically associated with that scenario in its training corpus. The output takes on a bizarre, uneven texture—sketching out a basic business loop in one breath, and fretting over cross-region disaster recovery in the next, leaving the human exhausted just trying to pan for signal in the noise.&lt;/p&gt;

&lt;p&gt;Yet the most lethal damage lies in stripping away the explicit expression of uncertainty, creating a draining overhead of reverse inference. When a human encounters an ambiguous instruction, the natural instinct is to stop and ask the single blocking question: "When you say 'real-time,' do you mean millisecond-level or second-level?" Until that is clear, work cannot proceed. Under default free-text chat interfaces, however, the model lacks an enforceable "I don't understand; pause" state. Once input triggers inference, the architecture compels it to predict token after token until the stop sequence. No matter how diffuse or uncertain the internal probability distribution over user intent may be, what appears on screen is always seamless, decisive prose carrying an air of authoritative analysis.&lt;/p&gt;

&lt;p&gt;This illusion of smooth certainty imposes a catastrophic hidden tax on the human. In human-AI dialogue, you do not merely read the output like a technical spec to see what the AI produced; you must reverse-engineer between the lines: "How much of what I said did it actually grasp? What hidden premise led it to propose this architecture in step three? Out of these seven or eight questions, which one is the real blocker, and which ones are just filler?" No tool exposes the boundaries of the model's internal comprehension; every bit of alignment verification falls squarely on human brainpower. You think you are directing a hyper-capable assistant, when in reality you have become a full-time human compiler, sweeping landmines out of massive walls of text.&lt;/p&gt;

&lt;p&gt;If single-turn verbosity were the only flaw, a patient engineer might trim the excess and move on. Software engineering, however, is fundamentally a stateful, strictly layered progression: requirement definitions dictate domain models; domain models dictate data schemas; data schemas dictate interface contracts; interface contracts dictate implementation code. A ten-percent semantic drift at an upper layer amplifies into a fifty-percent structural failure by the time it reaches the layer below.&lt;/p&gt;

&lt;p&gt;Under a stateless free-text protocol, multi-turn conversation fails to converge errors—it triggers continuous context pollution instead. The thousands of words of misguided architecture the AI over-generated in turn one do not vanish simply because you say "Point two is wrong." They remain inside the context window, acting like a heavy anchor dragging subsequent reasoning off course. Meanwhile, lacking structural state isolation, asking the model to revise one local piece of logic frequently causes it to inadvertently mutate previously confirmed sections while regenerating prose, forcing you to re-audit work you already signed off on. Generating a plausible-looking architectural write-up takes the AI five seconds; verifying whether it holds up under actual business constraints demands mobilizing your entire domain knowledge line by line. Near-zero generation cost paired with exorbitant verification cost quickly shatters human attention.&lt;/p&gt;

&lt;p&gt;Writing code for a compiler is also a form of issuing instructions for a machine to execute. It has operated with surgical precision for decades because a formal grammar stands between human and compiler—leaving zero room for ambiguity, with error messages pinpointed to the exact line number. Today, we are attempting to drive a high-throughput inference engine through precision engineering using a protocol designed for water-cooler small talk. It is like trying to draft architectural blueprints in prose: the communication channel itself lacks the capacity to carry exact instructions.&lt;/p&gt;

&lt;h3&gt;
  
  
  III. Three Hard Constraints for Rebuilding the Protocol
&lt;/h3&gt;

&lt;p&gt;Since the root cause lies in forcing a symmetrical chat protocol to carry asymmetrical engineering collaboration, hoping that fancier prompt-engineering tricks will "teach" an AI to behave like a seasoned architect inside a chat box is treating symptoms while ignoring the disease. Prompts only softly nudge a model's tone; they cannot fix the structural defects inherent to free-text dialogue.&lt;/p&gt;

&lt;p&gt;I cannot claim to know the final form next-generation human-AI collaboration tools will take, yet following the logic of protocol asymmetry forward, any interaction mechanism aiming to deliver complex engineering reliably must establish at least three foundational rules:&lt;/p&gt;

&lt;p&gt;(1) Converging Interaction Granularity—Stepping Back from "Full Dumps" to "Stage-Gates." Given the orders-of-magnitude gap in information-processing bandwidth between humans and machines, the protocol layer must enforce flow control and reclaim the AI's license to extrapolate across layers uninvited. Engineering interaction should never be open-ended free association; it must be decomposed into strictly governed state nodes. Until requirement boundaries are aligned, the protocol locks down and forbids extrapolating into feature breakdowns; until core interface contracts are confirmed, generating implementation code is prohibited. Even if the AI anticipates ten potential risks simultaneously, it must filter them down, surfacing only the one or two core divergences blocking the current stage. Reducing a sudden avalanche of an entire iceberg down to aligning a single brick at a time brings cognitive load back within safe limits.&lt;/p&gt;

&lt;p&gt;(2) Exposing Ambiguity Explicitly—Curbing the AI's "Default Guesswork." Eliminating the exhaustion of reverse-inferring model intent requires shattering the illusion that the model always speaks with certainty, elevating "uncertainty" into a legitimate, explicit, first-class runtime state. The most valuable signal in collaboration is never a sprawling derivation—it is a simple "I don't understand this part." The protocol layer must enforce explicit clarification gates: when instructions lack critical boundary conditions or environmental assumptions, generation suspends immediately, converting hidden probabilistic divergence into explicit, structured choices for the human to adjudicate. An AI should not act as a text generator spewing tokens the moment power is applied; first and foremost, it must be a rigorous boundary detector—refusing to produce any seemingly complete yet guesswork-ridden artifact until constraints converge into a closed loop.&lt;/p&gt;

&lt;p&gt;(3) Shifting Verification Burden—Replacing "Human Reading" with "Structured Contracts." Humans are poorly suited to hunting logical landmines across dense paragraphs of prose, whereas machines excel at handling formal specifications and automated verification. A viable collaboration mechanism must therefore offload the burden of verifying how much the AI understood from the human brain onto deterministic machine toolchains. This calls for an explicit Intermediate Representation sitting between human and AI—a concise spec document, a state-machine definition, a JSON Schema, or test cases carrying strict input-output assertions. Humans no longer wade through thousands of words of rhetorical explanation; they review a compact, zero-fluff execution contract. Once that contract is locked, subsequent coding, debugging, and edge-case checks run inside an isolated loop backed by automated tests. What the human ultimately signs off on is no longer dry prose, but runnable, verifiable diffs and test reports.&lt;/p&gt;

&lt;p&gt;Looking back, much of my struggle over the past two years trying to land complex engineering work with AI stemmed from being seduced by the sheer fluency of large language models—mistaking "it understands human language" for "a chat box is the optimal interface." We crammed a high-powered inference engine into an instant-messenger dialog box from the MSN era, then complained that it was too verbose and too prone to misunderstanding us.&lt;/p&gt;

&lt;p&gt;Model capabilities cleared the bar long ago. What truly chokes the workflow is the communication pipe connecting human thought to machine compute. Humans and AI do not need a symmetrical protocol mimicking casual daily conversation. What we need is an asymmetrical coordination mechanism that acknowledges the differences between both sides, enforces flow control, surfaces blind spots openly, and anchors execution in deterministic contracts. Only when interaction moves from blind guesswork in chat toward governed alignment will the time lost to endless re-explaining and manual mine-sweeping finally be returned to thinking itself.&lt;/p&gt;

</description>
      <category>aicoding</category>
      <category>collaboration</category>
    </item>
    <item>
      <title>Stop Letting AI Interrupt You Every Ten Minutes</title>
      <dc:creator>Jo Yet</dc:creator>
      <pubDate>Wed, 25 Nov 2026 14:16:52 +0000</pubDate>
      <link>https://dev.to/joyet/stop-letting-ai-interrupt-you-every-ten-minutes-907</link>
      <guid>https://dev.to/joyet/stop-letting-ai-interrupt-you-every-ten-minutes-907</guid>
      <description>&lt;p&gt;In my previous post, I drew a distant boundary—peer-to-peer scheduling protocols among autonomous agents are still sitting on the drafting table. Coming back down to earth, in the daily reality of a single primary agent orchestrating sub-agents, a far more immediate and exhausting problem stands in my way: how do I stop it from knocking on my door every ten minutes while writing code?&lt;/p&gt;

&lt;p&gt;When coding with AI, what truly drains your energy is never the few dozen seconds spent waiting for tokens to stream; it is the confirmation prompts popping up at random. Picture yourself diving deep down a complex call chain, painstakingly erecting a fragile mental scaffolding of logic, when a polite question suddenly appears in the corner of your screen: &lt;em&gt;"Should we use Option A or Option B here?"&lt;/em&gt; Even if you spend just ten seconds typing a two-word reply, by the time your eyes return to the editor, that scaffolding has collapsed. Climbing back up the ladder to where you were easily takes fifteen or twenty minutes. Get interrupted a dozen times a day, and your contiguous blocks of focus are shredded into confetti.&lt;/p&gt;

&lt;p&gt;Human thought relies on momentum. Reading unfamiliar code requires constructing a map in your head; weighing two designs requires laying out constraints one by one. AI operates on the exact opposite principle—its execution is inherently fragmented. It can pause at every step to wait for you, and the cost of asking a question is practically zero. Left unconstrained, it will politely interrupt you at every microscopic ambiguity.&lt;/p&gt;

&lt;p&gt;That is why I built &lt;code&gt;spec-flow&lt;/code&gt;, a local orchestrator inside &lt;code&gt;dockit&lt;/code&gt; (&lt;a href="https://github.com/13813385093/dockit" rel="noopener noreferrer"&gt;https://github.com/13813385093/dockit&lt;/a&gt;). The goal was never to make the model magically smarter or teach it to "ask less," but to lock the permission to interrupt behind deterministic engineering rules.&lt;/p&gt;

&lt;h3&gt;
  
  
  I. Caging the Interruptions: Three Hours Up Front, Five and a Half Hours Unbroken
&lt;/h3&gt;

&lt;p&gt;Consider the timestamps from an actual run a few days ago:&lt;/p&gt;

&lt;p&gt;At 16:04 on November 21, I kicked off a &lt;code&gt;spec-flow&lt;/code&gt; run, entering the issue discussion phase. By 19:07, the objectives, definitions, and delivery sequence for five tightly coupled features were locked down, and the discussion closed. By 00:42 the next morning, implementation, cross-review, and branch merges for all five features were complete.&lt;/p&gt;

&lt;p&gt;For those first three hours, I never left my chair, going toe-to-toe with the AI. It surfaced ambiguities and edge cases in the specs item by item; I queried the local database, made the calls, and pressed for details. From 7:07 PM until 12:42 AM—five and a half straight hours of automated execution—it did not pop up to bother me once.&lt;/p&gt;

&lt;p&gt;This is by no means some fantasy of "eight hours of unattended autonomy." Human involvement did not vanish into thin air; it was forcefully compressed and shifted into the three hours before a single line of production code was written. Interruptions transformed from torture into something entirely acceptable because permissions were partitioned: &lt;strong&gt;the discussion phase exists to be interrupted; the execution phase forbids interruption by default&lt;/strong&gt;. When those questions arrive inside a block of time I have already set aside for architectural decisions, they fuel deep thinking. Scattered across five and a half hours of coding, they are a catastrophe.&lt;/p&gt;

&lt;p&gt;To understand what those three hours were actually guarding against, a bit of context on the task is necessary. I am building a purely local memory store for a coding agent—zero external services, built entirely on local files and embedded storage. During a coding session, every tool call, return payload, and human message is persisted chronologically as an event stream. When the next session spins up, the system must accurately retrieve historical context, or fold and compress older entries when the context window approaches its budget ceiling.&lt;/p&gt;

&lt;p&gt;This round required shipping five sequential capabilities: pairing tool calls with their return results, slicing continuous event streams into discrete "work units," tagging those units, recalling historical units verbatim on demand, and folding old units under a budget. It is an interlocking pipeline—if an upstream data definition drifts by an inch, all four downstream features have to be torn down and rebuilt.&lt;/p&gt;

&lt;p&gt;During that three-hour tug-of-war, the AI fired off dozens of granular questions. Three seemingly minor definitions stood out—had I not inspected the live database and settled them before starting, execution would inevitably have ground to a halt:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The yardstick for length.&lt;/strong&gt; Budget folding requires defining how to measure the "length" of a piece of content. The initial draft naturally defaulted to token counts. Rather than guessing, I had the agent sample distributions directly from our historical database. The numbers told a different story: the vast majority of recorded tokens came from underlying cache read overhead, leaving the ratio of character count to token count hovering around &lt;code&gt;0.08&lt;/code&gt;—bearing almost no correlation to actual text volume. Using that metric for compression budgets would be like tailoring a suit with a ruler unrelated to the length of the cloth. We tore it up on the spot: everything switched to character counts, and all downstream budget modules were updated in sync. Discovering that mid-coding would have meant building two features, hitting a wall, stopping to ask, rewriting implementations and unit tests, and burning half a day.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Slicing boundaries for a "work unit."&lt;/strong&gt; The original design doc defined a "turn" cleanly: one tool call immediately followed by its return result. On paper, flawless. Diving into the real event stream revealed that &lt;code&gt;59.8%&lt;/code&gt; of tool calls had asynchronous background events—task state transitions, progress logs—interleaved between the call and its return. Slicing by literal adjacency would have yielded exactly zero valid units from real data. We replaced static adjacency with a dynamic time window: everything from the initiation of a tool call until all corresponding results return is swept into that single unit. Re-running the new rule against historical data carved out over a hundred thousand work units, averaging &lt;code&gt;2.3&lt;/code&gt; events each. A discrepancy like this never triggers a compiler error or fails a unit test; it silently warps the upper-level index until integration testing ends in total ruin.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Unit IDs and rebuild consistency.&lt;/strong&gt; Every work unit carries a hash ID computed from &lt;code&gt;session_id + start_offset&lt;/code&gt;, while the memory store allows full rebuilds after event deletions or rule adjustments. The trap was subtle: after a rebuild, the end offset for a given start offset might shift, yet the hash ID remained identical. Downstream consumers holding an old ID wouldn't get an error—they would silently read altered content. So we added a hard rule during discussion: any reference to a unit ID must persist the fingerprint of the slicing rules active at that moment. Reads enforce fingerprint validation; a mismatch invalidates the reference immediately, with silent fallback strictly prohibited.&lt;/p&gt;

&lt;h3&gt;
  
  
  II. The Silent Ledger: State Machines and "Circuit-Breaking on Zero Evidence"
&lt;/h3&gt;

&lt;p&gt;When the discussion phase closes, decisions cannot simply remain floating in conversation history—once a thread grows long enough, context gets compressed. Every consensus must be structurally persisted into plain specification files: those three hours distilled into 6 core resolutions, each bound explicitly to its target spec documents, alongside a frozen delivery checklist dictating build order. Meanwhile, every decision rationale and dispute during execution is maintained in tabular form inside a local ledger.&lt;/p&gt;

&lt;p&gt;Once execution begins, the primary session steps back into a &lt;strong&gt;PM (Project Manager)&lt;/strong&gt; role, dispatching two sub-agents with strictly isolated contexts: &lt;strong&gt;tech&lt;/strong&gt; for implementation, and &lt;strong&gt;reviewer&lt;/strong&gt; for black-box verification. There is no room for casual chatter between them—only cold, rigid communication boundaries:&lt;/p&gt;

&lt;p&gt;When &lt;code&gt;tech&lt;/code&gt; encounters an ambiguity in the specs while coding, it is forbidden from pausing to ping me; it must log the question into the reconciliation table. When &lt;code&gt;reviewer&lt;/code&gt; spots a flaw, it can only write it into the review report. The PM then sweeps the reconciliation list—checking the specs first. Wherever black-and-white precedent exists, the PM logs a proxy decision and closes the item. Yet one red line remains inviolable: &lt;strong&gt;every proxy decision must carry hard provenance&lt;/strong&gt;—citing a specific resolution ID, a verbatim quote from the discussion log, or a section of the spec. In uncharted territory not covered by the ledger, the PM is strictly forbidden from guessing via LLM "common sense"; it must immediately suspend the pipeline and escalate to me. Furthermore, any change to scope or acceptance criteria—no matter how trivial—triggers a mandatory escalation.&lt;/p&gt;

&lt;p&gt;Across those five and a half hours, pushing through all five features, &lt;strong&gt;86 reconciliation items&lt;/strong&gt; were closed and &lt;strong&gt;65 PM proxy decisions&lt;/strong&gt; were recorded in the ledger. The number of times the pipeline actually had to escalate and interrupt me due to missing precedent was &lt;strong&gt;zero&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Of course, specifications are hardly static truths carved in stone. While scaffolding the second feature, &lt;code&gt;tech&lt;/code&gt; cross-referenced the specs and caught three resolutions contradicting one another on edge details: one mandated measuring length by raw payload, another by extracted body text, and a third required UTF-16 code units while banning SQLite's native &lt;code&gt;length()&lt;/code&gt;. Instead of quietly picking one and moving on, &lt;code&gt;tech&lt;/code&gt; logged the collision in the reconciliation table. The PM checked the timeline, ruled in favor of the latest amendment, and marked the earliest resolution as &lt;code&gt;DEPRECATED&lt;/code&gt; in the spec. This mechanism does not guarantee flawless specs out of the gate, but it guarantees that whenever an agent hits a contradiction during execution, there is a place to register it, a role to adjudicate it, and an audit trail left behind. Any given issue is decided once across the entire pipeline; every downstream step simply looks up the verdict.&lt;/p&gt;

&lt;p&gt;Running uninterrupted for five and a half hours did not rely on a generational leap in model intelligence, but on two layers of almost stubbornly mechanical engineering constraints:&lt;/p&gt;

&lt;p&gt;The first is a &lt;strong&gt;deterministic finite state machine&lt;/strong&gt;. Inside &lt;code&gt;spec-flow&lt;/code&gt;, a directed graph of &lt;strong&gt;13 states&lt;/strong&gt; governs execution, writing runtime state live to &lt;code&gt;run.json&lt;/code&gt;. At any node, an agent has no need to recall the grand narrative of the project; its world is restricted to the card view rendered for the current state—the immediate objective, readable files, writable directories, exit criteria, and legal outbound transitions. The instant a run initializes, the state machine definition freezes as a snapshot inside the run directory. Halfway through this run, I upgraded the underlying toolchain twice, yet the in-flight pipeline marched steadily to completion against its frozen manifest copy.&lt;/p&gt;

&lt;p&gt;The second is &lt;strong&gt;strict context isolation&lt;/strong&gt;. The PM inherits the full memory of the discussion phase, giving it the grounding to adjudicate ambiguities. &lt;code&gt;tech&lt;/code&gt; receives only the specs, interface skeletons, and the ledger digest for its current state, focusing purely on code. &lt;code&gt;reviewer&lt;/code&gt; is completely blind to all prior discussions and implementation steps, performing cold black-box comparisons solely against the final code and specs. Over five cycles, &lt;code&gt;reviewer&lt;/code&gt; surfaced &lt;strong&gt;39 findings&lt;/strong&gt; and bounced &lt;strong&gt;21 items&lt;/strong&gt; back to &lt;code&gt;tech&lt;/code&gt; for rework. Almost all of them were fatal flaws where unit tests passed green while real concurrency or failure modes would crash—read-only query anomalies during version upgrade windows, lost data segments on unexpected process restarts, and build failures from cross-package circular imports. By the end, the codebase grew by over &lt;strong&gt;14,000 net lines&lt;/strong&gt;, more than &lt;strong&gt;4,000&lt;/strong&gt; of which were tests. On an acceptance state card, "I'm done coding" never counts as a passing condition; the state machine refuses to advance without verifiable test and review artifacts.&lt;/p&gt;

&lt;p&gt;In truth, the eight underlying capability skills were already working in the previous version. All I added this time was a lightweight local orchestrator doing something almost tedious in its simplicity: encoding "who gets dispatched, which files are visible, and where the checkpoints sit" into a finite state machine and plain-text ledgers.&lt;/p&gt;

&lt;h3&gt;
  
  
  III. Boundaries and Solitude
&lt;/h3&gt;

&lt;p&gt;As usual, let me lay out the boundaries of this approach clearly so no one mistakes it for a silver bullet:&lt;/p&gt;

&lt;p&gt;It solves nothing regarding autonomous multi-agent negotiation—the peer-to-peer communication, permission whitelists, and communication quotas from my previous post have nothing to do with this. &lt;code&gt;spec-flow&lt;/code&gt; remains a strict master-worker hierarchy; spawning and reclaiming sub-agents still relies on native harness capabilities, while I simply use a state machine to keep them on deterministic rails. Nor is it meant for piecemeal daily maintenance. Fixing an isolated bug, triaging a production outage, or untangling a half-written messy branch through a heavy 13-state workflow is a pure waste of life—direct conversation is far faster.&lt;/p&gt;

&lt;p&gt;More importantly, automated proxy adjudication still carries blind spots. "Escalate on zero evidence" prevents the PM from hallucinating in a vacuum, but if a ledger entry is ambiguously worded and the PM confidently cites a flawed interpretation to make a call, downstream steps will not automatically sound an alarm—unless, as happened earlier, it collides head-on with another rule. Ultimately, the smoothness of those five and a half hours depends entirely on the rigor of the three-hour discussion preceding them. If you get lazy during discussion and wave a hand saying, &lt;em&gt;"You figure it out,"&lt;/em&gt; the next five and a half hours quickly degenerate into the AI making architectural decisions on your behalf—and unwinding that afterward is an expensive mess.&lt;/p&gt;

&lt;p&gt;At 12:42 AM, the final merge log scrolled past the terminal, and the cooling fans gradually spun down. Outside the window, the night was deep; inside, only the faint glow of the monitor remained. Once the coordination workflow clicked into place, what the AI actually saved me wasn't the time spent typing several thousand lines of code—it was handing back control over my own uninterrupted blocks of thought, letting me experience once again, in the quiet of the night, that long-lost, unbroken flow of mind.&lt;/p&gt;

</description>
      <category>aicoding</category>
      <category>collaboration</category>
      <category>engineeringpractice</category>
    </item>
    <item>
      <title>Coordination: The Last Human Step</title>
      <dc:creator>Jo Yet</dc:creator>
      <pubDate>Sun, 22 Nov 2026 07:21:20 +0000</pubDate>
      <link>https://dev.to/joyet/coordination-the-last-human-step-5ggj</link>
      <guid>https://dev.to/joyet/coordination-the-last-human-step-5ggj</guid>
      <description>&lt;p&gt;At the end of the previous post I drew a line: a capability pack only covers how a single feature gets implemented faithfully. It lets an Agent take a spec and do the work right, but it can't address another question — who coordinates the space between one piece of work and the next.&lt;/p&gt;

&lt;p&gt;This post is about the gap on the other side of that line. One caveat first: the previous four posts describe assets that have actually run on our internal projects. This one doesn't. The shape of this layer is still being validated, so I can't give you "configure it like this and it will run" — all I have is an architectural argument.&lt;/p&gt;

&lt;h3&gt;
  
  
  Multi-Agent Is Not Copying the Capability Pack a Few Times
&lt;/h3&gt;

&lt;p&gt;The previous four posts dealt with a single Agent's ability to execute: hand it a &lt;code&gt;ProjectSpec&lt;/code&gt;, hand it eight SKILLs, and it discusses the issue chain, implements the delivery chain, and verifies the evidence chain. In that slice, the capability pack is an enhancer.&lt;/p&gt;

&lt;p&gt;But the moment you step into multi-Agent territory, the problem moves to a different dimension. Multi-Agent is not simply a matter of copying those eight SKILLs a few times and handing each Agent a set. The first thing multi-Agent has to face is a scheduling problem.&lt;/p&gt;

&lt;p&gt;The model is the base capability, the Agent is the model's driver, and above that you need a scheduling controller. The model provides understanding and generation, the Agent turns the model into a role that can carry out a concrete task, and the scheduling controller decides who does the work, who talks to whom, when the work counts as done, and when it's time to call in a human.&lt;/p&gt;

&lt;p&gt;That scheduling layer should never be another "super Agent", and it should never be hard-wired to one particular Agent. It has to be a protocol. Down the stack it adapts to many kinds of Agent; up the stack, Agents can mount many kinds of model. Only then can users compose freely around a task goal: which kind of Agent, how big a communication budget, who it is allowed to contact — all of that is handled by the protocol layer instead of being locked in by some rigid toolchain.&lt;/p&gt;

&lt;p&gt;That is the first principle of multi-Agent work — &lt;strong&gt;composable scheduling&lt;/strong&gt;. Stand up the protocol layer first and decouple models, Agents, and task goals completely; only then do safety, permissions, and budgets have somewhere real to land.&lt;/p&gt;

&lt;h3&gt;
  
  
  Human Time Still Gets Eaten by Coordination
&lt;/h3&gt;

&lt;p&gt;Take the most common scene. An engineering lead's afternoon is usually chopped into pieces: align with product on a requirement's boundaries, confirm a technical choice with the architect, pull two people together to sync progress, and in between answer a few messages asking "who should I talk to about this".&lt;/p&gt;

&lt;p&gt;There is a harsh fact buried in that afternoon: almost nothing he did required real technical judgement. All of it was process coordination.&lt;/p&gt;

&lt;p&gt;If nobody does these things the system falls apart, but the time they take comes out of the same pool as thinking about architecture and making technical decisions. Once AI entered the picture, this crowding-out effect got worse, not better. Code generation got faster and tests run faster, but the speed of collaboration didn't change at all. People are still pinned to every handoff point, restating and signing off. The faster execution gets, the more fatal the congestion in coordination becomes.&lt;/p&gt;

&lt;p&gt;So what multi-Agent has to take over is not "a few more lines of code" but coordination itself. And coordination is not something you can let go of by saying "you all talk to each other". One point I keep stressing to my team: &lt;strong&gt;a result from an uncontrolled process means nothing&lt;/strong&gt;. If the method is right, then even when the result goes wrong for a while we know which point to correct; if the method is wrong, a "correct" result that came out of a lucky fluke only plants a bigger risk. When you hand a goal to an Agent, if you lose control of the process, the output you get is guaranteed to be a disaster. Making the process controllable and auditable depends on that scheduling protocol — the task, the role, the communication, the context, and the stop-loss point, all of it defined clearly.&lt;/p&gt;

&lt;h3&gt;
  
  
  Data Doesn't Leave the Domain: The Hard Constraint on Landing the Protocol
&lt;/h3&gt;

&lt;p&gt;Once the protocol layer lets Agents pass conclusions and requests directly to each other, you hit a wall right away: where do those messages travel, who judges the permissions, and does the trial-and-error process count as sensitive data?&lt;/p&gt;

&lt;p&gt;At that point "interaction doesn't leave the domain" has to be put on the table as a hard constraint. Who proposed what, who rejected what, which path was abandoned as a dead end — these intermediate states of trial and error are often more sensitive than the final conclusion. If every round of scheduling has to go through an external service, then the discussion itself is a continuous data leak.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Five Things the Protocol Layer Has to Build
&lt;/h3&gt;

&lt;p&gt;Handing coordination to Agents means rebuilding, in the protocol layer, the five mechanisms that human organizations already have:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;First, context isolation.&lt;/strong&gt; Letting Agents share context causes serious cross-contamination — one Agent's hallucination or intermediate reasoning seeps in and distorts another's judgement. Every Agent has to have its own context, and may only pass "conclusions and requests" through an abstract channel (a ticket, for example). Passing "the thinking process" must never be allowed. The isolation here is &lt;strong&gt;isolation of the protocol channel&lt;/strong&gt;, not the protocol layer taking custody of an Agent's internal state. The protocol layer only makes sure contexts don't bleed into each other; it doesn't touch how an individual Agent splits, compresses, or records its own context.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Second, roles and responsibilities.&lt;/strong&gt; An Agent with a name but no responsibilities will either accept everything or refuse everything. Responsibilities exist to mark the boundary of accountability — what it should do, and what it should ask for help with. That boundary has to be stated explicitly in the protocol; it can't rest on some vague tacit understanding of context.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Third, communication permission.&lt;/strong&gt; Hard-code the collaboration flow and it jams; leave it open and it becomes chaos. The right answer is: permissions fixed, flow open. People only compose a whitelist of who may ask whom questions and who may report to whom. Once that is configured, how the work actually moves and how many rounds it takes is decided by the Agents inside the whitelist. People don't need to predict the flow; they only need to draw the permissions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fourth, communication budget and escalation.&lt;/strong&gt; The failure mode more hidden than token consumption is two Agents going back and forth on one question, making no progress, until the ticket is completely stuck. Governing dialogue turns is more direct than governing tokens. Any time a ticket passes into an Agent's hands, the number of conversations it may start needs its own absolute budget. If the budget runs out with no conclusion, the ticket is suspended immediately and the user is called. This is not a technical patch against infinite loops — it is a hard interface between human and machine, forcing the user to step in at that moment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fifth, a record of the interaction.&lt;/strong&gt; Keeping a record matters not only for monitoring while things are happening, but more importantly for precise auditing afterwards. What gets recorded is not just the message text; it also has to include the decision metadata of the context's lifecycle: when it was switched, when it was compressed, what the compression was based on, and whether it is still locally addressable. The core of an audit is &lt;strong&gt;decisions&lt;/strong&gt;, not the residual text left after compression. Only with this data can users keep tuning the Agents' collaboration network.&lt;/p&gt;

&lt;p&gt;These five things happen to fill out the core definition of a scheduling protocol. The protocol doesn't lock down a specific flow; it constrains interfaces and boundaries only, which is what makes downward multi-Agent adaptation and upward free composition of tasks possible.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Self-Governing Boundary of Context and Memory
&lt;/h3&gt;

&lt;p&gt;Once those five mechanisms stand up, one gap remains, and it is easily hidden by the phrase "context isolation": the protocol layer says what Agents may not pass to each other, but it never answers &lt;strong&gt;who manages an Agent's own context and memory&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;In the single-point human-driven mode, the user makes lifecycle decisions for the Agent by hand: switch the session when a topic ends, clean up proactively when usage runs high. But in automated scheduling mode, that decision authority can only be delegated. Delegated to whom?&lt;/p&gt;

&lt;p&gt;The answer: &lt;strong&gt;it has to be delegated entirely to the Agent itself&lt;/strong&gt;. Context management and memory management are two sides of one thing; they are a single Agent's internal craft and should never be taken over by the protocol layer. If the protocol layer starts deciding which memory to keep and when to compress, it not only locks down the Agent's autonomy but makes the protocol itself immensely bloated.&lt;/p&gt;

&lt;p&gt;They are two sides of one thing because &lt;strong&gt;context is memory's cache layer, and memory is context's persistence layer&lt;/strong&gt;. Which piece of information in the active window is worth sinking into long-term memory? Which piece of long-term memory needs to be woken up again? When does the current working memory's scope end? The logic at each end interlocks with the other. Only when one Agent schedules both of them does information compression become a reversible operation — a degraded representation that keeps a handle for retrieval — instead of lossy destruction that is gone once compressed; and only then can recall be a targeted search driven by what a ticket needs instead of mindlessly dredging up the past.&lt;/p&gt;

&lt;p&gt;So &lt;strong&gt;the isolation is channel isolation, never the protocol layer taking over as custodian&lt;/strong&gt;. The protocol layer manages neither context nor memory. It only draws ticket boundaries for the Agent, issues budget signals, and receives lifecycle metadata for scheduling and auditing. How context is split, how memory is stored, how compression is done — all of that goes back to the Agent's own self-governance. It falls outside the five mechanisms, yet it is the physical precondition for those five to hold.&lt;/p&gt;

&lt;h3&gt;
  
  
  People Go Back to the Place of Judgement
&lt;/h3&gt;

&lt;p&gt;Taken together, this machinery is not meant to push people out of the picture. It is meant to return their energy to the only place it belongs: &lt;strong&gt;judgement calls&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Engineering has an eternal hard problem: getting things right is hard, but deciding to do the right thing is harder. In the R&amp;amp;D chain ahead, who is better suited to getting things right? AI. Give it a clear enough spec and it will check every line of code and enforce every rule without tiring. Who is better suited to thinking about what the right thing is? People. Whether a piece of work should be done at all, which of two architecture options to pick, when to cut losses in time — Agents still can't do these, and shouldn't be asked to.&lt;/p&gt;

&lt;p&gt;So letting Agents take over coordination is not because AI has become a substitute for human decisions. It's the opposite: once AI has drained away the mass of process restatement and mechanical handoffs, it is in effect pushing people back onto the one position that truly can't be replaced — making the calls that nobody else can take responsibility for.&lt;/p&gt;

&lt;h3&gt;
  
  
  Preview and Boundaries
&lt;/h3&gt;

&lt;p&gt;As usual, let me be clear about the boundaries of this argument.&lt;/p&gt;

&lt;p&gt;It doesn't cover whether a single Agent is capable enough — that is what the previous four posts on capability packs are for. It doesn't guarantee that the person who gets called can make the right decision — the system only guarantees that the call for help happens at the right point; it can't make up for someone's level of skill. And it doesn't promise that these five mechanisms are the end state; there could easily be a sixth or a seventh that hasn't been discovered yet.&lt;/p&gt;

&lt;p&gt;The previous four posts were about how to get AI to do things right. This one points at the next step — how to get multiple Agents and people to get things done together. The scheduling protocol is the clear gap I can see right now: it really exists, but I don't yet have a complete answer for filling it.&lt;/p&gt;

</description>
      <category>collaboration</category>
      <category>engineering</category>
    </item>
    <item>
      <title>The Design Logic Behind Eight Skills</title>
      <dc:creator>Jo Yet</dc:creator>
      <pubDate>Wed, 18 Nov 2026 13:31:24 +0000</pubDate>
      <link>https://dev.to/joyet/the-design-logic-behind-eight-skills-265a</link>
      <guid>https://dev.to/joyet/the-design-logic-behind-eight-skills-265a</guid>
      <description>&lt;p&gt;In the previous post I said that the defenses we bought with real incidents eventually turned into eight concrete SKILLs. This post explains how to use those eight.&lt;/p&gt;

&lt;p&gt;Before I unpack them, one premise has to be settled: the tools serve the &lt;strong&gt;project specification document (ProjectSpec)&lt;/strong&gt;, because that document is the first-class citizen of the whole system. It is not only a document asset for people to read; it is a machine contract for AI to read. Its three layers, project, module, and feature, are kept strictly apart, and every hard constraint carries a number, so each one can be located and checked precisely.&lt;/p&gt;

&lt;p&gt;Why did this end up as eight SKILLs and not some other shape? Because those eight cover every stage from design to development to review. When I reach for one, I want to choose with a clear purpose in mind, not scan a long list.&lt;/p&gt;

&lt;p&gt;Why do these eight actions have the shape they do? The reasoning behind them is all here.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. The issue chain: holding the line between conversation and the record
&lt;/h3&gt;

&lt;p&gt;The most natural way to drive an AI is conversation, but conversation drifts badly. If the first step is to let the AI edit documents directly, the code and the docs will soon be unrecognizable. The four SKILLs in the issue chain exist to contain the loss of control between a discussion and a written record.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;spec-start&lt;/strong&gt;: fixes the problem of AI conversations that drift aimlessly. The judgment behind it: the agenda is the anchor. Without a list of open decisions that can be closed one by one, there is no way to tell whether the discussion is really over, and nothing to track afterwards.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;spec-pause&lt;/strong&gt;: handles running out of context, or picking the discussion up again later. The judgment behind it: saving progress is not the same as changing the design. It keeps a detailed session log along the way, and does not touch a single project document until a decision is formally settled. One caveat: this one is rarely used, and only when a discussion has to span more than one AI session.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;spec-close&lt;/strong&gt;: gets a discussion out of the meeting and into a document. The judgment behind it: a meeting is not over when the talking stops; it is over when each decision has been put into the right place in &lt;code&gt;ProjectSpec&lt;/code&gt;. A decision written at the wrong layer is worse than one never written, because it looks authoritative.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;spec-archive&lt;/strong&gt;: clears up the aftermath of an abnormal interruption that left dirty state behind. The judgment behind it: a fallback tool must have narrower permissions than the normal path. It only moves state around; it never goes beyond that to delete or modify a file.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What these four SKILLs protect is the core methodology from the second post: &lt;strong&gt;settle where the contract lives, layer by layer&lt;/strong&gt;. They make sure every action knows which things it should write and which things it must never write. In practice, though, only &lt;code&gt;spec-start&lt;/code&gt; and &lt;code&gt;spec-close&lt;/code&gt; see regular use.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. The delivery chain: keeping design and implementation from forking apart
&lt;/h3&gt;

&lt;p&gt;A design is never perfect, and mid-development you will always hit places that need adjusting. Insist on building exactly to the design and the mistakes get baked in; let the AI change whatever it likes and the code and the docs will fork. The four SKILLs in the delivery chain are there to open one controlled gap between those two extremes.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;spec-dev-loop&lt;/strong&gt;: fixes the problem of an AI that takes a requirement and starts writing at once, then declares its own work correct. The judgment behind it: freeze the code skeleton first, then hand out the actual implementation. The main Agent holds the whole picture and does the acceptance check; it does not take a subagent's word that the work is finished. This is probably the most complex of all eight. It starts a design review first: if it sees a conflict in the design, or a description it finds unclear, it asks the user and records the questions in the development log. Once development really begins, it checks the branch state of the local repository, opens a new branch prefixed &lt;code&gt;dev-loop/&lt;/code&gt;, and makes every change on that branch. When the main Agent has finished acceptance and committed the changes, it notifies the user to review and asks them to merge the branch by hand.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;spec-code-review&lt;/strong&gt;: fixes the case where the design is changed during development and the docs go stale. The judgment behind it: a code review is not a score for the code; it puts the evidence of a mismatch in front of a person. That is where the decision belongs: change the code, or change the document. It is also the only route by which documents get synced back from code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;spec-code-smell&lt;/strong&gt;: deals with code quality. The judgment behind it: a code review only settles whether the implementation matches the design, while bad smells are the natural enemy of code quality itself.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;spec-smart-git&lt;/strong&gt;: fixes the everything-in-one commit that cannot be rolled back on its own. The judgment behind it: commit granularity now is rollback granularity later. Split by logical intent, never by how much work this session happened to cover.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What these four protect is the other half of the core idea from the second post: &lt;strong&gt;constraints have to be executable&lt;/strong&gt;. They turn "the AI says it got it right" into "here is evidence a machine can check".&lt;/p&gt;

&lt;h3&gt;
  
  
  3. The honest limits
&lt;/h3&gt;

&lt;p&gt;These eight SKILLs are not a full-lifecycle bundle assembled for completeness; each one is a defense built for a particular stage. It is worth knowing what they can do, and knowing even more clearly what they &lt;strong&gt;do not solve&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;They do not replace human judgment&lt;/strong&gt;: deciding which conventions count as hard constraints, or which of two architectures to pick, is still on you. A SKILL only guarantees that what has already been decided is not worked around; it does not guarantee that you thought it through. That is why we refuse to add one-click execution to them.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;They do not guarantee the design is correct&lt;/strong&gt;: they can only surface drift and mistakes earlier. Fixing them still needs a person to make the call (which is also why code review has to be a human decision).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;They do not interfere with the release process more than they have to&lt;/strong&gt;: different engineering teams have their own CI/CD rules, and a package should stay out of those internal flows as far as possible. Being able to run independently matters.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  4. Running the first Loop in 30 minutes
&lt;/h3&gt;

&lt;p&gt;Having read this far, I still would not send you straight into the long documentation. The fastest way in is to spend 30 minutes getting one minimal Loop to run.&lt;/p&gt;

&lt;p&gt;Initialize the project and load the SKILLs, then open an issue, talk through one small decision, save once, and close once. In that minimal pass you will see for yourself how the agenda gets confirmed, how the discussion gets sealed away, and how the decision finally lands in exactly the right layer of the document. The point of the Loop is not to exhaust every feature; it is to find out whether this way of thinking meshes with your real project.&lt;/p&gt;

&lt;p&gt;The full eight-SKILL package and its GitHub address are now officially open source: &lt;code&gt;https://github.com/13813385093/dockit.git&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The readme at the repository root is the full, working implementation of the methodology from the second post.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is the end of the introduction to this software development package. It is only about how one single feature gets implemented faithfully. But zoom out: the package makes one Agent run as expected. Getting 10 Agents to work in parallel moves the question to another level. Who is allowed to talk to whom? How is context managed? How do you define the job of each different Agent? Can Agent A and Agent B work on the same task together? And how do you keep the costs from spiraling?&lt;/p&gt;

&lt;p&gt;Next time I want to talk about what lies outside the package.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>engineering</category>
    </item>
    <item>
      <title>Starting from v0: Why Plan the Tools, and a Few Real Problems</title>
      <dc:creator>Jo Yet</dc:creator>
      <pubDate>Sat, 14 Nov 2026 12:09:26 +0000</pubDate>
      <link>https://dev.to/joyet/starting-from-v0-why-plan-the-tools-and-a-few-real-problems-57cf</link>
      <guid>https://dev.to/joyet/starting-from-v0-why-plan-the-tools-and-a-few-real-problems-57cf</guid>
      <description>&lt;p&gt;In the second post we worked out why the documentation had to drop horizontal layering and switch to a vertical organization along three levels: project, module, and feature. Most people's first reaction to this is: the structure is clear, so let's get the team writing docs against the new template right away.&lt;/p&gt;

&lt;p&gt;Can people write it? Yes. But there's no need to.&lt;/p&gt;

&lt;p&gt;If we still leave people to maintain this structure by hand, the whole system loses its main point. Traditional documentation falls behind the code and contradicts itself for one basic reason: it depends on people reconciling it by hand inside a fast development rhythm. In the age of AI coding, AI can generate twenty features' worth of code in an afternoon. If people are still expected to update the docs by hand, they become the slowest physical bottleneck in the whole development chain.&lt;/p&gt;

&lt;p&gt;Since we have already nailed down the structure of the new documentation, defined each section, and made the boundaries clear, maintaining the docs is something we fully can — and should — hand to AI.&lt;/p&gt;

&lt;p&gt;So for this documentation system to actually run, we should plan a dedicated set of tools for it. The job of those tools is to let AI read and write documents in a strict format and track constraints automatically, instead of having a person open a Markdown editor and type. That line at the end of the second post — "every hard constraint that must be followed... can never fall back on manual review" — was about this toolchain.&lt;/p&gt;

&lt;p&gt;But this toolchain wasn't designed perfectly on paper from the start. Today's shape is what it became through use in our own projects. The whole thing has gone through a dozen or so versions from v0 to now; below I've picked the three pitfalls that hit us hardest.&lt;/p&gt;

&lt;p&gt;Looking back, those three pitfalls map exactly onto three ways a line of defense in the tooling can fail: never installed, installed wrong, installed too late.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Capability layer mismatch: the defense was never installed
&lt;/h3&gt;

&lt;p&gt;On one project I upgraded the execution toolchain to a new version but only got around to updating the matching model capability file a few days later. Neither side reported an error. Everything looked normal.&lt;/p&gt;

&lt;p&gt;The problem showed up when creating an "issue". An issue is the core action in our tool-driven doc maintenance: list the technical proposals up for discussion, review them one by one, and only after one is chosen does the tool write it to disk. The issue created for review that day was inexplicably missing two options.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Misdiagnosis&lt;/strong&gt;: my first reaction was model drift. This had happened before: while restructuring content, the model treated old entries as outdated information and cleaned them up. For that reason I had added a hard constraint to the prompt — the content of an issue under review may only grow, never shrink. This time that rule failed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cause&lt;/strong&gt;: tracing it down, the problem wasn't in the model at all. The execution tool had been upgraded, but the capability file on the model side hadn't kept up: the old capability file contained no instructions for calling the new tools. And that "only grow, never shrink" review constraint happened to be mounted on a base layer that requires the new tool's identifier. Without that identifier, the whole review rule never got loaded into the context.&lt;/p&gt;

&lt;p&gt;Worse, the underlying tool did report an error, but the first thing in the chain to catch it was the model, not a person. When a call failed, the model just tried a different phrasing and kept going; the error was quietly digested by the AI.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Defense&lt;/strong&gt;: after that, I stopped treating a tool upgrade as "replacing a binary". The capability layer, the instruction layer, and the version declaration are now bound tightly into one release unit: they go up together, and if a layer is missing, the thing refuses to start.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Judgment: a line of defense that exists is not a line of defense that works.&lt;/strong&gt; A constraint written in a file is not a defense; only one successfully loaded into the context is. The first is a static documentation problem, the second a dynamic runtime problem — and the one that fails is usually the second.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Interface mismatch: the entrance was installed wrong
&lt;/h3&gt;

&lt;p&gt;Once I used the tool to update the documentation for the system log library. The intent was to add a new section, "audit channel", while keeping the existing "runtime log" section.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Symptom&lt;/strong&gt;: while the AI was generating, I glanced at the tool-call log and saw it pass empty content to the "runtime log" section. I didn't think anything of it at the time. But when I opened the document, the previously fine "runtime log" section was gone entirely.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Misdiagnosis&lt;/strong&gt;: revert, redo. The second time I watched closely: same place, same empty content, same vanished section. At first I assumed model drift again and hoped a redo would get lucky. But landing in the same pit twice in a row, the same way both times, can't be put down to chance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cause&lt;/strong&gt;: the fault was in the tool's API design: the write tool didn't check for empty input. Pass empty content in, and the underlying logic treated it as deleting that section. Write and delete shared a single entrance — a null value carried two opposite meanings at once: "do nothing this time" and "delete this whole section".&lt;/p&gt;

&lt;p&gt;From the AI's point of view, it only wanted to keep that section exactly as it was, and the most intuitive way to say that was to pass empty (it reasoned that if it wasn't changing anything, there was no need to regenerate it). The underlying tool received the null and faithfully executed a delete. And because our documents demand extremely strict paragraph structure, that tidy structure made "replace the whole section by structure" look like a completely safe move. Which is exactly what hid the risk: an operation being easy doesn't mean it's correct.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Defense&lt;/strong&gt;: afterwards, "write" and "delete" were split into two separate methods for good. The write operation strictly forbids empty values, and delete became a high-risk action that must be called explicitly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Judgment: destructive semantics must never hide in a default value.&lt;/strong&gt; Leave a parameter empty and a person reads "no change", while the tool reads "clear it". Irreversible operations have to be blocked explicitly at the entrance; you can never count on the caller — human or AI — to remember "don't pass empty" out of tacit agreement.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Commit granularity: the defense was installed too late
&lt;/h3&gt;

&lt;p&gt;Strictly speaking this one isn't a coding pit. It's the cost of a mental habit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Symptom&lt;/strong&gt;: a technical proposal needed adjusting, and I planned to roll back a &lt;code&gt;feat&lt;/code&gt; commit from a few days earlier as a whole. It turned out I couldn't roll it back at all — that commit had a documentation update, two new features, and an interface I'd refactored along the way all mixed into one. Rolling back meant throwing out the whole lot, and half of that code was code I wanted to keep.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Misdiagnosis&lt;/strong&gt;: in traditional hand-written development I would most likely have taken the shortcut too and squashed an afternoon's work into one commit. I had always assumed that one commit represents one development intent, and that rolling back means returning to before that intent happened.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cause&lt;/strong&gt;: AI tools shattered that premise. In one afternoon AI can finish a documentation revision plus three features; physically those things happen at the same time, but logically they are four completely independent intents. When I sliced commits by "how much work got done this time", what I cut wasn't logical intent at all — it was a block of physical time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Defense&lt;/strong&gt;: the commit flow was later changed to semantic splitting by &lt;code&gt;pathspec&lt;/code&gt;: new feature &lt;code&gt;feat&lt;/code&gt;, refactor &lt;code&gt;refact&lt;/code&gt;, defect fix &lt;code&gt;fix&lt;/code&gt;, proposal update &lt;code&gt;docs&lt;/code&gt;, test cases &lt;code&gt;test&lt;/code&gt;, miscellaneous &lt;code&gt;chore&lt;/code&gt;, each one its own commit. Judging the semantics and drawing the boundaries went to the AI — it reads a diff accurately enough to tell what's new and what's refactored, far better than a human eye scanning it; the person only reviews whether the split makes sense and no longer performs it by hand.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Judgment: commit granularity must be cut by "the smallest intent that might need to be rolled back on its own", never by "how much work got done this time".&lt;/strong&gt; You think a commit records "what I did"; what it actually decides is "what can be undone separately later". Once a commit mixes several intents, the right to roll back one of them separately is gone for good. That right isn't lost on the day you roll back — it's lost the moment you press Commit.&lt;/p&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;These three pitfalls share one thing: &lt;strong&gt;at no point could anyone see an error.&lt;/strong&gt; The first one's error was swallowed by the model, the second one's delete was a "successful" call, and the third one's one-pot commit looked entirely compliant at the time. All of them were hidden problems that only showed their true shape in the post-mortem.&lt;/p&gt;

&lt;p&gt;So the job of tools is never just to make AI faster. It's to make hidden errors less likely to happen, and to force them into view as fast as possible once they do — which is also the essence of a harness.&lt;/p&gt;

&lt;p&gt;Honestly, this system still can't catch "a line of defense nobody thought to build". These three pitfalls were all lessons bought with real incidents; the places where nothing has gone wrong yet are probably still blind spots. Tools can backstop the rules that have already been written down, but not the ones nobody has thought of yet.&lt;/p&gt;

&lt;p&gt;In the next post I'll take apart the eight SKILLs one by one: what problem each development capability package actually solves, which judgment sits behind it, and how you can get them running in a real project.&lt;/p&gt;

</description>
      <category>engineering</category>
      <category>ai</category>
    </item>
    <item>
      <title>Reorganizing Documentation: Layering Logic and Judgement</title>
      <dc:creator>Jo Yet</dc:creator>
      <pubDate>Wed, 11 Nov 2026 12:47:20 +0000</pubDate>
      <link>https://dev.to/joyet/reorganizing-documentation-layering-logic-and-judgement-497e</link>
      <guid>https://dev.to/joyet/reorganizing-documentation-layering-logic-and-judgement-497e</guid>
      <description>&lt;p&gt;In the last post I argued that when AI writes code, the contracts between features tend to break down everywhere at once, because nothing carries them from one session to the next. To answer "how should that carrier be organized", I have to go back to a more basic starting point that usually gets skipped: why does project management need documentation at all? If I can't answer why, I can't answer how.&lt;/p&gt;

&lt;p&gt;Conventional wisdom reduces the value of documentation to three things: it brings everyone involved to a shared understanding (so nobody's memory of a meeting drifts), it guides later development (it is the basis for requirements and interfaces, and it settles the technical approach), and it serves as evidence for future decisions (even the author forgets why a library was chosen three months later). Those three define the baseline property of documentation: it has to cover who needs to know what, not just who is responsible for writing what.&lt;/p&gt;

&lt;p&gt;But the traditional horizontal split by job function is organized around precisely that: who is responsible for writing what.&lt;/p&gt;

&lt;h3&gt;
  
  
  How Horizontal Layering Fails, and the Pain of Duplication
&lt;/h3&gt;

&lt;p&gt;In the traditional setup, requirements belong to product, architecture to the architect, interfaces to developers, black-box and white-box cases to QA, and final sign-off to some manager whose role is anyone's guess. This assumes something: that somewhere in the process sits a Mr. Key who holds the complete context and can connect the documents to one another. Once AI enters the process, the execution boundaries between roles start to dissolve. AI is not one link in the chain; it is in every link.&lt;/p&gt;

&lt;p&gt;Faced with that shift, horizontal layering reveals a fatal structural flaw: the context around one matter gets scattered, so duplication means inconsistency.&lt;/p&gt;

&lt;p&gt;Here is a real case from our own work. The interface encryption policy applies to every module. Under the traditional horizontal system, every module's interface document reproduced the encryption method and the key-fetch logic. Encryption and decryption as interface behaviour can reasonably be declared inside each module. But key management is a global policy, and it should have exactly one authoritative source. When the security policy changed, the owners of three modules each updated their own document, and they ended up with three versions that contradicted each other — one of them even had the public and private keys deployed in the wrong places. Then AI, generating code for a new module, dutifully read one of the wrong documents, and the output came out in direct conflict with the global security policy.&lt;/p&gt;

&lt;p&gt;This is not carelessness. It is a mismatch at the organizational level: the global contract called key management has no single physical location of its own in a horizontal split. Set a few contradictory documents in front of someone and even a senior engineer has to guess; AI has no basis at all for deciding which one is authoritative.&lt;/p&gt;

&lt;h3&gt;
  
  
  Vertical Modularity and Progressive Disclosure
&lt;/h3&gt;

&lt;p&gt;If both people and AI are to read contracts precisely, the main axis cannot be the horizontal cut by document type (requirements / design / test). It has to change to &lt;strong&gt;vertical modular organization by layer&lt;/strong&gt;.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Project level (shared at the top):&lt;/strong&gt; this is where global contracts are gathered. Project background, technology stack choices, user persona analysis. Global security constraints like key management, and the standards for how modules connect to one another, all live here, and only here, in a single copy. Change it once and everything is bound by it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Module level (owning the boundary):&lt;/strong&gt; this defines what a module does and what it does not. Which capabilities it offers outward, which external capabilities it depends on, how its core domain model (DDD) is designed — all of that is settled at this level. It does not supply the implementation, but it is the principle the implementation follows.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Feature level (behaviour spec):&lt;/strong&gt; this focuses on the concrete logic of a single feature. How the feature is triggered, how it handles exceptions, and what its tests and acceptance scenarios are.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Why vertical modularity rather than horizontal layering? Because horizontal layering leaves one feature's context scattered across repositories or folders that sit far apart, and AI cannot load even a minimal complete context. Vertical organization means everything known about a feature — design, decisions, tests — sits in one slice; that slice can be traced upward precisely and inherits the constraints set at the module and project levels. That is far friendlier to AI.&lt;/p&gt;

&lt;p&gt;Take our message bus module, where we decided to adopt the Gossip protocol as the mechanism for syncing cluster data. In the vertical structure we designed, the reasoning behind that decision is completely clear: the Gossip protocol at the feature level → the decentralized architecture at the module level → the project-level requirement to withstand a single point of failure. The decision was derived top-down, so tracing it reconstructs it bottom-up. If AI, working on something similar, can read the requirement at the top level, it will not overstep and produce a centralized design that violates the principle.&lt;/p&gt;

&lt;h3&gt;
  
  
  Constraints Have to Be Hard Rules
&lt;/h3&gt;

&lt;p&gt;Vertical layering settles where a contract lives and how far it reaches. But a contract having a definite place does not mean it will be followed faithfully.&lt;/p&gt;

&lt;p&gt;Human code review has a hard physical ceiling. Given a hundred constraints, a reviewer remembering eighty is already the limit. When AI can turn out the code for twenty features in an afternoon, the line human review holds is bound to collapse.&lt;/p&gt;

&lt;p&gt;So the central judgement of this whole system is: every hard constraint that must be obeyed has to be mechanically traceable to a specific test. It can never fall back on human review.&lt;/p&gt;

&lt;p&gt;If a constraint — "no use of a certain feature at the platform layer", for instance — cannot be turned into an automated check or a test assertion in the pipeline, then it is just a worthless sentence. Layering logic solves whether a contract can be located; test traceability solves whether it can be executed. Neither works without the other.&lt;/p&gt;

&lt;p&gt;Of course, this system has an honest boundary: it only governs the agreements that got written down. Which agreements count as hard constraints, and which level each of them belongs on, still takes an engineer's experience to judge and define. A tool can backstop execution. It cannot backstop technical judgement.&lt;/p&gt;

&lt;p&gt;This post has been about choosing the dimension to reorganize documentation along, and the layering logic behind that choice. How the idea actually lands in engineering is something you can explore on your own. Next time I will write about how this methodology on paper turned into a dedicated tool I designed while iterating from v0, and the problems I ran into along the way.&lt;/p&gt;

</description>
      <category>documentation</category>
      <category>engineering</category>
    </item>
    <item>
      <title>AI Ships Fast, but Focus Drifts</title>
      <dc:creator>Jo Yet</dc:creator>
      <pubDate>Sun, 08 Nov 2026 04:01:26 +0000</pubDate>
      <link>https://dev.to/joyet/ai-ships-fast-but-focus-drifts-1ocm</link>
      <guid>https://dev.to/joyet/ai-ships-fast-but-focus-drifts-1ocm</guid>
      <description>&lt;p&gt;One incident still sticks with me. Our application services have to update a batch of data in shared memory atomically. That memory is managed centrally by the system: cross-process locks, memory ordering, and version switching are all wrapped inside the .so library, and callers reach it through a single shared header.&lt;/p&gt;

&lt;p&gt;At the time, though, the library offered no interface for "atomic bulk update". The AI's approach was about as blunt as it gets: grab the physical address through &lt;code&gt;mmap&lt;/code&gt;, overwrite field by field according to its own reading of the layout, and casually invent a flag on the side to serve as a "currently being modified" lock.&lt;/p&gt;

&lt;p&gt;In a single process it ran fine, and the tests passed. The trouble is that what it bypassed was not an ordinary function but an entire system contract: the cross-process lock no longer held, the memory-ordering guarantees were gone, and any other process reading that memory could hit half-written garbage at any moment. Worse, the bypass leaves no trace. When the library later needs auditing or a memory layout change, those "ghost call sites" poking straight at physical addresses will be impossible to track down.&lt;/p&gt;

&lt;p&gt;The AI wasn't out to sabotage anything. It simply took the path of least resistance when nothing provided the capability it needed. And that path happened to water down the contract "atomicity is guaranteed by the layer below" into "every call site makes up its own guarantee".&lt;/p&gt;

&lt;p&gt;The longer I use it, the more of these moments I collect: locally flawless, globally full of holes. They tend to show up in three ways:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;First, abstraction boundaries collapse.&lt;/strong&gt; Like the &lt;code&gt;mmap&lt;/code&gt; case above. In ordinary development, when a library lacks an interface, the caller and the provider sit down and agree on where the boundary is and how to define it. The AI makes no such judgement; wherever the rules don't reach, it fills in the gap itself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Second, nothing accumulates in the foundation layer.&lt;/strong&gt; An experienced engineer will pull common logic into a shared class along the way. AI tends to solve in place: this feature needs it, so add a method to the current file; the next feature needs it too, so write it again in another file. Nobody breaks the foundation layer — it simply never gets built.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Third, layered conventions get ignored.&lt;/strong&gt; In any moderately complex system, technical constraints come in layers. Take the industrial control and data acquisition system we build: the platform layer is strict C++11 with exceptions disabled, while the application layer above it may use C++14. That means when creating a smart pointer, the platform layer has to write &lt;code&gt;std::unique_ptr&amp;lt;T&amp;gt; p(new T(args...))&lt;/code&gt; by the book, while the application layer can use &lt;code&gt;std::make_unique&lt;/code&gt;. To the AI, though, the whole repository is flat. The gcc in the dev environment is new enough that &lt;code&gt;make_unique&lt;/code&gt; slips into the platform layer and still compiles; the problem only surfaces at integration testing.&lt;/p&gt;

&lt;p&gt;A person might remember that C++11 rule. What a person can't do is spend an afternoon driving the AI through a dozen-plus sessions and five features in quick succession, and still remember which cell of the layering diagram the current session is sitting in.&lt;/p&gt;

&lt;p&gt;Pull these observations together and they point at one thing: when AI coding spans sessions, the contracts between features lose their carrier.&lt;/p&gt;

&lt;p&gt;System software is inevitably assembled from hundreds or thousands of features. You can't opt out of contracts; you can only choose whether to write them down, or to keep them in your head and carry them in prompts. Experience shows the head doesn't retain them, and stuffing them into prompts is a long-shot bet — miss one layer of context and you have a production incident.&lt;/p&gt;

&lt;p&gt;Someone might ask: aren't SDD (spec-driven development) and Code Plan First (plan-first mode) meant to do exactly this?&lt;/p&gt;

&lt;p&gt;No. The reach of both patterns stops at "get the current task right". You spell out the interface rules in session 1's spec, and nothing guarantees the AI still remembers them in session 50. You can, of course, copy "must go through the library's single entry point" and "no make_unique in the platform layer" into every feature's detailed design, over and over. That is unreasonable to expect of anyone, and it will inevitably miss something. A problem that sits at the boundary of a pattern can't be patched by "using the tool better".&lt;/p&gt;

&lt;p&gt;Traditional documentation is even less help. It gets split by role into isolated islands of requirements, architecture, and testing, in wildly varied formats — I have seen companies whose requirements docs are PowerPoint decks because that makes them easier to present upward. A few rounds of code iteration later, the documents contradict each other. You can't ask an AI to consult a pile of stale dead artifacts like that.&lt;/p&gt;

&lt;p&gt;So the problem is not AI's comprehension or its output quality — those have actually exceeded my expectations. To put it plainly: AI is not the problem. Our way of organizing is. Our current model of project management cannot keep up with this new productivity.&lt;/p&gt;

&lt;p&gt;To hold the contracts between features in system software, we need an independent carrier that outlives a session — one that both a person and an AI can read precisely, and whose structure makes explicit which rule governs which layer.&lt;/p&gt;

&lt;p&gt;So along what dimension should this long-lived document be organized, if we don't want to repeat the same mistake?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>engineering</category>
    </item>
  </channel>
</rss>
