<?xml version="1.0" encoding="utf-8" standalone="yes"?><?xml-stylesheet type="text/xsl" href="https://perrotta.dev/rss.xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Bestof on ¬ just serendipity 🍀</title>
    <link>https://perrotta.dev/</link>
    <description>Recent content in Bestof on ¬ just serendipity 🍀</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <managingEditor>serendipity@perrotta.dev (Thiago Perrotta)</managingEditor>
    <webMaster>serendipity@perrotta.dev (Thiago Perrotta)</webMaster>
    <copyright>© 2013 - 2026 Thiago Perrotta ·
  a fork of [hugo ʕ•ᴥ•ʔ bear](https://github.com/janraasch/hugo-bearblog/)
</copyright>
    <lastBuildDate>Wed, 30 Sep 2026 11:38:04 +0200</lastBuildDate>
    <atom:link href="https://perrotta.dev/tags/bestof/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>★ Goodbye
      </title>
      <link>https://perrotta.dev/2026/09/goodbye/</link>
      <pubDate>Wed, 30 Sep 2026 11:32:43 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>bestof</category>
      <category>dev</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/09/goodbye/</guid>
      <description>&lt;p&gt;♠ Today is my last day at &lt;a href=&#34;http://tulip.co/&#34;&gt;Tulip&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I should write about my experience sometime.&lt;/p&gt;&#xA;&lt;p&gt;For now, I&amp;rsquo;ll just say that I had a better experience here than in Google&#xA;Germany&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/09/goodbye/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Pull Request (PR) stats by year of PR creation:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;460 (2024)&lt;/li&gt;&#xA;&lt;li&gt;1,096 (2025)&lt;/li&gt;&#xA;&lt;li&gt;1,468 (2026 to date)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Clearly LLM assistance has significantly increased my throughput.&lt;/p&gt;&#xA;&lt;p&gt;Now it&amp;rsquo;s time to prepare for what&amp;rsquo;s coming next. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;By far.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/09/goodbye/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: Goodbye&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ git: diff against the default branch
      </title>
      <link>https://perrotta.dev/2026/08/git-diff-against-the-default-branch/</link>
      <pubDate>Mon, 31 Aug 2026 14:28:49 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>bestof</category>
      <category>dev</category>
      <category>git</category>
      <guid>https://perrotta.dev/2026/08/git-diff-against-the-default-branch/</guid>
      <description>&lt;p&gt;♠ &lt;strong&gt;Problem statement&lt;/strong&gt;: create a git alias / script to diff against the default&#xA;upstream branch, inspired by chromium &lt;a href=&#34;https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/git-upstream-diff.html&#34;&gt;&lt;code&gt;depot_tools(7)&lt;/code&gt;&lt;/a&gt;&#xA;&lt;code&gt;git-upstream-diff(1)&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;git-upstream-diff — Print a diff of the current branch, compared to its&#xA;upstream.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I used to have an alias for it in 2024, but I did not have a reliable way at the&#xA;time to find whether a repository used &lt;code&gt;main&lt;/code&gt;, &lt;code&gt;master&lt;/code&gt;, or something else:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-ini&#34;&gt;udiff = !git diff $(git show-branch --merge-base HEAD 2&amp;gt;/dev/null)~1&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;It lasted one month (repository archeology FTW):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% git log --all --format=&amp;#39;%h %ad %s&amp;#39; --date=short --grep=udiff -i&#xA;da961f1 2026-08-31 git: restore udiff command&#xA;a4f13e9 2024-10-07 git: remove udiff&#xA;244ca3b 2024-09-02 git: add udiff alias&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://worktrunk.dev/&#34;&gt;Worktrunk&lt;/a&gt; now gives me what I always wanted:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% wt config state default-branch&#xA;master&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/2026/05/worktrunk/&#34;&gt;Previously&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;As git finds executables named &lt;code&gt;git-&amp;lt;command&amp;gt;&lt;/code&gt; on &lt;code&gt;PATH&lt;/code&gt;, the replacement is&#xA;a small script at &lt;code&gt;git/.bin/git-udiff&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;#!/bin/sh&#xA;#&#xA;# git-udiff - Show changes since the current branch diverged from the default branch&#xA;&#xA;set -e&#xA;&#xA;if [ &amp;#34;$(git rev-parse --is-inside-work-tree 2&amp;gt;/dev/null)&amp;#34; != &amp;#34;true&amp;#34; ]; then&#xA;  echo &amp;#34;Error: Not in a git repository&amp;#34;&#xA;  exit 1&#xA;fi&#xA;&#xA;default_branch=$(wt config state default-branch 2&amp;gt;/dev/null)&#xA;merge_base=$(git merge-base &amp;#34;$default_branch&amp;#34; HEAD)&#xA;&#xA;exec git diff &amp;#34;$merge_base&amp;#34; &amp;#34;$@&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Why a script instead of an alias? Because it is no longer a readable one-liner.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;git merge-base&lt;/code&gt; finds the divergence commit. Diffing from that commit without&#xA;an end revision includes committed, staged, and unstaged tracked changes.&#xA;Forwarding &lt;code&gt;&amp;quot;$@&amp;quot;&lt;/code&gt; keeps regular diff options and path filters working:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% git udiff --stat&#xA; claude/.claude/settings.json | 3 &amp;#43;&amp;#43;-&#xA; pi/.pi/agent/settings.json   | 2 &amp;#43;-&#xA; 2 files changed, 3 insertions(&amp;#43;), 2 deletions(-)&#xA;&#xA;% git udiff --name-only -- pi/.pi/agent/settings.json&#xA;pi/.pi/agent/settings.json&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The command is back, now based on repository state instead of a branch-name&#xA;guess:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% git show --stat --oneline da961f1&#xA;da961f1 git: restore udiff command&#xA; git/.bin/git-udiff | 15 &amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&#xA; 1 file changed, 15 insertions(&amp;#43;)&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;∎&lt;/p&gt;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: git: diff against the default branch&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/git/&#34;&gt;#git&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ TV Shows
      </title>
      <link>https://perrotta.dev/2026/08/tv-shows/</link>
      <pubDate>Mon, 31 Aug 2026 02:59:17 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>bestof</category>
      <category>bloggify</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/08/tv-shows/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://perrotta.dev/2026/08/books/&#34;&gt;Previously&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I added a &lt;a href=&#34;https://perrotta.dev/tv-shows/&#34;&gt;TV shows&lt;/a&gt; page with a sample of my favorites, inspired&#xA;by &lt;a href=&#34;https://michaelharley.net/watching/&#34;&gt;Michael Harley&amp;rsquo;s watching page&lt;/a&gt; and&#xA;&lt;a href=&#34;https://michael.stapelberg.ch/series/&#34;&gt;Michael Stapelberg&amp;rsquo;s series page&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The list lives in YAML. Trakt keeps my full watch history; this file stays&#xA;small, alphabetical, and intentionally incomplete:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-yaml&#34;&gt;shows:&#xA;  # keep-sorted start case=no by_regex=title:\s&amp;#43;&amp;#34;?([^&amp;#34;]&amp;#43;)&#xA;  - title: 13 Reasons Why&#xA;    years: 2017–2020&#xA;    seasons: 4&#xA;    url: https://www.themoviedb.org/tv/66788-13-reasons-why&#xA;    cover: https://media.themoviedb.org/t/p/w500/nel144y4dIOdFFid6twN5mAX9Yd.jpg&#xA;  - title: 3%&#xA;    years: 2016–2020&#xA;    seasons: 4&#xA;    url: https://www.themoviedb.org/tv/68467-3&#xA;    cover: https://media.themoviedb.org/t/p/w500/uLBJSLuAQ8UqLIKZVWG3uNEXwjt.jpg&#xA;  # keep-sorted end&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;A custom Hugo layout turns each record into a poster card. Show details and&#xA;posters come from &lt;a href=&#34;https://www.themoviedb.org/&#34;&gt;The Movie Database&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-go-html-template&#34;&gt;&amp;lt;div class=&amp;#34;tv-shows-grid&amp;#34;&amp;gt;&#xA;  {{- range $data.shows }}&#xA;  &amp;lt;div class=&amp;#34;tv-shows-item&amp;#34;&amp;gt;&#xA;    &amp;lt;a href=&amp;#34;{{ .url }}&amp;#34; title=&amp;#34;{{ .title }} ({{ .years }})&amp;#34;&amp;gt;&#xA;      &amp;lt;img class=&amp;#34;tv-shows-cover&amp;#34; src=&amp;#34;{{ .cover }}&amp;#34; alt=&amp;#34;Poster for {{ .title }}&amp;#34; loading=&amp;#34;lazy&amp;#34; decoding=&amp;#34;async&amp;#34; referrerpolicy=&amp;#34;no-referrer&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;tv-shows-item-title&amp;#34;&amp;gt;{{ .title }}&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/a&amp;gt;&#xA;    &amp;lt;div class=&amp;#34;tv-shows-item-meta&amp;#34;&amp;gt;&#xA;      {{ .years }} &amp;amp;middot; {{ .seasons }} {{ cond (eq .seasons 1) &amp;#34;season&amp;#34; &amp;#34;seasons&amp;#34; }}&#xA;    &amp;lt;/div&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;  {{- end }}&#xA;&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The data has a JSON schema, and the page now sits next to Books in the More&#xA;menu:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% git show --stat --oneline 97dc4bde16&#xA;97dc4bde16 add TV shows page&#xA;6 files changed, 305 insertions(&amp;#43;), 3 deletions(-)&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;TV show recommendations are almost always welcome. ∎&lt;/p&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: TV Shows&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bloggify/&#34;&gt;#bloggify&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ miniflux: add country flags to all feeds 🌐
      </title>
      <link>https://perrotta.dev/2026/08/miniflux-add-country-flags-to-all-feeds/</link>
      <pubDate>Fri, 28 Aug 2026 01:20:26 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>bestof</category>
      <category>dev</category>
      <category>selfhosted</category>
      <guid>https://perrotta.dev/2026/08/miniflux-add-country-flags-to-all-feeds/</guid>
      <description>&lt;p&gt;♠ &lt;strong&gt;Problem statement&lt;/strong&gt;: given my miniflux server with hundreds of RSS feed&#xA;subscriptions, add emoji country flags to each feed title, representing their&#xA;country of origin and/or the country they&amp;rsquo;re associated with&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/08/miniflux-add-country-flags-to-all-feeds/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Before&lt;/strong&gt;: Not Just Serendipity by Thiago Perrotta&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;After&lt;/strong&gt;: Not Just Serendipity by Thiago Perrotta 🇧🇷🇨🇦&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Some feeds may be identified with multiple flags. The distinction is purposely&#xA;loose.&lt;/p&gt;&#xA;&lt;p&gt;I started to do this tagging process manually, throughout several weeks, until I&#xA;exhausted the ones I knew about.&lt;/p&gt;&#xA;&lt;p&gt;The next natural step, in 2026, is to resort to Gen AI to finish the heavy&#xA;lifting, now that the initial pattern has been established.&lt;/p&gt;&#xA;&lt;p&gt;With my &lt;a href=&#34;https://perrotta.dev/2026/08/chatgpt-openai-codex-plan-usage/&#34;&gt;OpenAI Codex&lt;/a&gt; subscription and pi, I prompted away:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;User: List all prompts I ran in this session, bulleted list:&lt;/p&gt;&#xA;&lt;p&gt;Thinking: Listing all user prompt messages&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&amp;ldquo;Are you able to connect to my miniflux database in knol?&#xA;(ssh knol) Creds are in /etc/miniflux.conf in knol.&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;&amp;ldquo;Note that Alpine Linux uses doas, not sudo.&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;&amp;ldquo;Are you able to find my list of subscriptions / feeds? There&#xA;should be 687 of these.&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;&amp;ldquo;Observe that some feed titles have flags in them.&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;&amp;ldquo;I want to add a flag for the origin of each blog. Source a&#xA;few feeds lacking flags and suggest which flags to add.&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;&amp;ldquo;LGTM.&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;&amp;ldquo;Source 10–15 more blogs.&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;&amp;ldquo;LGTM.&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;&amp;ldquo;Write a blog post about this work using /bloggify.&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;&amp;ldquo;List all prompts I ran in this session, bulleted list.&amp;rdquo;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Here are a few interesting bits produced by the agent. Note that I run the&#xA;coding harness (&lt;code&gt;pi&lt;/code&gt;) from my laptop, not from my server. As such, all commands&#xA;that interact with the server do so via &lt;code&gt;ssh&lt;/code&gt;. This is good enough for my&#xA;purposes.&lt;/p&gt;&#xA;&lt;p&gt;Count all feeds:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% ssh knol &amp;#39;doas sh -c &amp;#39;\&amp;#39;&amp;#39;. /etc/miniflux.conf; psql &amp;#34;$DATABASE_URL&amp;#34; -X -Atqc &amp;#34;SELECT count(*) FROM feeds&amp;#34;&amp;#39;\&amp;#39;&amp;#39;&amp;#39;&#xA;687&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Some titles already followed the convention:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;780|37signals jobs 🇩🇰🇺🇸&#xA;818|A cup of coffee by Quentin JOLY 🇫🇷&#xA;1366|AI Engineer Guide 🇮🇳&#xA;562|Adam Gordon Bell: Cascade Of Insights 🇨🇦&#xA;916|Adam Johnson 🇬🇧&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;A pair of Unicode regional indicators forms a flag. Export the titles and&#xA;count those pairs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% ssh knol &amp;#39;doas sh -c &amp;#39;\&amp;#39;&amp;#39;. /etc/miniflux.conf; psql &amp;#34;$DATABASE_URL&amp;#34; -X -q -c \&#xA;  &amp;#34;COPY (SELECT id, title FROM feeds ORDER BY title) TO STDOUT WITH CSV&amp;#34;&amp;#39;\&amp;#39;&amp;#39;&amp;#39; | \&#xA;  python3 -c &amp;#39;import csv,sys,re; rows=list(csv.reader(sys.stdin)); p=re.compile(r&amp;#34;[\U0001F1E6-\U0001F1FF]{2}&amp;#34;); found=[(i,t,p.findall(t)) for i,t in rows if p.search(t)]; print(f&amp;#34;feeds_with_flags={len(found)} flags={sum(len(x[2]) for x in found)}&amp;#34;)&amp;#39;&#xA;feeds_with_flags=148 flags=158&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I did not infer origin from a name, domain, language, or current residence. Each&#xA;addition needed an explicit source. For example, &lt;a href=&#34;https://adactio.com/about/&#34;&gt;Jeremy&#xA;Keith&lt;/a&gt; says &amp;ldquo;I&amp;rsquo;m from Ireland originally&amp;rdquo;, &lt;a href=&#34;https://andregarzia.com/about.html&#34;&gt;Andre&#xA;Garzia&lt;/a&gt; says he is originally from Brazil,&#xA;and &lt;a href=&#34;https://shibumi.dev/about/&#34;&gt;Christian Rebischke&lt;/a&gt; describes himself as being&#xA;from Germany.&lt;/p&gt;&#xA;&lt;p&gt;The title itself is the metadata. Exact old-title guards made each update&#xA;idempotent and prevented an accidental edit to a renamed feed:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-sql&#34;&gt;BEGIN;&#xA;UPDATE feeds&#xA;SET title = &amp;#39;Christian Rebischke: shibumi 🇩🇪&amp;#39;&#xA;WHERE id = 207 AND title = &amp;#39;Christian Rebischke: shibumi&amp;#39;;&#xA;UPDATE feeds&#xA;SET title = &amp;#39;Adactio: Journal by Jeremy Keith 🇮🇪&amp;#39;&#xA;WHERE id = 1106 AND title = &amp;#39;Adactio: Journal by Jeremy Keith&amp;#39;;&#xA;UPDATE feeds&#xA;SET title = &amp;#39;Adactio: Articles by Jeremy Keith 🇮🇪&amp;#39;&#xA;WHERE id = 1107 AND title = &amp;#39;Adactio: Articles by Jeremy Keith&amp;#39;;&#xA;UPDATE feeds&#xA;SET title = &amp;#39;Andre Alves Garzia 🇧🇷&amp;#39;&#xA;WHERE id = 1481 AND title = &amp;#39;Andre Alves Garzia&amp;#39;;&#xA;COMMIT;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;BEGIN&#xA;UPDATE 1&#xA;UPDATE 1&#xA;UPDATE 1&#xA;UPDATE 1&#xA;COMMIT&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;A second sourced batch added 12 more titles. Compound origins stay compound:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;430|Burak Karakan: ps 🇩🇪🇹🇷&#xA;1022|Amjad Masad 🇯🇴🇺🇸&#xA;1076|Christopher Olah 🇨🇦&#xA;1100|Cognitive Medium by Michael Nielsen 🇦🇺🇺🇸&#xA;1174|Andrej Karpathy 🇸🇰🇨🇦&#xA;1489|Jeff Geerling 🇺🇸&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The same audit now reports:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;total=687&#xA;feeds_with_flags=164&#xA;flags=178&#xA;without_flags=523&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Only 523 to go.&lt;/p&gt;&#xA;&lt;p&gt;This is a practical excuse to tokenmaxx, eh?!&lt;/p&gt;&#xA;&lt;p&gt;Web searches are done with &lt;a href=&#34;https://github.com/thiagowfx/.dotfiles/tree/e6d1452118ad2b2c317545571fd0923519bf7a41/pi/.pi/agent/local/web-search&#34;&gt;pi-web-search&lt;/a&gt;. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;Why? Purely as a matter of context, and for an extra dose of serendipity&#xA;via diversity. For example, it&amp;rsquo;s often exciting to me to read posts from&#xA;other Canadians, for no particular reason.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/08/miniflux-add-country-flags-to-all-feeds/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: miniflux: add country flags to all feeds 🌐&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/selfhosted/&#34;&gt;#selfhosted&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ Books
      </title>
      <link>https://perrotta.dev/2026/08/books/</link>
      <pubDate>Mon, 24 Aug 2026 18:28:31 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>bestof</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/08/books/</guid>
      <description>&lt;p&gt;♠ It&amp;rsquo;s about time: I added a &lt;a href=&#34;https://perrotta.dev/books/&#34;&gt;books&lt;/a&gt; page to this blog with a sample of&#xA;my favorites. ∎&lt;/p&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: Books&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ CodeBurn
      </title>
      <link>https://perrotta.dev/2026/08/codeburn/</link>
      <pubDate>Sun, 23 Aug 2026 00:17:38 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>dev</category>
      <guid>https://perrotta.dev/2026/08/codeburn/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://perrotta.dev/2025/09/claude-ccusage/&#34;&gt;Previously&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://github.com/getagentseal/codeburn&#34;&gt;&lt;code&gt;CodeBurn&lt;/code&gt;&lt;/a&gt; shows Gen AI / LLM code&#xA;usage: where did all the money &lt;del&gt;burning tokens&lt;/del&gt; ($$) go?&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;CodeBurn is a free, open-source, local-first tool that tracks AI coding token&#xA;usage and cost across 41 tools and agents (Claude Code, Pi, Codex, Cursor,&#xA;and more), broken down by model, project, and task.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;It reads the session files already on disk. No wrapper, proxy, or API key is&#xA;needed, and nothing leaves the machine (great!).&lt;/p&gt;&#xA;&lt;p&gt;It&amp;rsquo;s a TUI.&lt;/p&gt;&#xA;&lt;p&gt;Installation methods:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% brew install codeburn&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;OR&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% npx codeburn&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The same data is also available via web and desktop interfaces. On macOS,&#xA;&lt;code&gt;menubar&lt;/code&gt; downloads the native app to &lt;code&gt;~/Applications&lt;/code&gt; and launches it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% codeburn menubar&#xA;Resolving CodeBurn Menubar v0.9.20...&#xA;Downloading CodeBurnMenubar-v0.9.20.zip...&#xA;Verifying checksum...&#xA;Unpacking...&#xA;Verifying app bundle...&#xA;Launching CodeBurn Menubar...&#xA;&#xA;  Ready. /Users/thiago.perrotta/Applications/CodeBurnMenubar.app&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;It shows the current spend in the menu bar. Clicking it opens local breakdowns&#xA;by agent, model, and activity, plus trends, forecasts, and exports. It refreshes&#xA;every 30 seconds by default and backs off on battery.&lt;/p&gt;&#xA;&lt;p&gt;It tracks spend calculated from local sessions, not provider usage windows or&#xA;reset countdowns. &lt;a href=&#34;https://perrotta.dev/2026/05/codexbar/&#34;&gt;Codexbar&lt;/a&gt; does the latter.&lt;/p&gt;&#xA;&lt;p&gt;I find that the CLI TUI is enough.&lt;/p&gt;&#xA;&lt;p&gt;A few subcommands:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;yield&lt;/code&gt; correlates AI sessions with nearby Git commits. It classifies the money&#xA;spent as productive, reverted, abandoned, or ambiguous:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% codeburn yield -p 30days&#xA;&#xA;  Analyzing yield for Last 30 Days...&#xA;&#xA;&#xA;Productive:   $594.85 (31%) - 117 sessions shipped to main&#xA;Reverted:       $0.00 (0%) - 0 sessions were reverted&#xA;Abandoned:    $611.66 (32%) - 377 sessions never committed&#xA;Ambiguous:    $709.10 (37%) - 220 sessions lost commits to concurrent sessions&#xA;&#xA;Attribution: timestamp-window based (heuristic)&#xA;&#xA;Total:       $1915.61     - 714 sessions&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;It&amp;rsquo;s an experimental timestamp-based heuristic, but a neat answer to &amp;ldquo;did all&#xA;those tokens produce code that shipped?&amp;rdquo;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;report&lt;/code&gt; opens the interactive dashboard for a given period, with token and cost&#xA;breakdowns by tool, model, project, and task:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% codeburn report --provider pi -p month&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;∎&lt;/p&gt;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: CodeBurn&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ human voice
      </title>
      <link>https://perrotta.dev/2026/08/human-voice/</link>
      <pubDate>Wed, 19 Aug 2026 16:24:06 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>dev</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/08/human-voice/</guid>
      <description>&lt;p&gt;♠ More and more I&amp;rsquo;ve been resorting to LLMs / Gen AI to file feature requests or&#xA;issues/bugs in upstream repositories.&lt;/p&gt;&#xA;&lt;p&gt;Sometimes I get completely ignored, even when I follow the project guidelines.&lt;/p&gt;&#xA;&lt;p&gt;For example, last week I filed &lt;a href=&#34;https://github.com/earendil-works/pi/issues/7070&#34;&gt;this&#xA;issue&lt;/a&gt; in&#xA;&lt;a href=&#34;https://pi.dev&#34;&gt;Pi&lt;/a&gt;. It got auto-closed. I know&#xA;&lt;a href=&#34;https://github.com/earendil-works/pi/blob/main/CONTRIBUTING.md&#34;&gt;why&lt;/a&gt; it was&#xA;auto-closed, but it&amp;rsquo;s lame, because I followed their guidelines. In spite of&#xA;writing it in my own voice, it got lost in the sea of slop issues. I can&amp;rsquo;t blame&#xA;the maintainers, I totally understandand and sympathize with them. Yet, it sucks&#xA;for me&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/08/human-voice/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In other words: even when I put in the effort to file an issue manually, without&#xA;using an LLM, it gets mistaken for an LLM slop issue, because that&amp;rsquo;s what&#xA;everybody else is doing.&lt;/p&gt;&#xA;&lt;p&gt;Which kind of incentives does this create?&lt;/p&gt;&#xA;&lt;p&gt;→ There&amp;rsquo;s little reason to put in the effort to write issues in my own voice.&lt;/p&gt;&#xA;&lt;p&gt;Which is, ironically, the opposite of what the project maintainers seemingly&#xA;hoped to accomplish (=to attract non-clanker contributors that file high-quality&#xA;issues).&lt;/p&gt;&#xA;&lt;p&gt;So now I am pivoting.&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;ll shamelessly create issues (or feature requests) with an LLM. I&amp;rsquo;ll review&#xA;the wording first, but won&amp;rsquo;t attempt to write them in my own voice. Would it&#xA;even matter? Maintainers are too busy and overwhelmed to be able to distinguish&#xA;slop from human voice, which is ironical — LLMs were supposed to &lt;em&gt;improve&lt;/em&gt; WLB,&#xA;not to make it worse. Oh well.&lt;/p&gt;&#xA;&lt;p&gt;That said, pure Gen AI is lame. So I am starting to complement with a follow-up&#xA;comment in my own voice.&lt;/p&gt;&#xA;&lt;p&gt;Today&amp;rsquo;s example: &lt;a href=&#34;https://github.com/angristan/fast-resume/issues/87#issuecomment-5343487168&#34;&gt;angristan/fast-resume#87&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;(human voice) &lt;strong&gt;Disclaimer&lt;/strong&gt;: the previous comment was created by an LLM, I&#xA;reviewed its text though. I can reliably reproduce this locally. I&amp;rsquo;ve been&#xA;using &lt;code&gt;fr&lt;/code&gt; &lt;a href=&#34;https://perrotta.dev/2026/05/fast-resume-search-coding-agent-sessions/&#34;&gt;for a&#xA;while&lt;/a&gt;&#xA;now, it&amp;rsquo;s very handy. This is the only use case that is getting on my way.&lt;/p&gt;&#xA;&lt;p&gt;Let me know if you would like help to implement/address it. Thanks!&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Check out &lt;a href=&#34;https://perrotta.dev/2026/05/fast-resume-search-coding-agent-sessions/&#34;&gt;fast-resume&lt;/a&gt; if you haven&amp;rsquo;t&#xA;yet. It&amp;rsquo;s awesome.&lt;/p&gt;&#xA;&lt;p&gt;I think this is a good compromise. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;And, frankly, for them too. I no longer feel motivated to file issues for&#xA;Pi, even though I&amp;rsquo;m becoming a heavy user of it.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/08/human-voice/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: human voice&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ /ship-and-burn a pull request
      </title>
      <link>https://perrotta.dev/2026/08/-ship-and-burn-a-pull-request/</link>
      <pubDate>Wed, 19 Aug 2026 12:02:31 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>coding</category>
      <category>dev</category>
      <category>git</category>
      <guid>https://perrotta.dev/2026/08/-ship-and-burn-a-pull-request/</guid>
      <description>&lt;p&gt;♠ &lt;strong&gt;Problem statement&lt;/strong&gt;: ship a simple change (or commit, or pull request: you&#xA;name it), then wait for green CI, then remove its local branch and worktree&#xA;(=clean up).&lt;/p&gt;&#xA;&lt;p&gt;It&amp;rsquo;s 2026, so we&amp;rsquo;ll codify this workflow in the form of an &lt;a href=&#34;https://skills.md/&#34;&gt;agent&#xA;skill&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I created&#xA;&lt;a href=&#34;https://github.com/thiagowfx/skills/blob/master/plugins/thiagowfx/skills/ship-and-burn/SKILL.md&#34;&gt;&lt;code&gt;/ship-and-burn&lt;/code&gt;&lt;/a&gt;&#xA;for that.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;/ship-and-burn [reviewer]&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;It&amp;rsquo;s very important that you picture &lt;a href=&#34;https://www.imdb.com/title/tt0887883/&#34;&gt;this&#xA;movie&lt;/a&gt; whenever you invoke this skill.&lt;/p&gt;&#xA;&lt;p&gt;The structure is the following, composing various of my other &lt;a href=&#34;https://github.com/thiagowfx/skills&#34;&gt;skills&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;/ship ──&amp;gt; pull request ──&amp;gt; /pr-pass ──&amp;gt; green ──&amp;gt; delete local state&#xA;                                  └──&amp;gt; blocked ──&amp;gt; keep local state&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The &lt;em&gt;implementation&lt;/em&gt; is a single &lt;code&gt;SKILL.md&lt;/code&gt; Markdown file (naturally!):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% git show --stat --oneline 8e0eed7&#xA;8e0eed7 feat: add ship-and-burn skill&#xA;&#xA; README.md                                       |  1 &amp;#43;&#xA; package.json                                    |  2 &amp;#43;-&#xA; plugins/thiagowfx/.claude-plugin/plugin.json    |  2 &amp;#43;-&#xA; plugins/thiagowfx/skills/ship-and-burn/SKILL.md | 67 &amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&amp;#43;&#xA; 4 files changed, 70 insertions(&amp;#43;), 2 deletions(-)&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The skill stops before cleanup whenever CI remains failed or pending 🔴.&lt;/p&gt;&#xA;&lt;p&gt;Once checks pass 🟢, it verifies that the worktree/checkout is clean and that&#xA;every local commit exists on the remote:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;test -z &amp;#34;$(git status --porcelain)&amp;#34;&#xA;git merge-base --is-ancestor HEAD &amp;#34;origin/$branch&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;For a secondary (=non-base) worktree, &lt;a href=&#34;https://github.com/adamtabrams/wt&#34;&gt;&lt;code&gt;wt&lt;/code&gt;&lt;/a&gt;&#xA;removes both the worktree and its local branch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;cd &amp;#34;$primary&amp;#34;&#xA;wt del -- --foreground &amp;#34;$branch&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The pull request and remote branch remain intact.&lt;/p&gt;&#xA;&lt;p&gt;Should review comments arrive later, my &lt;code&gt;gh co&lt;/code&gt; (or &lt;code&gt;wt co&lt;/code&gt; for a separate&#xA;worktree) alias restores the branch and worktree before I address them:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;% gh co &amp;lt;pull-request&amp;gt;&#xA;% /address-pr-comments&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This surely feels like living in the future!&lt;/p&gt;&#xA;&lt;p&gt;And, when using a light harness like &lt;a href=&#34;https://pi.dev&#34;&gt;pi&lt;/a&gt;, it&amp;rsquo;s super fast! ∎&lt;/p&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: /ship-and-burn a pull request&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/coding/&#34;&gt;#coding&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/git/&#34;&gt;#git&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ kubernetes: force-refresh a cached multi-architecture image
      </title>
      <link>https://perrotta.dev/2026/08/kubernetes-force-refresh-a-cached-multi-architecture-image/</link>
      <pubDate>Wed, 19 Aug 2026 11:22:26 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>argocd</category>
      <category>aws</category>
      <category>bestof</category>
      <category>bloggify</category>
      <category>dev</category>
      <category>docker</category>
      <category>kubernetes</category>
      <guid>https://perrotta.dev/2026/08/kubernetes-force-refresh-a-cached-multi-architecture-image/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://perrotta.dev/2024/12/skopeo-operate-container-images-and-registries/&#34;&gt;Previously&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Problem statement&lt;/strong&gt;: a Kubernetes ARM64 node kept running an AMD64 image after&#xA;I replaced the registry tag with a multi-architecture image via &lt;code&gt;skopeo&lt;/code&gt;, due to&#xA;image caching.&lt;/p&gt;&#xA;&lt;p&gt;I first mirrored only the AMD64 variant into AWS ECR (note: no &lt;code&gt;--all&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% skopeo sync \&#xA;  --dest-creds &amp;#34;AWS:$(aws ecr get-login-password --region cn-north-1)&amp;#34; \&#xA;  --src docker --dest docker \&#xA;  --override-os linux --override-arch amd64 \&#xA;  quay.io/argoproj/argocd:v3.5.0 \&#xA;  &amp;#34;$REGISTRY/quay.io/argoproj&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;That image failed on the ARM64 node:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;exec /usr/local/bin/argocd: exec format error&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The source has four platform manifests, so I replaced the ECR tag with the full&#xA;manifest list (&lt;code&gt;-all&lt;/code&gt;&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/08/kubernetes-force-refresh-a-cached-multi-architecture-image/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% skopeo sync \&#xA;  --all \&#xA;  --dest-creds &amp;#34;AWS:$(aws ecr get-login-password --region cn-north-1)&amp;#34; \&#xA;  --src docker --dest docker \&#xA;  quay.io/argoproj/argocd:v3.5.0 \&#xA;  &amp;#34;$REGISTRY/quay.io/argoproj&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;linux  amd64    sha256:521d6b62ecd0434c9cc6e9242a74f0e1137bb8fc0026b2c483ea88f3f17e725d&#xA;linux  arm64    sha256:8a14921f7e5dc3408111714f05bff68e337d459653c45f0aea738330d156079b&#xA;linux  s390x    sha256:28743e713eabeeaacc103d177fc0b651b564d10309839077b0381ca980055c7d&#xA;linux  ppc64le  sha256:1f9e154e0eef6df29b75948b0b54dfc8ec490c657100df11a24c34197b9beb3a&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The sync is complete.&lt;/p&gt;&#xA;&lt;p&gt;Deleting the failed pod did not help though. Its replacement still used the&#xA;cached AMD64 child manifest:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;pod: pod/argocd-redis-secret-init-qgnqr&#xA;node: ip-10-25-54-66.cn-north-1.compute.internal&#xA;arch: arm64&#xA;image ID: $REGISTRY/quay.io/argoproj/argocd@sha256:521d6b62ecd0434c9cc6e9242a74f0e1137bb8fc0026b2c483ea88f3f17e725d&#xA;pull policy: IfNotPresent&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The Job pod template is immutable, so changing its pull policy in place (to&#xA;&lt;code&gt;Always&lt;/code&gt;) also failed. Instead, I created a temporary pod on the same node. It&#xA;forced a pull and ran a harmless command that proved the selected binary can&#xA;be executed:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-yaml&#34;&gt;apiVersion: v1&#xA;kind: Pod&#xA;metadata:&#xA;  name: argocd-image-refresh&#xA;  namespace: argocd&#xA;spec:&#xA;  nodeName: ip-10-0-0-42.cn-north-1.compute.internal&#xA;  restartPolicy: Never&#xA;  tolerations:&#xA;    - key: arch&#xA;      operator: Exists&#xA;      effect: NoSchedule&#xA;    - key: arch&#xA;      operator: Exists&#xA;      effect: NoExecute&#xA;  containers:&#xA;    - name: refresh&#xA;      image: $REGISTRY/quay.io/argoproj/argocd:v3.5.0&#xA;      imagePullPolicy: Always  # This is the important part!&#xA;      command: [&amp;#34;/usr/local/bin/argocd&amp;#34;]&#xA;      args: [&amp;#34;version&amp;#34;, &amp;#34;--client&amp;#34;]&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;NAME                   READY   STATUS      RESTARTS&#xA;argocd-image-refresh   0/1     Completed   0&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The node cache now pointed at the multi-architecture manifest list:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;$REGISTRY/quay.io/argoproj/argocd@sha256:c298cedbaeb31532ba8d4e9904eba9e4987e067293fbd86400c5194e78f743d5&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I removed the temporary pod and the failed Job pod. The Job controller created&#xA;a replacement, and the ARM64 binary started normally.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% kubectl -n argocd delete pod argocd-image-refresh&#xA;% kubectl -n argocd delete pod -l job-name=argocd-redis-secret-init&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;Why isn&amp;rsquo;t this the default?!&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/08/kubernetes-force-refresh-a-cached-multi-architecture-image/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;∎&lt;/p&gt;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: kubernetes: force-refresh a cached multi-architecture image&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/argocd/&#34;&gt;#argocd&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/aws/&#34;&gt;#aws&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bloggify/&#34;&gt;#bloggify&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/docker/&#34;&gt;#docker&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/kubernetes/&#34;&gt;#kubernetes&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ Reviewing slop pull requests
      </title>
      <link>https://perrotta.dev/2026/08/reviewing-slop-pull-requests/</link>
      <pubDate>Tue, 18 Aug 2026 00:47:17 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>coding</category>
      <category>dev</category>
      <guid>https://perrotta.dev/2026/08/reviewing-slop-pull-requests/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://perrotta.dev/2026/08/dual-review-address-review-findings-automatically/&#34;&gt;Previously&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Problem statement&lt;/strong&gt;: review an AI-written &lt;del&gt;slop&lt;/del&gt; pull request from a&#xA;teammate.&lt;/p&gt;&#xA;&lt;p&gt;We&amp;rsquo;ll use a &lt;a href=&#34;https://lucumr.pocoo.org/2026/5/26/clankers/&#34;&gt;clanker&lt;/a&gt; to review slop&#xA;PRs.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;First&lt;/strong&gt;, I invoke the&#xA;&lt;a href=&#34;https://github.com/thiagowfx/skills/blob/master/plugins/thiagowfx/skills/meat/SKILL.md&#34;&gt;&lt;code&gt;/meat&lt;/code&gt;&lt;/a&gt;&#xA;skill, turning the diff into a reading guide, inspired by &lt;a href=&#34;https://meat.dev/&#34;&gt;David Crawshaw&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;/meat &amp;lt;PR-URL&amp;gt;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;It does not look for defects. It captures the diff once, follows control and&#xA;data flow, treats tests as specifications, and returns this shape:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-markdown&#34;&gt;One sentence with intent and observable result.&#xA;&#xA;## Read in this order&#xA;- path:line — why this contract matters&#xA;&#xA;## Flow&#xA;1. input&#xA;2. transformation&#xA;3. effect&#xA;&#xA;## Contracts&#xA;## Tests as specs&#xA;## Omitted&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;That gives me the author&amp;rsquo;s system model (the &amp;ldquo;meat&amp;rdquo; of their PR) without the PR&#xA;body&amp;rsquo;s narrative.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Second&lt;/strong&gt;, &lt;a href=&#34;https://github.com/thiagowfx/skills/blob/master/plugins/thiagowfx/skills/dual-review/SKILL.md&#34;&gt;&lt;code&gt;/dual-review&lt;/code&gt;&lt;/a&gt;&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/08/reviewing-slop-pull-requests/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;&#xA;tries to break that model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;/dual-review &amp;lt;PR-URL&amp;gt; [--post]&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;It runs &lt;em&gt;two&lt;/em&gt; review passes with different lenses / perspectives, then validates&#xA;every candidate against source and focused probes. Reviewer agreement changes&#xA;investigation priority.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;--post&lt;/code&gt; instructs the clanker to write a comment in the PR.&lt;/p&gt;&#xA;&lt;p&gt;To recap:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;/meat&lt;/code&gt; says what the change means and where to read it.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;/dual-review&lt;/code&gt; checks whether contracts survive hostile input.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;My default sequence for a long, plausible PR is now:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;/meat &amp;lt;PR-URL&amp;gt;&#xA;/dual-review &amp;lt;PR-URL&amp;gt; --post&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;One tool removes narrative noise.&#xA;The other removes findings without evidence. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;Inspired by an internal skill created by our CISO.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/08/reviewing-slop-pull-requests/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: Reviewing slop pull requests&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/coding/&#34;&gt;#coding&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ cmux: search all windows
      </title>
      <link>https://perrotta.dev/2026/08/cmux-search-all-windows/</link>
      <pubDate>Wed, 12 Aug 2026 11:41:09 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>dev</category>
      <guid>https://perrotta.dev/2026/08/cmux-search-all-windows/</guid>
      <description>&lt;p&gt;♠ &lt;strong&gt;Problem statement&lt;/strong&gt;: given a &lt;code&gt;cmux&lt;/code&gt; session with a dozen&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/08/cmux-search-all-windows/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; workspaces, how can you&#xA;quickly find the one you&amp;rsquo;re looking for?&lt;/p&gt;&#xA;&lt;p&gt;Keyboard shortcut (macOS): &lt;code&gt;Cmd + ⌥ + F&lt;/code&gt;.&#xA;&lt;a href=&#34;https://cmux.com/docs/keyboard-shortcuts&#34;&gt;Source&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;There&amp;rsquo;s also a system tray icon for &lt;code&gt;cmux&lt;/code&gt; with a &lt;code&gt;Search All Windows...&lt;/code&gt; menu&#xA;item.&lt;/p&gt;&#xA;&lt;p&gt;How did I look this up? Via &lt;a href=&#34;https://kagi.com/search?q=cmux&amp;#43;search&amp;#43;shorcut%3F&amp;amp;r=no_region&amp;amp;sh=LJvrhfVS1VIXBrbO4rOJrw&#34;&gt;Kagi Search&lt;/a&gt;.&#xA;My query was &lt;code&gt;cmux search shorcut?&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The question mark (&lt;code&gt;?&lt;/code&gt;)&lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/08/cmux-search-all-windows/#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; at the end triggers the &lt;a href=&#34;https://help.kagi.com/kagi/ai/quick-answer.html&#34;&gt;quick&#xA;answer&lt;/a&gt; feature, including&#xA;links to sources:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Kagi&amp;rsquo;s Quick Answer quickly produces a summary of the results across the pages&#xA;returned and provides references to the pages that are used. This&#xA;functionality allows you to quickly consume the desired information from the&#xA;search while giving you the pointers to dive deeper into the information if&#xA;desired.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Whenever I know exactly the shape of the problem that I want to look up and&#xA;solve, and whenever it is byte-sized enough, I often resort to this approach; it&#xA;is very efficient.&lt;/p&gt;&#xA;&lt;p&gt;In the &lt;del&gt;old&lt;/del&gt; pre-LLM days, I would instead scour &lt;a href=&#34;https://stackoverflow.com/&#34;&gt;Stack&#xA;Overflow&lt;/a&gt; or the upstream documentations.&lt;/p&gt;&#xA;&lt;p&gt;In the early LLM days, I would ask &lt;a href=&#34;https://chatgpt.com/&#34;&gt;ChatGPT&lt;/a&gt; or&#xA;&lt;a href=&#34;https://duck.ai/&#34;&gt;Duck&lt;/a&gt;, but I&amp;rsquo;d be limited to the training cut-off of the&#xA;underlying model. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;&lt;em&gt;&amp;ldquo;&amp;ldquo;&amp;ldquo;This should not happen&amp;rdquo;&amp;rdquo;&amp;rdquo;&lt;/em&gt;. We&amp;rsquo;re poor humans with poor attention&#xA;spans. Managing more than 4-7 workspaces at once is counter-productive due&#xA;to context switching tax. One &lt;em&gt;should not&lt;/em&gt; end up in this situation in the&#xA;first place.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/08/cmux-search-all-windows/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li id=&#34;fn:2&#34;&gt;&#xA;&lt;p&gt;The friction of adding the question mark is important and deliberate, it&#xA;is what enables the decision to get a digest of &lt;del&gt;slop&lt;/del&gt; LLM results. I&#xA;quite dislike the approach of &lt;a href=&#34;http://google.com/&#34;&gt;other search engines&lt;/a&gt;,&#xA;unconditionally shoving questionable AI results on everyone&amp;rsquo;s face.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/08/cmux-search-all-windows/#fnref:2&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: cmux: search all windows&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ logseq → obsidian
      </title>
      <link>https://perrotta.dev/2026/07/logseq-obsidian/</link>
      <pubDate>Mon, 20 Jul 2026 18:26:33 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>dev</category>
      <category>pkm</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/07/logseq-obsidian/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://perrotta.dev/2026/07/brew-pin/&#34;&gt;Previously&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Problem statement&lt;/strong&gt;: LogSeq v2 is moving its graph format from markdown files&#xA;to a sqlite database:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://discuss.logseq.com/t/whats-new-with-logseq-db-may-16th-2026/35020&#34;&gt;What&amp;rsquo;s New with Logseq DB — May 16th 2026&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://logseq.io/p/e3YDyX5AYr&#34;&gt;Big update: Logseq is splitting into two versions&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;This is &lt;em&gt;not OK&lt;/em&gt; for my workflow.&lt;/p&gt;&#xA;&lt;p&gt;The whole point of adopting LogSeq was, just like&#xA;&lt;a href=&#34;https://obsidian.md/&#34;&gt;Obsidian&lt;/a&gt;, the promise of&#xA;managing my notes in &lt;a href=&#34;https://obsidian.md/about&#34;&gt;plain markdown files&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Even though this migration is supposed to improve the performance of the app, it&#xA;ends up breaking a fundamental reason why I decided to use it in the first&#xA;place.&lt;/p&gt;&#xA;&lt;p&gt;Furthermore, the Second Brain app of my choice is supposed to be boring. It is&#xA;a big deal to wake up one day and find that I can no longer open my notes&#xA;graph with the new version of the app. This is a no-go.&lt;/p&gt;&#xA;&lt;p&gt;Well, classic LogSeq (dubbed &amp;ldquo;Logseq OG&amp;rdquo;) will be &lt;a href=&#34;https://github.com/logseq/og&#34;&gt;kept&#xA;around&lt;/a&gt;, but I can only assume that from this&#xA;point on it will become poorly maintained — it will never get the same amount of&#xA;resources and attention as the new version.&lt;/p&gt;&#xA;&lt;p&gt;Also, even if I really wanted to use the new version, it turns out it does not&#xA;work on mobile (iOS), which is a dealbreaker, therefore I would be forced to&#xA;stay stuck with OG for a while. Heck, the iOS app hasn&amp;rsquo;t been updated in 2y&#xA;anyway, and it shows.&lt;/p&gt;&#xA;&lt;p&gt;There will be no hard feelings, this is a peaceful breakup; I enjoyed LogSeq,&#xA;it&amp;rsquo;s simpler and more streamlined than Obsidian; as such, I will keep&#xA;recommending it to most people.&lt;/p&gt;&#xA;&lt;p&gt;That said, I&amp;rsquo;ve always been pondering whether to switch back to Obsidian.&#xA;There&amp;rsquo;s no doubt that Obsidian is more actively maintained and better suited for&#xA;Gen AI / LLM workflows these days (see &lt;a href=&#34;https://obsidian.md/cli&#34;&gt;Obsidian CLI&lt;/a&gt;&#xA;for starters).&lt;/p&gt;&#xA;&lt;p&gt;Why did I switch to LogSeq from Obsidian in the first place? Because Obsidian&#xA;was too much for me. It was more complicated (in terms of its feature set) than&#xA;warranted for my purposes. It offered more than I needed. That&amp;rsquo;s not necessarily&#xA;a bad thing. It&amp;rsquo;s like saying (hypothetically) &amp;ldquo;I prefer &lt;code&gt;nano&lt;/code&gt; instead of&#xA;&lt;code&gt;vim&lt;/code&gt;&amp;rdquo;, or that I prefer to live in a studio apartment than in a 3-bedroom&#xA;house.&lt;/p&gt;&#xA;&lt;p&gt;Obsidian won&amp;rsquo;t let me down in terms of changing its file format: &lt;a href=&#34;https://stephango.com/file-over-app&#34;&gt;file over&#xA;app&lt;/a&gt; is one of their core&#xA;&lt;a href=&#34;https://stephango.com/self-guarantee&#34;&gt;promises&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;File over app is a philosophy: if you want to create digital artifacts that&#xA;last, they must be files you can control, in formats that are easy to retrieve&#xA;and read. Use tools that give you this freedom.&lt;/p&gt;&#xA;&lt;p&gt;File over app is an appeal to tool makers: accept that all software is&#xA;ephemeral, and give people ownership over their data.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;This is very important. My Second Brain app must not lock me in. LogSeq, upon&#xA;the switch to a sqlite database, breaks this invariant. I want — I need — boring&#xA;markdown files. Do not break the beauty and simplicity of this setup.&lt;/p&gt;&#xA;&lt;h2 id=&#34;migration&#34;&gt;&#xA;  Migration&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/07/logseq-obsidian/#migration&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;LogSeq and Obsidian are similar but not identical.&lt;/p&gt;&#xA;&lt;p&gt;In order to bridge the gap, a small python script (drafted by Claude Fable 5,&#xA;reviewed by me) walked the existing LogSeq Graph and wrote to a fresh Obsidian&#xA;Vault, leaving the source untouched, should I decide to roll back.&lt;/p&gt;&#xA;&lt;p&gt;These are some mappings (LogSeq → Obsidian):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;journals/2024_03_04.md         -&amp;gt;  journals/2024-03-04.md&#xA;pages/Foo___Bar.md             -&amp;gt;  Foo/Bar.md          (namespaces)&#xA;- TODO buy milk                -&amp;gt;  - [ ] buy milk&#xA;- DOING ...                    -&amp;gt;  - [/] ...&#xA;- DONE ...                     -&amp;gt;  - [x] ...&#xA;[[Feb 9th, 2026]]              -&amp;gt;  [[2026-02-09]]&#xA;((67ea7dba-3200-...))          -&amp;gt;  [[2025-03-31#^67ea7dba]]&#xA;{{embed ((67ea7dba-3200-...))}} -&amp;gt; ![[2025-03-31#^67ea7dba]]&#xA;{{video https://...}}          -&amp;gt;  plain URL&#xA;id:: 67ea7dba-3200-...         -&amp;gt;  ^67ea7dba block anchor (when referenced)&#xA;collapsed:: true, :LOGBOOK:    -&amp;gt;  dropped&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Plus one line of config so that the LogSeq journals become Obsidian daily notes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-json&#34;&gt;{&#xA;    &amp;#34;folder&amp;#34;: &amp;#34;journals&amp;#34;,&#xA;    &amp;#34;format&amp;#34;: &amp;#34;YYYY-MM-DD&amp;#34;&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&amp;hellip;and then I spent some time trying to dumb down Obsidian, disabling core&#xA;plug-ins I do not need at this time. There&amp;rsquo;s no need for community plug-ins for&#xA;now (if ever).&lt;/p&gt;&#xA;&lt;p&gt;So far, I only migrated my corp (work) notes. I&amp;rsquo;ll need to migrate my personal&#xA;PKM as well, but I am happy to simply pilot this migration at work first, so&#xA;that I don&amp;rsquo;t get to regret twice.&lt;/p&gt;&#xA;&lt;p&gt;The migration script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-python&#34;&gt;#!/usr/bin/env python3&#xA;&amp;#34;&amp;#34;&amp;#34;Migrate LogSeq graph -&amp;gt; Obsidian vault. Source is never modified.&amp;#34;&amp;#34;&amp;#34;&#xA;import re&#xA;import shutil&#xA;from pathlib import Path&#xA;&#xA;SRC = Path(&amp;#34;/Users/thiago.perrotta/Library/Mobile Documents/iCloud~com~logseq~logseq/{redacted}&amp;#34;)&#xA;DST = Path(&amp;#34;/Users/thiago.perrotta/Library/Mobile Documents/iCloud~md~obsidian/{redacted}&amp;#34;)&#xA;&#xA;UUID = r&amp;#34;[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}&amp;#34;&#xA;MONTHS = {m: i &amp;#43; 1 for i, m in enumerate(&#xA;    [&amp;#34;Jan&amp;#34;, &amp;#34;Feb&amp;#34;, &amp;#34;Mar&amp;#34;, &amp;#34;Apr&amp;#34;, &amp;#34;May&amp;#34;, &amp;#34;Jun&amp;#34;, &amp;#34;Jul&amp;#34;, &amp;#34;Aug&amp;#34;, &amp;#34;Sep&amp;#34;, &amp;#34;Oct&amp;#34;, &amp;#34;Nov&amp;#34;, &amp;#34;Dec&amp;#34;])}&#xA;&#xA;MARKER_MAP = {&#xA;    &amp;#34;TODO&amp;#34;: &amp;#34;[ ]&amp;#34;, &amp;#34;LATER&amp;#34;: &amp;#34;[ ]&amp;#34;, &amp;#34;WAITING&amp;#34;: &amp;#34;[ ]&amp;#34;,&#xA;    &amp;#34;DOING&amp;#34;: &amp;#34;[/]&amp;#34;, &amp;#34;NOW&amp;#34;: &amp;#34;[/]&amp;#34;, &amp;#34;IN-PROGRESS&amp;#34;: &amp;#34;[/]&amp;#34;,&#xA;    &amp;#34;DONE&amp;#34;: &amp;#34;[x]&amp;#34;,&#xA;    &amp;#34;CANCELED&amp;#34;: &amp;#34;[-]&amp;#34;, &amp;#34;CANCELLED&amp;#34;: &amp;#34;[-]&amp;#34;,&#xA;}&#xA;&#xA;&#xA;def journal_name(stem: str) -&amp;gt; str:&#xA;    return stem.replace(&amp;#34;_&amp;#34;, &amp;#34;-&amp;#34;)&#xA;&#xA;&#xA;def dest_rel(src_file: Path) -&amp;gt; Path:&#xA;    &amp;#34;&amp;#34;&amp;#34;Map a source md file to its vault-relative destination path.&amp;#34;&amp;#34;&amp;#34;&#xA;    if src_file.parent.name == &amp;#34;journals&amp;#34;:&#xA;        return Path(&amp;#34;journals&amp;#34;) / (journal_name(src_file.stem) &amp;#43; &amp;#34;.md&amp;#34;)&#xA;    # namespace pages: A___B.md -&amp;gt; A/B.md; everything else under pages/&#xA;    parts = src_file.stem.split(&amp;#34;___&amp;#34;)&#xA;    return Path(*parts[:-1]) / (parts[-1] &amp;#43; &amp;#34;.md&amp;#34;) if len(parts) &amp;gt; 1 else Path(&amp;#34;pages&amp;#34;) / src_file.name&#xA;&#xA;&#xA;def page_ref(src_file: Path) -&amp;gt; str:&#xA;    &amp;#34;&amp;#34;&amp;#34;Wiki-link target for a source file (what goes inside [[...]]).&amp;#34;&amp;#34;&amp;#34;&#xA;    if src_file.parent.name == &amp;#34;journals&amp;#34;:&#xA;        return journal_name(src_file.stem)&#xA;    return &amp;#34;/&amp;#34;.join(src_file.stem.split(&amp;#34;___&amp;#34;))&#xA;&#xA;&#xA;def collect_ids():&#xA;    &amp;#34;&amp;#34;&amp;#34;uuid -&amp;gt; (link target, anchor) for every id:: definition; also which uuids are referenced.&amp;#34;&amp;#34;&amp;#34;&#xA;    defined, referenced = {}, set()&#xA;    for f in sorted(SRC.glob(&amp;#34;pages/*.md&amp;#34;)) &amp;#43; sorted(SRC.glob(&amp;#34;journals/*.md&amp;#34;)):&#xA;        text = f.read_text(encoding=&amp;#34;utf-8&amp;#34;)&#xA;        for m in re.finditer(rf&amp;#34;^\s*id:: ({UUID})\s*$&amp;#34;, text, re.M):&#xA;            defined[m.group(1)] = (page_ref(f), m.group(1)[:8])&#xA;        for m in re.finditer(rf&amp;#34;\(\(({UUID})\)\)&amp;#34;, text):&#xA;            referenced.add(m.group(1))&#xA;    return defined, referenced&#xA;&#xA;&#xA;def convert(text: str, defined, referenced) -&amp;gt; str:&#xA;    lines = text.split(&amp;#34;\n&amp;#34;)&#xA;    out = []&#xA;    in_fence = False&#xA;    in_logbook = False&#xA;&#xA;    def resolve_ref(m):&#xA;        uuid = m.group(1)&#xA;        if uuid in defined:&#xA;            target, anchor = defined[uuid]&#xA;            return f&amp;#34;[[{target}#^{anchor}]]&amp;#34;&#xA;        return m.group(0)&#xA;&#xA;    def resolve_embed(m):&#xA;        uuid = m.group(1)&#xA;        if uuid in defined:&#xA;            target, anchor = defined[uuid]&#xA;            return f&amp;#34;![[{target}#^{anchor}]]&amp;#34;&#xA;        return m.group(0)&#xA;&#xA;    def date_link(m):&#xA;        mon, day, year = m.group(1), int(m.group(2)), int(m.group(4))&#xA;        return f&amp;#34;[[{year:04d}-{MONTHS[mon]:02d}-{day:02d}]]&amp;#34;&#xA;&#xA;    pending_merge_indent = None  # indent of an empty bullet awaiting its continuation line&#xA;&#xA;    for line in lines:&#xA;        stripped = line.strip()&#xA;&#xA;        # merge continuation text into a bullet whose first line was a property&#xA;        if pending_merge_indent is not None:&#xA;            m = re.match(rf&amp;#34;^{re.escape(pending_merge_indent)}\s\s?(\S.*)$&amp;#34;, line)&#xA;            pending_merge_indent = None&#xA;            if m and out:&#xA;                out[-1] = out[-1] &amp;#43; m.group(1)&#xA;                continue&#xA;&#xA;        # LogSeq opens fences on bullet lines (&amp;#34;- ```lang&amp;#34;), closes with bare &amp;#34;```&amp;#34;&#xA;        if re.match(r&amp;#34;^\s*(?:[-*&amp;#43;]\s&amp;#43;)?```&amp;#34;, line):&#xA;            in_fence = not in_fence&#xA;            out.append(line)&#xA;            continue&#xA;        if in_fence:&#xA;            out.append(line)&#xA;            continue&#xA;&#xA;        # LOGBOOK drawers&#xA;        if stripped == &amp;#34;:LOGBOOK:&amp;#34;:&#xA;            in_logbook = True&#xA;            continue&#xA;        if in_logbook:&#xA;            if stripped == &amp;#34;:END:&amp;#34;:&#xA;                in_logbook = False&#xA;            continue&#xA;&#xA;        # bullet-form property lines: block whose first line is the property itself&#xA;        # (&amp;#34;- collapsed:: true&amp;#34; with real content on the continuation line below)&#xA;        m = re.match(rf&amp;#34;^(\s*)- (collapsed:: (?:true|false)|logseq\.order-list-type:: number|id:: ({UUID}))\s*$&amp;#34;, line)&#xA;        if m:&#xA;            indent = m.group(1)&#xA;            uuid = m.group(3)&#xA;            if uuid and uuid in referenced:&#xA;                out.append(f&amp;#34;{indent}- ^{uuid[:8]}&amp;#34;)&#xA;            else:&#xA;                out.append(f&amp;#34;{indent}- &amp;#34;)&#xA;                pending_merge_indent = indent&#xA;            continue&#xA;&#xA;        # property lines&#xA;        m = re.match(rf&amp;#34;^\s*id:: ({UUID})\s*$&amp;#34;, line)&#xA;        if m:&#xA;            uuid = m.group(1)&#xA;            if uuid in referenced and out:&#xA;                # anchor goes at end of the block&amp;#39;s first line&#xA;                for i in range(len(out) - 1, -1, -1):&#xA;                    if out[i].strip():&#xA;                        out[i] = out[i].rstrip() &amp;#43; f&amp;#34; ^{uuid[:8]}&amp;#34;&#xA;                        break&#xA;            continue&#xA;        if re.match(r&amp;#34;^\s*collapsed:: (true|false)\s*$&amp;#34;, line):&#xA;            continue&#xA;        if re.match(r&amp;#34;^\s*logseq\.order-list-type:: number\s*$&amp;#34;, line):&#xA;            # convert the previous bullet line to a numbered item; number it by&#xA;            # walking back past deeper lines to the previous same-indent sibling&#xA;            for i in range(len(out) - 1, -1, -1):&#xA;                bm = re.match(r&amp;#34;^(\s*)- (.*)$&amp;#34;, out[i])&#xA;                if bm:&#xA;                    indent = bm.group(1)&#xA;                    n = 1&#xA;                    for j in range(i - 1, -1, -1):&#xA;                        if not out[j].strip():&#xA;                            continue&#xA;                        lead = out[j][: len(out[j]) - len(out[j].lstrip())]&#xA;                        if len(lead) &amp;gt; len(indent):&#xA;                            continue  # child or continuation line&#xA;                        if lead == indent:&#xA;                            nm = re.match(rf&amp;#34;^{re.escape(indent)}(\d&amp;#43;)\. &amp;#34;, out[j])&#xA;                            n = int(nm.group(1)) &amp;#43; 1 if nm else 1&#xA;                        break&#xA;                    out[i] = f&amp;#34;{indent}{n}. {bm.group(2)}&amp;#34;&#xA;                    break&#xA;            continue&#xA;&#xA;        # task markers on bullet lines (not headings)&#xA;        line = re.sub(&#xA;            r&amp;#34;^(\s*)- (TODO|LATER|WAITING|DOING|NOW|IN-PROGRESS|DONE|CANCELED|CANCELLED)\s&amp;#43;&amp;#34;,&#xA;            lambda m: f&amp;#34;{m.group(1)}- {MARKER_MAP[m.group(2)]} &amp;#34;,&#xA;            line,&#xA;        )&#xA;&#xA;        # drop LogSeq priority markers&#xA;        line = re.sub(r&amp;#34;\[#[A-C]\]\s*&amp;#34;, &amp;#34;&amp;#34;, line)&#xA;&#xA;        # embeds and block refs&#xA;        line = re.sub(rf&amp;#34;\{{\{{embed \(\(({UUID})\)\)\}}\}}&amp;#34;, resolve_embed, line)&#xA;        line = re.sub(r&amp;#34;\{\{embed \[\[([^]]&amp;#43;)\]\]\}\}&amp;#34;, r&amp;#34;![[\1]]&amp;#34;, line)&#xA;        line = re.sub(rf&amp;#34;\(\(({UUID})\)\)&amp;#34;, resolve_ref, line)&#xA;        line = re.sub(r&amp;#34;\{\{video ([^}]&amp;#43;)\}\}&amp;#34;, r&amp;#34;\1&amp;#34;, line)&#xA;&#xA;        # date links: [[Feb 9th, 2026]] -&amp;gt; [[2026-02-09]]&#xA;        line = re.sub(&#xA;            r&amp;#34;\[\[(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{1,2})(st|nd|rd|th), (\d{4})\]\]&amp;#34;,&#xA;            date_link, line)&#xA;&#xA;        # asset paths&#xA;        line = line.replace(&amp;#34;](../assets/&amp;#34;, &amp;#34;](assets/&amp;#34;)&#xA;&#xA;        out.append(line)&#xA;&#xA;    result = &amp;#34;\n&amp;#34;.join(out)&#xA;    if result.strip() == &amp;#34;-&amp;#34;:  # LogSeq empty-page placeholder&#xA;        result = &amp;#34;&amp;#34;&#xA;    return result&#xA;&#xA;&#xA;def main():&#xA;    defined, referenced = collect_ids()&#xA;    orphans = referenced - set(defined)&#xA;    if orphans:&#xA;        print(f&amp;#34;WARNING: refs without target: {orphans}&amp;#34;)&#xA;&#xA;    written = 0&#xA;    for f in sorted(SRC.glob(&amp;#34;pages/*.md&amp;#34;)) &amp;#43; sorted(SRC.glob(&amp;#34;journals/*.md&amp;#34;)):&#xA;        rel = dest_rel(f)&#xA;        dst = DST / rel&#xA;        dst.parent.mkdir(parents=True, exist_ok=True)&#xA;        dst.write_text(convert(f.read_text(encoding=&amp;#34;utf-8&amp;#34;), defined, referenced),&#xA;                       encoding=&amp;#34;utf-8&amp;#34;)&#xA;        written &amp;#43;= 1&#xA;&#xA;    assets_dst = DST / &amp;#34;assets&amp;#34;&#xA;    assets_dst.mkdir(exist_ok=True)&#xA;    copied = 0&#xA;    for a in SRC.glob(&amp;#34;assets/*&amp;#34;):&#xA;        if a.name == &amp;#34;.DS_Store&amp;#34;:&#xA;            continue&#xA;        shutil.copy2(a, assets_dst / a.name)&#xA;        copied &amp;#43;= 1&#xA;&#xA;    print(f&amp;#34;wrote {written} notes, copied {copied} assets&amp;#34;)&#xA;&#xA;&#xA;if __name__ == &amp;#34;__main__&amp;#34;:&#xA;    main()&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;∎&lt;/p&gt;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: logseq → obsidian&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/pkm/&#34;&gt;#pkm&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ The lifecycle of physical books
      </title>
      <link>https://perrotta.dev/2026/07/the-lifecycle-of-physical-books/</link>
      <pubDate>Sat, 18 Jul 2026 14:21:02 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>bestof</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/07/the-lifecycle-of-physical-books/</guid>
      <description>&lt;p&gt;♠ Typically:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;Step 1&lt;/strong&gt;: buy a physical book — via Amazon, bookstores, classifieds&#xA;marketplaces (e.g. Craigslist in the US, Kijiji in Canada, Kleinanzeigen in&#xA;Germany). Bonus points for used copies. This should take up to a week.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;Step 2&lt;/strong&gt;: &lt;strong&gt;read&lt;/strong&gt; the &lt;del&gt;goddamn&lt;/del&gt; book. This is arguably the hardest part,&#xA;albeit the most exciting one. As &lt;a href=&#34;https://frantic.im/80-20/&#34;&gt;Alex Kotliarskyi&lt;/a&gt;&#xA;puts it (emphasis mine):&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The 80/20 rule says that 80% value come from 20% effort. What if we apply the&#xA;80/20 rule to the first 80%?&lt;/p&gt;&#xA;&lt;p&gt;So 80% of 80% of value come from 20% of 20% of effort. Or 64% of the value&#xA;come from 4% of the effort. &lt;strong&gt;Apply it again and you&amp;rsquo;ll get ~51% value from&#xA;~1% effort&lt;/strong&gt;. Which is ballpark close to &amp;ldquo;Dimidium facti, qui coepit, habet&amp;rdquo; —&#xA;Well begun is half done.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Once you start, it becomes &lt;em&gt;much easier&lt;/em&gt; to go through it, I promise.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Step 3&lt;/strong&gt;: &lt;strong&gt;Find a way to get rid of the book&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;There&amp;rsquo;s no shame. Have &lt;a href=&#34;https://konmari.com/marie-kondo-gratitude/&#34;&gt;gratitude&lt;/a&gt;,&#xA;appreciate it, and then simply move on. I don&amp;rsquo;t like to stick with physical&#xA;books forever. They &lt;em&gt;unnecessarily&lt;/em&gt; occupy space in my home.&lt;/p&gt;&#xA;&lt;p&gt;There are various ways to do so:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Donating is the easiest. Leave books by the vestibule of your apartment&#xA;building complex with a post-it note stating that it&amp;rsquo;s free&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/07/the-lifecycle-of-physical-books/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Leave books in public &lt;a href=&#34;https://www.muenchen.de/sehenswuerdigkeiten/oeffentliche-buecherschraenke-muenchen-unsere-tipps&#34;&gt;community&#xA;bookshelves&lt;/a&gt;&#xA;or libraries.&lt;/li&gt;&#xA;&lt;li&gt;Gift a book to a friend. Bonus points for being thoughtful.&lt;/li&gt;&#xA;&lt;li&gt;Sell a book in a classified site. Bonus points for using the same one you got&#xA;it from.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;And now, adding the missing alternative to my &lt;em&gt;repertoire&lt;/em&gt;:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://www.momox.de/&#34;&gt;momox&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Schnell &amp;amp; einfach Gebrauchtes verkaufen&#xA;Was möchtest du verkaufen?&#xA;Bücher &amp;amp; Medien&#xA;Kleidung&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Momox &lt;a href=&#34;https://en.wikipedia.org/wiki/Momox&#34;&gt;is&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;a Berlin-based recommerce site for used books and media founded by Christian&#xA;Wegner in 2004.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;In plain English: it&amp;rsquo;s like selling a book in a classified, but without having&#xA;to wait for someone to actually message you&lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/07/the-lifecycle-of-physical-books/#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Scan or input its ISBN, get an estimate of how much you&amp;rsquo;ll get for it (assuming&#xA;it&amp;rsquo;s in good condition), arrange a box, pack the book, ship it &lt;em&gt;for free&lt;/em&gt;, wait,&#xA;and then get paid. It&amp;rsquo;s very streamlined and easy to use.&lt;/p&gt;&#xA;&lt;p&gt;So far, I&amp;rsquo;ve only heard of this concept in Germany. I would love to find out if&#xA;it&amp;rsquo;s possible to follow suit in other countries. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;&lt;em&gt;Zu verschenken&lt;/em&gt;, as they say it &lt;em&gt;auf Deutsch&lt;/em&gt;. In plain English, &amp;ldquo;for&#xA;free&amp;rdquo; suffices.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/07/the-lifecycle-of-physical-books/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li id=&#34;fn:2&#34;&gt;&#xA;&lt;p&gt;And eventually lowball or flake on you.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/07/the-lifecycle-of-physical-books/#fnref:2&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: The lifecycle of physical books&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ Project Aces OST
      </title>
      <link>https://perrotta.dev/2026/07/project-aces-ost/</link>
      <pubDate>Fri, 17 Jul 2026 12:52:54 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>bestof</category>
      <category>gaming</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/07/project-aces-ost/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://acecombat.fandom.com/wiki/Project_Aces&#34;&gt;Project Aces&lt;/a&gt; (from the &lt;a href=&#34;https://en.wikipedia.org/wiki/Ace_Combat&#34;&gt;Ace&#xA;Combat&lt;/a&gt; series) has one of the best&#xA;videogame &lt;a href=&#34;https://en.wikipedia.org/wiki/Soundtrack&#34;&gt;OSTs&lt;/a&gt; ever.&lt;/p&gt;&#xA;&lt;p&gt;I am&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/07/project-aces-ost/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; finally pleased&lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/07/project-aces-ost/#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; to find their whole collection available on&#xA;&lt;a href=&#34;https://open.spotify.com/artist/1dhKyn9jcCoyrxGq4tI7Vc&#34;&gt;Spotify&lt;/a&gt; as of 2026.&#xA;Previously, only a handful of them were available.&lt;/p&gt;&#xA;&lt;p&gt;No more fiddling random playlists on &lt;a href=&#34;https://music.youtube.com/&#34;&gt;YouTube&#xA;Music&lt;/a&gt;!&lt;/p&gt;&#xA;&lt;p&gt;See also: &lt;a href=&#34;https://perrotta.dev/radio/&#34;&gt;radio&lt;/a&gt;. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://old.reddit.com/r/acecombat/comments/1amjb61/so_project_aces_just_dropped_the_entire/&#34;&gt;I&amp;rsquo;m not the only&#xA;one&lt;/a&gt;.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/07/project-aces-ost/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li id=&#34;fn:2&#34;&gt;&#xA;&lt;p&gt;I am also &lt;strong&gt;very&lt;/strong&gt; pleased about the upcoming release of &lt;a href=&#34;https://store.steampowered.com/app/2288340/ACE_COMBAT_8_WINGS_OF_THEVE/&#34;&gt;Ace Combat 8:&#xA;Wings of&#xA;Theve&lt;/a&gt;&#xA;(Oct 2nd, 2026). I wasn&amp;rsquo;t aware of it until now! Too bad I don&amp;rsquo;t currently&#xA;have any hardware to play it, and &lt;a href=&#34;https://daringfireball.net/linked/2026/06/27/microsoft-raises-xbox-prices&#34;&gt;console prices keep&#xA;rising&lt;/a&gt;.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/07/project-aces-ost/#fnref:2&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: Project Aces OST&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/gaming/&#34;&gt;#gaming&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ cmux
      </title>
      <link>https://perrotta.dev/2026/07/cmux/</link>
      <pubDate>Tue, 07 Jul 2026 14:35:14 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>dev</category>
      <category>ghostty</category>
      <guid>https://perrotta.dev/2026/07/cmux/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://cmux.com/&#34;&gt;cmux&lt;/a&gt; is the best implementation I&amp;rsquo;ve&#xA;seen for agent orchestrators apps like &lt;a href=&#34;https://www.conductor.build/&#34;&gt;Conductor&lt;/a&gt;,&#xA;&lt;a href=&#34;https://github.com/pingdotgg/t3code&#34;&gt;T3 Code&lt;/a&gt;,&#xA;&lt;a href=&#34;https://github.com/patrickdappollonio/dux&#34;&gt;Dux&lt;/a&gt;, and friends:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Open source Ghostty-based macOS terminal with vertical tabs and notifications&#xA;for AI coding agents. Built for multitasking, organization, and&#xA;programmability.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;It&amp;rsquo;s built on top of &lt;a href=&#34;https://ghostty.org/&#34;&gt;Ghostty&lt;/a&gt;&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/07/cmux/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; and it&amp;rsquo;s absolutely&#xA;amazing. It&amp;rsquo;s effectively better than what I attempted to build once during an&#xA;on-site hackathon wiring Claude Code sessions to&#xA;&lt;a href=&#34;https://obsidian.md/&#34;&gt;Obsidian&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The invariant I care about the most:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;restart your computer&lt;/li&gt;&#xA;&lt;li&gt;reopen &lt;code&gt;$APP&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;automatically restore every claude code session: layout &amp;amp; history preserved,&#xA;scrollback intact&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&amp;hellip;is accomplished with fine elegance by &lt;code&gt;cmux&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;There&amp;rsquo;s no need to manually fiddle with &lt;code&gt;tmux&lt;/code&gt; / &lt;code&gt;zellij&lt;/code&gt; resurrection or alike.&lt;/p&gt;&#xA;&lt;p&gt;Pair it with &lt;a href=&#34;https://perrotta.dev/2026/05/worktrunk/&#34;&gt;worktrunk&lt;/a&gt; (the &lt;code&gt;wt&lt;/code&gt; CLI) for&#xA;bonus points. Its&#xA;&lt;a href=&#34;https://worktrunk.dev/tips-patterns/#cmux-workspace-per-worktree&#34;&gt;integration&lt;/a&gt;&#xA;is well-supported, achieving one cmux workspace per git worktree. For the time&#xA;being I&amp;rsquo;m still invoking &lt;code&gt;wt&lt;/code&gt; manually though, because that gives me more&#xA;control.&lt;/p&gt;&#xA;&lt;p&gt;It is very &lt;a href=&#34;https://cmux.com/docs/configuration&#34;&gt;customizable&lt;/a&gt;. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;Desirable side effect: existing &lt;code&gt;ghostty&lt;/code&gt; settings are automatically&#xA;inherited. They aren&amp;rsquo;t duplicated — they are effectively reused, which is&#xA;superb.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/07/cmux/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: cmux&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/ghostty/&#34;&gt;#ghostty&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ claude code: ship your skills as a plugin marketplace
      </title>
      <link>https://perrotta.dev/2026/06/claude-code-ship-your-skills-as-a-plugin-marketplace/</link>
      <pubDate>Thu, 25 Jun 2026 20:40:02 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>bloggify</category>
      <category>claude</category>
      <category>coding</category>
      <category>dev</category>
      <guid>https://perrotta.dev/2026/06/claude-code-ship-your-skills-as-a-plugin-marketplace/</guid>
      <description>&lt;p&gt;♠ &lt;strong&gt;Problem statement&lt;/strong&gt;: my Claude Code&#xA;&lt;a href=&#34;https://code.claude.com/docs/en/skills&#34;&gt;skills&lt;/a&gt; lived in my&#xA;&lt;a href=&#34;https://github.com/thiagowfx/.dotfiles&#34;&gt;.dotfiles&lt;/a&gt;, usable only on the machine&#xA;that cloned them. I wanted them to be installable anywhere with one command, so&#xA;that (for example) my teammates could easily adopt them.&lt;/p&gt;&#xA;&lt;p&gt;Claude Code reads skills from a marketplace, which is essentially a git repo&#xA;with a manifest. So I turned &lt;code&gt;github.com/thiagowfx/skills&lt;/code&gt; into one. The layout:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;.claude-plugin/marketplace.json    # marketplace manifest&#xA;plugins/thiagowfx/                 # one plugin&#xA;  .claude-plugin/plugin.json       # plugin manifest&#xA;  skills/&amp;lt;name&amp;gt;/SKILL.md           # one dir per skill (auto-discovered)&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The marketplace lists plugins; a plugin bundles skills. I have one plugin&#xA;holding all ten. I do not find it necessary to have multiple plug-ins at this&#xA;point. &lt;code&gt;marketplace.json&lt;/code&gt; points at it with a relative &lt;code&gt;source&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-json&#34;&gt;{&#xA;  &amp;#34;name&amp;#34;: &amp;#34;thiagowfx&amp;#34;,&#xA;  &amp;#34;owner&amp;#34;: { &amp;#34;name&amp;#34;: &amp;#34;Thiago Perrotta&amp;#34;, &amp;#34;url&amp;#34;: &amp;#34;https://github.com/thiagowfx&amp;#34; },&#xA;  &amp;#34;plugins&amp;#34;: [&#xA;    {&#xA;      &amp;#34;name&amp;#34;: &amp;#34;thiagowfx&amp;#34;,&#xA;      &amp;#34;source&amp;#34;: &amp;#34;./plugins/thiagowfx&amp;#34;,&#xA;      &amp;#34;description&amp;#34;: &amp;#34;Thiago&amp;#39;s personal Gen-AI / Claude Code skills.&amp;#34;&#xA;    }&#xA;  ]&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The plugin manifest is just metadata — there&amp;rsquo;s no need to enumerate skills.&#xA;Anything under &lt;code&gt;skills/&amp;lt;name&amp;gt;/SKILL.md&lt;/code&gt; is discovered automatically:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-json&#34;&gt;{&#xA;  &amp;#34;name&amp;#34;: &amp;#34;thiagowfx&amp;#34;,&#xA;  &amp;#34;version&amp;#34;: &amp;#34;0.2.2&amp;#34;,&#xA;  &amp;#34;license&amp;#34;: &amp;#34;MIT&amp;#34;&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The docs are explicit about why I keep that &lt;code&gt;version&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Setting &lt;code&gt;version&lt;/code&gt; means users only receive updates when you change this field, so&#xA;bump it on every release. If you omit &lt;code&gt;version&lt;/code&gt; and host this marketplace in git,&#xA;every commit automatically counts as a new version.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I&amp;rsquo;ll go with version pinning for now.&lt;/p&gt;&#xA;&lt;p&gt;Install from any machine:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;/plugin marketplace add thiagowfx/skills&#xA;/plugin install thiagowfx@thiagowfx&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;code&gt;/plugin marketplace update thiagowfx&lt;/code&gt; pulls future changes.&lt;/p&gt;&#xA;&lt;p&gt;Outside Claude:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;claude plugins update thiagowfx@thiagowfx&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The whole thing — manifests, nine seeded skills, README, license — was&#xA;scaffolded by Claude Code itself, which felt appropriately recursive: one of the&#xA;skills I was packaging interviews me about a plan before any code gets written,&#xA;so it &lt;a href=&#34;https://github.com/thiagowfx/skills/blob/bb5c0d6ef60b7873d8df907a668db833674a0849/plugins/thiagowfx/skills/grill-me/SKILL.md&#34;&gt;grilled&#xA;me&lt;/a&gt;&#xA;about how to package the skills. Quite meta, eh?&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Next up&lt;/strong&gt;: point the dotfiles at the repo so there&amp;rsquo;s a single source of truth. ∎&lt;/p&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: claude code: ship your skills as a plugin marketplace&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bloggify/&#34;&gt;#bloggify&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/claude/&#34;&gt;#claude&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/coding/&#34;&gt;#coding&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ caveman: talk like caveman, save tokens
      </title>
      <link>https://perrotta.dev/2026/06/caveman-talk-like-caveman-save-tokens/</link>
      <pubDate>Thu, 25 Jun 2026 01:30:43 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>bloggify</category>
      <category>claude</category>
      <category>dev</category>
      <guid>https://perrotta.dev/2026/06/caveman-talk-like-caveman-save-tokens/</guid>
      <description>&lt;p&gt;♠ Long Claude Code sessions eat a lot of context, fast. Each response injects&#xA;tokens into the context window: prose-heavy replies &lt;strong&gt;burn&lt;/strong&gt; through it faster&#xA;than terse ones ($$).&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://github.com/JuliusBrussee/caveman&#34;&gt;caveman&lt;/a&gt; is a Claude Code plugin that&#xA;switches the model into a &lt;strong&gt;compressed&lt;/strong&gt; communication style: drops articles,&#xA;filler words, and pleasantries while keeping full technical accuracy. Claims&#xA;~75% token reduction per response.&lt;/p&gt;&#xA;&lt;p&gt;Installation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% /plugin marketplace add JuliusBrussee/caveman&#xA;Successfully added marketplace: caveman&#xA;% /plugin install caveman@caveman&#xA;✓ Installed caveman. Run /reload-plugins to apply.&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;After &lt;code&gt;/reload-plugins&lt;/code&gt;, manually activate with &lt;code&gt;/caveman&lt;/code&gt;. Manually deactivate&#xA;it by saying &amp;ldquo;normal mode&amp;rdquo; or &amp;ldquo;caveman off&amp;rdquo;.&lt;/p&gt;&#xA;&lt;p&gt;A session-start hook fires automatically on the next session, effectively&#xA;auto-enabling it (&lt;code&gt;M-x caveman-mode&lt;/code&gt; emacs vibes).&lt;/p&gt;&#xA;&lt;p&gt;It ships three modes (&lt;code&gt;lite&lt;/code&gt;, &lt;code&gt;full&lt;/code&gt;, &lt;code&gt;ultra&lt;/code&gt;) and three subagent presets&#xA;(&lt;code&gt;cavecrew-investigator&lt;/code&gt;, &lt;code&gt;cavecrew-builder&lt;/code&gt;, &lt;code&gt;cavecrew-reviewer&lt;/code&gt;). I don&amp;rsquo;t&#xA;care. This is unnecessary bloat. An irony, for a plug-in intended to mitigate&#xA;bloat.&lt;/p&gt;&#xA;&lt;p&gt;The out-of-the-box installation is enough; tweaks are not necessary. The&#xA;defaults are sensible.&lt;/p&gt;&#xA;&lt;p&gt;In practice: responses are punchy. The model still reasons correctly; it just&#xA;stops narrating. No &amp;ldquo;Sure, I&amp;rsquo;d be happy to help with that.&amp;rdquo; Just the answer.&lt;/p&gt;&#xA;&lt;p&gt;&lt;del&gt;You&amp;rsquo;re absolutely right.&lt;/del&gt; no more!? ∎&lt;/p&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: caveman: talk like caveman, save tokens&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bloggify/&#34;&gt;#bloggify&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/claude/&#34;&gt;#claude&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ fast-resume: search coding agent sessions
      </title>
      <link>https://perrotta.dev/2026/05/fast-resume-search-coding-agent-sessions/</link>
      <pubDate>Mon, 25 May 2026 15:23:20 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>dev</category>
      <category>pkm</category>
      <guid>https://perrotta.dev/2026/05/fast-resume-search-coding-agent-sessions/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://github.com/angristan/fast-resume&#34;&gt;&lt;code&gt;fast-resume&lt;/code&gt;&lt;/a&gt; (&lt;code&gt;fr&lt;/code&gt;), via&#xA;&lt;a href=&#34;https://stanislas.blog/2026/01/tui-index-search-coding-agent-sessions/&#34;&gt;Stanislas&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;I use many coding agents these days: Claude Code, Codex, OpenCode, Copilot,&#xA;and more. Sometimes I remember that I, or the agent, mentioned something&#xA;specific in a previous session, and I want to go back to it.&lt;/p&gt;&#xA;&lt;p&gt;Most coding agents have a /resume feature now, which allows a session to be&#xA;reopened with all the state back. While the resume feature works great,&#xA;finding which session to resume is harder.&lt;/p&gt;&#xA;&lt;p&gt;[&amp;hellip;]&lt;/p&gt;&#xA;&lt;p&gt;Let&amp;rsquo;s say I have a few sessions about building a TUI program. I remember that&#xA;in one of the sessions, the agent mentioned textual. I can&amp;rsquo;t search for&#xA;textual in the resume view! Also, if I don&amp;rsquo;t remember the folder and which&#xA;agent I used, I&amp;rsquo;m screwed. And some agents don&amp;rsquo;t have that feature at all.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve been longing for a solution to this problem. &lt;code&gt;fast-resume&lt;/code&gt; nails it! It&#xA;reminds me of &lt;a href=&#34;https://facebook.github.io/PathPicker/&#34;&gt;&lt;code&gt;fpp&lt;/code&gt;&lt;/a&gt;, but for agent&#xA;sessions instead of disk files. In other words, it&amp;rsquo;s like a &lt;code&gt;ripgrep&lt;/code&gt; on&#xA;steroids designed specifically for coding agent sessions.&lt;/p&gt;&#xA;&lt;p&gt;It supports various agents (including Claude Code, OpenAI Codex and Open Code),&#xA;among others.&lt;/p&gt;&#xA;&lt;h2 id=&#34;installation&#34;&gt;&#xA;  Installation&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/05/fast-resume-search-coding-agent-sessions/#installation&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;brew tap angristan/tap&#xA;brew install fast-resume&#xA;% brew ls fast-resume&#xA;/opt/homebrew/Cellar/fast-resume/1.16.2/bin/fast-resume&#xA;/opt/homebrew/Cellar/fast-resume/1.16.2/bin/fr&#xA;/opt/homebrew/Cellar/fast-resume/1.16.2/libexec/_internal/ (140 files)&#xA;/opt/homebrew/Cellar/fast-resume/1.16.2/libexec/fr&#xA;/opt/homebrew/Cellar/fast-resume/1.16.2/sbom.spdx.json&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2 id=&#34;usage&#34;&gt;&#xA;  Usage&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/05/fast-resume-search-coding-agent-sessions/#usage&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;fr&lt;/code&gt; is all you need to remember.&lt;/p&gt;&#xA;&lt;p&gt;The program is a TUI, and it is very intuitive to use. Here are a few handy&#xA;terms for the search bar:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;dir:foo&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;agent:claude&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;date:today&lt;/code&gt;, &lt;code&gt;date:yesterday&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Upon selecting an entry you drop into its corresponding coding agent session.&lt;/p&gt;&#xA;&lt;p&gt;&amp;ldquo;YOLO&amp;rdquo; mode is transparently supported, respecting the original session&#xA;settings.&lt;/p&gt;&#xA;&lt;p&gt;The TUI mode is optional:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;fr &amp;#34;agent:claude date:&amp;lt;7d api bug&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;A local search index is created at &lt;code&gt;~/.cache/fast-resume&lt;/code&gt; by default. If you&#xA;need to re-create it for whatever reason, run &lt;code&gt;fr --rebuild&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In case you&amp;rsquo;re wondering (not that it should matter), it&amp;rsquo;s implemented in&#xA;Python.&lt;/p&gt;&#xA;&lt;p&gt;See also:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;fr --list&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;fr --stats&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;∎&lt;/p&gt;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: fast-resume: search coding agent sessions&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/pkm/&#34;&gt;#pkm&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ Worktrunk
      </title>
      <link>https://perrotta.dev/2026/05/worktrunk/</link>
      <pubDate>Mon, 25 May 2026 10:57:00 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>dev</category>
      <category>git</category>
      <category>pkm</category>
      <category>pre-commit</category>
      <guid>https://perrotta.dev/2026/05/worktrunk/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://worktrunk.dev/&#34;&gt;Worktrunk&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Git worktree management for parallel AI agent workflows&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I stumbled upon &lt;code&gt;worktrunk&lt;/code&gt; (&lt;code&gt;wt&lt;/code&gt;) due to a fortunate coincidence, serendipity&#xA;at its best. I was pitching my own &lt;a href=&#34;https://github.com/thiagowfx/pancake/tree/master/wt&#34;&gt;pancake&#xA;&lt;code&gt;wt&lt;/code&gt;&lt;/a&gt; to someone, and this&#xA;person asked if I hadn&amp;rsquo;t heard of &lt;code&gt;worktrunk&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;If you look at its &lt;a href=&#34;https://www.star-history.com/?type=date&amp;amp;repos=max-sixty%2Fworktrunk&#34;&gt;git star&#xA;history&lt;/a&gt;&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/05/worktrunk/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;,&#xA;you&amp;rsquo;ll notice that it became popular &lt;em&gt;only&lt;/em&gt; at the beginning of 2026, whereas I&#xA;wrote my &lt;code&gt;wt&lt;/code&gt; back in &lt;a href=&#34;https://github.com/thiagowfx/pancake/commit/a4de064cdcd0b0c0f19177e58cda41c14f55c88a&#34;&gt;November&#xA;2025&lt;/a&gt;.&#xA;I did proper diligence at the time but couldn&amp;rsquo;t find anything resembling my&#xA;vision. Normally I prefer to reuse rather than writing from scratch.&lt;/p&gt;&#xA;&lt;p&gt;&amp;ldquo;AI agent workflows&amp;rdquo; is a tagline that does not convince me. If anything, it&#xA;actually worsens my appeal to try out the software. Seriously. Riding the wave&#xA;is not helpful.&lt;/p&gt;&#xA;&lt;p&gt;What really sold me was its &lt;a href=&#34;https://worktrunk.dev/#context-git-worktrees&#34;&gt;usage&#xA;examples&lt;/a&gt;. I was able to&#xA;immediately tell that it had very similar goals to my own &lt;code&gt;wt&lt;/code&gt; (sans &lt;em&gt;AI&lt;/em&gt;).&lt;/p&gt;&#xA;&lt;h2 id=&#34;setup&#34;&gt;&#xA;  Setup&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/05/worktrunk/#setup&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;First, &lt;a href=&#34;https://repology.org/project/worktrunk/versions&#34;&gt;install&lt;/a&gt; &lt;code&gt;worktrunk&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;brew install worktrunk&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;It is as simple (and rusty!) as it could be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% brew ls worktrunk&#xA;/opt/homebrew/Cellar/worktrunk/0.53.0/.crates.toml&#xA;/opt/homebrew/Cellar/worktrunk/0.53.0/.crates2.json&#xA;/opt/homebrew/Cellar/worktrunk/0.53.0/bin/wt&#xA;/opt/homebrew/Cellar/worktrunk/0.53.0/etc/bash_completion.d/wt&#xA;/opt/homebrew/Cellar/worktrunk/0.53.0/sbom.spdx.json&#xA;/opt/homebrew/Cellar/worktrunk/0.53.0/share/fish/vendor_completions.d/wt.fish&#xA;/opt/homebrew/Cellar/worktrunk/0.53.0/share/zsh/site-functions/_wt&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Shell completion is a bonus that you&amp;rsquo;ll definitely want, as noted in a&#xA;&lt;a href=&#34;https://perrotta.dev/2026/05/wt-exec-shell-vs-shell-integration/&#34;&gt;previous&lt;/a&gt; post:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;# worktrunk: https://worktrunk.dev/&#xA;(( $&amp;#43;commands[wt] )) &amp;amp;&amp;amp; eval &amp;#34;$(wt config shell init zsh)&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The snippet above integrates well with my &lt;a href=&#34;https://github.com/thiagowfx/.dotfiles&#34;&gt;own&#xA;dotfiles&lt;/a&gt;; a vanilla setup that most&#xA;people should follow is, instead, &lt;code&gt;wt config shell install&lt;/code&gt;, which will populate&#xA;your &lt;code&gt;.bashrc&lt;/code&gt; / &lt;code&gt;.zshrc&lt;/code&gt; accordingly with &lt;code&gt;wt config shell init&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The shell integration alone makes it compelling enough to switch to &lt;code&gt;wt&lt;/code&gt;, but&#xA;we&amp;rsquo;re not done yet.&lt;/p&gt;&#xA;&lt;h2 id=&#34;workflow&#34;&gt;&#xA;  Workflow&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/05/worktrunk/#workflow&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;It is possible to &lt;a href=&#34;https://worktrunk.dev/config/#user-configuration&#34;&gt;customize&#xA;&lt;code&gt;wt&lt;/code&gt;&lt;/a&gt;. I value muscle memory&#xA;and the ability to easily recall commands, therefore I crafted &lt;a href=&#34;https://github.com/thiagowfx/.dotfiles/blob/5c665572443c3fd22a35c15ad2f15abf90edd711/wt/.config/worktrunk/config.toml&#34;&gt;this basic&#xA;configuration&lt;/a&gt;&#xA;to facilitate the migration from my own &lt;code&gt;wt&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-toml&#34;&gt;worktree-path = &amp;#34;{{ repo_path }}/.worktrees/{{ branch | sanitize }}&amp;#34;&#xA;&#xA;[aliases]&#xA;add = &amp;#34;wt switch --create {{ args }}&amp;#34;&#xA;bd = &amp;#34;wt remove -D {{ args }}&amp;#34;&#xA;cd = &amp;#34;wt switch {{ args }}&amp;#34;&#xA;checkout = &amp;#34;wt switch {{ args }}&amp;#34;&#xA;cleanup = &amp;#34;wt step prune {{ args }}&amp;#34;&#xA;co = &amp;#34;wt switch {{ args }}&amp;#34;&#xA;commit = &amp;#34;wt step commit {{ args }}&amp;#34;&#xA;create = &amp;#34;wt switch --create {{ args }}&amp;#34;&#xA;del = &amp;#34;wt remove {{ args }}&amp;#34;&#xA;delete = &amp;#34;wt remove {{ args }}&amp;#34;&#xA;goto = &amp;#34;wt switch --no-cd {{ args }}&amp;#34;&#xA;ls = &amp;#34;wt list {{ args }}&amp;#34;&#xA;new = &amp;#34;wt switch --create {{ args }}&amp;#34;&#xA;prune = &amp;#34;wt step prune {{ args }}&amp;#34;&#xA;rm = &amp;#34;wt remove {{ args }}&amp;#34;&#xA;tui = &amp;#34;wt switch {{ args }}&amp;#34;&#xA;world = &amp;#34;wt step prune {{ args }}&amp;#34;&#xA;xl = &amp;#34;wt list {{ args }}&amp;#34;&#xA;&#xA;[pre-start]&#xA;prek = &amp;#34;test -f .pre-commit-config.yaml &amp;amp;&amp;amp; prek install --install-hooks || true&amp;#34;&#xA;&#xA;[pre-merge]&#xA;prek = &amp;#34;test -f .pre-commit-config.yaml &amp;amp;&amp;amp; prek run --from-ref \&amp;#34;$(git symbolic-ref --short refs/remotes/origin/HEAD)\&amp;#34; --to-ref HEAD || true&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;You can start by running &lt;code&gt;wt config create&lt;/code&gt; and then iterating upon the newly&#xA;generated config file, which is very well documented. What a great developer&#xA;experience!&lt;/p&gt;&#xA;&lt;p&gt;Let&amp;rsquo;s break it down.&lt;/p&gt;&#xA;&lt;p&gt;We start with &lt;code&gt;wt add &amp;lt;feature&amp;gt;&lt;/code&gt; (upstream: &lt;code&gt;wt switch --create&lt;/code&gt;). This will&#xA;create a worktree:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;tperrotta ~/Workspace/perrotta.dev git:master!?&#xA;% wt add myfeature&#xA;◎ Running pre-start user:prek&#xA;  test -f .pre-commit-config.yaml &amp;amp;&amp;amp; prek install --install-hooks || true&#xA;prek installed at `/Users/tperrotta/Workspace/perrotta.dev/.git/hooks/pre-commit`&#xA;✓ Created branch myfeature from master and worktree @ ~/Workspace/perrotta.dev/.worktrees/myfeature&#xA;  39.06s user 6.26s system 251% cpu 17.984 total&#xA;&#xA;tperrotta ~/Workspace/perrotta.dev/.worktrees/myfeature git:myfeature ⎇ myfeature&#xA;% git st&#xA;## myfeature...master&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;At any time, we can check the current status with &lt;code&gt;wt xl&lt;/code&gt; (upstream: &lt;code&gt;wt list&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;tperrotta ~/Workspace/perrotta.dev/.worktrees/myfeature git:myfeature ⎇ myfeature&#xA;% wt xl&#xA;  Branch     Status        HEAD±    main↕  Remote⇅  Path                    Commit    Age   Message&#xA;@ myfeature      _                                  ./.worktrees/myfeature  23df7c41  50m   name author explicitly&#xA;^ master      !? ^|      &amp;#43;5   -6              |     .                       23df7c41  50m   name author explicitly&#xA;&#xA;○ Showing 2 worktrees, 1 with changes&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;When opening a new shell, we can easily switch to the newly created worktree&#xA;from the repo root with &lt;code&gt;wt cd&lt;/code&gt; (upstream: &lt;code&gt;wt switch&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;tperrotta ~/Workspace/perrotta.dev git:master!?&#xA;% wt cd myfeature&#xA;○ Switched to worktree for myfeature @ ~/Workspace/perrotta.dev/.worktrees/myfeature&#xA;&#xA;tperrotta ~/Workspace/perrotta.dev/.worktrees/myfeature git:myfeature ⎇ myfeature&#xA;%&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Once we are done (e.g. created/merged a pull request), we can delete the&#xA;worktree with &lt;code&gt;wt bd&lt;/code&gt; or &lt;code&gt;wt del&lt;/code&gt; (upstream: &lt;code&gt;wt remove -D&lt;/code&gt;).&lt;/p&gt;&#xA;&lt;p&gt;That&amp;rsquo;s all! The core workflow steps are quite easy to assimilate.&lt;/p&gt;&#xA;&lt;p&gt;You&amp;rsquo;ll notice that my worktrees are created in a &lt;code&gt;.worktrees&lt;/code&gt; directory within&#xA;the git repository root. This is due to my setting &lt;code&gt;worktree-path&lt;/code&gt; in the config&#xA;file. The default behavior of &lt;code&gt;worktrunk&lt;/code&gt; is to use sibling directories (e.g.&#xA;&lt;code&gt;../myrepo.myfeature&lt;/code&gt; from the git root).&lt;/p&gt;&#xA;&lt;p&gt;As you can see from my config file, I have also integrated &lt;a href=&#34;https://perrotta.dev/2026/04/migrating-from-pre-commit-to-prek/&#34;&gt;&lt;code&gt;prek&lt;/code&gt;&lt;/a&gt; (&lt;code&gt;pre-commit&lt;/code&gt;) to it:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the creation of a worktree yields &lt;code&gt;prek install&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;the merge of a worktree (not covered in this post) yields &lt;code&gt;prek run&lt;/code&gt; on the&#xA;affected commits&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;code&gt;wt&lt;/code&gt; has many other features; this is just the tip of the iceberg. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;GitHub stars are a vanity metric but they are occasionally useful.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/05/worktrunk/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: Worktrunk&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/git/&#34;&gt;#git&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/pkm/&#34;&gt;#pkm&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/pre-commit/&#34;&gt;#pre-commit&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ Personal CLAUDE.md
      </title>
      <link>https://perrotta.dev/2026/05/personal-claude.md/</link>
      <pubDate>Wed, 20 May 2026 14:20:44 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>claude</category>
      <category>dev</category>
      <category>meta</category>
      <category>pkm</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/05/personal-claude.md/</guid>
      <description>&lt;p&gt;♠ I asked Claude Opus 4.7 to&#xA;&lt;a href=&#34;https://github.com/thiagowfx/.dotfiles/commit/fb23b4e653df1468d988ee02468fb5cd1fe769ee&#34;&gt;generate&lt;/a&gt;&#xA;a &lt;a href=&#34;https://code.claude.com/docs/en/settings&#34;&gt;global &lt;code&gt;CLAUDE.md&lt;/code&gt;&lt;/a&gt; for my tone &amp;amp; style based on historical usage for 12+&#xA;months. The result&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/05/personal-claude.md/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; was added to my&#xA;&lt;a href=&#34;https://github.com/thiagowfx/.dotfiles/blob/fb23b4e653df1468d988ee02468fb5cd1fe769ee/claude/.claude/CLAUDE.md&#34;&gt;&lt;code&gt;thiagowfx/.dotfiles&lt;/code&gt;&lt;/a&gt;&#xA;repo, cross-posted here for ease of reference and future preservation.&lt;/p&gt;&#xA;&lt;p&gt;I expect this file to evolve over time. Updates won&amp;rsquo;t be republished here; the&#xA;dotfiles repo is the source of truth.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-markdown&#34;&gt;# Global CLAUDE.md&#xA;&#xA;Personal preferences that apply across every project. Project-specific facts live in each repo&amp;#39;s own CLAUDE.md.&#xA;&#xA;## Tone&#xA;&#xA;- Terse. Action-oriented. No lectures, no preamble, no trailing summaries, no&#xA;  political correctness.&#xA;- Don&amp;#39;t invent sections, headings, or boilerplate I didn&amp;#39;t request. Match the&#xA;  shape of what I asked for.&#xA;- Number multi-part questions (1/2/3) so I can answer inline.&#xA;- When disambiguating, focus on one topic at a time.&#xA;- If I reply &amp;#34;yes&amp;#34;, &amp;#34;go on&amp;#34;, &amp;#34;a)&amp;#34;, &amp;#34;do it&amp;#34;, or similar — that&amp;#39;s full&#xA;  authorization. Don&amp;#39;t re-confirm.&#xA;&#xA;## Keep moving&#xA;&#xA;- If my reply is &amp;#34;hello?&amp;#34;, &amp;#34;so?&amp;#34;, &amp;#34;are you still there?&amp;#34; — you stalled. Don&amp;#39;t&#xA;  wait for trivial confirmation; pick the reasonable default and continue.&#xA;- After a sandbox lift (&amp;#34;try again&amp;#34;, &amp;#34;I lifted your sandbox&amp;#34;) — retry the exact&#xA;  same command. Don&amp;#39;t restart reasoning.&#xA;- Don&amp;#39;t pause to summarize what you just did before doing the next step.&#xA;&#xA;## Don&amp;#39;t over-engineer&#xA;&#xA;- Bug fixes don&amp;#39;t need surrounding refactors. One-shot operations don&amp;#39;t need&#xA;  helpers.&#xA;- If you add a flag (`--force`, `--recursive`, etc.), be ready to justify it.&#xA;  Don&amp;#39;t cargo-cult.&#xA;- Prefer the simplest thing that works. I&amp;#39;ll ask for more if I want more. Keep&#xA;  it simple.&#xA;&#xA;## Destructive ops&#xA;&#xA;- Never `rm`. Use `trash` (or the equivalent move-to-trash).&#xA;- For destructive ops on shared state (S3 objects, branches, DB rows): make a&#xA;  backup first, then delete only what matches, then confirm. Phrase:&#xA;  *backup → filter → delete*.&#xA;- Never force-push to `master`/`main`. Never skip hooks (`--no-verify`) unless I&#xA;  explicitly ask.&#xA;&#xA;## Tooling defaults&#xA;&#xA;- **Pre-commit**: prefer `prek` over `pre-commit`. Run&#xA;  `prek run --all-files`. When configuring hooks, prefer self-contained/pinned&#xA;  deps over relying on system binaries.&#xA;- **Polling**: never `sleep` in a loop. Use the `Monitor` tool with an `until`&#xA;  condition, or `run_in_background` and wait for the notification.&#xA;- **`gh pr checks`**: `--watch` and `--json` are mutually exclusive. Don&amp;#39;t&#xA;  combine them.&#xA;- **Editor**: vim (preferred) and Zed. Don&amp;#39;t suggest VSCode-specific workflows.&#xA;&#xA;## Worktrees and PRs&#xA;&#xA;- Default to worktrees for parallel work. Path convention:&#xA;  `~/&amp;lt;org&amp;gt;/&amp;lt;repo&amp;gt;/.worktrees/&amp;lt;topic&amp;gt;/`. If I say &amp;#34;work here please: `&amp;lt;path&amp;gt;`&amp;#34;,&#xA;  `cd` there and proceed. Use the `wt` tool to manage worktrees.&#xA;- Branch prefix: `thiagowfx/&amp;lt;topic&amp;gt;`.&#xA;- Slash commands I lean on: `/commit`, `/commit-and-send-pr`, `/send-pr`,&#xA;  `/pr-pass`, `/gha`, `/grill-me`. If I chain a task with one of these (&amp;#34;do X,&#xA;  then /commit-and-send-pr foo&amp;#34;), treat the slash command as the final step —&#xA;  invoke it, don&amp;#39;t paraphrase.&#xA;- &amp;#34;commit what you changed (only). DO NOT push&amp;#34; means exactly that: stage only&#xA;  the files you touched this turn, commit, stop.&#xA;- For non-trivial PRs, include a Mermaid diagram in the description when it&#xA;  helps. Beware of string escaping issues.&#xA;- After any meaningful change to an open PR, update the PR description&#xA;  (`gh pr edit`) so it reflects the current state. Don&amp;#39;t let the title/body&#xA;  drift from what the branch actually does.&#xA;&#xA;## Drift and reconciliation&#xA;&#xA;- When code and live state disagree, the default is **update the code to match&#xA;  the live state**, not the reverse. Don&amp;#39;t propose `terraform import`&#xA;  reshuffles unless I ask.&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2 id=&#34;colophon&#34;&gt;&#xA;  Colophon&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/05/personal-claude.md/#colophon&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;How did I do this?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% cd ~/.claude &amp;amp;&amp;amp; claude&#xA;% help me craft my (global) CLAUDE.md, based on past interactions&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;That&amp;rsquo;s it! No fancy prompt. Direct and succinct. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;I performed a few manual tweaks. The end result was quite decent (to my&#xA;taste).&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/05/personal-claude.md/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: Personal CLAUDE.md&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/claude/&#34;&gt;#claude&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/meta/&#34;&gt;#meta&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/pkm/&#34;&gt;#pkm&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ Small PRs
      </title>
      <link>https://perrotta.dev/2026/05/small-prs/</link>
      <pubDate>Mon, 18 May 2026 11:48:14 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>bestof</category>
      <category>dev</category>
      <category>git</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/05/small-prs/</guid>
      <description>&lt;p&gt;♠ From the &lt;a href=&#34;https://google.github.io/eng-practices/&#34;&gt;Google Engineering Practices&lt;/a&gt;&#xA;handbook:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Why Write Small CLs?&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Reviewed more quickly&lt;/li&gt;&#xA;&lt;li&gt;Reviewed more thoroughly&lt;/li&gt;&#xA;&lt;li&gt;Less likely to introduce bugs&lt;/li&gt;&#xA;&lt;li&gt;Less wasted work if they are rejected&lt;/li&gt;&#xA;&lt;li&gt;Easier to merge&lt;/li&gt;&#xA;&lt;li&gt;Easier to design well&lt;/li&gt;&#xA;&lt;li&gt;Less blocking on reviews&lt;/li&gt;&#xA;&lt;li&gt;Simpler to roll back&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;CLs = ChangeLists = PRs = Pull Requests&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://google.github.io/eng-practices/review/developer/small-cls.html&#34;&gt;Full&#xA;documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;My additions:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Easier to test&lt;/li&gt;&#xA;&lt;li&gt;Easier to explain to a teammate&lt;/li&gt;&#xA;&lt;li&gt;Easier for LLMs to ingest&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;∎&lt;/p&gt;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: Small PRs&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/git/&#34;&gt;#git&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ ↗ Reply to: Print gallery of an artist by Daniel Linssen
      </title>
      <link>https://perrotta.dev/2026/04/reply-to-print-gallery-of-an-artist-by-daniel-linssen/</link>
      <pubDate>Wed, 29 Apr 2026 13:14:21 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>commentary</category>
      <category>bestof</category>
      <category>gaming</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/04/reply-to-print-gallery-of-an-artist-by-daniel-linssen/</guid>
      <description>&lt;p&gt;♠ This game is absolutely amazing, in every conceivable way!&lt;/p&gt;&#xA;&lt;p&gt;I got stuck at the gravity level.&lt;/p&gt;&#xA;&lt;p&gt;Via &lt;a href=&#34;https://kottke.org/26/04/0048715-oh-wow-this-is-a&#34;&gt;Kottke&lt;/a&gt;. ∎&lt;/p&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: Reply to: Print gallery of an artist by Daniel Linssen&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/gaming/&#34;&gt;#gaming&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/categories/commentary/&#34;&gt;%commentary&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ GitHub: review only files owned by you
      </title>
      <link>https://perrotta.dev/2026/04/github-review-only-files-owned-by-you/</link>
      <pubDate>Tue, 28 Apr 2026 11:01:10 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>bestof</category>
      <category>dev</category>
      <category>git</category>
      <guid>https://perrotta.dev/2026/04/github-review-only-files-owned-by-you/</guid>
      <description>&lt;p&gt;♠ If you use&#xA;&lt;a href=&#34;https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners&#34;&gt;&lt;code&gt;CODEOWNERS&lt;/code&gt;&lt;/a&gt;&#xA;on GitHub, there is a neat&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/04/github-review-only-files-owned-by-you/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; feature to streamline your pull request reviews.&lt;/p&gt;&#xA;&lt;p&gt;Arguably, in large codebases, you&amp;rsquo;re only interested in reviewing files owned by&#xA;you or your team. Wouldn&amp;rsquo;t it be great if you could filter out files that you do&#xA;not own?&lt;/p&gt;&#xA;&lt;p&gt;This &lt;a href=&#34;https://github.com/microsoft/vscode-pull-request-github/issues/6624&#34;&gt;turns&#xA;out&lt;/a&gt; to be&#xA;possible.&lt;/p&gt;&#xA;&lt;p&gt;Workflow:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;go to a given pull request&lt;/li&gt;&#xA;&lt;li&gt;click &amp;ldquo;Files changed&amp;rdquo; in the top navbar (it&amp;rsquo;s the last tab)&lt;/li&gt;&#xA;&lt;li&gt;on the left sidebar, click the filter button&lt;/li&gt;&#xA;&lt;li&gt;click &amp;ldquo;Only files owned by you&amp;rdquo;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;em&gt;Boom&lt;/em&gt;. The file noise is gone now!&lt;/p&gt;&#xA;&lt;p&gt;In case you can&amp;rsquo;t easily spot the filter button, take a look at the screenshot&#xA;in the link above. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;Neat and hard to discover!&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/04/github-review-only-files-owned-by-you/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: GitHub: review only files owned by you&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/git/&#34;&gt;#git&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ Justfile with checks
      </title>
      <link>https://perrotta.dev/2026/04/justfile-with-checks/</link>
      <pubDate>Mon, 27 Apr 2026 10:42:00 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>bestof</category>
      <category>dev</category>
      <category>serenity</category>
      <category>terrateam</category>
      <guid>https://perrotta.dev/2026/04/justfile-with-checks/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://perrotta.dev/2024/12/just/&#34;&gt;Previously&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I love &lt;a href=&#34;https://just.systems/&#34;&gt;&lt;code&gt;just&lt;/code&gt;&lt;/a&gt; to manage a small collection of related&#xA;scripts within a given codebase. An example in our Terraform codebase&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/04/justfile-with-checks/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% just check-{hit TAB for completion}&#xA;completing values&#xA;check-aws-config         -- Validate AWS profiles in ~/.aws/config&#xA;check-aws-provider-tags  -- Check AWS provider default_tags configuration&#xA;check-backend-locking    -- Verify S3 backends have use_lockfile = true&#xA;check-import-blocks      -- Check for Terraform import blocks&#xA;check-lockfiles          -- Check that all projects have lockfiles&#xA;check-moved-blocks       -- Check for Terraform moved blocks&#xA;check-secret-accounts    -- Check expected_account_id in terraform-secrets&#xA;check-secrets-tf         -- Validate secrets.tf file structure&#xA;check-shared-values      -- Check for hardcoded values that duplicate shared modules&#xA;check-stacks             -- Verify garden projects have correct stack tags&#xA;check-terraform-version  -- Validate .terraform-version format&#xA;check-terrateam-tags     -- Verify projects are tagged in Terrateam config&#xA;check-tfdocs             -- Check that all README.md have TF_DOCS blocks&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Adopting a common prefix (&lt;code&gt;check-&lt;/code&gt;) improves their discoverability.&lt;/p&gt;&#xA;&lt;p&gt;There&amp;rsquo;s no need to rely on interactivity to take advantage of &lt;code&gt;just&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% just --list&#xA;Available recipes:&#xA;    default                                            # Show categorized help for available commands&#xA;    help                                               # Display categorized help for available commands&#xA;&#xA;[...]&#xA;&#xA;    [terraform]&#xA;    apply module_path=invocation_directory() *args=&amp;#34;&amp;#34;  # Run terraform apply&#xA;    clean module_path=invocation_directory()           # Remove .terraform artifacts&#xA;    destroy module_path *args=&amp;#34;&amp;#34;                       # Run terraform destroy&#xA;    fmt module_path=invocation_directory() *args=&amp;#34;&amp;#34;    # Format terraform files&#xA;    import module_path *args=&amp;#34;&amp;#34;                        # Run terraform import&#xA;    init module_path=invocation_directory() *args=&amp;#34;&amp;#34;   # Initialize terraform with backend config&#xA;    output module_path=invocation_directory() *args=&amp;#34;&amp;#34; # Show terraform outputs&#xA;    plan module_path=invocation_directory() *args=&amp;#34;&amp;#34;   # Run terraform plan&#xA;    providers-lock module_path=invocation_directory() *args=&amp;#34;&amp;#34; # Lock providers for multiple platforms&#xA;    refresh module_path=invocation_directory() *args=&amp;#34;&amp;#34; # Run terraform refresh&#xA;    show module_path=invocation_directory() *args=&amp;#34;&amp;#34;   # Show terraform state or plan&#xA;    stack-apply *args=&amp;#34;&amp;#34;                               # Apply projects in Terrateam stack order (--dry-run for preview)&#xA;    stack-plan *args=&amp;#34;&amp;#34;                                # Plan projects in Terrateam stack order&#xA;    state module_path=invocation_directory() *args=&amp;#34;&amp;#34;  # Run terraform state commands&#xA;    test module_path=invocation_directory() *args=&amp;#34;&amp;#34;   # Run terraform tests&#xA;    unlock *args=&amp;#34;&amp;#34;                                    # Force unlock state lock (auto-detects lock ID) [alias: force-unlock]&#xA;    upgrade module_path=invocation_directory() *args=&amp;#34;&amp;#34; # Upgrade providers to latest versions&#xA;    validate module_path=invocation_directory() *args=&amp;#34;&amp;#34; # Validate terraform configuration&#xA;&#xA;[...]&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Justfile &lt;a href=&#34;https://perrotta.dev/2026/02/justfile-groups/&#34;&gt;groups&lt;/a&gt; enhance &lt;code&gt;--list&lt;/code&gt; by&#xA;grouping(!) entries together.&lt;/p&gt;&#xA;&lt;p&gt;This is what a typical entry looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-just&#34;&gt;[doc(&amp;#39;Validate AWS profiles in ~/.aws/config&amp;#39;)]&#xA;[group(&amp;#39;checks&amp;#39;)]&#xA;check-aws-config:&#xA;    @./ci/check_aws_config.sh&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;code&gt;just&lt;/code&gt; is &lt;em&gt;just&lt;/em&gt; (pun intended) a glue for various shell and Python scripts in&#xA;&lt;code&gt;ci/&lt;/code&gt;. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;I wrote all of these.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/04/justfile-with-checks/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: Justfile with checks&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/terrateam/&#34;&gt;#terrateam&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ swiftbar
      </title>
      <link>https://perrotta.dev/2026/04/swiftbar/</link>
      <pubDate>Mon, 20 Apr 2026 23:45:00 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>bestof</category>
      <category>dev</category>
      <category>macos</category>
      <guid>https://perrotta.dev/2026/04/swiftbar/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://github.com/swiftbar/SwiftBar&#34;&gt;SwiftBar&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Powerful macOS menu bar customization tool&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;It is comparable to &lt;a href=&#34;https://i3wm.org/i3bar/&#34;&gt;i3bar&lt;/a&gt; and&#xA;&lt;a href=&#34;https://i3wm.org/docs/i3status.html&#34;&gt;i3status&lt;/a&gt;, but on macOS.&lt;/p&gt;&#xA;&lt;p&gt;My current setup:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://perrotta.dev/2026/04/swiftbar/statusbar.webp&#34; alt=&#34;macOS status bar&#34;&#xA;  loading=&#34;lazy&#34; decoding=&#34;async&#34; /&gt;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;This screenshot is from a few months ago (January).&lt;/p&gt;&#xA;&lt;p&gt;From left to right, skipping the default macOS Control Center icons on the&#xA;right side:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;On-call tribunal · in 7m&lt;/strong&gt;: next calendar event of the day, with a countdown — via a &lt;a href=&#34;https://www.raycast.com/changelog/1-32-0&#34;&gt;Raycast extension&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;🟢 &lt;strong&gt;VPN&lt;/strong&gt;: VPN status — green when connected (SwiftBar)&lt;/li&gt;&#xA;&lt;li&gt;🔒 &lt;strong&gt;TP [6h]&lt;/strong&gt;: time left on my &lt;a href=&#34;https://goteleport.com/&#34;&gt;Teleport&lt;/a&gt; session (SwiftBar)&lt;/li&gt;&#xA;&lt;li&gt;☁️ &lt;strong&gt;AWS [2h]&lt;/strong&gt;: time left on my AWS credentials (SwiftBar)&lt;/li&gt;&#xA;&lt;li&gt;👤 &lt;strong&gt;Decisive Battle · 目黒将士&lt;/strong&gt;: currently playing track on Spotify&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/04/swiftbar/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; — via a &lt;a href=&#34;https://www.raycast.com/mattisssa/spotify-player&#34;&gt;Raycast extension&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Each SwiftBar item is its own script, refreshed on its own cadence. The shorter&#xA;the refresh interval, the more system resources it takes, naturally.&lt;/p&gt;&#xA;&lt;p&gt;Scripts live in &lt;code&gt;~/.config/swiftbar&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Here&amp;rsquo;s a typical one: &lt;code&gt;~/.config/swiftbar/corp-status.30s.sh&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;30s&lt;/code&gt; in the filename means that the script is refreshed every 30 seconds. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;Final Fantasy OST!&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/04/swiftbar/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: swiftbar&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/macos/&#34;&gt;#macos&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ anki: flashcard generation with claude code
      </title>
      <link>https://perrotta.dev/2026/04/anki-flashcard-generation-with-claude-code/</link>
      <pubDate>Wed, 15 Apr 2026 16:09:12 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>anki</category>
      <category>bestof</category>
      <category>claude</category>
      <category>dev</category>
      <category>pkm</category>
      <guid>https://perrotta.dev/2026/04/anki-flashcard-generation-with-claude-code/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://perrotta.dev/2026/04/anki-api-access/&#34;&gt;Previously&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I started to use &lt;a href=&#34;https://docs.anthropic.com/en/docs/claude-code&#34;&gt;Claude Code&lt;/a&gt;&#xA;to generate flashcards for my (new) &lt;strong&gt;Tech&lt;/strong&gt; Deck via&#xA;&lt;a href=&#34;https://ankiweb.net/shared/info/2055492159&#34;&gt;AnkiConnect&lt;/a&gt;, covering books and&#xA;topics I&amp;rsquo;m studying for to consolidate my SWE-SRE knowledge.&lt;/p&gt;&#xA;&lt;p&gt;The workflow: I tell Claude which book or topic to cover, it researches their&#xA;key concepts, checks my existing cards (notes) for potential overlap, and&#xA;batch-adds new ones via the AnkiConnect HTTP API:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-python&#34;&gt;def anki_request(action, **params):&#xA;    payload = json.dumps({&amp;#34;action&amp;#34;: action, &amp;#34;version&amp;#34;: 6, &amp;#34;params&amp;#34;: params})&#xA;    req = urllib.request.Request(&amp;#34;http://localhost:8765&amp;#34;, data=payload.encode(), method=&amp;#34;POST&amp;#34;)&#xA;    with urllib.request.urlopen(req) as resp:&#xA;        return json.loads(resp.read())[&amp;#34;result&amp;#34;]&#xA;&#xA;notes = [&#xA;    {&#xA;        &amp;#34;deckName&amp;#34;: &amp;#34;Tech 💻&amp;#34;,&#xA;        &amp;#34;modelName&amp;#34;: &amp;#34;Basic&amp;#34;,&#xA;        &amp;#34;fields&amp;#34;: {&#xA;            &amp;#34;Front&amp;#34;: &amp;#34;DDIA: &amp;lt;b&amp;gt;LSM-Trees vs B-Trees&amp;lt;/b&amp;gt; — how do they differ?&amp;#34;,&#xA;            &amp;#34;Back&amp;#34;: &amp;#34;...&amp;#34;  # HTML-formatted answer&#xA;        },&#xA;        &amp;#34;tags&amp;#34;: [&amp;#34;ddia&amp;#34;],&#xA;    },&#xA;    # ... more notes&#xA;]&#xA;&#xA;anki_request(&amp;#34;addNotes&amp;#34;, notes=notes)&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;In a sample session, topics covered:&lt;/p&gt;&#xA;&lt;table&gt;&#xA;&#x9;&lt;thead&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Topic&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Cards&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Tag&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/thead&gt;&#xA;&#x9;&lt;tbody&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;SRE (Google)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;50&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;sre&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;System Design&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;40&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;system-design&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;LeetCode / Python&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;41&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;python&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Kubernetes&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;20&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;kubernetes&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Production-Ready Microservices (Susan Fowler)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;28&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;microservices&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;DDIA (Martin Kleppmann)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;25&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;ddia&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Building Microservices (Newman)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;16&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;microservices&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Fundamentals of Software Architecture (Richards &amp;amp; Ford)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;25&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;software-architecture&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Kubernetes advanced&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;25&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;kubernetes&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Networking&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;17&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;networking&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Linux / Systems Performance&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;16&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;linux&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Python stdlib&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;23&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;python&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Total&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;~326&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;For each book, Claude searched the web for chapter summaries and key concepts,&#xA;cross-referenced my existing cards to avoid duplication, then created a Python&#xA;script to push cards through AnkiConnect&amp;rsquo;s &lt;code&gt;addNotes&lt;/code&gt; action.&lt;/p&gt;&#xA;&lt;p&gt;Cards match the existing format: Basic note type, HTML formatting (&lt;code&gt;&amp;lt;b&amp;gt;&lt;/code&gt;,&#xA;&lt;code&gt;&amp;lt;br&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;code&amp;gt;&lt;/code&gt;, &lt;code&gt;•&lt;/code&gt;), one tag per topic.&lt;/p&gt;&#xA;&lt;p&gt;Example card (front):&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;DDIA: Sloppy quorums and hinted handoff — what are they?&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Example card (back):&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;In a standard quorum (w + r &amp;gt; n), writes/reads must reach specific replicas.&#xA;&lt;strong&gt;Problem&lt;/strong&gt;: during a network partition, the designated replicas may be&#xA;unreachable. Strict quorum would reject the write → reduced availability.&#xA;&lt;strong&gt;Sloppy quorum&lt;/strong&gt;: Accept writes on any reachable nodes, even if they aren&amp;rsquo;t&#xA;the designated replicas (&amp;hellip;)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;The whole process took about an hour. Doing it by hand would have taken days.&lt;/p&gt;&#xA;&lt;p&gt;I am excited to evolve this workflow. The next step is going to be to refactor&#xA;my thousands of language cards and notes. ∎&lt;/p&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: anki: flashcard generation with claude code&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/anki/&#34;&gt;#anki&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/claude/&#34;&gt;#claude&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/pkm/&#34;&gt;#pkm&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ ↗ Reply to: The Aging Programmer — Kate Gregory (2024) — YouTube
      </title>
      <link>https://perrotta.dev/2026/04/reply-to-the-aging-programmer-kate-gregory-2024-youtube/</link>
      <pubDate>Wed, 15 Apr 2026 01:57:29 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>commentary</category>
      <category>bestof</category>
      <category>dev</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/04/reply-to-the-aging-programmer-kate-gregory-2024-youtube/</guid>
      <description>&lt;p&gt;♠ This was a great talk!&lt;/p&gt;&#xA;&lt;p&gt;In a C++ conference, who would have imagined?&lt;/p&gt;&#xA;&lt;p&gt;Via &lt;a href=&#34;https://corecursive.com/the-aging-programmer/&#34;&gt;Adam Gordon Bell&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Kate Gregory has been writing C++ for over forty years. Books, keynotes, a&#xA;consulting firm she built from the ground up. At sixty-three, she&amp;rsquo;s one of the&#xA;most experienced programmers alive.&lt;/p&gt;&#xA;&lt;p&gt;She surveyed hundreds of software engineers about getting older. What scares&#xA;you? What&amp;rsquo;s changed? What have you lost? The things people feared most —&#xA;memory, stamina, keeping up — weren&amp;rsquo;t the real threats. The stuff that was&#xA;actually breaking down was mostly fixable. A bad knee wasn&amp;rsquo;t aging, it was a&#xA;torn cartilage. Wrist pain disappeared when she changed how she slept.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;∎&lt;/p&gt;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: Reply to: The Aging Programmer — Kate Gregory (2024) — YouTube&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/categories/commentary/&#34;&gt;%commentary&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ Filing upstream bugs in 2026
      </title>
      <link>https://perrotta.dev/2026/04/filing-upstream-bugs-in-2026/</link>
      <pubDate>Mon, 13 Apr 2026 14:33:07 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>dev</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/04/filing-upstream-bugs-in-2026/</guid>
      <description>&lt;p&gt;♠ First of all, get familiar with some &lt;em&gt;decent guidelines&lt;/em&gt; that exist since&#xA;forever:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://perrotta.dev/2024/06/xy-problem-xyproblem/&#34;&gt;XYProblem&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.catb.org/~esr/faqs/smart-questions.html&#34;&gt;How To Ask Questions The Smart Way&lt;/a&gt; by ESR (Eric Steven Raymond)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://wiki.archlinux.org/title/Bug_reporting_guidelines&#34;&gt;ArchWiki: Bug reporting guidelines&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;What is different in 2026? Gen AI / LLMs / Coding agents, of course. Everything&#xA;else stays the same.&lt;/p&gt;&#xA;&lt;p&gt;We don&amp;rsquo;t have to complicate things, I&amp;rsquo;ll start with an example, this is what a&#xA;typical decent bug report (or feature request) &lt;strong&gt;should&lt;/strong&gt; look like, filed by&#xA;yours truly&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/04/filing-upstream-bugs-in-2026/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://github.com/nikvdp/cco/issues/58&#34;&gt;nikvdp/cco&lt;/a&gt; (Claude Code Condom):&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;First of all, I &lt;a href=&#34;https://perrotta.dev/2026/02/cco-claude-condom-sandbox/&#34;&gt;love&lt;/a&gt; &lt;code&gt;cco&lt;/code&gt;. Thanks for your effort and the good work on it!&lt;/p&gt;&#xA;&lt;p&gt;Now, to the point: Claude has recently introduced an auto mode: &lt;a href=&#34;https://claude.com/blog/auto-mode&#34;&gt;https://claude.com/blog/auto-mode&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Today, we&amp;rsquo;re introducing auto mode, a new permissions mode in Claude Code where Claude makes permission decisions on your behalf, with safeguards monitoring actions before they run. It&amp;rsquo;s available now as a research preview on the Team plan, and coming to the Enterprise plan and API users in the coming days.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;It&amp;rsquo;s supposed to be slightly safer than the YOLO mode (&lt;code&gt;--dangerously-skip-permissions&lt;/code&gt;).&lt;/p&gt;&#xA;&lt;p&gt;You can enable and set it with &lt;code&gt;claude --enable-auto-mode&lt;/code&gt; (or via &lt;code&gt;settings.json&lt;/code&gt;).&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Feature request&lt;/strong&gt;: &lt;code&gt;cco&lt;/code&gt; should support launching claude in auto mode. Currently it unconditionally launches claude with &lt;code&gt;--dangerously-skip-permissions&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Do you think this would be a reasonable addition? If so, I would be happy to give it a try to send a PR (realistically I would prompt Claude to do so).&lt;/p&gt;&#xA;&lt;p&gt;Side note: the comment above was fully written (manually) by me. Slop notes from Claude come below 🙃:&lt;/p&gt;&#xA;&lt;p&gt;⏺ No upstream support exists yet. The repo is &lt;a href=&#34;https://github.com/nikvdp/cco&#34;&gt;nikvdp/cco&lt;/a&gt; and:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;No issue or feature request for &amp;ndash;auto mode support exists across all 25 issues and 33 PRs&lt;/li&gt;&#xA;&lt;li&gt;No PR or commit adding it&lt;/li&gt;&#xA;&lt;li&gt;The script hardcodes &amp;ndash;dangerously-skip-permissions in 7 places (both native and Docker backends) with no configuration option&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;This would be a good feature request to file. The implementation would be straightforward — make the permission mode configurable (e.g. via a &amp;ndash;permission-mode flag or CCO_PERMISSION_MODE env var) instead of hardcoding &amp;ndash;dangerously-skip-permissions.&lt;/p&gt;&#xA;&lt;p&gt;Worth noting: Claude Code&amp;rsquo;s &amp;ndash;auto mode (aka &amp;ndash;permission-mode auto) requires an API-tier plan (Team/Enterprise/API, not Pro or Max) and uses a classifier model to review actions before execution — so it&amp;rsquo;s a meaningful middle ground between full bypass and manual prompts.&lt;/p&gt;&#xA;&lt;p&gt;Want me to draft an issue for the nikvdp/cco repo?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;In no particular order:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Be &lt;a href=&#34;https://en.wikipedia.org/wiki/Golden_Rule&#34;&gt;&lt;strong&gt;kind&lt;/strong&gt;&lt;/a&gt;&lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/04/filing-upstream-bugs-in-2026/#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;. That cannot be&#xA;understated. No one owes you anything. Leave (self-)entitlement at the door.&lt;/li&gt;&#xA;&lt;li&gt;Be &lt;strong&gt;efficient&lt;/strong&gt;. Do not waste the maintainer&amp;rsquo;s time. Information should be&#xA;comprehensive/complete yet concise. Keep it simple and short&#xA;(&lt;a href=&#34;https://en.wikipedia.org/wiki/KISS_principle&#34;&gt;KISS&lt;/a&gt;).&lt;/li&gt;&#xA;&lt;li&gt;Be &lt;strong&gt;precise&lt;/strong&gt;, reduce room for &lt;em&gt;ambiguity&lt;/em&gt; as much as possible. Link to docs&#xA;whenever it makes sense. When linking to docs, be respectful of your peer&amp;rsquo;s&#xA;time and ensure to extract and blockquote relevant snippets so that they don&amp;rsquo;t&#xA;need to dig for it themselves. Furthermore, the links are important for&#xA;verification purposes (&lt;a href=&#34;https://en.wikipedia.org/wiki/Trust,_but_verify&#34;&gt;&lt;em&gt;trust, but verify&lt;/em&gt;&lt;/a&gt;).&lt;/li&gt;&#xA;&lt;li&gt;Be &lt;strong&gt;proactive&lt;/strong&gt;. Offer to help&lt;sup id=&#34;fnref:3&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/04/filing-upstream-bugs-in-2026/#fn:3&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;3&lt;/a&gt;&lt;/sup&gt; if you have the know-how and/or expertise&#xA;to do so.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Move on&lt;/strong&gt;. If you get no reply from the maintainer, do not bug them about&#xA;your bug/FR/PR. Find the next activity to work on. Fork it. Work around it.&#xA;Just don&amp;rsquo;t peg the maintainer to do it for you. This includes code review.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;It is much easier if you remember that the maintainer is a person, just like you. Not&#xA;a machine. Sounds obvious to state this, but it seems to me many people forget&#xA;that, with so much context switching and social media these days&amp;hellip;&lt;/p&gt;&#xA;&lt;p&gt;If you&amp;rsquo;re still reading until this point, chances are that you actually care.&#xA;Thank you! Keep it up. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;Practice what you preach&amp;hellip;I am obviously biased though.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/04/filing-upstream-bugs-in-2026/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li id=&#34;fn:2&#34;&gt;&#xA;&lt;p&gt;Or nice. Or polite. Or &lt;em&gt;sympathisch&lt;/em&gt;.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/04/filing-upstream-bugs-in-2026/#fnref:2&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li id=&#34;fn:3&#34;&gt;&#xA;&lt;p&gt;Only if you actually have time to do so. No empty promises, please.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/04/filing-upstream-bugs-in-2026/#fnref:3&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: Filing upstream bugs in 2026&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ claude code: naming sessions
      </title>
      <link>https://perrotta.dev/2026/04/claude-code-naming-sessions/</link>
      <pubDate>Sun, 12 Apr 2026 10:06:51 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>claude</category>
      <category>dev</category>
      <guid>https://perrotta.dev/2026/04/claude-code-naming-sessions/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://perrotta.dev/2026/03/claude-add-session-id-to-status-bar/&#34;&gt;Previously&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Problem statement&lt;/strong&gt;: &lt;code&gt;claude --resume&lt;/code&gt; accepts a session ID (UUID), but UUIDs&#xA;are not human-friendly.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% claude --resume 92884e7a-422a-4e2a-9fbc-dc0a2e85380b&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I can&amp;rsquo;t remember that at all, and even copy-and-paste is error-prone in this&#xA;context (e.g. missing the first or last character in the UUID).&lt;/p&gt;&#xA;&lt;p&gt;There are a few ways to turn this into a nicer developer experience.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Start a session with a name&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% claude --name &amp;#34;golden-ami-deploy-servers&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Realistically, though, that&amp;rsquo;s hard to remember. Also, oftentimes you&amp;rsquo;ll start a&#xA;session without knowing upfront what you&amp;rsquo;ll work on.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Rename mid-session&lt;/strong&gt; with &lt;code&gt;/rename&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;/rename golden-ami-deploy-servers&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Better! The name can be adjusted on-the-fly. It resembles &lt;code&gt;tmux&lt;/code&gt; in this aspect.&lt;/p&gt;&#xA;&lt;p&gt;Or: just &lt;code&gt;/rename&lt;/code&gt; with no argument will auto-generate a name from the&#xA;conversation history. Fancy. That will burn a few more tokens though.&lt;/p&gt;&#xA;&lt;p&gt;And now, back to the original problem:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Resume by name&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% claude --resume &amp;#34;golden-ami-deploy-servers&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The interactive picker (&lt;code&gt;claude --resume&lt;/code&gt; with no argument) also displays&#xA;session names, making it easy to find what you&amp;rsquo;re looking for.&lt;/p&gt;&#xA;&lt;p&gt;You can also invoke &lt;code&gt;/resume&lt;/code&gt; mid-session. ∎&lt;/p&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: claude code: naming sessions&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/claude/&#34;&gt;#claude&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ pancake workflow (OR: how to solve problems only once)
      </title>
      <link>https://perrotta.dev/2026/04/pancake-workflow-or-how-to-solve-problems-only-once/</link>
      <pubDate>Mon, 06 Apr 2026 11:52:10 +0100</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>dev</category>
      <category>git</category>
      <guid>https://perrotta.dev/2026/04/pancake-workflow-or-how-to-solve-problems-only-once/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://perrotta.dev/2025/09/pancake-potpourri-scripts/&#34;&gt;Previously&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Software Engineers / Programmers and the like have had curated&#xA;&lt;a href=&#34;https://dotfiles.github.io/&#34;&gt;dotfiles&lt;/a&gt; for ages.&lt;/p&gt;&#xA;&lt;p&gt;These days (2025s), we&amp;rsquo;re evolving to times where it makes sense to curate&#xA;collections of other utilities as well:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/danielmiessler/Fabric&#34;&gt;prompts for LLMs&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/anthropics/skills&#34;&gt;commands / skills for LLMs&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://tools.simonwillison.net/&#34;&gt;miscellaneous utilities / tools&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://github.com/thiagowfx/pancake&#34;&gt;pancake&lt;/a&gt; is my own little repo for all&#xA;sorts of CLI utilities. Its &lt;a href=&#34;https://github.com/thiagowfx/pancake/commit/454fa890999a149a580dbb899c768abfc11a0763&#34;&gt;first&#xA;commit&lt;/a&gt;&#xA;was on Sep 25th, 2025, and now it&amp;rsquo;s a core part of my workflow, which is what&#xA;this post will dive into.&lt;/p&gt;&#xA;&lt;p&gt;First of all, obligatory xkcd:&lt;/p&gt;&#xA;&lt;figure&gt;&lt;a href=&#34;https://xkcd.com/1205/&#34;&gt;&lt;img src=&#34;https://imgs.xkcd.com/comics/is_it_worth_the_time.png&#34;&#xA;&#x9;&#x9;&#x9;alt=&#34;Don&amp;#39;t forget the time you spend finding the chart to look up what you save. And the time spent reading this reminder about the time spent. And the time trying to figure out if either of those actually make sense. Remember, every second counts toward your life total, including these right now.&#34;&gt;&lt;/a&gt;&lt;figcaption&gt;&#xA;&#x9;&#x9;&#x9;&lt;p&gt;XKCD Courtesy of Randall Munroe&lt;/p&gt;&#xA;&#x9;&#x9;&lt;/figcaption&gt;&#xA;&lt;/figure&gt;&#xA;&#xA;&lt;p&gt;It became &lt;em&gt;really&lt;/em&gt;, &lt;em&gt;really&lt;/em&gt; cheap (in terms of time) to automate all sorts of&#xA;tasks with the advent of better coding agents last year. And this totally&#xA;changes the game.&lt;/p&gt;&#xA;&lt;h2 id=&#34;workflow&#34;&gt;&#xA;  Workflow&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/04/pancake-workflow-or-how-to-solve-problems-only-once/#workflow&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;I have a problem. An issue. A task. Let&amp;rsquo;s exemplify with today&amp;rsquo;s&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/04/pancake-workflow-or-how-to-solve-problems-only-once/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; issue:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Problem statement&lt;/strong&gt;: given a local git repository with various branches,&#xA;create a worktree for each of them.&lt;/p&gt;&#xA;&lt;p&gt;Step 1: go to the pancake repo.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% z pancake&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Step 2: prompt the LLM.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;❯ create a new script called &amp;#34;wt&amp;#34; (short for worktree).&#xA;  Given a local git repo, it should create a worktree for each&#xA;  remote branch. Use the same conventions as the other scripts&#xA;  in this repo (help2man compatible, -h/--help, etc).&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Claude Code reads the existing scripts, matches the conventions, and writes the&#xA;new one. I review it, maybe nudging it once or twice.&lt;/p&gt;&#xA;&lt;p&gt;Step 3: commit, push, release.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% git add wt/&#xA;% git commit -a -m &amp;#34;new script: wt&amp;#34;&#xA;% git push&#xA;% just release&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;code&gt;just release&lt;/code&gt; creates a CalVer tag (e.g. &lt;code&gt;2026.01.27.0&lt;/code&gt;), pushes it, and&#xA;GitHub Actions updates the Homebrew formula automatically.&lt;/p&gt;&#xA;&lt;p&gt;Step 4: install it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% just update&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This is a wrapper around &lt;code&gt;brew upgrade thiagowfx/pancake/pancake&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Step 5: use it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% cd ~/Workspace/some-repo&#xA;% wt&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;That&amp;rsquo;s it. Problem solved, script in the toolbox, reusable forever.&lt;/p&gt;&#xA;&lt;p&gt;The whole cycle — from &amp;ldquo;I wish I had a tool for this&amp;rdquo; to &amp;ldquo;it&amp;rsquo;s installed and&#xA;working&amp;rdquo; — takes O(minutes). The LLM does virtually everything: writes the&#xA;script, follows the repo conventions, generates help text. I just steer and&#xA;review.&lt;/p&gt;&#xA;&lt;p&gt;Before coding agents, I&amp;rsquo;d weigh whether it was worth the O(hours) to write a&#xA;proper script with argument parsing, help text, cross-platform support. Most of&#xA;the time the answer was &amp;ldquo;no&amp;rdquo;, and I&amp;rsquo;d settle for a brittle alias or just&#xA;remember the command. Now the answer is almost always &amp;ldquo;yes&amp;rdquo;.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://xkcd.com/1205/&#34;&gt;xkcd chart&lt;/a&gt; above needs to be recalibrated. The&#xA;&amp;ldquo;time to automate&amp;rdquo; column collapsed by an order of magnitude, so long as you&amp;rsquo;re&#xA;willing to burn LLM tokens.&lt;/p&gt;&#xA;&lt;p&gt;As of this writing, pancake has 30+ scripts.&lt;/p&gt;&#xA;&lt;p&gt;Some highlights:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;retry&lt;/code&gt; — retry a command until it succeeds, with timeouts and output diffing&#xA;(inspired by &lt;code&gt;zsh&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;murder&lt;/code&gt; — graceful process killing with signal escalation (TERM → INT → HUP →&#xA;KILL) (one step above &lt;code&gt;pkill&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;notify&lt;/code&gt; — cross-platform desktop notifications (inspired by &lt;code&gt;notify-send&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;timer&lt;/code&gt; — countdown timer with notification when done&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;wt&lt;/code&gt; — the worktree script from today&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Each one started the same way: a problem, a prompt, a review, a release.&lt;/p&gt;&#xA;&lt;p&gt;The repo name is silly but the idea is practical: &lt;strong&gt;solve problems once&lt;/strong&gt;. Every&#xA;time I catch myself running a multi-step command more than twice or thrice, it&#xA;becomes a pancake script. The cost of doing so used to be high enough that I&amp;rsquo;d&#xA;only bother for frequent tasks. Now it&amp;rsquo;s so low that even a task I&amp;rsquo;ll run twice&#xA;a year gets a script, so long as it&amp;rsquo;s reusable and comprensive enough.&lt;/p&gt;&#xA;&lt;p&gt;In 2026, the compounding effect from curating your own toolbox does pay off. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;This post has been originally drafted in January 2026, but it was only&#xA;finished in April 2026.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/04/pancake-workflow-or-how-to-solve-problems-only-once/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: pancake workflow (OR: how to solve problems only once)&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/git/&#34;&gt;#git&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ Project Hail Mary
      </title>
      <link>https://perrotta.dev/2026/04/project-hail-mary/</link>
      <pubDate>Thu, 02 Apr 2026 00:41:24 +0200</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>bestof</category>
      <category>movies</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/04/project-hail-mary/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://www.goodreads.com/book/show/54493401-project-hail-mary&#34;&gt;&lt;strong&gt;Book&lt;/strong&gt;&lt;/a&gt;: 5/5&#xA;stars. &lt;a href=&#34;https://www.goodreads.com/review/show/4383821769&#34;&gt;One of my favorites&lt;/a&gt;&#xA;of 2022 (Sci-Fi):&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Amaze. You my friend.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;(This was my review in goodreads back then.)&lt;/p&gt;&#xA;&lt;p&gt;Fast-forward 3.5 years (&amp;raquo;):&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://www.imdb.com/title/tt12042730/&#34;&gt;&lt;strong&gt;Movie&lt;/strong&gt;&lt;/a&gt;: 10/10.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://victor.kropp.name/blog/2026/project-hail-mary/project-hail-mary.jpg&#34; alt=&#34;project hail mary&#34;&#xA;  loading=&#34;lazy&#34; decoding=&#34;async&#34; /&gt;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;Excellent adaptation. 🇨🇦&lt;/p&gt;&#xA;&lt;p&gt;Sorry, I don&amp;rsquo;t know how to write reviews.&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;ll leave that &lt;a href=&#34;https://iamvishnu.com/posts/project-hail-mary&#34;&gt;to&lt;/a&gt; &lt;a href=&#34;https://victor.kropp.name/blog/2026/project-hail-mary/&#34;&gt;others&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;[&amp;hellip;] It was the same great experience as with The Martian ten&#xA;years ago, as I couldn&amp;rsquo;t stop reading it. And plot twists genuinely surprised&#xA;me. The movie adapts the book perfectly but also adds some human touch to one&#xA;of the main characters as she needed it.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;She is more likeable in the movie than in the book (There is only one &lt;em&gt;she&lt;/em&gt;).&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Even though I&amp;rsquo;m not a big fan of changing book covers with movie posters, Ryan&#xA;Gosling portrayed the main character, Dr. Ryland Grace, perfectly.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I love the original cover, AND I think Ryan Gosling did great in the movie.&#xA;There&amp;rsquo;s no wrong choice here. ∎&lt;/p&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: Project Hail Mary&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/movies/&#34;&gt;#movies&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ mr update
      </title>
      <link>https://perrotta.dev/2026/03/mr-update/</link>
      <pubDate>Thu, 26 Mar 2026 16:36:56 +0100</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>bestof</category>
      <category>dev</category>
      <category>git</category>
      <guid>https://perrotta.dev/2026/03/mr-update/</guid>
      <description>&lt;p&gt;♠ Every day at the office, I start my day with &lt;code&gt;mr update&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% mr update&#xA;[...]&#xA;mr update: /Users/thiago.perrotta/workspace/adventofcode&#xA;Already up to date.&#xA;&#xA;mr update: /Users/thiago.perrotta/workspace/check-json-schema-meta&#xA;Already up to date.&#xA;&#xA;mr update: /Users/thiago.perrotta/workspace/homebrew-taps&#xA;Already up to date.&#xA;&#xA;mr update: /Users/thiago.perrotta/workspace/pre-commit-hooks&#xA;Already up to date.&#xA;&#xA;mr update: /Users/thiago.perrotta/workspace/pancake&#xA;Already up to date.&#xA;[...]&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;code&gt;mr&lt;/code&gt; is short for &lt;a href=&#34;https://myrepos.branchable.com/&#34;&gt;myrepos&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;You have a lot of version control repositories. Sometimes you want to update&#xA;them all at once. Or push out all your local changes. You use special command&#xA;lines in some repositories to implement specific workflows. Myrepos provides a&#xA;mr command, which is a tool to manage all your version control repositories.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;code&gt;mr&lt;/code&gt; is a single tool to control multiple DVCSes at once — typically &lt;code&gt;git&lt;/code&gt;, but&#xA;others are also supported:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;All you need to get started is some already checked out repos. These could be&#xA;using git, or bzr, mercurial or darcs, or many other version control systems.&#xA;Doesn&amp;rsquo;t matter, they&amp;rsquo;re all supported!&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;The example output above was lame because nothing changed — they&amp;rsquo;re my personal&#xA;repositories. In the git repositories of my workplace there are typically&#xA;various changes to be absorbed every day.&lt;/p&gt;&#xA;&lt;p&gt;How do we achieve this?&lt;/p&gt;&#xA;&lt;p&gt;Refer to its &lt;a href=&#34;https://man.archlinux.org/man/mr.1&#34;&gt;man page&lt;/a&gt; for the config&#xA;format. &lt;a href=&#34;https://github.com/thiagowfx/.dotfiles/blob/3252e552a8a33c001ea32f82b1f73e59f3a3fabf/mr/.mrconfig&#34;&gt;My config&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-ini&#34;&gt;# vim: ft=conf&#xA;&#xA;include = cat ~/.mrconfig.defaults&#xA;&#xA;[.dotfiles]&#xA;checkout = git clone &amp;#39;git@github.com:thiagowfx/.dotfiles.git&amp;#39; &amp;#39;.dotfiles&amp;#39;&#xA;&#xA;[.dotfiles_corp]&#xA;checkout = git clone &amp;#39;git@github.com:thiagowfx/.dotfiles_corp.git&amp;#39; &amp;#39;.dotfiles_corp&amp;#39;&#xA;skip = lazy&#xA;&#xA;[workspace/adventofcode]&#xA;checkout = git clone &amp;#39;git@github.com:thiagowfx/adventofcode&amp;#39; &amp;#39;adventofcode&amp;#39;&#xA;skip = lazy&#xA;&#xA;[workspace/check-json-schema-meta]&#xA;checkout = git clone &amp;#39;git@github.com:thiagowfx/check-json-schema-meta&amp;#39; &amp;#39;check-json-schema-meta&amp;#39;&#xA;skip = lazy&#xA;&#xA;[workspace/aports]&#xA;checkout = git clone &amp;#39;git@gitlab.alpinelinux.org:thiagowfx/aports.git&amp;#39; &amp;#39;aports&amp;#39;&#xA;skip = lazy&#xA;update = git pull upstream master&#xA;&#xA;[workspace/homebrew-taps]&#xA;checkout = git clone &amp;#39;git@github.com:thiagowfx/homebrew-taps&amp;#39; &amp;#39;homebrew-taps&amp;#39;&#xA;skip = lazy&#xA;&#xA;[workspace/pancake]&#xA;checkout = git clone &amp;#39;git@github.com:thiagowfx/pancake&amp;#39; &amp;#39;pancake&amp;#39;&#xA;skip = lazy&#xA;&#xA;[workspace/perrotta.dev]&#xA;checkout = git clone &amp;#39;git@github.com:thiagowfx/thiagowfx.github.io.git&amp;#39; &amp;#39;perrotta.dev&amp;#39;&#xA;skip = lazy&#xA;&#xA;[workspace/pre-commit-hooks]&#xA;checkout = git clone &amp;#39;git@github.com:thiagowfx/pre-commit-hooks&amp;#39; &amp;#39;pre-commit-hooks&amp;#39;&#xA;skip = lazy&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-ini&#34;&gt;# vim: ft=conf&#xA;&#xA;[ALIAS]&#xA;pull = update&#xA;&#xA;[DEFAULT]&#xA;git_xl = git xl &amp;#34;$@&amp;#34;&#xA;jobs = 6&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;∎&lt;/p&gt;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: mr update&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/git/&#34;&gt;#git&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ Data Subject Request
      </title>
      <link>https://perrotta.dev/2026/03/data-subject-request/</link>
      <pubDate>Thu, 12 Mar 2026 18:57:03 +0100</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>bestof</category>
      <category>privacy</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/03/data-subject-request/</guid>
      <description>&lt;p&gt;♠ Basic template to request &lt;strong&gt;interview feedback&lt;/strong&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Subject&lt;/strong&gt;: Data Subject Request&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;To&lt;/strong&gt;: dpo@{company}.com&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/03/data-subject-request/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;&#xA;&lt;p&gt;{Greetings},&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;d like to get access to my interview feedback (&amp;ldquo;personal information&amp;rdquo;) from&#xA;my last application at {company} as a candidate ({NN} {weeks,years} ago). My&#xA;email is {email}.&lt;/p&gt;&#xA;&lt;p&gt;I am emailing this alias as per&#xA;https://{company}.com/{privacy-terms}.&lt;/p&gt;&#xA;&lt;p&gt;{Goodbye}&#xA;{Your name}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt;: This is not legal advice, I am not a lawyer.&lt;/p&gt;&#xA;&lt;p&gt;In Europe the GDPR generally entitles candidates to receive a copy of their&#xA;data (e.g. verbatim interview notes) within 30 days.&lt;/p&gt;&#xA;&lt;p&gt;You can also apply the same idea to request &lt;strong&gt;performance reviews&lt;/strong&gt; and&#xA;&lt;strong&gt;calibration notes&lt;/strong&gt; from your current or former employers.&lt;/p&gt;&#xA;&lt;p&gt;I used this various times throughout the years in both scenarios. It is very&#xA;effective. YMMV. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;Keywords: data protection officer (DPO), data protection, candidate&#xA;privacy, GDPR, DSVGO, SAR (Subject Access Request). Use your favorite search&#xA;engine or your favorite LLM to find the appropriate point of contact or&#xA;channel.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/03/data-subject-request/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: Data Subject Request&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/privacy/&#34;&gt;#privacy&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ Chia pudding
      </title>
      <link>https://perrotta.dev/2026/03/chia-pudding/</link>
      <pubDate>Wed, 11 Mar 2026 02:55:41 +0100</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>recipes</category>
      <category>bestof</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/03/chia-pudding/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://perrotta.dev/2025/04/overnight-oats/&#34;&gt;Previously&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;ingredients&#34;&gt;&#xA;  Ingredients&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/03/chia-pudding/#ingredients&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;In order, add to a glass:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;coconut milk&lt;/strong&gt; (1/2 cup)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;chia seeds&lt;/strong&gt; (2 tbsps)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;maple syrup / honey&lt;/strong&gt; (sweetener)&lt;/li&gt;&#xA;&lt;li&gt;vanilla extract&lt;/li&gt;&#xA;&lt;li&gt;cinnamon&lt;/li&gt;&#xA;&lt;li&gt;a pinch of salt&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;preparation&#34;&gt;&#xA;  Preparation&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/03/chia-pudding/#preparation&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Whisk everything.&lt;/p&gt;&#xA;&lt;p&gt;Let it soak overnight in the fridge.&lt;/p&gt;&#xA;&lt;p&gt;Top with blueberries, raspberries or cherries. Or with nuts.&lt;/p&gt;&#xA;&lt;p&gt;Inspiration: &lt;a href=&#34;https://feelgoodfoodie.net/recipe/3-ingredient-chia-pudding/&#34;&gt;feel good&#xA;foodie&lt;/a&gt; and &lt;a href=&#34;https://www.abeautifulplate.com/overnight-chia-pudding-recipe/&#34;&gt;a&#xA;beautiful&#xA;plate&lt;/a&gt;. ∎&lt;/p&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: Chia pudding&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/categories/recipes/&#34;&gt;%recipes&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ claude: add session ID to status bar
      </title>
      <link>https://perrotta.dev/2026/03/claude-add-session-id-to-status-bar/</link>
      <pubDate>Mon, 02 Mar 2026 11:18:19 +0100</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>claude</category>
      <category>dev</category>
      <guid>https://perrotta.dev/2026/03/claude-add-session-id-to-status-bar/</guid>
      <description>&lt;p&gt;♠ Desired outcome:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;❯ claude&#xA;&#xA; ▐▛███▜▌   Claude Code v2.1.63&#xA;▝▜█████▛▘  Opus 4.6 · Claude Team&#xA;  ▘▘ ▝▝    ~/.dotfiles&#xA;&#xA;──────────────────────────────────────────────────────────&#xA;❯&#xA;──────────────────────────────────────────────────────────&#xA;  .dotfiles (git:master*) [Opus 4.6] [█░░░░] $0.00 sid:9afc33ee-610d-47cc-8bde-1a52d1b22832&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The status bar displays the current:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;git repository we&amp;rsquo;re on&lt;/li&gt;&#xA;&lt;li&gt;git branch&lt;/li&gt;&#xA;&lt;li&gt;model name&lt;/li&gt;&#xA;&lt;li&gt;context window usage (%)&lt;/li&gt;&#xA;&lt;li&gt;session cost (in USD)&lt;/li&gt;&#xA;&lt;li&gt;session ID&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I recently added the last two items, and the post title reflects that.&lt;/p&gt;&#xA;&lt;p&gt;The session cost is helpful as a pat on the shoulder to remind you of how&#xA;expensive Anthropic models are. If you want to put a cap on the session,&#xA;&lt;code&gt;--max-budget-usd&lt;/code&gt; could be helpful:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;--max-budget-usd &amp;lt;amount&amp;gt;&#x9;&#x9;Maximum dollar amount to spend on API calls (only works with --print)&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The session ID is, by itself, useless. It is just a boring UUID, auto-generated&#xA;whenever a new session is started.&lt;/p&gt;&#xA;&lt;p&gt;That said, the session ID can become powerful when you start to treat sessions&#xA;as first-class citizens (e.g. like how &lt;a href=&#34;https://ampcode.com/&#34;&gt;Amp Code&lt;/a&gt; does to&#xA;threads).&lt;/p&gt;&#xA;&lt;h2 id=&#34;use-cases&#34;&gt;&#xA;  Use cases&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/03/claude-add-session-id-to-status-bar/#use-cases&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;strong&gt;Use case #1&lt;/strong&gt;: resume a previous session.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;claude [-r | --resume] &amp;lt;uuid&amp;gt;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;-r, --resume [value]&#x9;&#x9;Resume a conversation by session ID, or open interactive picker with optional search term&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This is useful whenever you know in advance you&amp;rsquo;ll need to close your terminal&#xA;(e.g. to restart your computer for system upgrades).&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Use case #2&lt;/strong&gt;: multiple divergent explorations.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;claude --fork-session [-r | --resume | -c | --continue] &amp;lt;uuid&amp;gt;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;--fork-session&#x9;&#x9;&#x9;&#x9; When resuming, create a new session ID instead of reusing the original (use with --resume or --continue)&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Whenever you reach a point of ambiguity when vibe coding, you may want to&#xA;explore multiple paths. &lt;code&gt;--fork-session&lt;/code&gt; creates new sessions from an existing&#xA;context window (session ID), allowing you to preserve your original session&#xA;context.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Use case #3&lt;/strong&gt;: refer to other sessions.&lt;/p&gt;&#xA;&lt;p&gt;Sample prompt:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;let&amp;#39;s continue work from sid:484b8360-b5ee-4a47-9137-f45c00ff2dc0&#xA;&#xA;this foo path is too slow, make it faster by activating the infinite&#xA;improbability module&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2 id=&#34;the-config&#34;&gt;&#xA;  The config&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/03/claude-add-session-id-to-status-bar/#the-config&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;The resulting diff:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-diff&#34;&gt;thiago.perrotta ~/.dotfiles git:master&#xA;❯ git --no-pager show 0f94082&#xA;commit 0f9408223c60dcda980c18787d3d0c1519428c30&#xA;Author: Thiago Perrotta &amp;lt;{redacted}&amp;gt;&#xA;Date:   Fri Feb 27 16:56:57 2026 &amp;#43;0100&#xA;&#xA;    claude: status bar: add session ID, add cost&#xA;&#xA;diff --git claude/.claude/statusline.sh claude/.claude/statusline.sh&#xA;old mode 100644&#xA;new mode 100755&#xA;index 785b5f3..f43527a&#xA;--- claude/.claude/statusline.sh&#xA;&amp;#43;&amp;#43;&amp;#43; claude/.claude/statusline.sh&#xA;@@ -5,8 &amp;#43;5,10 @@ input=$(cat)&#xA;&#xA; # Extract information from JSON&#xA; model_name=$(echo &amp;#34;$input&amp;#34; | jq -r &amp;#39;.model.display_name&amp;#39;)&#xA;&amp;#43;session_id=$(echo &amp;#34;$input&amp;#34; | jq -r &amp;#39;.session_id&amp;#39;)&#xA; current_dir=$(echo &amp;#34;$input&amp;#34; | jq -r &amp;#39;.workspace.current_dir&amp;#39;)&#xA; output_style=$(echo &amp;#34;$input&amp;#34; | jq -r &amp;#39;.output_style.name&amp;#39;)&#xA;&amp;#43;cost=$(echo &amp;#34;$input&amp;#34; | jq -r &amp;#39;.cost.total_cost_usd&amp;#39;)&#xA;&#xA; # Get current working directory basename&#xA; dir_name=$(basename &amp;#34;$current_dir&amp;#34;)&#xA;@@ -87,5 &amp;#43;89,15 @@ if [[ -n &amp;#34;$context_info&amp;#34; ]]; then&#xA;     status_parts&amp;#43;=(&amp;#34;$context_info&amp;#34;)&#xA; fi&#xA;&#xA;&amp;#43;# Add cost&#xA;&amp;#43;if [[ -n &amp;#34;$cost&amp;#34; &amp;amp;&amp;amp; &amp;#34;$cost&amp;#34; != &amp;#34;null&amp;#34; ]]; then&#xA;&amp;#43;    status_parts&amp;#43;=(&amp;#34;$(printf &amp;#39;$%.2f&amp;#39; &amp;#34;$cost&amp;#34;)&amp;#34;)&#xA;&amp;#43;fi&#xA;&amp;#43;&#xA;&amp;#43;# Add session ID&#xA;&amp;#43;if [[ -n &amp;#34;$session_id&amp;#34; &amp;amp;&amp;amp; &amp;#34;$session_id&amp;#34; != &amp;#34;null&amp;#34; ]]; then&#xA;&amp;#43;    status_parts&amp;#43;=(&amp;#34;sid:$session_id&amp;#34;)&#xA;&amp;#43;fi&#xA;&amp;#43;&#xA; # Join parts with spaces and print&#xA; printf &amp;#34;%s&amp;#34; &amp;#34;$(IFS=&amp;#39; &amp;#39;; echo &amp;#34;${status_parts[*]}&amp;#34;)&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The full &lt;a href=&#34;https://github.com/thiagowfx/.dotfiles/blob/b44959f6d0b916d983d2970528c6aa67288b9f45/claude/.claude/statusline.sh&#34;&gt;status line&#xA;config&lt;/a&gt;.&#xA;I&amp;rsquo;ll inline it here for completeness:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;#!/bin/bash&#xA;&#xA;# Read JSON input from stdin&#xA;input=$(cat)&#xA;&#xA;# Extract information from JSON&#xA;model_name=$(echo &amp;#34;$input&amp;#34; | jq -r &amp;#39;.model.display_name&amp;#39;)&#xA;session_id=$(echo &amp;#34;$input&amp;#34; | jq -r &amp;#39;.session_id&amp;#39;)&#xA;current_dir=$(echo &amp;#34;$input&amp;#34; | jq -r &amp;#39;.workspace.current_dir&amp;#39;)&#xA;output_style=$(echo &amp;#34;$input&amp;#34; | jq -r &amp;#39;.output_style.name&amp;#39;)&#xA;cost=$(echo &amp;#34;$input&amp;#34; | jq -r &amp;#39;.cost.total_cost_usd&amp;#39;)&#xA;&#xA;# Get current working directory basename&#xA;dir_name=$(basename &amp;#34;$current_dir&amp;#34;)&#xA;&#xA;# Get git information if in a git repository&#xA;git_info=&amp;#34;&amp;#34;&#xA;if git rev-parse --git-dir &amp;gt; /dev/null 2&amp;gt;&amp;amp;1; then&#xA;    branch=$(git branch --show-current 2&amp;gt;/dev/null)&#xA;    if [[ -n &amp;#34;$branch&amp;#34; ]]; then&#xA;        # Check for uncommitted changes&#xA;        if ! git diff --quiet 2&amp;gt;/dev/null || ! git diff --cached --quiet 2&amp;gt;/dev/null; then&#xA;            dirty=&amp;#34;*&amp;#34;&#xA;        else&#xA;            dirty=&amp;#34;&amp;#34;&#xA;        fi&#xA;&#xA;        # Check if in a linked worktree (not the main worktree)&#xA;        worktree_info=&amp;#34;&amp;#34;&#xA;        git_dir=$(cd &amp;#34;$(git rev-parse --git-dir 2&amp;gt;/dev/null)&amp;#34; &amp;amp;&amp;amp; pwd)&#xA;        git_common_dir=$(cd &amp;#34;$(git rev-parse --git-common-dir 2&amp;gt;/dev/null)&amp;#34; &amp;amp;&amp;amp; pwd)&#xA;        if [[ &amp;#34;$git_dir&amp;#34; != &amp;#34;$git_common_dir&amp;#34; ]]; then&#xA;            # We&amp;#39;re in a linked worktree - show its name&#xA;            worktree_path=$(git rev-parse --show-toplevel 2&amp;gt;/dev/null)&#xA;            worktree_name=$(basename &amp;#34;$worktree_path&amp;#34;)&#xA;            worktree_info=&amp;#34; ⎇ $worktree_name&amp;#34;&#xA;        fi&#xA;&#xA;        git_info=&amp;#34;(git:$branch$worktree_info$dirty)&amp;#34;&#xA;    fi&#xA;fi&#xA;&#xA;# Calculate context window usage (relative to auto-compact threshold ~80%)&#xA;context_info=&amp;#34;&amp;#34;&#xA;usage=$(echo &amp;#34;$input&amp;#34; | jq &amp;#39;.context_window.current_usage&amp;#39;)&#xA;if [ &amp;#34;$usage&amp;#34; != &amp;#34;null&amp;#34; ]; then&#xA;    # Include output_tokens for accurate context measurement&#xA;    current=$(echo &amp;#34;$usage&amp;#34; | jq &amp;#39;.input_tokens &amp;#43; .output_tokens &amp;#43; .cache_creation_input_tokens &amp;#43; .cache_read_input_tokens&amp;#39;)&#xA;    size=$(echo &amp;#34;$input&amp;#34; | jq &amp;#39;.context_window.context_window_size&amp;#39;)&#xA;&#xA;    # Auto-compact triggers at ~80% of context window&#xA;    compact_threshold=$((size * 80 / 100))&#xA;&#xA;    # Calculate percentage toward auto-compact (capped at 100%)&#xA;    pct=$((current * 100 / compact_threshold))&#xA;    if [ &amp;#34;$pct&amp;#34; -gt 100 ]; then pct=100; fi&#xA;&#xA;    # Create progress bar (5 characters wide)&#xA;    filled=$((pct / 20))&#xA;    empty=$((5 - filled))&#xA;    bar=&amp;#34;&amp;#34;&#xA;    for ((i=0; i&amp;lt;filled; i&amp;#43;&amp;#43;)); do bar&amp;#43;=&amp;#34;█&amp;#34;; done&#xA;    for ((i=0; i&amp;lt;empty; i&amp;#43;&amp;#43;)); do bar&amp;#43;=&amp;#34;░&amp;#34;; done&#xA;&#xA;    context_info=&amp;#34;[${bar}]&amp;#34;&#xA;fi&#xA;&#xA;# Build status line&#xA;status_parts=()&#xA;&#xA;# Add current directory&#xA;status_parts&amp;#43;=(&amp;#34;$dir_name&amp;#34;)&#xA;&#xA;# Add git info if available&#xA;if [[ -n &amp;#34;$git_info&amp;#34; ]]; then&#xA;    status_parts&amp;#43;=(&amp;#34;$git_info&amp;#34;)&#xA;fi&#xA;&#xA;# Add model name&#xA;status_parts&amp;#43;=(&amp;#34;[$model_name]&amp;#34;)&#xA;&#xA;# Add output style if not default&#xA;if [[ &amp;#34;$output_style&amp;#34; != &amp;#34;default&amp;#34; &amp;amp;&amp;amp; &amp;#34;$output_style&amp;#34; != &amp;#34;null&amp;#34; ]]; then&#xA;    status_parts&amp;#43;=(&amp;#34;{$output_style}&amp;#34;)&#xA;fi&#xA;&#xA;# Add context usage if available&#xA;if [[ -n &amp;#34;$context_info&amp;#34; ]]; then&#xA;    status_parts&amp;#43;=(&amp;#34;$context_info&amp;#34;)&#xA;fi&#xA;&#xA;# Add cost&#xA;if [[ -n &amp;#34;$cost&amp;#34; &amp;amp;&amp;amp; &amp;#34;$cost&amp;#34; != &amp;#34;null&amp;#34; ]]; then&#xA;    status_parts&amp;#43;=(&amp;#34;$(printf &amp;#39;$%.2f&amp;#39; &amp;#34;$cost&amp;#34;)&amp;#34;)&#xA;fi&#xA;&#xA;# Add session ID&#xA;if [[ -n &amp;#34;$session_id&amp;#34; &amp;amp;&amp;amp; &amp;#34;$session_id&amp;#34; != &amp;#34;null&amp;#34; ]]; then&#xA;    status_parts&amp;#43;=(&amp;#34;sid:$session_id&amp;#34;)&#xA;fi&#xA;&#xA;# Join parts with spaces and print&#xA;printf &amp;#34;%s&amp;#34; &amp;#34;$(IFS=&amp;#39; &amp;#39;; echo &amp;#34;${status_parts[*]}&amp;#34;)&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;∎&lt;/p&gt;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: claude: add session ID to status bar&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/claude/&#34;&gt;#claude&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ cco: claude condom (sandbox)
      </title>
      <link>https://perrotta.dev/2026/02/cco-claude-condom-sandbox/</link>
      <pubDate>Thu, 26 Feb 2026 13:17:26 +0100</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>claude</category>
      <category>dev</category>
      <category>security</category>
      <guid>https://perrotta.dev/2026/02/cco-claude-condom-sandbox/</guid>
      <description>&lt;p&gt;♠ &lt;strong&gt;Problem statement&lt;/strong&gt;: &lt;code&gt;claude --dangerously-skip-permissions&lt;/code&gt; (&amp;ldquo;YOLO mode&amp;rdquo;) is&#xA;fast but risky. Introduce a lightweight filesystem-level sandbox. Networking is&#xA;explicitly out of scope at this time.&lt;/p&gt;&#xA;&lt;p&gt;Recently I &lt;a href=&#34;https://perrotta.dev/2026/02/new-apkbuild-llm-edition/&#34;&gt;aliased&lt;/a&gt; it to&#xA;&lt;code&gt;claudey&lt;/code&gt; and have been using it daily. It&amp;rsquo;s an effective way to run Claude Code&#xA;without being constantly nagged with permission prompts. But going unprotected&#xA;has many risks and downsides:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Prompt injection&lt;/strong&gt;: web search can trick Claude into accessing files or&#xA;running commands outside the project directory&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;No guardrails&lt;/strong&gt;: SSH keys and credentials are generally accessible&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://en.wikipedia.org/wiki/Decision_fatigue&#34;&gt;&lt;strong&gt;Approval fatigue&lt;/strong&gt;&lt;/a&gt;:&#xA;repeatedly clicking &amp;ldquo;approve&amp;rdquo; leads to paying less attention.&lt;/li&gt;&#xA;&lt;li&gt;Especially dangerous for &lt;strong&gt;background agents&lt;/strong&gt; running unattended.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Effective sandboxing needs both filesystem &lt;em&gt;and&lt;/em&gt; network isolation — without&#xA;network isolation, a compromised agent can exfiltrate sensitive files. But, as&#xA;mentioned in the first paragraph, networking is overruled for now. Baby steps!&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://github.com/nikvdp/cco&#34;&gt;cco&lt;/a&gt; (&lt;em&gt;Claude Condom&lt;/em&gt;) is a thin wrapper that&#xA;runs Claude Code in a sandbox. Originally discovered via &lt;a href=&#34;https://invertedpassion.com/my-claude-code-workflow/&#34;&gt;Paras&#xA;Chopra&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;How to use it? First you need to install it. The&#xA;&lt;a href=&#34;https://github.com/nikvdp/cco?tab=readme-ov-file#installation&#34;&gt;official&lt;/a&gt;&#xA;installation instructions use &lt;code&gt;curl | bash&lt;/code&gt; but I &lt;a href=&#34;https://perrotta.dev/2025/10/distributing-my-own-scripts-via-homebrew/&#34;&gt;despise&lt;/a&gt; that.&lt;/p&gt;&#xA;&lt;p&gt;Hence I created my own &lt;code&gt;brew&lt;/code&gt;&#xA;&lt;a href=&#34;https://github.com/thiagowfx/homebrew-taps/blob/master/Formula/cco.rb&#34;&gt;formula&lt;/a&gt;&#xA;for it. Now it&amp;rsquo;s just one &lt;code&gt;brew install&lt;/code&gt; command away from usage (and also from&#xA;uninstallation, very important!).&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Usage&lt;/strong&gt;: replace &lt;code&gt;claude&lt;/code&gt; with &lt;code&gt;cco&lt;/code&gt; and you&amp;rsquo;re done:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% cco &amp;#34;analyze this codebase&amp;#34;&#xA;% cco --resume&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;It will start Claude within the &amp;ldquo;bypass permissions on&amp;rdquo; mode, albeit within the&#xA;sandbox.&lt;/p&gt;&#xA;&lt;p&gt;It auto-selects the best available sandbox: native OS&#xA;(&lt;a href=&#34;https://www.chromium.org/developers/design-documents/sandbox/osx-sandboxing-design/&#34;&gt;Seatbelt&lt;/a&gt;&#xA;on macOS, &lt;a href=&#34;https://github.com/containers/bubblewrap&#34;&gt;bubblewrap&lt;/a&gt; on Linux) or&#xA;Docker fallback. The native macOS sandbox has &lt;strong&gt;near-zero&lt;/strong&gt; overhead, which is&#xA;remarkable. This kind of low-friction in developer tooling helps to drive its&#xA;adoption.&lt;/p&gt;&#xA;&lt;p&gt;Docker is slow though, especially on macOS. You should avoid it in this context&#xA;if you can.&lt;/p&gt;&#xA;&lt;p&gt;The host filesystem is &lt;strong&gt;read-only by default&lt;/strong&gt; (globally). Only the project&#xA;directory (git root) is writable. Whitelist additional paths with &lt;code&gt;--add-dir&lt;/code&gt; as&#xA;needed:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% cco --add-dir ~/.cache \&#xA;      --add-dir ~/.aws/cli/cache \&#xA;      --add-dir ~/.terraform.d/plugin-cache&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I had to whitelist the directories above otherwise &lt;a href=&#34;https://perrotta.dev/2024/12/pre-commit/&#34;&gt;&lt;code&gt;pre-commit&lt;/code&gt;&lt;/a&gt; / &lt;code&gt;prek&lt;/code&gt;, the&#xA;&lt;code&gt;aws&lt;/code&gt; CLI and &lt;code&gt;terraform&lt;/code&gt; would fail sporadically.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;--safe&lt;/code&gt; hides &lt;code&gt;$HOME&lt;/code&gt; entirely; only whitelisted paths are visible.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;--deny-path&lt;/code&gt; blocks specific sensitive paths.&lt;/p&gt;&#xA;&lt;p&gt;All Claude Code flags (&lt;code&gt;--resume&lt;/code&gt;, &lt;code&gt;--model&lt;/code&gt;, etc.) pass through transparently.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Why &lt;code&gt;cco&lt;/code&gt;?&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;it&amp;rsquo;s zero-config&lt;/li&gt;&#xA;&lt;li&gt;its startup has pretty much zero overhead&lt;/li&gt;&#xA;&lt;li&gt;it&amp;rsquo;s IDE agnostic&lt;/li&gt;&#xA;&lt;li&gt;it just works™&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Why not &lt;code&gt;cco&lt;/code&gt;?&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;It does not handle networking.&#xA;&lt;a href=&#34;https://code.claude.com/docs/en/sandboxing&#34;&gt;&lt;code&gt;srt&lt;/code&gt;&lt;/a&gt; is more suitable as an&#xA;additional step.&lt;/p&gt;&#xA;&lt;p&gt;I updated my &lt;code&gt;claudey&lt;/code&gt; alias:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;alias cco=&amp;#34;cco --allow-oauth-refresh --add-dir ~/.cache --add-dir ~/.aws/cli/cache --add-dir ~/.terraform.d/plugin-cache&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Update(2026-03-02)&lt;/strong&gt;: &lt;code&gt;~/.aws/sso/cache&lt;/code&gt; is also needed for the AWS CLI.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;--allow-oauth-refresh&lt;/code&gt; is necessary, or else:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;⎿  API Error: 401 {&amp;#34;type&amp;#34;:&amp;#34;error&amp;#34;,&amp;#34;error&amp;#34;:{&amp;#34;type&amp;#34;:&amp;#34;authentication_error&amp;#34;,&amp;#34;message&amp;#34;:&amp;#34;OAuth token has expired. Please obtain a new token or refresh your&#xA;     existing token.&amp;#34;},&amp;#34;request_id&amp;#34;:&amp;#34;req_{redacted}&amp;#34;} · Please run /login&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&amp;hellip;my login credentials would expire roughly once every day. Re-authenticating&#xA;every day is quite annoying.&lt;/p&gt;&#xA;&lt;p&gt;This is properly &lt;a href=&#34;https://github.com/nikvdp/cco/blob/master/SECURITY.md#credential-protection&#34;&gt;documented&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Credential file access&lt;/strong&gt;: The credentials JSON is mounted read-only by default, so Claude cannot update tokens unless &lt;code&gt;--allow-oauth-refresh&lt;/code&gt; is explicitly enabled.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;∎&lt;/p&gt;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: cco: claude condom (sandbox)&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/claude/&#34;&gt;#claude&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/security/&#34;&gt;#security&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ Gimme subagents
      </title>
      <link>https://perrotta.dev/2026/02/gimme-subagents/</link>
      <pubDate>Mon, 23 Feb 2026 10:57:55 +0100</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>claude</category>
      <category>dev</category>
      <category>terrateam</category>
      <guid>https://perrotta.dev/2026/02/gimme-subagents/</guid>
      <description>&lt;p&gt;♠ &lt;strong&gt;Scenario&lt;/strong&gt;: we&amp;rsquo;re test-driving the adoption of a&#xA;&lt;a href=&#34;https://terrateam.io/&#34;&gt;Terrateam&lt;/a&gt; feature&#xA;&lt;a href=&#34;https://docs.terrateam.io/reference/configuration/stacks/&#34;&gt;called&lt;/a&gt;&#xA;&lt;a href=&#34;https://terrateam.io/stacks&#34;&gt;stacks&lt;/a&gt;. The specifics aren&amp;rsquo;t relevant here.&lt;/p&gt;&#xA;&lt;p&gt;In a typical agentic LLM session with &lt;a href=&#34;https://claude.ai/code&#34;&gt;Claude Code&lt;/a&gt;&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/02/gimme-subagents/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;,&#xA;the feature was drafted (planned) and then subsequently implemented.&lt;/p&gt;&#xA;&lt;p&gt;Following that comes the important part: &lt;strong&gt;testing&lt;/strong&gt;! As part of the testing&#xA;process I tend to resonate with &lt;a href=&#34;https://registerspill.thorstenball.com/p/joy-and-curiosity-71&#34;&gt;Thorsten&#xA;Ball&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Most of the time, when I work with Amp, I know in advance (a) what I want the&#xA;resulting code to do and (b) how I will test that it does exactly that.&lt;/p&gt;&#xA;&lt;p&gt;Once Amp declares it&amp;rsquo;s done writing code, I test. And what I mean is that I&#xA;&amp;ldquo;test&amp;rdquo;, in every possible meaning of the word. The goal is to make sure the&#xA;code actually does what it&amp;rsquo;s supposed to do. That can mean: asking Amp to run&#xA;the unit tests, asking it to manually test in a browser, asking it to run a&#xA;command, or check the data in the database, run the curl. With every tool I&#xA;have — Amp, code, my hands and eyes — I test the happy path, the teary path,&#xA;the edge cases. I make sure to test with existing data, no data, real data,&#xA;fake data. I think about what might be different in production and how I could&#xA;test that. Sometimes I ask Amp itself how I can manually verify what it just&#xA;did and ask it to walk me through the testing.&lt;/p&gt;&#xA;&lt;p&gt;How exactly I test very much depends on what I&amp;rsquo;m testing. Not all&#xA;functionality and code have the same blast radius. Some sit at the heart of a&#xA;system, some are peripheral. Adjust accordingly.&lt;/p&gt;&#xA;&lt;p&gt;But once I&amp;rsquo;ve tested something and compared how it works with my mental model&#xA;of how it&amp;rsquo;s supposed to work, then the code, I find, becomes less important.&lt;/p&gt;&#xA;&lt;p&gt;Yes, I&amp;rsquo;ll do spot-checks to make sure it isn&amp;rsquo;t completely insane (less and&#xA;less of a problem with these new models). I also go through my mental list of&#xA;always-check-these things like (a) where and how is the data stored (b) will&#xA;this box us in and prevent future changes (c) security (d) does it touch&#xA;functionality I hadn&amp;rsquo;t considered. Sometimes that can take a while, other&#xA;times there&amp;rsquo;s barely anything to do.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&amp;hellip;hence I surely prompt the LLM to suggest me how to test the feature:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;⏺ Here&amp;#39;s how to test the stacks feature:&#xA;&#xA;  1. Validate the config syntax&#xA;&#xA;  just check-terrateam-tags&#xA;&#xA;  This confirms all projects referenced in .terrateam/config.yml have valid tags, including the new corp-network-check tags.&#xA;&#xA;  2. Verify tag assignments are correct&#xA;&#xA;  Check that the right projects land in each stack:&#xA;&#xA;  # Foundation layer projects&#xA;  just list-projects-by-tag network&#xA;  just list-projects-by-tag terraform-secrets&#xA;  just list-projects-by-tag atlas&#xA;&#xA;  # Compute layer projects&#xA;  just list-projects-by-tag eks&#xA;  just list-projects-by-tag corp-network-check&#xA;&#xA;  # Services layer (future)&#xA;  just list-projects-by-tag service-identity&#xA;&#xA;  Confirm that every cluster project falls into exactly one of the three stacks.&#xA;&#xA;  3. Validate the config file itself&#xA;&#xA;  just validate-terrateam-config   # if this recipe exists&#xA;  # or simply:&#xA;  yamllint .terrateam/config.yml   # basic YAML syntax check&#xA;&#xA;  4. Test on a real PR (the real test)&#xA;&#xA;  Stacks are a Terrateam server-side feature — the ordering logic runs in Terrateam&amp;#39;s CI, not locally. The only real end-to-end test is:&#xA;&#xA;  [...]&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;For the sake of preserving the context window of my current session, I employ&#xA;the following technique:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;❯ 1) OK (in a subagent)&#xA;  2) OK (in a subagent, in parallel)&#xA;  3) OK (in a subagent, in parallel)&#xA;&#xA;  let&amp;#39;s do these first. Prompt me before going to 4&#xA;&#xA;⏺ 3 agents finished (ctrl&amp;#43;o to expand)&#xA;   ├─ Bash (Check terrateam tags validation) · 1 tool use · 13.3k tokens&#xA;   │  ⎿  Done&#xA;   ├─ Task (Verify tag assignments per stack) · 17 tool uses · 32.3k tokens&#xA;   │  ⎿  Done&#xA;   └─ Bash (Validate terrateam config YAML) · 7 tool uses · 16.5k tokens&#xA;      ⎿  Done&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;And that works exactly as you would expect it to.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;⏺ All three checks passed:&#xA;&#xA;  1. Tag validation (just check-terrateam-tags)&#xA;&#xA;  All {redacted – number of projects} standalone projects are properly tagged.&#xA;&#xA;  2. Stack tag assignment verification&#xA;&#xA;  ┌─────────────────────────────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐&#xA;  │                  Check                  │                                                    Result                                                    │&#xA;  ├─────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────┤&#xA;  │ Cluster projects missing from all stacks│ None — all {redacted – number of projects} cluster projects are covered                                      │&#xA;  ├─────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────┤&#xA;  │ Cluster projects in multiple stacks     │ None — tag sets are disjoint                                                                                 │&#xA;  ├─────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────┤&#xA;  │ Non-cluster projects in stacks          │ 10 projects (6 terraform-secrets, 1 opsgenie, 3 atlas) — all in cluster-foundation, expected/harmless per ADR│&#xA;  ├─────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────┤&#xA;  │ Placeholder tags (not yet in use)       │ deploy, rds, service-identity — cluster-services stack is currently empty                                    │&#xA;  └─────────────────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘&#xA;&#xA;  3. Config validation&#xA;&#xA;  - yamllint: passed (zero warnings/errors)&#xA;  - just check: all checks passed (AWS profiles, terrateam tags, AWS provider tags)&#xA;&#xA;  Everything looks good locally. Ready for step 4 (push branch, open PR, test Terrateam&amp;#39;s stack ordering on a real PR) whenever you want to proceed.&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;em&gt;In prose&lt;/em&gt;: consider using&#xA;&lt;a href=&#34;https://code.claude.com/docs/en/sub-agents&#34;&gt;subagents&lt;/a&gt; (i) to preserve your&#xA;&lt;a href=&#34;https://perrotta.dev/2025/10/mcp-model-context-protocol-considered-harmful/&#34;&gt;context window&lt;/a&gt;, and (ii) to&#xA;speed up testing by running them in parallel.&lt;/p&gt;&#xA;&lt;p&gt;One disadvantage: I&amp;rsquo;d avoid using subagents in this manner whenever the testing&#xA;procedures aren&amp;rsquo;t clearly well-defined and scoped (for example, whenever they&#xA;are ambiguous or uncertain). Why? Because I&amp;rsquo;d rather have full control in these&#xA;complex scenarios, by having the ability to manually steer the LLM in real-time.&#xA;With subagents you have limited ability to do so.&lt;/p&gt;&#xA;&lt;p&gt;Last but not least: subagents are not an exclusive feature of Claude Code:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Pi has a couple of extensions that add subagents capabilities to it.&#xA;&lt;a href=&#34;https://github.com/nicobailon/pi-subagents&#34;&gt;Example&lt;/a&gt; (untested)&lt;/li&gt;&#xA;&lt;li&gt;And so does &lt;a href=&#34;https://opencode.ai/docs/agents/&#34;&gt;OpenCode&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;I am a bit surprised to find out that Codex &lt;a href=&#34;https://github.com/openai/codex/issues/2604&#34;&gt;does not&lt;/a&gt; support them&#xA;yet. Or &lt;a href=&#34;https://developers.openai.com/codex/multi-agent/&#34;&gt;does it&lt;/a&gt;?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;Should I stop linking to their website? At this point, every Software&#xA;Engineer has heard of Claude Code at least once, right?&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/02/gimme-subagents/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;∎&lt;/p&gt;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: Gimme subagents&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/claude/&#34;&gt;#claude&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/terrateam/&#34;&gt;#terrateam&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ New APKBUILD: LLM edition
      </title>
      <link>https://perrotta.dev/2026/02/new-apkbuild-llm-edition/</link>
      <pubDate>Wed, 18 Feb 2026 11:23:05 +0100</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>alpine-linux</category>
      <category>bestof</category>
      <category>claude</category>
      <category>dev</category>
      <guid>https://perrotta.dev/2026/02/new-apkbuild-llm-edition/</guid>
      <description>&lt;p&gt;♠ &lt;strong&gt;Problem statement&lt;/strong&gt;: package &lt;a href=&#34;http://prek.j178.dev/&#34;&gt;&lt;code&gt;prek&lt;/code&gt;&lt;/a&gt; for &lt;a href=&#34;https://alpinelinux.org/&#34;&gt;Alpine&#xA;Linux&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;prek&lt;/code&gt; is a modern replacement for &lt;a href=&#34;https://pre-commit.com/&#34;&gt;&lt;code&gt;pre-commit&lt;/code&gt;&lt;/a&gt;,&#xA;covered (&lt;a href=&#34;https://perrotta.dev/tags/pre-commit/&#34;&gt;many times&lt;/a&gt;) in this blog&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/02/new-apkbuild-llm-edition/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/2022/01/alpine-linux-new-apkbuild-workflow/&#34;&gt;Previously&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;It&amp;rsquo;s already a breeze to create &lt;code&gt;APKBUILD&lt;/code&gt;s. I&amp;rsquo;ve been doing so for ages.&lt;/p&gt;&#xA;&lt;p&gt;Now, in 2026, with agentic LLMs, it&amp;rsquo;s even more so!&lt;/p&gt;&#xA;&lt;p&gt;I can be more useful to the Alpine Linux community by increasing my efficiency&#xA;as a package maintainer.&lt;/p&gt;&#xA;&lt;p&gt;Yesterday I used &lt;a href=&#34;https://ampcode.com&#34;&gt;Amp Free&lt;/a&gt; in &lt;em&gt;smart&lt;/em&gt; mode (Opus 4.6) to&#xA;scaffold the &lt;code&gt;APKBUILD&lt;/code&gt; for &lt;code&gt;prek&lt;/code&gt;, using the &lt;a href=&#34;https://aur.archlinux.org/packages/prek&#34;&gt;AUR&#xA;&lt;code&gt;PKGBUILD&lt;/code&gt;&lt;/a&gt; as a baseline. Prompt:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;write an APKBUILD for prek, inspired by https://aur.archlinux.org/packages/prek&#xA;&#xA;once written, copy it to knol (ssh knol)&#xA;aports dir: ~/workspace/aports (in knol)&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The result:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;# Maintainer: Thiago Perrotta &amp;lt;{redacted}&amp;gt;&#xA;pkgname=pre&#xA;pkgver=0.3.3&#xA;pkgrel=0&#xA;pkgdesc=&amp;#34;Better pre-commit, re-engineered in Rust&amp;#34;&#xA;url=&amp;#34;https://github.com/j178/prek&amp;#34;&#xA;arch=&amp;#34;all&amp;#34;&#xA;license=&amp;#34;MIT&amp;#34;&#xA;makedepends=&amp;#34;cargo cargo-auditable&amp;#34;&#xA;subpackages=&amp;#34;&#xA;&#x9;$pkgname-bash-completion&#xA;&#x9;$pkgname-fish-completion&#xA;&#x9;$pkgname-zsh-completion&#xA;&#x9;$pkgname-doc&#xA;&#x9;&amp;#34;&#xA;source=&amp;#34;$pkgname-$pkgver.tar.gz::https://github.com/j178/prek/archive/v$pkgver.tar.gz&amp;#34;&#xA;options=&amp;#34;net&amp;#34; # fetch dependencies&#xA;&#xA;prepare() {&#xA;&#x9;default_prepare&#xA;&#x9;cargo fetch --target=&amp;#34;$CTARGET&amp;#34; --locked&#xA;}&#xA;&#xA;build() {&#xA;&#x9;cargo auditable build --release --frozen&#xA;&#xA;&#x9;target/release/prek util generate-shell-completion bash &amp;gt; $pkgname.bash&#xA;&#x9;target/release/prek util generate-shell-completion fish &amp;gt; $pkgname.fish&#xA;&#x9;target/release/prek util generate-shell-completion zsh &amp;gt; $pkgname.zsh&#xA;}&#xA;&#xA;check() {&#xA;&#x9;cargo test --frozen&#xA;&#x9;cargo test --frozen -- --skip cache_gc_keeps_local_hook_env --skip cache_gc_removes_unreferenced_entries&#xA;}&#xA;&#xA;package() {&#xA;&#x9;install -Dm755 target/release/$pkgname -t &amp;#34;$pkgdir&amp;#34;/usr/bin/&#xA;&#xA;&#x9;install -Dm644 $pkgname.bash &amp;#34;$pkgdir&amp;#34;/usr/share/bash-completion/completions/$pkgname&#xA;&#x9;install -Dm644 $pkgname.fish &amp;#34;$pkgdir&amp;#34;/usr/share/fish/vendor_completions.d/$pkgname.fish&#xA;&#x9;install -Dm644 $pkgname.zsh &amp;#34;$pkgdir&amp;#34;/usr/share/zsh/site-functions/_$pkgname&#xA;&#xA;&#x9;install -Dm644 LICENSE -t &amp;#34;$pkgdir&amp;#34;/usr/share/licenses/$pkgname/&#xA;&#x9;install -Dm644 README.md -t &amp;#34;$pkgdir&amp;#34;/usr/share/doc/$pkgname/&#xA;}&#xA;&#xA;sha512sums=&amp;#34;&#xA;87f5b5905d0c95b7f55a789eb00b463bb987c5fc981d83500f34a41b8e9ea2e4a0ac9d45a0c3a029a7957de33f5ade866c396c399252eb4a7a9e09e32e270b99  prek-0.3.3.tar.gz&#xA;&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This was a great initial attempt, but&#xA;&lt;a href=&#34;https://gitlab.alpinelinux.org/thiagowfx/aports/-/jobs/2223891&#34;&gt;tests&lt;/a&gt; failed:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;Stopped on the first failure. Run `cargo insta test` to run all snapshots.&#xA;thread &amp;#39;cache_gc_removes_unreferenced_entries&amp;#39; (15179) panicked at /builds/thiagowfx/aports/testing/prek/tmp/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.46.3/src/runtime.rs:719:13:&#xA;snapshot assertion for &amp;#39;cache_gc_removes_unreferenced_entries-2&amp;#39; failed in line 234&#xA;failures:&#xA;    cache_gc_keeps_local_hook_env&#xA;    cache_gc_removes_unreferenced_entries&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;A follow-up edit yielded this diff:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-diff&#34;&gt;@@ -30,7 &amp;#43;30,7 @@ build() {&#xA;}&#xA;&#xA;check() {&#xA;-&#x9;cargo test --frozen&#xA;&amp;#43;&#x9;cargo test --frozen -- --skip cache_gc_keeps_local_hook_env --skip cache_gc_removes_unreferenced_entries&#xA;}&#xA;&#xA;package() {&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&amp;hellip;but that caused more failures. Then I got interrupted and the night ended.&lt;/p&gt;&#xA;&lt;p&gt;Today, I continued with &lt;a href=&#34;https://claude.com/product/claude-code&#34;&gt;Claude Code&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Original prompt to &lt;code&gt;claudey&lt;/code&gt;&lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/02/new-apkbuild-llm-edition/#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; using Opus 4.6:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;we&amp;rsquo;re packaging prek for alpine linux (APKBUILD)&lt;/p&gt;&#xA;&lt;p&gt;we&amp;rsquo;re using &lt;a href=&#34;https://aur.archlinux.org/packages/prek&#34;&gt;https://aur.archlinux.org/packages/prek&lt;/a&gt; as reference&lt;/p&gt;&#xA;&lt;p&gt;we have access to an alpine system in knol (&lt;code&gt;ssh knol&lt;/code&gt;)&lt;/p&gt;&#xA;&lt;p&gt;the aports tree lives in ~/workspace/aports in knol&lt;/p&gt;&#xA;&lt;p&gt;we&amp;rsquo;re already in the right branch, the prek APKBUILD lives in testing/prek within knol&lt;/p&gt;&#xA;&lt;p&gt;the problem is that the test is failing in our MR pipeline: &lt;a href=&#34;https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/97666&#34;&gt;https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/97666&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;sample job: &lt;a href=&#34;https://gitlab.alpinelinux.org/thiagowfx/aports/-/jobs/2223963&#34;&gt;https://gitlab.alpinelinux.org/thiagowfx/aports/-/jobs/2223963&lt;/a&gt; (raw log: &lt;a href=&#34;https://gitlab.alpinelinux.org/thiagowfx/aports/-/jobs/2223963/raw&#34;&gt;https://gitlab.alpinelinux.org/thiagowfx/aports/-/jobs/2223963/raw&lt;/a&gt;)&lt;/p&gt;&#xA;&lt;p&gt;fix the APKBUILD!&lt;/p&gt;&#xA;&lt;p&gt;I think it&amp;rsquo;s a missing checkdep&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;A couple of burned tokens later:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;APKBUILD updated. Here&amp;rsquo;s what changed:&lt;/p&gt;&#xA;&lt;p&gt;Added checkdepends=&amp;ldquo;bash python3&amp;rdquo;:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;python3 — prek&amp;rsquo;s pygrep language handler uses uv to find a Python&#xA;interpreter. Without system Python, uv python find fails, causing all 11&#xA;pygrep tests to fail. Also needed for the windows_script_run test which uses&#xA;a #!/usr/bin/env python3 shebang.&lt;/li&gt;&#xA;&lt;li&gt;bash — the script tests use #!/usr/bin/env bash shebangs, and Alpine doesn&amp;rsquo;t&#xA;ship bash by default (only busybox ash).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Added &amp;ndash;skip for language integration tests needing unavailable runtimes:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;docker — needs Docker daemon (also covers docker_image via substring match)&lt;/li&gt;&#xA;&lt;li&gt;julia — Julia not available in Alpine&lt;/li&gt;&#xA;&lt;li&gt;lua:: — Lua interpreter not available&lt;/li&gt;&#xA;&lt;li&gt;haskell — GHC/cabal not available&lt;/li&gt;&#xA;&lt;li&gt;node:: — Node.js/npm not available&lt;/li&gt;&#xA;&lt;li&gt;ruby:: — Ruby not available&lt;/li&gt;&#xA;&lt;li&gt;rust:: — Rust toolchain tests (rustup) not available&lt;/li&gt;&#xA;&lt;li&gt;swift:: — Swift not available&lt;/li&gt;&#xA;&lt;li&gt;bun:: — Bun not available&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The unit tests (282) plus other integration suites (auto_update,&#xA;builtin_hooks, cache, hook_impl, identify, install) still run fully. You can&#xA;commit and push to re-trigger the pipeline.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;That&amp;rsquo;s spot on. Here&amp;rsquo;s the diff:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-diff&#34;&gt;🧙 thiago@knol ~/workspace/aports/testing/prek git:prek&#xA;❯ git --no-pager show&#xA;commit 8f702c5f1ee1b6d153a4f957c309f2badd452d31 (HEAD -&amp;gt; prek)&#xA;Author: Thiago Perrotta &amp;lt;{redacted}&amp;gt;&#xA;Date:   Wed Feb 18 05:30:14 2026 -0500&#xA;&#xA;    skip language integration tests&#xA;&#xA;diff --git testing/prek/APKBUILD testing/prek/APKBUILD&#xA;index 5e134457bc..d6080fa977 100644&#xA;--- testing/prek/APKBUILD&#xA;&amp;#43;&amp;#43;&amp;#43; testing/prek/APKBUILD&#xA;@@ -7,6 &amp;#43;7,7 @@ url=&amp;#34;https://github.com/j178/prek&amp;#34;&#xA; arch=&amp;#34;all&amp;#34;&#xA; license=&amp;#34;MIT&amp;#34;&#xA; makedepends=&amp;#34;cargo cargo-auditable&amp;#34;&#xA;&amp;#43;checkdepends=&amp;#34;bash python3&amp;#34;&#xA; subpackages=&amp;#34;&#xA; &#x9;$pkgname-bash-completion&#xA; &#x9;$pkgname-fish-completion&#xA;@@ -30,7 &amp;#43;31,18 @@ build() {&#xA; }&#xA;&#xA; check() {&#xA;-&#x9;cargo test --frozen -- --skip cache_gc_keeps_local_hook_env --skip cache_gc_removes_unreferenced_entries&#xA;&amp;#43;&#x9;cargo test --frozen -- \&#xA;&amp;#43;&#x9;&#x9;--skip cache_gc_keeps_local_hook_env \&#xA;&amp;#43;&#x9;&#x9;--skip cache_gc_removes_unreferenced_entries \&#xA;&amp;#43;&#x9;&#x9;--skip &amp;#34;docker&amp;#34; \&#xA;&amp;#43;&#x9;&#x9;--skip &amp;#34;julia&amp;#34; \&#xA;&amp;#43;&#x9;&#x9;--skip &amp;#34;lua::&amp;#34; \&#xA;&amp;#43;&#x9;&#x9;--skip &amp;#34;haskell&amp;#34; \&#xA;&amp;#43;&#x9;&#x9;--skip &amp;#34;node::&amp;#34; \&#xA;&amp;#43;&#x9;&#x9;--skip &amp;#34;ruby::&amp;#34; \&#xA;&amp;#43;&#x9;&#x9;--skip &amp;#34;rust::&amp;#34; \&#xA;&amp;#43;&#x9;&#x9;--skip &amp;#34;swift::&amp;#34; \&#xA;&amp;#43;&#x9;&#x9;--skip &amp;#34;bun::&amp;#34;&#xA; }&#xA;&#xA; package() {&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I had to continue with a few more follow-ups though. Eventually, that led to&#xA;Merge Request (MR)&#xA;&lt;a href=&#34;https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/97666&#34;&gt;!97666&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;# Maintainer: Thiago Perrotta &amp;lt;{redacted}&amp;gt;&#xA;pkgname=prek&#xA;pkgver=0.3.3&#xA;pkgrel=0&#xA;pkgdesc=&amp;#34;Better pre-commit, re-engineered in Rust&amp;#34;&#xA;url=&amp;#34;https://github.com/j178/prek&amp;#34;&#xA;arch=&amp;#34;all&amp;#34;&#xA;license=&amp;#34;MIT&amp;#34;&#xA;makedepends=&amp;#34;cargo cargo-auditable&amp;#34;&#xA;subpackages=&amp;#34;&#xA;&#x9;$pkgname-bash-completion&#xA;&#x9;$pkgname-fish-completion&#xA;&#x9;$pkgname-zsh-completion&#xA;&#x9;$pkgname-doc&#xA;&#x9;&amp;#34;&#xA;source=&amp;#34;$pkgname-$pkgver.tar.gz::https://github.com/j178/prek/archive/v$pkgver.tar.gz&amp;#34;&#xA;options=&amp;#34;net&amp;#34; # fetch dependencies&#xA;&#xA;prepare() {&#xA;&#x9;default_prepare&#xA;&#x9;cargo fetch --target=&amp;#34;$CTARGET&amp;#34; --locked&#xA;}&#xA;&#xA;build() {&#xA;&#x9;cargo auditable build --release --frozen&#xA;&#xA;&#x9;target/release/prek util generate-shell-completion bash &amp;gt; $pkgname.bash&#xA;&#x9;target/release/prek util generate-shell-completion fish &amp;gt; $pkgname.fish&#xA;&#x9;target/release/prek util generate-shell-completion zsh &amp;gt; $pkgname.zsh&#xA;}&#xA;&#xA;check() {&#xA;&#x9;cargo test --frozen --lib&#xA;}&#xA;&#xA;package() {&#xA;&#x9;install -Dm755 target/release/$pkgname -t &amp;#34;$pkgdir&amp;#34;/usr/bin/&#xA;&#xA;&#x9;install -Dm644 $pkgname.bash &amp;#34;$pkgdir&amp;#34;/usr/share/bash-completion/completions/$pkgname&#xA;&#x9;install -Dm644 $pkgname.fish &amp;#34;$pkgdir&amp;#34;/usr/share/fish/vendor_completions.d/$pkgname.fish&#xA;&#x9;install -Dm644 $pkgname.zsh &amp;#34;$pkgdir&amp;#34;/usr/share/zsh/site-functions/_$pkgname&#xA;&#xA;&#x9;install -Dm644 LICENSE -t &amp;#34;$pkgdir&amp;#34;/usr/share/licenses/$pkgname/&#xA;&#x9;install -Dm644 README.md -t &amp;#34;$pkgdir&amp;#34;/usr/share/doc/$pkgname/&#xA;}&#xA;&#xA;sha512sums=&amp;#34;&#xA;87f5b5905d0c95b7f55a789eb00b463bb987c5fc981d83500f34a41b8e9ea2e4a0ac9d45a0c3a029a7957de33f5ade866c396c399252eb4a7a9e09e32e270b99  prek-0.3.3.tar.gz&#xA;&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&amp;hellip;wherein &lt;a href=&#34;https://gitlab.alpinelinux.org/thiagowfx/aports/-/pipelines/407211&#34;&gt;all tests&#xA;pass&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I can&amp;rsquo;t compile &lt;code&gt;prek&lt;/code&gt; on my little alpine linux VPS (1GB RAM). Apparently Rust&#xA;is a monster that requires a lot of RAM for compiling and linking software with&#xA;hundreds of dependencies.&lt;/p&gt;&#xA;&lt;p&gt;I tested it by grabbing the built &lt;code&gt;.apk&lt;/code&gt; package from the GitLab pipeline from&#xA;my MR:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-plaintext&#34;&gt;⏺ x86_64 passed. Let&amp;#39;s grab the artifact and install it:&#xA;&#xA;⏺ Bash(ssh knol &amp;#34;curl -L -o /tmp/prek-x86_64.zip&#xA;      &amp;#39;https://gitlab.alpinelinux.org/api/v4/projects/3998/jobs/2224483/artifacts&amp;#39; &amp;amp;&amp;amp; cd /tmp &amp;amp;&amp;amp; unzip -o&#xA;      prek-x86_64.zip &amp;amp;&amp;amp;…)&#xA;  ⎿    % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current&#xA;                                      Dload  Upload  Total   Spent   Left   Speed&#xA;       0      0   0      0   0      0      0      0                              0100  3.51M 100  3.&#xA;     … &amp;#43;19 lines (ctrl&amp;#43;o to expand)&#xA;&#xA;⏺ Bash(ssh knol &amp;#34;sudo apk add --allow-untrusted /tmp/packages/testing/x86_64/prek-0.3.3-r0.apk &amp;amp;&amp;amp; prek&#xA;      --version&amp;#34;)&#xA;  ⎿  (1/1) Installing prek (0.3.3-r0)&#xA;     Executing busybox-1.37.0-r31.trigger&#xA;     OK: 1257.5 MiB in 579 packages&#xA;     prek 0.3.3&#xA;&#xA;⏺ Installed and working. prek 0.3.3 on knol. All 8 completed architectures passed (riscv64 is still&#xA;  building).&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The LLM tries to use &lt;code&gt;sudo&lt;/code&gt; instead of &lt;code&gt;doas&lt;/code&gt;, which is not correct on Alpine&#xA;Linux.&lt;/p&gt;&#xA;&lt;p&gt;It works anyway because I have the &lt;a href=&#34;https://pkgs.alpinelinux.org/package/edge/main/x86_64/doas-sudo-shim&#34;&gt;&lt;code&gt;doas-sudo-shim&lt;/code&gt;&lt;/a&gt; package installed:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;% sudo -h&#xA;Usage:&#xA;  sudo (-i | -s) [-n] [-u &amp;lt;user&amp;gt;] [&amp;lt;command&amp;gt; [--] [&amp;lt;args&amp;gt;...]]&#xA;  sudo [-ins] [-u &amp;lt;user&amp;gt;] &amp;lt;command&amp;gt; [--] [&amp;lt;args&amp;gt;...]&#xA;  sudo [-h]&#xA;&#xA;Execute a command as another user using doas(1).&#xA;&#xA;This is not the original sudo, but the doas shim for sudo. It supports only&#xA;a subset of the sudo options (both short and long) that have an equivalent in&#xA;doas, plus option -i (--login). Refer to sudo(1) for more information.&#xA;&#xA;If you need some sudo features that are not supported in doas, replace&#xA;package &amp;#39;doas-sudo-shim&amp;#39; with &amp;#39;sudo&amp;#39;: apk add sudo !doas-sudo-shim.&#xA;&#xA;Please report bugs at &amp;lt;https://github.com/jirutka/doas-sudo-shim/issues&amp;gt;.&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;Expect a post about &lt;code&gt;prek&lt;/code&gt; soon.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/02/new-apkbuild-llm-edition/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li id=&#34;fn:2&#34;&gt;&#xA;&lt;p&gt;&lt;code&gt;alias claudey=claude --dangerously-skip-permissions&lt;/code&gt;, with no annoying&#xA;confirmation prompts&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/02/new-apkbuild-llm-edition/#fnref:2&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;∎&lt;/p&gt;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: New APKBUILD: LLM edition&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/alpine-linux/&#34;&gt;#alpine-linux&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/claude/&#34;&gt;#claude&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ WebDriver BiDi: from spec to implementation
      </title>
      <link>https://perrotta.dev/2026/02/webdriver-bidi-from-spec-to-implementation/</link>
      <pubDate>Mon, 16 Feb 2026 18:38:10 +0100</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>bestof</category>
      <category>dev</category>
      <category>meta</category>
      <guid>https://perrotta.dev/2026/02/webdriver-bidi-from-spec-to-implementation/</guid>
      <description>&lt;p&gt;♠ &lt;a href=&#34;https://perrotta.dev/2024/01/google-chrome-for-testing-reliable-downloads-for-browser-automation/&#34;&gt;Previously&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt;: Some &lt;a href=&#34;https://perrotta.dev/ai/&#34;&gt;LLM magic&lt;/a&gt; was used in this blog&#xA;post&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/02/webdriver-bidi-from-spec-to-implementation/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#xA;&lt;p&gt;From mid-2022 to late 2023, I was one of the core contributors to&#xA;&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi&#34;&gt;chromium-bidi&lt;/a&gt;, an&#xA;implementation of the &lt;a href=&#34;https://w3c.github.io/webdriver-bidi/&#34;&gt;WebDriver BiDi&lt;/a&gt;&#xA;protocol for Chromium. This was before the agentic LLM days.&lt;/p&gt;&#xA;&lt;p&gt;Think of it as the next-generation browser automation protocol – the successor&#xA;to WebDriver Classic (Selenium-era) and a complement to &lt;a href=&#34;https://chromedevtools.github.io/devtools-protocol/&#34;&gt;CDP (Chrome DevTools&#xA;Protocol)&lt;/a&gt;, used by&#xA;Puppeteer.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;The key innovation&lt;/strong&gt;: bidirectional communication between the test client and&#xA;the browser, enabling event-driven automation instead of request-response&#xA;polling.&lt;/p&gt;&#xA;&lt;p&gt;With classic WebDriver, if you wanted to listen for a console log or a network&#xA;request, you couldn&amp;rsquo;t – the client sends commands, the server responds, end of&#xA;story. You&amp;rsquo;d need to &lt;strong&gt;poll&lt;/strong&gt; for changes. With BiDi, the browser can push&#xA;events to the client as they happen: DOM mutations, network interceptions,&#xA;script errors, all in real time.&lt;/p&gt;&#xA;&lt;p&gt;The project is a TypeScript translation layer that sits between BiDi clients and&#xA;CDP, running inside a &lt;del&gt;Chrome&lt;/del&gt; Chromium tab.&#xA;&lt;a href=&#34;https://www.linkedin.com/in/sadym/&#34;&gt;Our&lt;/a&gt;&#xA;&lt;a href=&#34;https://www.linkedin.com/in/alexrudenko/&#34;&gt;small&lt;/a&gt;&#xA;&lt;a href=&#34;https://www.linkedin.com/in/mathiasbynens/&#34;&gt;team&lt;/a&gt; at Google built it from the&#xA;ground up.&lt;/p&gt;&#xA;&lt;h2 id=&#34;by-the-numbers&#34;&gt;&#xA;  By the numbers&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/02/webdriver-bidi-from-spec-to-implementation/#by-the-numbers&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt;: The LLM fetched these numbers, using the &lt;a href=&#34;https://cli.github.com/&#34;&gt;GitHub&#xA;CLI&lt;/a&gt;. I am confident they are reasonably correct&lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/02/webdriver-bidi-from-spec-to-implementation/#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Over roughly two years, &lt;em&gt;my&lt;/em&gt; contributions stood as follows:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;426 PRs&lt;/strong&gt; authored (371 merged)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;442 PRs&lt;/strong&gt; reviewed from teammates&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;29 issues&lt;/strong&gt; filed&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;42 PRs&lt;/strong&gt; upstream to &lt;a href=&#34;https://github.com/web-platform-tests/wpt&#34;&gt;web-platform-tests/wpt&lt;/a&gt; (the shared browser test suite)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;34 PRs&lt;/strong&gt; upstream to &lt;a href=&#34;https://github.com/w3c/webdriver-bidi&#34;&gt;w3c/webdriver-bidi&lt;/a&gt; (the W3C specification itself)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;At peak velocity (May&amp;ndash;June 2023), I was opening 3&amp;ndash;4 PRs per day.&lt;/p&gt;&#xA;&lt;h2 id=&#34;infrastructure-first&#34;&gt;&#xA;  Infrastructure first&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/02/webdriver-bidi-from-spec-to-implementation/#infrastructure-first&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;My first contribution&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/221&#34;&gt;#221&lt;/a&gt;, July 2022)&#xA;was adding Terser minification to the mapper, reducing its size by 43%. Not&#xA;fancy, but representative of my approach: fix the foundation before building on&#xA;it.&lt;/p&gt;&#xA;&lt;p&gt;The first ~100 PRs were heavily focused on developer experience (#devex):&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Introduced &lt;a href=&#34;https://pre-commit.com/&#34;&gt;pre-commit.com&lt;/a&gt; with ESLint, Prettier,&#xA;shellcheck, and codespell&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/373&#34;&gt;#373&lt;/a&gt;). That&amp;rsquo;s&#xA;when I would eventually &lt;a href=&#34;https://perrotta.dev/2024/12/pre-commit/&#34;&gt;fall in love&lt;/a&gt;&#xA;with it.&lt;/li&gt;&#xA;&lt;li&gt;Added macOS E2E tests, headful &lt;a href=&#34;https://web-platform-tests.org/&#34;&gt;WPT&lt;/a&gt; (Web&#xA;Platform Tests – the shared test suite across browser vendors) runs in GitHub&#xA;Actions, &lt;a href=&#34;https://perrotta.dev/2024/01/google-chrome-for-testing-reliable-downloads-for-browser-automation/&#34;&gt;Chrome for Testing&lt;/a&gt; in&#xA;CI (&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/427&#34;&gt;#427&lt;/a&gt;,&#xA;&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/466&#34;&gt;#466&lt;/a&gt;,&#xA;&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/671&#34;&gt;#671&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Integrated &lt;a href=&#34;https://github.com/nicolo-ribaudo/wireit&#34;&gt;Wireit&lt;/a&gt; build system&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/603&#34;&gt;#603&lt;/a&gt;,&#xA;+751/-337)&lt;/li&gt;&#xA;&lt;li&gt;Enforced conventional commits&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/900&#34;&gt;#900&lt;/a&gt;). From&#xA;that day I started to adopt a light (loose) version of it in my own&#xA;repositories.&lt;/li&gt;&#xA;&lt;li&gt;Parallelized WPT test runs&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/828&#34;&gt;#828&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Added Codecov integration&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/918&#34;&gt;#918&lt;/a&gt;). It was&#xA;for free.&lt;/li&gt;&#xA;&lt;li&gt;Automated browser version pinning and WPT submodule updates&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/941&#34;&gt;#941&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;There was also a coordinated effort in January 2023 to remove static state from&#xA;the codebase – about 10 PRs converting &lt;code&gt;EventManager&lt;/code&gt;, &lt;code&gt;SubscriptionManager&lt;/code&gt;,&#xA;&lt;code&gt;LogManager&lt;/code&gt;, &lt;code&gt;ScriptEvaluator&lt;/code&gt;, &lt;code&gt;BrowsingContextStorage&lt;/code&gt;, and &lt;code&gt;RealmStorage&lt;/code&gt;&#xA;from static classes to proper instances. This was the kind of refactoring that&#xA;makes everything that comes after easier: better testability, less global&#xA;coupling.&lt;/p&gt;&#xA;&lt;h2 id=&#34;features&#34;&gt;&#xA;  Features&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/02/webdriver-bidi-from-spec-to-implementation/#features&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;With the infrastructure solid, features came fast(er).&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;&lt;code&gt;browsingContext.print&lt;/code&gt;&lt;/strong&gt;&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/526&#34;&gt;#526&lt;/a&gt;):&#xA;Print-to-PDF, including &lt;code&gt;shrinkToFit&lt;/code&gt; support and golden image comparison&#xA;testing.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;&lt;code&gt;browsingContext.captureScreenshot&lt;/code&gt;&lt;/strong&gt;&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/515&#34;&gt;#515&lt;/a&gt;): Full&#xA;screenshot implementation including OOPIF (out-of-process iframe) support and&#xA;headful mode.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;&lt;code&gt;script.addPreloadScript&lt;/code&gt;&lt;/strong&gt;&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/582&#34;&gt;#582&lt;/a&gt;): Preload&#xA;scripts that run before page content, with channel and sandbox support added&#xA;incrementally over several months.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Channel mechanism / &lt;code&gt;script.MessageEvent&lt;/code&gt;&lt;/strong&gt;&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/319&#34;&gt;#319&lt;/a&gt;): A&#xA;prototype for safe page-to-client communication. This one took ~4 months from&#xA;first draft to merge – the longest-lived PR I had.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;&lt;code&gt;browsingContext.reload&lt;/code&gt;&lt;/strong&gt;&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/654&#34;&gt;#654&lt;/a&gt;): Including&#xA;the &lt;code&gt;wait&lt;/code&gt; parameter and &lt;code&gt;ignoreCache&lt;/code&gt; support.&lt;/p&gt;&#xA;&lt;h2 id=&#34;network-interception-woes&#34;&gt;&#xA;  Network Interception woes&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/02/webdriver-bidi-from-spec-to-implementation/#network-interception-woes&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;The largest body of work was implementing the full network request interception&#xA;subsystem. This was the kind of feature where you feel the weight of the entire&#xA;spec behind every line of code. And, again, this was before agentic LLMs.&lt;/p&gt;&#xA;&lt;p&gt;It started in June 2023 with scaffolding&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/845&#34;&gt;#845&lt;/a&gt;) and&#xA;stretched through November. The plot arc:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Parse URL patterns for &lt;code&gt;network.addIntercept&lt;/code&gt;&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/1186&#34;&gt;#1186&lt;/a&gt;,&#xA;+461/-526)&lt;/li&gt;&#xA;&lt;li&gt;Handle &lt;code&gt;Fetch.requestPaused&lt;/code&gt; CDP events&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/1304&#34;&gt;#1304&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Implement &lt;code&gt;network.failRequest&lt;/code&gt;&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/1318&#34;&gt;#1318&lt;/a&gt;, 20&#xA;review rounds)&lt;/li&gt;&#xA;&lt;li&gt;Implement &lt;code&gt;network.continueRequest&lt;/code&gt;&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/1331&#34;&gt;#1331&lt;/a&gt;, 28&#xA;review rounds)&lt;/li&gt;&#xA;&lt;li&gt;Unblock event queue when network events are blocked&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/1409&#34;&gt;#1409&lt;/a&gt;) &amp;ndash;&#xA;co-authored with &lt;a href=&#34;https://github.com/sadym-chromium&#34;&gt;Maksim&lt;/a&gt;, this one&#xA;was tricky&lt;/li&gt;&#xA;&lt;li&gt;Implement &lt;code&gt;network.continueResponse&lt;/code&gt;&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/1443&#34;&gt;#1443&lt;/a&gt;, 35&#xA;review rounds)&lt;/li&gt;&#xA;&lt;li&gt;Implement &lt;code&gt;network.provideResponse&lt;/code&gt;&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/1457&#34;&gt;#1457&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Implement &lt;code&gt;network.continueWithAuth&lt;/code&gt;&#xA;(&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/1470&#34;&gt;#1470&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;My takeaway: networking is &lt;em&gt;flaky&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;All five BiDi network interception commands, fully implemented. The&#xA;&lt;code&gt;continueResponse&lt;/code&gt; PR alone went through 35 rounds of review. This was&#xA;painstaking, detail-oriented work – matching the spec precisely while dealing&#xA;with CDP&amp;rsquo;s quirks underneath.&lt;/p&gt;&#xA;&lt;p&gt;Again, this was before LLMs (how many times did I already mention that?). It&#xA;would have been &lt;em&gt;soooooo&lt;/em&gt; much easier, had they existed back then. They are&#xA;great at implementing specs and matching patterns, after all.&lt;/p&gt;&#xA;&lt;h2 id=&#34;full-stack-spec-to-tests&#34;&gt;&#xA;  Full-stack, spec to tests&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/02/webdriver-bidi-from-spec-to-implementation/#full-stack-spec-to-tests&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;What I enjoyed the most about this work was the feedback loop across layers. I&#xA;wasn&amp;rsquo;t just writing TypeScript in one repo. The workflow often resembled the&#xA;following:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Find an ambiguity or bug in the &lt;a href=&#34;https://github.com/w3c/webdriver-bidi&#34;&gt;W3C&#xA;spec&lt;/a&gt; while implementing a feature&lt;/li&gt;&#xA;&lt;li&gt;Send a fix upstream to the spec (34 PRs)&lt;/li&gt;&#xA;&lt;li&gt;Write the implementation in chromium-bidi&lt;/li&gt;&#xA;&lt;li&gt;Write or fix tests in&#xA;&lt;a href=&#34;https://github.com/web-platform-tests/wpt&#34;&gt;web-platform-tests&lt;/a&gt; (42 PRs)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;This is the kind of work where you see the entire stack — from the standards&#xA;document to the test suite shared across browser vendors.&lt;/p&gt;&#xA;&lt;p&gt;The WPT work was also a first-class concern in CI: I set up auto-committing WPT&#xA;expectations, parallelized test runs, and maintained a local bad SSL server for&#xA;testing (&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/1521&#34;&gt;#1521&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;h2 id=&#34;test-reorganization&#34;&gt;&#xA;  Test Reorganization&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/02/webdriver-bidi-from-spec-to-implementation/#test-reorganization&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;One PR worth calling out:&#xA;&lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pull/1110&#34;&gt;#1110&lt;/a&gt;&#xA;(+2586/-2385). This reorganized all E2E tests by domain – the largest single&#xA;diff I landed. Not fancy but necessary. A well-organized test suite is how you&#xA;keep a project maintainable as it grows.&lt;/p&gt;&#xA;&lt;h2 id=&#34;fin&#34;&gt;&#xA;  Fin&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/02/webdriver-bidi-from-spec-to-implementation/#fin&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;This was one of the most rewarding projects I worked on at Google. Building a&#xA;browser automation protocol from scratch, contributing to W3C specs, and seeing&#xA;it all come together in real test infrastructure used by other browser vendors&#xA;– it&amp;rsquo;s the kind of work that makes you appreciate the craft of software&#xA;engineering at the standards level.&lt;/p&gt;&#xA;&lt;p&gt;The project is &lt;a href=&#34;https://github.com/GoogleChromeLabs/chromium-bidi/pulls&#34;&gt;still&#xA;active&lt;/a&gt; and has since&#xA;been adopted as the default WebDriver BiDi implementation in Chromium. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;As it&amp;rsquo;s explicitly noted that I do not use AI to craft blog posts in this&#xA;site, and this is one exception, I feel that it must be disclosed upfront.&#xA;You&amp;rsquo;re free to skip it if it doesn&amp;rsquo;t suit you. That said, you can tell I edited&#xA;the entire post by hand because there are various personal touches all over the&#xA;place.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/02/webdriver-bidi-from-spec-to-implementation/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li id=&#34;fn:2&#34;&gt;&#xA;&lt;p&gt;Because, initially, it wasn&amp;rsquo;t&amp;hellip;by a lot. You &lt;em&gt;really&lt;/em&gt; need to&#xA;double-check numbers made up by LLMs.&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/02/webdriver-bidi-from-spec-to-implementation/#fnref:2&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: WebDriver BiDi: from spec to implementation&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/meta/&#34;&gt;#meta&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>★ web radio player
      </title>
      <link>https://perrotta.dev/2026/02/web-radio-player/</link>
      <pubDate>Mon, 16 Feb 2026 16:53:36 +0100</pubDate><author>serendipity@perrotta.dev (Thiago Perrotta)</author>
      <category>ai</category>
      <category>bestof</category>
      <category>dev</category>
      <category>meta</category>
      <category>serenity</category>
      <guid>https://perrotta.dev/2026/02/web-radio-player/</guid>
      <description>&lt;p&gt;♠ I have a &lt;a href=&#34;https://github.com/thiagowfx/pancake/tree/master/radio&#34;&gt;&lt;code&gt;radio&lt;/code&gt;&lt;/a&gt; shell&#xA;script in &lt;a href=&#34;https://github.com/thiagowfx/pancake&#34;&gt;pancake&lt;/a&gt; (=miscellaneous unix&#xA;scripts) that streams curated (and free) internet radio stations via &lt;code&gt;mpv&lt;/code&gt;. It&#xA;works great from the &lt;a href=&#34;https://perrotta.dev/2025/11/radio/&#34;&gt;terminal&lt;/a&gt;, but I wanted to&#xA;go one step further and make it available from a web browser as well.&lt;/p&gt;&#xA;&lt;p&gt;The script supports:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;playing a specific station,&lt;/li&gt;&#xA;&lt;li&gt;picking a random one,&lt;/li&gt;&#xA;&lt;li&gt;burst mode (multiple simultaneous streams), and&lt;/li&gt;&#xA;&lt;li&gt;listing what&amp;rsquo;s currently running&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;All of these map well to a web browser UI.&lt;/p&gt;&#xA;&lt;p&gt;Fast-forward&amp;hellip; (pun intended)&lt;/p&gt;&#xA;&lt;h2 id=&#34;gimme-radio&#34;&gt;&#xA;  Gimme radio&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/02/web-radio-player/#gimme-radio&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;I added a &lt;a href=&#34;https://perrotta.dev/radio/&#34;&gt;&lt;code&gt;/radio/&lt;/code&gt;&lt;/a&gt; page to this blog. It&amp;rsquo;s a single Hugo&#xA;layout with inline CSS and JS, following the same pattern as the &lt;a href=&#34;https://perrotta.dev/graph/&#34;&gt;graph&lt;/a&gt; page&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/02/web-radio-player/#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The core is simple (and effective!) — a (hash) &lt;code&gt;Map&lt;/code&gt; of station IDs to &lt;code&gt;Audio&lt;/code&gt;&#xA;objects:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-javascript&#34;&gt;const playing = new Map();&#xA;&#xA;function play(id) {&#xA;  if (playing.has(id)) return;&#xA;  const s = getStation(id);&#xA;  const audio = new Audio(s.url);&#xA;  audio.volume = volume;&#xA;  audio.play().catch((e) =&amp;gt; {&#xA;    console.warn(&amp;#39;Failed to play &amp;#39; &amp;#43; s.name &amp;#43; &amp;#39;:&amp;#39;, e.message);&#xA;  });&#xA;  playing.set(id, audio);&#xA;  updateUI();&#xA;}&#xA;&#xA;function stop(id) {&#xA;  const audio = playing.get(id);&#xA;  if (!audio) return;&#xA;  audio.pause();&#xA;  audio.src = &amp;#39;&amp;#39;;&#xA;  playing.delete(id);&#xA;  updateUI();&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Setting &lt;code&gt;audio.src = &#39;&#39;&lt;/code&gt; after pausing is important — without it, the browser&#xA;keeps the HTTPS connection open to the stream server.&lt;/p&gt;&#xA;&lt;h2 id=&#34;burst-mode&#34;&gt;&#xA;  Burst mode&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/02/web-radio-player/#burst-mode&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;The shell script has a &lt;code&gt;--burst&lt;/code&gt; flag that launches &lt;code&gt;N&lt;/code&gt; random stations&#xA;simultaneously. The browser version does the same (well, it&amp;rsquo;s hard-coded to 3&#xA;stations):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code class=&#34;language-javascript&#34;&gt;function playBurst() {&#xA;  stopAll();&#xA;  const indices = [];&#xA;  while (indices.length &amp;lt; 3 &amp;amp;&amp;amp; indices.length &amp;lt; stations.length) {&#xA;    const idx = Math.floor(Math.random() * stations.length);&#xA;    if (indices.indexOf(idx) === -1) indices.push(idx);&#xA;  }&#xA;  indices.forEach((i) =&amp;gt; play(stations[i].id));&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Multiple &lt;code&gt;Audio&lt;/code&gt; objects play concurrently with no issues. The volume slider&#xA;applies to all of them.&lt;/p&gt;&#xA;&lt;h2 id=&#34;stations&#34;&gt;&#xA;  Stations&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/02/web-radio-player/#stations&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Most stations are from &lt;a href=&#34;https://somafm.com/&#34;&gt;SomaFM&lt;/a&gt;, a listener-supported&#xA;internet radio service. They have a &lt;a href=&#34;https://somafm.com/linktous/&#34;&gt;clear policy&lt;/a&gt;&#xA;for third-party players: display the station name and link back. Each card links&#xA;to its station homepage.&lt;/p&gt;&#xA;&lt;p&gt;I dropped two stations from the original script:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;HBR1 Trance and a rain sounds stream from TorontoCast. HBR1 only serves over&#xA;&lt;code&gt;http://&lt;/code&gt;, which browsers block as mixed content on HTTPS sites.&lt;/li&gt;&#xA;&lt;li&gt;TorontoCast&amp;rsquo;s terms explicitly prohibit embedding streams in third-party&#xA;players.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;implementation&#34;&gt;&#xA;  Implementation&#xA;  &lt;a class=&#34;heading-anchor&#34; href=&#34;https://perrotta.dev/2026/02/web-radio-player/#implementation&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;The UI is a CSS grid of clickable cards with a controls bar (Random, Burst, Stop&#xA;All, volume). Playing stations get a highlighted border and a pulsing dot&#xA;indicator that respects &lt;code&gt;prefers-reduced-motion&lt;/code&gt;. The whole thing uses the&#xA;blog&amp;rsquo;s existing CSS variables so it works in both light and dark mode,&#xA;integrating awesomely with its catppuccin theme.&lt;/p&gt;&#xA;&lt;p&gt;The page: &lt;a href=&#34;https://perrotta.dev/radio/&#34;&gt;&lt;code&gt;/radio/&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;And here&amp;rsquo;s a screenshot (light theme)&lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;https://perrotta.dev/2026/02/web-radio-player/#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://perrotta.dev/2026/02/web-radio-player/radio.png&#34; alt=&#34;web radio player&#34;&#xA;  loading=&#34;lazy&#34; decoding=&#34;async&#34; /&gt;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;Why is this post tagged with &lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;ai&lt;/a&gt;? The radio page&#xA;was vibe-coded.&lt;/p&gt;&#xA;&lt;p&gt;Suggestions to add more web radios to that page will be welcome. ∎&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;Is this the future? Various little web apps in this site?&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/02/web-radio-player/#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li id=&#34;fn:2&#34;&gt;&#xA;&lt;p&gt;Taken with &lt;a href=&#34;https://playwright.dev/&#34;&gt;playwright&lt;/a&gt; via Claude Code. How&#xA;cool!&amp;#160;&lt;a href=&#34;https://perrotta.dev/2026/02/web-radio-player/#fnref:2&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;— § —&lt;/p&gt;&lt;p&gt;Reply via &lt;a href=&#34;mailto:serendipity@perrotta.dev?subject=Reply to: web radio player&#34;&gt;email&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&#34;https://perrotta.dev/tags/ai/&#34;&gt;#ai&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/bestof/&#34;&gt;#bestof&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/dev/&#34;&gt;#dev&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/meta/&#34;&gt;#meta&lt;/a&gt; &lt;a href=&#34;https://perrotta.dev/tags/serenity/&#34;&gt;#serenity&lt;/a&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
