<?xml version="1.0" encoding="UTF-8"?>
<rss  xmlns:atom="http://www.w3.org/2005/Atom" 
      xmlns:media="http://search.yahoo.com/mrss/" 
      xmlns:content="http://purl.org/rss/1.0/modules/content/" 
      xmlns:dc="http://purl.org/dc/elements/1.1/" 
      version="2.0">
<channel>
<title>Antisimplistic</title>
<link>https://antisimplistic.com/blog.html</link>
<atom:link href="https://antisimplistic.com/blog.xml" rel="self" type="application/rss+xml"/>
<description>Thoughts on AI-assisted development, tools, and the craft of teaching with code</description>
<generator>quarto-1.10.18</generator>
<lastBuildDate>Sun, 27 Sep 2026 00:00:00 GMT</lastBuildDate>
<item>
  <title>Some Thoughts on AI and Thinking in a Post-Parrot World</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2026-09-27-ai-thinking-post-parrot/</link>
  <description><![CDATA[ 





<p>I’ve been using, teaching, and thinking about AI in various forms for about ten years. During that time, the capabilities have changed… considerably. As have my expectations of what these systems can do. But the language used to describe them has had a harder time keeping up.</p>
<p>This weekend, my X (aka the Twitter) feed filled with an argument sparked by the Associated Press’ Stylebook account. It began with a firm declaration and advised journalists to avoid attributing human characteristics to AI.</p>
<section class="x-carousel" aria-label="Original AP Stylebook post">
<div class="x-carousel-toolbar"><strong>AP’s guidance</strong></div>
<blockquote class="twitter-tweet blockquote" data-dnt="true" data-width="550" data-conversation="none"><p lang="en">Artificial intelligence systems do not think, feel, want or understand. Avoid language that gives them human characteristics. This is called anthropomorphizing, when we ascribe human traits, emotions or behaviors to non-human things, such as animals or inanimate objects.<br>Instead, explain what a system does, how well it performs, who built it and who could be affected by it.<br>https://t.co/UrgRobU97b</p>— APStylebook (@APStylebook) <a href="https://twitter.com/APStylebook/status/2102807962364383502">September 23, 2026</a></blockquote>
</section>
<p>It sparked broad, sometimes vigorous, response. Based on a quick survey of 472 posts, by Sunday afternoon the discussion had accumulated nearly five million views, 45k likes, and thousands of reposts, replies, and bookmarks. The debate attracted a diverse audience of programmers, researchers, journalists, philosophers, and plenty of interested spectators.</p>
<p>I was pleased to recognize so much of it. In <em>Thriving with AI</em>, a cross-discipline undergraduate honors course I’ve offered since 2024, students are expected to consider what these systems can do, how they work, and what is meant when we describe them as <em>understanding</em>, <em>reasoning</em>, or <em>thinking</em>. Watching the same questions surface in a much wider conversation was welcome validation of that work.</p>
<p>The AP’s recommendation to describe behavior and consequences is sensible and responsible. Whatever result an AI system produces (helpful <strong>or</strong> harmful) any report of it <em>must</em> describe what happened and who made the relevant decisions. That is table stakes of credible journalism. It was the warning against anthropomorphization (“ascribe human traits, emotions or behaviors to non-human things”) that drew attention from the likes of Paul Graham, Nate Silver, and others.</p>
<p>With its limit of <sub>120</sub> 240 words per post, <em>the platform formally known as Twitter</em> is not the place for subtle distinctions or nuanced debate impossible. That doesn’t keep people from trying…</p>
<p><a href="https://x.com/paulg/status/2103126673541755152">Paul Graham</a> objected that cognitive language is already established usage. Programmers have long described software as remembering settings, deciding which process to run, or knowing where a file lives. Most of us can use those expressions without imagining a person inside the machine. Graham then <a href="https://x.com/paulg/status/2103135915195371973">went further</a>, suggesting that calling what LLMs do “thinking” will begin as a convenience and eventually become something we acknowledge as true.</p>
<p>I suspect that most readers will find the first of those arguments easy to accept. The second demands that we carefully consider what it means to <em>think</em> (also learn, understand, etc.). And that can be a slippery slope.</p>
<p>That distinction kept getting lost as the discussion spread. Nate Silver <a href="https://x.com/NateSilver538/status/2103278943067607302">pointed to coding agents</a> that can examine a large program, debug it, and make revisions. Others emphasized that successful performance does not establish humanlike cognition or experience. Researchers debated whether “stochastic parrot” remains an informative description, and <a href="https://x.com/MelMitchell1/status/2103876313182527602">whether claims about an earlier language model apply to a modern system</a> with additional training, tools, and feedback.</p>
<p>There are substantive disagreements here. But participants also keep answering different questions.</p>
<p>In class, we distinguish mechanistic, functional, and intentional accounts of a system. A mechanistic account describes how it works. A functional account describes what it accomplishes. An intentional account interprets its behavior in terms of beliefs and goals. Saying that a model generates tokens describes part of its operation. It doesn’t, by itself, tell us how well the model can diagnose a programming error. Successfully diagnosing that error doesn’t establish that it experienced the satisfaction of figuring something out.</p>
<p><img src="https://antisimplistic.com/posts/2026-09-27-ai-thinking-post-parrot/post-parrot-cartoon.png" class="img-fluid" alt="Two stick figures watch an airplane take off. One says, ‘It’s not really flying. It doesn’t have feathers.’ The other has a thought bubble containing a parrot." width="760"></p>
<p>The critics are right to warn about how easily we slide between these claims. Xaq has emphasized the dangers of unchecked anthropomorphism in our course, and I take those concerns seriously. A conversational system supplies cues we ordinarily associate with another person: fluent language, apparent attentiveness, encouragement, an apology when something goes wrong. We supply some of the meaning ourselves. As <a href="https://x.com/biggestjoel/status/2103299447652245757">Big Joel argued</a>, what one person regards as convenient shorthand may convey a claim about experience to someone else.</p>
<p>But I think some proposed remedies introduce more friction than understanding. My wife says I put the Dan in peDANtic. Even I recognize that clear communication depends on shortcuts. We cannot unpack the full meaning of every word each time we use it, and attempting to do so would make many explanations impossible to follow.</p>
<p>Much of what we communicate depends on compression. A concept we treat as simple can rest on a tower of human knowledge and experience. We use a few words because we expect them to call up enough of that background for someone else to follow. Sometimes that expectation fails. We discover that we mean different things, explain further, and try again.</p>
<p>A new technology can make use of familiar shortcuts too. Its novelty means we need to be more deliberate about establishing what those shortcuts mean and what they leave unresolved. It doesn’t make the shortcuts inherently illegitimate.</p>
<p>The intentional stance gives us a way to think about this. We can knowingly choose a description because it helps us understand and predict behavior. Saying that a chess program is trying to protect its queen needn’t confuse anyone about what the program is. The description has a purpose and a scope. Learning to use it well includes recognizing when we need a different explanation. Precision includes knowing what a description is useful for and where it stops working. It doesn’t require replacing every familiar expression with a description of the underlying computation.</p>
<section id="discussion-posts" class="carousel x-carousel" aria-label="Posts behind the discussion" aria-roledescription="carousel" tabindex="0">
<div class="x-carousel-toolbar"><strong>Posts behind the discussion</strong><span aria-live="polite">1 / 5</span></div>
<div class="x-carousel-navigation" hidden=""><button class="btn btn-outline-secondary btn-sm" type="button" data-bs-target="#discussion-posts" data-bs-slide="prev" aria-label="Previous post">← Previous</button><div class="carousel-indicators">
<button type="button" data-bs-target="#discussion-posts" data-bs-slide-to="0" aria-label="Post 1" class="active" aria-current="true"></button>
<button type="button" data-bs-target="#discussion-posts" data-bs-slide-to="1" aria-label="Post 2"></button>
<button type="button" data-bs-target="#discussion-posts" data-bs-slide-to="2" aria-label="Post 3"></button>
<button type="button" data-bs-target="#discussion-posts" data-bs-slide-to="3" aria-label="Post 4"></button>
<button type="button" data-bs-target="#discussion-posts" data-bs-slide-to="4" aria-label="Post 5"></button>
</div><button class="btn btn-outline-secondary btn-sm" type="button" data-bs-target="#discussion-posts" data-bs-slide="next" aria-label="Next post">Next →</button></div>
<div class="carousel-inner">
<article class="carousel-item active" aria-label="1 of 5" aria-roledescription="slide"><h3 class="anchored">Established usage</h3><blockquote class="twitter-tweet blockquote" data-dnt="true" data-cards="hidden" data-width="550" data-conversation="none"><p lang="en">The AP doesn't understand that this ship sailed years ago. What's the use of a style guide that doesn't understand current educated usage? Usage is the whole point of a style guide. https://t.co/tfGy5ruIxe</p>— Paul Graham (@paulg) <a href="https://twitter.com/paulg/status/2103126673541755152">September 24, 2026</a></blockquote></article>
<article class="carousel-item" aria-label="2 of 5" aria-roledescription="slide"><h3 class="anchored">What counts as thinking?</h3><blockquote class="x-quote blockquote" data-dnt="true" data-cards="hidden" data-width="550" data-conversation="none"><p lang="en">Using "think" to describe what an LLM does reminds me of the 16th century, when astronomers didn't really believe in the heliocentric model, but used it for calculations anyway because the math was simpler. We'll start by calling it thinking, then gradually acknowledge it is.</p>— Paul Graham (@paulg) <a href="https://twitter.com/paulg/status/2103135915195371973">September 24, 2026</a></blockquote></article>
<article class="carousel-item" aria-label="3 of 5" aria-roledescription="slide"><h3 class="anchored">Coding agents and capability</h3><blockquote class="x-quote blockquote" data-dnt="true" data-cards="hidden" data-width="550" data-conversation="none"><p lang="en">OK then give Astra or Fable a 10,000-line program, ask it to debug it, ask it to understand what's going on, ask it to make revisions. It's certainly not perfect. I'm bullish on human expertise fwiw. But it sure as hell is way more than a "stochastic parrot." https://t.co/y6z5bzBoUz</p>— Nate Silver (@NateSilver538) <a href="https://twitter.com/NateSilver538/status/2103278943067607302">September 25, 2026</a></blockquote></article>
<article class="carousel-item" aria-label="4 of 5" aria-roledescription="slide"><h3 class="anchored">Which systems are we describing?</h3><blockquote class="x-quote blockquote" data-dnt="true" data-cards="hidden" data-width="550" data-conversation="none"><p lang="en">Everyone!  This is a straw-person argument.  The Stochastic Parrot paper was about LLMs of 2021, not the AI of today, which are not LLMs but complex software systems with vast post training and many external software components. https://t.co/hd7vmi5c3P</p>— Melanie Mitchell (@MelMitchell1) <a href="https://twitter.com/MelMitchell1/status/2103876313182527602">September 26, 2026</a></blockquote></article>
<article class="carousel-item" aria-label="5 of 5" aria-roledescription="slide"><h3 class="anchored">What the language implies</h3><blockquote class="x-quote blockquote" data-dnt="true" data-cards="hidden" data-width="550" data-conversation="none"><p lang="en">that people are taking issue with this is baffling to me. Reflective verbs like “wanting” and “feeling” and even “thinking” imply to most people that there is an experience associated with AI being. If that’s true, show it, don’t smuggle the belief in through convenient language https://t.co/Ew8TDi2RDo</p>— Big Joel (@biggestjoel) <a href="https://twitter.com/biggestjoel/status/2103299447652245757">September 25, 2026</a></blockquote></article>
</div>
</section>
<p>Shared understanding is what we are trying to build through communication. Each exchange starts with whatever common ground we have and, ideally, extends it. That takes work from everyone involved. Speakers need to consider what their words imply to their audience. Listeners need to consider what a speaker could reasonably mean, ask when it is unclear, and remain willing to revise their interpretation.</p>
<p>None of this requires agreement. I can understand your position and your reasons for holding it while continuing to disagree. Shared understanding makes debate possible, and debate can reveal differences hidden beneath an apparent agreement. We need both.</p>
<p>This is where I think AP’s guidance takes the wrong shortcut. A vocabulary rule can substitute for the understanding it is supposed to encourage. Knowing to say “output” instead of “answer” tells me very little about whether someone understands the system. A writer can follow every terminology rule and still produce a misleading explanation. Someone using “thinking” can communicate clearly with readers who understand the intended scope.</p>
<p>Journalists do have a broad audience, and they cannot assume everyone shares a programmer’s conventions. That is a reason to explain carefully. Where a familiar term carries an implication the evidence cannot support, qualify it or choose another. But the replacement should improve the reader’s understanding. Sounding less human is not enough.</p>
<p>I want our students to develop the judgment to make those choices deliberately. That means examining an AI’s response, their own interpretation of it, a company’s claims, a skeptic’s dismissal, and a stylebook’s confident declaration. All deserve questions about meaning, evidence, and consequences.</p>
<p>That habit extends well beyond AI. We will always need language that compresses more than it spells out, and we will always encounter people who use it differently. The work is to understand what we are saying, help others understand it, and notice when our words have carried us further than our knowledge.</p>
<p><em>Survey note: Engagement totals were captured on September 27, 2026, at approximately 1:15–1:19 p.m. Central time. The 472 unique posts came from selected discussion anchors and direct quote posts of AP’s guidance; this was a partial survey, not a census. Views are summed post impressions, not unique readers.</em></p>



 ]]></description>
  <category>AI</category>
  <category>teaching</category>
  <category>opinion</category>
  <guid>https://antisimplistic.com/posts/2026-09-27-ai-thinking-post-parrot/</guid>
  <pubDate>Sun, 27 Sep 2026 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2026-09-27-ai-thinking-post-parrot/post-parrot-cartoon.png" medium="image" type="image/png" height="108" width="144"/>
</item>
<item>
  <title>Astra Demonstrations: The Full Catalog</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2026-09-05-astra-demonstration-catalog/</link>
  <description><![CDATA[ 





<p>This is the companion to <a href="../../posts/2026-09-05-astra-first-48-hours/index.html">Astra’s First 48 Hours</a>: 82 demonstrations, experiments, and evaluations, grouped by category. It includes the original 72 candidates and ten later additions, including CAD projects, Thornwake, and examples of limitations. The main article develops the findings; this table is for finding something to explore.</p>
<p>Descriptions summarize the creators’ accounts and the evidence available on September 5, 2026. Inclusion is not independent validation, and this is not a ranking. Related projects by the same creator remain identified separately. Additional live-demo and code links are included where located.</p>
<div class="catalog-table">
<table class="caption-top table">
<thead>
<tr class="header">
<th>Category</th>
<th>Demo / creator</th>
<th>What’s interesting</th>
<th>Links</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>History and architecture</td>
<td>Waterloo: The Guard meets the line · danshipper</td>
<td>Makes a Waterloo encounter explorable through viewpoints and a timeline, with notes separating sources from interpretation.</td>
<td><a href="https://x.com/danshipper/status/2095880567313092770">Original</a> · <a href="https://waterloo-guard-meets-the-line.vercel.app/">Explore</a></td>
</tr>
<tr class="even">
<td>History and architecture</td>
<td>Library of Alexandria / Mouseion · emollick</td>
<td>Connects an imagined ancient city to readable texts while distinguishing surviving works from lost or fragmentary ones.</td>
<td><a href="https://x.com/emollick/status/2095601539066777748">Original</a> · <a href="https://alexandria-mouseion.netlify.app/">Explore</a> · <a href="https://github.com/emollick/alexandria-mouseion">Code</a></td>
</tr>
<tr class="odd">
<td>History and architecture</td>
<td>Boullée’s unbuilt Newton cenotaph · emollick</td>
<td>Turns sketches of an unbuilt monument into a narrated spatial walkthrough, making its scale easier to imagine.</td>
<td><a href="https://x.com/emollick/status/2096270461122347131">Original</a></td>
</tr>
<tr class="even">
<td>History and architecture</td>
<td>Geobukseon turtle-ship cinematic · Creator post</td>
<td>Connects a turtle ship’s interior to a naval encounter inspired by Yi’s campaigns; historical fidelity remains unestablished.</td>
<td><a href="https://x.com/i/status/2096241698925916633">Original</a></td>
</tr>
<tr class="odd">
<td>History and architecture</td>
<td>Duomo cathedral scene · kristel_tech</td>
<td>Reconstructs a cathedral in Blender with editable camera and rendering work.</td>
<td><a href="https://x.com/kristel_tech/status/2096282340913717537">Original</a></td>
</tr>
<tr class="even">
<td>History and architecture</td>
<td>Palace of Fine Arts in Blender · sharifshameem</td>
<td>Reconstructs the Palace of Fine Arts in Blender, making architectural form available for spatial inspection.</td>
<td><a href="https://x.com/sharifshameem/status/2095653641164329143">Original</a></td>
</tr>
<tr class="odd">
<td>Worlds and interactive visualization</td>
<td>Void Explorer: procedural planetary landings · truthyvalue</td>
<td>Connects spaceflight to planetary exploration, with an account of rendering scale, physics, and visual iteration.</td>
<td><a href="https://x.com/truthyvalue/status/2096291942091153563">Original</a> · <a href="https://developers.openai.com/blog/how-to-build-games-with-astra">Build account</a></td>
</tr>
<tr class="even">
<td>Worlds and interactive visualization</td>
<td>Manhattan in Unreal Engine · mattshumer_</td>
<td>Sustains a large, drivable Manhattan build in Unreal over roughly a week; existing assets and substantial compute are disclosed.</td>
<td><a href="https://x.com/mattshumer_/status/2095609734845927525">Original</a> · <a href="https://somethingbig.ai/a">Build account</a></td>
</tr>
<tr class="odd">
<td>Worlds and interactive visualization</td>
<td>ABYSSAL: living deep · emollick</td>
<td>Adds procedural marine behavior to an underwater environment, giving exploration activity beyond static scenery.</td>
<td><a href="https://x.com/emollick/status/2095673885605630429">Original</a> · <a href="https://github.com/emollick/abyssal-living-deep">Code</a></td>
</tr>
<tr class="even">
<td>Worlds and interactive visualization</td>
<td>Van Gogh’s Town · petergostev</td>
<td>Interprets six Van Gogh paintings as a shared walkable town; related to the same creator’s Gogh Strike.</td>
<td><a href="https://x.com/petergostev/status/2095776685807346105">Original</a> · <a href="https://van-goghs-town.surge.sh/">Explore</a></td>
</tr>
<tr class="odd">
<td>Worlds and interactive visualization</td>
<td>VRChat beach world · pichikyo</td>
<td>Builds a beach world for VRChat, including collisions and optimization; baking remained unfinished.</td>
<td><a href="https://x.com/pichikyo/status/2096285284178788612">Original</a></td>
</tr>
<tr class="even">
<td>Worlds and interactive visualization</td>
<td>Garden City from a reference image · JHereM</td>
<td>Turns a reference image into an explorable Garden City, extending a flat visual into a place.</td>
<td><a href="https://x.com/JHereM/status/2096284195517596099">Original</a></td>
</tr>
<tr class="odd">
<td>Worlds and interactive visualization</td>
<td>Museum of bad marketing ideas · ecomchasedimond</td>
<td>Makes an editorial collection of bad marketing ideas into a walkable museum.</td>
<td><a href="https://x.com/ecomchasedimond/status/2096285235961045307">Original</a></td>
</tr>
<tr class="even">
<td>Worlds and interactive visualization</td>
<td>Personal house walkthrough · SebastianRoehl</td>
<td>Creates a walkthrough of a personal house, making domestic space easier to inspect in 3D.</td>
<td><a href="https://x.com/SebastianRoehl/status/2096290770017984785">Original</a></td>
</tr>
<tr class="odd">
<td>Worlds and interactive visualization</td>
<td>Screenshot-to-explorable world · yungcontent</td>
<td>Turns a screenshot into an explorable world, with unseen areas necessarily involving invention.</td>
<td><a href="https://x.com/yungcontent/status/2096291179843440952">Original</a></td>
</tr>
<tr class="even">
<td>Worlds and interactive visualization</td>
<td>Shanghai Bund from one photograph · yiyangleex</td>
<td>Uses a single Shanghai photograph as the starting point for a Blender-to-Godot walkthrough.</td>
<td><a href="https://x.com/yiyangleex/status/2096290966550544893">Original</a></td>
</tr>
<tr class="odd">
<td>Worlds and interactive visualization</td>
<td>Rainy bear world · BubuStd</td>
<td>Builds an atmospheric rainy world featuring a bear; a game objective is not established.</td>
<td><a href="https://x.com/BubuStd/status/2096253137510347082">Original</a></td>
</tr>
<tr class="even">
<td>Worlds and interactive visualization</td>
<td>Exploded human anatomy · ashebytes</td>
<td>Separates the body into a reported 2,234 modeled pieces so viewers can inspect internal organization; anatomical accuracy is unverified.</td>
<td><a href="https://x.com/ashebytes/status/2096221988763173186">Original</a></td>
</tr>
<tr class="odd">
<td>CAD and fabrication</td>
<td>Dual-GB10 enclosure test coupons · mr_r0b0t</td>
<td>Takes an electronics enclosure through repeated revisions and small physical fit tests before committing to a full print.</td>
<td><a href="https://x.com/mr_r0b0t/status/2096266507839824353">Original</a></td>
</tr>
<tr class="even">
<td>CAD and fabrication</td>
<td>Onshape robot with selected sensors · Alpha10six</td>
<td>Revises sensor mounts, component placement, and ventilation in an existing Onshape assembly through an agent-built connector.</td>
<td><a href="https://x.com/Alpha10six/status/2096261751389978640">Original</a></td>
</tr>
<tr class="odd">
<td>CAD and fabrication</td>
<td>Image-to-CAD construction · wieslawsoltes</td>
<td>Reconstructs a CAD model from an image, exploring a route from visual reference to geometry.</td>
<td><a href="https://x.com/wieslawsoltes/status/2096290662412947597">Original</a></td>
</tr>
<tr class="even">
<td>CAD and fabrication</td>
<td>NS6400 model train · Creator on Reddit</td>
<td>Adapts a locomotive body to an existing chassis, with reported revisions for snap-fits, lighting, and printing.</td>
<td><a href="https://www.reddit.com/r/codex/comments/1w7rvgr/astra_just_built_my_sscale_model_train_in_onshape/">Original</a></td>
</tr>
<tr class="odd">
<td>CAD and fabrication</td>
<td>Aurora TF-01 turbofan · Adam</td>
<td>Shows a cutaway engine assembly with 140 instances and motion controls; dimensional revision behavior remains untested.</td>
<td><a href="https://x.com/adamdotnew/status/2096053889141489669">Original</a></td>
</tr>
<tr class="even">
<td>CAD and fabrication</td>
<td>SO-101 arm · MakerMatters</td>
<td>Exposes an articulated assembly and mechanism controls in WebCAD, making relationships between moving parts inspectable.</td>
<td><a href="https://x.com/MakerMatters/status/2096262183281692918">Original</a></td>
</tr>
<tr class="odd">
<td>CAD and fabrication</td>
<td>FreeCAD scooter redesign · heecheee</td>
<td>Brings iterative mechanical design into an open-source CAD application; constraint preservation is unresolved.</td>
<td><a href="https://x.com/heecheee/status/2096179696245629412">Original</a></td>
</tr>
<tr class="even">
<td>Games</td>
<td>Gogh Strike · petergostev</td>
<td>Turns painters into rival crews in a town with a coherent painted style; the available build uses bots, not online multiplayer.</td>
<td><a href="https://x.com/petergostev/status/2096013280519016608">Original</a> · <a href="https://gogh-strike.surge.sh/">Play</a> · <a href="https://github.com/petergpt/gogh-strike">Code</a></td>
</tr>
<tr class="odd">
<td>Games</td>
<td>Zork in 3D · emollick</td>
<td>Translates a text adventure into a navigable world with inventory, a journal, and treasure tracking.</td>
<td><a href="https://x.com/emollick/status/2096047660662722620">Original</a> · <a href="https://zork-underground-empire.netlify.app/">Play</a></td>
</tr>
<tr class="even">
<td>Games</td>
<td>VECTOR RUSH antigravity racer · AIDREAMMAN</td>
<td>Builds an antigravity racer with Godot and Blender and exposes the source for inspection.</td>
<td><a href="https://x.com/AIDREAMMAN/status/2096284215126229146">Original</a> · <a href="https://github.com/ToBeWin/vector-rush">Code</a></td>
</tr>
<tr class="odd">
<td>Games</td>
<td>AETHER / The Far Shore · clankenluben</td>
<td>Presents a survival/MMO project with a public build; working multiplayer and concurrency remain untested.</td>
<td><a href="https://x.com/clankenluben/status/2096288449259069747">Original</a></td>
</tr>
<tr class="even">
<td>Games</td>
<td>Lumen Echo Game Boy ROM · LumenMythTech</td>
<td>Targets Game Boy hardware, making its limited memory and display part of the development challenge.</td>
<td><a href="https://x.com/LumenMythTech/status/2096292333318717859">Original</a></td>
</tr>
<tr class="odd">
<td>Games</td>
<td>FTL-like game with agent self-play · SIGKITTEN</td>
<td>Claims to build and play its own game, suggesting a feedback loop between implementation and testing.</td>
<td><a href="https://x.com/SIGKITTEN/status/2095647833797824735">Original</a></td>
</tr>
<tr class="even">
<td>Games</td>
<td>Fortnite as a text adventure · emollick</td>
<td>Recasts Fortnite as a text adventure, translating its action into a different medium.</td>
<td><a href="https://x.com/emollick/status/2096071878427234309">Original</a></td>
</tr>
<tr class="odd">
<td>Games</td>
<td>One More Vine · bennash</td>
<td>Builds a four-level Pitfall-style game around a compact, recognizable platforming brief.</td>
<td><a href="https://x.com/bennash/status/2096282758930645170">Original</a></td>
</tr>
<tr class="even">
<td>Games</td>
<td>RPGJS and Tiled multiplayer project · rpgjs_dev</td>
<td>Uses RPGJS and the Tiled map editor to develop a multiplayer project on top of an existing framework.</td>
<td><a href="https://x.com/rpgjs_dev/status/2096260456654516486">Original</a></td>
</tr>
<tr class="odd">
<td>Games</td>
<td>Battle of Alesia RTS · IvanCaceres</td>
<td>Uses the Battle of Alesia as a real-time strategy setting; multiplayer is described as planned.</td>
<td><a href="https://x.com/IvanCaceres/status/2096290464177500414">Original</a></td>
</tr>
<tr class="even">
<td>Games</td>
<td>Minecraft meets Rimworld prototype · TheAtticWizard</td>
<td>Combines Minecraft-like construction with Rimworld-style survival and strategy in a prototype.</td>
<td><a href="https://x.com/TheAtticWizard/status/2096283462781055047">Original</a></td>
</tr>
<tr class="odd">
<td>Games</td>
<td>Nine-year-old’s racing game · suganthan</td>
<td>Shows a parent helping a nine-year-old make a racing game, widening participation in game creation.</td>
<td><a href="https://x.com/suganthan/status/2096286445434708416">Original</a></td>
</tr>
<tr class="even">
<td>Games</td>
<td>PS1-style Beyblade game · skirano</td>
<td>Builds a Beyblade game with a deliberately requested PS1 visual style.</td>
<td><a href="https://x.com/skirano/status/2095595936701419637">Original</a></td>
</tr>
<tr class="odd">
<td>Games</td>
<td>Unity physics platformer · spencerclarkdev</td>
<td>Builds a physics platformer in Unity, testing the coordination of movement, collisions, and level design.</td>
<td><a href="https://x.com/spencerclarkdev/status/2096267800398500327">Original</a></td>
</tr>
<tr class="even">
<td>Games</td>
<td>Whale Rush multiplayer FPS · vikings_ace</td>
<td>Helps finish an existing multiplayer FPS project; the earlier codebase should not be attributed to Astra.</td>
<td><a href="https://x.com/vikings_ace/status/2096288397136732186">Original</a></td>
</tr>
<tr class="odd">
<td>Games</td>
<td>Thornwake · Meng To</td>
<td>Combines procedural scenery, coherent game interfaces, and combat, then recreates the project in Blender for a trailer.</td>
<td><a href="https://x.com/MengTo/status/2096213835460084184">Original</a></td>
</tr>
<tr class="even">
<td>Science and simulation</td>
<td>Fly brain and nerve cord in a browser · mehrantsi</td>
<td>Integrates brain and nerve-cord data and ports an existing fly simulation into the browser; biological fidelity is unestablished.</td>
<td><a href="https://x.com/mehrantsi/status/2096282317148885453">Original</a></td>
</tr>
<tr class="odd">
<td>Science and simulation</td>
<td>Orbital rendezvous and docking · Creator post</td>
<td>Models spacecraft rendezvous and docking with explicit guidance and success criteria.</td>
<td><a href="https://x.com/i/status/2096225621303042258">Original</a></td>
</tr>
<tr class="even">
<td>Science and simulation</td>
<td>Trackmania physics rebuilt for the browser · achepta_tm</td>
<td>Rebuilds Trackmania driving physics for the browser, creating a behavioral target beyond plausible animation.</td>
<td><a href="https://x.com/achepta_tm/status/2096258619574513880">Original</a></td>
</tr>
<tr class="odd">
<td>Science and simulation</td>
<td>Agent-inhabited civilization · mattshumer_</td>
<td>Populates an Unreal environment with agent-driven inhabitants, making their actions part of the experiment.</td>
<td><a href="https://x.com/mattshumer_/status/2095596175705399482">Original</a></td>
</tr>
<tr class="even">
<td>Science and simulation</td>
<td>MaleCNS fly connectome in Minecraft · evnsnclr</td>
<td>Connects a reported 166,700-neuron fly dataset to movement in Minecraft; this is early development, not verified whole-brain emulation.</td>
<td><a href="https://x.com/evnsnclr/status/2095975490708291948">Original</a></td>
</tr>
<tr class="odd">
<td>Science and simulation</td>
<td>Jet Factory V2 · konstantinsaifo</td>
<td>Depicts machine cycles and a returning tug to make manufacturing and transport flow visible.</td>
<td><a href="https://x.com/konstantinsaifo/status/2096260471020011981">Original</a></td>
</tr>
<tr class="even">
<td>Science and simulation</td>
<td>Cell motility and stress-response sandbox · tsuname</td>
<td>Exposes stresses and gradients as controls for exploring cell movement; predictive biological validity is unestablished.</td>
<td><a href="https://x.com/tsuname/status/2096283873214956016">Original</a></td>
</tr>
<tr class="odd">
<td>Science and simulation</td>
<td>Spatial inference from dog-bark audio · literallydenis</td>
<td>Explores spatial inference from dog-bark audio; the creator explicitly says it is not yet a 3D map.</td>
<td><a href="https://x.com/literallydenis/status/2095989219390844985">Original</a></td>
</tr>
<tr class="even">
<td>Science and simulation</td>
<td>BMX race physics · Im_IrushiK</td>
<td>Produces BMX racing motion as a physics-animation experiment; numerical fidelity is unchecked.</td>
<td><a href="https://x.com/Im_IrushiK/status/2096280064019353891">Original</a></td>
</tr>
<tr class="odd">
<td>Film and music</td>
<td>Synth composition and arrangement in Ableton · skirano</td>
<td>Creates synthesized instruments, musical parts, and an editable arrangement inside Ableton.</td>
<td><a href="https://x.com/skirano/status/2095595942544089525">Original</a></td>
</tr>
<tr class="even">
<td>Film and music</td>
<td>A Room Made of Replies · SkyeSharkie</td>
<td>Combines a film with reported changes to its production tools, extending the agent’s role into the creative workflow.</td>
<td><a href="https://x.com/SkyeSharkie/status/2096276401204936939">Original</a></td>
</tr>
<tr class="odd">
<td>Film and music</td>
<td>Piano waltz with synchronized 3D pianist · higgsfield_ai</td>
<td>Pairs a composed waltz with a 3D pianist whose finger movements are claimed to follow the notes.</td>
<td><a href="https://x.com/higgsfield_ai/status/2096292350180163648">Original</a></td>
</tr>
<tr class="even">
<td>Film and music</td>
<td>1980s action figures from video · neurofoo</td>
<td>Transforms video into an action-figure aesthetic; the creator points out a visible inconsistency in an ear.</td>
<td><a href="https://x.com/neurofoo/status/2096287401177960882">Original</a></td>
</tr>
<tr class="odd">
<td>Film and music</td>
<td>INCEPTION title sequence · lepadphone</td>
<td>Uses architectural imagery and animated typography to pursue a recognizable cinematic style; music is excluded from Astra’s contribution.</td>
<td><a href="https://x.com/lepadphone/status/2096285071192035406">Original</a></td>
</tr>
<tr class="even">
<td>Film and music</td>
<td>One-minute animated film pipeline · catalogicalism</td>
<td>Produces a one-minute animated film through an existing AI production pipeline.</td>
<td><a href="https://x.com/catalogicalism/status/2096286887388553268">Original</a></td>
</tr>
<tr class="odd">
<td>Film and music</td>
<td>Western cinematic in Blender · TopviewAIhq</td>
<td>Builds a Western cinematic in Blender, with the creator reporting an editable scene rather than only a finished video.</td>
<td><a href="https://x.com/TopviewAIhq/status/2096252019329716464">Original</a></td>
</tr>
<tr class="even">
<td>Film and music</td>
<td>DaVinci Resolve editing workflow · argofowl</td>
<td>Handles cuts, captions, and bad-take removal in an editing application, but reportedly fails at color correction.</td>
<td><a href="https://x.com/argofowl/status/2096284502192721938">Original</a></td>
</tr>
<tr class="odd">
<td>Film and music</td>
<td>Wireframe motion sequence · Cupang1997</td>
<td>Produces a wireframe motion sequence with Flova, combining code and existing creative tooling.</td>
<td><a href="https://x.com/Cupang1997/status/2096291647927792037">Original</a></td>
</tr>
<tr class="even">
<td>Film and music</td>
<td>Backrooms film · Duncan Trussell</td>
<td>Uses fluorescent rooms, staging, and an unsettling figure to develop an atmospheric Blender film.</td>
<td><a href="https://x.com/duncantrussell/status/2096003511104508411">Original</a></td>
</tr>
<tr class="odd">
<td>Education</td>
<td>T-cell explainer by Derya Unutmaz · DeryaTR_</td>
<td>An immunologist directs an audiovisual T-cell explanation using generated imagery, narration, and code-based video tools.</td>
<td><a href="https://x.com/DeryaTR_/status/2095659170661904804">Original</a></td>
</tr>
<tr class="even">
<td>Interfaces and product design</td>
<td>Parallax Desk head-tracked windows · outscape</td>
<td>Uses head position to change the apparent depth and overlap of desktop windows.</td>
<td><a href="https://x.com/outscape/status/2096286659566309605">Original</a> · <a href="https://parallax-desk.uhgall.chatgpt.site">Try</a></td>
</tr>
<tr class="odd">
<td>Interfaces and product design</td>
<td>3D iPod-shaped Codex thread app · skirano</td>
<td>Makes Codex conversations browsable through a familiar 3D iPod-shaped interface.</td>
<td><a href="https://x.com/skirano/status/2095648379455861054">Original</a></td>
</tr>
<tr class="even">
<td>Interfaces and product design</td>
<td>Portrait painted in 9,216 Google Sheets cells · velvet_shark</td>
<td>Paints a portrait into 9,216 spreadsheet cells, demonstrating coordinated edits inside an existing application.</td>
<td><a href="https://x.com/velvet_shark/status/2096284077150114303">Original</a></td>
</tr>
<tr class="odd">
<td>Interfaces and product design</td>
<td>Codex Micro 3D device animation · skirano</td>
<td>Builds and animates a 3D device from an image, connecting product reference to motion.</td>
<td><a href="https://x.com/skirano/status/2095595932335170031">Original</a></td>
</tr>
<tr class="even">
<td>Interfaces and product design</td>
<td>Video recreated as interactive code · skirano</td>
<td>Recreates a reference video as an interactive card-customization interface, turning shown behavior into editable code.</td>
<td><a href="https://x.com/skirano/status/2095595938534351231">Original</a></td>
</tr>
<tr class="odd">
<td>Interfaces and product design</td>
<td>iPhone Flip product page · ashen_one</td>
<td>Combines generated imagery and Blender work in a product page for a fictional folding iPhone.</td>
<td><a href="https://x.com/ashen_one/status/2096291729540517937">Original</a></td>
</tr>
<tr class="even">
<td>Interfaces and product design</td>
<td>Jarvis desktop companion · ucsandman</td>
<td>Combines screen sharing with a desktop companion and small applications; reliability and privacy behavior were not reviewed.</td>
<td><a href="https://x.com/ucsandman/status/2096291423142244437">Original</a></td>
</tr>
<tr class="odd">
<td>Interfaces and product design</td>
<td>Adonis animated landing page · ElieAsaade</td>
<td>Connects Blender animation to a landing page, carrying 3D production into a website.</td>
<td><a href="https://x.com/ElieAsaade/status/2096292362490433796">Original</a></td>
</tr>
<tr class="even">
<td>Interfaces and product design</td>
<td>Autonomously refreshed data graphics · Nonfon420</td>
<td>Refreshes data graphics with reported autonomy; the underlying data correctness was not audited.</td>
<td><a href="https://x.com/Nonfon420/status/2096287840468447240">Original</a></td>
</tr>
<tr class="odd">
<td>Reasoning and evaluations</td>
<td>FrontierMath Erdős: formally checked new results · Epoch AI researchers</td>
<td>Produces formally checked solutions to two of 68 open problems under the benchmark protocol; additional runs bring the unique total to five.</td>
<td><a href="https://epoch.ai/latest/announcing-frontiermath-erdos">Report</a> · <a href="https://epoch.ai/files/frontiermath-erdos.pdf">Paper</a> · <a href="https://github.com/epoch-research/LeanOpenProblems">Proofs</a></td>
</tr>
<tr class="even">
<td>Reasoning and evaluations</td>
<td>BabaIsBench puzzle solving · pmigdal</td>
<td>Solves 15 Baba Is You Lake levels through a text interface, reasoning about rules that can themselves change.</td>
<td><a href="https://x.com/pmigdal/status/2096253047030657199">Original</a> · <a href="https://quesma.com/benchmarks/babaisbench/">Evaluation</a></td>
</tr>
<tr class="odd">
<td>Reasoning and evaluations</td>
<td>Solving a creator’s grid puzzle · LoicBoursin</td>
<td>Solves a creator’s grid puzzle with a process clip; the claimed human speed comparison is not controlled.</td>
<td><a href="https://x.com/LoicBoursin/status/2096284293152567637">Original</a></td>
</tr>
<tr class="even">
<td>Reasoning and evaluations</td>
<td>Production rewrite evaluation · Every</td>
<td>Tests work on an established software system; Astra trails the human references, with differing follow-up conditions complicating comparisons.</td>
<td><a href="https://every.to/benchmarks/senior-engineer-benchmark">Report</a></td>
</tr>
<tr class="odd">
<td>Reasoning and evaluations</td>
<td>Allocator implementation difficulties · Victor Taelin</td>
<td>Reports difficulty converting a diagnosis into a solution under real constraints, exposing a limit beyond impressive demonstrations.</td>
<td><a href="https://x.com/VictorTaelin/status/2096273196412498057">Original</a></td>
</tr>
<tr class="even">
<td>Reasoning and evaluations</td>
<td>Research-taste experiment · Ethan Mollick</td>
<td>Reports technically competent but uninteresting research choices, separating execution skill from judgment about worthwhile work.</td>
<td><a href="https://x.com/emollick/status/2095717185200988439">Original</a></td>
</tr>
<tr class="odd">
<td>Software and personal knowledge</td>
<td>Personal archive becomes a living wiki · emollick</td>
<td>Turns personal correspondence, calendars, and writing into a maintained wiki and recurring briefings; the artifact is private.</td>
<td><a href="https://x.com/emollick/status/2095606622055760159">Original</a></td>
</tr>
<tr class="even">
<td>Software and personal knowledge</td>
<td>Hazumi News database migration · jrzscodes</td>
<td>Migrates an existing application from Supabase to Cloudflare D1, tackling infrastructure maintenance rather than a new demo.</td>
<td><a href="https://x.com/jrzscodes/status/2096284357610610836">Original</a></td>
</tr>
<tr class="odd">
<td>3D modeling and visualization</td>
<td>Bottle schematics to Blender beauty shots · fffabs</td>
<td>Turns bottle schematics into presentation renders, connecting technical drawings to product communication.</td>
<td><a href="https://x.com/fffabs/status/2096284491677376763">Original</a></td>
</tr>
<tr class="even">
<td>3D modeling and visualization</td>
<td>Floor plan to architectural render · higgsfield_ai</td>
<td>Uses a floor plan to produce an architectural visualization; dimensional fidelity is not established.</td>
<td><a href="https://x.com/higgsfield_ai/status/2096284092593758631">Original</a></td>
</tr>
<tr class="odd">
<td>3D modeling and visualization</td>
<td>Blender model comparison · Bac0nGreen02</td>
<td>Compares Blender modeling output while candidly showing that the result still resembles assembled primitives.</td>
<td><a href="https://x.com/Bac0nGreen02/status/2096289084960620940">Original</a></td>
</tr>
<tr class="even">
<td>3D modeling and visualization</td>
<td>Ender Dragon in Spline · adonis_singh</td>
<td>Builds a recognizable Ender Dragon in Spline; the model is not yet rigged for animation.</td>
<td><a href="https://x.com/adonis_singh/status/2096284224537907508">Original</a></td>
</tr>
</tbody>
</table>
</div>
<style>
.catalog-table {overflow-x:auto; margin:1.5rem 0;}
.catalog-table table {min-width:760px; font-size:.9rem;}
.catalog-table th:nth-child(1) {width:16%;}
.catalog-table th:nth-child(2) {width:24%;}
.catalog-table th:nth-child(3) {width:44%;}
.catalog-table th:nth-child(4) {width:16%;}
.catalog-table td {vertical-align:top; padding:.65rem .5rem;}
.catalog-table tbody tr:nth-child(even) {background:rgba(127,127,127,.045);}
</style>



 ]]></description>
  <category>AI</category>
  <category>agents</category>
  <guid>https://antisimplistic.com/posts/2026-09-05-astra-demonstration-catalog/</guid>
  <pubDate>Sat, 05 Sep 2026 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/waterloo.png" medium="image" type="image/png" height="148" width="144"/>
</item>
<item>
  <title>Astra’s First 48 Hours: A Field Guide to What People Are Building</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/</link>
  <description><![CDATA[ 





<p>My X timeline has been overrun by posts about OpenAI’s recently released <a href="https://openai.com/index/gpt-6-astra/">GPT-6 model, Astra</a>. One of the first demos to catch my eye was <a href="https://x.com/danshipper/status/2095880567313092770">Dan Shipper’s interactive reconstruction of Waterloo</a>. You can stand behind either formation, rise above the encounter, or stop at the volley and inspect the scene. A historical account becomes something you can explore.</p>
<p>Elsewhere in my feed, someone was <a href="https://x.com/Alpha10six/status/2096261751389978640">revising a robot in Onshape</a> by describing the changes he wanted. Another person had <a href="https://x.com/petergostev/status/2096013280519016608">built a shooter populated by painters</a>, with a town that looked painted too. Alongside the visual spectacle were <a href="https://epoch.ai/latest/announcing-frontiermath-erdos">new mathematical results checked by a formal proof system</a>. With help from Codex, OpenAI’s coding agent, I followed these and other examples to see what the excitement amounted to.</p>
<p>These demonstrations make a convincing case that Astra is a big jump in capability. The breadth, visual quality, and complexity of the work are striking, especially when projects span specialist tools and leave something people can continue editing. What the demos cannot tell us is how consistently Astra delivers, how much effort and expense sit behind the results, or how well the work holds up beyond the presentation. The examples below show why the excitement is warranted while keeping those open questions in view.</p>
<p>This is a tour of the first roughly 48 hours of public excitement, captured on September 5. Some creators had early access and worked for days or weeks; the window describes when the work came into view, not how long every project took.</p>
<section id="history-you-can-walk-into" class="level2">
<h2 class="anchored" data-anchor-id="history-you-can-walk-into">History You Can Walk Into</h2>
<p>Shipper’s <a href="https://x.com/danshipper/status/2095880567313092770">Waterloo reconstruction</a> focuses on Maitland’s Guards confronting the French advance. <a href="https://waterloo-guard-meets-the-line.vercel.app/">Open the scene</a> and try the volley from either side of the encounter.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/waterloo.png" class="img-fluid figure-img" alt="Waterloo reconstruction showing British troops in the foreground, a French formation across the field, and controls for time and viewpoint." width="760"></p>
<figcaption>The volley at Waterloo, viewed from behind the British line. Screenshot of Dan Shipper’s reconstruction; the timeline and viewpoint controls let readers inspect the encounter.</figcaption>
</figure>
</div>
<p>The reconstruction’s <a href="https://waterloo-guard-meets-the-line.vercel.app/">source notes</a> are worth opening. They distinguish the historical episode from choices made to represent it, including compressed choreography, terrain detail, and troop counts. They acknowledge disputed attribution and reused assets. That makes the experience more useful: you can enjoy the reconstruction while knowing which parts are interpretation. A rendered battlefield inevitably looks more definite than the surviving evidence.</p>
<p>Ethan Mollick’s <a href="https://x.com/emollick/status/2095601539066777748">Alexandria</a> connects an imagined ancient city to a <a href="https://alexandria-mouseion.netlify.app/">collection of texts you can read</a>. It distinguishes surviving editions from fragmentary or lost works, letting a visit to the city lead into its intellectual life. The collection is an interpretation, not a recovered library inventory.</p>
<p>Mollick’s <a href="https://x.com/emollick/status/2096270461122347131">walkthrough of Boullée’s unbuilt Newton cenotaph</a> translates sketches and a description into a spatial experience. The unseen geometry has to be interpreted, but that is also the appeal: an unrealized design becomes easier to imagine at human scale.</p>
<p>A <a href="https://x.com/i/status/2096241698925916633">Geobukseon turtle-ship demonstration</a> connects a ship’s interior to a cinematic naval encounter inspired by Yi’s campaigns. Moving from the machinery to the action helps explain how the vessel was intended to function, although the film’s historical accuracy has not been established.</p>
<p>These examples suggest opportunities for museums, teachers, and anyone explaining something that happened in a place. Perspective carries information: the visitor can inspect a relationship that a fixed illustration has to choose for them.</p>
<section class="demo-gallery" aria-label="More examples: History You Can Walk Into"><div class="gallery-toolbar"><span>More to explore · select an image to enlarge</span><div><button type="button" data-gallery="demo-gallery-1" data-step="-1" aria-label="Previous images in History You Can Walk Into">←</button><button type="button" data-gallery="demo-gallery-1" data-step="1" aria-label="Next images in History You Can Walk Into">→</button></div></div><div class="gallery-track" id="demo-gallery-1" tabindex="0" aria-label="Scrollable image gallery"><figure class="figure"><a class="demo-enlarge" href="images/alexandria.png" data-caption="Alexandria — Ethan Mollick · city and reading collection" aria-label="Enlarge Alexandria"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/alexandria.png" loading="lazy" alt="Alexandria: Ethan Mollick · city and reading collection" class="figure-img"></a><figcaption><a href="https://alexandria-mouseion.netlify.app/">Alexandria</a><span>Ethan Mollick · city and reading collection</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/cenotaph.png" data-caption="Newton’s cenotaph — Ethan Mollick · unbuilt architecture" aria-label="Enlarge Newton’s cenotaph"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/cenotaph.png" loading="lazy" alt="Newton’s cenotaph: Ethan Mollick · unbuilt architecture" class="figure-img"></a><figcaption><a href="https://x.com/emollick/status/2096270461122347131">Newton’s cenotaph</a><span>Ethan Mollick · unbuilt architecture</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/turtle.png" data-caption="Turtle ship — Ship interior and naval reconstruction" aria-label="Enlarge Turtle ship"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/turtle.png" loading="lazy" alt="Turtle ship: Ship interior and naval reconstruction" class="figure-img"></a><figcaption><a href="https://x.com/i/status/2096241698925916633">Turtle ship</a><span>Ship interior and naval reconstruction</span></figcaption></figure></div></section>
</section>
<section id="worlds-visualizations-and-things-taken-apart" class="level2">
<h2 class="anchored" data-anchor-id="worlds-visualizations-and-things-taken-apart">Worlds, Visualizations, and Things Taken Apart</h2>
<p>Matt Shumer’s <a href="https://x.com/mattshumer_/status/2095609734845927525">Manhattan project</a> turns a recognizable city into a drivable environment, with buildings and traffic giving it a street-level sense of scale. His <a href="https://somethingbig.ai/a">account of the work</a> describes roughly a week of construction in the Unreal game engine, with a coordinating agent directing other agents, existing assets, and substantial token consumption. The city is unfinished, but the sustained construction is impressive on its own terms.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/manhattan.png" class="img-fluid figure-img" alt="An orange sports car on a detailed Manhattan street, with buildings and traffic." width="760"></p>
<figcaption>Street-level Manhattan in Matt Shumer’s Unreal demonstration. Frame from the creator’s video.</figcaption>
</figure>
</div>
<p><a href="https://developers.openai.com/blog/how-to-build-games-with-astra">Void Explorer’s development account</a> follows the engineering behind a continuous journey from space to planetary surfaces. Moving between those scales while keeping the terrain, motion, and rendering coherent is a substantial problem. The account exposes the design decisions and corrections that a short clip leaves out.</p>
<p>Peter Gostev’s <a href="https://van-goghs-town.surge.sh/">Van Gogh’s Town</a> brings six paintings into a walkable environment, carrying their visual vocabulary through a shared space. Mollick’s <a href="https://x.com/emollick/status/2095673885605630429">ABYSSAL</a> adds procedural marine behavior to underwater exploration, giving the surroundings activity of their own.</p>
<p>A <a href="https://x.com/yiyangleex/status/2096290966550544893">Shanghai Bund reconstruction</a> starts from one photograph and passes through Blender, a 3D creation tool, and the Godot game engine. A flat reference becomes somewhere you can move around, with the inevitable qualification that unseen detail has to be invented.</p>
<p>The <a href="https://x.com/ashebytes/status/2096221988763173186">male-anatomy demonstration by <span class="citation" data-cites="ashebytes">@ashebytes</span></a> separates the body into what the creator describes as 2,234 modeled pieces. An exploded view reveals relationships that a surface image hides, letting a viewer move between the whole and its components. Anatomical accuracy still needs expert checking, but the interaction has an obvious use: take a complicated structure apart, inspect its organization, then put it back together.</p>
<p>The same approach could help explain an engine, a building, or an instrument. Getting the relationships right determines whether it teaches something useful.</p>
<section class="demo-gallery" aria-label="More examples: Worlds, Visualizations, and Things Taken Apart"><div class="gallery-toolbar"><span>More to explore · select an image to enlarge</span><div><button type="button" data-gallery="demo-gallery-2" data-step="-1" aria-label="Previous images in Worlds, Visualizations, and Things Taken Apart">←</button><button type="button" data-gallery="demo-gallery-2" data-step="1" aria-label="Next images in Worlds, Visualizations, and Things Taken Apart">→</button></div></div><div class="gallery-track" id="demo-gallery-2" tabindex="0" aria-label="Scrollable image gallery"><figure class="figure"><a class="demo-enlarge" href="images/vangogh.png" data-caption="Van Gogh’s Town — Peter Gostev · a walkable painting" aria-label="Enlarge Van Gogh’s Town"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/vangogh.png" loading="lazy" alt="Van Gogh’s Town: Peter Gostev · a walkable painting" class="figure-img"></a><figcaption><a href="https://van-goghs-town.surge.sh/">Van Gogh’s Town</a><span>Peter Gostev · a walkable painting</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/abyssal.png" data-caption="ABYSSAL — Ethan Mollick · underwater environment" aria-label="Enlarge ABYSSAL"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/abyssal.png" loading="lazy" alt="ABYSSAL: Ethan Mollick · underwater environment" class="figure-img"></a><figcaption><a href="https://x.com/emollick/status/2095673885605630429">ABYSSAL</a><span>Ethan Mollick · underwater environment</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/shanghai.png" data-caption="Shanghai Bund — @yiyangleex · photograph to world" aria-label="Enlarge Shanghai Bund"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/shanghai.png" loading="lazy" alt="Shanghai Bund: @yiyangleex · photograph to world" class="figure-img"></a><figcaption><a href="https://x.com/yiyangleex/status/2096290966550544893">Shanghai Bund</a><span>@yiyangleex · photograph to world</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/anatomy.png" data-caption="Exploded anatomy — @ashebytes · body and components" aria-label="Enlarge Exploded anatomy"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/anatomy.png" loading="lazy" alt="Exploded anatomy: @ashebytes · body and components" class="figure-img"></a><figcaption><a href="https://x.com/ashebytes/status/2096221988763173186">Exploded anatomy</a><span>@ashebytes · body and components</span></figcaption></figure></div></section>
</section>
<section id="cad-for-real-world-design" class="level2">
<h2 class="anchored" data-anchor-id="cad-for-real-world-design">CAD for Real-World Design</h2>
<p>The <a href="https://x.com/Alpha10six/status/2096261751389978640">Onshape rover from <span class="citation" data-cites="Alpha10six">@Alpha10six</span></a> prompted a closer look at CAD. The creator describes dictating revisions while Codex works through a backend connector it built. He explicitly says that he controls the mouse and model views. This is a shared design workflow with a fairly clear division of labor.</p>
<p>The revisions are practical: change the camera bracket, move the Jetson compute module so its ports remain accessible, and add ventilation. The video shows the assembly and the relationships that position its parts, alongside a correction to bracket orientation. This is where the rover gets interesting to me. A real component has ports you need to reach, and a mounting bracket can be beautifully modeled while facing the wrong way.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/rover.png" class="img-fluid figure-img" alt="Onshape rover assembly beside the agent conversation, showing cameras, sensors, and stacked chassis plates." width="760"></p>
<figcaption>A requested bracket revision alongside the Onshape rover assembly. Screenshot from <span class="citation" data-cites="Alpha10six">@Alpha10six</span>’s demonstration; the creator identifies the human’s control of the view and Codex’s backend editing role.</figcaption>
</figure>
</div>
<p>Parametric modeling deserves its own distinction here. A useful model contains dimensions and relationships that let a change propagate sensibly. Making something that looks like a robot is one accomplishment. Preserving its design intent when a sensor gets wider is a further requirement. The visible rover workflow provides evidence of assembly editing, but without the native document I cannot establish that its constraints and dependent features survive arbitrary revisions.</p>
<p>An <a href="https://www.reddit.com/r/codex/comments/1w7rvgr/astra_just_built_my_sscale_model_train_in_onshape/">S-scale model-train project</a> adapts an NS6400 locomotive body to an existing GP7 chassis. Its owner reports building geometry with Onshape’s FeatureScript language and iterating on snap-fits, lighting, printability, and a small fit-test piece. The chassis already exists, so the new body has to fit something outside the model.</p>
<p>Adam’s <a href="https://x.com/adamdotnew/status/2096053889141489669">Aurora TF-01 cutaway turbofan</a> makes an engine’s internal arrangement and motion understandable. The footage shows 140 assembly instances, relationships between parts, and animation controls. It establishes more than a beauty render, although the native design would be needed to test how well it tolerates a dimensional change.</p>
<p>The <a href="https://x.com/MakerMatters/status/2096262183281692918">SO-101 arm</a> exposes an assembly and mechanism controls in WebCAD, making the relationships between moving parts available to inspect. A <a href="https://x.com/heecheee/status/2096179696245629412">FreeCAD scooter redesign</a> brings the workflow into an open-source CAD application, giving people a way to explore agent-assisted mechanical design without a commercial CAD platform.</p>
<p>Fabrication begins to close the loop. The creator of a <a href="https://x.com/mr_r0b0t/status/2096266507839824353">dual-GB10 enclosure</a> reports printing test coupons for a fourth iteration. A coupon tests a small physical question before committing to the whole part. It does not establish a completed enclosure or adequate cooling, but it is exactly the sort of feedback that can make an agent-assisted design process useful.</p>
<section class="demo-gallery" aria-label="More examples: CAD for Real-World Design"><div class="gallery-toolbar"><span>More to explore · select an image to enlarge</span><div><button type="button" data-gallery="demo-gallery-3" data-step="-1" aria-label="Previous images in CAD for Real-World Design">←</button><button type="button" data-gallery="demo-gallery-3" data-step="1" aria-label="Next images in CAD for Real-World Design">→</button></div></div><div class="gallery-track" id="demo-gallery-3" tabindex="0" aria-label="Scrollable image gallery"><figure class="figure"><a class="demo-enlarge" href="images/turbofan.png" data-caption="Aurora TF-01 — Adam · cutaway turbofan assembly" aria-label="Enlarge Aurora TF-01"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/turbofan.png" loading="lazy" alt="Aurora TF-01: Adam · cutaway turbofan assembly" class="figure-img"></a><figcaption><a href="https://x.com/adamdotnew/status/2096053889141489669">Aurora TF-01</a><span>Adam · cutaway turbofan assembly</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/so101.png" data-caption="SO-101 arm — MakerMatters · articulated assembly" aria-label="Enlarge SO-101 arm"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/so101.png" loading="lazy" alt="SO-101 arm: MakerMatters · articulated assembly" class="figure-img"></a><figcaption><a href="https://x.com/MakerMatters/status/2096262183281692918">SO-101 arm</a><span>MakerMatters · articulated assembly</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/scooter.png" data-caption="FreeCAD scooter — @heecheee · design comparison" aria-label="Enlarge FreeCAD scooter"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/scooter.png" loading="lazy" alt="FreeCAD scooter: @heecheee · design comparison" class="figure-img"></a><figcaption><a href="https://x.com/heecheee/status/2096179696245629412">FreeCAD scooter</a><span>@heecheee · design comparison</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/enclosure.png" data-caption="Dual-GB10 enclosure — @mr_r0b0t · fabrication workflow" aria-label="Enlarge Dual-GB10 enclosure"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/enclosure.png" loading="lazy" alt="Dual-GB10 enclosure: @mr_r0b0t · fabrication workflow" class="figure-img"></a><figcaption><a href="https://x.com/mr_r0b0t/status/2096266507839824353">Dual-GB10 enclosure</a><span>@mr_r0b0t · fabrication workflow</span></figcaption></figure></div></section>
</section>
<section id="games-with-different-ambitions" class="level2">
<h2 class="anchored" data-anchor-id="games-with-different-ambitions">Games With Different Ambitions</h2>
<p>Peter Gostev’s <a href="https://x.com/petergostev/status/2096013280519016608">Gogh Strike</a> gives painters weapons and rival crews in a painted town. The concept is funny, and the art direction carries through the characters, environment, and interface. There are timed matches and scoring, so here the interaction is organized around a game you can win or lose.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/gogh.png" class="img-fluid figure-img" alt="First-person view down a Gogh Strike street, with painterly patches of blue and yellow across buildings and pavement." width="760"></p>
<figcaption>The painted buildings, broken-color street, and blue-and-yellow palette of Gogh Strike. Frame from Peter Gostev’s gameplay demonstration.</figcaption>
</figure>
</div>
<p>The <a href="https://github.com/petergpt/gogh-strike">Gogh Strike repository</a> describes play against bots and explicitly says online multiplayer is absent. That matters when interpreting the creator’s team-play description. The source also makes the implementation available to inspect, and you can <a href="https://gogh-strike.surge.sh/">try the game yourself</a>.</p>
<p>Meng To’s <a href="https://x.com/MengTo/status/2096213835460084184">Thornwake</a> brings a different kind of polish. Its forest, stonework, armor, inventory, and ornamental controls share a coherent visual style, while the footage shows quests, combat, health, stamina, and a boss encounter. Meng says the rocks, trees, monuments, and characters are procedural code, with GPT Image 2 supplying interface artwork. He also describes having Astra recreate the scenes in Blender and make a trailer, carrying one project from an interactive game into cinematic presentation. He kept pushing for better details, an instructive example of a person supplying standards while the agent does substantial production work.</p>
<div class="quarto-layout-panel" data-layout-ncol="2">
<div class="quarto-layout-row">
<div class="quarto-layout-cell" style="flex-basis: 50.0%;justify-content: flex-start;">
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/thornwake-game.png" class="img-fluid figure-img" alt="Thornwake gameplay showing a wooded stone path, character, quest, and ornamental action controls."></p>
<figcaption>Thornwake gameplay: a forest path and an integrated game interface. Frame from Meng To’s demonstration.</figcaption>
</figure>
</div>
</div>
<div class="quarto-layout-cell" style="flex-basis: 50.0%;justify-content: flex-start;">
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/thornwake-trailer.png" class="img-fluid figure-img" alt="Armored Thornwake character holding a sword and shield in a forest scene from the trailer."></p>
<figcaption>The same project’s cinematic presentation: an armored character in the Blender trailer. Frame from Meng To’s demonstration.</figcaption>
</figure>
</div>
</div>
</div>
</div>
<p>Mollick’s <a href="https://zork-underground-empire.netlify.app/">Zork in 3D</a> translates a text adventure into a spatial experience, with proximity guidance, inventory, a journal, and treasure tracking. A place once described in words becomes somewhere to navigate. How well all the original puzzles survive that translation is a question for a longer playthrough.</p>
<p><a href="https://x.com/AIDREAMMAN/status/2096284215126229146">VECTOR RUSH</a>, an antigravity racer built with Godot and Blender, supplies a <a href="https://github.com/ToBeWin/vector-rush">repository</a> for people who want to inspect how its fast-moving track, vehicle, and controls fit together. An <a href="https://x.com/SIGKITTEN/status/2095647833797824735">FTL-like demonstration</a> claims that the agent plays its own game, which could let it discover problems in the rules it implemented and then revise them.</p>
<p>A <a href="https://x.com/LumenMythTech/status/2096292333318717859">Game Boy ROM</a> targets hardware with little memory and a tiny display. A <a href="https://x.com/suganthan/status/2096286445434708416">parent’s account of making a racing game with a nine-year-old</a> raises a different possibility: more people may be able to participate in making games, with guidance.</p>
<p>Game feel, balance, performance, and sustained enjoyment still need players. The examples already span art direction, adaptation, self-testing, legacy hardware, and a change in who gets to make something.</p>
<section class="demo-gallery" aria-label="More examples: Games With Different Ambitions"><div class="gallery-toolbar"><span>More to explore · select an image to enlarge</span><div><button type="button" data-gallery="demo-gallery-4" data-step="-1" aria-label="Previous images in Games With Different Ambitions">←</button><button type="button" data-gallery="demo-gallery-4" data-step="1" aria-label="Next images in Games With Different Ambitions">→</button></div></div><div class="gallery-track" id="demo-gallery-4" tabindex="0" aria-label="Scrollable image gallery"><figure class="figure"><a class="demo-enlarge" href="images/zork.png" data-caption="Zork in 3D — Ethan Mollick · spatial adventure" aria-label="Enlarge Zork in 3D"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/zork.png" loading="lazy" alt="Zork in 3D: Ethan Mollick · spatial adventure" class="figure-img"></a><figcaption><a href="https://zork-underground-empire.netlify.app/">Zork in 3D</a><span>Ethan Mollick · spatial adventure</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/vector.png" data-caption="VECTOR RUSH — @AIDREAMMAN · antigravity racing" aria-label="Enlarge VECTOR RUSH"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/vector.png" loading="lazy" alt="VECTOR RUSH: @AIDREAMMAN · antigravity racing" class="figure-img"></a><figcaption><a href="https://x.com/AIDREAMMAN/status/2096284215126229146">VECTOR RUSH</a><span>@AIDREAMMAN · antigravity racing</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/ftl.png" data-caption="FTL-like game — @SIGKITTEN · agent self-play" aria-label="Enlarge FTL-like game"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/ftl.png" loading="lazy" alt="FTL-like game: @SIGKITTEN · agent self-play" class="figure-img"></a><figcaption><a href="https://x.com/SIGKITTEN/status/2095647833797824735">FTL-like game</a><span>@SIGKITTEN · agent self-play</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/gameboy.png" data-caption="Lumen Echo — LumenMythTech · Game Boy ROM" aria-label="Enlarge Lumen Echo"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/gameboy.png" loading="lazy" alt="Lumen Echo: LumenMythTech · Game Boy ROM" class="figure-img"></a><figcaption><a href="https://x.com/LumenMythTech/status/2096292333318717859">Lumen Echo</a><span>LumenMythTech · Game Boy ROM</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/child-racer.png" data-caption="Making a racing game — @suganthan · parent-guided creation" aria-label="Enlarge Making a racing game"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/child-racer.png" loading="lazy" alt="Making a racing game: @suganthan · parent-guided creation" class="figure-img"></a><figcaption><a href="https://x.com/suganthan/status/2096286445434708416">Making a racing game</a><span>@suganthan · parent-guided creation</span></figcaption></figure></div></section>
</section>
<section id="science-simulation-and-checkable-reasoning" class="level2">
<h2 class="anchored" data-anchor-id="science-simulation-and-checkable-reasoning">Science, Simulation, and Checkable Reasoning</h2>
<p>Mehran <a href="https://x.com/mehrantsi/status/2096282317148885453">brought a fly simulation into the browser</a>, connecting neural activity to movement through a simulated room. The interface puts the animal, its surroundings, and its neural and sensory readouts together, making a complicated research model easier to inspect and share.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/fly.png" class="img-fluid figure-img" alt="A simulated fly beside food on a wooden surface, with neural activity and sensory panels." width="760"></p>
<figcaption>Mehran’s fly simulation connects a rendered environment with neural and sensory readouts. Frame from the creator’s video.</figcaption>
</figure>
</div>
<p>The creator clearly separates earlier work assisted by Sol, Astra’s predecessor, from Astra’s newer contribution: integrating brain and nerve-cord data and moving the simulation into the browser. That makes the contribution easier to understand. The demonstration is evidence of scientific-software integration; its biological fidelity needs comparison with experimental results.</p>
<p>An <a href="https://x.com/i/status/2096225621303042258">orbital-rendezvous simulation</a> tackles bringing spacecraft together under guidance and docking constraints. Its explicit success criteria make the motion something to evaluate. A <a href="https://x.com/achepta_tm/status/2096258619574513880">Trackmania physics reconstruction</a> aims to reproduce driving behavior in a browser, creating a way to experiment with the physics behind a familiar game. Both invite comparison with an external behavioral standard.</p>
<p><a href="https://x.com/konstantinsaifo/status/2096260471020011981">Jet Factory V2</a> depicts machine cycles and a returning tug, helping a viewer follow how production and transport fit together. A <a href="https://x.com/tsuname/status/2096283873214956016">cell-motility sandbox</a> exposes stresses and gradients as controls, suggesting a way to explore how changing conditions changes movement.</p>
<p>Shumer’s <a href="https://x.com/mattshumer_/status/2095596175705399482">inhabited civilization</a> adds agent-driven inhabitants, creating an environment whose interest includes what its occupants do. These are useful forms for exploring a process, but their apparent behavior does not establish a validated factory, cell, or social model.</p>
<p>Mathematics offers a different kind of result. In <a href="https://epoch.ai/latest/announcing-frontiermath-erdos">Epoch’s FrontierMath Erdős evaluation</a>, Astra produced verified solutions to two of 68 open problems under the benchmark protocol. Additional attempts brought the unique total to five, with larger budgets and changed agent setups. Those are different results and should stay separate.</p>
<p>The proofs are checked in Lean, a system that lets a computer verify a formal mathematical argument, provided the problem has been expressed correctly. The <a href="https://github.com/epoch-research/LeanOpenProblems">proof repository</a> exposes the work. A checked solution to an open problem gives us firmer evidence of reasoning than an explanation that merely sounds convincing, while still covering only a narrow part of mathematics.</p>
<p>For a more approachable reasoning example, <a href="https://quesma.com/benchmarks/babaisbench/">BabaIsBench</a> tests solving levels of <em>Baba Is You</em>, where rearranging words changes the game’s rules. Its reported 15 Lake-level solutions concern reasoning through those changing rules. The text interface and different agent setups matter when comparing systems.</p>
<section class="demo-gallery" aria-label="More examples: Science, Simulation, and Checkable Reasoning"><div class="gallery-toolbar"><span>More to explore · select an image to enlarge</span><div><button type="button" data-gallery="demo-gallery-5" data-step="-1" aria-label="Previous images in Science, Simulation, and Checkable Reasoning">←</button><button type="button" data-gallery="demo-gallery-5" data-step="1" aria-label="Next images in Science, Simulation, and Checkable Reasoning">→</button></div></div><div class="gallery-track" id="demo-gallery-5" tabindex="0" aria-label="Scrollable image gallery"><figure class="figure"><a class="demo-enlarge" href="images/orbital.png" data-caption="Orbital rendezvous — Guidance and docking simulation" aria-label="Enlarge Orbital rendezvous"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/orbital.png" loading="lazy" alt="Orbital rendezvous: Guidance and docking simulation" class="figure-img"></a><figcaption><a href="https://x.com/i/status/2096225621303042258">Orbital rendezvous</a><span>Guidance and docking simulation</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/trackmania.png" data-caption="Trackmania physics — @achepta_tm · behavioral reconstruction" aria-label="Enlarge Trackmania physics"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/trackmania.png" loading="lazy" alt="Trackmania physics: @achepta_tm · behavioral reconstruction" class="figure-img"></a><figcaption><a href="https://x.com/achepta_tm/status/2096258619574513880">Trackmania physics</a><span>@achepta_tm · behavioral reconstruction</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/factory.png" data-caption="Jet Factory V2 — @konstantinsaifo · production flow" aria-label="Enlarge Jet Factory V2"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/factory.png" loading="lazy" alt="Jet Factory V2: @konstantinsaifo · production flow" class="figure-img"></a><figcaption><a href="https://x.com/konstantinsaifo/status/2096260471020011981">Jet Factory V2</a><span>@konstantinsaifo · production flow</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/cell.png" data-caption="Cell motility — @tsuname · an interactive sandbox" aria-label="Enlarge Cell motility"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/cell.png" loading="lazy" alt="Cell motility: @tsuname · an interactive sandbox" class="figure-img"></a><figcaption><a href="https://x.com/tsuname/status/2096283873214956016">Cell motility</a><span>@tsuname · an interactive sandbox</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/civilization.png" data-caption="Inhabited civilization — Matt Shumer · agent-driven inhabitants" aria-label="Enlarge Inhabited civilization"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/civilization.png" loading="lazy" alt="Inhabited civilization: Matt Shumer · agent-driven inhabitants" class="figure-img"></a><figcaption><a href="https://x.com/mattshumer_/status/2095596175705399482">Inhabited civilization</a><span>Matt Shumer · agent-driven inhabitants</span></figcaption></figure></div></section>
</section>
<section id="music-film-and-explanations-across-media" class="level2">
<h2 class="anchored" data-anchor-id="music-film-and-explanations-across-media">Music, Film, and Explanations Across Media</h2>
<p>Pietro Schirano’s <a href="https://x.com/skirano/status/2095595942544089525">Ableton demonstration</a> describes creating synthesized instruments, musical parts, and an arrangement through a connection to the music-production application. The result remains in a project where someone can change individual notes, instruments, or sections. That continued control is a large part of the appeal. <a href="https://x.com/skirano/status/2095595942544089525">Listen to the track</a> and judge the musical result for yourself.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/ableton.png" class="img-fluid figure-img" alt="Ableton arrangement view with colored instrument tracks, named song sections, and a MIDI note editor." width="760"></p>
<figcaption>Instrument tracks, arranged sections, and editable notes in Pietro Schirano’s Ableton demonstration. Frame from the <a href="https://x.com/skirano/status/2095595942544089525">original music video</a>.</figcaption>
</figure>
</div>
<p>A <a href="https://x.com/higgsfield_ai/status/2096292350180163648">Higgsfield piano demonstration</a> combines a composed waltz with a 3D pianist whose fingers are claimed to follow the notes. Synchronization gives this an additional constraint: the animation has to correspond to the music, rather than simply accompany it.</p>
<p>In <a href="https://x.com/SkyeSharkie/status/2096276401204936939">A Room Made of Replies</a>, a robotic arm and a furnished scene give the film a concrete physical setting. The creator also describes adapting the production tools, extending the agent’s role into how the film gets made.</p>
<p>An <a href="https://x.com/lepadphone/status/2096285071192035406">INCEPTION title sequence</a> uses architectural imagery and moving typography to pursue a recognizable cinematic style. Its creator explicitly excludes the music from Astra’s contribution. <a href="https://x.com/duncantrussell/status/2096003511104508411">Duncan Trussell’s Backrooms film</a> works through the uneasy atmosphere of fluorescent rooms and an unsettling figure, where staging and mood matter as much as individual objects.</p>
<p>Thornwake’s <a href="https://x.com/MengTo/status/2096213835460084184">game-to-Blender trailer workflow</a> belongs here too: environments and characters developed for play become material for a cinematic presentation. The paired images above show the two forms.</p>
<p>Immunologist Derya Unutmaz’s <a href="https://x.com/DeryaTR_/status/2095659170661904804">T-cell explainer</a> combines generated imagery, narration, and Remotion, a tool for making video with code. An expert can direct an audiovisual explanation without having to perform every production step. Subject judgment remains essential, especially when attractive imagery can make an inaccurate explanation feel authoritative.</p>
<p>The historical exhibits and anatomy model offer other teaching forms. Sometimes a narrated sequence is appropriate. Sometimes readers need to stop, rotate, separate, compare, or change a parameter. Having more of those options within reach gives an instructor more ways to explain an idea.</p>
<section class="demo-gallery" aria-label="More examples: Music, Film, and Explanations Across Media"><div class="gallery-toolbar"><span>More to explore · select an image to enlarge</span><div><button type="button" data-gallery="demo-gallery-6" data-step="-1" aria-label="Previous images in Music, Film, and Explanations Across Media">←</button><button type="button" data-gallery="demo-gallery-6" data-step="1" aria-label="Next images in Music, Film, and Explanations Across Media">→</button></div></div><div class="gallery-track" id="demo-gallery-6" tabindex="0" aria-label="Scrollable image gallery"><figure class="figure"><a class="demo-enlarge" href="images/piano.png" data-caption="Piano and pianist — Higgsfield · music and finger animation" aria-label="Enlarge Piano and pianist"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/piano.png" loading="lazy" alt="Piano and pianist: Higgsfield · music and finger animation" class="figure-img"></a><figcaption><a href="https://x.com/higgsfield_ai/status/2096292350180163648">Piano and pianist</a><span>Higgsfield · music and finger animation</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/replies-film.png" data-caption="A Room Made of Replies — Skye Sharkie · film and production tools" aria-label="Enlarge A Room Made of Replies"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/replies-film.png" loading="lazy" alt="A Room Made of Replies: Skye Sharkie · film and production tools" class="figure-img"></a><figcaption><a href="https://x.com/SkyeSharkie/status/2096276401204936939">A Room Made of Replies</a><span>Skye Sharkie · film and production tools</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/inception.png" data-caption="INCEPTION titles — @lepadphone · motion design" aria-label="Enlarge INCEPTION titles"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/inception.png" loading="lazy" alt="INCEPTION titles: @lepadphone · motion design" class="figure-img"></a><figcaption><a href="https://x.com/lepadphone/status/2096285071192035406">INCEPTION titles</a><span>@lepadphone · motion design</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/backrooms.png" data-caption="Backrooms — Duncan Trussell · atmospheric film" aria-label="Enlarge Backrooms"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/backrooms.png" loading="lazy" alt="Backrooms: Duncan Trussell · atmospheric film" class="figure-img"></a><figcaption><a href="https://x.com/duncantrussell/status/2096003511104508411">Backrooms</a><span>Duncan Trussell · atmospheric film</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/tcell.png" data-caption="T-cell explainer — Derya Unutmaz · audiovisual teaching" aria-label="Enlarge T-cell explainer"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/tcell.png" loading="lazy" alt="T-cell explainer: Derya Unutmaz · audiovisual teaching" class="figure-img"></a><figcaption><a href="https://x.com/DeryaTR_/status/2095659170661904804">T-cell explainer</a><span>Derya Unutmaz · audiovisual teaching</span></figcaption></figure></div></section>
</section>
<section id="interfaces-and-personal-tools" class="level2">
<h2 class="anchored" data-anchor-id="interfaces-and-personal-tools">Interfaces and Personal Tools</h2>
<p><a href="https://x.com/outscape/status/2096286659566309605">Parallax Desk</a> is a spatial desktop reported to respond to the viewer’s head position: lean to one side and nearby windows move differently from distant ones, revealing what is behind them. You can <a href="https://parallax-desk.uhgall.chatgpt.site">open the workspace</a> to try that unusual approach to overlapping windows.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/parallax.png" class="img-fluid figure-img" alt="Overlapping notes, files, and code windows in Parallax Desk, with depth controls." width="760"></p>
<figcaption>Parallax Desk’s overlapping workspace. Static view with the camera onboarding overlay dismissed for this capture; head tracking was not enabled.</figcaption>
</figure>
</div>
<p>A <a href="https://x.com/skirano/status/2095648379455861054">3D iPod-shaped application</a> turns Codex threads into something browsable through a familiar music-player interface. Schirano’s <a href="https://x.com/skirano/status/2095595938534351231">video-to-code demonstration</a> puts a reference animation beside a working card-customization interface. A designer can communicate an interaction by showing it, then get code to refine.</p>
<p>A <a href="https://x.com/velvet_shark/status/2096284077150114303">portrait painted into 9,216 Google Sheets cells</a> is gloriously unnecessary, but it shows an agent coordinating thousands of edits inside an existing application. It tells us little about spreadsheet analysis, yet makes the breadth of computer-based work immediately visible.</p>
<p>Mollick’s <a href="https://x.com/emollick/status/2095606622055760159">living wiki</a> is quieter and, for my purposes, especially interesting. He describes converting personal correspondence, calendar material, and writing into a maintained knowledge resource with recurring briefings. The artifact is private, so the public evidence is limited. Still, the idea connects directly to a problem I care about: a personal archive should help recover and use information, not merely accumulate it. Source links and the ability to rebuild summaries would be essential to making such a system trustworthy.</p>
<p>A reported <a href="https://x.com/jrzscodes/status/2096284357610610836">Hazumi News database migration</a> moves an existing application from Supabase to Cloudflare D1, two database services. The useful challenge is carrying an established system onto different infrastructure while preserving what users depend on.</p>
<p>Every’s <a href="https://every.to/benchmarks/senior-engineer-benchmark">production-rewrite evaluation</a> provides a more demanding check on software maintenance. Astra’s reported result trails the human reference implementations, with unequal follow-up conditions complicating comparisons between models. Building an appealing new interface and safely changing an established system ask different things of an agent.</p>
<section class="demo-gallery" aria-label="More examples: Interfaces and Personal Tools"><div class="gallery-toolbar"><span>More to explore · select an image to enlarge</span><div><button type="button" data-gallery="demo-gallery-7" data-step="-1" aria-label="Previous images in Interfaces and Personal Tools">←</button><button type="button" data-gallery="demo-gallery-7" data-step="1" aria-label="Next images in Interfaces and Personal Tools">→</button></div></div><div class="gallery-track" id="demo-gallery-7" tabindex="0" aria-label="Scrollable image gallery"><figure class="figure"><a class="demo-enlarge" href="images/ipod.png" data-caption="Codex in an iPod — Pietro Schirano · spatial interface" aria-label="Enlarge Codex in an iPod"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/ipod.png" loading="lazy" alt="Codex in an iPod: Pietro Schirano · spatial interface" class="figure-img"></a><figcaption><a href="https://x.com/skirano/status/2095648379455861054">Codex in an iPod</a><span>Pietro Schirano · spatial interface</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/sheets.png" data-caption="Google Sheets portrait — @velvet_shark · 9,216 painted cells" aria-label="Enlarge Google Sheets portrait"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/sheets.png" loading="lazy" alt="Google Sheets portrait: @velvet_shark · 9,216 painted cells" class="figure-img"></a><figcaption><a href="https://x.com/velvet_shark/status/2096284077150114303">Google Sheets portrait</a><span>@velvet_shark · 9,216 painted cells</span></figcaption></figure><figure class="figure"><a class="demo-enlarge" href="images/video-interface.png" data-caption="Video to interactive code — Pietro Schirano · reference to interface" aria-label="Enlarge Video to interactive code"><img src="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/images/video-interface.png" loading="lazy" alt="Video to interactive code: Pietro Schirano · reference to interface" class="figure-img"></a><figcaption><a href="https://x.com/skirano/status/2095595938534351231">Video to interactive code</a><span>Pietro Schirano · reference to interface</span></figcaption></figure></div></section>
</section>
<section id="what-i-take-from-all-this" class="level2">
<h2 class="anchored" data-anchor-id="what-i-take-from-all-this">What I Take From All This</h2>
<p>Astra makes me more willing to attempt a project that crosses several tools or disciplines. The demonstrations show why: an agent can help carry a design into CAD, a world into a game engine, or an arrangement into a music application. Existing software, assets, and datasets supply substantial capabilities. Using them effectively is part of the achievement, and it helps explain what another person would need to reproduce the work.</p>
<p>I am especially interested in projects that leave something editable. The next request can build on the previous result: move the compute module, expose the interior, or change an instrument. That gives the person and the agent a concrete place to continue, with progress that can be inspected along the way.</p>
<p>Launch posts rarely disclose failed attempts, total spend, human interventions, or maintenance history. A one-prompt claim can conceal a long chain of work, and a public feed favors projects that look good in a short video. These examples reveal possibilities much more readily than typical cost or reliability.</p>
<p>There are already useful counterexamples. <a href="https://x.com/VictorTaelin/status/2096273196412498057">Victor Taelin’s allocator account</a> describes difficulty turning a diagnosis into a solution under real constraints. <a href="https://x.com/emollick/status/2095717185200988439">Mollick’s research-taste experiment</a> describes technically competent research choices that were not especially interesting. Execution and judgment both matter, and strength in one does not guarantee the other.</p>
<p>My response is to raise the ambition of what I try while keeping verification attached to the work. Change a CAD dimension and inspect what breaks. Follow a wiki summary back to its source. Compare a simulation with a known case, or play beyond a game’s opening screen. The appropriate check depends on what the artifact is supposed to do.</p>
<p>Open <a href="https://waterloo-guard-meets-the-line.vercel.app/">Waterloo</a> and change perspective, or inspect <a href="https://x.com/Alpha10six/status/2096261751389978640">the rover’s revision request</a>. Choose an example close to something you understand well enough to judge, and consider what you would ask it to do next.</p>
<p>For more examples, browse the <a href="../../posts/2026-09-05-astra-demonstration-catalog/index.html">full demonstration catalog</a>, a summary table of all 82 demonstrations, experiments, and evaluations.</p>
<hr>
<p><em>Sources and scope: This article draws on a Codex-assisted survey of 72 candidates from 504 unique captured posts, followed by targeted searches, including CAD, anatomy, and Thornwake. Selection emphasized breadth, evidence, difficulty, and practical interest. Some applications were opened and selected interactions checked; most claims about production, cost, completeness, and accuracy remain the creators’ accounts. This was not a controlled model comparison or a set of independently reproduced projects. The linked sources provide the fuller evidence, including benchmark protocols and qualifications. Images are application screenshots or frames from the attributed creators’ demonstrations. Capturing a frame does not independently validate the project.</em></p>


</section>

 ]]></description>
  <category>AI</category>
  <category>agents</category>
  <category>opinion</category>
  <guid>https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/</guid>
  <pubDate>Sat, 05 Sep 2026 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2026-09-05-astra-first-48-hours/waterloo.png" medium="image" type="image/png" height="148" width="144"/>
</item>
<item>
  <title>TIB (Today I Built): secretpath</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2026-06-18-tib-secretpath/</link>
  <description><![CDATA[ 





<p>I kept rebuilding the same little secret resolver.</p>
<p>The first version was not a package. It was just a helper tucked into whatever script needed it that week. Try 1Password first. If that fails, try an environment variable. Do not print the token. Do not write it to disk. Report enough provenance that I can see whether a command used <code>op</code> or an env var, but never report the value.</p>
<p>This grew out of the same habit I wrote about in <a href="../../posts/2026-02-09-til-1password-cli/index.html">1Password CLI for Developer Secrets</a>: keep the secret in the password manager, and let local tooling hold only the reference path and the runtime value.</p>
<p>That pattern showed up in enough local CLIs that the copies started to drift. Each one had the same basic shape, but slightly different names, error messages, and fallback behavior. Not broken, exactly, but ad hoc in the way local tooling gets when it grows from real use instead of a design doc.</p>
<p>So I pulled it out into a small package: <a href="https://pypi.org/project/secretpath/"><code>secretpath</code></a>.</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb1-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">uv</span> add secretpath</span></code></pre></div></div>
<p>Or, for the CLI:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb2" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb2-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">uvx</span> secretpath doctor</span></code></pre></div></div>
<p>The core idea is simple:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb3" style="background: #f1f3f5;"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb3-1"><span class="im" style="color: #00769E;
background-color: null;
font-style: inherit;">from</span> secretpath <span class="im" style="color: #00769E;
background-color: null;
font-style: inherit;">import</span> resolve_named_secret</span>
<span id="cb3-2"></span>
<span id="cb3-3">api_token <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> resolve_named_secret(<span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"service"</span>).value</span></code></pre></div></div>
<p>Config stores lookup metadata, not secrets:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb4" style="background: #f1f3f5;"><pre class="sourceCode toml code-with-copy"><code class="sourceCode toml"><span id="cb4-1"><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">[defaults]</span></span>
<span id="cb4-2"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">provider</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"auto"</span></span>
<span id="cb4-3"></span>
<span id="cb4-4"><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">[secrets.service]</span></span>
<span id="cb4-5"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">env_var</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"SERVICE_API_KEY"</span></span>
<span id="cb4-6"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">op_reference</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"op://Private/Service API/token"</span></span>
<span id="cb4-7"></span>
<span id="cb4-8"><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">[secrets.backup]</span></span>
<span id="cb4-9"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">env_var</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"BACKUP_API_KEY"</span></span>
<span id="cb4-10"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">op_reference</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"op://Private/Backup API/token"</span></span></code></pre></div></div>
<p>With that in <code>~/.config/secretpath/config.toml</code>, local tools can agree on names like <code>service</code> and <code>backup</code> without each project carrying its own 1Password wiring.</p>
<p>The CLI is mostly for checking and setup:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb5" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb5-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">sp</span> check service</span>
<span id="cb5-2"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">sp</span> list</span>
<span id="cb5-3"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">sp</span> doctor</span></code></pre></div></div>
<p><code>sp check</code> verifies that a secret resolves without printing it:</p>
<pre class="text"><code>Resolved service from 1password.</code></pre>
<p>If it falls back to an environment variable, the source includes the variable name:</p>
<pre class="text"><code>Resolved service from env:SERVICE_API_KEY.</code></pre>
<p>That source label has turned out to be useful. It is safe enough for logs and run records, and it answers the question I actually care about: where did this credential come from?</p>
<p>There is also a small <code>direnv</code> helper, which is a cleaner version of the project-local pattern from <a href="../../posts/2025-11-09-til-direnv/index.html">direnv for Project-Specific Secrets</a>:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb8" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb8-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">sp</span> direnv init service backup</span></code></pre></div></div>
<p>That writes a managed <code>.envrc</code> block:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb9" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb9-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># &gt;&gt;&gt; secretpath direnv &gt;&gt;&gt;</span></span>
<span id="cb9-2"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Generated by secretpath. Review before running: direnv allow</span></span>
<span id="cb9-3"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">watch_file</span> ~/.config/secretpath/config.toml</span>
<span id="cb9-4"></span>
<span id="cb9-5"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">export</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">SERVICE_API_KEY</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$(</span><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">op</span> read op://Private/Service API/token<span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">)</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span></span>
<span id="cb9-6"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">export</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">BACKUP_API_KEY</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$(</span><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">op</span> read op://Private/Backup API/token<span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">)</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span></span>
<span id="cb9-7"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># &lt;&lt;&lt; secretpath direnv &lt;&lt;&lt;</span></span></code></pre></div></div>
<p>This is intentionally not <code>sp</code> printing secrets. <code>secretpath</code> reads the config and writes the <code>op read</code> calls. <code>direnv</code> runs those calls when I enter the directory. 1Password remains the thing that actually releases the credential.</p>
<p>That boundary matters.</p>
<p><code>secretpath</code> is not a vault. It does not try to be an encrypted local cache. It does not store durable secrets. It does not add an audit log. 1Password already handles storage, unlock, rotation, and audit. Environment variables remain the fallback for CI, production, and cases where <code>op</code> is the wrong tool.</p>
<p>The package is deliberately small because the problem is small:</p>
<ul>
<li>resolve a named secret</li>
<li>prefer 1Password</li>
<li>fall back to env</li>
<li>cache inside the current Python process</li>
<li>never print or persist the value</li>
<li>make local setup less fiddly</li>
</ul>
<p>The source is on GitHub: <a href="https://github.com/olearydj/secretpath" class="uri">https://github.com/olearydj/secretpath</a></p>
<p>The package is on PyPI: <a href="https://pypi.org/project/secretpath/" class="uri">https://pypi.org/project/secretpath/</a></p>
<p>If nothing else, it is nice to delete three slightly different versions of the same helper.</p>



 ]]></description>
  <category>TIB</category>
  <category>python</category>
  <category>shell</category>
  <category>devops</category>
  <guid>https://antisimplistic.com/posts/2026-06-18-tib-secretpath/</guid>
  <pubDate>Thu, 18 Jun 2026 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2026-06-18-tib-secretpath/thumbnail.png" medium="image" type="image/png" height="81" width="144"/>
</item>
<item>
  <title>TIL: Inspect Codex Context with prompt-input</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2026-05-21-til-codex-debug-prompt-input/</link>
  <description><![CDATA[ 





<section id="the-problem" class="level2">
<h2 class="anchored" data-anchor-id="the-problem">The Problem</h2>
<p>I recently spent a few minutes trying to figure out whether Codex was reading a global <code>AGENTS.md</code> instruction. That debugging path was not very interesting by itself. The useful thing I learned was that Codex has a command for inspecting the exact prompt input it assembles before a session starts.</p>
<p>That is valuable beyond this one problem. When working with agentic coding tools, a lot of confusion comes from treating “context” as a vague cloud around the model. <code>codex debug prompt-input</code> makes that context concrete.</p>
</section>
<section id="the-command" class="level2">
<h2 class="anchored" data-anchor-id="the-command">The Command</h2>
<p>Run:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb1-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">codex</span> debug prompt-input <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"test context visibility"</span></span></code></pre></div></div>
<p>The command renders the model-visible prompt input as JSON. It shows the developer instructions, available tools and skills, loaded <code>AGENTS.md</code> content, environment context, and the prompt you supplied on the command line. It is not asking the model to solve the prompt. It is showing what Codex would put in front of the model.</p>
<p>That makes it useful for debugging, but also for learning. You can see how global and project instructions are combined, what metadata Codex adds, and which parts of your local environment are represented in the actual request.</p>
</section>
<section id="sanitized-output" class="level2">
<h2 class="anchored" data-anchor-id="sanitized-output">Sanitized Output</h2>
<p>Here is the shape of the output, with paths and private text removed:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb2" style="background: #f1f3f5;"><pre class="sourceCode json code-with-copy"><code class="sourceCode json"><span id="cb2-1"><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">[</span></span>
<span id="cb2-2">  <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">{</span></span>
<span id="cb2-3">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"type"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"message"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-4">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"role"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"developer"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-5">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"content"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">[</span></span>
<span id="cb2-6">      <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">{</span></span>
<span id="cb2-7">        <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"type"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"input_text"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-8">        <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"text"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"&lt;permissions instructions&gt;..."</span></span>
<span id="cb2-9">      <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">}</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-10">      <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">{</span></span>
<span id="cb2-11">        <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"type"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"input_text"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-12">        <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"text"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"&lt;skills_instructions&gt;..."</span></span>
<span id="cb2-13">      <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">}</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-14">      <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">{</span></span>
<span id="cb2-15">        <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"type"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"input_text"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-16">        <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"text"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"&lt;plugins_instructions&gt;..."</span></span>
<span id="cb2-17">      <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">}</span></span>
<span id="cb2-18">    <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">]</span></span>
<span id="cb2-19">  <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">}</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-20">  <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">{</span></span>
<span id="cb2-21">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"type"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"message"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-22">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"role"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"user"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-23">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"content"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">[</span></span>
<span id="cb2-24">      <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">{</span></span>
<span id="cb2-25">        <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"type"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"input_text"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-26">        <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"text"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"# AGENTS.md instructions for /path/to/project</span><span class="ch" style="color: #20794D;
background-color: null;
font-style: inherit;">\n\n</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">..."</span></span>
<span id="cb2-27">      <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">}</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-28">      <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">{</span></span>
<span id="cb2-29">        <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"type"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"input_text"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-30">        <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"text"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"&lt;environment_context&gt;...&lt;/environment_context&gt;"</span></span>
<span id="cb2-31">      <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">}</span></span>
<span id="cb2-32">    <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">]</span></span>
<span id="cb2-33">  <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">}</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-34">  <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">{</span></span>
<span id="cb2-35">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"type"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"message"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-36">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"role"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"user"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-37">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"content"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">[</span></span>
<span id="cb2-38">      <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">{</span></span>
<span id="cb2-39">        <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"type"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"input_text"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-40">        <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"text"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"test context visibility"</span></span>
<span id="cb2-41">      <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">}</span></span>
<span id="cb2-42">    <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">]</span></span>
<span id="cb2-43">  <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">}</span></span>
<span id="cb2-44"><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">]</span></span></code></pre></div></div>
</section>
<section id="why-it-matters" class="level2">
<h2 class="anchored" data-anchor-id="why-it-matters">Why It Matters</h2>
<p>The utility of this should be obvious for anyone interested in context engineering, agentic systems, etc. Also, for debugging your setup. Instead of wondering whether Codex loaded a file, merged project instructions, noticed the current working directory, or included a particular tool description, you can inspect the assembled input directly.</p>
<p>It also helps explain why some instructions work differently than expected. “The model never saw it” and “the model saw it but did something else” are completely different situations. <code>prompt-input</code> helps you find that fork in the road quickly.</p>
</section>
<section id="caveats" class="level2">
<h2 class="anchored" data-anchor-id="caveats">Caveats</h2>
<p>Do not paste raw <code>prompt-input</code> output into public issues or blog posts. It can include local paths, private project instructions, enabled tools, and other context you may not intend to share.</p>
<p>Also, the command tells you what Codex can see, not what it will do. A visible instruction can still be vague, lower priority than another instruction, or impossible to satisfy in the current turn lifecycle.</p>
<p>Inside a sandboxed Codex session, the command may need permission because it reads Codex configuration and renders startup context. In a normal terminal, the help text is straightforward:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb3" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb3-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">codex</span> debug prompt-input <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--help</span></span></code></pre></div></div>


</section>

 ]]></description>
  <category>TIL</category>
  <category>codex</category>
  <category>tools</category>
  <category>workflow</category>
  <guid>https://antisimplistic.com/posts/2026-05-21-til-codex-debug-prompt-input/</guid>
  <pubDate>Thu, 21 May 2026 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2026-05-21-til-codex-debug-prompt-input/thumbnail.png" medium="image" type="image/png" height="81" width="144"/>
</item>
<item>
  <title>Nobody’s Coming to Save Your Dependencies</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2026-03-29-nobodys-saving-your-dependencies/</link>
  <description><![CDATA[ 





<p><em>A follow-up to <a href="../../posts/2026-03-28-til-uv-settings-after-litellm/index.html">TIL: uv Settings I Changed after LiteLLM</a>.</em></p>
<p>After my last post, a couple of commenters pushed back on recommendation 2 - the <code>constraint-dependencies</code> entry blocking litellm 1.82.7 and 1.82.8. The argument, paraphrased: PyPI pulled those versions, so they’re no longer installable. The constraint is unnecessary work defending against something that can’t happen.</p>
<p>I appreciate their opinion and it’s not an unreasonable position to take. PyPI’s security response to the litellm incident was genuinely fast - the malicious versions were live for only about three hours before quarantine, and the maintainers rotated credentials and engaged <a href="https://github.com/BerriAI/litellm/issues/24518">Google’s Mandiant</a> for forensics. That’s not nothing. If you believe PyPI’s remediation is sufficient and permanent, a redundant constraint looks like noise.</p>
<p>But after careful consideration and further research, I think their view is too narrow on both the technical facts and the risk reasoning.</p>
<section id="what-pulled-actually-means" class="level2">
<h2 class="anchored" data-anchor-id="what-pulled-actually-means">What “Pulled” Actually Means</h2>
<p>“Pulled” isn’t a PyPI term, and that vagueness obscures something important. Looking across incident reports from the litellm compromise, the same versions get described as <a href="https://futuresearch.ai/blog/litellm-pypi-supply-chain-attack/"><em>quarantined</em>, <em>yanked</em></a>, and <a href="https://github.com/BerriAI/litellm/issues/24518"><em>permanently deleted</em></a> - sometimes in the same thread, because the state changed multiple times over several hours.</p>
<p>These are meaningfully different things. PyPI’s yank mechanism, defined in <a href="https://peps.python.org/pep-0592/">PEP 592</a>, is a soft removal. Yanked versions disappear from general resolution - <code>pip install litellm</code> won’t touch them - but they remain installable if explicitly requested by exact pin: <code>litellm==1.82.7</code> will still resolve a yanked version. That’s intentional. Yanking exists precisely so that maintainers can flag a bad release without breaking downstream projects that have already pinned to it.</p>
<p>Hard deletion is different; it makes a version truly unreachable from the index. Based on the <a href="https://github.com/BerriAI/litellm/issues/24518">litellm team’s own communications</a> and <a href="https://thecybersecguru.com/news/litellm-supply-chain-attack/">third-party analysis</a>, permanent deletion did eventually happen for 1.82.7 and 1.82.8. As of this writing, both versions return 404 on the PyPI JSON API and are completely absent from the <a href="https://pypi.org/simple/litellm/">Simple API index</a>. Gone as if they never existed. But deletion happened <em>after</em> quarantine and <em>after</em> yanking, as a later escalation.</p>
<p>The practical upshot: “PyPI pulled it” is not a precise claim, and the level of protection it implies depends on exactly which action was taken, when, and from which index you’re resolving. The constraint sidesteps all of that ambiguity.</p>
</section>
<section id="the-risk-math" class="level2">
<h2 class="anchored" data-anchor-id="the-risk-math">The Risk Math</h2>
<p>Even granting that the versions are now unreachable from PyPI proper, “very unlikely to happen” is not the same as “cannot happen.” Risk has two dimensions: likelihood and impact.</p>
<p>The likelihood of accidentally resolving a known-compromised litellm version today is low. The impact - credential exfiltration across SSH keys, cloud provider tokens, Kubernetes configs, and CI secrets, plus a persistent backdoor polling for further instructions - is <strong>catastrophically high</strong>. When likelihood is low and impact is catastrophic, the standard engineering response isn’t to <em>rely on circumstance</em>. It’s to <em>delegate the risk to a control</em>.</p>
<p>PyPI deletion only controls PyPI. Corporate package mirrors like Artifactory, Nexus, and AWS CodeArtifact may have cached the wheel during the exposure window and won’t automatically honor an upstream deletion. That’s the clearest residual risk and a well-documented concern. Local <code>uv</code> and <code>pip</code> caches are another reason not to treat PyPI deletion as a magic eraser, though this is less of a risk.</p>
<p>That distinction matters because the litellm versions were ultimately deleted, but future incidents may not. On PyPI, the standard response is for maintainers to yank the offending release rather than delete it, and <a href="https://peps.python.org/pep-0592/#specification">PEP 592 explicitly states</a> that the yanked attribute “is not immutable once set, and may be rescinded in the future.” So for the next compromised release that gets yanked but not deleted, an exact pin can still resolve unless you block it yourself.</p>
<p>The constraint is the control. As I noted in my <a href="../../posts/2026-03-28-til-uv-settings-after-litellm/index.html">correction to the original post</a>, <code>constraint-dependencies</code> only works at the project level in <code>pyproject.toml</code> - not in global <code>uv.toml</code>. That means adding it to each project that depends on litellm, which is more friction than I originally suggested. But it’s still a one-line addition per project, and it doesn’t slow down resolution or complicate your workflow once it’s there. The argument against it amounts to: <em>you don’t have to</em>. That’s true right up until it isn’t.</p>
</section>
<section id="the-swiss-cheese" class="level2">
<h2 class="anchored" data-anchor-id="the-swiss-cheese">The Swiss Cheese</h2>
<p>James Reason’s <a href="https://en.wikipedia.org/wiki/Swiss_cheese_model">Swiss cheese model</a> of accident causation describes safety as a stack of imperfect layers - each one has holes, but when the holes don’t align, incidents don’t get through. The failure mode isn’t any single layer failing; it’s multiple layers failing simultaneously, holes lined up in a row.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Swiss_cheese_model_textless.svg/500px-Swiss_cheese_model_textless.svg.png" class="img-fluid figure-img"></p>
<figcaption>The Swiss cheese model of accident causation. Multiple defensive layers each have holes; an incident occurs when the holes align.</figcaption>
</figure>
</div>
<p>PyPI’s quarantine is one layer. Admin deletion is another. Your lockfile is another. Your corporate mirror’s policies are another. Your teammate’s awareness of the incident is another. None of these layers is perfect, and none of them knows about the others. The <code>constraint-dependencies</code> entry is a thin, cheap layer that you fully control. It doesn’t need PyPI to have done the right thing. It doesn’t need your mirror to have honored the yank metadata. It doesn’t need your teammate to have noticed the incident. It just blocks the versions, unconditionally, every time <code>uv</code> resolves.</p>
<p>The goal of defense-in-depth isn’t to address threats that are certain. It’s to close gaps that are cheap to close, because you never know in advance which holes are going to line up.</p>
<p>I greatly respect what PyPI does and think the litellm response was handled about as well as it could have been given the circumstances. But “they handled it well” and “I should rely on them handling it” are different conclusions. I’d rather keep that layer in my own hands.</p>
<blockquote class="blockquote">
<p>Explicit is better than implicit.</p>
<p>— <a href="https://peps.python.org/pep-0020/">The Zen of Python</a></p>
</blockquote>


</section>

 ]]></description>
  <category>python</category>
  <category>security</category>
  <category>opinion</category>
  <guid>https://antisimplistic.com/posts/2026-03-29-nobodys-saving-your-dependencies/</guid>
  <pubDate>Sun, 29 Mar 2026 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2026-03-29-nobodys-saving-your-dependencies/thumbnail.png" medium="image" type="image/png" height="96" width="144"/>
</item>
<item>
  <title>TIL: uv Settings I Changed after LiteLLM</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2026-03-28-til-uv-settings-after-litellm/</link>
  <description><![CDATA[ 





<p><em>This article was updated on 3/29/26 to correct an error in the second recommendation and to cross-link it to another article elaborating on my justification for the same.</em></p>
<section id="the-problem" class="level2">
<h2 class="anchored" data-anchor-id="the-problem">The Problem</h2>
<p>On March 24, 2026, an attacker (<a href="https://www.sonatype.com/blog/compromised-litellm-pypi-package-delivers-multi-stage-credential-stealer">TeamPCP</a>) compromised the CI/CD pipeline of <a href="https://github.com/BerriAI/litellm">litellm</a>, a popular Python LLM proxy library with ~3.4 million daily downloads. They stole the PyPI publishing token via a poisoned <a href="https://blog.gitguardian.com/trivys-march-supply-chain-attack-shows-where-secret-exposure-hurts-most/">Trivy GitHub Action</a> and published two backdoored versions - v1.82.7 and v1.82.8 - directly to PyPI.</p>
<p>The payload was aggressive: credential harvesting (SSH keys, cloud creds, API keys, K8s tokens), AES-encrypted exfiltration to a C2 domain, and a persistent backdoor polling for further instructions. The malicious versions were live for about three hours before PyPI quarantined them.</p>
<p>I use litellm in several projects. I hadn’t updated recently, so I wasn’t hit - but “I was lucky” is not a security posture.</p>
</section>
<section id="the-defense-two-lines-in-uv.toml" class="level2">
<h2 class="anchored" data-anchor-id="the-defense-two-lines-in-uv.toml">The Defense: Two Lines in <code>uv.toml</code></h2>
<p>uv has two settings that, combined, make this class of attack much harder to land.</p>
<p>Matt Harrison (<a href="https://x.com/__mharrison__/status/2037621081771745388">@__mharrison__</a> - the most Pythonic handle on the platform) pointed out that uv’s <code>exclude-newer</code> setting is a natural defense here. I took it a step further with a second setting.</p>
<section id="dependency-cooldown" class="level3">
<h3 class="anchored" data-anchor-id="dependency-cooldown">1. Dependency Cooldown</h3>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode toml code-with-copy"><code class="sourceCode toml"><span id="cb1-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># ~/.config/uv/uv.toml</span></span>
<span id="cb1-2"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">exclude-newer</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"3 days"</span></span></code></pre></div></div>
<p>This tells uv to ignore any package version released in the last three days during dependency resolution. The litellm attack lasted three <em>hours</em> - a 3-day buffer catches that easily, while keeping you close enough to current releases that legitimate security patches aren’t blocked for long.</p>
<p>The tradeoff is real: if a CVE fix drops today, you can’t install it until Wednesday. But for most projects, a 3-day lag on new versions is invisible in practice.</p>
<p><em>How it works under the hood:</em> when you run <code>uv lock</code>, uv calculates a concrete timestamp (now minus 3 days) and writes <em>that</em> into <code>uv.lock</code>. It doesn’t re-evaluate the window on every <code>uv sync</code> - only on the next resolution (<code>uv lock --upgrade</code>, <code>uv add</code>, etc.).</p>
</section>
<section id="version-exclusion" class="level3">
<h3 class="anchored" data-anchor-id="version-exclusion">2. Version Exclusion</h3>
<div class="callout callout-style-default callout-important callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Important
</div>
</div>
<div class="callout-body-container callout-body">
<p>This article originally stated that <code>constraint-dependencies</code> could be set in the global <code>~/.config/uv/uv.toml</code>. That’s wrong - <a href="https://docs.astral.sh/uv/reference/settings/#constraint-dependencies">uv only reads <code>constraint-dependencies</code></a> from the <code>pyproject.toml</code> at the workspace root, and ignores it in all <code>uv.toml</code> files. The content below is updated to reflect that limitation.</p>
</div>
</div>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb2" style="background: #f1f3f5;"><pre class="sourceCode toml code-with-copy"><code class="sourceCode toml"><span id="cb2-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># pyproject.toml (per-project, at workspace root)</span></span>
<span id="cb2-2"><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">[tool.uv]</span></span>
<span id="cb2-3"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">constraint-dependencies</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">[</span></span>
<span id="cb2-4">  <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"litellm!=1.82.7,!=1.82.8"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb2-5"><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">]</span></span></code></pre></div></div>
<p><code>constraint-dependencies</code> lets you block known-compromised versions. Unlike <code>override-dependencies</code>, constraints only apply when the package is already in the dependency graph - they won’t force-install anything. Think of it as a blocklist for versions you never want resolved, even accidentally.</p>
<p>This may seem a bit redundant, but it’s also permanent protection against these specific versions. The cooldown window eventually passes; the constraint doesn’t.</p>
<p>The downside: this is a per-project setting. uv only reads <code>constraint-dependencies</code> from the <code>pyproject.toml</code> at the workspace root, so you’ll need to add it to each project that depends on litellm. Not as convenient as a global toggle, but arguably worth the thirty seconds.</p>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Note
</div>
</div>
<div class="callout-body-container callout-body">
<p>This recommendation got some pushback claiming “not required” and “unnecessary work for something that can never happen.” I took the claim seriously, did some research, and wrote up <a href="../../posts/2026-03-29-nobodys-saving-your-dependencies/index.html">my reasoning</a> for why I still think it’s worth it.</p>
</div>
</div>
</section>
<section id="the-full-picture" class="level3">
<h3 class="anchored" data-anchor-id="the-full-picture">The Full Picture</h3>
<p>Global config (<code>~/.config/uv/uv.toml</code>):</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb3" style="background: #f1f3f5;"><pre class="sourceCode toml code-with-copy"><code class="sourceCode toml"><span id="cb3-1"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">python-preference</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"only-managed"</span></span>
<span id="cb3-2"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">exclude-newer</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"3 days"</span></span></code></pre></div></div>
<p>Per-project config (<code>pyproject.toml</code>):</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb4" style="background: #f1f3f5;"><pre class="sourceCode toml code-with-copy"><code class="sourceCode toml"><span id="cb4-1"><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">[tool.uv]</span></span>
<span id="cb4-2"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">constraint-dependencies</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">[</span></span>
<span id="cb4-3">  <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"litellm!=1.82.7,!=1.82.8"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb4-4"><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">]</span></span></code></pre></div></div>
<p><code>python-preference = "only-managed"</code> predates the LiteLLM attack, but serves a similar purpose - reducing surface area while providing more control and reproducibility. It tells uv to only use Python versions that uv itself installed, ignoring anything else on the system (Homebrew, conda, stale virtualenvs). One tool manages the toolchain, no surprises.</p>
<p>The global settings apply across all projects with no per-project changes. <code>constraint-dependencies</code> requires a <code>pyproject.toml</code> entry in each relevant project.</p>
</section>
</section>
<section id="what-this-doesnt-cover" class="level2">
<h2 class="anchored" data-anchor-id="what-this-doesnt-cover">What This Doesn’t Cover</h2>
<p>This is defense-in-depth, not a silver bullet:</p>
<ul>
<li><em>Long-running compromises</em> that survive past the cooldown window won’t be caught.</li>
<li><em>Lockfiles are your real protection.</em> If you’re not running <code>uv lock --upgrade</code> or <code>uv add</code>, you’re already pinned to known versions. The cooldown only matters during resolution.</li>
<li><em>Dependency confusion and typosquatting</em> are different attack vectors entirely.</li>
<li><em>The 3-day window is arbitrary.</em> It’s a bet that the community will catch and yank most hot compromises within 72 hours. The litellm attack validates that bet; a more patient attacker might not.</li>
</ul>
</section>
<section id="resources" class="level2">
<h2 class="anchored" data-anchor-id="resources">Resources</h2>
<ul>
<li><a href="https://www.sonatype.com/blog/compromised-litellm-pypi-package-delivers-multi-stage-credential-stealer">Sonatype: Compromised litellm PyPI Package</a></li>
<li><a href="https://snyk.io/articles/poisoned-security-scanner-backdooring-litellm/">Snyk: How a Poisoned Security Scanner Became the Key to Backdooring LiteLLM</a></li>
<li><a href="https://blog.gitguardian.com/trivys-march-supply-chain-attack-shows-where-secret-exposure-hurts-most/">GitGuardian: Trivy’s March Supply Chain Attack</a></li>
<li><a href="https://docs.astral.sh/uv/reference/settings/">uv: Dependency resolution settings</a></li>
</ul>


</section>

 ]]></description>
  <category>TIL</category>
  <category>python</category>
  <category>security</category>
  <category>devops</category>
  <guid>https://antisimplistic.com/posts/2026-03-28-til-uv-settings-after-litellm/</guid>
  <pubDate>Sat, 28 Mar 2026 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2026-03-28-til-uv-settings-after-litellm/thumbnail.png" medium="image" type="image/png" height="72" width="144"/>
</item>
<item>
  <title>tmux Scroll Alert: Know When New Output Arrives While You’re Scrolled Back</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2026-03-13-tmux-scroll-alert/</link>
  <description><![CDATA[ 





<section id="the-problem" class="level2">
<h2 class="anchored" data-anchor-id="the-problem">The Problem</h2>
<p>You’re running something in tmux — a build, a test suite, an agent CLI. While it’s working, you scroll back to review earlier output. The yellow copy-mode indicator appears, you find what you’re looking for, and then… you sit there. Waiting. The command finished two minutes ago, but you’re staring at frozen scrollback with no way to know.</p>
<p>This happens to me regularly with agent CLIs like Claude Code and Codex. They run for a while, produce output, and I scroll back to check something. The copy-mode indicator tells me <em>where</em> I am in the buffer but nothing about whether the buffer has grown since I started reading. I scroll back to <em>near</em> the end of the buffer and wonder what is taking so long.</p>
</section>
<section id="why-not-monitor-activity" class="level2">
<h2 class="anchored" data-anchor-id="why-not-monitor-activity">Why Not <code>monitor-activity</code>?</h2>
<p>tmux has built-in activity monitoring. You can enable <code>monitor-activity</code> and use the <code>alert-activity</code> hook to detect output:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb1-1"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">set</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-g</span> monitor-activity on</span>
<span id="cb1-2"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">set-hook</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-g</span> alert-activity <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">'if -F "#{pane_in_mode}" "selectp -P bg=#330000"'</span></span></code></pre></div></div>
<p>This works for quiet commands. But agent CLIs have spinners and progress indicators that constantly write to the terminal, triggering the alert immediately — before any real output arrives. <code>monitor-activity</code> can’t distinguish a spinner updating the same line from ten lines of actual results.</p>
</section>
<section id="the-fix-poll-history_size" class="level2">
<h2 class="anchored" data-anchor-id="the-fix-poll-history_size">The Fix: Poll <code>history_size</code></h2>
<p>The key insight: <strong>spinners overwrite the current line</strong> (using <code>\r</code> and ANSI escapes), but <strong>real output adds new lines</strong> to the scrollback buffer. tmux tracks this as <code>history_size</code>.</p>
<p>A small script can snapshot <code>history_size</code> when you enter copy mode, then poll for growth. Spinner noise doesn’t register. Only real new lines do.</p>
<section id="the-script" class="level3">
<h3 class="anchored" data-anchor-id="the-script">The script</h3>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb2" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb2-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">#!/bin/bash</span></span>
<span id="cb2-2"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># tmux-scroll-alert — tints pane background when new output</span></span>
<span id="cb2-3"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># arrives while you're scrolled back in copy mode.</span></span>
<span id="cb2-4"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Usage: tmux-scroll-alert &lt;pane_id&gt;</span></span>
<span id="cb2-5"></span>
<span id="cb2-6"><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">PANE</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$1</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span></span>
<span id="cb2-7"></span>
<span id="cb2-8"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Only run for copy-mode, not tree-mode, command-mode, etc.</span></span>
<span id="cb2-9"><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">MODE</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$(</span><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">tmux</span> display-message <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-p</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-t</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$PANE</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">'#{pane_mode}'</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">)</span></span>
<span id="cb2-10"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">[</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$MODE</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span> <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">=</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"copy-mode"</span> <span class="bu" style="color: null;
background-color: null;
font-style: inherit;">]</span> <span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">||</span> <span class="bu" style="color: null;
background-color: null;
font-style: inherit;">exit</span> 0</span>
<span id="cb2-11"></span>
<span id="cb2-12"><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">INITIAL</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$(</span><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">tmux</span> display-message <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-p</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-t</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$PANE</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">'#{history_size}'</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">)</span></span>
<span id="cb2-13"></span>
<span id="cb2-14"><span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">while</span> <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">true</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">;</span> <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">do</span></span>
<span id="cb2-15">    <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Exit if pane left copy mode or pane is gone</span></span>
<span id="cb2-16">    <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">IN_MODE</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$(</span><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">tmux</span> display-message <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-p</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-t</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$PANE</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">'#{pane_in_mode}'</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">2</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&gt;</span>/dev/null<span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">)</span> <span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">||</span> <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">break</span></span>
<span id="cb2-17">    <span class="bu" style="color: null;
background-color: null;
font-style: inherit;">[</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$IN_MODE</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span> <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">=</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"0"</span> <span class="bu" style="color: null;
background-color: null;
font-style: inherit;">]</span> <span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">&amp;&amp;</span> <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">break</span></span>
<span id="cb2-18"></span>
<span id="cb2-19">    <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">CURRENT</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$(</span><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">tmux</span> display-message <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-p</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-t</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$PANE</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">'#{history_size}'</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">)</span></span>
<span id="cb2-20">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">if</span> <span class="bu" style="color: null;
background-color: null;
font-style: inherit;">[</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$((CURRENT</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">-</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">INITIAL))</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span> <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">-ge</span> 5 <span class="bu" style="color: null;
background-color: null;
font-style: inherit;">]</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">;</span> <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">then</span></span>
<span id="cb2-21">        <span class="ex" style="color: null;
background-color: null;
font-style: inherit;">tmux</span> select-pane <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-t</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$PANE</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-P</span> bg=#330000</span>
<span id="cb2-22">        <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">break</span></span>
<span id="cb2-23">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">fi</span></span>
<span id="cb2-24"></span>
<span id="cb2-25">    <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">sleep</span> 1</span>
<span id="cb2-26"><span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">done</span></span></code></pre></div></div>
<p>Save this somewhere in your <code>$PATH</code> (e.g., <code>~/.local/bin/tmux-scroll-alert</code>) and make it executable.</p>
<p>The threshold of 5 lines reduces the sensitivity of the detector. Adjust to taste.</p>
</section>
<section id="the-tmux-config" class="level3">
<h3 class="anchored" data-anchor-id="the-tmux-config">The tmux config</h3>
<p>Add this to your <code>tmux.conf</code>:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb3" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb3-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Detect new output while scrolled back in copy mode</span></span>
<span id="cb3-2"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Uses history_size polling to ignore spinner noise (only real new lines trigger it)</span></span>
<span id="cb3-3"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">set-hook</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-g</span> pane-mode-changed <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">'if -F "#{pane_in_mode}" \</span></span>
<span id="cb3-4"><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">  "run-shell -b \"~/.local/bin/tmux-scroll-alert #{pane_id}\"" \</span></span>
<span id="cb3-5"><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">  "selectp -P bg=default"'</span></span></code></pre></div></div>
<p>The <code>pane-mode-changed</code> hook does double duty:</p>
<ul>
<li><strong>Entering copy mode</strong> (<code>pane_in_mode</code> is true): launches the polling script in the background</li>
<li><strong>Exiting copy mode</strong> (<code>pane_in_mode</code> is false): resets the pane background to default</li>
</ul>
</section>
</section>
<section id="how-it-feels" class="level2">
<h2 class="anchored" data-anchor-id="how-it-feels">How It Feels</h2>
<p>When it works, it’s subtle but effective. You scroll back, read through some output, and if something new lands in the buffer — the pane gets a faint red tint. You know immediately that there’s new content below. Exit copy mode (press <code>q</code>) and the tint clears.</p>
<p>No plugins required. Just a hook, a script, and a format variable that was already there.</p>
</section>
<section id="limitations" class="level2">
<h2 class="anchored" data-anchor-id="limitations">Limitations</h2>
<ul>
<li><strong>Polling interval is 1 second.</strong> You could lower it, but the tradeoff is more <code>tmux display-message</code> calls. In practice, 1 second is fine — you’re reading, not racing.</li>
<li><strong>The tint is per-pane, not per-line.</strong> You won’t know <em>where</em> the new output starts. Scroll to the bottom to find it.</li>
<li><strong><code>history_size</code> only grows when lines scroll off the visible area.</strong> If the new output fits within the visible portion of the pane (below your scroll position), it still grows history — but edge cases with very short output may not hit the threshold.</li>
</ul>


</section>

 ]]></description>
  <category>tmux</category>
  <category>shell</category>
  <guid>https://antisimplistic.com/posts/2026-03-13-tmux-scroll-alert/</guid>
  <pubDate>Fri, 13 Mar 2026 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2026-03-13-tmux-scroll-alert/thumbnail.jpg" medium="image" type="image/jpeg"/>
</item>
<item>
  <title>TIL: 1Password CLI for Developer Secrets</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2026-02-09-til-1password-cli/</link>
  <description><![CDATA[ 





<section id="the-problem" class="level2">
<h2 class="anchored" data-anchor-id="the-problem">The Problem</h2>
<p>I had a file called <code>r2vars</code> in a project root with plaintext Cloudflare R2 credentials:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb1-1"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">export</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">R2_ACCOUNT_ID</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span>abc123</span>
<span id="cb1-2"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">export</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">R2_ACCESS_KEY_ID</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span>def456</span>
<span id="cb1-3"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">export</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">R2_SECRET_ACCESS_KEY</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span>ghi789</span>
<span id="cb1-4"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">export</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">STORAGE_BACKEND</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span>r2</span></code></pre></div></div>
<p>Plaintext secrets, BAD! 😖</p>
<p>Scripts referenced it as <code>source r2vars &amp;&amp; uv run python scripts/some_script.py</code>. It worked, but the file was a liability - one bad <code>.gitignore</code> away from leaking credentials, invisible to rotation policies, and impossible to audit.</p>
<p>I was already using 1Password for personal secrets. Turns out their CLI (<code>op</code>) slots right into existing workflows with minimal friction.</p>
</section>
<section id="the-solution-op-read" class="level2">
<h2 class="anchored" data-anchor-id="the-solution-op-read">The Solution: <code>op read</code></h2>
<p>The <a href="https://developer.1password.com/docs/cli/">1Password CLI</a> lets you read secrets by reference path. The format is <code>op://Vault/Item/field</code>.</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb2" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb2-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># One-off secret injection</span></span>
<span id="cb2-2"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">export</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">ANTHROPIC_API_KEY</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$(</span><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">op</span> read <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"op://Dev/Anthropic/credential"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">)</span></span></code></pre></div></div>
<p>On first use in a session, <code>op</code> prompts for biometric auth (Touch ID on macOS). After that, secrets flow without interruption. Biometric unlock requires the 1Password desktop app with <a href="https://developer.1password.com/docs/cli/get-started/#turn-on-the-1password-desktop-app-integration">app integration enabled</a>.</p>
<section id="shell-scripts-wrapper-pattern" class="level3">
<h3 class="anchored" data-anchor-id="shell-scripts-wrapper-pattern">Shell Scripts: Wrapper Pattern</h3>
<p>For scripts needing multiple secrets, a thin wrapper replaces <code>source r2vars</code>:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb3" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb3-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">#!/bin/bash</span></span>
<span id="cb3-2"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># scripts/with-r2.sh -- inject R2 credentials, then run whatever follows</span></span>
<span id="cb3-3"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">export</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">R2_ACCOUNT_ID</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$(</span><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">op</span> read <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"op://Dev/Cloudflare-R2/account-id"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">)</span></span>
<span id="cb3-4"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">export</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">R2_ACCESS_KEY_ID</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$(</span><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">op</span> read <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"op://Dev/Cloudflare-R2/access-key-id"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">)</span></span>
<span id="cb3-5"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">export</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">R2_SECRET_ACCESS_KEY</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$(</span><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">op</span> read <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"op://Dev/Cloudflare-R2/secret-access-key"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">)</span></span>
<span id="cb3-6"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">export</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">STORAGE_BACKEND</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span>r2</span>
<span id="cb3-7"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">exec</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$@</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span></span></code></pre></div></div>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb4" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb4-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Usage</span></span>
<span id="cb4-2"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">scripts/with-r2.sh</span> uv run python scripts/check_missing_students.py</span></code></pre></div></div>
<p>No plaintext files. Secrets exist only in process memory for the duration of the command.</p>
</section>
<section id="python-apps-provider-abstraction" class="level3">
<h3 class="anchored" data-anchor-id="python-apps-provider-abstraction">Python Apps: Provider Abstraction</h3>
<p>For a Python CLI tool, I built a secret provider that tries 1Password first and falls back to environment variables. The key piece is a provider that shells out to <code>op read</code>:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb5" style="background: #f1f3f5;"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">class</span> OnePasswordSecretProvider(SecretProvider):</span>
<span id="cb5-2">    <span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">def</span> <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">__init__</span>(<span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">self</span>, op_reference: <span class="bu" style="color: null;
background-color: null;
font-style: inherit;">str</span>) <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">-&gt;</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">None</span>:</span>
<span id="cb5-3">        <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">self</span>.op_reference <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> op_reference</span>
<span id="cb5-4"></span>
<span id="cb5-5">    <span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">def</span> get_token(<span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">self</span>) <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">-&gt;</span> <span class="bu" style="color: null;
background-color: null;
font-style: inherit;">str</span>:</span>
<span id="cb5-6">        result <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> subprocess.run(</span>
<span id="cb5-7">            [<span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"op"</span>, <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"read"</span>, <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">self</span>.op_reference],</span>
<span id="cb5-8">            capture_output<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">True</span>, text<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">True</span>, check<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">False</span>,</span>
<span id="cb5-9">        )</span>
<span id="cb5-10">        <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">if</span> result.returncode <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">!=</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">0</span>:</span>
<span id="cb5-11">            <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">raise</span> SecretProviderError(</span>
<span id="cb5-12">                <span class="ss" style="color: #20794D;
background-color: null;
font-style: inherit;">f"op read failed: </span><span class="sc" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">{</span>result<span class="sc" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">.</span>stderr<span class="sc" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">.</span>strip()<span class="sc" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">}</span><span class="ss" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span></span>
<span id="cb5-13">            )</span>
<span id="cb5-14">        <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">return</span> result.stdout.strip()</span>
<span id="cb5-15"></span>
<span id="cb5-16">    <span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">def</span> is_available(<span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">self</span>) <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">-&gt;</span> <span class="bu" style="color: null;
background-color: null;
font-style: inherit;">bool</span>:</span>
<span id="cb5-17">        <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">return</span> <span class="bu" style="color: null;
background-color: null;
font-style: inherit;">bool</span>(<span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">self</span>.op_reference) <span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">and</span> shutil.which(<span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"op"</span>) <span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">is</span> <span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">not</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">None</span></span></code></pre></div></div>
<p>Configuration stores the <em>reference path</em>, never the secret:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb6" style="background: #f1f3f5;"><pre class="sourceCode toml code-with-copy"><code class="sourceCode toml"><span id="cb6-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># ~/.config/myapp/config.toml</span></span>
<span id="cb6-2"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">secret_provider</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"1password"</span></span>
<span id="cb6-3"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">op_reference</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"op://Dev/Canvas/credential"</span></span></code></pre></div></div>
<p>A convenience function chains providers – try 1Password, fall back to <code>$CANVAS_API_TOKEN</code>:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb7" style="background: #f1f3f5;"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb7-1"><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">def</span> get_token(provider<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"1password"</span>, op_reference<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">""</span>) <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">-&gt;</span> <span class="bu" style="color: null;
background-color: null;
font-style: inherit;">str</span>:</span>
<span id="cb7-2">    providers <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> [</span>
<span id="cb7-3">        OnePasswordSecretProvider(op_reference),</span>
<span id="cb7-4">        EnvironmentSecretProvider(),  <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># reads CANVAS_API_TOKEN</span></span>
<span id="cb7-5">    ]</span>
<span id="cb7-6">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">for</span> p <span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">in</span> providers:</span>
<span id="cb7-7">        <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">if</span> p.is_available():</span>
<span id="cb7-8">            <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">try</span>:</span>
<span id="cb7-9">                <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">return</span> p.get_token()</span>
<span id="cb7-10">            <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">except</span> SecretProviderError:</span>
<span id="cb7-11">                <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">continue</span></span>
<span id="cb7-12">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">raise</span> SecretProviderError(<span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"No token available from any provider."</span>)</span></code></pre></div></div>
</section>
<section id="headless-services-service-accounts" class="level3">
<h3 class="anchored" data-anchor-id="headless-services-service-accounts">Headless Services: Service Accounts</h3>
<p>For always-on services (a Discord bot on a Linux server or the ever-popular 🦞 ClawdBot 🦞, for example), 1Password offers <a href="https://developer.1password.com/docs/service-accounts/">service accounts</a>. The service account token goes in the systemd unit’s environment, and the service calls <code>op read</code> at runtime just like the interactive case. Each service account’s vault access is chosen at creation time and immutable afterward - scope it to a single vault to limit blast radius if compromised.</p>
</section>
</section>
<section id="why-this-works" class="level2">
<h2 class="anchored" data-anchor-id="why-this-works">Why This Works</h2>
<ul>
<li>No plaintext secrets on disk: the <code>r2vars</code> file is gone. Nothing to accidentally commit.</li>
<li>Single source of truth: rotate a credential in 1Password and every script picks it up immediately.</li>
<li>Auditable: 1Password logs every access. You know who read what and when.</li>
<li>Graceful degradation: the provider pattern means CI and production can still use env vars while local dev uses 1Password.</li>
<li>Biometric gating: Touch ID on macOS means secrets require physical presence - not just filesystem access.</li>
</ul>
</section>
<section id="resources" class="level2">
<h2 class="anchored" data-anchor-id="resources">Resources</h2>
<ul>
<li><a href="https://developer.1password.com/docs/cli/">1Password CLI docs</a></li>
<li><a href="https://developer.1password.com/docs/cli/secret-references/">Secret reference syntax</a></li>
<li><a href="https://developer.1password.com/docs/service-accounts/">Service accounts</a></li>
<li><a href="../../posts/2025-11-09-til-direnv/">direnv TIL</a> (the precursor to this workflow)</li>
</ul>


</section>

 ]]></description>
  <category>TIL</category>
  <category>shell</category>
  <category>devops</category>
  <category>python</category>
  <guid>https://antisimplistic.com/posts/2026-02-09-til-1password-cli/</guid>
  <pubDate>Mon, 09 Feb 2026 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2026-02-09-til-1password-cli/thumbnail.png" medium="image" type="image/png" height="72" width="144"/>
</item>
<item>
  <title>A Controlled Python Environment for Claude Code</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2026-02-02-claude-adhoc-python/</link>
  <description><![CDATA[ 





<section id="the-problem" class="level2">
<h2 class="anchored" data-anchor-id="the-problem">The Problem</h2>
<p>When Claude Code needs Python for ad-hoc tasks (e.g., parsing Excel files, reading PDFs, quick data analysis) it uses whatever Python is available. This can cause issues:</p>
<ul>
<li>No isolation: packages installed to user site-packages</li>
<li>Version uncertainty: using whatever Python happened to be installed</li>
<li>Dependency conflicts: risk of polluting project-specific environments</li>
<li>Ambiguity: no clear boundary between ad-hoc work and project venvs</li>
</ul>
<p>I wanted a dedicated, managed environment for Claude Code’s throwaway tasks that wouldn’t interfere with anything else.</p>
</section>
<section id="the-solution" class="level2">
<h2 class="anchored" data-anchor-id="the-solution">The Solution</h2>
<p>A uv-managed Python environment specifically for Claude Code’s ad-hoc work, invoked via a distinct shell command.</p>
<section id="why-uv" class="level3">
<h3 class="anchored" data-anchor-id="why-uv">Why uv?</h3>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb1-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">brew</span> install uv</span></code></pre></div></div>
<ul>
<li>Fast: installs packages in seconds, not minutes</li>
<li>Modern: handles both package management and environment isolation</li>
<li>Simple: one tool instead of virtualenv + pip + pyenv</li>
<li>Flex: all the cool kids use it 😎</li>
</ul>
</section>
<section id="project-setup" class="level3">
<h3 class="anchored" data-anchor-id="project-setup">Project Setup</h3>
<p>Create a dedicated project directory:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb2" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb2-1"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">mkdir</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-p</span> /casa/dev/claude-code</span>
<span id="cb2-2"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">cd</span> /casa/dev/claude-code</span>
<span id="cb2-3"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">uv</span> init</span></code></pre></div></div>
<p>The <code>pyproject.toml</code> declares whatever dependencies your agent might need:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb3" style="background: #f1f3f5;"><pre class="sourceCode toml code-with-copy"><code class="sourceCode toml"><span id="cb3-1"><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">[project]</span></span>
<span id="cb3-2"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">name</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"claude-adhoc"</span></span>
<span id="cb3-3"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">version</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"0.1.0"</span></span>
<span id="cb3-4"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">requires-python</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"&gt;=3.11"</span></span>
<span id="cb3-5"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">dependencies</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">[</span></span>
<span id="cb3-6">    <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Data/Files</span></span>
<span id="cb3-7">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"pandas"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-8">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"numpy"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-9">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"openpyxl"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-10">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"xlrd"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-11">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"python-pptx"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-12">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"python-docx"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-13">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"pypdf"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-14">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"pdfplumber"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-15">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"pillow"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-16">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"pyyaml"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-17">    <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Web</span></span>
<span id="cb3-18">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"requests"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-19">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"httpx"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-20">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"beautifulsoup4"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-21">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"lxml"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-22">    <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Utilities</span></span>
<span id="cb3-23">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"rich"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-24">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"chardet"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-25">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"matplotlib"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-26">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"seaborn"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-27">    <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Dev tools</span></span>
<span id="cb3-28">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"ruff"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-29">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"mypy"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-30">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"pytest"</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb3-31"><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">]</span></span></code></pre></div></div>
<p>Add these with <code>uv add &lt;package&gt;</code> or just ask your robot to do it. 🤖</p>
</section>
<section id="shell-script" class="level3">
<h3 class="anchored" data-anchor-id="shell-script">Shell Script</h3>
<p>Create an executable script (not a shell function) and add it to your PATH:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb4" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb4-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">#!/bin/zsh</span></span>
<span id="cb4-2"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">echo</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"⚠️  This Python instance is for ad-hoc usage only."</span></span>
<span id="cb4-3"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">echo</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"   If working in a project with its own venv, use that instead."</span></span>
<span id="cb4-4"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">echo</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">""</span></span>
<span id="cb4-5"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">exec</span> uv run <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--project</span> /casa/dev/claude-code python <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$@</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span></span></code></pre></div></div>
<p>Save this as <code>~/.config/scripts/claude-adhoc-python</code> (or wherever you keep scripts), make it executable, and symlink it to a directory in your PATH:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb5" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb5-1"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">chmod</span> +x ~/.config/scripts/claude-adhoc-python</span>
<span id="cb5-2"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">ln</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-sf</span> ~/.config/scripts/claude-adhoc-python ~/.local/bin/claude-adhoc-python</span></code></pre></div></div>
<p>Why a script instead of a shell function? Claude Code’s Bash tool runs in a non-interactive shell, which only sources <code>.zshenv</code> - not <code>.zshrc</code> or any files it sources. Shell functions defined in <code>.zshrc</code> won’t be available. A standalone script in your PATH works everywhere.</p>
<p>Key design choices:</p>
<table class="caption-top table">
<colgroup>
<col style="width: 42%">
<col style="width: 57%">
</colgroup>
<thead>
<tr class="header">
<th>Choice</th>
<th>Rationale</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Standalone script</td>
<td>Works in non-interactive shells (like Claude Code’s Bash)</td>
</tr>
<tr class="even">
<td>Distinct command name</td>
<td>Avoids confusion with project-local Python</td>
</tr>
<tr class="odd">
<td>Warning message</td>
<td>Reminds both Claude and user this is for ad-hoc use</td>
</tr>
</tbody>
</table>
</section>
<section id="claude-code-instructions" class="level3">
<h3 class="anchored" data-anchor-id="claude-code-instructions">Claude Code Instructions</h3>
<p>Add to your global <code>~/.config/claude/CLAUDE.md</code> (see <a href="../../posts/2026-01-02-til-claude-code-instructions/">Claude Code’s Instruction Mechanisms</a> for how <code>CLAUDE.md</code> and other config mechanisms work):</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb6" style="background: #f1f3f5;"><pre class="sourceCode markdown code-with-copy"><code class="sourceCode markdown"><span id="cb6-1"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">## Ad-hoc Python</span></span>
<span id="cb6-2"></span>
<span id="cb6-3">For quick Python tasks outside of project contexts, use:</span>
<span id="cb6-4"></span>
<span id="cb6-5"><span class="in" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">    claude-adhoc-python -c "import pandas as pd; ..."</span></span>
<span id="cb6-6"></span>
<span id="cb6-7">DO NOT use this inside projects that have their own venv or pyproject.toml.</span>
<span id="cb6-8">Use the project's environment instead.</span></code></pre></div></div>
<p>This tells Claude when to use the ad-hoc environment and - critically - when not to.</p>
</section>
</section>
<section id="usage" class="level2">
<h2 class="anchored" data-anchor-id="usage">Usage</h2>
<p>One-liners:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb7" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb7-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">claude-adhoc-python</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-c</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"import pandas as pd; print(pd.read_excel('data.xlsx').head())"</span></span></code></pre></div></div>
<p>Scripts:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb8" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb8-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">claude-adhoc-python</span> script.py</span></code></pre></div></div>
<p>Or invoke uv directly:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb9" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb9-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">uv</span> run <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--project</span> /casa/dev/claude-code python <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-c</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"import pdfplumber; ..."</span></span></code></pre></div></div>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
<span class="screen-reader-only">Note</span>Sandbox Compatibility
</div>
</div>
<div class="callout-body-container callout-body">
<p>If you use <a href="../../posts/2026-02-02-claude-code-permissions/">Claude Code’s sandbox</a>, the uv cache is outside the working directory and needs explicit permission. Add your cache path to <code>~/.claude/settings.json</code>:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb10" style="background: #f1f3f5;"><pre class="sourceCode json code-with-copy"><code class="sourceCode json"><span id="cb10-1"><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"allow"</span><span class="er" style="color: #AD0000;
background-color: null;
font-style: inherit;">:</span> <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">[</span></span>
<span id="cb10-2">  <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Read(//path/to/.uv-cache/**)"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb10-3">  <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Edit(//path/to/.uv-cache/**)"</span></span>
<span id="cb10-4"><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">]</span></span></code></pre></div></div>
<p>Use <code>//</code> for absolute paths - a single <code>/</code> is relative to the settings file. Adjust the path to match your <code>$UV_CACHE_DIR</code>.</p>
<p>Also: early versions of <code>uv</code> (before v0.9.29) panicked inside the sandbox due to a blocked macOS system API. If you hit “Attempted to create a NULL object”, update uv: <code>uv self update</code>.</p>
</div>
</div>
</section>
<section id="what-i-didnt-do" class="level2">
<h2 class="anchored" data-anchor-id="what-i-didnt-do">What I Didn’t Do</h2>
<p>No <code>ipykernel</code>: Claude Code’s Bash tool is stateless; each command runs in a fresh shell. A persistent REPL adds no value here.</p>
<p>No activation script: the <code>uv run --project</code> pattern handles isolation without needing to “activate” anything. Simpler mental model.</p>
</section>
<section id="maintenance" class="level2">
<h2 class="anchored" data-anchor-id="maintenance">Maintenance</h2>
<p>Add packages as needed:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb11" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb11-1"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">cd</span> /casa/dev/claude-code</span>
<span id="cb11-2"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">uv</span> add some-new-package</span></code></pre></div></div>
<p>Update everything:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb12" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb12-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">uv</span> sync <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--upgrade</span></span></code></pre></div></div>
</section>
<section id="resources" class="level2">
<h2 class="anchored" data-anchor-id="resources">Resources</h2>
<ul>
<li><a href="https://docs.astral.sh/uv/">uv documentation</a></li>
<li><a href="https://code.claude.com/docs/en/memory">Claude Code memory docs</a></li>
</ul>


</section>

 ]]></description>
  <category>claude-code</category>
  <category>python</category>
  <category>uv</category>
  <guid>https://antisimplistic.com/posts/2026-02-02-claude-adhoc-python/</guid>
  <pubDate>Mon, 02 Feb 2026 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2026-02-02-claude-adhoc-python/thumbnail.png" medium="image" type="image/png" height="72" width="144"/>
</item>
<item>
  <title>Claude Code Permissions and Sandboxing</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2026-02-02-claude-code-permissions/</link>
  <description><![CDATA[ 





<p>I’ve had “configure Claude Code permissions properly” on my list for a while. The defaults work, but every session starts with a flurry of “allow this?” prompts. I wanted less babysitting <em>and</em> more security - and it turns out those aren’t opposed. You just have to understand how the pieces fit together.</p>
<section id="the-three-layers" class="level2">
<h2 class="anchored" data-anchor-id="the-three-layers">The Three Layers</h2>
<p>Claude Code has three layers of access control:</p>
<section id="permission-rules" class="level3">
<h3 class="anchored" data-anchor-id="permission-rules">Permission rules</h3>
<p>These let you allow, ask, or deny specific tool patterns. They live in <code>.claude/settings.json</code> (project) or <code>~/.claude/settings.json</code> (global). Deny is checked first, then ask, then allow. Pattern syntax: <code>Bash(git *)</code> matches git commands, <code>Read(**/*.key)</code> blocks key files.</p>
</section>
<section id="permission-modes" class="level3">
<h3 class="anchored" data-anchor-id="permission-modes">Permission modes</h3>
<p>These set the baseline. <code>acceptEdits</code> auto-approves file changes but still prompts for Bash - good for speeding up editing without giving away the store.</p>
</section>
<section id="sandboxing" class="level3">
<h3 class="anchored" data-anchor-id="sandboxing">Sandboxing</h3>
<p>This provides OS-level isolation. Writes are limited to the current directory, network access is restricted to whitelisted domains. The key setting: <code>autoAllowBashIfSandboxed</code>. When enabled, sandboxed commands run without prompting.</p>
<p>These layers interact in non-obvious ways. I spent more time debugging their interface than configuring any of them independently.</p>
</section>
</section>
<section id="how-they-fit-together" class="level2">
<h2 class="anchored" data-anchor-id="how-they-fit-together">How They Fit Together</h2>
<p>The sandbox changes the strategy. With <code>autoAllowBashIfSandboxed</code> enabled, you don’t need allow rules for common commands - the sandbox itself is the allow list. Focus shifts to what you want to <em>block</em> (secrets, destructive patterns) and what you want to <em>review</em> (commits, pushes).</p>
<p>I read through <a href="https://flatt.tech/research/posts/pwning-claude-code-in-8-different-ways/">Flatt Security’s research</a> and <a href="https://www.backslash.security/blog/claude-code-security-best-practices">Backslash’s write-up</a> while working through this. Permission rules have known bypasses and quirks - useful for workflow, but the sandbox is the real security boundary.</p>
</section>
<section id="getting-there-wasnt-straightforward" class="level2">
<h2 class="anchored" data-anchor-id="getting-there-wasnt-straightforward">Getting There Wasn’t Straightforward</h2>
<p>My first pass at a config looked clean on paper but broke in practice. Most of the problems weren’t sandbox bugs or permission bugs - they were poorly documented interactions between the two. A few examples:</p>
<p>Path syntax is quietly counterintuitive. In permission rules, a single leading slash (<code>/some/path/...</code>) is <em>relative to the settings file location</em>, not an absolute path. Your rule silently matches nothing. The fix: double leading slash (<code>//some/path/...</code>) denotes an absolute path. No error message tells you this. Credit to <a href="https://github.com/anthropics/claude-code/issues/22628#issuecomment-3839467079"><span class="citation" data-cites="tomdale">@tomdale</span></a> for pointing me in the right direction. This is now <a href="https://code.claude.com/docs/en/permissions">documented</a>, but it wasn’t when I hit it.</p>
<p><code>excludedCommands</code> doesn’t bypass the sandbox. Despite the documentation, excluded commands still run sandboxed first. They only retry unsandboxed after failure - and only if <code>allowUnsandboxedCommands: true</code>. Setting that defeats the purpose of a targeted exclusion, since it applies to everything.</p>
<p><code>additionalDirectories</code> requires full paths. No tilde expansion. Use <code>/Users/yourname/.local/bin</code>, not <code>~/.local/bin</code>.</p>
<p>Once I understood these, the configuration clicked.</p>
</section>
<section id="my-configuration" class="level2">
<h2 class="anchored" data-anchor-id="my-configuration">My Configuration</h2>
<p>Here’s what I run in <code>~/.claude/settings.json</code>:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode json code-with-copy"><code class="sourceCode json"><span id="cb1-1"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">{</span></span>
<span id="cb1-2">  <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"permissions"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">{</span></span>
<span id="cb1-3">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"allow"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">[</span></span>
<span id="cb1-4">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Read(//path/to/.uv-cache/**)"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-5">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Edit(//path/to/.uv-cache/**)"</span></span>
<span id="cb1-6">    <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">]</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-7">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"deny"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">[</span></span>
<span id="cb1-8">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Read(./.env)"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-9">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Read(./.env.*)"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-10">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Read(**/*.key)"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-11">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Read(**/*.pem)"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-12">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Read(**/*credentials*)"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-13">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Read(**/*secret*)"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-14">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Bash(sudo *)"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-15">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Bash(rm -rf *)"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-16">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Bash(git push --force *)"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-17">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Bash(git push -f *)"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-18">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Bash(git reset --hard *)"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-19">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Bash(pip *)"</span></span>
<span id="cb1-20">    <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">]</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-21">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"ask"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">[</span></span>
<span id="cb1-22">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Bash(git commit *)"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-23">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Bash(git push *)"</span></span>
<span id="cb1-24">    <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">]</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-25">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"defaultMode"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"acceptEdits"</span></span>
<span id="cb1-26">  <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">},</span></span>
<span id="cb1-27">  <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"sandbox"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">{</span></span>
<span id="cb1-28">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"enabled"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">true</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-29">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"autoAllowBashIfSandboxed"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">true</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-30">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"allowUnsandboxedCommands"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">false</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-31">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"network"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">{</span></span>
<span id="cb1-32">      <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"allowedDomains"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">[</span></span>
<span id="cb1-33">        <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"github.com"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-34">        <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"api.github.com"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-35">        <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"*.githubusercontent.com"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-36">        <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"pypi.org"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-37">        <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"*.pythonhosted.org"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-38">        <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"*.npmjs.org"</span></span>
<span id="cb1-39">      <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">]</span></span>
<span id="cb1-40">    <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">},</span></span>
<span id="cb1-41">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"excludedCommands"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">[</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"docker"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">]</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-42">    <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">"additionalDirectories"</span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">:</span> <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">[</span></span>
<span id="cb1-43">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"/path/to/projects"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-44">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"/Users/yourname/.local/bin"</span><span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">,</span></span>
<span id="cb1-45">      <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"/Users/yourname/.config"</span></span>
<span id="cb1-46">    <span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">]</span></span>
<span id="cb1-47">  <span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">}</span></span>
<span id="cb1-48"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">}</span></span></code></pre></div></div>
<p>The logic:</p>
<ul>
<li><code>allow</code> grants read/write to the uv cache so sandboxed commands can access it (note the <code>//</code> prefix for absolute paths). Everything else is handled by the sandbox.</li>
<li><code>deny</code> blocks secrets, credentials, destructive git operations, and <code>pip</code> (I use <code>uv</code>).</li>
<li><code>ask</code> prompts before commits and pushes - the two operations I always want to review.</li>
<li><code>defaultMode: acceptEdits</code> lets Claude write files freely. The sandbox constrains <em>where</em>.</li>
<li><code>autoAllowBashIfSandboxed</code> eliminates prompts for sandboxed commands. This is the setting that makes the whole thing feel fast.</li>
<li><code>additionalDirectories</code> grants write access beyond the working directory. Add paths for your project root, scripts, and config directories.</li>
<li><code>network.allowedDomains</code> whitelists only what’s needed: GitHub, PyPI, npm. Everything else is blocked.</li>
</ul>
</section>
<section id="sandbox-limits" class="level2">
<h2 class="anchored" data-anchor-id="sandbox-limits">Sandbox Limits</h2>
<p>The sandbox also imposes some hard limits worth knowing about:</p>
<section id="git-is-blocked-outside-the-working-directory" class="level3">
<h3 class="anchored" data-anchor-id="git-is-blocked-outside-the-working-directory"><code>.git</code> is blocked outside the working directory</h3>
<p>The sandbox blocks <code>.git</code> access broadly - not just the repository directory, but <code>.git</code> marker files anywhere. This prevents <code>git clone</code> into non-project directories and can affect tools whose caches contain <code>.git</code> marker files. Granting read/write access to specific cache paths via <code>allow</code> rules (as shown above) resolves this.</p>
</section>
<section id="heredocs-are-blocked" class="level3">
<h3 class="anchored" data-anchor-id="heredocs-are-blocked">Heredocs are blocked</h3>
<p>Bash heredoc syntax (<code>&lt;&lt; EOF</code>) fails in the sandbox. The shell needs to create a temp file for the here document, and the sandbox blocks it - even with <code>TMPDIR</code> pointed at an allowed path. This is a real loss. Heredocs are one of Claude Code’s most natural patterns for generating multi-line config files, scripts, and templates in a single command. Instead, Claude has to write to a file first, then execute it. It works, but adds friction to what should be a one-step operation.</p>
</section>
<section id="symlinks-outside-the-working-directory" class="level3">
<h3 class="anchored" data-anchor-id="symlinks-outside-the-working-directory">Symlinks outside the working directory</h3>
<p>Can’t create symlinks pointing to paths like <code>~/.local/bin</code>, even with <code>additionalDirectories</code> set. You have to create these manually.</p>
<p>These are sandbox-level constraints, not configuration issues - no amount of settings changes will fix them. You just learn the workarounds.</p>
</section>
</section>
<section id="the-result" class="level2">
<h2 class="anchored" data-anchor-id="the-result">The Result</h2>
<p>Sessions now start clean. No prompt flurry. Claude reads, writes, and runs commands freely within the sandbox. Prompts are rare - mostly commits, pushes, and the occasional sandbox edge case. Deny rules catch the things I never want Claude touching. The sandbox catches everything else.</p>
<p>The configuration surface area is small once you understand it. The documentation doesn’t quite get you there yet - but it will probably improve as the sandbox matures. For now, this works.</p>
</section>
<section id="resources" class="level2">
<h2 class="anchored" data-anchor-id="resources">Resources</h2>
<ul>
<li><a href="https://code.claude.com/docs/en/permissions">Claude Code Permissions</a></li>
<li><a href="https://code.claude.com/docs/en/settings">Claude Code Settings</a></li>
<li><a href="https://code.claude.com/docs/en/sandboxing">Claude Code Sandboxing</a></li>
<li><a href="https://flatt.tech/research/posts/pwning-claude-code-in-8-different-ways/">Pwning Claude Code in 8 Different Ways</a></li>
<li><a href="https://www.backslash.security/blog/claude-code-security-best-practices">Claude Code Security Best Practices</a></li>
<li><a href="../../posts/2026-01-02-til-claude-code-instructions/">Claude Code’s Instruction Mechanisms</a> (CLAUDE.md, skills, rules, and hooks)</li>
</ul>


</section>

 ]]></description>
  <category>claude-code</category>
  <category>security</category>
  <guid>https://antisimplistic.com/posts/2026-02-02-claude-code-permissions/</guid>
  <pubDate>Mon, 02 Feb 2026 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2026-02-02-claude-code-permissions/thumbnail.png" medium="image" type="image/png" height="72" width="144"/>
</item>
<item>
  <title>TIL: Claude Code’s Instruction Mechanisms</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2026-01-02-til-claude-code-instructions/</link>
  <description><![CDATA[ 





<section id="the-problem" class="level2">
<h2 class="anchored" data-anchor-id="the-problem">The Problem</h2>
<p>I had a growing markdown style guide in my <code>CLAUDE.md</code> that was bloating my main config. Every session loaded 50+ lines of formatting rules that only mattered when editing <code>.md</code> or <code>.qmd</code> files. I needed a better home for it.</p>
<p>Claude Code has four mechanisms for giving it instructions: <code>CLAUDE.md</code>, skills, rules, and hooks. It also has agents (isolated task workers) and MCP servers (external tools), but those serve different purposes. There’s also auto memory - notes Claude writes for itself across sessions - but that’s not something you author directly.</p>
</section>
<section id="the-decision-tree" class="level2">
<h2 class="anchored" data-anchor-id="the-decision-tree">The Decision Tree</h2>
<table class="caption-top table">
<colgroup>
<col style="width: 45%">
<col style="width: 54%">
</colgroup>
<thead>
<tr class="header">
<th>Mechanism</th>
<th>Use when…</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><code>CLAUDE.md</code></td>
<td>Always-on project context (tech stack, conventions, key paths)</td>
</tr>
<tr class="even">
<td>Skills</td>
<td>Reusable procedures, invoked via <code>/skill-name</code> or automatically by Claude</td>
</tr>
<tr class="odd">
<td>Rules</td>
<td>Style/convention enforcement for specific file types</td>
</tr>
<tr class="even">
<td>Hooks</td>
<td>Automation triggered by events (compaction, tool calls)</td>
</tr>
</tbody>
</table>
<p><code>CLAUDE.md</code>, skills, and hooks are well-documented and fairly intuitive. Rules were the discovery for me.</p>
<p>(Skills superseded the older <code>.claude/commands/</code> directory. Existing command files still work, but skills add auto-invocation, supporting files, and the option to run in an isolated context via <code>context: fork</code>.)</p>
</section>
<section id="rules-the-missing-piece" class="level2">
<h2 class="anchored" data-anchor-id="rules-the-missing-piece">Rules: The Missing Piece</h2>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Note
</div>
</div>
<div class="callout-body-container callout-body">
<p>As of Feb 10, 2026, path-based rules only trigger when Claude <em>reads</em> a matching file, not when it writes one. Creating a new <code>.md</code> file without first reading one means your rules aren’t in context. A <code>PreToolUse</code> hook on <code>Write</code> can work around this, but in practice Claude reads markdown often enough that the rules are usually loaded. See <a href="https://github.com/anthropics/claude-code/issues/23478">#23478</a>.</p>
</div>
</div>
<p>Rules live in <code>.claude/rules/*.md</code> and have a key feature: path matching.</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode yaml code-with-copy"><code class="sourceCode yaml"><span id="cb1-1"><span class="pp" style="color: #AD0000;
background-color: null;
font-style: inherit;">---</span></span>
<span id="cb1-2"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">paths</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">:</span></span>
<span id="cb1-3"><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">  </span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">-</span><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;"> </span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"**/*.{md,qmd}"</span></span>
<span id="cb1-4"><span class="pp" style="color: #AD0000;
background-color: null;
font-style: inherit;">---</span></span>
<span id="cb1-5"></span>
<span id="cb1-6"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Markdown Style Guide</span></span>
<span id="cb1-7"></span>
<span id="cb1-8"><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">-</span><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;"> Use ATX headers (</span><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># not underlines)</span></span>
<span id="cb1-9"><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">-</span><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;"> One sentence per line</span></span>
<span id="cb1-10"><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">-</span><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;"> Blank line before lists</span></span>
<span id="cb1-11"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">...</span></span></code></pre></div></div>
<p>When you edit a file matching those globs, the rule auto-loads. No semantic triggering, no manual invocation. Just automatic context injection when relevant. Rules can also be organized into subdirectories (e.g., <code>rules/frontend/</code>, <code>rules/backend/</code>) - all <code>.md</code> files are discovered recursively.</p>
<p>Rules live at two levels:</p>
<ul>
<li><em>User/global</em> (<code>~/.claude/rules/</code>) for cross-project standards</li>
<li><em>Project</em> (<code>.claude/rules/</code>) for team-shared conventions, committed to git</li>
</ul>
<p><code>CLAUDE.md</code> has additional flexibility - it cascades through parent directories (if you run Claude in <code>foo/bar/</code>, it loads from both <code>foo/</code> and <code>foo/bar/</code>) and supports a gitignored <code>CLAUDE.local.md</code> for machine-specific overrides.</p>
<section id="my-setup" class="level3">
<h3 class="anchored" data-anchor-id="my-setup">My Setup</h3>
<p>I keep formatting rules global since they apply everywhere:</p>
<p><code>~/.claude/rules/markdown-style.md</code> - targets <code>**/*.{md,qmd}</code></p>
<ul>
<li>Formatting conventions: no bold, plain hyphens for dashes, backtick usage</li>
<li>Code blocks: always specify a language tag</li>
<li>Spacing: blank lines around lists, fences, and tables</li>
</ul>
<p><code>~/.claude/rules/quarto-style.md</code> - targets <code>**/*.qmd</code></p>
<ul>
<li>Callout block conventions (note, tip, warning, important, caution)</li>
<li>Cross-reference syntax (<code>@sec-label</code>, <code>@tbl-label</code>, etc.)</li>
</ul>
<p>When editing <code>.qmd</code> files, both rules apply (layered). When editing <code>.md</code> files, only the common rules load. Clean separation.</p>
</section>
</section>
<section id="why-rules-over-the-alternatives" class="level2">
<h2 class="anchored" data-anchor-id="why-rules-over-the-alternatives">Why Rules Over the Alternatives</h2>
<p>I originally had the style guide in <code>CLAUDE.md</code>. That meant it loaded every session whether I was editing markdown or not, cluttering the always-on context. Worse, in long conversations the rules would get lost as context compacted and Claude stopped following them consistently.</p>
<p>Rules with path patterns solve both problems. They only activate when you’re working with matching files, and they persist across context compaction. Deterministic, not dependent on context window position.</p>
</section>
<section id="quick-reference" class="level2">
<h2 class="anchored" data-anchor-id="quick-reference">Quick Reference</h2>
<pre class="text"><code>~/.claude/                        # User/global config
├── agents/                       # Isolated tasks, semantic triggering
│   └── til-blog-writer.md
├── skills/                       # Reusable procedures (/sessions, etc.)
│   └── sessions/
│       └── SKILL.md
├── hooks/                        # Event-triggered automation
│   └── pre-compact-summary.sh
├── rules/                        # Auto-applied by file pattern
│   ├── markdown-style.md         # paths: ["**/*.{md,qmd}"]
│   └── quarto-style.md           # paths: ["**/*.qmd"]
├── settings.json                 # Permissions, MCP servers, hook config
└── CLAUDE.md                     # Always loaded

project/.claude/                  # Project-level (committed to git)
├── skills/                       # Project-specific skills
├── rules/                        # Project-specific rules
├── settings.json                 # Project permissions
└── settings.local.json           # Local overrides (gitignored)
project/CLAUDE.md                 # Project context
project/CLAUDE.local.md           # Local overrides (gitignored)</code></pre>
</section>
<section id="resources" class="level2">
<h2 class="anchored" data-anchor-id="resources">Resources</h2>
<ul>
<li><a href="https://code.claude.com/docs/en/memory">Claude Code memory</a> (CLAUDE.md, rules, auto memory)</li>
<li><a href="https://code.claude.com/docs/en/skills">Claude Code skills</a></li>
<li><a href="https://code.claude.com/docs/en/hooks">Claude Code hooks</a></li>
<li><a href="../../posts/2026-02-02-claude-code-permissions/">Claude Code Permissions and Sandboxing</a> (the other half of the configuration story)</li>
</ul>


</section>

 ]]></description>
  <category>TIL</category>
  <category>claude-code</category>
  <category>tools</category>
  <guid>https://antisimplistic.com/posts/2026-01-02-til-claude-code-instructions/</guid>
  <pubDate>Fri, 02 Jan 2026 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2026-01-02-til-claude-code-instructions/thumbnail.png" medium="image" type="image/png" height="72" width="144"/>
</item>
<item>
  <title>TIL: direnv for Project-Specific Secrets</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2025-11-09-til-direnv/</link>
  <description><![CDATA[ 





<section id="the-problem" class="level2">
<h2 class="anchored" data-anchor-id="the-problem">The Problem</h2>
<p>I needed an <code>ADMIN_TOKEN</code> available in my terminal for production monitoring commands. I didn’t want to:</p>
<ul>
<li>Export it inline before each command (clumsy, exposes secrets in LLM chat histories)</li>
<li>Write wrapper scripts/aliases that set it (adds complexity)</li>
<li>Set it globally in <code>~/.zshrc</code> (always loaded, pollutes environment)</li>
<li>Store it in <code>.env</code> (unused until explicitly loaded by an application or script)</li>
</ul>
<p>I wanted project-specific secrets that auto-load when I enter the directory and disappear when I leave. That’s <a href="https://direnv.net/">direnv</a>.</p>
</section>
<section id="what-is-direnv" class="level2">
<h2 class="anchored" data-anchor-id="what-is-direnv">What is direnv?</h2>
<p><code>direnv</code> auto-loads and unloads environment variables based on your current directory. It’s the standard solution for project-specific configuration like API keys and tokens.</p>
<section id="setup" class="level3">
<h3 class="anchored" data-anchor-id="setup">Setup</h3>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb1-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># macOS</span></span>
<span id="cb1-2"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">brew</span> install direnv</span>
<span id="cb1-3"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Add to ~/.zshrc (one-time)</span></span>
<span id="cb1-4"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">echo</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">'eval "$(direnv hook zsh)"'</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&gt;&gt;</span> ~/.zshrc</span>
<span id="cb1-5"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">source</span> ~/.zshrc</span></code></pre></div></div>
</section>
<section id="my-workflow" class="level3">
<h3 class="anchored" data-anchor-id="my-workflow">My Workflow</h3>
<ol type="1">
<li>Create .envrc in project root:</li>
</ol>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb2" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb2-1"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">cd</span> my-project</span>
<span id="cb2-2"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Note: this puts the secret in shell history - use an editor for real credentials</span></span>
<span id="cb2-3"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">echo</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">'export ADMIN_TOKEN="my_super_secure_token"'</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&gt;</span> .envrc</span></code></pre></div></div>
<ol start="2" type="1">
<li>Allow direnv to load it:</li>
</ol>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb3" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb3-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">direnv</span> allow</span></code></pre></div></div>
<ol start="3" type="1">
<li>Use the variable:</li>
</ol>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb4" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb4-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">curl</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-H</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"X-Admin-Token: </span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$ADMIN_TOKEN</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span> https://api.example.com</span>
<span id="cb4-2"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">./scripts/preflight_check.sh</span>  <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># ADMIN_TOKEN automatically available</span></span></code></pre></div></div>
<ol start="4" type="1">
<li>Leave directory - variable disappears:</li>
</ol>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb5" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb5-1"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">cd</span> ~</span>
<span id="cb5-2"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">echo</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$ADMIN_TOKEN</span>  <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># (empty)</span></span></code></pre></div></div>
<p><code>direnv</code> won’t auto-run untrusted <code>.envrc</code> files - you must explicitly direnv allow each one after reviewing its contents.</p>
<div class="callout callout-style-default callout-warning callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Warning
</div>
</div>
<div class="callout-body-container callout-body">
<p>Always add <code>.envrc</code> and <code>.env</code> to <code>.gitignore</code> - <em>never</em> commit secrets.</p>
</div>
</div>
</section>
<section id="common-use-cases" class="level3">
<h3 class="anchored" data-anchor-id="common-use-cases">Common Use Cases</h3>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb6" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb6-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># .envrc</span></span>
<span id="cb6-2"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># API keys and tokens</span></span>
<span id="cb6-3"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">export</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">OPENAI_API_KEY</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"sk-definitely_not_my_real_key"</span></span>
<span id="cb6-4"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Database credentials</span></span>
<span id="cb6-5"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">export</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">DATABASE_URL</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"postgresql://admin:my_super_secure_password@localhost/mydb"</span></span>
<span id="cb6-6"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># App configuration</span></span>
<span id="cb6-7"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">export</span> <span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">FLASK_ENV</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"development"</span></span></code></pre></div></div>
<div class="callout callout-style-default callout-tip callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Tip
</div>
</div>
<div class="callout-body-container callout-body">
<p>For a stronger approach that eliminates plaintext secrets entirely, see <a href="../../posts/2026-02-09-til-1password-cli/">1Password CLI for Developer Secrets</a> - <code>op read</code> slots right into <code>.envrc</code> files.</p>
</div>
</div>
</section>
</section>
<section id="resources" class="level2">
<h2 class="anchored" data-anchor-id="resources">Resources</h2>
<ul>
<li><a href="https://direnv.net/">direnv</a></li>
<li><a href="https://direnv.net/docs/installation.html">direnv installation</a></li>
<li><a href="https://direnv.net/man/direnv-stdlib.1.html">direnv stdlib</a> (<code>layout python</code>, <code>dotenv</code>, <code>PATH_add</code>, and more)</li>
</ul>


</section>

 ]]></description>
  <category>TIL</category>
  <category>shell</category>
  <category>devops</category>
  <guid>https://antisimplistic.com/posts/2025-11-09-til-direnv/</guid>
  <pubDate>Sun, 09 Nov 2025 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2025-11-09-til-direnv/thumbnail.png" medium="image" type="image/png" height="72" width="144"/>
</item>
<item>
  <title>TIL: Jupytext + MyST for MD ↔︎ Jupyter Notebooks</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2025-11-02-til-jupytext/</link>
  <description><![CDATA[ 





<section id="the-problem" class="level2">
<h2 class="anchored" data-anchor-id="the-problem">The Problem</h2>
<p>I leverage LLMs like Claude and Cursor when generating lecture materials. They accelerate my work and help improve the end product with better sample code, etc. But all of those tools still struggle when creating / editing Jupyter notebooks, which is my medium of choice for this work. They can do it, but it is often a slow, cumbersome, more error-prone process. They sometimes resort to writing Python scripts to generate JSON that the <code>ipynb</code> format is based on. It is rapidly improving but not ideal.</p>
<p>But they <em>do</em> know markdown really well, so I went looking for a <code>md</code> to <code>ipynb</code> converter, and found… <a href="https://jupytext.readthedocs.io/">Jupytext</a>!</p>
<p>I’m now able to easily round-trip markdown to ipynb and back, iteratively collaborating with my LLM of choice (#claude-boi).</p>
</section>
<section id="what-is-jupytext" class="level2">
<h2 class="anchored" data-anchor-id="what-is-jupytext">What is JupyText?</h2>
<p>Jupytext is a sort of swiss army knife for Jupyter notebooks. It converts them to and from plain text formats like Markdown, Python scripts, and R Markdown. It’s bidirectional and structure-preserving - unlike <code>nbconvert</code> (which is a one-way trip), or Pandoc (which can convert notebooks but doesn’t support the MyST format or paired file syncing). Think of it as filling the gap between notebook-first tools (Jupyter) and text-first tools (Quarto, RMarkdown, your text editor).</p>
<section id="installation" class="level3">
<h3 class="anchored" data-anchor-id="installation">Installation</h3>
<p>For use as a CLI-only tool, <a href="https://docs.astral.sh/uv/guides/tools/">uvx</a> is all you need. No install required. Just prefix any of the Jupytext commands that follow with <code>uvx</code> and you are good to go. For example, <code>uvx jupytext --to ipynb lecture.md</code>.</p>
</section>
<section id="my-round-trip-workflow" class="level3">
<h3 class="anchored" data-anchor-id="my-round-trip-workflow">My Round-Trip Workflow</h3>
<p>You can start at any point in this process.</p>
<ol type="1">
<li>Generate <code>lecture.md</code></li>
<li>Convert: <code>jupytext --to ipynb lecture.md</code></li>
<li>Edit/execute in Jupyter</li>
<li>Convert back: <code>jupytext lecture.ipynb --to md:myst</code></li>
<li>Send updated <code>.md</code> to AI for refinements</li>
<li>Repeat</li>
</ol>
<p>With Section&nbsp;6 set up, step 4 is handled automatically.</p>
</section>
</section>
<section id="the-format" class="level2">
<h2 class="anchored" data-anchor-id="the-format">The Format</h2>
<p>It’s markdown with some bells and whistles.</p>
<section id="frontmatter-myst-format" class="level3">
<h3 class="anchored" data-anchor-id="frontmatter-myst-format">Frontmatter (MyST format)</h3>
<p>Include frontmatter in your <code>md</code> file to specify how Jupytext should handle conversion. Note that we’re using the <code>myst</code> format…</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode markdown code-with-copy"><code class="sourceCode markdown"><span id="cb1-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">---</span></span>
<span id="cb1-2"><span class="an" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">jupytext:</span></span>
<span id="cb1-3"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">  text_representation:</span></span>
<span id="cb1-4"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">    extension: .md</span></span>
<span id="cb1-5"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">    format_name: myst</span></span>
<span id="cb1-6"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">---</span></span></code></pre></div></div>
<p>Why MyST<sup>1</sup>? It’s markdown-native and explicitly distinguishes executable code cells (<code>{code-cell}</code>) from markdown code blocks, preventing AI confusion. You can include other information here, like which IPYNB kernel to use, but I find the four lines above are sufficient.</p>
</section>
<section id="code-cells" class="level3">
<h3 class="anchored" data-anchor-id="code-cells">Code Cells</h3>
<p>Use fenced code blocks with the <code>{code-cell}</code> directive:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb2" style="background: #f1f3f5;"><pre class="sourceCode markdown code-with-copy"><code class="sourceCode markdown"><span id="cb2-1"><span class="in" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">```{code-cell} ipython3</span></span>
<span id="cb2-2">import pandas as pd</span>
<span id="cb2-3">import numpy as np</span>
<span id="cb2-4"></span>
<span id="cb2-5">df <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> pd<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">.</span>DataFrame<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">({</span><span class="ch" style="color: #20794D;
background-color: null;
font-style: inherit;">'x'</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">:</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">[</span><span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">1</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">2</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">3</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">]})</span></span>
<span id="cb2-6"><span class="in" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">```</span></span></code></pre></div></div>
</section>
<section id="force-cell-boundaries" class="level3">
<h3 class="anchored" data-anchor-id="force-cell-boundaries">Force Cell Boundaries</h3>
<p>Use <code>+++</code> on its own line to force cell boundaries. I prefer to do this before and after all headers to put them in their own cell. This is because JupyterLab’s heading collapse does not hide body text in the same cell as the heading, just cells below it.</p>
</section>
</section>
<section id="my-ai-prompt-template" class="level2">
<h2 class="anchored" data-anchor-id="my-ai-prompt-template">My AI Prompt Template</h2>
<p>When asking an AI to generate jupytext-ready content, I’ll include something like this to specify Jupytext related details.</p>
<pre class="text"><code>Format requirements:

- Use MyST-flavored jupytext with this frontmatter:
  ---
  jupytext:
    text_representation:
      extension: .md
      format_name: myst
  ---

Differentiate code that should be executable (have a run button) from those that
are only documentation (python formatted code blocks in markdown cells) by adding
`{code-cell} ipython3` after the opening triple-backticks on any code block.

Also, please use +++ BEFORE and AFTER ALL headers to put each in a separate cell</code></pre>
<p>Other formatting preferences (no bold in lists, blank lines before code blocks, etc.) are handled by a <a href="../../posts/2026-01-02-til-claude-code-instructions/">Claude Code rules file</a> that auto-loads when editing markdown.</p>
<p>This gives me clean, immediately-convertible markdown.</p>
</section>
<section id="converting-with-jupytext" class="level2">
<h2 class="anchored" data-anchor-id="converting-with-jupytext">Converting with Jupytext</h2>
<p>Manual conversion is as easy as…</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb4" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb4-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Markdown to notebook (--update preserves existing cell outputs)</span></span>
<span id="cb4-2"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">jupytext</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--to</span> ipynb <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--update</span> lecture.md</span>
<span id="cb4-3"></span>
<span id="cb4-4"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Notebook back to markdown (for AI refinement)</span></span>
<span id="cb4-5"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">jupytext</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--to</span> md:myst lecture.ipynb</span></code></pre></div></div>
</section>
<section id="sec-syncing" class="level2">
<h2 class="anchored" data-anchor-id="sec-syncing">Syncing MD and IPYNB</h2>
<p>If you want to get fancy, do the following…</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb5" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb5-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Sync pair (auto-update both) - advanced</span></span>
<span id="cb5-2"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">jupytext</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--set-formats</span> md:myst,ipynb lecture.ipynb</span></code></pre></div></div>
<p>After that every time you save either file in Jupyter, both are generated. Perfect for the round-trip workflow.</p>
<p>For sync-on-save to work, Jupytext must be installed as a Jupyter server extension - not just as a CLI tool. Install it in the same environment as Jupyter itself. Pick your poison, <code>pip</code>, <code>conda</code>, or <code>uv</code> to update your venv accordingly.</p>
<p>In practice, I set up syncing on every lecture project now and rarely run manual conversions.</p>
</section>
<section id="resources" class="level2">
<h2 class="anchored" data-anchor-id="resources">Resources</h2>
<ul>
<li><a href="https://jupytext.readthedocs.io/">Jupytext docs</a></li>
<li><a href="https://jupytext.readthedocs.io/en/latest/formats.html#myst-markdown">MyST format guide</a></li>
<li><a href="https://mystmd.org/">MyST Markdown docs</a> (full publishing features)</li>
</ul>


</section>


<div id="quarto-appendix" class="default"><section id="footnotes" class="footnotes footnotes-end-of-document"><h2 class="anchored quarto-appendix-heading">Footnotes</h2>

<ol>
<li id="fn1"><p>MyST Markdown is a powerful publishing system. Similar to Quarto / RMarkdown, it supports cross-references, figure numbering, citations, admonitions (aka callouts), etc. Jupytext provides tools to connect those ecosystems. For example, you can <a href="https://jupytext.readthedocs.io/en/latest/formats-markdown.html#quarto">edit Quarto</a> (<code>.qmd</code>) documents as notebooks in Jupyter, and pair <code>.ipynb</code> notebooks with <code>.qmd</code> notebooks. For lecture notebooks, you only need the basics shown here. But if you want more, MyST scales up.↩︎</p></li>
</ol>
</section></div> ]]></description>
  <category>TIL</category>
  <category>jupyter</category>
  <category>markdown</category>
  <guid>https://antisimplistic.com/posts/2025-11-02-til-jupytext/</guid>
  <pubDate>Sun, 02 Nov 2025 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2025-11-02-til-jupytext/thumbnail.png" medium="image" type="image/png" height="72" width="144"/>
</item>
<item>
  <title>Clean TeX Setup on macOS</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2025-10-26-tex-setup/</link>
  <description><![CDATA[ 





<section id="context" class="level2">
<h2 class="anchored" data-anchor-id="context">Context</h2>
<p>I regularly use Quarto and pandoc for converting markdown to PDF, but just got a new Mac. Time to set up the TeX ecosystem properly from scratch.</p>
</section>
<section id="installing-basictex" class="level2">
<h2 class="anchored" data-anchor-id="installing-basictex">Installing BasicTeX</h2>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb1-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">brew</span> install <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--cask</span> basictex</span></code></pre></div></div>
<p>Why BasicTeX instead of MacTeX?</p>
<ul>
<li>Size: ~90MB vs 4GB</li>
<li>Sufficient: provides the TeX engines and package manager needed for pandoc/Quarto</li>
<li>Focused: avoids GUI apps and specialized packages I don’t need</li>
</ul>
<p>Why Homebrew instead of Quarto’s TinyTeX?</p>
<ul>
<li>System-wide: both pandoc and Quarto share the same installation</li>
<li>No duplication: single install vs.&nbsp;multiple TeX distributions</li>
<li>PATH simplicity: Homebrew handles it automatically</li>
</ul>
<p>After installation, refresh your PATH and update the package manager:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb2" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb2-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Refresh PATH to find new TeX binaries</span></span>
<span id="cb2-2"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">eval</span> <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">$(</span><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">/usr/libexec/path_helper</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">)</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"</span></span>
<span id="cb2-3"></span>
<span id="cb2-4"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Update the TeX package manager</span></span>
<span id="cb2-5"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">sudo</span> tlmgr update <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--self</span></span>
<span id="cb2-6"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">sudo</span> tlmgr update <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--all</span></span>
<span id="cb2-7"></span>
<span id="cb2-8"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Set reliable mirror</span></span>
<span id="cb2-9"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">sudo</span> tlmgr option repository ctan</span></code></pre></div></div>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Note
</div>
</div>
<div class="callout-body-container callout-body">
<p><code>brew upgrade</code> updates the BasicTeX distribution itself (released annually). Individual TeX packages are updated separately with <code>sudo tlmgr update --all</code>.</p>
</div>
</div>
</section>
<section id="adding-packages" class="level2">
<h2 class="anchored" data-anchor-id="adding-packages">Adding Packages</h2>
<p>BasicTeX is minimal by design. You will need to install additional packages as you go. Start with what pandoc needs for syntax highlighting and code block line wrapping:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb3" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb3-1"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">sudo</span> tlmgr install framed fvextra</span></code></pre></div></div>
<p>You will likely hit missing-package errors as your documents grow more complex. They look like this:</p>
<pre class="text"><code>! LaTeX Error: File 'bookmark.sty' not found.</code></pre>
<p>The <code>.sty</code> filename tells you what to install. The fix is always the same:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb5" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb5-1"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">sudo</span> tlmgr install bookmark</span></code></pre></div></div>
<p>Common additions include <code>bookmark</code>, <code>upquote</code>, <code>xurl</code>, and <code>microtype</code>. Install them as errors arise rather than trying to anticipate everything up front.</p>
</section>
<section id="pandoc-configuration" class="level2">
<h2 class="anchored" data-anchor-id="pandoc-configuration">Pandoc Configuration</h2>
<section id="use-lualatex-not-pdflatex" class="level3">
<h3 class="anchored" data-anchor-id="use-lualatex-not-pdflatex">Use lualatex, Not pdflatex</h3>
<p>Use <code>lualatex</code> as the PDF engine:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb6" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb6-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">--pdf-engine=lualatex</span></span></code></pre></div></div>
<p>Why?</p>
<ul>
<li>Native Unicode support (Latin Extended, box-drawing characters, common symbols)</li>
<li>System font access on macOS</li>
<li>Better microtypography support via the <code>microtype</code> package</li>
<li>Recommended by the LaTeX Project for all new documents</li>
</ul>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Note
</div>
</div>
<div class="callout-body-container callout-body">
<p>TeX engines handle Latin scripts and common symbols well, but struggle with CJK, Arabic, and emoji. If your documents need broad Unicode coverage, consider <a href="https://typst.app/">Typst</a> as a PDF engine instead - pandoc supports it via <code>--pdf-engine=typst</code>, and it handles emoji and full Unicode natively.</p>
</div>
</div>
<p><code>xelatex</code> also handles Unicode and system fonts, but <code>lualatex</code> is the current standard and what Quarto defaults to as of v1.8.</p>
</section>
<section id="code-block-line-wrapping" class="level3">
<h3 class="anchored" data-anchor-id="code-block-line-wrapping">Code Block Line Wrapping</h3>
<p>Create <code>header.tex</code> for automatic code wrapping:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb7" style="background: #f1f3f5;"><pre class="sourceCode latex code-with-copy"><code class="sourceCode latex"><span id="cb7-1"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">\usepackage</span>{<span class="ex" style="color: null;
background-color: null;
font-style: inherit;">fvextra</span>}</span>
<span id="cb7-2"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">\DefineVerbatimEnvironment</span>{Highlighting}{Verbatim}{</span>
<span id="cb7-3">  breaklines,</span>
<span id="cb7-4">  breakanywhere,</span>
<span id="cb7-5">  breaksymbol=,</span>
<span id="cb7-6">  commandchars=<span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">\\\{\}</span></span>
<span id="cb7-7">}</span></code></pre></div></div>
<p>Without this, long commands, URLs, or code lines overflow page margins. This wraps them while preserving syntax highlighting.</p>
</section>
<section id="complete-pandoc-command" class="level3">
<h3 class="anchored" data-anchor-id="complete-pandoc-command">Complete Pandoc Command</h3>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb8" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb8-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">pandoc</span> document.md <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-o</span> document.pdf <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">\</span></span>
<span id="cb8-2">  <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--pdf-engine</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span>lualatex <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">\</span></span>
<span id="cb8-3">  <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--syntax-highlighting</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span>tango <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">\</span></span>
<span id="cb8-4">  <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-V</span> geometry:margin=1in <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">\</span></span>
<span id="cb8-5">  <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-V</span> fontsize=11pt <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">\</span></span>
<span id="cb8-6">  <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-V</span> colorlinks=true <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">\</span></span>
<span id="cb8-7">  <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-V</span> linkcolor=blue <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">\</span></span>
<span id="cb8-8">  <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-V</span> urlcolor=blue <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">\</span></span>
<span id="cb8-9">  <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-V</span> mainfont=<span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Palatino"</span> <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">\</span></span>
<span id="cb8-10">  <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-V</span> monofont=<span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Menlo"</span> <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">\</span></span>
<span id="cb8-11">  <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--include-in-header</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span>header.tex</span></code></pre></div></div>
<p>Design choices:</p>
<ul>
<li><code>lualatex</code>: Unicode and system font support</li>
<li><code>Palatino</code>: ships with macOS, immediately distinguishable from the default LaTeX look. Alternatives: Georgia, Baskerville, Charter</li>
<li><code>tango</code>: clean syntax highlighting (alternatives: pygments, kate, espresso)</li>
<li>1in margins: standard, readable</li>
<li>11pt font: more readable than default 10pt</li>
<li>Colored links: better UX than boxed links</li>
<li>Menlo monospace: native macOS font with good Unicode coverage</li>
<li><code>header.tex</code>: enables code wrapping</li>
</ul>
<p>For common conversions, save this as an executable script or alias.</p>
</section>
</section>
<section id="quarto-configuration" class="level2">
<h2 class="anchored" data-anchor-id="quarto-configuration">Quarto Configuration</h2>
<p>For Quarto projects, the same settings go in YAML front matter instead of command-line flags:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb9" style="background: #f1f3f5;"><pre class="sourceCode yaml code-with-copy"><code class="sourceCode yaml"><span id="cb9-1"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">format</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">:</span></span>
<span id="cb9-2"><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">  </span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">pdf</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">:</span></span>
<span id="cb9-3"><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">    </span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">pdf-engine</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">:</span><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;"> lualatex</span></span>
<span id="cb9-4"><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">    </span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">highlight-style</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">:</span><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;"> tango</span></span>
<span id="cb9-5"><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">    </span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">mainfont</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">:</span><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;"> </span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Palatino"</span></span>
<span id="cb9-6"><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">    </span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">monofont</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">:</span><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;"> </span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Menlo"</span></span>
<span id="cb9-7"><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">    </span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">fontsize</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">:</span><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;"> 11pt</span></span>
<span id="cb9-8"><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">    </span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">geometry</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">:</span><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;"> margin=1in</span></span>
<span id="cb9-9"><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">    </span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">colorlinks</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">:</span><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;"> </span><span class="ch" style="color: #20794D;
background-color: null;
font-style: inherit;">true</span></span>
<span id="cb9-10"><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">    </span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">linkcolor</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">:</span><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;"> blue</span></span>
<span id="cb9-11"><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">    </span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">urlcolor</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">:</span><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;"> blue</span></span>
<span id="cb9-12"><span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">    </span><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">include-in-header</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">:</span></span>
<span id="cb9-13"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">      text</span><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">: </span><span class="ch" style="color: #20794D;
background-color: null;
font-style: inherit;">|</span></span>
<span id="cb9-14">        \usepackage{fvextra}</span>
<span id="cb9-15">        \DefineVerbatimEnvironment{Highlighting}{Verbatim}{</span>
<span id="cb9-16">          breaklines,</span>
<span id="cb9-17">          breakanywhere,</span>
<span id="cb9-18">          breaksymbol=,</span>
<span id="cb9-19">          commandchars=\\\{\}</span>
<span id="cb9-20">        }</span></code></pre></div></div>
<p>Quarto defaults to <code>lualatex</code> as of v1.8, so the <code>pdf-engine</code> line is optional but explicit.</p>
</section>
<section id="troubleshooting" class="level2">
<h2 class="anchored" data-anchor-id="troubleshooting">Troubleshooting</h2>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb10" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb10-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Check TeX is found</span></span>
<span id="cb10-2"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">which</span> lualatex</span>
<span id="cb10-3"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Should show: /Library/TeX/texbin/lualatex</span></span>
<span id="cb10-4"></span>
<span id="cb10-5"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Check engine version</span></span>
<span id="cb10-6"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">lualatex</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--version</span></span>
<span id="cb10-7"></span>
<span id="cb10-8"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Quarto should auto-detect it</span></span>
<span id="cb10-9"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">quarto</span> check</span></code></pre></div></div>
</section>
<section id="resources" class="level2">
<h2 class="anchored" data-anchor-id="resources">Resources</h2>
<ul>
<li><a href="https://quarto.org/docs/output-formats/pdf-engine.html">Quarto PDF Engines</a></li>
<li><a href="https://quarto.org/docs/output-formats/pdf-basics.html">Quarto PDF Basics</a> (YAML configuration reference)</li>
<li><a href="https://www.tug.org/mactex/morepackages.html">TUG BasicTeX</a></li>
<li><a href="../../posts/2025-10-10-til-decktape/">Decktape for PDF Exports from Reveal.js</a> (for presentation handouts instead of documents)</li>
</ul>


</section>

 ]]></description>
  <category>tools</category>
  <category>presentations</category>
  <category>quarto</category>
  <guid>https://antisimplistic.com/posts/2025-10-26-tex-setup/</guid>
  <pubDate>Sun, 26 Oct 2025 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2025-10-26-tex-setup/thumbnail.png" medium="image" type="image/png" height="72" width="144"/>
</item>
<item>
  <title>TIL: Decktape for High-Quality PDF Exports from Reveal.js</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2025-10-10-til-decktape/</link>
  <description><![CDATA[ 





<section id="the-problem" class="level2">
<h2 class="anchored" data-anchor-id="the-problem">The Problem</h2>
<p>I needed PDF versions of my Reveal.js slide decks - for student handouts and accessibility. The slides look great in the browser, but getting them into PDF is surprisingly painful.</p>
<p>Reveal.js has a built-in export: append <code>?print-pdf</code> to the URL, then use Chrome’s print dialog. In practice, this means manually setting landscape orientation, zero margins, and enabling background graphics every time. Miss one setting and the output is broken. Even when you get it right, slides overlap, content splits after titles instead of fitting the page, and it only works reliably in Chrome.</p>
<p>Quarto doesn’t help either - there’s no <code>quarto render --to pdf</code> for revealjs format. The official guidance is the same manual browser workflow. There’s an <a href="https://github.com/quarto-dev/quarto-cli/issues/4677">open issue</a> requesting better tooling, filed under “Future” with no timeline.</p>
<p>I needed something automatable that captures slides as they actually appear.</p>
</section>
<section id="the-solution-decktape" class="level2">
<h2 class="anchored" data-anchor-id="the-solution-decktape">The Solution: Decktape</h2>
<p><a href="https://github.com/astefanutti/decktape">Decktape</a> takes a different approach entirely. Instead of relying on a print stylesheet, it drives a headless Chrome instance, navigates through each slide, and captures them individually as PDF pages. What the browser renders is what you get.</p>
<section id="install" class="level3">
<h3 class="anchored" data-anchor-id="install">Install</h3>
<p>No install required - <code>npx</code> runs it directly (like <code>uvx</code> for Python tools):</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb1-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">npx</span> decktape <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&lt;</span>url<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&gt;</span> output.pdf</span></code></pre></div></div>
<p>If you use it often enough to want it permanent:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb2" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb2-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">npm</span> install <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-g</span> decktape</span></code></pre></div></div>
</section>
<section id="use" class="level3">
<h3 class="anchored" data-anchor-id="use">Use</h3>
<p>Point it at any URL serving a presentation:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb3" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb3-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">decktape</span> https://example.com/slides output.pdf</span></code></pre></div></div>
<p>Decktape auto-detects Reveal.js (and other frameworks) so you don’t need to specify a plugin. No print dialog, no manual settings.</p>
<p>For local development with Quarto:</p>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb4" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb4-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Start your presentation (note the port in the output)</span></span>
<span id="cb4-2"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">quarto</span> preview presentation.qmd</span>
<span id="cb4-3"></span>
<span id="cb4-4"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># In another terminal</span></span>
<span id="cb4-5"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">decktape</span> http://localhost:4567/presentation.html output.pdf</span></code></pre></div></div>
</section>
</section>
<section id="why-its-better" class="level2">
<h2 class="anchored" data-anchor-id="why-its-better">Why It’s Better</h2>
<ul>
<li>Captures exactly what the browser renders - styling, margins, and aspect ratio are preserved</li>
<li>Scriptable: no manual print dialog, works in CI</li>
<li>Control over output resolution via <code>--size</code> (the print stylesheet gives you no such option)</li>
<li>Works in headless environments where there’s no browser to click through</li>
</ul>
</section>
<section id="useful-options" class="level2">
<h2 class="anchored" data-anchor-id="useful-options">Useful Options</h2>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb5" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb5-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Specify output resolution (default is 1280x720)</span></span>
<span id="cb5-2"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">decktape</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--size</span> 1920x1080 http://localhost:4567/presentation.html output.pdf</span>
<span id="cb5-3"></span>
<span id="cb5-4"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Add pause between slides for heavy renders (Mermaid diagrams, etc.)</span></span>
<span id="cb5-5"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">decktape</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--pause</span> 2000 http://localhost:4567/presentation.html output.pdf</span>
<span id="cb5-6"></span>
<span id="cb5-7"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Export specific slides</span></span>
<span id="cb5-8"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">decktape</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">--slides</span> 1-10 http://localhost:4567/presentation.html output.pdf</span></code></pre></div></div>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Note
</div>
</div>
<div class="callout-body-container callout-body">
<p>Fragments (incremental builds) are collapsed by default - each slide renders with all fragments visible. To get one page per fragment step, append <code>?fragments=true</code> to the URL.</p>
</div>
</div>
</section>
<section id="beyond-your-own-slides" class="level2">
<h2 class="anchored" data-anchor-id="beyond-your-own-slides">Beyond Your Own Slides</h2>
<p>Decktape works on any URL serving a supported presentation framework - not just your own. Useful for archiving conference talks, saving training materials, or capturing content that’s hard to get otherwise.</p>
</section>
<section id="resources" class="level2">
<h2 class="anchored" data-anchor-id="resources">Resources</h2>
<ul>
<li><a href="https://github.com/astefanutti/decktape">Decktape GitHub</a></li>
<li><a href="https://quarto.org/docs/presentations/revealjs/presenting.html">Quarto Reveal.js presenting guide</a> (includes the manual PDF export workflow)</li>
<li><a href="https://github.com/quarto-dev/quarto-cli/issues/4677">Quarto issue #4677</a> - native PDF export tooling request</li>
<li><a href="../../posts/2025-10-26-tex-setup/">Clean TeX Setup on macOS</a> (for document PDFs instead of presentation PDFs)</li>
</ul>


</section>

 ]]></description>
  <category>TIL</category>
  <category>tools</category>
  <category>presentations</category>
  <category>quarto</category>
  <guid>https://antisimplistic.com/posts/2025-10-10-til-decktape/</guid>
  <pubDate>Fri, 10 Oct 2025 00:00:00 GMT</pubDate>
  <media:content url="https://antisimplistic.com/posts/2025-10-10-til-decktape/thumbnail.png" medium="image" type="image/png" height="72" width="144"/>
</item>
<item>
  <title>Why Antisimplistic</title>
  <dc:creator>Dan O&#39;Leary</dc:creator>
  <link>https://antisimplistic.com/posts/2025-10-03-why-antisimplistic/</link>
  <description><![CDATA[ 





<section id="why-antisimplistic" class="level1">
<h1>Why <em>Antisimplistic</em></h1>
<p>I’ve been using this handle for almost 30 years. It emerged from frustration - the productive kind.</p>
<p>I was working with my business partner and friend.<sup>1</sup> Our roles boiled down to this: he was business development, I was production. Classic setup, familiar tension. He’d make promises; I’d have to figure out how to keep them. When I’d explain why something was harder than it looked, I’d get “you’re overcomplicating this!” When he’d pitch a quick fix, I’d think “you don’t get it!”</p>
<p>We were both partially right. I do embrace complexity, and he did prioritize results. The reason our business worked was because we trusted one another enough to have vigorous debate. Constructive conflict, they call it, and it is essential.</p>
<p>But I could never shake the feeling that “overcomplicating” was the wrong frame. Often things <em>are</em> complicated. Sometimes the elegant solution requires wrestling with that complexity rather than dismissing it.</p>
<p>So: <em>Antisimplistic</em>. The only real opposite of “overcomplicating” I could come up with. I’ve not since found a better word for it. One may exist, but it’s not nearly as catchy, and the domain name is almost certainly taken.</p>
<p>Not <em>anti-simplicity</em>, and not a license for overengineering. Antisimplistic is a reminder that simplicity should come from <em>rigor</em>, not <em>reduction</em>. That the world doesn’t owe us simple answers, and hard problems are the ones most worth solving. That true understanding comes when complexity can be distilled honestly.</p>
<blockquote class="blockquote">
<p>There are no shortcuts to understanding.</p>
</blockquote>
<p>That’s my stance, and it shapes everything I do. How I build, teach, write, live.</p>


</section>


<div id="quarto-appendix" class="default"><section id="footnotes" class="footnotes footnotes-end-of-document"><h2 class="anchored quarto-appendix-heading">Footnotes</h2>

<ol>
<li id="fn1"><p>We both did a mix of dumb and (arguably) great things, and Erick was one of the smartest, most driven people I’ve ever known. Don’t take this as a slight to him or elevation of my position. I’m not judging.↩︎</p></li>
</ol>
</section></div> ]]></description>
  <category>about</category>
  <category>meta</category>
  <guid>https://antisimplistic.com/posts/2025-10-03-why-antisimplistic/</guid>
  <pubDate>Fri, 03 Oct 2025 00:00:00 GMT</pubDate>
</item>
</channel>
</rss>
