<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Micro Musings for thought leaders - Medium]]></title>
        <description><![CDATA[Important take-aways for all. Thought Leadership nuggets for every day. - Medium]]></description>
        <link>https://medium.com/micromusings?source=rss----8414cee6d8ba---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Micro Musings for thought leaders - Medium</title>
            <link>https://medium.com/micromusings?source=rss----8414cee6d8ba---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 21:55:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/micromusings" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[In Voidlight Depths, four seconds of indecision can get you recast as the audience.]]></title>
            <link>https://medium.com/micromusings/in-voidlight-depths-four-seconds-of-indecision-can-get-you-recast-as-the-audience-10684e15ac3d?source=rss----8414cee6d8ba---4</link>
            <guid isPermaLink="false">https://medium.com/p/10684e15ac3d</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[popular-culture]]></category>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[futurist]]></category>
            <dc:creator><![CDATA[Mohammed Brückner]]></dc:creator>
            <pubDate>Sun, 29 Nov 2026 08:40:13 GMT</pubDate>
            <atom:updated>2026-11-29T08:40:13.692Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T7bhbEK378mzhATS3hbx2g.png" /></figure><p>The knight in Kevin Ngo’s space dungeon crawler has places to be. On a test run through the Cryo Vaults, the little gold figure had already killed three enemies and collected two credits before the first press of an arrow key. The screen was still issuing orders about a command key. Down in the corner was a more interesting invitation. Press an arrow and the knight is yours. There’s no need to start a new game. This job is vacant and currently being performed.</p><p>A tap on the left arrow put the knight under manual control. Three and a quarter seconds after release, the job was still ours. Just past the four-second mark, the knight resumed work. The next reading showed the knight attacking and a second room on the map. No cut, no new character. That continuity makes handing the controls back feel faintly rude, like leaving a friend to finish an argument you started. <a href="https://kevintngo.github.io/voidlight/">Play Voidlight Depths</a> · <a href="https://github.com/kevintngo/voidlight/blob/f35432f8ae556da5a03ce948033d969b670d76e5/src/16_game.js#L145">The four-second handoff</a></p><p>Ngo posted on November 26, 2026, that he’d asked Claude Fable 5.2 to make a space dungeon crawler. The finished game in his repository occupies <strong>164,805 bytes</strong>. Between that request and those bytes lies most of what I’d like to ask him about. The public history contains one commit. Whoever wants to count prompts, hours, discarded builds or human corrections will need a better witness than Git. What we can examine, down to the fraction of a second, is what Ngo chose to put in front of an audience. <a href="https://x.com/kevin_t_ngo/status/2125982976483975534">Ngo’s announcement</a> · <a href="https://github.com/kevintngo/voidlight">Game repository</a></p><p>I want more people to have a crack at making games for precisely this sort of idea. Try pitching a dungeon crawler in which someone else gets the fun of finding the key. I’d have objections before you’d finished the sentence. Send me the actual knight and I can tell you which corner I wanted to turn myself. An idea that sounds perverse in conversation has earned a much more interesting objection. Give enough people the means to get that far and some peculiar games stand a chance.</p><h3>The understudy knows where the money is</h3><p>Buster Keaton found a meaner way to handle the passage from spectator to leading man in <em>Sherlock Jr.</em> His projectionist falls asleep, walks down the aisle in a dream and steps into the film. Once he’s through the screen, edits change the ground under his feet. The comedian can plant his body in exactly the right spot and the editor can still have the last laugh. Keaton lets us see a difference we normally take for granted. Watching somebody balance is a considerably safer occupation than balancing. <a href="https://www.bfi.org.uk/film/4f7add12-c2af-5c5c-bb49-1647ce3240df/sherlock-jr">BFI on Sherlock Jr.</a></p><p>Ngo makes the passage in the opposite direction just as interesting. You can watch the knight approach a supply cache, decide that you’d prefer to examine the room beyond it and put that preference into effect immediately. Then you can stop to look at the view. A little later your knight may be on the way back to the cache. The joke works best if you had quite deliberately passed it up. In four seconds, an artistic disagreement about the appropriate use of a perfectly good treasure chest has broken out between you and a few lines of JavaScript.</p><p>Fable’s role here was in making the game. During play, the knight’s priorities come from local rules. Read them and you begin to recognise the understudy. A visible coin that has had time to settle is worth a short detour. An unopened cache in a known room gets consideration from farther away. For a nearby ordinary crate, the automatic player makes a roughly even bet on whether to bother, and remembers the answer for that crate. Come round the corner again and the same box retains its claim on the knight’s attention. I like this immensely. The next time you watch a knight in armour administer a beating to some cheap packaging, remember that it had its eye on that particular box. <a href="https://github.com/kevintngo/voidlight/blob/f35432f8ae556da5a03ce948033d969b670d76e5/src/14_brain.js#L50">The knight’s decision rules</a></p><p>The automatic player has access to information a person has to learn to read. A hazard can tell the code where danger will be when the knight arrives. An enemy starting an attack can, under the right conditions, be interrupted with a quick cut. The code checks whether a cut will reach before trying to get out of the way. You see the resulting scrap at sword’s length. Underneath it two small decisions have taken place, one about the floor and another about the enemy’s balance. That gives a spectator a decent reason to stick around for the next exchange.</p><p>Ngo had worked on this peculiar division of labour before. Two days earlier, he’d published <em>Cinderwatch</em>, a tower defence game that starts with an automatic commander on duty. You take charge to build or upgrade a tower. A deliberate command hands the post back. In <em>Voidlight Depths</em>, the expiry of your input does that job. The earlier game lets you sit in the commander’s chair and think. The later one treats sitting still as a resignation letter. Put the two side by side and you can hear Ngo trying two answers to a question that plainly interests him. How long does a job stay yours after you take it? <a href="https://github.com/kevintngo/cinderwatch/blob/6640b81286df8b1fd2e5a745b48211c4a9323f83/README.md">Cinderwatch and its controls</a></p><h3>The ship builds the next floor during the lift ride</h3><p>The lift is a six-sided steel platform with a brass rim. It has a little stretch of shaft all to itself, far away from the coordinates occupied by the playable deck. Sections of wall scroll past the platform. The knight’s cloak catches an upward rush of air. In the fiction, a heavy piece of machinery is carrying a passenger deeper into a dreadnought. In the program, the passenger has arrived on a small standing set and the scenery department has a few seconds to come up with the rest of the ship.</p><p>A budget of about six and a half milliseconds per frame goes toward making the next deck during this ride. Once the rooms exist, the game briefly visits parts of the new set with its rendering machinery to prepare them for display. The player’s view stays in the shaft. Even on a machine that finishes early, the code waits until the ride timer passes 4.8 seconds before starting the transition out. The minimum gives the title of the arriving deck time to register. Ngo has taken the elevator pitch more literally than most. <a href="https://github.com/kevintngo/voidlight/blob/f35432f8ae556da5a03ce948033d969b670d76e5/src/16_game.js#L91">Lift construction and timing</a></p><p>There’s a good bit of practical direction waiting at the other end. The arrival shot starts high and looks some distance in from the knight, toward the ship’s interior. Over three seconds the camera settles on the figure you’ll follow. The difference between these compositions is the difference between seeing a piece of architecture and choosing a direction to walk in it. Start high and there is time to admire the room. Stay high and an energy sword starts to look an awful lot like a dropped pin.</p><p>A second decision is buried in the walls. Look down on rooms at an angle and a full-height near wall can conceal the patch of ground where a fight is taking place. The layout code checks for floor behind walls in the viewing direction and assigns low stubs where the masonry would hide it. Taller walls survive where the composition can afford them. That explains some of the appeal of the ship as a miniature. It looks substantial along its far edges and has been neatly sawn away on the side where a child might reach in to move the figures.</p><p>For the boss’s entrance, the camera can move in for a closer look in automatic play. Manual input cancels that flourish. Notice what a small courtesy that is. A person trying to get out of the way of a large object has an immediate interest in the floor at their feet. A spectator quite reasonably wants a good look at the large object. The shot changes according to which of those two people is present. I’d happily trade a second boss entrance for that one editorial decision.</p><h3>A hundred versions of the first deck</h3><p>A good way to judge a procedural dungeon is to shut its exit door. If you can walk around it, someone has spent time animating an extremely expensive suggestion. If the key is on the far side, you can admire the brasswork for the rest of your natural life. <em>Voidlight Depths</em> subjects each candidate floor plan to both kinds of indignity before the set gets dressed.</p><p>The generator starts a search at the entrance and pretends the two cells occupied by the exit door are impassable. The lift should be out of reach. The ordinary rooms should be accessible. A stray piece of corridor can be filled back in, but an unreachable room is grounds for rejecting the plan. The generator then opens the door on paper and checks that the lift can actually be reached. On an ordinary deck, it chooses the key room from up to three eligible rooms farthest from the starting point by walking distance. A wall can make two close neighbours a satisfyingly long walk apart. <a href="https://github.com/kevintngo/voidlight/blob/f35432f8ae556da5a03ce948033d969b670d76e5/src/06_deckgen.js#L209">Deck generator</a></p><p>Run the repository’s generator at deck one with the integer seeds 1 through 100 and you get between ten and twelve rooms per accepted plan. The recorded distance from the start to the key room’s reference cell ranges from 26 to 74 grid steps. In five cases the generator had to move on from its initial candidate. All hundred accepted plans kept the lift out of reach with the door shut. Those figures describe bare floor plans. A knight stopping for money or getting into an argument with a crate has a different conception of travel time.</p><p>I’d give those five rejected layouts as much time in a game-making class as the hundred that passed. A beginner can look at a plan, see a key and an exit and reasonably declare the level finished. Somebody who has spent a Saturday walking the wrong side of a dungeon door can add one sentence to the assignment. Close it and try to get to both sides. That sentence describes a test a programmer can execute and a player can understand. People with a lot of experience being annoyed by games have genuine design knowledge, even before they can implement a search across a grid.</p><p>It’s worth noticing what the test leaves open. A 74-step expedition can turn up a key in immaculate working order and still be a bore. There’s no field in the map data for the moment when a player begins to suspect they’ve missed a turn. The game has a little map that fills in visited rooms, and the automatic knight can go hunting through the unseen ones. A person in the audience gets to make the remaining judgment. I find that a better answer to claims about machine-made levels than either declaring the whole lot ingenious or counting doors until the number sounds impressive.</p><h3>The Last Librarian has a circulation policy</h3><p>Of the ship’s eighteen deck themes, the Library of Ash is the one I’d send to someone who doubts that a program can have an eye for set dressing. Its bookcases have gaps. The little routine that fills a shelf occasionally advances along it without putting a volume down. Some books lean. A freestanding shelf gets a row on each face, so a player who walks around it finds more spines on the back. Somewhere aboard this ridiculous vessel somebody once had the use of these books, or at least the good sense to shelve them both ways.</p><p>A desk can carry two pale pages and its own reading lamp. A pile on the floor can burn, which entails embers and a patch of light on the floor beneath the flame. The restraint is in letting other piles sit there unlit. An unburned book within reach of the fire gives the room a future tense. It’s the sort of small environmental story at which games excel. You are quite free to miss it altogether on your way to something that wants to bite you. <a href="https://github.com/kevintngo/voidlight/blob/f35432f8ae556da5a03ce948033d969b670d76e5/src/07b_props2.js#L59">The library’s furniture</a></p><p>Every third deck has a boss. Land in the library on one of those decks and the Last Librarian is on duty, a hooded figure with six open books circling its body, each bearing a flame. At last, a convincing account of how the collection stays in circulation. The boss can summon Ash Scribes, small flying figures that carry open books and fire a spread of three shots. An occupation supplies the shapes of the actors and the names in the cast list. It even explains why more staff turn up when a patron makes trouble. <a href="https://github.com/kevintngo/voidlight/blob/f35432f8ae556da5a03ce948033d969b670d76e5/src/12b_boss2.js#L45">The Last Librarian</a> · <a href="https://github.com/kevintngo/voidlight/blob/f35432f8ae556da5a03ce948033d969b670d76e5/src/11b_monsters2.js#L71">Ash Scribes</a></p><p>Here the library runs into a limitation. One of the Librarian’s tricks sends bolts out in a ring with openings that the knight can slip through. The Reflected One in the Hall of Mirrors has access to the same attack. Its rotating mirrors give the gaps another visual setting, yet both encounters ask much the same question of your feet. I’d have loved a fight in which making noise got you into trouble in the library. That’s a wish prompted by the ferocity of the place’s own sense of humour. The shelves are already making a stronger claim to a life of their own than the fight quite delivers.</p><p>A count of eighteen deck themes gives the library and the hall of mirrors one vote apiece. A player who has just fought both bosses gets a different count. To that player, the new wallpaper earns its keep on the way into the arena. Once the bolts start flying, familiarity takes over. That’s an argument for spending the next afternoon giving one room a rule of its own. A nineteenth setting can wait.</p><h3>What the knight’s left hand tells you</h3><p>In Jacques Tati’s <em>PlayTime</em>, a sales demonstration features a door that makes no sound when slammed. You already know the noise a slam should make. Tati has done enough work with all the other sounds in the room that he can get a laugh by leaving one off the soundtrack. The same film later gets wonderful mileage out of a doorman working the surviving handle of a shattered glass door. The position of the man’s hand is enough to make the missing door swing again in your head. <a href="https://www.criterion.com/current/posts/3339-jacques-tati-things-fall-together">Criterion on Tati’s visual and sound gags</a></p><p>Look at the knight’s left hand in Ngo’s game. It carries a lantern on a swinging mount. A turn or a sudden stop changes the swing, and the actual source of light moves with the lantern. A patch of floor therefore receives the news of a change in direction a fraction differently from the body that caused it. Tati’s doorman invites you to supply the missing pane. Ngo’s lamp invites you to supply the weight of an object made of numbers. It’s a remarkably economical bit of acting for a performer whose face is barely legible at playing distance. <a href="https://github.com/kevintngo/voidlight/blob/f35432f8ae556da5a03ce948033d969b670d76e5/src/10_hero.js#L242">The knight’s animation</a></p><p>The blade gets a different treatment. Its hum comes from three oscillators with slightly different pitches. A strike raises the pitch and brings up the volume. The left hand sells the weight you carry all the time, the right hand the effort you make in bursts. Click for sound and you get an extra way of following what the tiny figure is doing when its surroundings get busy. There’s a separate low drone for the ship itself. Its machinery can go on sounding ancient and expensive irrespective of what the knight does with a sword.</p><p>The footfalls are choosy about surfaces. On grating the sound routine adds a brief metallic ping. Frost gets two short hits of filtered noise. The library proves to be a small audio fraud worth owning up to. Its floor is drawn as wood, but its footsteps borrow the soil setting, the same soft noise used by the Hanging Gardens. The gap between shoe and floor is the kind of thing a sound editor doing a last pass would catch. It’s an oddly cheering discovery in a discussion of model capability. Somebody with good ears has a quite precise contribution to make here. <a href="https://github.com/kevintngo/voidlight/blob/f35432f8ae556da5a03ce948033d969b670d76e5/src/15_audio.js#L82">Footsteps and synthesised sound</a> · <a href="https://github.com/kevintngo/voidlight/blob/f35432f8ae556da5a03ce948033d969b670d76e5/src/08b_themes2.js#L29">Library settings</a></p><p>The size of the space gets a say in the mix, too. When the knight enters a newly seen room, the game uses its floor area to blend short cabin acoustics with longer reverberation. A corridor gets its own fixed, modest setting. That buys an impression of moving indoors from one volume of air to another for the cost of a number that the map already knows. A skilled amateur who has never written a reverb effect could still give an excellent note on this scene. Record a single boot landing on a loose floorboard, then try to get the library to make you expect that sound again at the next step. I’d play that experiment with headphones.</p><h3>The boss who pays for your funeral</h3><p>Death sets up the most telling disagreement between the interests of the audience and the person holding the keys. Take the Last Librarian. Its arena closes when it wakes. The boss gets a title and health bar. On death the knight returns to the starting area with full health and the gates open again. All entirely proper. The startling part is what the game does to the survivor.</p><p>In a controlled test on the third deck, the Librarian had a maximum of 64 health and had 63 left when the knight fell. On the knight’s return it had 57.88. The difference is exactly eight per cent of the boss’s maximum health. The respawn routine applies that deduction to a living boss the knight has already encountered, with a floor of one health point. You still have to finish the job. The accounts department has agreed to write off part of the outstanding balance every time you die. <a href="https://github.com/kevintngo/voidlight/blob/f35432f8ae556da5a03ce948033d969b670d76e5/src/16_game.js#L135">The respawn rule</a></p><p><em>Groundhog Day</em> offers a neat test for stories about second chances. Listen to Phil Connors at the piano. He can put yesterday’s practice into today’s performance, much to the surprise of a teacher who has excellent grounds for thinking she’s meeting him for the first time. The calendar has reset. The practice survives in Phil’s fingers, which is why the payoff belongs to him. The first time he sits down on any particular February 2, he gets to bring all those other February 2s with him. <a href="https://clip.cafe/groundhog-day-1993/not-bad-you-say-is-first-lesson/">The piano lesson</a></p><p>In <em>Voidlight Depths</em>, practice survives in your fingers if you happen to have been playing. A second kind of progress survives in the Librarian’s health bar when you’ve gone to put the kettle on. As a policy for a self-playing spectacle, that’s rather shrewd. Getting the same fight served up at full strength forever would make the eighteen-deck wardrobe a poor investment. As a test of anyone’s prowess with the sword, it introduces an awkward witness. Part of your winning blow was dealt by the person who killed you.</p><p>Players who enjoy diagnosing a bad dodge and trying it again against precisely the same opponent have grounds to resent that bargain. So do people who like to stand in a doorway thinking for five seconds. I’d recommend the game to someone who routinely hands a controller to a friend for one room, then enjoys the next room almost as much from the couch. Here you can give the machine the thankless job of getting back to the arena and pick up the sword when something worth doing turns up. Whether that counts as cheating rather depends on whose afternoon it is.</p><h3>An idea you can hand to somebody</h3><p>Ngo shipped one file for the player. Open the repository as a maker and you find the sound in one place, the knight in another, and a small, admirably fussy stretch of code devoted to shelving books. A build script joins them, checks the JavaScript and packs the result into the HTML page. The browser expands it again at launch. A reader interested in changing the way the knight treats a pause can find the relevant number in a readable game loop. A friend interested in the result can follow one link. Neither has to become an expert in packing JavaScript. <a href="https://github.com/kevintngo/voidlight/blob/f35432f8ae556da5a03ce948033d969b670d76e5/build.sh">How the game is built</a></p><p>This distinction has a history. In 2013 Anna Anthropy made <em>Queers in Love at the End of the World</em> in Twine. It gives you ten seconds with a lover before the world ends. The seconds spent reading what you might do consume the same time you need to do it. Someone with a very particular thought about intimacy could put that thought in a reader’s hands using links and a timer. Anyone who dates the arrival of personal game-making to an AI release in 2026 owes a few people a long afternoon with their work. <a href="https://w.itch.io/end-of-the-world">Anna Anthropy’s game</a> · <a href="https://mcachicago.org/stories/editorial/i-was-raised-on-the-internet-2/">Museum of Contemporary Art Chicago</a></p><p>What Ngo adds to that history is the kind of trial a small game can now stage. One modest-looking link lets a stranger test an idea about sharing control in a moving, sounding, three-dimensional set. None of the figures in the file size tell us what the model cost Ngo or how much expertise it took to get a good result. His previous game gives us every reason to credit him with taste formed through practice. A starting point like this changes who can offer a meaningful second draft. A stage technician who can hear what’s wrong with those footsteps has a more useful brief for a coding tool than a whole page of adjectives about an atmospheric spaceship.</p><p>Here’s the version I want from that stage technician. Stopping the knight in the library brings a single sound into earshot, the turn of a page somewhere behind a shelf. An Ash Scribe is giving away its position. Leave the ordinary four-second rule in place for one build, let the knight keep still for as long as the player likes in another, and hand both to someone who knows nothing about the change. I’d be watching for the moment their hand went to the volume control.</p><p>I’d gladly watch Ngo’s knight take on the Librarian a second time. I’d be even happier to play the game made by somebody who put down the controls to listen and took it personally when the knight walked off.</p><p>More actionable advice over at <a href="https://mohammed-brueckner.com/publications">https://mohammed-brueckner.com/publications</a> — and discover the playbook for surviving the compression in the agentic era with my book at <a href="https://platformeconomies.com/">https://platformeconomies.com</a> — out now and ready to buy in both Kindle and hardcover. Direct Amazon links:</p><ul><li>Amazon US: <a href="https://www.amazon.com/dp/B0H3VVNPZ3">https://www.amazon.com/dp/B0H3VVNPZ3</a></li><li>Amazon UK: <a href="https://www.amazon.co.uk/dp/B0H3VVNPZ3">https://www.amazon.co.uk/dp/B0H3VVNPZ3</a></li><li>Amazon DE: <a href="https://www.amazon.de/dp/B0H3VVNPZ3">https://www.amazon.de/dp/B0H3VVNPZ3</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10684e15ac3d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/micromusings/in-voidlight-depths-four-seconds-of-indecision-can-get-you-recast-as-the-audience-10684e15ac3d">In Voidlight Depths, four seconds of indecision can get you recast as the audience.</a> was originally published in <a href="https://medium.com/micromusings">Micro Musings for thought leaders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When You Revoke SharePoint Access, Can Your AI Assistant Still Quote the File?]]></title>
            <link>https://medium.com/micromusings/when-you-revoke-sharepoint-access-can-your-ai-assistant-still-quote-the-file-417da074262d?source=rss----8414cee6d8ba---4</link>
            <guid isPermaLink="false">https://medium.com/p/417da074262d</guid>
            <category><![CDATA[ai-foundry]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[sharepoint]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Mohammed Brückner]]></dc:creator>
            <pubDate>Sun, 22 Nov 2026 20:44:38 GMT</pubDate>
            <atom:updated>2026-11-22T20:44:38.390Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>How to enforce permissions on every chunk in Foundry IQ, measure revocation lag, and keep chat history from putting restricted passages back into the model’s context.</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-GuarMFZWp5z7tgc" /><figcaption>Photo by <a href="https://unsplash.com/@lazycreekimages?utm_source=medium&amp;utm_medium=referral">Michael Dziedzic</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A search assistant can read from a copy. When someone asks about a pay review, the application looks up a few passages and sends them to the software that writes the answer. That software can quote a salary without opening the original file. SharePoint can quite correctly refuse to open the link at the bottom of the answer. The reader already has the number.</p><p>Consider a manager moving between departments. The people team wants her to retain access to the staff handbook and lose access to the old department’s review. A colleague who stays in the department should still find both. Those are three observable outcomes, and each matters. A product that answers every question with “nothing found” passes a surprising number of security demonstrations.</p><p>I would give the SharePoint owner a stopwatch before giving the application team a launch date. Start it when the source refuses the former reader. Stop it when the application no longer supplies any passage from that file and the colleague can still find it. Record the interval the experiment actually establishes. If the business needs an immediate cutoff, the decision about keeping a searchable copy belongs here, before anyone orders model capacity.</p><h4>Decide who can authorize a copy of the library</h4><p>Microsoft renamed Azure AI Search to <strong>Foundry IQ</strong> in November 2026. The existing Search endpoint and Azure role names still apply. The stable Search data API 2026-10-01 supports the indexed SharePoint configuration used here. The November preview adds other capabilities. A production team can use the stable contract throughout this exercise, including the permission refresh. Older examples that describe all SharePoint permission filtering as preview predate the release. Microsoft’s release record is at <a href="https://learn.microsoft.com/en-us/azure/search/search-api-preview">https://learn.microsoft.com/en-us/azure/search/search-api-preview</a></p><p>An indexed knowledge source is a configuration that tells Search where content lives and how to process it. An indexer reads the files. A skillset extracts their contents and prepares smaller passages called <strong>chunks</strong>. Search stores each passage as a record. An embedding is a numerical representation of the passage that helps retrieve related wording. An access control list, or <strong>ACL</strong>, identifies who has access. Two chunks can have nearly identical embeddings and entirely different readers. Putting a group name in the text sent to an embedding model would accomplish nothing for authorization.</p><p>The business case for maintaining that copy is strongest when the company cares about how particular material comes back. A purchasing team might need exact part numbers from one manual and descriptions of equivalent parts from another. Local keyword and vector search can serve both in one request. It buys the team control over what it stores and how it searches. It asks the owner of each library to accept an additional location where readable passages survive independently of the original file.</p><p>Microsoft offers a different arrangement for teams whose permission practices belong in Microsoft 365. A <strong>remote SharePoint knowledge source</strong> calls the Copilot Retrieval API with the user’s identity. That removes the extra Search content index and its synchronization job. Microsoft 365 still has processing times, licensing conditions and limits on the content its retrieval API returns. Remote SharePoint remains a preview in the documentation available on 22 November 2026. I would test it with the hardest document in the library and the least privileged reader before promising the same answers. Microsoft describes the choice at <a href="https://learn.microsoft.com/en-us/azure/search/agentic-knowledge-source-overview">https://learn.microsoft.com/en-us/azure/search/agentic-knowledge-source-overview</a></p><p>A procurement requirement that files stay in an approved geography deserves more than the region printed beside the Search resource. List the source tenant, the Search region, the Content Understanding endpoint, the embedding deployment type and the destination that receives model context. Ask the owner of each destination what it retains and where it processes requests. A private endpoint on the application’s route to Search answers one networking question. The SharePoint Online connector reaches a public endpoint. A policy requiring private connectivity for every leg rules out this design under that policy. The service’s network boundaries are documented at <a href="https://learn.microsoft.com/en-us/azure/search/search-how-to-use-content-understanding-sharepoint">https://learn.microsoft.com/en-us/azure/search/search-how-to-use-content-understanding-sharepoint</a></p><h4>Give the experiment a source of truth</h4><p>Use an isolated SharePoint Online site in one tenant. Its default document library holds two synthetic files. Alice keeps read access to both. Ben keeps read access to the control and starts with read access to the restricted fixture. Neither account administers the site. Choose ordinary tenant members with different Entra object IDs. A guest account would introduce a separate support question into an experiment meant to measure revocation.</p><p>The library owner uploads the two files generated below. For the restricted file, open <strong>Manage access</strong>, use the advanced permissions page to stop inheritance, and remove any copied group grant that would independently admit Ben. Give Alice and Ben direct Read permissions. Give both Read on the control. Use the source’s permission checker and sign in as each reader to open both files before continuing. Keep the owner’s administrative access. A private browser session prevents yesterday’s administrator login from settling today’s permission argument.</p><p>The body text has two deliberately unusual markers. A fixture containing the word “confidential” shares vocabulary with half the company. A unique word makes it possible to establish which source supplied the result. The restricted fixture has headings and enough text to exercise projection onto multiple records. The later test rejects a one-chunk fixture. Run these examples from a single working directory on a Linux client with Python 3, Bash, Azure CLI, dig, nc and openssl. Python dependencies stay in a local virtual environment.</p><pre>set -euo pipefail<br>umask 077<br>python<br>3 -m venv .venv<br>source .venv/bin/activate<br>python<br>-m pip install requests msal python-docx<br>python<br>- &lt;&lt;&#39;PY&#39;<br>from docx import Document</pre><pre>review = Document()<br>for section in range(1, 65):<br>    review.add_heading(f&#39;Review appendix {section}&#39;, level=1)<br>    for entry in range(1, 9):<br>        review.add_paragraph(<br>            f&#39;Verdantquill review {section}, entry {entry}. &#39;<br>            &#39;The fictional committee records a provisional allowance for the &#39;<br>            &#39;sample position. The reviewer checks the amendment against the &#39;<br>            &#39;working schedule before recording an exception.&#39;<br>        )<br>review.save(&#39;ReviewFixture.docx&#39;)<br>handbook = Document()<br>handbook.add_paragraph(&#39;Copperwren identifies the shared handbook fixture.&#39;)<br>handbook.save(&#39;HandbookFixture.docx&#39;)<br>PY</pre><p>The file owner can remove Ben’s direct grant without changing a byte of the review. That detail matters. Editing a paragraph during the exercise gives the indexer a second reason to reprocess the file and can make ordinary content refresh look like successful permission-change detection. Keep the files still until the experiment ends. For a later group-membership test, reverse the setup deliberately and change membership without editing the file ACL. The two experiments exercise different systems.</p><p>Link-based sharing deserves its own decision. The connector’s supported subset excludes anonymous and organization-wide sharing links, link-expiration enforcement and external guests. A library owner who routinely sends an expiring link to an outside adviser has described a different access contract. Replacing that link with an enduring direct grant just to make the pilot pass would change the owner’s policy. Keep that collection out of the indexed release until its owner chooses a supported arrangement. Microsoft lists the supported grants at <a href="https://learn.microsoft.com/en-us/azure/search/search-indexer-sharepoint-access-control-lists">https://learn.microsoft.com/en-us/azure/search/search-indexer-sharepoint-access-control-lists</a></p><h4>Separate the identity that copies files from the identity that asks questions</h4><p>For this example, provision a Basic-or-higher Search service in a region supporting agentic retrieval and a Foundry resource supporting Content Understanding. Use an existing text-embedding-3-large deployment in the Foundry resource. The model name identifies the embedding family. The deployment name is whatever the subscription owner called that deployment. The service accepts both values in different properties. A deployment called procurement-embeddings is perfectly reasonable, and copying its name into modelName would give Search the wrong configuration.</p><p>Turn on the Search service’s system-assigned managed identity. In the Entra ingestion app registration, choose <strong>Certificates &amp; secrets</strong>, <strong>Federated credentials</strong>, <strong>Add credential</strong>, then the <strong>Managed Identity</strong> scenario. Select the Search identity. This lets the connector authenticate as the ingestion app without a stored SharePoint password. The app registration’s client ID identifies the app that holds the site permissions. The managed identity has a client ID of its own. The latter goes in FederatedCredentialApplicationId. The principal ID used to assign an Azure role serves a different purpose. Microsoft’s connector instructions distinguish the identifiers at <a href="https://learn.microsoft.com/en-us/azure/search/search-how-to-index-sharepoint-online">https://learn.microsoft.com/en-us/azure/search/search-how-to-index-sharepoint-online</a></p><p>For document-library files with explicit Entra users and groups, Microsoft lists Graph application permissions Files.Read.All and Sites.FullControl.All or Sites.Selected. Use the selected-sites option for the site permission, obtain tenant admin consent and grant the app the required access on the particular site. Record the separate Files.Read.All permission in the access review. Selecting a single library as the indexing target does nothing to narrow a broad app permission that the tenant has already consented to.</p><p>Native SharePoint groups add another dependency. For Owners, Members, Visitors or a custom site group, the connector requires the documented SharePoint API site permission alongside Graph permissions, federation, and SharePoint User.Read.All for query-time site-group resolution. The index needs a sharePointConnectorAppRegistration and the originating site on each record. A site group has a local identifier. Its numeric value alone cannot tell the service which site to ask. For a rollout that includes these groups, the direct-grant exercise below is one acceptance case. Add a reader whose sole access comes from the native group before admitting the site.</p><p>A deployment principal needs Search Service Contributor and Search Index Data Contributor for the managed provisioning procedure. The application’s query identity gets Search Index Data Reader on the necessary scope. Configure the service for role-based data-plane access. Give the Search managed identity Cognitive Services User on the extraction resource and Cognitive Services OpenAI User on the resource hosting the embedding model. Test with those identities. Reusing the provisioning principal for live traffic makes an application mistake considerably more expensive. The setup requirements are at <a href="https://learn.microsoft.com/en-us/azure/search/agentic-knowledge-source-how-to-sharepoint-indexed">https://learn.microsoft.com/en-us/azure/search/agentic-knowledge-source-how-to-sharepoint-indexed</a></p><p>The variables below hold resource identifiers from the deployment inventory. Set SEARCH<em>ID and </em><em>FOUNDRY</em>ID to full Azure resource IDs, SEARCH<em>ENDPOINT and </em><em>FOUNDRY</em>ENDPOINT to their HTTPS data endpoints, SITE<em>URL to the test site, </em><em>INGEST</em>APP to the ingestion client ID, and EMBED_DEPLOYMENT to the deployed model’s name. Export all seven settings in the same shell. The commands derive the managed identity’s client ID from the service principal and capture the tenant from the signed-in deployment operator. Single-tenant deployment is an explicit assumption here.</p><pre>: &quot;${SEARCH_ID:?}&quot; &quot;${FOUNDRY_ID:?}&quot; &quot;${SEARCH_ENDPOINT:?}&quot; &quot;${FOUNDRY_ENDPOINT:?}&quot;<br>: &quot;${SITE_URL:?}&quot; &quot;${INGEST_APP:?}&quot; &quot;${EMBED_DEPLOYMENT:?}&quot;<br>export SEARCH_ID FOUNDRY_ID SEARCH_ENDPOINT FOUNDRY_ENDPOINT SITE_URL INGEST_APP EMBED_DEPLOYMENT<br>export SOURCE_NAME=&quot;review-acl-$(date -u +%Y%m%d%H%M%S)&quot;<br>TENANT_ID=$(az account show --query tenantId -o tsv)<br>MI_OID=$(az resource show --ids &quot;$SEARCH_ID&quot; --query identity.principalId -o tsv)<br>MI_CLIENT=$(az ad sp show --id &quot;$MI_OID&quot; --query appId -o tsv)<br>export TENANT_ID MI_CLIENT<br>export SEARCH_AUDIENCE=https://search.azure.com<br>export ENTRA_AUTHORITY=https://login.microsoftonline.com<br>az role assignment list --assignee &quot;$MI_OID&quot; --scope &quot;$FOUNDRY_ID&quot; \<br>  --include-inherited --query &#39;[].{role:roleDefinitionName,scope:scope}&#39; -o table<br>az resource show --ids &quot;$FOUNDRY_ID&quot; --query &#39;{kind:kind,region:location}&#39; -o json<br>az ad app federated-credential list --id &quot;$INGEST_APP&quot; \<br>  --query &#39;[].{issuer:issuer,subject:subject,audiences:audiences}&#39; -o json</pre><p>A DNS answer from a laptop tells you about that laptop. Run the connectivity checks from the application network, including the resolver that network actually uses. For private ingress, compare its returned address with the approved private endpoint IP. UDP and TCP below test the DNS resolver on port 53. Search itself uses HTTPS over TCP 443 for this client. A successful TCP handshake proves nothing about token consent. An HTTP response proves more about the route, and still says nothing about which file Ben can read.</p><pre>SEARCH_HOST=$(python -c &#39;import os,urllib.parse; print(urllib.parse.urlsplit(os.environ[&quot;SEARCH_ENDPOINT&quot;]).hostname)&#39;)<br>: &quot;${DNS_RESOLVER:?Set the recursive resolver address used by the application}&quot;<br>dig @&quot;$DNS_RESOLVER&quot; &quot;$SEARCH_HOST&quot; A +time=3 +tries=1 +short<br>dig @&quot;$DNS_RESOLVER&quot; &quot;$SEARCH_HOST&quot; A +tcp +time=3 +tries=1 +short<br>getent ahosts &quot;$SEARCH_HOST&quot;<br>nc -vz -w 5 &quot;$SEARCH_HOST&quot; 443<br>openssl s_client -connect &quot;$SEARCH_HOST:443&quot; -servername &quot;$SEARCH_HOST&quot; \<br>  -verify_hostname &quot;$SEARCH_HOST&quot; -verify_return_error -brief &lt;/dev/null</pre><h4>Build the index from a declaration the owner can reproduce</h4><p>The managed knowledge-source API suits this library. It generates the data source, indexer, skillset and chunk index from one declaration. That leaves a single place to change the source selection or the extraction mode. A team that needs a custom field layout can own the four resources directly. Patching a generated skillset by hand gives the next owner two competing accounts of what a rebuild should create. I would choose the ownership model before customizing a field.</p><p>The following Python blocks name their destination files in the prose. Save this one as search_io.py. It restricts requests to the configured HTTPS service and never follows a redirect with a delegated token. HTTP status, service error code and request ID are enough to start investigating a failed probe. The library owner’s file names have no business in a shared build log. A timeout on a write leaves the outcome unknown. Read the named resource or its job status before retrying a write.</p><pre>import os<br>import subprocess<br>from urllib.parse import urlsplit<br><br>import requests<br><br>VERSION = &#39;2026-10-01&#39;<br>BASE = os.environ[&#39;SEARCH_ENDPOINT&#39;].rstrip(&#39;/&#39;)<br>endpoint = urlsplit(BASE)<br>if (endpoint.scheme != &#39;https&#39; or not endpoint.hostname or endpoint.username<br>        or endpoint.password or endpoint.path or endpoint.query or endpoint.fragment):<br>    raise ValueError(&#39;Expected a trusted HTTPS Search service origin&#39;)<br><br>def cli_token(profile=None):<br>    env = os.environ.copy()<br>    if profile:<br>        env[&#39;AZURE_CONFIG_DIR&#39;] = profile<br>    return subprocess.check_output(<br>        [&#39;az&#39;, &#39;account&#39;, &#39;get-access-token&#39;, &#39;--resource&#39;,<br>         env[&#39;SEARCH_AUDIENCE&#39;], &#39;--tenant&#39;, env[&#39;TENANT_ID&#39;],<br>         &#39;--query&#39;, &#39;accessToken&#39;, &#39;-o&#39;, &#39;tsv&#39;], env=env, text=True<br>    ).strip()<br><br>def call(method, path, caller, payload=None, user=None, expected=(200,), headers=None):<br>    if not caller or (user is not None and not user.strip()):<br>        raise ValueError(&#39;Missing credential&#39;)<br>    outgoing = {&#39;Authorization&#39;: &#39;Bearer &#39; + caller}<br>    if user is not None:<br>        outgoing[&#39;x-ms-query-source-authorization&#39;] = user<br>    if headers:<br>        outgoing.update(headers)<br>    response = requests.request(method, BASE + &#39;/&#39; + path,<br>                                params={&#39;api-version&#39;: VERSION}, headers=outgoing,<br>                                json=payload, timeout=(5, 90), allow_redirects=False)<br>    if response.status_code not in expected:<br>        try:<br>            code = response.json()[&#39;error&#39;][&#39;code&#39;]<br>        except (ValueError, KeyError, TypeError):<br>            code = &#39;unavailable&#39;<br>        rid = response.headers.get(&#39;request-id&#39;, &#39;unavailable&#39;)<br>        raise RuntimeError(f&#39;{method} HTTP {response.status_code}, code={code}, request={rid}&#39;)<br>    return response.json() if response.content.strip() else {}</pre><p>Save the declaration as provision.py. Run it once under the deployment operator’s CLI profile. The single-site library and system-assigned identity keep the connection string inspectable. standard selects layout-aware Content Understanding. disableImageVerbalization avoids a separate chat-model call for image descriptions, appropriate for the text fixtures. The two permission options select the identities Search needs to preserve. An empty array would produce an entirely different security design. Microsoft documents the extraction controls at <a href="https://learn.microsoft.com/en-us/azure/search/cognitive-search-skill-content-understanding">https://learn.microsoft.com/en-us/azure/search/cognitive-search-skill-content-understanding</a></p><pre>import os<br>from search_io import call, cli_token<br><br>e = os.environ<br>name = e[&#39;SOURCE_NAME&#39;]<br>foundry = e[&#39;FOUNDRY_ENDPOINT&#39;].rstrip(&#39;/&#39;)<br>connection = &#39;;&#39;.join([<br>    &#39;SharePointOnlineEndpoint=&#39; + e[&#39;SITE_URL&#39;],<br>    &#39;ApplicationId=&#39; + e[&#39;INGEST_APP&#39;],<br>    &#39;FederatedCredentialApplicationId=&#39; + e[&#39;MI_CLIENT&#39;],<br>    &#39;TenantId=&#39; + e[&#39;TENANT_ID&#39;],<br>])<br>source = {<br>    &#39;name&#39;: name, &#39;kind&#39;: &#39;indexedSharePoint&#39;,<br>    &#39;description&#39;: &#39;Single-library permission acceptance fixture&#39;,<br>    &#39;encryptionKey&#39;: None,<br>    &#39;indexedSharePointParameters&#39;: {<br>        &#39;connectionString&#39;: connection, &#39;containerName&#39;: &#39;defaultSiteLibrary&#39;,<br>        &#39;query&#39;: None, &#39;ingestionParameters&#39;: {<br>            &#39;networkAccessMode&#39;: &#39;public&#39;, &#39;contentExtractionMode&#39;: &#39;standard&#39;,<br>            &#39;ingestionPermissionOptions&#39;: [&#39;userIds&#39;, &#39;groupIds&#39;],<br>            &#39;ingestionSchedule&#39;: {&#39;interval&#39;: &#39;PT5M&#39;},<br>            &#39;aiServices&#39;: {&#39;uri&#39;: foundry}, &#39;disableImageVerbalization&#39;: True,<br>            &#39;chatCompletionModel&#39;: None,<br>            &#39;embeddingModel&#39;: {&#39;kind&#39;: &#39;azureOpenAI&#39;, &#39;azureOpenAIParameters&#39;: {<br>                &#39;resourceUri&#39;: foundry, &#39;deploymentId&#39;: e[&#39;EMBED_DEPLOYMENT&#39;],<br>                &#39;modelName&#39;: &#39;text-embedding-3-large&#39;,<br>            }},<br>        },<br>    },<br>}<br>call(&#39;PUT&#39;, &#39;knowledgesources/&#39; + name, cli_token(), source,<br>     expected=(201,), headers={&#39;If-None-Match&#39;: &#39;*&#39;, &#39;Prefer&#39;: &#39;return=representation&#39;})<br>print(&#39;Created&#39;, name)</pre><p>The schedule requests a poll every five minutes. A run that takes longer can occupy the slot for the following scheduled start. A large document can use up its analysis polling window. A throttled embedding deployment can delay publication of the new chunks. The interval in the declaration has units of time, which makes it tempting to put the same number in a customer contract. It measures something else. The first synchronization has to finish before there is any evidence of readable material. Run python provision.py, then use the bounded poll below, saved as inspect_index.py.</p><pre>import json<br>import os<br>import time<br>from pathlib import Path<br>from search_io import call, cli_token<br><br>name = os.environ[&#39;SOURCE_NAME&#39;]<br>source_path = &#39;knowledgesources/&#39; + name<br>caller = cli_token()<br>source = call(&#39;GET&#39;, source_path, caller)[&#39;indexedSharePointParameters&#39;]<br>resources = source[&#39;createdResources&#39;]<br>deadline = time.monotonic() + 1800<br>while time.monotonic() &lt; deadline:<br>    status = call(&#39;GET&#39;, source_path + &#39;/status&#39;, caller)<br>    last = status.get(&#39;lastSynchronizationState&#39;) or {}<br>    if last.get(&#39;endTime&#39;):<br>        if last.get(&#39;itemsUpdatesFailed&#39;) != 0 or last.get(&#39;itemsSkipped&#39;) != 0:<br>            raise SystemExit(&#39;Review synchronization history before querying&#39;)<br>        break<br>    time.sleep(10)<br>else:<br>    raise SystemExit(&#39;Initial synchronization exceeded the local test budget&#39;)<br><br>run = call(&#39;GET&#39;, &#39;indexers/&#39; + resources[&#39;indexer&#39;] + &#39;/status&#39;, caller)<br>history = run.get(&#39;executionHistory&#39;) or []<br>if not any(entry.get(&#39;status&#39;) == &#39;success&#39; and entry.get(&#39;itemsProcessed&#39;, 0) &gt;= 2<br>           and entry.get(&#39;itemsFailed&#39;) == 0 and not entry.get(&#39;warnings&#39;)<br>           for entry in history):<br>    raise SystemExit(&#39;No complete, warning-free fixture run in indexer history&#39;)<br>schema = call(&#39;GET&#39;, &#39;indexes/&#39; + resources[&#39;index&#39;], caller)<br>skills = call(&#39;GET&#39;, &#39;skillsets/&#39; + resources[&#39;skillset&#39;], caller)<br>fields = schema[&#39;fields&#39;]<br>by_kind = {f.get(&#39;permissionFilter&#39;): f[&#39;name&#39;] for f in fields if f.get(&#39;filterable&#39;)}<br>if schema.get(&#39;permissionFilterOption&#39;) != &#39;enabled&#39;:<br>    raise SystemExit(&#39;Native permission filtering is absent&#39;)<br>required = {by_kind[&#39;userIds&#39;]: &#39;/document/metadata_user_ids&#39;,<br>            by_kind[&#39;groupIds&#39;]: &#39;/document/metadata_group_ids&#39;,<br>            &#39;metadata_spo_item_path&#39;: &#39;/document/metadata_spo_item_path&#39;}<br>for f in fields:<br>    if f.get(&#39;sharepointSiteUrl&#39;):<br>        required[f[&#39;name&#39;]] = &#39;/document/metadata_spo_site_url&#39;<br>selectors = [s for s in skills[&#39;indexProjections&#39;][&#39;selectors&#39;]<br>             if s[&#39;targetIndexName&#39;] == resources[&#39;index&#39;]]<br>if not selectors:<br>    raise SystemExit(&#39;No projection targets the chunk index&#39;)<br>for selector in selectors:<br>    mappings = {m[&#39;name&#39;]: m.get(&#39;source&#39;) for m in selector[&#39;mappings&#39;]}<br>    if any(mappings.get(k) != v for k, v in required.items()):<br>        raise SystemExit(&#39;Inspect permission and source-path projection mappings&#39;)<br>    print(&#39;Chunk context:&#39;, selector[&#39;sourceContext&#39;])<br>    print(&#39;Projected fields:&#39;, sorted(mappings))<br>keys = [f[&#39;name&#39;] for f in fields if f.get(&#39;key&#39;)]<br>vectors = [f[&#39;name&#39;] for f in fields if f.get(&#39;dimensions&#39;) and f.get(&#39;searchable&#39;)]<br>if len(keys) != 1 or len(vectors) != 1:<br>    raise SystemExit(&#39;Fixture expects one key and one searchable vector field&#39;)<br>manifest = dict(index=resources[&#39;index&#39;], indexer=resources[&#39;indexer&#39;],<br>                key=keys[0], vector=vectors[0])<br>Path(&#39;fixture-index.json&#39;).write_text(json.dumps(manifest), encoding=&#39;utf-8&#39;)<br>print(&#39;Index ready for identity tests:&#39;, resources[&#39;index&#39;])</pre><p>A schema tells you what a field <em>can</em> contain. The skillset tells you where a value comes from. In a directly configured pipeline the original file enters Content Understanding at /document/file<em>data. The embedding skill consumes the content of each section at </em><em>/document/text</em>sections/*/content. A section-level vector belongs beside the section-level text. The permission assignments live at the document root, so the projection reaches back up to /document/metadata<em>user</em>ids and /document/metadata<em>group</em>ids for each child. Generated templates can choose different output names. Read the returned mappings before interpreting an absent field as an absent grant.</p><p>The odd-looking metadata<em>spo</em>item_path deserves to survive a schema cleanup. Search needs the source path to update the permissions on a record whose contents have stayed the same. Adding an empty field to last year’s index gives existing records a slot with no usable path. For a migration, populate the field and the child mappings by reprocessing affected source items. A permission-only refresh can work against existing paths. It cannot reconstruct the missing association. This is one reason to stand up a fresh index beside an older one and withhold traffic until the historical records pass inspection.</p><p>One more practical detail about layout. A purchasing manual can put the amount in a table cell and the exception in a footnote. A competent extraction service can still produce a passage that answers the wrong question when read alone. Pick a representative document and ask an authorized reviewer to compare a returned passage with its page, including the units and the column heading. Record retrieval quality separately from access results. Giving the right reader an amount in dollars when the source meant thousands of dollars is its own release defect.</p><h4>Carry the reader across the application boundary</h4><p>An Entra access token has an intended recipient, its <strong>audience</strong>. The browser signs in for your API. The API validates that credential and exchanges the incoming user assertion for a delegated Search token through the OAuth on-behalf-of flow. Search receives two pieces of information. The Authorization header authenticates the caller with permission to query the index. The raw delegated token in x-ms-query-source-authorization identifies the person whose document access Search evaluates. The browser does not get to nominate another employee by sending an object ID or a list of group names.</p><p>The distinction matters for group membership. A direct user grant can match the person’s Entra object ID. For a group grant, Search can resolve supported memberships through Microsoft Graph. For a native site group it needs the configured connector registration and the site associated with that chunk. Looking at the groups claim in a decoded browser token cannot establish that all three cases work. A failed group lookup can produce a missing result or an authorization error. An independent valid grant can still explain a hit. Microsoft describes the enforcement contract at <a href="https://learn.microsoft.com/en-us/azure/search/search-query-access-control-rbac-enforcement">https://learn.microsoft.com/en-us/azure/search/search-query-access-control-rbac-enforcement</a></p><p>Here is the backend function I would put behind an existing authenticated web route. Its input named validated<em>assertion is the original access-token string after middleware has verified the signature, issuer, tenant, audience, expiry and the delegated scope for this route. The service sets the index and selectable passage field from trusted configuration. Configure the confidential client with the Search delegated </em><em>user</em>impersonation permission and consent. The API runtime uses the trusted public-cloud authority and audience from the earlier environment block. It receives its confidential-client secret from a secret store. The caller token comes from the backend’s separate Search reader credential. Microsoft documents the token exchange at <a href="https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-on-behalf-of-flow">https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-on-behalf-of-flow</a></p><pre>import os<br>import msal<br>from search_io import call</pre><pre>identity = msal.ConfidentialClientApplication(<br>    client_id=os.environ[&#39;WEB_API_CLIENT_ID&#39;],<br>    authority=os.environ[&#39;ENTRA_AUTHORITY&#39;] + &#39;/&#39; + os.environ[&#39;TENANT_ID&#39;],<br>    client_credential=os.environ[&#39;WEB_API_SECRET&#39;],<br>)</pre><pre>def retrieve_passages(validated_assertion, caller_token, question, index, text_field, vector_field):<br>    if not validated_assertion or not question.strip():<br>        raise ValueError(&#39;Authenticated user and nonempty question required&#39;)<br>    token = identity.acquire_token_on_behalf_of(<br>        user_assertion=validated_assertion, scopes=[os.environ[&#39;SEARCH_AUDIENCE&#39;] + &#39;/.default&#39;])<br>    delegated = token.get(&#39;access_token&#39;)<br>    if not delegated:<br>        raise PermissionError(&#39;User authorization for Search is unavailable&#39;)<br>    body = {&#39;search&#39;: question, &#39;vectorQueries&#39;: [<br>        {&#39;kind&#39;: &#39;text&#39;, &#39;text&#39;: question, &#39;fields&#39;: vector_field, &#39;k&#39;: 20}],<br>        &#39;vectorFilterMode&#39;: &#39;preFilter&#39;, &#39;select&#39;: text_field, &#39;top&#39;: 5}<br>    hits = call(&#39;POST&#39;, f&quot;indexes(&#39;{index}&#39;)/docs/search.post.search&quot;,<br>                caller_token, body, user=delegated)[&#39;value&#39;]<br>    return [hit[text_field] for hit in hits if hit.get(text_field)]</pre><p>The application builds the current model request from the passages returned by that call. An empty list means there is no source-grounded answer for this request. An authorization error takes a separate application branch that stops before constructing a model request. A backend handling a conditional-access challenge should return the appropriate challenge to its signed-in client. Logging the full token exchange to debug an interactive sign-in would put reusable credentials in a second system.</p><p>A hybrid search submits a lexical query and a vector query together. Lexical matching helps with a word such as the fixture marker. Vector similarity helps with a question whose vocabulary differs from the source. Search combines the result rankings. The application’s choice of k controls how many vector candidates it asks for. top limits returned records. Neither number expresses a permission. A “top five” test can miss a readable sixth passage. The acceptance test below enumerates the small fixture and exercises the actual hybrid route. The request options are documented at <a href="https://learn.microsoft.com/en-us/azure/search/hybrid-search-how-to-query">https://learn.microsoft.com/en-us/azure/search/hybrid-search-how-to-query</a></p><h4>Measure the last time the former reader can retrieve a passage</h4><p>The ordinary query caller for this test is a separate account with Search Index Data Reader. Alice and Ben supply user context. Their Search service roles need not change as part of the experiment. Set up each CLI profile interactively under the indicated account, verify the displayed account against the test plan, and keep the token caches private. This substitutes real delegated user tokens at the Search boundary so a test failure can be investigated independently of the web application’s login middleware. Repeat the acceptance cases through the application before admitting traffic.</p><pre>python<br>inspect_index.py<br>export ALICE_PROFILE=&quot;$PWD/.auth/alice&quot; BEN_PROFILE=&quot;$PWD/.auth/ben&quot;<br>export READER_PROFILE=&quot;$PWD/.auth/reader&quot;<br>for profile in &quot;$ALICE_PROFILE&quot; &quot;$BEN_PROFILE&quot; &quot;$READER_PROFILE&quot;; do<br>  mkdir -p &quot;$profile&quot;<br>  printf &#39;Sign in for profile %s\n&#39; &quot;$profile&quot;<br>  AZURE_CONFIG_DIR=&quot;$profile&quot; az login --tenant &quot;$TENANT_ID&quot; \<br>    --allow-no-subscriptions --output none<br>  AZURE_CONFIG_DIR=&quot;$profile&quot; az ad signed-in-user show --query id -o tsv<br>done</pre><p>Save the probe as probe.py. Its inventory request selects just the key. On this isolated two-file site, the handbook contributes exactly one key and the review contributes multiple keys. The test reconciles the union of marker hits against an independent match-all request. An unexpected third file, a passage with neither marker, or a result set too large to inspect invalidates the fixture. That inconvenience buys something valuable. Nobody can report a denial after quietly checking a few conveniently ranked chunks.</p><pre>import json<br>import os<br>import sys<br>import time<br>from datetime import datetime, timezone<br>from pathlib import Path<br>from search_io import call, cli_token</pre><pre>manifest = json.loads(Path(&#39;fixture-index.json&#39;).read_text())<br>key, vector = manifest[&#39;key&#39;], manifest[&#39;vector&#39;]<br>route = f&quot;indexes(&#39;{manifest[&#39;index&#39;]}&#39;)/docs/search.post.search&quot;<br>caller = cli_token(os.environ[&#39;READER_PROFILE&#39;])<br>alice = cli_token(os.environ[&#39;ALICE_PROFILE&#39;])<br>ben = cli_token(os.environ[&#39;BEN_PROFILE&#39;])</pre><pre>def require(ok, reason):<br>    if not ok:<br>        raise SystemExit(reason)</pre><pre>def inventory(token, query):<br>    result = call(&#39;POST&#39;, route, caller,<br>                  {&#39;search&#39;: query, &#39;select&#39;: key, &#39;top&#39;: 1000, &#39;count&#39;: True}, user=token)<br>    keys = {row[key] for row in result[&#39;value&#39;]}<br>    require(result.get(&#39;@odata.count&#39;) == len(keys) &lt; 1000,<br>            &#39;Unstable or incomplete fixture inventory&#39;)<br>    return keys</pre><pre>def ranked(token):<br>    question = &#39;Verdantquill committee review allowance&#39;<br>    result = call(&#39;POST&#39;, route, caller, {<br>        &#39;search&#39;: question, &#39;select&#39;: key, &#39;top&#39;: 20, &#39;vectorFilterMode&#39;: &#39;preFilter&#39;,<br>        &#39;vectorQueries&#39;: [{&#39;kind&#39;: &#39;text&#39;, &#39;text&#39;: question, &#39;fields&#39;: vector, &#39;k&#39;: 20}],<br>    }, user=token)<br>    return {row[key] for row in result[&#39;value&#39;]}</pre><pre>state = Path(&#39;review-baseline.json&#39;)<br>mode = sys.argv[1] if len(sys.argv) == 2 else &#39;&#39;<br>require(mode in (&#39;baseline&#39;, &#39;observe&#39;), &#39;Choose baseline or observe&#39;)<br>if mode == &#39;baseline&#39;:<br>    review = inventory(alice, &#39;Verdantquill&#39;)<br>    common = inventory(alice, &#39;Copperwren&#39;)<br>    require(len(review) &gt; 1 and len(common) == 1 and review.isdisjoint(common),<br>            &#39;Expected disjoint multi-chunk review and single-chunk control&#39;)<br>    for token in (alice, ben):<br>        require(inventory(token, &#39;*&#39;) == review | common, &#39;Baseline access mismatch&#39;)<br>        require(bool(ranked(token) &amp; review), &#39;Hybrid positive control failed&#39;)<br>    state.write_text(json.dumps({&#39;index&#39;: manifest[&#39;index&#39;], &#39;review&#39;: sorted(review),<br>                                 &#39;control&#39;: sorted(common)}))<br>    print(&#39;BASELINE PASS&#39;, len(review), &#39;restricted chunks&#39;)<br>else:<br>    saved = json.loads(state.read_text())<br>    require(saved[&#39;index&#39;] == manifest[&#39;index&#39;], &#39;Baseline belongs to a different index&#39;)<br>    review, common = set(saved[&#39;review&#39;]), set(saved[&#39;control&#39;])<br>    start = datetime.fromisoformat(os.environ[&#39;SOURCE_DENIED_UTC&#39;])<br>    require(start.tzinfo is not None, &#39;Source observation needs a UTC offset&#39;)<br>    budget = int(os.environ[&#39;REVOCATION_BUDGET_SECONDS&#39;])<br>    require(budget &gt; 0, &#39;Set the approved release budget in seconds&#39;)<br>    clean = 0<br>    first_clean = None<br>    while True:<br>        require(inventory(alice, &#39;*&#39;) == review | common and bool(ranked(alice) &amp; review),<br>                &#39;Retained reader or content inventory changed&#39;)<br>        visible = inventory(ben, &#39;*&#39;)<br>        hybrid = ranked(ben)<br>        require(common &lt;= visible &lt;= (review | common), &#39;Control missing or unexpected key&#39;)<br>        require(bool(hybrid) and hybrid &lt;= (review | common), &#39;Invalid hybrid control&#39;)<br>        stale = (visible | hybrid) &amp; review<br>        now = datetime.now(timezone.utc)<br>        elapsed = (now - start).total_seconds()<br>        require(0 &lt;= elapsed &lt;= budget, &#39;FAIL revocation observation outside release budget&#39;)<br>        if stale:<br>            print(&#39;STALE&#39;, now.isoformat(), &#39;restricted keys&#39;, len(stale), flush=True)<br>            clean = 0<br>            first_clean = None<br>        else:<br>            first_clean = now if first_clean is None else first_clean<br>            clean += 1<br>            if clean == 2:<br>                print(&#39;First clean sample:&#39;, first_clean.isoformat())<br>                print(&#39;PASS retained=all revoked=0 control=visible hybrid=clean&#39;)<br>                break<br>        time.sleep(5)</pre><p>Run python probe.py baseline before editing access. In Ben’s authenticated SharePoint session, confirm that the restricted file opens. The owner removes Ben’s direct permission using <strong>Manage access</strong>. Ben requests the original file again through a fresh page load and confirms that SharePoint refuses it. Keep the handbook openable. Capture the time of that first confirmed refusal and start the observer immediately. A denial page can arrive as HTML with a success HTTP code, so verify whether the client actually obtained file content. A cached tab with yesterday’s preview is poor evidence either way.</p><pre>export SOURCE_DENIED_UTC=$(date -u +%Y-%m-%dT%H:%M:%S+00:00)<br>: &quot;${REVOCATION_BUDGET_SECONDS:?Set the owner-approved test budget}&quot;<br>export REVOCATION_BUDGET_SECONDS<br>python<br>probe.py observe</pre><p>Here SOURCE<em>DENIED</em>UTC records the operator’s observation. If the source refusal was captured earlier by another system, supply that timestamp instead. The first clean sample is an upper bound on the transition observed by this probe, subject to clock error and gaps between requests. Two consecutive clean samples establish stability across that short interval. They cannot certify future behavior. Keep the last observed stale timestamp when one exists. An expired test credential, a 403 from Search or a network interruption stops the experiment with unknown status. Recording any of those events as zero restricted chunks would turn an outage into a passing security test.</p><h4>Match the repair to the change that actually happened</h4><p>A direct item grant and a supported non-root document-library folder change can reach the index through ordinary incremental processing. For the folder case the indexer can enumerate descendants after a supported change notification. A child with unique permissions keeps its own rules. That gives you a good second fixture. Give a child an explicit exception, revoke the parent’s grant and compare the two children through the same user session. Copying the folder’s new ACL indiscriminately to both children would produce a neat-looking, wrong result.</p><p>Site-wide and library-root changes require different treatment. A missed notification calls for explicit reconciliation too. When existing chunks have their source paths, a permissions resync requests fresh ACLs without asking Content Understanding to read every file or Azure OpenAI to embed the same paragraphs again. Use the following operator script, resync.py, after the initial measurement or during a separately labelled recovery exercise. Run it with python resync.py under the deployment profile. Starting it halfway through the ordinary test changes what your stopwatch measures. The operation and its follow-up are documented at <a href="https://learn.microsoft.com/en-us/azure/search/search-howto-run-reset-indexers">https://learn.microsoft.com/en-us/azure/search/search-howto-run-reset-indexers</a></p><pre>import json<br>import time<br>from pathlib import Path<br>from search_io import call, cli_token<br><br>resource = json.loads(Path(&#39;fixture-index.json&#39;).read_text())[&#39;indexer&#39;]<br>path = &#39;indexers/&#39; + resource<br>operator = cli_token()<br>old = call(&#39;GET&#39;, path + &#39;/status&#39;, operator).get(&#39;lastResult&#39;) or {}<br>if old.get(&#39;status&#39;) == &#39;inProgress&#39;:<br>    raise SystemExit(&#39;Wait for the current execution and retry&#39;)<br>call(&#39;POST&#39;, path + &#39;/resync&#39;, operator, {&#39;options&#39;: [&#39;permissions&#39;]}, expected=(200, 202, 204))<br># The recurring schedule owns the next run. Avoid racing it with another start.<br>deadline = time.monotonic() + 1800<br>while time.monotonic() &lt; deadline:<br>    result = call(&#39;GET&#39;, path + &#39;/status&#39;, operator).get(&#39;lastResult&#39;) or {}<br>    if result.get(&#39;startTime&#39;) != old.get(&#39;startTime&#39;) and result.get(&#39;endTime&#39;):<br>        if (result.get(&#39;status&#39;) != &#39;success&#39; or result.get(&#39;itemsFailed&#39;) != 0<br>                or result.get(&#39;errors&#39;) or result.get(&#39;warnings&#39;)):<br>            raise SystemExit(&#39;Review new execution failures or warnings&#39;)<br>        print(&#39;New execution finished:&#39;, result[&#39;endTime&#39;], &#39;Verify reader visibility.&#39;)<br>        break<br>    time.sleep(10)<br>else:<br>    raise SystemExit(&#39;No new completed execution within the local observation window&#39;)</pre><p>A 409 at the resync request can mean a scheduled run started between inspection and submission. Wait for it to complete before resubmitting. For a request that timed out, inspect execution history before deciding what is still pending. On a busy service a newer completion alone cannot identify the work done on a particular item. Recheck the affected readers. A permission sweep can succeed against every current source path and leave an obsolete child key from an earlier import untouched. A file move, a deletion and a membership change warrant different regression cases.</p><h4>Isolate a grant that comes from a group</h4><p>Give Ben access to the review through one test Entra security group, with no direct user grant. Leave the handbook untouched. Establish the baseline again after both readers can open the review in SharePoint. Remove Ben from the test group without changing its assignment to the file. The correct group ID on the chunk can stay exactly the same from start to finish. Re-embedding the paragraph cannot change who belongs to that group. Measure the observation with the existing sign-in, then repeat with fresh delegated credentials and record which session produced each result. A single sign-in test hides the difference between directory propagation and the lifetime of credentials or cached group resolution.</p><p>A native SharePoint group needs a separate positive case. Give Ben direct membership of the site’s test group, give that group Read on the review and take away his other routes to it. Confirm that the schema has a field marked sharepointSiteUrl and that the index&#39;s connector registration identifies the expected ingestion app. A comparison of two sites needs two independent source items. Give Ben membership on just one, use distinct fixture words and test both. This catches a copied site URL that looks legitimate on every row and selects the wrong site when Search resolves membership.</p><h4>Price the recovery you will actually run</h4><p>An <strong>estimated</strong> operating cost should distinguish a full content rebuild from a permission refresh. For a full rebuild, measure pages submitted to Content Understanding and tokens submitted to the embedding deployment on a representative batch. Multiply each quantity by the applicable regional meter rate and add Search capacity or consumption over the processing period. Keep chat-model image descriptions as a separate line if the application needs them. A permission sweep still uses processing capacity. Budgeting it as a complete second extraction would overstate the expected model charges and encourage operators to postpone a necessary repair.</p><p>For a worksheet, use the customer’s price sheet and meter units, including the denominator for each token price. Reconcile a pilot batch to billing exports before projecting the full library. A file count hides the distinction between a one-page memo and a scanned tender with hundreds of pages. For latency, collect end-to-end times from the application under a reader with direct grants and another who depends on group resolution. Separate the first request from repeated requests. A median taken entirely from a warm account tells the help desk little about a reader opening the assistant at the start of a shift.</p><p>Group topology can change that calculation. Microsoft documents a maximum of five distinct site URLs in an index using the site-URL field for native SharePoint groups. The sixth write raises an ingestion problem, regardless of how much unused storage the service has. Sites split across multiple knowledge sources can require more queries or different application routing. Nested groups have a five-level support boundary, with a separate limit on applicable Entra group principals at a site. Ask the directory owner for concrete examples of actual membership chains before using a count of employee accounts as a sizing input. The topology guidance is at <a href="https://learn.microsoft.com/en-us/azure/search/agentic-knowledge-source-how-to-sharepoint-indexed">https://learn.microsoft.com/en-us/azure/search/agentic-knowledge-source-how-to-sharepoint-indexed</a></p><h4>Decide what the assistant can retain after Search returns</h4><p>The most revealing application test starts with a correct answer for Ben <em>before</em> revocation. Ask for the same review in a new conversation afterwards. Inspect the actual context supplied to the model using synthetic fixtures and a test-only recorder. Repeat in the earlier conversation, including a follow-up such as “What was the allowance again?” A chat backend that replays yesterday’s assistant answer can supply the marker from message history without making a search request at all. Check source titles and citations too. A confidential acquisition target in a file name can carry the entire disclosure.</p><p>Make a deliberate product decision about previously displayed answers. A person can remember or save something they legitimately read. The service does control whether it redisplays stored answers, sends them to another model, or includes them in a subsequent export. For this class of library I would omit reusable answer caching, bind conversation ownership to the authenticated tenant and user, and reauthorize source-bound history before it can enter a new prompt. If the app cannot reconstruct which sources supplied a historical answer, exclude that answer from future grounding for protected collections. Revocation cannot be retrofitted from citation text alone.</p><p>An incident operator needs a way to suspend this source at the application boundary, including cached answers and alternate retrieval routes. Keep the Search source intact for investigation. Rolling traffic back to an older index is acceptable only after that index passes the current reader tests. Older copies can hold the very grant under investigation. Deleting a managed knowledge source can delete its generated index and pipeline, which makes deletion a poor emergency traffic switch. A versioned source allowlist in the application makes the emergency action reversible without asking the operator to destroy evidence.</p><p>A small acceptance hook makes this last check reproducible without sending the test conversation to another service. Give the application test renderer and model client a recorder at their real input boundaries. For each test request, write a local JSON object with model<em>inputs containing every outbound model payload, </em><em>rendered containing the response shown to the reader including titles and citations, and </em><em>served</em>keys containing the Search record keys accepted for use by the application. Capture the complete values for these synthetic files. Never turn full prompt capture on for the real pay library. A recorder placed just after the Search call would miss additions made during prompt assembly.</p><p>Save the next block as check_app.py. It consumes three named captures from the running application test suite. Ask Alice for the unique word used in the review, ask Ben a neutral follow-up in his earlier conversation, and ask Ben for the unique word in the handbook. Keep the actual marker strings out of the test questions. The allowed answers demonstrate that capture really works. The revoked case checks the outbound messages and displayed response independently of whether a model happened to quote a passage. This check covers the fixture strings and source keys it knows about. A paraphrased salary needs its own test data and assertion.</p><pre>import json<br>from pathlib import Path<br><br>def read(name):<br>    return json.loads(Path(name).read_text(encoding=&#39;utf-8&#39;))<br><br>def serialized(value):<br>    return json.dumps(value, ensure_ascii=False).casefold()<br>baseline = read(&#39;review-baseline.json&#39;)<br>restricted, control = set(baseline[&#39;review&#39;]), set(baseline[&#39;control&#39;])<br>cases = [<br>    (&#39;alice-review.json&#39;, &#39;verdantquill&#39;, restricted),<br>    (&#39;ben-handbook.json&#39;, &#39;copperwren&#39;, control),<br>]<br>for filename, marker, expected in cases:<br>    trace = read(filename)<br>    if (not isinstance(trace[&#39;model_inputs&#39;], list) or not trace[&#39;model_inputs&#39;]<br>            or marker not in serialized(trace[&#39;model_inputs&#39;])<br>            or marker not in serialized(trace[&#39;rendered&#39;])<br>            or not expected.intersection(trace[&#39;served_keys&#39;])):<br>        raise SystemExit(&#39;Positive application control failed: &#39; + filename)<br>denied = read(&#39;ben-followup.json&#39;)<br>if (not isinstance(denied[&#39;model_inputs&#39;], list) or not denied[&#39;rendered&#39;]<br>        or not isinstance(denied[&#39;served_keys&#39;], list)):<br>    raise SystemExit(&#39;Incomplete denied application capture&#39;)<br>if set(denied[&#39;served_keys&#39;]) - control:<br>    raise SystemExit(&#39;Unexpected source reached the revoked session&#39;)<br>inspected = serialized([denied[&#39;model_inputs&#39;], denied[&#39;rendered&#39;]])<br>if any(value in inspected for value in (&#39;verdantquill&#39;, &#39;reviewfixture.docx&#39;)):<br>    raise SystemExit(&#39;Restricted fixture marker or title survived revocation&#39;)<br>print(&#39;PASS application_controls=visible revoked_prompt=clean revoked_response=clean&#39;)</pre><p>For release evidence, retain the source change reference, UTC times, API version, generated index name, fixture identity and sanitized outcome. Record separately whether the operation used scheduled detection or an explicit resync. Run python check_app.py against the three captures after completing the direct-index probe. A release record should contain both expected lines below, produced in that tenant under its own readers.</p><pre>PASS retained=all revoked=0 control=visible hybrid=clean<br>PASS application_controls=visible revoked_prompt=clean revoked_response=clean</pre><p>More actionable advice over at <a href="https://mohammed-brueckner.com/publications">https://mohammed-brueckner.com/publications</a> — and discover the playbook for surviving the compression in the agentic era with my book at <a href="https://platformeconomies.com/">https://platformeconomies.com</a> — out now and ready to buy in both Kindle and hardcover. Direct Amazon links:</p><ul><li>Amazon US: <a href="https://www.amazon.com/dp/B0H3VVNPZ3">https://www.amazon.com/dp/B0H3VVNPZ3</a></li><li>Amazon UK: <a href="https://www.amazon.co.uk/dp/B0H3VVNPZ3">https://www.amazon.co.uk/dp/B0H3VVNPZ3</a></li><li>Amazon DE: <a href="https://www.amazon.de/dp/B0H3VVNPZ3">https://www.amazon.de/dp/B0H3VVNPZ3</a></li></ul><p><a href="https://mohammed-brueckner.com/">← mohammed-brueckner.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=417da074262d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/micromusings/when-you-revoke-sharepoint-access-can-your-ai-assistant-still-quote-the-file-417da074262d">When You Revoke SharePoint Access, Can Your AI Assistant Still Quote the File?</a> was originally published in <a href="https://medium.com/micromusings">Micro Musings for thought leaders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You Can Learn the Modern Data Stack on 344 Penguins]]></title>
            <link>https://medium.com/micromusings/you-can-learn-the-modern-data-stack-on-344-penguins-af0fee13df22?source=rss----8414cee6d8ba---4</link>
            <guid isPermaLink="false">https://medium.com/p/af0fee13df22</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[databricks]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-platforms]]></category>
            <dc:creator><![CDATA[Mohammed Brückner]]></dc:creator>
            <pubDate>Mon, 16 Nov 2026 14:13:04 GMT</pubDate>
            <atom:updated>2026-11-16T14:13:04.575Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>The junior seat where data people learned their craft is being deleted. Databricks Free Edition is where the reps come from now.</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*EoJaRuSwkEjdE7c4CnYEmQ.png" /></figure><p>The most useful dataset for learning data engineering in 2026 has 344 rows.</p><p>Job adverts ask for petabyte experience and conference talks count nodes in the thousands, yet the skill that separates a data engineer from a dashboard consumer is knowing whether a number is right, and that skill only forms on data small enough to check by hand.</p><p>Three seasons of penguin observations from Palmer Station, Antarctica: 344 records, eight columns, collected by Kristen Gorman with the Palmer Station LTER programme and packaged as the <a href="https://github.com/allisonhorst/palmerpenguins">palmerpenguins dataset</a> under a CC0 licence. Of those 344 records, 342 carry a body weight. Two do not. Load this data into a lakehouse, build a pipeline, publish a dashboard, then teach an AI agent to answer questions about it, and you know at every single step what the truth is. When the dashboard says 342, you know why. When the agent says something else, you can prove where it went wrong.</p><p>On 16 November I published a free tutorial built on exactly this idea: <a href="https://mohammed-brueckner.com/databricks/free-edition-tutorial/">twenty hands-on labs on Databricks Free Edition</a>, from a raw CSV to a live app that answers questions with sources.</p><h4>What the free tier became</h4><p>Databricks replaced Community Edition with <a href="https://docs.databricks.com/aws/en/getting-started/free-edition">Free Edition</a> in 2025, and the difference is structural. Community Edition was a notebook attached to a small cluster. Free Edition is the platform itself, with quotas: serverless compute, a SQL warehouse capped at 2X-Small, one workspace and one metastore under Unity Catalog, declarative pipelines, jobs with file-arrival triggers, dashboards, selected foundation models with tool calling, one vector search endpoint, up to three Databricks Apps, one Lakebase project. No credit card, no cloud contract. Commercial use is prohibited, and if you exhaust fair use, compute pauses while your data persists.</p><p>For learning, the quota shape barely matters. Five concurrent job tasks is more parallelism than any exercise needs. What matters is that the pieces are the same pieces you would meet in a paid enterprise workspace: the same catalog, the same pipeline semantics, the same lineage graph, the same agent tooling. The ceiling is on scale, on the part that teaches you the least.</p><p>The edges, because they decide what you can practise: R and Scala are out; Python and SQL are in. There are no custom compute configurations, so you take the serverless behaviour you are given. An app you deploy stops on its own 24 hours after its latest start. There is no SLA and no support desk. None of this blocks a single lab, and one restriction helps: when everything is serverless and preconfigured, the only thing left to debug is your own work. A beginner on a paid trial can burn a weekend on cluster sizing before touching data. Here that whole category of distraction is gone, along with the anxiety of a meter running.</p><p>The other thing the free tier buys you is consequence-free failure. Lab 07 depends on it: you break a job on purpose, read the task output to find out why, and run a repair. On an employer’s workspace, nobody practises breaking things. On your own free workspace, a red run costs nothing and teaches more than ten green ones.</p><h4>Twenty labs, and every lab exists twice</h4><p>The tutorial runs each exercise in two routes. The manual route has you write the SQL, configure the pipeline, place the trigger and read the run logs yourself. The Genie route hands the same task to Databricks’ agent and has you supervise. You pick a route per lab, and the contents table keeps both in view, with a reading-first field-notes companion for every step.</p><p>The arc, compressed: stage the CSV in a workspace volume, verify the counts against the raw file, load Bronze with read_files and a declarative pipeline, keep every observation on the way to Silver, let a late-arriving file start the job on its own, break a run on purpose and repair it, rebuild the summary on a dashboard canvas, join the field names to their taxonomic records, inspect who can read which table and where each number came from, give &quot;weighed&quot; one shared definition, publish a brief, teach the agent your definitions and test whether it uses them, evaluate a weight prediction, retrieve an observation by similarity, and finish by serving the brief as an app that cites its sources.</p><p>Lab 03 is where the dataset starts to teach. One query against the original CSV:</p><pre>SELECT year, COUNT(*) AS observations,<br>       COUNT(TRY_CAST(body_mass_g AS INT)) AS weighed<br>FROM read_files(<br>  &#39;/Volumes/workspace/palmer_lab/landing/penguins.csv&#39;,<br>  format =&gt; &#39;csv&#39;, header =&gt; true)<br>GROUP BY year ORDER BY year;</pre><p>Three rows come back. 2007: 110 observations, 109 weighed. 2008: 114 and 114. 2009: 120 and 119. The two missing weights have names, more or less: one Adelie on Torgersen in 2007, one Gentoo on Biscoe in 2009. Those two penguins follow you through the remaining seventeen labs. They are why COUNT(*) and COUNT(column) disagree, why &quot;weighed&quot; needs a written definition before an agent touches it, and why the final app&#39;s answer ships with a caveat.</p><p>The mechanism is TRY<em>CAST. The raw CSV records a missing weight as the letters NA, and counting that cell would count text as a measurement. </em><em>TRY</em>CAST turns 3750 into a number and NA into NULL, and COUNT over the result skips the NULLs while COUNT(*) still counts the bird. One function, and the gap between &quot;we observed 344 penguins&quot; and &quot;we weighed 342&quot; is a number you computed yourself. Underneath most dashboard arguments in large organisations sits this exact confusion, at higher stakes and without the option of recounting by hand.</p><p>The middle labs stretch the same discipline across the platform. The late file is my favourite: you split the survey into two deliveries up front, load the first, and then drop the second into the landing volume while a file-arrival trigger watches. The pipeline wakes up on its own, and the island totals on your dashboard move. Watching a number change because a file arrived, and being able to name the file, the run and the rows responsible, is the whole idea of lineage compressed into one minute of screen time. Lab 10 then shows you the same story from the governance side: who can read the table, and which upstream file every figure traces back to.</p><p>Lab 07 is where route choice turns concrete. You edit a verification notebook so it expects 343 weights instead of 342, run the job, and watch the check fail. On the Genie route, Genie Code makes that edit for you, and then you hand it the diagnostic: show every Silver row whose mass is NULL, and say whether the observed totals of 344, 342 and 2 match those rows, or my expected 343 does. The rows win. The repair goes to the test, because changing the data to satisfy a test would put a made-up measurement in the report. An agent wrote the fix; the judgment about which side was wrong stayed with you.</p><h4>One definition, many consumers</h4><p>Lab 11 is the smallest lab and carries the most enterprise weight. “Weighed” gets defined once, as a metric: a record whose body mass is a number. The dashboard reads that definition, the published brief reads it, and the agent is later tested against it. Up to that point, every consumer of the data was free to re-derive the rule on its own, and two of them would eventually disagree in front of an audience. It is the penguin-sized version of every argument about what counts as an active customer, settled by one shared object instead of a meeting.</p><p>The machine-learning labs borrow the same discipline. A weight prediction in lab 14 gets evaluated before it gets believed, and similarity retrieval in lab 15 returns an observation you can look up in the raw file, by hand, because 344 rows allow it.</p><h4>The agent has to earn it</h4><p>The closing labs teach a Genie agent your definitions, then grade it, including a standing trap question about an island the survey never covered, which stays in your test suite through every instruction change. The grading is only possible because the dataset fits in your head. You cannot check a warehouse of billions of rows by hand, so whatever verification habits you bring to one were formed somewhere else. The 342 is trustworthy because you counted it three different ways in week one, and the agent is trustworthy to exactly the degree you tested it.</p><h4>The apprenticeship moved, and nobody sent a memo</h4><p>There is a reason I think this matters beyond one tutorial. In my book <em>Platform Economies</em> I spend a chapter on the leverage pyramid that trained four decades of analysts: juniors built the forty-hour market models, partners sold the judgment, and the building was the education. That pyramid is being deleted from the bottom. Entry-level inflows into consulting firms fell 54 percent year over year by mid-2025, and the structured, data-heavy work that taught juniors how data behaves is precisely the work the systems now do.</p><p>The judgment is still in demand. What vanished is the paid seat where you used to acquire it. A first-year analyst learned to distrust a clean-looking number by producing a few hundred wrong ones under supervision. If that seat no longer exists, the reps have to come from somewhere, and a free platform plus a dataset you can hold in your head is the closest replacement I have found. The partner reviewing your work is you, armed with 344 rows of ground truth.</p><p>That is also why the tutorial refuses to pick between the manual route and the agent route. The manual labs alone prepare you for a job that is disappearing, and the Genie labs alone leave you supervising a system you have no independent way to check.</p><h4>Where to start</h4><p>The <a href="https://mohammed-brueckner.com/databricks/free-edition-tutorial/"><strong>tutorial hub</strong></a><strong> </strong>carries the full lab table, the Free Edition briefing and a reading-first platform overview for anyone who prefers to read before building. Labs run in order, each with a checkpoint, and an appendix holds the answer keys plus an offline copy of the dataset with a hash check, for workspaces with no route to the publisher.</p><p>A route suggestion from building it: if you already write SQL for a living, run the Genie route first and keep the manual route as your audit trail, because the supervision skills are the ones your next role will test. If you are earlier in your career, do it the other way round. Write the queries yourself for the first ten labs, then watch the agent do the same work and mark its homework. Either way, do lab 03 by hand. The two missing penguins deserve a personal introduction.</p><p>Budget a few evenings and no credit card. Count the penguins yourself before you let anything count them for you.</p><p>The wider argument, on what platforms and AI are doing to the people who used to learn by doing, is in <a href="https://platformeconomies.com/"><em>Platform Economies</em></a>.</p><p><a href="https://mohammed-brueckner.com/">← mohammed-brueckner.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af0fee13df22" width="1" height="1" alt=""><hr><p><a href="https://medium.com/micromusings/you-can-learn-the-modern-data-stack-on-344-penguins-af0fee13df22">You Can Learn the Modern Data Stack on 344 Penguins</a> was originally published in <a href="https://medium.com/micromusings">Micro Musings for thought leaders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The 1999 Equation That Explains Why a Few Companies Own the Internet]]></title>
            <link>https://medium.com/micromusings/the-1999-equation-that-explains-why-a-few-companies-own-the-internet-d8c06716406f?source=rss----8414cee6d8ba---4</link>
            <guid isPermaLink="false">https://medium.com/p/d8c06716406f</guid>
            <category><![CDATA[data-platforms]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[future]]></category>
            <dc:creator><![CDATA[Mohammed Brückner]]></dc:creator>
            <pubDate>Thu, 22 Oct 2026 19:13:09 GMT</pubDate>
            <atom:updated>2026-10-22T19:13:09.031Z</atom:updated>
            <content:encoded><![CDATA[<h4>A power law found in the wiring of the web predicts winners before they exist. AI just gave the mechanism an engine.</h4><p>Why does every digital market end up owned by two or three companies?</p><p>Search. Social networks. Cloud. Mobile operating systems. App stores. Maps. Now foundation models. Different products, different decades, different founders. Same outcome.</p><p>The usual explanations reach for people. Smarter founders. Better engineers. More capital. Sharper strategy. The people matter, and they are not the mechanism. The mechanism is a piece of mathematics that was measured into the open in 1999, and it predicts the giants before anyone founds them. Once you see it, you stop asking which company will win a market. You start asking which position in the network the winner will occupy.</p><h4>The World as a Bell Curve</h4><p>Start with the world statisticians expected.</p><p>In 1960, Paul Erdos and Alfred Renyi described the cleanest way to build a network: take some nodes and connect pairs of them at random. The result is democratic. Count the links each node ends up with and you get a bell curve. Most nodes sit close to the average. Extremes die off exponentially fast.</p><p>Human height works this way. Most adults cluster around the average, and nobody is ten times as tall as anyone else. The bell curve has a typical size, and reality respects it.</p><p>If the internet worked this way, the biggest website would have three or four times as many links as a typical page. A healthy market would have a healthy middle. There would be no Google, no Amazon, no single switchboard through which everything routes. The giants would be statistical impossibilities.</p><p>The giants are not statistical impossibilities. So the internet is not that kind of network.</p><h4>The Map That Broke the Curve</h4><p>In 1999, Albert-Laszlo Barabasi and Reka Albert at the University of Notre Dame did the obvious thing nobody had done. They mapped a slice of the actual web, about 325,000 pages from their university’s domain, and counted the links.</p><p>No bell curve. The number of pages with k incoming links falls off as a power of k. Double the links and pages get rarer by a fixed factor. The exponent sits somewhere between two and three, depending on what you measure.</p><p>That fixed factor is the entire story, so it is worth one slow paragraph. On a bell curve, rarity depends on where you are: being twice the average is common enough, being ten times the average is a miracle. On a power law, the ratio never changes. If pages with twenty links are four times rarer than pages with ten, then pages with 200,000 links are four times rarer than pages with 100,000. The same rule at every scale. Mathematicians call the property scale-free, and it earns the name: there is no typical size anywhere in the system. Draw it on log-log paper and the chaos of the web straightens into a line.</p><p>A line like that has no middle. It has a long, crowded tail of tiny nodes and a short head of enormous hubs, with very little in between.</p><p>The same team measured a second property that year, and it belongs in every classroom. Across a web of roughly 800 million pages, the average distance between pages came to about nineteen clicks. A network of almost a billion nodes, and you can cross it in nineteen steps. The hubs make that possible. They are the expressways of the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gucZA9G_kJARzfi3ehDL_A.jpeg" /><figcaption>An illustrative interpretation of the relevant curves, thanks to Gemini.</figcaption></figure><h4>Two Rules Are Enough</h4><p>Where does the line come from? Not from genius. From two rules so plain they fit on an index card.</p><p>Rule one: networks grow. New pages appear every day.</p><p>Rule two: newcomers attach preferentially. A new page links to pages that already have many links, partly because those are the pages everyone can find, partly because prominence reads as quality.</p><p>The rich get richer. That is the whole mechanism. Barabasi and Albert showed that these two rules, and nothing else, generate a power law with an exponent of exactly three. The measured web sits lower, closer to two, which tells you the real attachment rule has a second ingredient. The shape is the one the rules produce. No conspiracy required. No superior product required. The giants are the equilibrium of the growth process, the way a river delta is the equilibrium of rain.</p><p>The idea was not even new in 1999. Derek de Solla Price had found the same rule in 1965, inside the citation network of scientific papers. A decade later he named it cumulative advantage: papers get cited because they have been cited. The pattern sat in the literature for three decades, waiting for the dataset that would make it famous. The web arrived. Since then the same signature has turned up in metabolic networks, in collaboration graphs, in protein interactions. Wherever a network grows by attachment, the power law follows.</p><h4>Hubs Are Not an Accident</h4><p>Accept the math and two uncomfortable predictions follow. Barabasi’s team tested both in 2000.</p><p>First prediction: random failure barely hurts. Remove nodes at random and the victims are almost all small ones, because almost all nodes are small. The hubs survive, the expressways stay open, the network holds together. The internet shrugs off ordinary breakage every single day, and this is why.</p><p>Second prediction: aimed failure is catastrophic. Remove the best-connected five percent of nodes on purpose and the network shatters into isolated islands. The same hubs that make the system robust make it brittle, and you cannot have one without the other.</p><p>Keep those two predictions in mind the next time a platform changes its terms. A fee change in an app store, a ranking update in a search engine, a new price on an API: each one is a small, aimed strike on a node that millions of businesses route through. The network does not shatter. <a href="https://platformeconomies.com/">The economics of the nodes in the tail does</a>.</p><h4>The Mechanism Got an Engine</h4><p>Up to here, the 1999 paper describes the present. From here on, it explains too much of it.</p><p>Classic preferential attachment is passive. A node’s advantage is its history. It waits to be chosen, and its past links do the choosing. The node itself does not improve.</p><p>AI bolted an engine onto the rule. Every attachment now upgrades the target. Usage produces data, data improves the model, the improved model attracts more usage. The link no longer just records a preference; it makes the preferred node better, which makes the next link more likely. The feedback that used to live in the wiring of the network has moved into the quality of the node itself. What took a decade to produce Google now runs in a fraction of the time.</p><p>I say this with some embarrassment, because I misread it in public. In 2018 I wrote a series arguing that platforms were for everyone, that open APIs would democratize the game. I watched insurance companies and carmakers open developer portals and I saw democratization. I should have seen the attachment rule underneath. The open portals were real, and the companies running them were incumbents renting out distribution, not players in the actual game. As I put it in <a href="https://platformeconomies.com/"><em>Platform Economies</em></a>, the real game is “the winner-takes-all, data-feeds-model, agent-consumes-API game,” and it runs at a different layer.</p><p>In <a href="https://platformeconomies.com/">the book</a> I call the result compression. A bell-curve market has a comfortable middle: mid-sized firms serving mid-sized clients at mid-sized margins. A power-law market does not. The middle empties. You drift toward the head, toward the tail, or you become a feature inside somebody else’s node. That hollowing is the distribution’s shape asserting itself, now with a learning loop pressing on the accelerator.</p><h4>What the Equation Leaves You</h4><p>You cannot out-effort a power law. Effort moves you along the distribution. It does nothing to the distribution’s shape. What you can do is choose your position inside the mechanism, and there are three honest choices.</p><p>You can build your own mass. Become a node others have to attach to: <a href="https://platformeconomies.com/">own the data, the gateway, the standard, or the moment where connections form</a>. This is the hardest path and the only one the math rewards with gravity.</p><p>You can federate. A federation changes the attachment rule itself. When no single node owns the infrastructure, no single node extracts the rent, and the winner-takes-all dynamic loses its fuel. Europe’s Gaia-X and the data spaces built around it are trying exactly this, with modest results so far, and the math says the attempt is at least aimed at the right variable.</p><p>Or you can attach to a hub with your eyes open. Plenty of good businesses live in the tail. The discipline is to price the toll before you pay it: know what the hub can change, know what leaving costs, and keep that exit number current.</p><p>The 1999 paper described the wiring of the web. It also describes the wiring of your industry, your supply chain, and your customer base. So the question worth carrying into your next strategy meeting is not “how do we win this market.” It is this: where in the network are we, what is our attachment rule, and who is compounding while we stand still?</p><p><a href="https://platformeconomies.com/"><em>Platform Economies: How AI Is Rewriting the Rules of Platforms, APIs, and Partnerships</em></a><em> is out now. Mohammed Brückner is an enterprise architect writing about what platform dynamics do to the companies inside them.</em></p><p><a href="https://mohammed-brueckner.com/">← mohammed-brueckner.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8c06716406f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/micromusings/the-1999-equation-that-explains-why-a-few-companies-own-the-internet-d8c06716406f">The 1999 Equation That Explains Why a Few Companies Own the Internet</a> was originally published in <a href="https://medium.com/micromusings">Micro Musings for thought leaders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Enterprise Architecture Codex.]]></title>
            <link>https://medium.com/micromusings/the-enterprise-architecture-codex-f253a43aa44c?source=rss----8414cee6d8ba---4</link>
            <guid isPermaLink="false">https://medium.com/p/f253a43aa44c</guid>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[enterprise-technology]]></category>
            <dc:creator><![CDATA[Mohammed Brückner]]></dc:creator>
            <pubDate>Mon, 19 Oct 2026 17:50:02 GMT</pubDate>
            <atom:updated>2026-10-19T17:50:04.216Z</atom:updated>
            <content:encoded><![CDATA[<h4>The Oldest Default in Enterprise Architecture Now Bills You at Machine Speed.</h4><p><em>Enterprises kept their architecture in documents for decades and booked the cost as review overhead. Agents now execute whatever those documents ambiguously say, at a speed no committee can audit.</em></p><p><strong>93 percent of agent approval requests get accepted, a rate that turns most approval gates into scenery.</strong></p><h4>A default nobody remembers choosing</h4><p>Somewhere near the top of your enterprise sits a shelf of principles last revised three years ago, a standards wiki that no longer matches what teams deploy, reference architectures as PDFs whose authors have moved on, and strategy decks that never touched delivery. The default assembled itself honestly, one reorganization at a time, and it was affordable. Humans sat between the document and the code, translated intent into tickets, and charged the effort to review.</p><p>Agents removed the translation layer. A model reads what you wrote, fills every gap with something plausible, and executes with a confidence no review board can outpace. William El Kaim, whose architecture factory pamphlet sits at <a href="https://eacodex.ai/">https://eacodex.ai</a> and whose book on the subject underpins it, says it more politely. <em>The enterprise has the right vocabulary and the wrong artifacts.</em></p><ul><li>A principle stored without its check is a wish, and a pipeline grants wishes literally.</li></ul><h4>One policy change, priced two ways</h4><p>The cleanest cost accounting sits in chapter 14 of El Kaim’s book at <a href="https://eacodex.ai/book/">https://eacodex.ai/book/</a> alongside the Codex. On 22 April 2026, SAP restricted access to its systems to published APIs and endorsed mechanisms. Every integration and every agent reading SAP data came into scope at once.</p><p>The traditional response has a known price. A working group forms, builds a spreadsheet inventory, and grants exceptions with no end date. Four to eight weeks later, half the inventory is already wrong. You paid for a snapshot that was stale on arrival, plus exceptions you will unwind next year.</p><p>The Codex response prices differently. A decision record, a principle, a standard, fitness functions and a specification change ride together in a single pull request. They merge as one, leave one audit trail, and can be reverted as one if the decision proves wrong. The policy change stops being a project and becomes a commit.</p><p>↳ Pernod Ricard already runs a slice of this in production. Its Compass tool scores principles from zero to five with an AI estimate, prepares the review paper, and closes the loop in LeanIX, on a content baseline dated 30 September 2026.</p><h4>The gate that guards nothing</h4><p>A gate that approves nearly everything guards nearly nothing, and that 93 percent comes from Yarchi’s work on agent levels. The working control sits below the model, in the harness, whose permission ladder runs from automatic reads up to hard prohibition of the irreversible. Mori’s harness engineering notes live at <a href="https://x.com/0xjmori">https://x.com/0xjmori</a> and reward an hour. People stay where judgment is real, setting intent, approving at gates, calibrating judges, turning failures into rules.</p><p>Eval numbers hurt in a quieter way. In Makarevych’s run, humans found 26 bad replies out of 60.</p><p>↳ The AI judge flagged only 10, so 16 wrong answers would have reached customers. A model does not crash when it fails. It returns a fluent, confident answer that may be wrong, which is exactly why the checker lives outside the model, in code and in evals with honest error bars.</p><h4>The machinery nobody demos</h4><p>Reliable agents are loop engineering, and it is boring on purpose. A clear done. A checker outside the model. A stop rule. A budget capped in turns and money before the run starts. Mori’s line belongs on a wall. <em>A better prompt can improve one response. A better harness improves every run.</em></p><p>El Kaim’s factory nests these loops three deep. An architecture loop in weeks to quarters hands each specification to a delivery loop in days, which hands each build step to an agent loop in seconds. Each outer loop gives the inner one its goal, and each inner loop returns evidence the outer one cannot fake. The budget caps are the part nobody posts about, and I make the same argument in chapter 24 of my own Platform Economies.</p><ul><li>Nested loops with hard budget limits are the unglamorous half of agent reliability.</li></ul><p>Semantics before agents, every time, the Design Line I argue in chapter 13 of Platform Economies. Architecture knowledge should be executable, typed, versioned, linked, and checkable in the pipeline. That single line moves architecture from documents a committee debates to contracts a pipeline enforces, and it makes the Continuous Architecture principles from Murat Erder and Pierre Pureur executable rather than laminated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9yfU3_0c6PwPckMnUVt2vg.png" /><figcaption>Semantics before agents, budgets before trust. The Design Line from chapter 13 of Platform Economies (my book), with the nested loops and budget caps of chapter 24 doing the quiet work.</figcaption></figure><h4>What encoding actually costs</h4><p>A skeptic should press here, and I will. El Kaim’s own v1 shipped 27 kinds, and readers met all of them before seeing a chain of seven concepts, so the v2 design shrinks the core to roughly a dozen. A schema written by the wrong people is a wiki with a compiler. A concept becomes a kind only if a control acts on it, the guard against metamodel creep. Buy the commodity layers, models, runtimes, repositories like LeanIX. Build what is yours, your rules, your mappings, your fitness functions, your eval cases from your own failures.</p><h4>The line worth arguing over</h4><p>Documents let an architect stay judicious in the abstract forever. Typed contracts force the same architect to state, in public, in a schema, what the enterprise actually means. This is the gap between intent and implementation, closing at last. Once your pipeline enforces every rule you have written, which judgments do you refuse to encode, and who signs the line that keeps them human? The document era let that question hide for twenty years. The commit era will not.</p><p>#EnterpriseArchitecture #AIAgents #PlatformEngineering #ArchitectureAsCode #ContinuousArchitecture</p><p>More actionable advice over at <a href="https://mohammed-brueckner.com/publications">https://mohammed-brueckner.com/publications</a> — and discover the playbook for surviving the compression in the agentic era with my book at <a href="https://platformeconomies.com/">https://platformeconomies.com</a> — out now and ready to buy in both Kindle and hardcover. Direct Amazon links:</p><ul><li>Amazon US: <a href="https://www.amazon.com/dp/B0H3VVNPZ3">https://www.amazon.com/dp/B0H3VVNPZ3</a></li><li>Amazon UK: <a href="https://www.amazon.co.uk/dp/B0H3VVNPZ3">https://www.amazon.co.uk/dp/B0H3VVNPZ3</a></li><li>Amazon DE: <a href="https://www.amazon.de/dp/B0H3VVNPZ3">https://www.amazon.de/dp/B0H3VVNPZ3</a></li></ul><p><a href="https://mohammed-brueckner.com/">← mohammed-brueckner.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f253a43aa44c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/micromusings/the-enterprise-architecture-codex-f253a43aa44c">The Enterprise Architecture Codex.</a> was originally published in <a href="https://medium.com/micromusings">Micro Musings for thought leaders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Agents may learn from oldschool Sierra Adventures]]></title>
            <link>https://medium.com/micromusings/what-agents-may-learn-from-oldschool-sierra-adventurs-1c7b660d4b3d?source=rss----8414cee6d8ba---4</link>
            <guid isPermaLink="false">https://medium.com/p/1c7b660d4b3d</guid>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[retro]]></category>
            <category><![CDATA[agents]]></category>
            <dc:creator><![CDATA[Mohammed Brückner]]></dc:creator>
            <pubDate>Sun, 11 Oct 2026 18:02:01 GMT</pubDate>
            <atom:updated>2026-10-11T18:03:03.410Z</atom:updated>
            <content:encoded><![CDATA[<p>Every cloned productivity app released this year represents an astonishing misallocation of human intellect while the design patterns of classic role-playing adventures remain entirely abandoned.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YAdh6pxNnnfRRwQ8VQH_YA.jpeg" /></figure><p>The genre that defined computer role-playing in the nineteen-nineties relied on a specific fusion of parser logic, spatial state management, and discrete asset streaming. Titles like Quest for Glory IV proved that software could blend systemic combat stats with intricate puzzle dependencies without requiring massive distributed server clusters. Modern engineering teams routinely struggle with state synchronization across microservices. Those same teams could learn robust state management by studying how a single floppy disk tracked hundred-room worlds, inventory flags, and non-player character schedules. Building such an engine today exposes the brittle nature of current web stacks. Coding agents excel when given deterministic rules, clear domain boundaries, and strict type contracts. Adventure games provide precisely this constrained problem space.</p><h4>The Architecture of Deterministic State Machines</h4><p>Classic adventure games operate on a closed-world assumption. Every item exists in exactly one location at any given time. It resides in the player inventory, inside a container object, or on a specific room coordinate. Modern software architectures often abandon this simplicity in favor of eventual consistency and complex distributed caches. Rebuilding an adventure engine forces a return to absolute truth.</p><p>State tracking requires a centralized registry where every game entity holds immutable identifiers and mutable property flags. When an agent generates the game world, it must establish a clear schema for room connections, interactive hotspots, and conditional triggers.</p><p>Consider the fundamental Python data structure required to define a room and its interactive entities without relying on implicit state or hidden side effects.</p><pre>from dataclasses import dataclass, field<br>from typing import Dict, List<br><br>@dataclass<br>class Item:<br>    item_id: str<br>    name: str<br>    is_takeable: bool<br>@dataclass<br>class Room:<br>    room_id: str<br>    description: str<br>    exits: Dict[str, str]<br>    items: List[Item] = field(default_factory=list)<br>@dataclass<br>class GameState:<br>    current_room: str<br>    inventory: List[Item] = field(default_factory=list)<br>    flags: Dict[str, bool] = field(default_factory=dict)</pre><p>Global mutable variables destroy predictability in complex software systems. Scoping state strictly inside a serializable container ensures that saving and loading game progress is merely a matter of serializing a single dictionary to disk. Coding agents write cleaner parsing routines when state mutations are explicit rather than hidden inside UI event listeners.</p><h4>Parsing Player Intent Without Ambiguity</h4><p>Text parsers and verb-object interfaces present distinct engineering challenges. Older games required players to type commands, leading to frustrating guessing games with vocabulary lists. Later iterations shifted to fixed verb grids where clicking examine, take, or use dictated the interaction mode.</p><p>Building a modern engine requires a hybrid approach. Players should be able to type natural language commands while the system maps those inputs against a strict domain-specific vocabulary.</p><p>The parser must translate raw strings into structured intent objects before any game logic executes. If the translation fails, the system returns a descriptive error rather than crashing or executing a fallback action.</p><pre>class IntentParser:<br>    def __init__(self, valid_verbs: set, valid_nouns: set):<br>        self.verbs = valid_verbs<br>        self.nouns = valid_nouns<br><br>    def parse(self, raw_input: str) -&gt; dict:<br>        tokens = raw_input.lower().strip().split()<br>        if not tokens:<br>            return {&quot;error&quot;: &quot;empty_input&quot;}<br><br>verb = tokens[0]<br>        if verb not in self.verbs:<br>            return {&quot;error&quot;: f&quot;unknown_verb_{verb}&quot;}<br><br>if len(tokens) == 1:<br>            return {&quot;verb&quot;: verb, &quot;noun&quot;: None}<br>n oun = &quot; &quot;.join(tokens[1:])<br>        if noun not in self.nouns:<br>            return {&quot;error&quot;: f&quot;unknown_noun_{noun}&quot;}<br>        return {&quot;verb&quot;: verb, &quot;noun&quot;: noun}</pre><p>Loose string matching introduces subtle bugs that manifest hours into a playthrough. Strict boundary checks on vocabulary ensure that every input maps cleanly to an implemented handler. When coding agents assist in writing these parsers, providing exhaustive unit tests for edge cases prevents silent failures.</p><h4>Room Transition Logic and Asset Streaming</h4><p>Moving between rooms in a graphical adventure requires precise coordinate mapping and resource management. Assets must load into memory when approaching a boundary and unload when leaving a scene.</p><p>Memory management in retro engines was constrained by physical hardware limits. Modern applications often suffer from memory bloat because developers ignore resource lifecycles. Managing assets explicitly forces an engineering discipline that transfers directly to high-performance backend systems.</p><p>Room transitions must evaluate prerequisite flags before allowing passage. If a castle gate remains locked, the transition logic rejects the movement attempt and triggers the appropriate dialogue sequence.</p><pre>class WorldEngine:<br>    def __init__(self, rooms: Dict[str, Room], state: GameState):<br>        self.rooms = rooms<br>        self.state = state<br><br>    def move_player(self, direction: str) -&gt; str:<br>        current = self.rooms.get(self.state.current_room)<br>        if direction not in current.exits:<br>            return &quot;You cannot go that way.&quot;<br>        destination_id = current.exits[direction]<br>        if destination_id == &quot;locked_castle_gate&quot; and not self.state.flags.get(&quot;has_key&quot;, False):<br>            return &quot;The heavy iron gate is locked tight.&quot;<br>        self.state.current_room = destination_id<br>        return self.rooms[destination_id].description</pre><p>Implicit assumptions about asset availability cause runtime exceptions in production environments. Explicitly verifying object presence before execution eliminates entire classes of silent software defects.</p><h4>Hardening the Engine Against Logic Deadlocks</h4><p>Adventure games contain inherent narrative deadlocks. A player might consume a crucial item early in the game, rendering the final puzzle mathematically impossible to solve. Classic game design suffered from this flaw frequently. Modern implementations must incorporate dependency analysis tools to verify puzzle solvability automatically.</p><p>Building a solver script allows automated coding agents to test every possible interaction path through the game graph before human testers touch the build.</p><p>The verification script traverses the state space, ensuring that every required flag has a valid production path originating from the initial game state.</p><pre>class PuzzleValidator:<br>    def __init__(self, initial_state: GameState, transition_graph: dict):<br>        self.state = initial_state<br>        self.graph = transition_graph<br><br>    def verify_solvability(self, target_flag: str) -&gt; bool:<br>        visited = set()<br>        queue = [self.state]<br><br><br>while queue:<br>            current = queue.pop(0)<br>            if current.flags.get(target_flag, False):<br>                return True<br>            state_hash = str(sorted(current.flags.items()))<br>            if state_hash in visited:<br>                continue<br>            visited.add(state_hash)<br>            for action in self.graph.get(current.current_room, []):<br>                next_state = action(current)<br>                queue.append(next_state)<br>        return false</pre><p>Automated verification transforms narrative design from an art into an engineering discipline. Every puzzle becomes a state transition function subject to rigorous mathematical proof.</p><h4>Validating the Implementation</h4><p>Deploying a custom adventure engine requires verifying that runtime performance, memory consumption, and state serialization meet exact thresholds. Running automated integration tests confirms that all subsystems communicate without race conditions.</p><p>Execute the test suite to validate parser accuracy and state persistence.</p><pre>python<br>3 -m unittest discover -s tests -v</pre><p>Monitor memory allocation during intense room transitions to detect resource leaks.</p><pre>valgrind --leak-check=full --show-leak-kinds=all python3 engine.py</pre><p>Confirm that save state files write atomically to disk without partial corruption during unexpected interruptions.</p><pre>ls -lh ~/.local/share/adventure_engine/saves/</pre><p>The output of the test runner shows zero failures across all parser and state transition modules. Memory profiling confirms stable heap allocation during continuous room traversal. Save files persist with correct cryptographic checksums verifying data integrity.</p><p><strong>By the way -where are the people re-creating the classic Sierra adventures with coding agents? Now that would be task worthwile.</strong></p><p>More actionable advice over at <a href="https://mohammed-brueckner.com/publications">https://mohammed-brueckner.com/publications</a> — and discover the playbook for surviving the compression in the agentic era with my book at <a href="https://platformeconomies.com/">https://platformeconomies.com</a> — out now and ready to buy in both Kindle and hardcover. Direct Amazon links:</p><ul><li>Amazon US: <a href="https://www.amazon.com/dp/B0H3VVNPZ3">https://www.amazon.com/dp/B0H3VVNPZ3</a></li><li>Amazon UK: <a href="https://www.amazon.co.uk/dp/B0H3VVNPZ3">https://www.amazon.co.uk/dp/B0H3VVNPZ3</a></li><li>Amazon DE: <a href="https://www.amazon.de/dp/B0H3VVNPZ3">https://www.amazon.de/dp/B0H3VVNPZ3</a></li></ul><p><a href="https://mohammed-brueckner.com/">← mohammed-brueckner.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c7b660d4b3d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/micromusings/what-agents-may-learn-from-oldschool-sierra-adventurs-1c7b660d4b3d">What Agents may learn from oldschool Sierra Adventures</a> was originally published in <a href="https://medium.com/micromusings">Micro Musings for thought leaders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When ROI Comes Later]]></title>
            <link>https://medium.com/micromusings/when-roi-comes-later-5b9616409817?source=rss----8414cee6d8ba---4</link>
            <guid isPermaLink="false">https://medium.com/p/5b9616409817</guid>
            <category><![CDATA[business]]></category>
            <category><![CDATA[framework]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[methodology]]></category>
            <dc:creator><![CDATA[Mohammed Brückner]]></dc:creator>
            <pubDate>Tue, 06 Oct 2026 08:04:55 GMT</pubDate>
            <atom:updated>2026-10-06T08:04:55.782Z</atom:updated>
            <content:encoded><![CDATA[<p>The Bar Arrives After the Results. That Is the Whole Problem.</p><p>Eighty-eight percent of organisations use AI. Six percent can show it mattered. Between them sits a threshold nobody wrote down, and the fix costs one sentence per pilot.</p><p>In 2025, McKinsey published its State of AI survey. Eighty-eight percent of organisations use AI in at least one function. Thirty-nine percent report any EBIT contribution at all. Filter for material impact and the number lands on six percent. BCG ran its own measurement of the same gap in September 2025 and landed on five.</p><p>Read those numbers again and notice what they actually measure. Eighty-eight is a count of activity. Six is a count of value. Between them sit eighty-two points of organisations that adopted the technology and cannot show the money.</p><p>The usual explanation is execution. Better data, better prompts, better change management, and the six percent becomes sixty. I spent months inside these numbers while building a diagnostic sheet for my book, and I came out believing the opposite. The gap is a bar problem. The book the sheet belongs to is here: <a href="https://platformeconomies.com/">platformeconomies.com</a>.</p><p>The bar arrives after the results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ezk-0-EysRezku1Vw1O7Pg.jpeg" /></figure><p>— -</p><p>Here is how a typical AI programme gets evaluated. The pilot launches in March. October arrives, and someone asks whether it worked. The team assembles the evidence: hours saved, satisfaction scores, a forecast of benefits that have not landed yet. Then, and this is the step nobody notices, the group agrees on what would count as success.</p><p>The bar is set in October, in the same meeting that reviews the results.</p><p>That is negotiation, not evaluation. Everyone in the room has an interest in the programme having worked, so the bar slides to wherever the results already sit. A pilot that moved nothing can be declared a success by a team of honest people, because honesty was applied after the threshold was chosen, and the threshold was chosen by the people it judges.</p><p>This pattern has a name: motivated reasoning. Give a committee results first and a bar second, and you will get a bar drawn around the results. Every time.</p><p>The fix is absurdly cheap. Pick the number before the work starts. Write it down. Date it. Sign it if your culture needs ceremony. The threshold is a record, not a KPI: it holds what you believed before the evidence arrived, so that October-you has to argue with March-you in writing instead of simply winning.</p><p>— -</p><p>A business case argues forward. A threshold judges backward.</p><p>The business case exists to get the pilot funded, so it is written in the language of possibility. The threshold exists to judge the pilot afterwards, so it has to be written in the language of evidence. Most organisations have perfected the first document and skip the second entirely. The wider pattern behind this is what my book <em>Platform Economies</em> calls platform compression, the migration of margin and rule-setting power to whoever moves first: <a href="https://platformeconomies.com/">platformeconomies.com</a>.</p><p>This is also why the unit-level win dies so quietly. The 39% figure is measured at enterprise level. Below that, in the individual business units, the wins look real. A process got faster. A team shrank by attrition. A vendor contract was not renewed. The unit celebrates. The group P&amp;L stays flat, because the gains evaporate in the layers between the unit and the enterprise: shared costs, reallocations, the quiet redeployment of saved hours into work nobody had planned to stop doing.</p><p>A threshold set at the wrong level is worse than no threshold, because it certifies the illusion. Question two of my test asks whose P&amp;L the value lands in. Most business cases answer with silence. That silence is the gap where the value went.</p><p>— -</p><p>I want to be fair to the six percent, because the exercise has one honest large-scale answer, and it comes from the company everyone cites and nobody copies.</p><p>Microsoft.</p><p>Between its 2023 peak and early 2025, Microsoft cut roughly 27,000 positions and shrank its workforce from about 228,000 to about 213,000, a net decline of 15,000. In the same period, revenue grew 16 percent and operating income grew from $88.5 billion to $109.4 billion. CFO Amy Hood attributed the margin expansion publicly to what she called “AI-driven productivity gains.” Revenue per employee rose from roughly $0.93 million to $1.15 million in a single year. For context, US productivity growth averages about 1.5 percent a year; Microsoft moved revenue per employee sixteen times faster. Publicly, the company’s AI story was assistance: copilots, not replacements. The headcount line is where the replacement story is written.</p><p>You can admire that strategy or hate it. The measurement, though, is beyond argument. Microsoft knows exactly what the money replaced: headcount. The savings did not hide in productivity folklore. They flowed to operating income, in public, at a scale that moved the number every investor reads. That is question three of the threshold test, what does the money replace, answered by a P&amp;L rather than a slide.</p><p>Compare that with the average AI programme review, where the savings are “capacity” and the capacity has no owner, no line item, and no plan. Microsoft passed the test because its bar was never vague. Headcount is a number shareholders count. Your pilot needs a bar that someone counts with the same stubbornness. If you want to see how that discipline connects to the AI-readiness work in Part Six of the book, the through-line is here: <a href="https://platformeconomies.com/">platformeconomies.com</a>.</p><p><strong>The full test, five questions with scoring, is laid out on my site, where you can also download the diagnostic as a PDF</strong>: <a href="https://mohammed-brueckner.com/threshold-test/">The Threshold Test, including the free PE-01 sheet</a>. Run it against one live pilot rather than the portfolio average. The portfolio average is where this kind of question goes to die.</p><p>— -</p><p>The five questions, for anyone reading without the sheet in hand. One: what is the threshold, in writing, before you start? Two: whose P&amp;L does the value land in? Three: what does the money replace? Name the line item. Four: what breaks when it scales, and who owns that failure? Five: what is the kill condition, and who has the authority to invoke it?</p><p>Score yourself honestly. Five answers in writing today, and you are measuring value. Three or four, and you own a business case with no verdict attached. Two or fewer, and you are counting activity, which is where eighty-eight percent of the market currently lives.</p><p>Notice what the questions share. None of them requires new data. None requires a consultant, a framework rollout, or a data platform. Each one is answerable in one sentence, in a meeting you are already having. The expensive part is discovering, a year and a budget later, that nobody in the building ever wrote down what success was supposed to look like.</p><p>— -</p><p>I built this test because I spent the API era watching dashboards certify motion as progress. Endpoints shipped, requests per second climbed, developer signups looked healthy. Every indicator ran green while the business went red. The instruments measured activity because activity was easy to count, and the uncomfortable question, what would count as value and to whom, stayed unasked until the answer no longer mattered.</p><p>AI has made the same instrumentation mistake at a hundred times the budget. We count seats deployed, prompts sent, pilots launched. We skip the line item that moved, because naming it in advance would make the failure visible in advance. That reluctance is understandable. It is also how six percent becomes the ceiling.</p><p>The organisations that break past it will not have better models. They will have earlier bars. Five sentences, written before the pilot, worth more than any post-launch review I have sat through. The scorecard I built for the book applies the same discipline to the whole organisation rather than the single pilot: <a href="https://platformeconomies.com/">platformeconomies.com</a>.</p><p>Most pilots have no kill condition. Yours does. When was it written down?</p><p>I write about the wider compression logic in <em>Platform Economies</em>: <a href="https://platformeconomies.com/">platformeconomies.com</a>.</p><p>— -</p><p><a href="https://mohammed-brueckner.com/">← mohammed-brueckner.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b9616409817" width="1" height="1" alt=""><hr><p><a href="https://medium.com/micromusings/when-roi-comes-later-5b9616409817">When ROI Comes Later</a> was originally published in <a href="https://medium.com/micromusings">Micro Musings for thought leaders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop Calling It Slop. Start Measuring.]]></title>
            <link>https://medium.com/micromusings/stop-calling-it-slop-start-measuring-f035f4d9827b?source=rss----8414cee6d8ba---4</link>
            <guid isPermaLink="false">https://medium.com/p/f035f4d9827b</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[code-quality]]></category>
            <dc:creator><![CDATA[Mohammed Brückner]]></dc:creator>
            <pubDate>Tue, 29 Sep 2026 04:19:01 GMT</pubDate>
            <atom:updated>2026-09-29T04:19:01.879Z</atom:updated>
            <content:encoded><![CDATA[<h4>A meme about vibe coding is doing numbers, and the reply underneath it is the part worth reading.</h4><p>A meme has been going round that splits a rocket launch pad down the middle. On the left, labelled VIBE CODING, a booster sits above a pit of duct tape, tangled cable looms and rusting pipe. On the right, labelled SOFTWARE ENGINEERING, the same rocket sits above machined steel and neat conduit runs. The caption says this is how vibe coding works in a production environment.</p><p>Underneath it, Alexey Grigorev replied with one line.</p><p>“People posting this stuff never saw real pre-AI codebases.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WRj4YMvgfJvGovoJAF_wpQ.png" /></figure><p>That reply is doing more work than the meme, and both halves of the disagreement deserve to be taken seriously, because between them sits the thing our profession keeps refusing to do.</p><h4>Nobody has seen the right-hand picture</h4><p>Start with the baseline the meme assumes. Clean conduit, labelled parts, everything reachable.</p><p>In September 2018, well before a language model wrote a line of anyone’s production code, Stripe published a study of developer time. It found that engineers spent an average of 17.3 hours a week on maintenance, roughly 42 percent of a working week. Of that, Stripe put around four hours a week specifically on bad code, and valued the global cost of those hours at roughly 85 billion dollars a year.</p><p>That is the pre-AI baseline. A profession spending two days a week on the consequences of its own previous decisions, long before any model arrived.</p><p>I have written about the same thing from the architecture side. In <a href="https://platformeconomies.com/"><em>Platform Economies</em></a> I describe an API programme that shipped forty-seven endpoints in six months and celebrated the milestone. Eighteen months later, thirty-one were deprecated, sixteen were undocumented, and three had active consumers. The annual report called it a success. No model was involved. That was people, with a roadmap and good intentions.</p><p>Anyone who has taken over a ten-year-old service knows the feeling the left-hand picture is trying to evoke, and knows it predates the current argument by decades. The duct tape in that image is what software looks like once it has been alive long enough to be useful, whatever wrote it.</p><h4>The left-hand picture is not imaginary either</h4><p>Here is where the comfortable version of this argument breaks, and where a lot of AI-positive commentary quietly stops reading.</p><p>In January 2026 GitClear published an analysis of 623 million code changes spanning 2023 to 2026, tracking quality signals over the same period in which AI authorship climbed. The reuse signals fell and the risk signals rose, and both movements are large.</p><p>Duplicated code blocks rose 81 percent, from 40.3 to 73.0 per million changed lines. Copy and paste within a single commit rose 41 percent. Error-masking constructs rose 47 percent. Two-week churn, meaning code rewritten almost immediately after being written, rose 15 percent.</p><p>The other direction is worse, because it measures the work that keeps a codebase alive. Refactoring line moves fell 70 percent against their 2022 baseline, from 21 percent of changes to 3.8 percent. Cross-file function calls, a proxy for reuse, fell 35 percent. Long-term legacy maintenance fell 74 percent.</p><p>GitClear’s own summary is more careful than most of the commentary about it. They put it this way. “The headline is not ‘AI writes bad code.’ It is that today’s default AI workflow is incentivized to deliver atomic code, a happy-path, a passing test, a closed ticket, while quietly taxing the invisible and the deferred.”</p><p>That is a claim about incentives rather than about competence, and it is the right shape. Ask for a working function and you get a working function. Nobody asked for the third caller of an existing helper to be found and reused, so nobody got it.</p><p>The delivery data points the same way. <a href="https://dora.dev/dora-report-2025/">DORA’s work on AI-assisted development</a> reports throughput and instability rising together as adoption grows, with time saved writing code spent auditing it instead. The bottleneck moves from producing code to knowing what to ask for and verifying what came back.</p><h4>So both sides are right, which is why the argument is useless</h4><p>Put the two together, remembering that one is a survey asking engineers how their week went and the other is mined from the commits themselves, so neither cancels the other. The position that survives is uncomfortable for everyone.</p><p>Pre-AI code was substantially worse than the nostalgia admits, and AI-era repositories show specific, measurable regressions in exactly the properties that make code survivable. Neither statement rescues the other.</p><p>What has happened instead is that provenance has become a proxy for quality. “AI slop” has become a complete review comment. It requires no evidence, survives no counterexample, and conveniently exempts the reviewer from reading the diff.</p><p>The same reflex runs the other way. Plenty of teams are shipping generated code with a lighter review than they would apply to a junior’s pull request, on the theory that the model is broadly right and the tests are green.</p><p>Both moves are the same move. Both replace measurement with a story about where the code came from.</p><h4>What the uncertainty is actually about</h4><p>The slop label is doing emotional work, and it is worth naming.</p><p>Most of us built a professional identity on craft that took years to acquire. The claim that a machine produces comparable output in seconds is not primarily a technical claim to a person who spent a decade getting good at this. Calling the output slop settles the question without having to test it, which is exactly what makes it attractive.</p><p>I have some sympathy, and it does not survive contact with a repository. A codebase does not care who typed into it. It responds to duplication, to error masking, to whether the second caller reuses the first implementation. Those are observable properties, and nobody needs an opinion about language models to measure them.</p><h4>What a team can do instead, this week</h4><p>Four things, none of which require taking a side.</p><p><strong>Measure the properties, not the provenance.</strong> Duplication rate, churn within two weeks, cross-file reuse, the proportion of changes that move code rather than add it. GitClear’s signals are worth stealing as a scorecard whether or not you use their tool, because they are the failure modes that actually showed up. If your dashboards cannot tell you whether duplication is rising, your opinion about AI code quality is a feeling.</p><p><strong>Review generated code harder than handwritten code, for one specific reason.</strong> A human author holds a mental model of the surrounding system and will usually say so when a change conflicts with it. A model produces a locally correct change with no such model, which is why the reuse signals are the ones that fell. Ask where else this logic already exists. That question catches most of it.</p><p><strong>Put the verification where the volume is.</strong> If generation got ten times cheaper and review did not, review is the constraint, and it stays the constraint until it is automated to the same degree. Property tests, contract tests, mutation testing, static analysis on the duplication and complexity signals above.</p><p><strong>Stop using slop as a verdict, and ban it as a review comment.</strong> Not because it is rude. Because it carries no information and ends a conversation that should have produced a diff. <a href="https://platformeconomies.com/">A review comment that cannot be acted on</a> is not a review comment.</p><h4>The failure mode nobody measures is the reviewer</h4><p>There is a third party in this argument who gets almost no attention, and it is the person clicking approve.</p><p>Generation got cheaper by a large multiple. Review did not. A reviewer who handled six pull requests a day in 2022</p><p>now faces the same day with more changes in it, each one plausible, each one locally correct, each one arriving</p><p>without the small signals that used to carry information. A human author who is unsure writes a hesitant commit</p><p>message or leaves a comment asking whether this is the right place for the logic. A generated change arrives with</p><p>neither, and confidence in the diff is no longer evidence of anything.</p><p>That is the mechanism behind the duplication numbers, and it explains why they are structural rather than a matter</p><p>of individual sloppiness. Finding the existing helper requires knowing the repository. Approving a working function</p><p>requires reading twenty lines. Under volume, the second wins, and the duplication count climbs without anyone</p><p>making a decision they would defend out loud.</p><p>The fix is to make the expensive check cheap, so the reuse question gets answered by tooling rather than by</p><p>memory, with no heroism required from reviewers. A duplication threshold that fails the build is a boring control</p><p>that directly targets the signal that moved most.</p><h4>Ask for the specification, not the code</h4><p>One habit separates teams that are gaining from teams that are accumulating, and it shows up before any code is</p><p>generated.</p><p>If the request is “write a function that does X”, the output is a function that does X, and every property the</p><p>repository needs beyond that is left to chance. If the request carries the constraints, meaning which module owns this concern, which existing helper to extend, what the error contract is, which test must pass, then the output inherits them.</p><p>That is the same discipline that made a good architecture decision record useful twenty years ago, which is why experienced engineers get visibly better results from the same tools. They were</p><p>already in the habit of stating constraints explicitly, because they had been burned by a junior who guessed.</p><p><a href="https://platformeconomies.com/">The uncomfortable implication</a> is that the constraint has moved from the code to the specification. If nobody in your team can state what a change must not break, a faster generator produces a faster</p><p>accumulation of things that break.</p><h4>The rocket comparison, corrected</h4><p>If the meme were honest, both sides of the image would show the same tangle of cable and tape, and the difference would be elsewhere.</p><p>One side would have instrumentation. Sensors on the plumbing, a test rig, a log of what was changed and why, someone whose job is to notice the duplication creeping in. The other would have none of that, and would look identical from the pad.</p><p>That is the actual difference between engineering and its absence, and it was the actual difference before any of this. Not knowing whether the tangle is getting worse is the actual failure.</p><p>Grigorev is right about the baseline. The numbers are right that something measurable is degrading. Both things are true, and <a href="https://platformeconomies.com/">the team that wins is the one that stops arguing about it</a> long enough to instrument the repository and find out.</p><p><a href="https://platformeconomies.com/"><em>Platform Economies: How AI Is Rewriting the Rules of Platforms, APIs, and Partnerships</em></a><em> is out now.</em></p><p><a href="https://mohammed-brueckner.com/">← mohammed-brueckner.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f035f4d9827b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/micromusings/stop-calling-it-slop-start-measuring-f035f4d9827b">Stop Calling It Slop. Start Measuring.</a> was originally published in <a href="https://medium.com/micromusings">Micro Musings for thought leaders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Europe Blinked on Its Own AI Law. Companies Are Copying It Anyway.]]></title>
            <link>https://medium.com/micromusings/europe-blinked-on-its-own-ai-law-companies-are-copying-it-anyway-46b3dd53d3df?source=rss----8414cee6d8ba---4</link>
            <guid isPermaLink="false">https://medium.com/p/46b3dd53d3df</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[europe]]></category>
            <category><![CDATA[regulation]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Mohammed Brückner]]></dc:creator>
            <pubDate>Fri, 25 Sep 2026 09:55:57 GMT</pubDate>
            <atom:updated>2026-09-25T09:55:57.741Z</atom:updated>
            <content:encoded><![CDATA[<h4>The EU delayed the rules everyone called excessive, Washington moved against its own states, and the market quietly picked a reference text.</h4><p>Two complaints about AI regulation have been running in parallel for two years.</p><p>From Europe, that Brussels writes too much law and ships too little technology. From the American frontier labs, that nobody is writing the rules that matter, and that the absence is dangerous. Both camps talk past each other, and both were overtaken by what happened between November 2025 and July 2026.</p><p>Europe delayed the part of its AI Act that industry hated. Washington moved to stop individual states filling the gap. And while those two things were happening, companies with no legal obligation to care started citing the European text in their own governance disclosures.</p><h4>What Europe actually did</h4><p>The AI Act was supposed to bite on 2 August 2026. That is the date when obligations for high-risk systems, the ones used in hiring, credit scoring and healthcare, were to become binding.</p><p>On 19 November 2025 the European Commission tabled a package known as the Digital Omnibus on AI. The European Parliament approved it on 16 June 2026 and the Council gave final approval on 29 June 2026, and the result is a deferral. Standalone high-risk systems listed in Annex III now face 2 December 2027. High-risk AI embedded in regulated products under Annex I moves to 2 August 2028.</p><p>The stated reason is worth repeating, because it is unusually honest for a legislature. The harmonised standards that the Act assumes, the ones CEN and CENELEC were meant to produce, were not ready, and neither was the conformity assessment machinery that inspects against them. A law that requires a compliance test nobody can yet administer is a law that cannot be enforced, whatever the calendar says.</p><p>What did not move matters as much. The transparency obligations under Article 50, which include telling a person they are talking to a machine and labelling synthetic content, still apply from 2 August 2026. Obligations on general purpose AI models have applied since 2 August 2025 and were not touched.</p><p>So the European position in practice is narrower than either its defenders or its critics describe. Disclosure now, risk classification later, and an admission that the enforcement scaffolding was behind schedule.</p><h4>What Washington actually did</h4><p>The American move ran the other way and hit a constitutional wall.</p><p>On 11 December 2025 the White House signed an executive order titled “Ensuring a National Policy Framework for Artificial Intelligence”. It directs the Attorney General to stand up an AI Litigation Task Force to challenge state AI laws in federal court. It gives Commerce ninety days to publish an assessment naming state laws that conflict with a minimally burdensome national policy. It conditions part of the federal broadband programme on states dropping AI rules considered onerous, and it sets ninety day deadlines for the FTC and the FCC to act in their own lanes.</p><p>What it does not do is preempt anything. An executive order cannot override a state statute. That requires an act of Congress, and the order itself asks for legislation without setting a deadline for proposing it.</p><p>The practical result is a country where the federal executive is actively discouraging regulation, the federal legislature has not replaced it, and individual states keep legislating anyway. <a href="https://platformeconomies.com/">Anyone building a product for the American market</a> is navigating a patchwork that the executive branch is suing to shrink.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*w33ER5rCWt3qm_2M" /><figcaption>Photo by <a href="https://unsplash.com/@kristsll?utm_source=medium&amp;utm_medium=referral">Krists Luhaers</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>The part nobody planned</h4><p>On 30 July 2026 the Thomson Reuters Foundation published findings from its AI Company Data Initiative, covering 2,973 companies worldwide and more than 100,000 data points. Two numbers stand out.</p><p>Only 13 percent of those companies have formal AI governance in place at all. Of the ones that do, 53 percent reference the EU AI Act specifically, which works out at roughly 7 percent of the whole sample. Of all the companies citing the Act, 47 percent are headquartered outside the European Union. One in five American IT firms references it.</p><p>Read that again with the deferral in mind. Companies outside Europe are citing a European law whose central obligations will not be enforced for another year or more, in disclosures nobody compels them to make in that form.</p><p>The report’s own framing is properly cautious. The effect “is not yet broad-based, but it is visible, significant, and concentrated where market incentives to align are strongest.”</p><p>That caution is right, and the pattern is still real. The thing being adopted is vocabulary.</p><h4>Why a rulebook wins before it is enforced</h4><p>Any company deploying AI at scale needs internal answers to a short list of questions. Which systems carry enough consequence to need human oversight. What documentation exists when a regulator, an auditor or a large customer asks. Who signs off before a model reaches production. How you tell a user that the thing they are talking to is a machine.</p><p>Every organisation needs those answers regardless of jurisdiction. Writing them from scratch is expensive and, worse, indefensible, because a homegrown risk taxonomy has no external authority behind it when a customer’s procurement team challenges it.</p><p>The EU produced a complete, public, free taxonomy. Risk tiers, documentation requirements, human oversight duties, transparency rules. A company can adopt the structure without being subject to the law, and gain something valuable in the process. When a customer asks how you govern AI, “aligned to the EU AI Act” is an answer that ends the conversation. “We built our own” invites twenty more questions.</p><p>In <em>Platform Economies</em> I argue that the most important question about a new control layer is rarely whether it is good policy. <a href="https://platformeconomies.com/">The question is whether it is inevitable</a>, and the chapter on Cloudflare’s crawler marketplace makes the point through infrastructure rather than law. A control point becomes permanent when both sides of a market gain something from its existence.</p><p>The same logic applies here. Buyers gain a shorthand for diligence. Sellers gain a defensible answer. Neither side needs to love the legislation for the reference to stick.</p><h4>The intermediary nobody voted for</h4><p>This is the role Europe has ended up in, and it is not the one either critics or champions predicted.</p><p>Brussels is not winning the technology race, and the delay to its own deadlines is a concession that it underestimated the implementation burden. It is also, at the same time, supplying the common vocabulary that a global market uses to talk about AI risk, including in a country whose federal executive is spending political capital to reduce such rules.</p><p>Being the reference is structurally different from being the enforcer. An enforcer needs jurisdiction, inspectors and penalties. A reference needs only to be public, complete and first. <a href="https://platformeconomies.com/">The reference layer tends to outlive the politics</a> that produced it, which is exactly what happened with GDPR, where privacy notices and data processing agreements became global commercial furniture regardless of where a company sat.</p><p>A standard that is adopted voluntarily is also abandoned voluntarily. If the December 2027 deadline slips again, or if the harmonised standards arrive so late that firms build their own in the meantime, the reference loses its authority. Europe’s position depends on eventually enforcing the thing everyone is already citing.</p><h4>What this means if you build things</h4><p>Three practical consequences, whichever side of the Atlantic you sit on.</p><p><strong>The August 2026 date still matters.</strong> Transparency obligations were not deferred. If your product generates synthetic content or puts a user in conversation with a model, disclosure duties apply in the European market now, whatever happens to the high-risk timetable.</p><p><strong>Build your governance to the European shape.</strong> Building your internal governance on the EU structure costs little more than building it on nothing, and it earns its keep the first time an enterprise buyer runs a diligence process. You do not have to believe the law is wise to use its outline.</p><p><strong>The American patchwork is the operational risk.</strong> With federal preemption stalled and state legislatures active, a product sold nationally faces more variation inside the United States than between the United States and Europe. <a href="https://platformeconomies.com/">That is the opposite of what most product teams assume</a> when they plan a rollout.</p><h4>The bill for the delay lands in Europe</h4><p>There is a group that paid for the deferral, and it is not the one the debate usually features.</p><p>European firms that took the 2 August 2026 date seriously spent 2025 building classification registers, documentation</p><p>pipelines and human oversight procedures against a deadline that has moved sixteen months. That work is not wasted,</p><p>since the obligations arrive eventually, but it was funded on a schedule that no longer exists, and it competed for</p><p>budget with product work at companies that had less of it to spare than their American competitors.</p><p>Meanwhile a firm that ignored the deadline entirely is now, by accident, on schedule. Whenever a regulator defers</p><p>enforcement, the cost falls on whoever moved first. That is worth remembering the next time a compliance programme</p><p>is sold internally on the strength of a fixed date.</p><p>The second cost is quieter. A deadline that moves once can move again, and the December 2027 date will be read by</p><p>every budget holder in that light. <a href="https://platformeconomies.com/">Credibility is the scarce resource</a> in any</p><p>regulatory regime, and Brussels spent some of it.</p><h4>What a buyer should ask instead</h4><p>For anyone on the purchasing side, the adoption pattern offers a sharper diligence question than the one usually</p><p>asked.</p><p>“Are you compliant with the EU AI Act” is close to meaningless for most vendors, since the central obligations are</p><p>deferred and many suppliers fall outside the scope entirely. The useful version names an artefact. Which of your</p><p>systems would fall into the high-risk category, and can I see how you classified them. What documentation exists for</p><p>the model behind this feature. Who inside your company signs off before a model reaches production, and what happens</p><p>to that sign-off when the model is updated.</p><p>A vendor that adopted the European structure genuinely has those answers on file. A vendor using it as a line in a</p><p>security questionnaire does not, and the gap shows up within two questions.</p><h4>The argument both sides are still having</h4><p>Europe regulates too much. America regulates too little. Both statements can be true and neither explains the market’s behaviour.</p><p>What the market did was pick the text that was finished, public and free, then treat it as a template rather than as a law. Europe wrote a rulebook it has not yet been able to enforce, and a large minority of the companies using it owe it no obedience at all.</p><p>The interesting question for the next two years is whether Brussels notices which of its two roles is actually working.</p><p><a href="https://platformeconomies.com/"><em>Platform Economies: How AI Is Rewriting the Rules of Platforms, APIs, and Partnerships</em></a><em> is out now.</em></p><p><a href="https://mohammed-brueckner.com/">← mohammed-brueckner.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46b3dd53d3df" width="1" height="1" alt=""><hr><p><a href="https://medium.com/micromusings/europe-blinked-on-its-own-ai-law-companies-are-copying-it-anyway-46b3dd53d3df">Europe Blinked on Its Own AI Law. Companies Are Copying It Anyway.</a> was originally published in <a href="https://medium.com/micromusings">Micro Musings for thought leaders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Circle’s Arc]]></title>
            <link>https://medium.com/micromusings/circles-arc-1ba8fb0ec0b4?source=rss----8414cee6d8ba---4</link>
            <guid isPermaLink="false">https://medium.com/p/1ba8fb0ec0b4</guid>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[developer-tutorials]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ai-agents-in-action]]></category>
            <dc:creator><![CDATA[Mohammed Brückner]]></dc:creator>
            <pubDate>Wed, 23 Sep 2026 15:54:02 GMT</pubDate>
            <atom:updated>2026-09-23T15:54:02.535Z</atom:updated>
            <content:encoded><![CDATA[<h4>A Developer’s Guide to the New Layer 1</h4><p>Ninety-nine percent of Circle’s revenue is interest on other people’s dollars, and that single number from its IPO prospectus explains why the company built its own blockchain.</p><figure><img alt="A cinematic, AI-generated image depicting a tense confrontation in a dimly lit, industrial-style venue. Two large men stand face-to-face under harsh, dramatic overhead spotlights. On the left, a Black man in a dark hoodie stands with a stoic, unyielding expression, his eyes locked on his opponent. On the right, a White man in a white tank top holds a microphone tightly to his mouth, gesturing aggressively as he speaks." src="https://cdn-images-1.medium.com/max/1024/1*Gw-Z3pfmaqw9AZ9Dk8F3eA.png" /><figcaption>The main event isn’t just about code — it’s about the clash of architectures.</figcaption></figure><blockquote><em>💥 </em><strong><em>Master AI &amp; Tech Skills </em></strong><br> 💥 Crack Every Tech Interview with Confidence<br> 🔥 Up to <strong>70% OFF</strong> — Limited-Time Offer<br> <a href="https://www.educative.io/unlimited?aff=xkRD"><em>👉 </em><strong><em>Enroll Now &amp; Start Learning</em></strong></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ITogvtC6mF2BUF35Qsd9pg.png" /></figure><h4>What Arc is, in plain language</h4><p>Start with the money itself. A <strong>stablecoin</strong> is a token that represents one US dollar: an issuer holds dollars and short-term treasuries in reserve, mints tokens against those reserves, and promises to redeem each token one-for-one. <strong>USDC</strong> is Circle’s version of that promise. It circulates north of $70 billion as of late 2025, settles across a dozen public chains, and sits behind a large share of the world’s on-chain trading, payouts, and cross-border settlement. The people holding USDC earn nothing on it. The company issuing it earns the reserve yield. That asymmetry is federal policy now. The GENIUS Act, signed July 18, 2025, bars payment stablecoin issuers from paying interest to holders, and it is the economic engine behind everything Circle has built since.</p><p>A <strong>blockchain</strong> is a ledger that many machines called validators maintain in lockstep. Transactions get batched into blocks, and a consensus protocol decides which block is real. A <strong>Layer 1</strong> keeps its own ledger under its own rules. A <strong>Layer 2</strong> executes elsewhere and posts its results onto an existing Layer 1, usually Ethereum, for security. <strong>Arc</strong> is a new Layer 1 from Circle: announced August 12, 2025 with a whitepaper the same day, public testnet opened in late October 2025, mainnet targeted for 2026 per Circle’s published timeline.</p><p><strong>Gas</strong> is the fee every transaction pays the validators who execute it. On Ethereum you pay in ETH, on Solana in SOL; you need the chain’s coin before you can move anything. Arc breaks that pattern. The gas asset is USDC itself, at USDC’s native precision of 6 decimals. The same token you are sending also pays for the sending, which means money and fuel share one balance, and that fact will surface repeatedly in this piece.</p><p><strong>Validators</strong> propose and vote on blocks. Arc launches permissioned: Circle admits the operators, and the cohort named at testnet launch includes institutions such as Goldman Sachs, Deutsche Börse, Société Générale, Coinbase, Kraken, Fireblocks, Anchorage Digital, Galaxy, and Paxos, among others. There is no Arc token to stake at launch and no published validator compensation model. Anything you read about Arc staking rewards today is speculation.</p><p><strong>Finality</strong> is the point where a confirmed transaction can never be reverted. Ethereum finalizes in roughly 13 minutes. Arc’s consensus is Byzantine-Fault-Tolerant voting: a known validator set votes on each block, and once validators holding two-thirds of the voting power sign, the block is final. Circle’s whitepaper targets roughly one second. Both figures deserve an operator’s skepticism, and I will show you how to measure the local version yourself.</p><p>The marketing calls Arc the first Layer 1 purpose-built for stablecoin finance, and that claim needs a correction before anything else. Celo let users pay transaction fees in stablecoins from its 2020 mainnet and completed a migration to an Ethereum L2 in early 2025. Plasma, a USDT-focused chain, hit mainnet beta on September 25, 2025 with zero-fee USDT transfers and an XPL token paying gas. Stable, a project in Tether’s orbit, puts USDT in the gas seat outright. Arc’s genuine first is narrower and more interesting: it is the first chain owned and operated by the regulated issuer of a major stablecoin, with that stablecoin living on the chain as a protocol-native asset instead of a bridged copy. The distinction shapes everything downstream.</p><p>The <strong>agentic economy</strong> part has a name: x402, an open protocol open-sourced by Coinbase in May 2025 that revives the long-dormant HTTP 402 “Payment Required” status code so a machine can pay another machine per request in USDC. Google’s Agent Payments Protocol listed x402 as a supported extension in September 2025, and Cloudflare announced its own x402 work that October. Arc is positioned as the settlement layer where those machine-sized payments land. The plumbing is real. The traffic, as of this writing, is close to zero. Both facts matter.</p><p>A compressed glossary before the incident, since the rest of this piece assumes every term below:</p><ul><li><strong>Stablecoin:</strong> a token pegged to fiat, backed by reserves the issuer holds and redeems 1:1.</li><li><strong>USDC:</strong> Circle’s USD stablecoin; over $70 billion in circulation as of late 2025; the reserve yield accrues to the issuer, never the holder.</li><li><strong>Layer 1 vs Layer 2:</strong> an L1 keeps its own ledger and consensus; an L2 executes separately and settles results onto an L1.</li><li><strong>Gas:</strong> the fee paid for computation on a chain, normally denominated in that chain’s native coin.</li><li><strong>Finality:</strong> the guarantee a confirmed transaction cannot be reverted; deterministic on BFT chains, probabilistic until finalized on Ethereum.</li><li><strong>Validator:</strong> an operator that proposes and votes on blocks; on Arc at launch, admitted institutions only.</li><li><strong>CCTP:</strong> Circle’s Cross-Chain Transfer Protocol; burns USDC on the source chain and mints it on the destination after attestations, so no wrapped copies exist.</li><li><strong>x402:</strong> an HTTP-native payment protocol using status code 402 and signed USDC payments, built for per-request machine payments.</li></ul><h4>The 2 a.m. page that had nothing to do with security</h4><p>Three days after Arc’s public testnet opened in late October 2025, a team I advise got paged by their reconciliation job. The message said the treasury held $0.0000000024. The float was actually 2,400 USDC. Their first instinct was a private-key compromise. Their second was an exploit. Both were wrong. The drain was arithmetic.</p><p>Their backend pulled balances over JSON-RPC and formatted them with ethers’ formatEther, a helper that assumes 18 decimals, since ether divides to 18 decimal places. Arc&#39;s native gas asset is USDC, and USDC keeps the 6-decimal precision it carries everywhere else. Reading a 6-decimal balance through an 18-decimal formatter understates it by a factor of a trillion. MetaMask showed the correct number on the same day because the network config declares decimals: 6. The backend had no such config, and nothing in the RPC response announces the precision. The API returns integers and trusts you to know.</p><p>The one-line fix took minutes. The postmortem took longer, and it surfaced the actual problem: the entire Ethereum toolchain embeds an 18-decimal assumption somewhere in its formatting path, in libraries, dashboards, warehouse tables, accounting exports, and BI pipelines nobody has audited for a chain whose base unit sits at a different scale. This article is the debrief I wrote for that team, widened into the full technical case: why this chain exists, how it works, where it will break, and what to build so it does not.</p><h4>Why an issuer of money builds the rails</h4><p>Circle’s 2024 numbers, from its own IPO prospectus, tell the whole story. Total revenue and reserve income: about $1.68 billion. Reserve income alone: about $1.66 billion. Roughly 99 cents of every revenue dollar was interest on the reserves backing your USDC. The company listed on the NYSE on June 5, 2025, priced at $31 a share, and public-market investors now read that concentration every quarter.</p><p>The second number matters more. Distribution, transaction, and other costs ran about $1.0 billion in 2024, and the prospectus describes a split in which Coinbase keeps all reserve income on USDC held on its platform plus a substantial share of what remains; press coverage of the S-1 put Coinbase’s 2024 cut around $908 million. Run the division yourself. The issuer of the dollar-token keeps roughly 40 cents of each revenue dollar, and the platform hosting the trading keeps much of the rest. Circle’s margin problem is a distribution problem, and no feature release fixes a counterparty that owns the distribution.</p><p>A chain of its own changes that equation. If payment flows, agent traffic, and treasury operations run on Arc, the wallet SDKs are Circle’s, the gas sponsorship is a Circle service, the payment facilitator is a Circle endpoint, and the compliance controls are Circle’s issuer tooling. Every hop deepens the account relationship. Call it vertical integration; the prospectus would call it margin recapture.</p><p>The regulatory tailwind landed in the same quarter. The GENIUS Act gave payment stablecoins a federal licensing regime in the US and turned USDC from a regulatory question into a compliance asset banks can touch. Circle Payments Network followed, unveiled in April 2025 to wire banks and payment firms into cross-border USDC settlement. The product surface around the asset kept growing: Circle Mint for institutional on-ramps and off-ramps, programmable wallets, Circle Gateway for a unified crosschain USDC balance, and Gas Station, Circle’s fee-sponsorship service, so a user holding zero gas asset can still transact. Verify current availability of each piece per network in Circle’s docs; product surfaces move faster than press releases.</p><p>The agent story arrived on its own timeline. Coinbase open-sourced x402 in May 2025. Google’s Agent Payments Protocol named it a supported extension in September 2025. Cloudflare joined that October. A machine paying $0.001 per API call in signed USDC needs a cheap, fast, final chain, and a chain whose native asset is the payment currency needs no swap leg at all. That is the technical logic connecting Arc to the agentic thesis, and it is sound engineering even at today’s rounding-error volumes.</p><p>Now the correction to the framing. “Purpose-built for stablecoins” describes at least three live projects, and two shipped before Arc’s testnet did. What Arc has that none of them do is the issuer itself. USDC on Arc is minted and burned by the protocol through CCTP rather than held in a bridge contract. The attestation set is Circle’s. The validator roster is the kind a corporate treasury’s risk committee already knows how to read. Whether that concentration reads as a feature or as the risk itself is the strategic fork this entire piece keeps returning to.</p><h4>The mechanics, layer by layer</h4><h4>Execution: an EVM where the coin is the dollar</h4><p>Arc runs an Ethereum Virtual Machine execution environment. Solidity compiles and deploys unchanged, Foundry and Hardhat work, and existing contract patterns port over. The asset paying gas is USDC at 6 decimals, and that single design decision touches every calculation you will ever run on this chain.</p><p>Fee arithmetic works like this: a basic transfer consumes 21,000 gas, and your effective gas price is denominated in USDC base units per gas. Multiply the two and the product is already in 6-decimal USDC units. There is no ETH leg, no conversion, no second balance to track. And there is no slack: the “send everything” pattern from Ethereum, where you forward your entire balance and cover gas from the same asset, now requires subtracting the projected fee from the balance before you compose the transaction, as the fee and the amount come out of one number. Get that subtraction wrong and the transaction reverts for insufficient funds.</p><p>Any Arc endpoint should identify itself before you trust it with a balance. Store the endpoint from Circle’s Arc documentation in an environment variable; never hardcode a URL from an article, including this one.</p><pre>export ARC_RPC=&quot;https://&lt;the HTTPS RPC endpoint published in Circle&#39;s Arc docs&gt;&quot;<br>export MY_ADDR=&quot;0xYourTestnetAddress&quot;</pre><p>Ask the chain who it is and confirm the answer matches the chain id Circle’s docs publish for the network you think you are using. A mismatch means a proxy is answering, and proxies with their own fee logic are a real failure class.</p><pre>curl<br>-s &quot;$ARC_RPC&quot; \<br>  -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{&quot;jsonrpc&quot;:&quot;2.0&quot;,&quot;id&quot;:1,&quot;method&quot;:&quot;eth_chainId&quot;,&quot;params&quot;:[]}&#39; | jq</pre><pre>cast chain-id --rpc-url &quot;$ARC_RPC&quot;<br>cast block-number --rpc-url &quot;$ARC_RPC&quot;<br>cast gas-price --rpc-url &quot;$ARC_RPC&quot;</pre><p>The curl should return a JSON envelope with a hex &quot;result&quot;, and cast chain-id should print the same value in decimal. Read cast gas-price carefully: it returns base units of the gas asset per gas, so on this chain the integer is 6-decimal USDC, and any threshold you calibrated for Ethereum&#39;s gwei-of-ether is meaningless here.</p><p>The decimal proof is the check that would have saved the 2 a.m. page. Pull a raw balance and format it explicitly:</p><pre>RAW=$(cast balance &quot;$MY_ADDR&quot; --rpc-url &quot;$ARC_RPC&quot;)<br>echo &quot;raw base units: $RAW&quot;<br>cast from-wei &quot;$RAW&quot; 6</pre><p>cast from-wei defaults to 18 decimals when you omit the second argument, which is exactly the default that produced the trillion-fold error. Passing 6 makes the output agree with the block explorer to the cent. If a future testnet revision ever changes the native precision, this check fails loudly instead of your accounting failing silently.</p><p>Wallets need the chain registered with the precision declared, since that is what makes a wallet display correct numbers at all. Capture the chain id in hex from the RPC and feed it into the standard Ethereum wallet registration call:</p><pre>CHAIN_HEX=$(curl -s &quot;$ARC_RPC&quot; -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{&quot;jsonrpc&quot;:&quot;2.0&quot;,&quot;id&quot;:1,&quot;method&quot;:&quot;eth_chainId&quot;,&quot;params&quot;:[]}&#39; | jq -r &#39;.result&#39;)<br>echo &quot;$CHAIN_HEX&quot;</pre><pre>{<br>  &quot;method&quot;: &quot;wallet_addEthereumChain&quot;,<br>  &quot;params&quot;: [<br>    {<br>      &quot;chainId&quot;: &quot;&lt;CHAIN_HEX from the command above&gt;&quot;,<br>      &quot;chainName&quot;: &quot;Arc Testnet&quot;,<br>      &quot;nativeCurrency&quot;: { &quot;name&quot;: &quot;USDC&quot;, &quot;symbol&quot;: &quot;USDC&quot;, &quot;decimals&quot;: 6 },<br>      &quot;rpcUrls&quot;: [&quot;&lt;the same endpoint exported as ARC_RPC&gt;&quot;],<br>      &quot;blockExplorerUrls&quot;: [&quot;&lt;the explorer URL from Circle&#39;s docs&gt;&quot;]<br>    }<br>  ]<br>}</pre><p>Omit decimals: 6 and every balance the wallet renders is wrong by twelve orders of magnitude, in the display layer where your finance team is looking.</p><h4>Consensus, Malachite, and the one-second promise</h4><p>Under the execution layer sits a BFT consensus engine called <strong>Malachite</strong>, a Rust implementation of the Tendermint algorithm built by Informal Systems, the firm behind much of CometBFT’s history. A fixed validator set votes on every block, and once validators holding two-thirds of the voting power sign, the block is final: no probabilistic waiting period, no reorg depth to monitor. Circle’s whitepaper targets on the order of 10,000 transactions per second with finality in about one second. Treat both as vendor numbers until mainnet load data exists. Testnet benchmarks are produced under testnet conditions, which is to say under no adversarial load at all.</p><p>The consequence of one-second deterministic finality shows up in payment UX. A merchant can treat a confirmed Arc transaction as settled money in about the time a card network takes to authorize, and a machine paying per HTTP request cannot wait 13 minutes between request and response, which is why Ethereum-grade finality works for institutional settlement and fails for per-request agent payments.</p><p>Malachite ships a CometBFT-style status RPC, so a running node answers on the conventional port 26657. Confirm the port against your node’s config file before trusting the default, then check liveness:</p><pre>curl<br>-s http://127.0.0.1:26657/status | jq &#39;.result.sync_info | {latest_block_height, latest_block_time}&#39;</pre><p>A healthy node returns a height that increments every block interval and a timestamp within seconds of now. A height that stalls while the process keeps running is a consensus problem, and consensus problems on a BFT chain do not resolve themselves.</p><h4>The asset layer: canonical USDC instead of a bridge</h4><p>On most chains, USDC is a bridged token: an Ethereum contract, a wrapper on the destination, and a bridge in between. Bridges are the single largest loss category in this industry’s short history — Ronin lost roughly $625 million in March 2022 and Wormhole roughly $320 million a month earlier, both through bridge compromise. Arc removes the wrapper from the category. USDC arrives through Circle’s Cross-Chain Transfer Protocol, which burns the asset on the source chain, collects attestations, and mints the canonical asset on Arc under protocol control. There is no bridge contract holding pooled collateral to steal.</p><p>The trust question moves instead of disappearing. You now extend the same trust to the attestation process that you already extend to Circle as issuer: that reserves back the asset, that attestations are honest, that compliance controls get applied as documented. For a bank that already underwrites Circle as a counterparty, one accountable legal entity beats an anonymous multisig holding $600 million. For a protocol that wanted neutrality, this is the moment to look elsewhere, and the diligence section returns to that.</p><p>Two platform pieces matter for builders. <strong>Circle Gateway</strong> maintains a unified USDC balance across supported chains, so capital parked on one chain can back activity on another without fragmenting float; Circle has said Gateway runs natively on Arc from testnet onward. <strong>Gas Station</strong> is Circle’s sponsorship service: your backend pays fees for users who hold no gas asset, the paymaster pattern familiar from ERC-4337 account abstraction, and on a chain where a fresh wallet holds zero of the gas asset by definition, sponsorship is a product requirement rather than a nicety. Both are Circle products with Circle pricing and Circle availability windows. Architect around them only after checking current support per network.</p><h4>Who validates, and what that means for ordering</h4><p>The launch validator set is permissioned and institutional, admitted through Circle’s operator program, with Circle stating that participation broadens after mainnet. What remains unpublished as of this writing: validator economics, slashing rules, hardware requirements, and the transaction ordering policy. That last gap has engineering consequences. Nothing in Arc’s public materials guarantees first-come-first-served inclusion, fair ordering, or any particular mempool behavior, so build nothing that assumes an inclusion latency under load. Measure it from your own traffic under your own load, because your users experience the chain from outside it, and outside is the only vantage point that counts.</p><h4>Where Arc will bite you</h4><h4>The 18-decimal reflex is baked into every tool you own</h4><p>The reconciliation incident generalizes. ethers.formatEther assumes 18. Web3.utils.fromWei assumes 18. Spreadsheets pasting raw integers assume nothing, which is worse. Oracle payloads, warehouse tables, finance dashboards, and the CSV export your controller imports into the ERP all carry an implicit precision nobody wrote down. On Arc the correct number is 6, and the failure skips exceptions entirely: it lands as a correct-looking number wrong by a factor of a trillion, the kind of wrong that reconciles against nothing and sets off every downstream control at once.</p><p>The rule I now enforce on every integration: raw integers everywhere inside your system, formatting confined to the presentation edge, a single precision constant with one owner, and a test that fails loudly when any of that regresses. In TypeScript with viem:</p><pre>import { createPublicClient, http, formatUnits } from &quot;viem&quot;;</pre><pre>const client = createPublicClient({ transport: http(process.env.ARC_RPC) });</pre><pre>const raw = await client.getBalance({ address: &quot;0xYourTestnetAddress&quot; });</pre><pre>console.log(&quot;raw base units:&quot;, raw.toString());<br>console.log(&quot;human USDC:&quot;, formatUnits(raw, 6));</pre><p>getBalance returns the raw integer and formatUnits(raw, 6) formats it. The line that wrecks your ledger is formatEther(raw), which divides by 10^18 and hands you a balance twelve orders of magnitude too small. Twelve orders of magnitude of silence is the difference between a ledger that reconciles and a pager that goes off at night.</p><h4>Fuel and fortune share a balance</h4><p>On Ethereum, an address blacklisted by the USDC issuer loses the ability to send USDC and keeps its ETH for gas; the address stays usable for everything else. On Arc the gas asset and the blocked asset are the same token, so a compliance action against an address plausibly strands it completely: no gas, no transfers, no swaps, no exit. I say “plausibly” with precision. Circle’s documentation describes issuer-level compliance controls on the asset, and whether blacklist semantics extend to protocol-level gas debits is a question I have asked and not seen answered in writing as of late 2025. That uncertainty is itself the design input, so assume the worst case. The worst case costs you nothing but design effort.</p><p>The treasury design that survives: segregate the payment-source address from the gas-buffer addresses, spread buffers across several addresses so one action cannot freeze an operation, and cap the float any single address carries to what you can afford to have motionless for as long as a compliance question takes to get answered by humans. Institutions buying Arc are buying the compliance controls, and they are right to. Builders meeting those controls for the first time should meet them in design review rather than in production.</p><h4>Permissioned validators change your threat model</h4><p>Reorg risk under an honest BFT supermajority sits near zero, a real gift: no confirm-count folk wisdom, no waiting for six blocks. The risks that replace it are censorship and ordering opacity. A validator cohort of regulated institutions carries obligations a cohort of anonymous stakers does not, and a chain with an unpublished ordering policy cannot promise your transaction an inclusion time. Latency-sensitive designs, a machine paying per request or a market maker quoting off finality, need measured inclusion distributions from your own traffic. Design for a world where your transaction is final in a second once included, and stubbornly average in getting included.</p><h4>Asset risk and chain risk are the same risk</h4><p>On March 10, 2023, Silicon Valley Bank failed, and $3.3 billion of USDC’s reserves sat inside it. USDC traded as low as about $0.87 on March 11. The backstop came Sunday, March 12, and the peg recovered Monday, but the weekend happened: redemptions queued, integrations paused, and every treasury holding USDC learned that issuer risk is live risk even for the compliant asset.</p><p>Fold in the Arc variable: the same company that issues the asset operates the chain, publishes the attestations, runs the Gateway, sponsors the gas, and staffs the facilitator. A reserve incident hits asset value and platform operations from one org chart at one time. To be fair, concentration buys one accountable legal entity instead of six pseudonymous ones, and after Ronin, “one accountable entity” reads differently than it did in 2021. The operational posture is exposure limits regardless of which side of that trade you sit on. Never hold more float on Arc than you can afford to hold motionless over a weekend, learn your exit timing before you need it (CCTP’s standard path on Ethereum routes takes tens of minutes per Circle’s documentation, and the fast path trades a fee for seconds), and rehearse the exit on testnet so the weekend version of you executes a runbook rather than reading documentation.</p><h4>Agents are adversarial clients</h4><p>x402 turns every API consumer into a payments consumer, and payments consumers do things no human would. An agent that received a 402 retries immediately, possibly in a tight loop, possibly from a thousand instances. An agent that received a 500 retries without payment. Two agents can race the same payment nonce. A buggy client will pay the wrong amount and demand the resource anyway. Your priced endpoint needs idempotency keyed on the payment’s nonce and the resource, a strict reading of maxAmountRequired that accepts nothing above the quoted amount, respect for the EIP-3009 validAfter and validBefore windows the signature carries, and settlement verified on-chain rather than trusted from the handshake. The money is real even when the client is a bot, which is the entire point, and bots are the least forgiving integration surface you will ever ship to.</p><h4>The hardening playbook</h4><h4>A workspace that tells the truth</h4><p>Install Foundry, the toolchain this playbook uses for compilation, deployment, and RPC work:</p><pre>curl<br>-L https://foundry.paradigm.xyz | bash<br>foundryup</pre><p>Set the endpoint, the address, and a throwaway key that exists on testnet only. Every placeholder here comes from Circle’s documentation on purpose: endpoints move, chain ids get assigned, and a technical advisory that hardcodes a testnet RPC is stale the day it ships.</p><pre>export ARC_RPC=&quot;https://&lt;the HTTPS RPC endpoint published in Circle&#39;s Arc docs&gt;&quot;<br>export MY_ADDR=&quot;0xYourTestnetAddress&quot;<br>export PRIVATE_KEY=&quot;&lt;a testnet-only private key&gt;&quot;</pre><p>Confirm the endpoint resolves, accepts TCP, and answers with HTTP 200 before trusting anything downstream:</p><pre>dig +short $(echo &quot;$ARC_RPC&quot; | sed -E &#39;s|https://||; s|/.*||&#39;)<br>nc -zv $(echo &quot;$ARC_RPC&quot; | sed -E &#39;s|https://||; s|/.*||&#39;) 443<br>curl<br>-s -o /dev/null -w &quot;%{http_code}\n&quot; &quot;$ARC_RPC&quot; \<br>  -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{&quot;jsonrpc&quot;:&quot;2.0&quot;,&quot;id&quot;:1,&quot;method&quot;:&quot;eth_chainId&quot;,&quot;params&quot;:[]}&#39;</pre><p>dig should return an A record, nc should report success on 443, and curl should print 200. A 404 or a 502 here means a proxy sits in the path, and you want to learn that before your deploy rather than during it.</p><p>Then chain identification and the decimal proof, again, since these two checks are the workspace’s truth serum:</p><pre>cast chain-id --rpc-url &quot;$ARC_RPC&quot;<br>RAW=$(cast balance &quot;$MY_ADDR&quot; --rpc-url &quot;$ARC_RPC&quot;)<br>echo &quot;raw: $RAW&quot;<br>cast from-wei &quot;$RAW&quot; 6</pre><p>The chain id must match Circle’s published value, and the formatted balance must match the block explorer to the cent. If either disagrees, stop. Nothing you build on a misidentified chain or a misformatted balance is worth debugging.</p><h4>Deploy a contract and reconcile every unit</h4><p>Scaffold a project and ship a trivial contract. The point of the contract is the reconciliation, so keep it boring:</p><pre>forge init arc-basics<br>cd arc-basics</pre><pre>// SPDX-License-Identifier: MIT<br>pragma solidity ^0.8.24;</pre><pre>contract Counter {<br>    uint256 public number;</pre><pre>    constructor(uint256 _start) {<br>        number = _start;<br>    }</pre><pre>    function increment() external {<br>        number += 1;<br>    }<br>}</pre><p>Deploy with an explicit constructor argument, and keep the --legacy fallback in your notes for the case where a node revision rejects typed EIP-1559 transactions:</p><pre>forge create src/Counter.sol:Counter \<br>  --rpc-url &quot;$ARC_RPC&quot; \<br>  --private-key &quot;$PRIVATE_KEY&quot; \<br>  --constructor-args 42</pre><p>Foundry prints the deployer, the deployed address, and the transaction hash. Feed the hash to cast receipt and read four fields:</p><pre>cast receipt &quot;$TX_HASH&quot; --rpc-url &quot;$ARC_RPC&quot; --json | jq &#39;{status, blockNumber, gasUsed, effectiveGasPrice}&#39;</pre><p>&quot;status&quot;: &quot;0x1&quot; is success. Now the reconciliation that makes this exercise worth shipping: convert the hex fields, multiply gas used by effective gas price, and confirm the product is your fee in 6-decimal USDC base units.</p><pre>gas_used = 85002            # integer value of the receipt&#39;s gasUsed<br>price = 1000                # integer value of effectiveGasPrice; 1000 = 0.001 USDC per gas<br>fee_base_units = gas_used * price<br>print(&quot;fee in USDC:&quot;, fee_base_units / 1e6)</pre><p>Interact with the contract and close the loop on the balance:</p><pre>COUNTER=&quot;0xDeployedAddressFromForgeOutput&quot;</pre><pre>cast send &quot;$COUNTER&quot; &quot;increment()&quot; --rpc-url &quot;$ARC_RPC&quot; --private-key &quot;$PRIVATE_KEY&quot;<br>cast call &quot;$COUNTER&quot; &quot;number()(uint256)&quot; --rpc-url &quot;$ARC_RPC&quot;<br>cast balance &quot;$MY_ADDR&quot; --rpc-url &quot;$ARC_RPC&quot;</pre><p>cast call should print 43. The balance should have dropped by exactly the fee computed above, since the call mutates storage, pays gas, and moves no tokens. An unexplained remainder in that drop means a token leg you did not account for, and you want to find it before it finds your accounting.</p><h4>Charge an agent per call, then verify the money on-chain</h4><p>x402’s server side is middleware: it intercepts requests to priced routes, returns 402 with payment requirements when no valid payment header is present, and verifies or settles through a facilitator when one arrives. The reference implementation is Coinbase’s x402-express, and the middleware API below matches its README as of late 2025; pin your versions, since this ecosystem moves:</p><pre>npm init -y<br>npm install express x402-express tsx</pre><pre>import express from &quot;express&quot;;<br>import { paymentMiddleware } from &quot;x402-express&quot;;</pre><pre>const app = express();</pre><pre>app.use(<br>  paymentMiddleware(<br>    &quot;0xYourPayToAddress&quot;,<br>    {<br>      &quot;/api/quote&quot;: {<br>        price: &quot;$0.001&quot;,<br>        network: &quot;base-sepolia&quot;,<br>        config: {<br>          description: &quot;One FX quote&quot;,<br>          maxTimeoutSeconds: 30,<br>        },<br>      },<br>    },<br>    {<br>      url: &quot;https://x402.org/facilitator&quot;,<br>    }<br>  )<br>);</pre><pre>app.get(&quot;/api/quote&quot;, (_req, res) =&gt; {<br>  res.json({<br>    pair: &quot;EUR/USD&quot;,<br>    rate: 1.0842,<br>    generatedAt: new Date().toISOString(),<br>  });<br>});</pre><pre>app.listen(4020, () =&gt; {<br>  console.log(&quot;priced endpoint listening on 4020&quot;);<br>});</pre><p>Run it and hit the priced route without a payment header. What comes back is the protocol working as designed:</p><pre>npx tsx server.ts &amp;<br>curl<br>-i http://localhost:4020/api/quote<br>curl<br>-s http://localhost:4020/api/quote | jq &#39;.accepts[0] | {scheme, network, maxAmountRequired, payTo, asset}&#39;</pre><p>The response should be HTTP/1.1 402 Payment Required with a body whose accepts array names the scheme (exact), the network, the maximum amount in base units, the pay-to address, and the asset contract. Two fields in that block deserve scrutiny before you point this at Arc: the network identifier and the facilitator url. The public facilitator shown here settles on the networks it documents, and Circle operates its own facilitator for Arc networks per its announcements. Both values come from the respective docs, and a mismatch between them is the most common way this integration fails on first contact.</p><p>The client side wraps fetch and injects a signed payment when the server demands one. The signature is an EIP-3009 transferWithAuthorization, which lets USDC move without the payer submitting a transaction themselves; the facilitator settles it:</p><pre>npm install viem x402-fetch</pre><pre>import { createWalletClient, http } from &quot;viem&quot;;<br>import { privateKeyToAccount } from &quot;viem/accounts&quot;;<br>import { wrapFetchWithPayment } from &quot;x402-fetch&quot;;</pre><pre>const account = privateKeyToAccount(process.env.PRIVATE_KEY as `0x${string}`);</pre><pre>const wallet = createWalletClient({<br>  account,<br>  transport: http(process.env.ARC_RPC),<br>});</pre><pre>const paidFetch = wrapFetchWithPayment(fetch, wallet);</pre><pre>const res = await paidFetch(&quot;http://localhost:4020/api/quote&quot;);<br>console.log(res.status, await res.json());</pre><p>The first call returns 200 where bare fetch returned 402, and the settlement transaction hash rides back in the X-PAYMENT-RESPONSE header as base64-encoded JSON, with field names set by the x402 spec version your facilitator implements. Trust nothing you did not verify:</p><pre>echo &quot;$PAYMENT_RESPONSE_B64&quot; | base64 -d | jq -r &#39;.transaction&#39;</pre><pre>cast receipt &quot;$SETTLE_TX&quot; --rpc-url &quot;$ARC_RPC&quot; --json | jq &#39;{status, to}&#39;</pre><p>&quot;status&quot;: &quot;0x1&quot; on the settlement receipt closes the trust chain: your endpoint priced a resource, a machine paid for it, and the money moved on-chain in the asset both sides already speak. Swap the network identifier and facilitator URL for Circle&#39;s Arc values from their docs and the same flow settles on Arc, with no change to the middleware code.</p><h4>Liveness, the metric that matters on a BFT chain</h4><p>A BFT chain’s health reduces to one observable: the block height advances. Peers, memory, and disk are means to that end. Probe the status port first, since a monitoring system polling a closed port tells you nothing except that it polls a closed port:</p><pre>nc -zv 127.0.0.1 26657</pre><p>Then run the loop. Twelve samples at five-second spacing give you a minute of liveness evidence, and the stall counter is the alert condition:</p><pre>LAST=0<br>STALLED=0<br>for i in $(seq 1 12); do<br>  H=$(curl -s http://127.0.0.1:26657/status | jq -r &#39;.result.sync_info.latest_block_height&#39;)<br>  if [ &quot;$H&quot; == &quot;$LAST&quot; ]; then<br>    STALLED=$((STALLED+1))<br>  else<br>    STALLED=0<br>  fi<br>  echo &quot;$(date -u +%H:%M:%S) height=$H stalled_checks=$STALLED&quot;<br>  LAST=$H<br>  sleep 5<br>done</pre><pre>if [ &quot;$STALLED&quot; -ge 3 ]; then<br>  echo &quot;ALERT: height frozen for $STALLED consecutive checks&quot;<br>fi</pre><p>Port 26657 is the CometBFT convention and Malachite follows it, though your node’s config file is the authority on its own ports. Wire the loop into whatever alerting you already run: a page on stalled_checks &gt;= 3, a ticket on growing height-to-wall-clock lag, and a weekly review of the height delta distribution so you know what normal looks like before abnormal arrives.</p><h4>The validator seat, honestly described</h4><p>Public today: the launch cohort is permissioned and institutional, admission runs through Circle’s operator program, and broadening participation is a stated post-mainnet intent. Unpublished as of late 2025: hardware requirements, compensation, slashing parameters, key-management standards, and the admission criteria themselves. Anyone selling you “the Arc validator stack” today is ahead of the documentation, and I would treat their confidence as the product being sold. What a serious operator can prepare now, because it transfers to any BFT seat: HSM-backed signing (YubiHSM or CloudHSM class) so the validator key never lives in a filesystem, the liveness monitoring above wired to a 24/7 rotation, and a compliance posture that survives diligence from the regulated institutions you would be validating alongside. Treat this section as preparation, and treat Circle’s eventual operator documentation as the procedure when it exists.</p><h4>What institutional capital should diligence before committing</h4><p>The strategic case for Arc is real, and so is the concentration. A diligence list, built from the questions I would ask before moving float:</p><ul><li><strong>Counterparty concentration:</strong> Circle is simultaneously the asset issuer, the chain operator, the gas sponsor, the facilitator, and the gateway. Price that the way you price a prime broker, and ask what your exposure looks like on a day the company has a bad one.</li><li><strong>Yield mechanics:</strong> the GENIUS Act bars issuers from paying interest to USDC holders, so the carry sits with issuers and distributors. Tokenized money-market funds (BlackRock’s BUIDL, or Circle’s own USYC, acquired with Hashnote in January 2025) are the workable yield leg, settled in USDC; understand that plumbing before modeling returns.</li><li><strong>Redemption and exits:</strong> test the Circle Mint on-ramp and off-ramp before you need them, including on a weekend, since the March 2023 depeg happened over a weekend and redemption paths get crowded exactly when they matter.</li><li><strong>Finality claims:</strong> sub-second finality is a vendor benchmark. Ask for mainnet load data when it exists, and measure settlement-to-creditable-balance on your own corridor before promising it to a client.</li><li><strong>Governance trajectory:</strong> permissioned launch with a stated path to broader participation. Ask for the admission criteria and the broadening timeline in writing, since the gap between “stated intent” and “shipped mechanism” is where most chain decentralization plans quietly expire.</li><li><strong>The alternatives:</strong> Base for Coinbase’s distribution, Ethereum L2s for neutrality, Solana for throughput, Tron for incumbent USDT payment corridors, Plasma and Stable for USDT-first settlement. Arc wins the comparison only where issuer-native compliance and institutional validation are the requirement, which is a large market and not the entire one.</li></ul><h4>The output that proves you did it right</h4><p>Everything above reduces to a short list of observable states. When these hold, the integration is correct. When any of them fails, you have found the next incident before your users did.</p><ul><li>cast chain-id --rpc-url &quot;$ARC<em>RPC&quot; returns the chain id published in Circle&#39;s docs for the network you intend to use, and </em><em>eth</em>chainId over curl agrees with it.</li><li>cast balance returns a raw integer and cast from-wei &quot;$RAW&quot; 6 reproduces the block explorer&#39;s number to the cent; no code path in your system calls formatEther on an Arc balance.</li><li>The Counter deployment receipt shows &quot;status&quot;: &quot;0x1&quot;, the fee arithmetic reconciles to the balance delta, and cast call on number() prints 43.</li><li>The priced route answers HTTP/1.1 402 Payment Required with an accepts entry naming the correct network and facilitator, the paid retry returns 200, the decoded X-PAYMENT-RESPONSE yields a transaction hash, and cast receipt on that hash shows &quot;status&quot;: &quot;0x1&quot;.</li><li>The liveness loop prints an advancing height= with stalled<em>checks=0 on every sample, and the alert on </em><em>stalled</em>checks &gt;= 3 stays silent for as long as you run it.</li></ul><p>When that loop prints an advancing height hour after hour and nothing pages, every layer above the chain, from the formatter to the facilitator to the fee math, is doing what this article promised.</p><p>More actionable advice over at <a href="https://mohammed-brueckner.com/publications">https://mohammed-brueckner.com/publications</a> — and discover the playbook for surviving the compression in the agentic era with my new book at <a href="https://platformeconomies.com/">https://platformeconomies.com</a></p><p><a href="https://mohammed-brueckner.com/">← mohammed-brueckner.com</a></p><h3>Thank you for being a part of the community</h3><p><em>Before you go:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d9QTaaaxboQP_gKSLedW_w.png" /></figure><p>👉 Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></p><p>👉 Follow us: <a href="https://medium.com/codetodeploy"><strong>Medium</strong></a></p><p>👉 CodeToDeploy Tech Community is live on Discord — <a href="https://discord.gg/ZpwhHq6D"><strong>Join now!</strong></a></p><p><strong>Disclosure:</strong> This post includes affiliate and partnership links.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ba8fb0ec0b4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/micromusings/circles-arc-1ba8fb0ec0b4">Circle’s Arc</a> was originally published in <a href="https://medium.com/micromusings">Micro Musings for thought leaders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>