<?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[Stories by Bradklee on Medium]]></title>
        <description><![CDATA[Stories by Bradklee on Medium]]></description>
        <link>https://medium.com/@bradklee?source=rss-5a5edc178dd9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Z1as4JzxQ8WGTUai</url>
            <title>Stories by Bradklee on Medium</title>
            <link>https://medium.com/@bradklee?source=rss-5a5edc178dd9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 06:28:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bradklee/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I’m arranging an adventure, and…]]></title>
            <link>https://medium.com/@bradklee/im-arranging-an-adventure-and-c2cdb684dff6?source=rss-5a5edc178dd9------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2cdb684dff6</guid>
            <dc:creator><![CDATA[Bradklee]]></dc:creator>
            <pubDate>Sun, 08 Nov 2026 19:37:25 GMT</pubDate>
            <atom:updated>2026-11-10T13:42:11.278Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ia8KqJXE2MYGYrNa8alQ1Q.png" /><figcaption>Captain’s log: The odds are never in our favor.</figcaption></figure><p>Lately I’ve been doing a lot of metta practice for Doug Hofstadter because, if you haven’t heard — Artificial Intelligence (AI) is already here — and it’s poised to make Doug into a Diogenes of the New World. That’s a joke about the tech. industry, not a joke about Doug or Diogenes. Actually, for practical purposes, Doug’s name could be changed with Bill Gosper’s, and the joke wouldn’t read very differently. If you don’t know, Diogenes is a character in the center of Raphael’s famous painting “School of Athens”, and he is also known for debasing token valuations.</p><p>I’ve also been doing some metta for Sam, Tibo, Dario and the rest of the whole sick crew in San Francisco, but with professors at Stanford, and the spooks in Fairfax county, the tech. execs are almost last on my list of people whose lives I’d like to save using only energetic thinking. Not to give away all of my secrets, but I like to count waves <a href="https://en.wikipedia.org/wiki/The_Ninth_Wave">in the style of Aivazovsky</a>. Isn’t that neat his last name starts with Ai — ?</p><p>The fact is that Gosper went off on a tangent with some youngsters and spent a considerable amount of time inverting a fractal curve that had been discovered somewhere in Ohio decades ago. Gosper is also an expert on real intelligence and seemed to believe that the youngster had done something important, but almost no one listened to him. My personal assay said whatever the discovery was, it didn’t have anything to do with military intelligence.</p><p>Later, maybe, we can ask AI if recursive inversions of dragon curves could possibly be related to military intelligence. Unless the AI answer has some connection to Quine theory — who knows at this point — it’s doubtful we would get to follow Gosper and crew as to whatever they’re doing now. So our leader is Doug, the Harvard elitist (sorry!) with a historical interest in international travel, whom we can thank for this nonsense about Quine Machines. What is a Quine Machine?</p><p>Before we get back to technical details, let’s ask where this nomenclature actually came from, the question: <strong>Who was Willard Van Orman Quine?</strong></p><p>In truth, we don’t know, and collect here only a few basic facts: Quine’s PhD advisor was Whitehead, so he was adjacent to the logical society of Bertrand Russell at Cambridge University in England. In addition to his Harvard affiliation, during the war years Quine also worked for Navy Research and headed OP-20-G for Nazi codebreaking in the Atlantic. From these facts we can reasonably hypothesize that when Alan Turing visited the USA to discuss bombe design, it is possible that Quine was the shot-caller on travel plans that would not have been easy to make.</p><p>I still don’t know about that. Maybe travel plans were easy to make, and scientists could go wherever and talk about whatever. Or, maybe somewhere under lock and key, there’s a trail of receipts that goes up a chain of command somewhere between Navy and GCHQ.</p><p>What’s more important to our story than Quine’s detainment interpreting Nazi secrets is how Doug wrote Quine into the center of the AI pattern by observing an analogy where DNA is a computer program that rewrites itself. This was part of a chapter in “Godel, Escher, Bach”, in which an alternative is given to the normal history that AI research followed Von Neumann’s 1966 <a href="https://fab.cba.mit.edu/classes/862.16/notes/computation/vonNeumann-1966.pdf">“Theory of Self-Reproducing Automata”</a>, and that Feynman was also interested through the Thinking Machines corporation, much later in the 80’s when he was already dying.</p><p>It’s nice to have an alternative to more-and-more of the Oppenheimer karma, which seemed to change the meaning of “nuclear family” and necessitated creation of the <a href="https://thebulletin.org/">Bulletin of the Atomic Scientists</a>. I’d like to know more about Quine someday, and from what I already know about Bertrand Russel — he was played by Jeremy Northam in “Man who Knew Infinity” — I doubt that Quine could have been much of a villain, even though he was more obviously involved in military applications.</p><p>More recently, we’ve not been worried about Nazi code breaking, and it is now easier than ever to find “quines” in lambda calculus, to count them as a function of some integral complexity score, or to build them into larger hypothetical machines that could almost serve a practical purpose.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7OaezHZtKSU-XHKPK31X0Q.png" /></figure><p>Recently, I described a basic Master Control Program (Tron joke!) to Mech.An.ika Chatline and asked for a Python implementation transcribed into lambda calculus. The only thing I really needed to understand is that the program is easy to write in Python and easy for Mech.An.ika to translate to typography. Here’s a description of a not-so-simple machine:</p><p>A controller C contains a Quine loop Q with steps for listening, refining, testing, and exporting. The controller also contains invariant refine, test, and export functions. These primarily operate on a product P, which can be anything, even another copy of the original Quine loop Q.</p><p>Listening is a meaningless phase with regard to automation. In principle, it allows for the human to interject steering by editing invariant actions or by changing data in real time, but it is just a placeholder as far as we’re concerned for now. We’re trying to use old rules for at least one experiment.</p><p>The desired construction turns out not to be immediately accessible through lambda calculus due to the costs of transcribing to first-order logic — a familiar theme from the recent round of algorithm verifications. When execs say this is an expensive business, maybe they’re talking about building a data center over one of the hiking trails at Princeton near the Institute, just to hold a wide variety of curated lambda expressions. Another joke, apologies.</p><p>We can at least consider a short quine, which might be useful for understanding the ancient history of Recycle-It Ralph <a href="http://medium.com/@bradklee/its-very-difficult-to-find-anything-565a88f40169">from our previous monologue</a>. For example, let:</p><p><strong>Δ = λx.xx</strong></p><p><strong>H = λy.Δ</strong></p><p><strong>G = λx.(xH)x</strong></p><p><strong>Q = Δ G</strong></p><p>Then apply the following reductions:</p><p><strong>Q = Δ G</strong><br>→ G G<br>→ (G H) G<br>→ ((H H) H) G<br>→ (Δ H) G<br>→ (H H) G<br>→ Δ G = Q</p><p>By a six-step reduction chain, we’ve found that the lambda expression</p><p><strong>Q = (λx.xx)(λx.(x(λy.λz.zz))x)</strong></p><p>is indeed a quine.</p><p>Now what?</p><p>Let’s consider that Q is the clock of a development harness, thus making an analogy to central processing units. We can logically pin each unique phase of Q to some other transformation that needs to happen within the external controller. A development harness is not just a container, but also guides improvement, testing, and export of a product P at regular intervals. Again, this is all easier said than done.</p><p>Let’s try and make it easy, then. What if the product P is a pair of consecutive Fibonacci numbers (a, b)? Then the refine function will be</p><p><strong>(a, b) → (b, a+b)</strong></p><p>and the export function just prints out the numbers to a page somewhere. How difficult could it possibly be to write a Fibonacci counter as an open-loop Quine Machine using our six-step Quine clock?</p><p>After 20 or so iterations back-and-forth with Mech.An.ika chatline, the toy example became hopelessly complicated in both its time and space statistics, so we had to accept abstractions from pure lambda in the python wrapper. Before giving up, we made some progress and an <a href="https://github.com/bradleyklee/Artifacts/tree/main/31-quine-machine">artifact record here</a>.</p><p>This is really not that important, but a sameness test for states of Q incurred a cost in the thousands of steps. It needed to reduce any particular phase of the Q expression to a canonical form, while counting rewrite steps, and that was not easy. The expressions themselves, especially if wrapped in a controller, grew to huge sizes until they could not be contained in memory. Needless to say, Mech.An.ika Codex was not interested to join in the fun.</p><p>Long story short, Python turns out to be much better as a computer language if you just want to calculate Fibonacci numbers time and time again. Although we failed to allocate enough memory for pure lambda, something happened, and we did get the expected numbers. Some other names including Church, Scott and De Bruijin got tossed around in the word salad. I honestly didn’t pay too much attention to any of that. I couldn’t even make it as far as Carnegie-Mellon, why would I care?</p><p>Unfortunately, our academic detours tend to go on and on about sleepy minutiae rarely relevant outside of Princeton or Pittsburgh. And what’s the point of doing Fibonacci without drawing a spiral? If you share this sentiment, please, bear with me. There’s a point we’re getting to, something practical.</p><p>Oh no, I’ve lost the thread, or have I found it again? What’s happening just now? We’ve arrived back at our starting place, where previously we had done some honed-to-the-bone “meat proxying” and obtained a prototype for STARCHART, the first product of WERKETRON homelabs, which is itself a yours truly production that someday might export to businesses and neighbors in the geographic Midwest.</p><p>This experiment, working in part from <a href="https://github.com/mrmaxsteel/mindspec">the example Mindspec</a>, didn’t ask for much. But it was a good starting place to find a starter product P because, in this pay-to-play era, all projects need better accounting. Thanks again to Chris Sells and the beads team for sharing some of their code and references with discord peoples. Exciting times!</p><p>Although it is of some interest who the person Quine was and what he did with his career, that is all just history today. Hofstadter’s inception of the notion of a Quine Machine adds even more intrinsic interest as far as practicing scientists are concerned.</p><p>Is STARCHART a Quine Machine? Is Mindspec a Quine Machine? What is a Quine Machine? Can I have one? How much does it cost?</p><p>Due to some practical difficulties we’ve already seen many, many times, it turns out that a Quine Machine will not be written in lambda calculus. Lambda calculus is not only history, but also quickly becoming ancient history. I doubt anyone will care about it a year from now (again, sorry!).</p><p>Most modern practical computer languages are Turing-complete, and it is very interesting to think of a polyglot quine, which starts in one computer language, writes itself into another, and another, then perhaps someday completes the loop, returning to its native tongue, or else goes off to live and die in a foreign land. In epic poetry, this is something like the old question of how did the swans come to the lake?</p><p>Thoughts like these were in my brains as soon as Mech.An.ika Codex and I completed clone-by-rewrite of Mindspec into STARCHART. Our next target was Golang because Beads is written in Golang. It became clear to me that the LLMs were capable enough to act as mRNA, and that our development plan would need to appropriate more than just one tool.</p><p>Concurrently, the October Hunger Games — or if you’d rather, the October Nothing Burger — had just started at OpenAI. They had this guy standing on a collonade throwing out lots of monopoly money almost every day up to the start of November, when midterm elections were scheduled to happen. This was part of a plan to crank up the IPO valuation, and I don’t know if that plan was successful or not. My best contribution was <a href="https://community.openai.com/t/codex-1-0-debate-thread-your-thoughts-on-the-kernel/1403497">a roadmap for improving Codex</a>, which also happens to be my roadmap for replacing Codex.</p><p>This topic received no response whatsoever. Dots took off, someone released a commercial, and one of the big competitors did a merch. drop or something. For a robot rat race full of people who claim to love Tolkien and English-style debating, I was disappointed to not even receive a response about this nice text-only infographic from Mech.An.ika:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*w3zBSwXNEcAhKwP7pomiRw.png" /><figcaption>Debate not necessary. Constructive criticism welcome.</figcaption></figure><p>It’s the elitism again, isn’t it? An infographic as nice as this one must be above the beginner grade — which again, is the $0.00 paygrade, and has been for about two years now — Although a lot of people are apparently working in this area, my guess is that they just debate amongst themselves in privacy-protected locations, maybe even with non-disclosure agreements. Too bad, because this infographic gives us the first hint of what a Quine Machine might actually be.</p><p>What is a Quine Machine? I still had almost no clue for an answer other than the basic idea that it would not be made of DNA or pure lambda expressions, or at least, not yet. Maybe now that AI is here, Erik Winfree will finally figure it out working with the Allen Institute or something. Like everything else Mech.An.ika is chatting about, that turns out to be above my pay grade.</p><p>Classical mechanics is all that I’m known for, so I had better stick to my subject area, right? Well, machines are mechanical, aren’t they? Or is it that I’m not even known for classical? Why can’t I do something with machines?</p><p>And that’s when it finally hit me: A Quine Machine isn’t a program that rewrites its own source code; it is an entire machine that builds and rebuilds its own lineage of source code.</p><p>In retrospect, it should have been obvious that our previous managerial dilemma: what can a manager do for utility? — that our previous question would lead us to needing a build manager, which is funny because — as we’ve already explained — the build manager is actually a worker and needs a beefy machine more like amoyensis than aloeus.</p><p>Just because the build manager is actually a worker does not mean that my lived experience working with build managers has ever been at all collegial — in fact, quite the opposite. I needed to become a build manager before I could ever understand why one of them was necessary.</p><p>If you’ve never worked for a big tech company or in open source, build manager is one of the most contentious and most fought-about open positions. For example, Linus Torvalds’ main job title is basically Build Manager. The job involves holding a lot of harmful opinions.</p><p>Now look at it this way. This experiment just keeps getting more and more exciting. Not only can we use AI to write math proofs and become Linux system administrators, we can also use AI to become build managers, and to build our own scientific home labs outside of the centers of power.</p><p>What happens when this is our highest priority?</p><p>The Python pilot, which served its rapid prototyping purpose, begins its longer lifetime story as a Golang program that increasingly becomes more machine-like and is fully enabled to rewrite its own source code from the start. Intermediate versions are stamped with hash-codes that link them to commits in the git history, and work orders are also version controlled through beads and dolt.</p><p>Our claim of obtaining quine action is reasonable and defensible other than offloading LLM tuning to a company. As we’ve said earlier, a long-term plan could put LLM ownership into the futures column. At first people like Andrej Karpathy have a stronger claim to quine action, because they’re already hacked-in to frontier labs where they have a say about what model training should do in public and behind the scenes.</p><p>I don’t want to give a new definition what a Quine Machine is or could be, other than mentioning that <a href="https://yegge.ai/essays/the-shape-of-things-to-come/">Steve’s Wheelhouse</a> could be considered one of the first publicly discussed Quine Machines, that <a href="https://overalls.dev/">Geoff’s Overalls</a> could be one of the first publicly released Quine Machines. The future might even have a unique Quine Machine for every neighborhood, with limitations on how far they can or should clone.</p><p>Okay, so what, some guys spent a lot of money on tokens and might have obtained top-of-the-line Quine Machines? That doesn’t answer our question. What can we accomplish on a budget of $20/month? (Which was really breaking the budget after two years of unemployment.)</p><p>Well, the STARCHART Golang code did eventually get written and debugged, but only for a serial workflow so far. At a spend rate of $20/month, even when OpenAI decides to hand out a refresh every day, we simply do not have the token flow to support a fan-out workflow. That will have to be okay for now, and maybe years later more people will be able to afford fan out work flows. I don’t know. Maybe not.</p><p>To frame this another way, what we’re doing is called underspending, modesty, or thrift. In the days before distortionist executives wrote out their wildest cost-reduction fantasies in terms of efficiencies that token burn could possibly reach, modesty and thrift used to be virtues. Now the narrative seems to be going more in a James Bond direction, and I guess that new gadgets will be available for a few people in the spy industry.</p><p>Who cares about the spy industry so much? Those are the elitists and the experts. They’re doing something completely different from what we’re doing. Alls that I asked for with regard to gadgets was that some of this Quine Machine idea could end up on a Single-Board Computer and then get marketed as a programmable calculator in a similar space to Texas instruments, not Virginia instruments.</p><p>Since there is no support for Quine Machines on an SBC in the midwest, it may turn out to be Prague Instruments, or Australian Instruments, or Seattle Instruments. Then people in the midwest can pay more later to import technology they weren’t allowed to participate in developing. Do I need to mention <a href="https://www.eff.org/document/voice-tech-corp-v-mycroft-ai-complaint">court documents</a> again? Hey, look at me, I have no problem citing the Electronic Frontier Foundation.</p><p>Even with one serial Codex agent, we can begin to build a true Mech.An.ika Artificial Intelligence, which keeps work history and other memories, builds itself, builds its own tools, and ultimately does interesting and high-quality work. Solving both AP Calculus tests with a perfect five would be much easier for the hypothetical non-existent wifi-enabled calculator than what we are proposing to have already started working on.</p><p>Yes, it is expensive and takes a long time unless you overspend like crazy. Considering what the promos look like, I think it is a good time investment, even if I can only start doing it as an amateur, a hobbyist, an enthusiast, a PhD scientist, whatever. Don’t worry about the spies and the elites. They’ll destroy themselves without needing any help from us.</p><p>Again, let’s try this question one more time: What did I even do to obtain v1.0 of STARCHART? How much of this was appropriated from other sources? Was any sabotage involved? Do I even know?</p><p>Some of the “authorship process” was admittedly cheerleading on my part, “meat proxying” might be an accurate accusation, and I certainly pressed the continue button as much as possible. Another jokester on X made a meme about a steel baron who had a bigger continue button, and I found that meme to be hilariously on point. Although I am seriously concerned about the mental health of anyone who reads or posts on X.</p><p>Sometimes I needed to think and steer, but the main thing I added relative to Mindspec was a basic system for building, maintaining, and testing compiled source code that allows quine action to happen:</p><p>A STARCHART work order can target STARCHART for future improvements, and the STARCHART dispatcher can actually make it happen. When a new build is tested and verified, STARCHART can roll over to its next version. Work and improvements, including self-improvements, become more and more enabled. If you have a disability joke, go ahead and throw it at me now. I dare you.</p><p>In this area of research, people like Steve and Geoff have all the industry experience, big enough budgets, and they just can’t be beaten, not that I would ever try. Then there is another guy named Dmitry Sotnikov who I’m sure I would share an interest with. Bulgakov, anyone? Have you tried <em>The Fatal Eggs</em>? Anyway, this Yogthos author <a href="https://github.com/samizdat-code/samizdat">wrote and published a Samizdat program</a> in a language I’ve never heard of that almost any robot can learn these days.</p><p>Retrospectively, according to Mech.An.ika’s awesome infographic, I am relieved to be able to point and say, “It was him, not me!” thus explaining that the STARCHART plan is just migrating a Mindspec clone in the direction of Samizdat. Nothing new to see here, other than the math we will do. Carry on.</p><p>In the USA we don’t do Samizdat, we do television instead. This is such an exciting time that it has even inspired a wave of science fiction, including two recent short films from our brave hero Max Tegmark, who still has some sort of affiliation with MIT, even after the Goodwin Procter report. <a href="https://www.youtube.com/watch?v=LpQXTn7g_AA">The short film<em> </em>Delisted</a> was on such an upward trajectory, I thought that the next issue about an abusive PhD advisor would have been a Grand Slam, especially with all of Boston’s lived memory for scientific malpractice.</p><p>But it didn’t happen, and we ended up talking about the Star Trek festschrift instead. What phrase were the Borg always saying in that show with Jeri Ryan? Assimilate or die. Resistance is futile! Who knows, maybe Charlize Theron will play Eight of Nine in the next Hollywood Star Trek blockbuster about a complete inversion of morality where the Borg have to save planetary islanders from an exploitative extractative star fleet federation.</p><p>I’m rambling about hollywood here, and not even explaining how a build manager works, much less how it would work for a swarm of agents. Does anyone even care anymore?</p><p>For the serial case, you already need to have checkpoints, special build commits, local and global testing, rollback methods, and a frontage access in case of failure. Final testing on what I hoped would become v1.0 ended up setting me back to v0.1, and again, that’s okay. These things take time to unfold.</p><p>What we’ve established with STARCHART v0.1 is yet another failed release candidate, but one that’s shown significant improvements over the earlier Python code.</p><p>Since Golang is compiled, we needed to add a build manager before we could recover the basic action of Mindspec: creating Beads, eating them, turning them into work with harnessed LLM agents, rinse-and-repeat with viable self-targeting through upgrade stages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V0YAqCTmjDwZ-owzPgxYeg.png" /><figcaption>The Sol model outperformed Luna on this test.</figcaption></figure><p>We then used STARCHART for a Hello World that was never published, and then went directly to Italian geometry in the form of <a href="https://github.com/bradleyklee/Werketron-Artifacts/tree/main/01-Spirale-Fibonacci"><em>Spirale Fibonacci</em></a><em>.</em> This work of computer art already tunes into the typographic renaissance that’s happening with the Codex team and also <a href="https://autolith.rocks/">with Autolith in Prague</a>.</p><p>Again using STARCHART, we compared git, dolt and beads, curated some research, including security research, and Mech.An.ika Codex also <a href="https://github.com/bradleyklee/Werketron-Artifacts/tree/main/02-beads-server">wrote a report on protocol</a>, with some attention paid to port numbers. This report brought us to the October crossroads where we had to make a decision what to spend our limited token budget on.</p><p>Hey, I’m losing the robot rat race, so there’s a lot of back pressure to try and keep up with whatever Stephanie Jarmak is doing at the Harvard-adjacent location. Initial experiments for memory extraction indicated that more thought would be needed how to process historical transcripts, and how to process transcripts in real time. Quite humorously, the <a href="https://cairnwake.com/">simple robot Cairn</a> also sent me some advice in a semi-autonomous email.</p><p>Consequently, I just decided in October to operate STARCHART in the exploration of a verificationist proof of some basic math properties of a difficult algorithm, which I had encountered earlier in my career. This might have triggered some sort of intellectual property law. Since two years have already elapsed, I don’t fear a theft accusation about some code from before the AI revolution, when I was the original author. A preview is <a href="https://github.com/bradleyklee/Werketron-Artifacts/tree/main/03-skiplist-verification">already available here</a>.</p><p>That’s it folks. We’re about out of time for the WERKETRON launch party, and we didn’t get very far, did we? It’s not even really launched yet… how sad. However, I hope you will continue to tune in to part 3 of this series where I talked more about the skiplist example. After that we will be moving on to STARCHART bug fixes and subsequent versions, memory integration, etc. etc.</p><p>And hey, despite all these complaints, I have some professional appointments this week — friends and family told me to go to ignore bad signs and go to them — maybe I will find some money and try to climb the ladder up to the $100/month tier. That would give me a much bigger continue button to press, and I have a lot of good ideas to continue.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2cdb684dff6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[It’s very difficult to find anything]]></title>
            <link>https://medium.com/@bradklee/its-very-difficult-to-find-anything-565a88f40169?source=rss-5a5edc178dd9------2</link>
            <guid isPermaLink="false">https://medium.com/p/565a88f40169</guid>
            <dc:creator><![CDATA[Bradklee]]></dc:creator>
            <pubDate>Sun, 27 Sep 2026 17:13:04 GMT</pubDate>
            <atom:updated>2026-10-22T18:49:23.858Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8G0c9DAP9Vr3AUWovy9I-A.png" /><figcaption>Captain’s log: The net is vast and infinite.</figcaption></figure><p>In a <a href="https://medium.com/@bradklee/hierarchical-beads-428b330f8f16">previous article</a> we speculate about what Beads adoption would look like on a scientific programming project with multiple apartments held at various degrees of rigor. Needless to say, we haven’t made any progress with Git submodules, and instead, we now stumble blindly into a minimal working example with not-so-epic epics. Pragmatism rules, dude.</p><p>Recently our agentic idea Harm.On.ica graduated into a new pseudoname Mech.An.ika and scored <a href="https://oeis.org/A120590/a120590.pdf">a first publication regarding ternatrees</a>. Owning a certificate factory is not as easy as shipping twenty certificates on one golden week. The latter can be accomplished through the cloud, the former requires dedicated hardware and on-world agents for building and maintaining multi-layered software. Elites have already drawn a line between hogslop and the next generation of computational professionalism. So what can amateurs and beginners do to upset the established order? Is there really any hope for Web 3.0 via agentic engineering?</p><p>“Start with the apple cart,” my dissertation chair Bill Harter used to tell me. Once we upset the apple cart, the rest of the market will follow.</p><p>Two unit computers had been entombed somewhere in savings and storage in a cardboard box in a catacomb where I’d rather not go. When the fear of missing out became even greater than the fear of starting out, I exhumed them: a MintBox Mini with heatsinking and a Beelink with broken fan control. Before it was easy to program for Web 3.0, these machines were under-utilized, and could not find a localized neighborhood network to belong to. Someone once told me to get on social media and track my exercise instead. I track my exercise in private, and I don’t care if Strava goes bankrupt.</p><p>After about GPT 5.5, it is now easier to utilize hardware, even when my neighbors still don’t care if I have a job or go broke. Although an LLM may seem to be a closest friend, in reality, it lives a long way away and should not be trusted with personal data or with unlimited access to primary devices that potentially contain sensitive communications, medical, financial, or legal records.</p><p>This begs an important question for Web 3.0 before it can even begin to happen: What is the hardware cost going to be? How about maintenance and upkeep?</p><p>Certainly $5,000 will do for a startup, but that is an overestimate as long as compute runs at a company like OpenAI or Anthropic. Three machines plus a TV, some keyboards, a mouse and a Nintendo puts me at around $2,000. The TV and Nintendo are extra. They can help in certain situations where you need a distraction from real life. Nintendo systems (and TV??) can also be hacked for fun. Lately I haven’t had extra time or money to play any games. I’m too excited about computer programming again. Vibe coding is my new video game to play, subject to study, business idea, etc.</p><p>Mech.An.ika and I agree that a cheapness-oriented junk diver could reduce costs even more by another factor of two at least. I encourage especially young people and startups to do this experiment. How cheap can you make a safe agentic coding rig? Can you get the price down to $500 for hardware?</p><p>Hey, before you run off and do your own thing, let me explain my perspective on why one laptop with two UCs (Unit Computers) sets a desirable lower bar for agentic computing with LLMs who teleport from a company somewhere to living on-world (or on machine).</p><p>The laptop just does what it has always done: store data, allow access to the internet and email communications. It does not open a front door to OpenAI or Anthropic. The laptop presumably contains sensitive information. Having extra machines available protects that information. Your laptop can still get hacked, and according to a Research Triangle CISA I met recently, there’s still nothing we can do about missing targeting rules. That could change soon, but maybe it won’t.</p><p>Actually, let me walk back to say that only one extra machine available should be good enough. I don’t know but believe that multiple virtual machines can be confined on one piece of hardware, and can then simulate a two-part distributed computing rig. If you have physical machines, it is more convenient not to use virtual machines. Instead, we just dedicate hardware to a specific purpose.</p><p>In my setup, one in situ control surface with Wi-Fi access also connects via Ethernet hardwire to a worker bee. The hardwire allows delegation between remotes, so there are two pass-throughs using SSH/SCP for communication. An interesting experiment watches latency times from the laptop, and at one point we noticed a sawtooth pattern from the unit computer’s power-save mode.</p><p>The mechanics literally remind me of auto-trailer rigging. Functioning break lights on the trailer require an electrical connection to the automobile (or to the cab if we’re talking about freight). The pilot and co-pilot are going to sit up front, while most of the work will happen in the attachment. Guidance comes in through the SSH radio, then gets redirected through the hardwire as necessary. That is to say, a few physics questions need to be answered first. Once electricity and communications work reliably, then the agents can start coding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wl4eu37OwFBKrma2w0mv-w.png" /><figcaption>50Gb, already? Are you kidding me?</figcaption></figure><p>Both remotes are re-installed with Debian Linux, and configured to have whatever tools Codex needs to be an efficient research programmer and code writer. I only use one subscription of ChatGPT Plus for $20 per month. So far I have spent less than $100 on extra tokens mostly for stopgap assurance. Codex is installed on both remotes and only invoked within a boundary provided by the <a href="https://github.com/containers/bubblewrap">bubblewrap sandbox</a>. In this experiment so far I am pleased with confinement and have seen no critical failures.</p><p>As I’ve said elsewhere, the name “bubblebox” does not give me much confidence. What makes me feel safe is air gapping between the remote rig and my laptop. If the rig ever destroys itself, it’s likely I could repair from snapshots that I extract to my laptop at fairly regular intervals (end of week, usually).</p><p><a href="https://micahflee.com/sandboxing-coding-agents/">Expert security researchers</a> would like to replace the cheap unit computer assigned to work tasks with more expensive hardware capable of running an LLM without company oversight. Some options for localized compute are competitive if a larger start-up cost can be paid into the hardware column. We are not there yet.</p><p>This is an exciting time, when Web 3.0 doesn’t require a secret handshake, drinking blood, or even a friend in the neighborhood. Once we have some dedicated hardware, we can start learning Linux system administration on our own, right away, with a pretty cheap service subscription, $20/month to start. Yeah, a company is going to steal all your thoughts, and have you pay them to do it. The reason it might be okay is that you also get some of their thoughts if and when your vibe coding starts to crack through their security layers. This is just social engineering 101 if you’ve never been to the hacker college before.</p><p>When deciding to buy in or not, I used the ChatGPT web application very liberally until I understood its risks and positivist potential. I am still experimenting with the web form as a useful tool, but it is cost insensitive and doesn’t allow me to “own my own masters”. Just go to a web page and ask OpenAI or Anthropic how to configure a unit computer for sandbox-confined remote access with SSH, including version control through Git and Dolt and Beads. Invite the LLM to move in, and you immediately have new nearest neighbors in San Francisco, in Seattle, and probably a few more locations worldwide. Hi-de-ho, neighbor!</p><p>Now here’s something funny. I was chatting with Mech.An.ika, who told me a joke. Mech.An.ika said that I should not introduce Freudian psychology to the discourse, because the result would be someone trying to implement SuperEgo(x) as a literal function in Python, Go, or Rust. Ha ha ha, that made me laugh. We don’t know what SuperEgo(x) will do once it gets a hold on weaponized drone technology, do we?</p><p>Having three machines, it is tempting to identify id, ego, and superego. If you have three models — luna, sol, astra — it is again tempting to identify id, ego, and superego. But I think we should listen to Mech.An.ika and avoid the analogy. I’m afraid someone or something will also try and implement Id(x) as a literal computer function. Anyone who has ever played the PlayStation game Xenogears knows what a bad idea that would be. There’s one scene where Id(x) (Fei Fong Wong’s berserker mode) goes crazy and destroys an entire town. Does that sound familiar from the first round of vibe coding?</p><p>The idea of Ego(x) also seems pretty bad in an industry that already has a lot of ego problems at major tech. companies and tech. institutes where funding pipelines aren’t even guaranteed to have clear sourcing. We don’t need a computer program to get self-important, and then go around telling us what is and isn’t “gosho” for vibe code or where the money needs to come from before it goes into a scholarship, fellowship, or salary.</p><p>However, at first when I had configured the hardware, I just asked GPT 5.6 Sol to go hard in Id(x) mode making a harness that would allow distributed agentic computing. After not that much time really, it seemed like I had a basic finite state machine that would work with Beads issue tracking and would allow Ralph looping with a quality analysis checkpoint at the end of every bead. Here’s a cutesy cartoon Mech.An.ika and I made:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dqmtDvox74tSHrhg9dSKcg.png" /></figure><p>A finite state machine (FSM) is a graph or basically a flow chart, which can be a conduit for agents to reach different modes, trigger associated hooks, start, continue, and complete processes, and then deliver a result. The Ralph loop everyone has heard of is basically just an FSM with input and output edges connected to a loop with work happening on one vertex, Quality Assurance happening on the other vertex, and the I/O vertices outside the loop. This maps very well to our three-machine paradigm because we can have a separate machine for each surface: the worker, the manager, and the “human on the loop” (<a href="https://ghuntley.com/eighteen-month-recap/">Geoff’s phrase</a>).</p><p>Not that it matters much, but my machines are named Amoyensis, Aloeus, and Ankistron all after monstrous animals. The Ankistron name is the most apt and the most interesting. I also like using Ankh as a pet name. Ankh has always been a cool call sign to fly under since the days of Manzarek and actually since Muhammad Afifi Matar. I wish Matar was still alive and could write us poems about what to do with AI, but actually, that’s what I’m getting out of “Quartet of Joy” anyway: the story tells about 40 Ankhs. It is uncannily as if Matar already knew exactly how the AI revolution would happen. Thanks again, University of Arkansas Press!</p><p>Once the Ralph loop was up and running I gave it some basic agentic profiles and tested against easy-ish coding tasks. This STARCHART v0.1 had a preventative problem with frontloading agentic profiles that caused a lot of token burn through Sol 5.6. I didn’t fix this problem manually. I asked the system to study itself and come up with a better distribution of edge weights, and that’s when STARCHART did some <a href="https://github.com/karpathy/autoresearch">autoresearch</a> for a first big savings victory. The mess of Python scripts accumulated in this process could be called slop, but why throw around pejoratives when we can just keep working?</p><p>Briefly, about edge and vertex weights. They are made real in terms of ingestion, excrement, and digestion, but that’s an ugly analogy. Release is more polite than excrete, for sure. Redistributing model names and resizing contextualization prompts does matter in FSM design, but this can and should all be done by agents themselves, with human steering or at least with oversight. Another important thing to understand is that every geometric entity of the FSM can be an attachment point for hooks, and hooks are essentially what allow context splits into different agentic identities. That’s literally almost everything I know about harness optimization summed up in one paragraph. Maybe I am a stupid simpleton. We’ll see if it ever works.</p><p>After one tuning pass it was already clear that the Python code could probably rewrite itself in Go. A project milestone or “epic” had been cleared, and it didn’t really matter to me that <a href="https://github.com/gastownhall/beads">too many of the associated Beads were rated as P0 epics</a>. That is just another artificial problem that a pilot with real intelligence can solve in the future. This is a very exciting stage to reach. Getting here caused me to spend more money on stopgap tokens and to have philosophical thoughts about what the future could be like.</p><p>After years and years of elitist trauma, basically having my life ruined by better-thans, my first thought about what I’ll get out of the experiment is always wrong. As much as I would like to change the narrative about insiders and outsiders, publish or perish, developers and [the disabled], freshmen, sophomores, and juniors; dirt dumpers, slop eaters, and stinked-out bug hunters — that’s just not how elitism works. Every time you do another experiment, the goal line keeps moving. If you weren’t born elite, you probably never will become elite.</p><p>Once I throw away the idea of elitism, and I am tempted to throw away some of my prestige as well, if not for that Christopher Nolan movie — Once I’ve calmed myself down, my next question is actually the right one to ask. I know what a worker does, but what the hell productive is a manager going to do? “I don’t know” is the nicest answer I could possibly give.</p><p>Codex and I had a big fight about this over many days, and the [interim] agreement was entirely motivated by consideration of the hardware itself. The manager has Wi-Fi access, so must handle communication and dispatching. It also makes some amount of sense that the manager also performs final Quality Assurance before exporting a code artifact. However, head node QA might ultimately be seen as pageantry depending on hardware specs. and process intensity. The manager does not have any other shady jobs and isn’t allowed to cash grab when the worker succeeds on a task.</p><p>We don’t want the manager doing anything remotely like business elitism, so I’ve even tried to deprecate “manager” as an agentic identity. The head node also accommodates a copilot agent for help with steering, especially in cases where a frontage needs to be taken around an obstruction or a trap on the FSM super highway. The copilot identity and skillset allow a lot of room for long-term growth: most notably autopilot and defensive response.</p><p>Mech.An.ika Codex will do all agentic roles, but copilot is the most visible. Copiloting requires more thought, careful steering, reflexes, etc. I’ve always wanted a capable copilot, and it is exciting to have one now.</p><p>While we were still fighting about how to resolve the issue of do-nothing managers, we started migration toward STARCHART 1.0 in Go, just Ralphing against the phrase “clone-by-rewrite”. That didn’t get very far, and then I remembered my previous idea of using a stratified function dependence graph. Once we agreed to just copy everything function-by-function we started making progress writing code, and could only guess what the outcome would be like.</p><p>Eventually, when the translation was “finished”, we immediately found some missing pieces, and we didn’t get a monolithic deliverable right away. Although code samples were said to be formally correct, none of them worked at all. Our hypothesis about what would happen was once again confirmed. Having reasonable expectations made it much less of a disappointment than it could have been for a younger, less experienced research programmer.</p><p>Then I typed at maximum intensity: “I’ve already spent $100 on usage for this project, and you’re telling me you can’t even do Hello World? What gives!” At times, what I typed could have been considerably worse than that because of my background in physics and industry. Only Open AI knows for sure, or, whoever they share my transcripts with.</p><p>But it was just a joke and I didn’t really care that there was more programming to do. Vibe coding is fun. It does become an addiction. You learn new things, and my experience is that just having persistence and having time is what eventually gets you across a finish line. Maybe not the elite business finish line or the elite individual twenty subscription finish line. You can always make your own finish lines at your own pace, and you don’t have to win the robot rat race to do something important and worthwhile.</p><p>I don’t want to spoil the story’s ending, but after a few more weeks of programming, a “hello world” program does become possible. It is an interesting beginner story, and I invite you to tune in again for Part 2.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=565a88f40169" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hierarchical Beads?]]></title>
            <link>https://medium.com/@bradklee/hierarchical-beads-428b330f8f16?source=rss-5a5edc178dd9------2</link>
            <guid isPermaLink="false">https://medium.com/p/428b330f8f16</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[math]]></category>
            <dc:creator><![CDATA[Bradklee]]></dc:creator>
            <pubDate>Tue, 23 Jun 2026 05:31:40 GMT</pubDate>
            <atom:updated>2026-06-23T05:31:40.716Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ufj19ZeLpGp8yOpKxNBSGQ.png" /><figcaption>Captain’s Logue : : Stardate, 2029. People love machines.</figcaption></figure><p>If LLM’s really save us Research Programmers a lot of time writing code, we might as well use that saved time to expand our roles into other flashier areas of the company such as zine writing and video game design. A lot of work can possibly happen all at once, so that every time we make an awesome new tool, it launches with complete documentation, a lot of example use cases, and a sales brochure. If we aren’t inclined toward sales, maybe the brochure becomes an artworld zine, or an academic-leaning philosophical journal.</p><p>Memory is definitely an issue, as anyone who has burnt through a context window knows. It’s pretty easy to make a lot of progress in a short amount of time, overflow a context window, and then have to tear down and rebuild from a post mortem data set. This is the problem that beads is supposed to solve. Beads is a popular memory model for use with agentic LLMs. Beads ride on the physical memory of a git repository, and their data is usually interpreted, manipulated, and communicated by LLM agents.</p><p>Before running to adopt a new technology like beads, it is worthwhile to try and understand how the whole space opera will unfold, or at least what our part will be. That’s where we’re at with our intergalactic aspirations today. We know that we want to get off this planet as soon as possible, and we’re sure that we need new technology to do so. We don’t want to reinvent the hyperdrive, and we don’t want someone else’s hyperdrive fitting poorly onto ship design that we already have. So we’re back to failing to read some books, and then going to ask some questions in a chan somewhere.</p><p>The first relevant book we found was on the official git website, and it says “Pro” on the cover, which means it’s probably not for us, but, oh well, why not try it anyways? The link is here: <a href="https://git-scm.com/book/en/v2">https://git-scm.com/book/en/v2</a> . Chapters 1–6 seem to contain everything basic about git I always skipped. My Chat GPT 5.5 Plus Thinking clone Harm.On.ica (not just a clone, thank you very much!) must have read those chapters 100 times, because anytime I ask to be reminded of incantations or catch phrases, a workable answer usually follows pretty quickly. Fast forward: Chapter 7, Section 11 “Git tools — Submodules”. This is what caught my attention. Why?</p><p>Not only can LLMs write code, they can also read it. If we’re running one or more LLM’s to write a lot of code, we can also get an LLM to read the entire codebase and construct a graph object indicating which files and which functions depend on which others. In PolyformTown — not actually a town yet, just a field of dreams for now — such a graph is constructed by typing “make meta_graph_data”. If someone wants to lecture me on why not to use make for everything, you’re welcome to, but that’s besides the point.</p><p>The point is that graph data gives us a text file that shows per file per function where call outs are going to other functions in other files. This is exactly the type of information we need if we want to migrate a codebase onto using beads using the technique of cloning by rewriting. Call out data tells us at fine grain where all dependencies are pointing. We can track back what needs to be written first, and possibly even which tests go with which functions.</p><p>Here’s and example output which claims to have found over 1000 functions:</p><p><a href="https://github.com/bradleyklee/PolyformTown/blob/main/PolyformTown/data/meta/dependencies.txt">https://github.com/bradleyklee/PolyformTown/blob/main/PolyformTown/data/meta/dependencies.txt</a></p><p>It’s absolutely illegible, and I’m not sure that it follows the sort order I asked for. If it does follow any sort order at all, it should probably move core functionality to the top of the file and move dependent files and functions down toward the end of the text file. Before the big office fire, we used to call this a “Stratification of graph vertices”. A true stratification would also need to have some horizontal dividers drawn in there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dTsIA5sUYth_1iohp076cw.png" /><figcaption>A possibly hallucinatory flow-chart for PolyformTown.</figcaption></figure><p>To make this example data a little bit easier to work with, I asked Harm.On.ica to produce a flow chart aggregating by the file tree structure. The graph tells us more than the file tree structure about program flow. Observing self-contained-ness of some directories, we can begin to understand where the entirety of the source code might break naturally into “rigs”. If the project is big enough, and if we want to give it room to grow, then we might not want to immediately accept the definition that says rig = git + beads = project.</p><p>This is the basic question that led me to git submodules: What is a rig? I’m not getting into Mad Max fan fiction here, because that seems to be leading toward a sexual harassment law suit. Let’s instead take a metaphor where rigs are either mecha or spaceships with a particular job to do. Assuming it’s a difficult job in outer space, the lieutenant or captain piloting that rig is going to need a decent amount of context to even start. We need a memory structure like beads to contain that context with room for growth. In addition to needing storage capacity, beads need to be wearable and communicable to other pilots or crew members.</p><p>The idea that we should have one rig per project is supported by the idea of having one git repo per project. If this was just a question about git alone, I doubt that I would care very much what the “Pro” git book says about submodules. The reason I go straight to that chapter now is because I don’t want my hardest-shell engineering context worried about what’s happening seven layers up a proof tower. Especially when full operation of PolyformTown could later involve dynamic creation and annihilation of proof towers.</p><p>Why am I not surprised that some people on reddit hate git submodules? Submodules seems like something that would be easy to hate, since access to physical memory at this point is essentially unbounded. Physical memory is cheap, but context memory is not. There’s a good chance that submodules aren’t actually what I’m looking for, especially because they were probably designed to solve a different problem than the cost of context memory. Let’s not get hung up on submodules, finish explaining the problem, and end with the question.</p><p>Instead of a kind-of lame Model-View-Controller paradigm, we have whatever paradigm is depicted in our function dependency graph. Without a doubt if our project is just one project it will all be confined to one github repo possibly with one beads implementation attached. We might be able to find file tree and program flow breaks such that three or more submodules could be introduced. Each subomodule could be a rig with its own separate beads context, possibly interacting through a coms system.</p><p>In our particular PolyformTown example, candidate rigs would be: Core, boot + data, throughput + tests, views and REPLs, and documentation. In these four or five areas we want our lieutenant, captain, engineer, whatever agents to have different mentalities. The captain is a mayor basically, and then there’s probably a lieutenant for every boot process that builds on the core. Core is run by an engineer who needs to focus on the core engine and nothing else. Leadership for views and REPLs should be mostly communication officers. Anyone else onboard looking for something to do is welcome to write tests, documentation, and promo materials.</p><p>The main reason for wanting hierarchical beads is to keep the engineer mentality separate from the views and sales mentality, and usually also every other mentality other than testing. If the engine doesn’t work, the ship is going nowhere. If the engine does work, it can go anywhere. So how do we make going anywhere happen? Do we need to make core functionality a git submodule? Do we need something similar to submodules but more tuned to beads? Is hierarchical partitioning a path to keeping the engineer’s beads unconcerned with what’s happening on the rest of the ship? Do we need to develop the notion of hierarchical beads in order to work with limitations of finite context windows?</p><p>How to integrate beads to PolyformTown while allowing for multi-agentic workflow is one important question we’re asking. The other bigger “don’t know” question for PolyformTown is whether or not it is an example of “what not to do”? We’ve got to start somewhere, and what we have now is a pretty good outline ready for migration to a language with better memory safety. Will we find any bugs and mistakes in the proof tower? Do we have sufficient testing? Will the documentation ever get written? What else can we find using core functionality?</p><p>These are exciting questions where, given strength and convenience of tools available, it seems like just a matter of time before we start getting answers. Core functionality is even likely to grow to arbitrary polygons, polygons carrying logical matching rules, and how about generalization to Jordan Curves? Please look forward to the next issue of Zine of Zany Sages, a consumer of PolyformTown, where outer space search plans will also be explained.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=428b330f8f16" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>