# Graeme Boy (@strangechances) Website: https://strangechances.com/ Location: San Francisco, CA (originally from South Africa; B.A. Grinnell College — Computer Science, Neuroscience, Philosophy) Current Role: CTO at Ando (https://ando.so) Profiles: X (https://x.com/strangechances) · GitHub (https://github.com/graemecode) · LinkedIn (https://www.linkedin.com/in/graemeab) --- # About — Graeme Boy Canonical: https://strangechances.com/about/ I’m an engineer and founder in San Francisco, and the CTO of [Ando](https://ando.so). Before Ando I co-founded Mirror, founded Stack, and ran engineering at Dharma. I grew up in South Africa and studied computer science, neuroscience and philosophy at Grinnell College. Below is my work so far, newest first. You can reach me on [X](https://x.com/strangechances), [GitHub](https://github.com/graemecode) or [LinkedIn](https://www.linkedin.com/in/graemeab). ## [Ando](https://ando.so) — CTO · San Francisco (2025 to now) I am building Ando with [Sara Du](https://saradu.com), a messaging platform for teams working alongside AI agents. Claude and Codex agents operate directly inside channels beside teammates, and Ando’s own cloud agents handle ongoing team workflows, most of them outside of code. Ando came out of stealth in September 2026 with $20 million in funding from Accel, Index Ventures and Emergence. We built the core messaging platform in about eight months. Making Ando faster than Slack required a custom edge layer written in Rust and a backend-driven sync engine that keeps client state consistent without polling or lag. For the small agent classifiers that run on every message, we also built a self-distilling Rust gate that answers the clear-cut cases locally in 0.14ms and sends the rest to a hosted model, written up in [conformal gates](https://strangechances.com/writings/conformal-gate/). I also own security and compliance, and took Ando through SOC 2 Type II, GDPR and HIPAA. My focus now is security architecture, so teams can trust Ando with sensitive company work and autonomous agents over Slack, Discord or Telegram. At Ando I built and refined an AI software factory for day-to-day engineering, similar in spirit to [Lauren Tan](https://no.lol)’s work on Grok Bot at SpaceX, but engineered to run affordably on a startup budget. Rather than babysitting individual prompts, I built automated tests, review gates and verification loops directly into the repository so parallel coding agents write and check almost all of my code while I focus on architecture and review. Since March 2026 I have personally shipped more than ten thousand merged pull requests from my own GitHub account, with a typical pull request changing about 280 lines across five files. **Pull requests merged (Mar 10 – Nov 18, 2026):** 10,430 merged across 206 active days (peak day: 353 on Nov 3). By month — Mar: 33, Apr: 262, May: 2,374, Jun: 323, Jul: 433, Aug: 700, Sep: 1,620, Oct: 2,416, Nov: 2,269. ## [Superstate](https://superstate.com) — Staff Software Engineer · New York (2025) Before Ando I worked as a Staff Software Engineer at Superstate in New York. Superstate operates regulated on-chain financial infrastructure and an SEC-registered transfer agent for tokenized funds and publicly traded equities. While I was there, its two regulated funds, [USTB](https://superstate.com/assets/ustb) (short-duration U.S. Treasuries) and [USCC](https://superstate.com/assets/uscc) (crypto carry), held over $1.4 billion in assets, and the firm had begun issuing tokenized shares of public companies through [Opening Bell](https://superstate.com/opening-bell). Operating as a regulated transfer agent means ownership records, settlement and account permissions carry legal finality. I led a core refactor of Superstate’s Rust codebase to move the platform from a single-account model to multi-account asset management. The migration touched almost every subsystem and rolled out to production with zero downtime. I worked with [Robert Leshner](https://x.com/rleshner), Superstate’s CEO and the founder of Compound, whom I had known since Dharma integrated Compound years earlier. ## Stack — Founder and CEO (2023 to 2025) At Stack we built on-chain point and loyalty systems redeemable for stablecoins and digital assets, modeled on how credit card points redeem for dollars. Points settled on Stack Chain, our own Layer 3 network on Base. Archetype led our $3 million seed round alongside Coinbase Ventures, and we worked directly with Coinbase throughout. I recruited engineers and product leaders from Coinbase, Citadel Securities and Meta, and we scaled the platform to more than 2,000 active point systems. We also shipped two consumer products to prove the infrastructure at scale. For Coinbase’s Onchain Summer in 2024, we partnered with Atari and Coinbase to launch arcade.fun, where players played licensed classics like *Asteroids* and *Breakout* for on-chain scores and Stack points. I built the games myself with Atari’s permission, and they drew millions of visitors and tens of thousands of players. Separately, we launched a social trading app that reached $10 million in volume over a single weekend and briefly ranked as the most used app in crypto. ## Mirror — Co-founder and CTO (2020 to 2022) Mirror was a publishing platform where writers owned their work and raised funding directly from readers. At its peak it had millions of readers and was one of the most visited sites in crypto. a16z crypto and Union Square Ventures jointly led our $16 million round at a $100 million valuation. ### The first version I joined Denis Nazarov and [Jon-Kyle Mohr](https://jon-kyle.com) in December 2020 and made the first backend commit on day one. We had promised Trent Van Epps that he could announce his book on Mirror on Christmas Day, which gave me eighteen days to build publishing. I optimized for delivery speed over stack preference, and we shipped on time. Every post was signed with a key tied to the writer’s Ethereum wallet and stored permanently on Arweave. I wrote up the build in [The MVP Before Christmas](https://paragraph.com/@mirror-blog/the-mvp-before-christmas). ### The $WRITE Race Mirror started invite-only, and we did not want to be the gatekeepers. I designed and launched [the $WRITE Race](https://paragraph.com/@mirror-blog/write-race), a weekly community vote selecting the next ten writers. Winners received a $WRITE token they could burn to register a publication. The race ran for 38 rounds and onboarded 380 writers before we opened Mirror to everyone in October 2021. ### Crowdfunding and auctions I built [crowdfunding](https://paragraph.com/@mirror-blog/crowdfunding-writing-with-nfts) so writers could raise ETH for projects and give backers a stake in the outcome. The first launch, for an essay by John Palmer, raised 10 ETH in half an hour, which I analyzed in [Platforms with Tokens](https://paragraph.com/@graeme-2/platforms-with-tokens-reflection-on-the-launch-of-essay). Within months the same contract funded novels, newsletters and DAOs, including over 1,000 ETH in three days for the documentary *Ethereum: The Infinite Garden* and another 1,000 ETH for Krause House. I also wrote Mirror’s auction contract, which Zora reused for many of its own auctions. The smart contracts I wrote carried the funds for every crowdfund, auction and NFT sale on Mirror without a single exploit or security incident. ### Collecting on Optimism In 2022 I added support for collecting posts on Optimism and explained the architecture in [Choosing Optimism](https://paragraph.com/@graeme-2/choosing-optimism). Ethereum mainnet gas had priced most readers out, and Mirror became one of the first major platforms to adopt an L2. When Optimism announced its token in a Mirror post, readers collected it over 520,000 times in a single day, and more than a million posts were collected over the next year. ### Crypto, Culture, and Society Alongside Mirror I founded [Crypto, Culture, and Society](https://cryptoculturesociety.substack.com/about), a learning DAO and journal examining crypto’s cultural impact. I funded the first semester through [a crowdfund on my Mirror publication](https://web.archive.org/web/20220328224337/https://g.mirror.xyz/crowdfunds/0x819b12E7b398021fbD9D2acdC8B7349E3D732B51). It raised $85,000 in twenty minutes at 0.1 ETH per seat, and members received tokens to vote on the syllabus, guests and scholarships. The first ten weeks were led by Li Jin, Packy McCormick, Reggie James, Morgan Beller and Sam Williams. The community grew past 5,000 Discord members and was profiled by [Lightspeed](https://lsvp.com/stories/web3-crypto-learning/). ### Talks I presented Mirror at conferences in the U.S. and Asia, including [BUIDL Asia](https://itez.com/en/blog/calendar/buidl-asia-2022) and [ETHSeoul](https://www.youtube.com/watch?v=HnDx4xiWKsM) in 2022. ## Dharma — Director of Engineering (2018 to 2020) Dharma began as a peer-to-peer lending protocol and evolved into an Ethereum smart wallet where consumers could buy any Uniswap token directly with a debit card or bank transfer. We indexed the Uniswap v2 factory contract so every newly listed market became tradable from fiat inside the app. I worked alongside [Nadav Hollander](https://x.com/NadavAHollander), [Kayvon Tehranian](https://x.com/kayvon), [Matt Vernon](https://x.com/dApp_boi) and [0age](https://x.com/z0age) on a small, sharp team whose product people loved. Our team pioneered early smart wallet infrastructure with [dharma-smart-wallet](https://github.com/dharma-eng/dharma-smart-wallet), where 0age built the contracts around gasless meta-transactions, counterfactual addresses and fleet-wide upgradability via an upgrade beacon. I built the first version of the mobile app, the fiat payment rails and the backend services that processed blocks, listened for on-chain events, relayed transactions and coordinated contract upgrades. Shipping a mainstream DeFi and trading app from 2019 through DeFi Summer meant bridging reversible bank and card rails directly to irreversible on-chain settlement. I owned fraud defense, stopping friendly fraud and withstanding live attacks from Russian hackers at 2 a.m. We were first customers of [Sardine](https://www.sardine.ai) and [Alchemy](https://www.alchemy.com) as the product scaled under load. As Director of Engineering I led execution and recruiting. I was offered a co-founder and CTO role, but left to start Mirror. OpenSea acquired Dharma in 2022. ## [Numerai](https://numer.ai) — Consulting (2017, and 2026) Numerai is a crowdsourced machine-learning hedge fund founded by [Richard Craib](https://x.com/richardcraib), a friend from boarding school in South Africa. I helped strengthen its engineering foundations in 2017 when the team was a handful of people, and returned in 2026 to help build the smart contracts for Atomic Blockchain Staking, Numerai’s on-chain NMR staking system. ## [RaiseMe](https://www.raise.me) — Founding Engineer (2014 to 2018) RaiseMe enabled high school students to earn micro-scholarships from colleges year by year for their academic and extracurricular achievements. I joined as the founding engineer in 2014, reporting to co-founder Dave Schuman alongside Preston Silverman and George Kirkland. I built much of the initial product by hand, designed our technical hiring process, and authored our engineering values. I became an engineering manager at 25 and led seven engineers as the company grew from 5 people to 70. We partnered with over 300 colleges and administered more than $2 billion in scholarship commitments. Errors carried real cost, because miscalculating an award would break trust with both students and partner universities. Across four years of growth, we had zero hacks, security incidents or major financial bugs. RaiseMe was acquired by CampusLogic in 2020. ## OptinSkin — Co-founder (2011 to 2014) While in college I built OptinSkin with my friend [Glen Allsopp](https://detailed.com/), an SEO marketer. It was a tool suite for online writers that reached 23 million people. I had arrived in the United States with about $200 to my name, and OptinSkin paid for my textbooks and got me through college. ## Outside work I grew up in South Africa and boarded in Founders House at Diocesan College (Bishops) in Cape Town. As a teenager I played provincial cricket and hockey for Boland. Away from a keyboard I train CrossFit and do endurance races. In late 2026 I ran the Lisbon Marathon in under four hours and finished the Ironman 70.3 in Kenting, Taiwan a month later. ## Selected Posts (@strangechances on X) > Paradoxically, being optimistic is contrarian. > > — [Jan 17, 2022](https://x.com/strangechances/status/1482934449427947523) > I think our culture doesn’t embrace randomness in life enough. Randomness can bring magic to human existence. We’re almost always acting in bad faith relative to our options, because of how little we know. > > — [Mar 26, 2022](https://x.com/strangechances/status/1507838339688255489) > I went into crypto full-time ~4 years ago. I was skeptical (mostly about it scaling), but I suspended my disbelief in order to learn. Everything shifted when I grasped the architecture with zero-knowledge proofs. The basics of zk are crucial for predicting the next decade’s tech. > > — [Dec 16, 2021](https://x.com/strangechances/status/1471294688984449025) > A bull market / bubble is for ideation. We see the future most clearly then – when our imaginations are engaged. > A bear market is for action; holding on tightly to the dream when everyone else loses it. > This is the cycle of dreaming and building that creates the future. > > — [Jan 10, 2022](https://x.com/strangechances/status/1480564407105208338) > As I’ve gotten older, trust has become the most important thing to me. > > — [Feb 17, 2022](https://x.com/strangechances/status/1494121133464907777) > going to name my kids Rinkeby and Kovan > > — [May 27, 2021](https://x.com/strangechances/status/1397734132906557443) > While YugaLab’s users spent $100m in gas and choked mainnet with their drop, @viamirror users quietly minted 520k @optimismPBC NFTs on L2 for less than 50c each. > Optimistic Rollups are production ready, and apps are emerging. It’s time to choose Optimism. > > — [May 2, 2022](https://x.com/strangechances/status/1521129052161310720) > My dream for Mirror is that it meaningfully improves the quality of writing on the internet. > > — [May 20, 2022](https://x.com/strangechances/status/1527622291055874049) > There’s nothing I appreciate more than people who see value in nascent form, appreciate it and stick with it as it blooms - through its ups and downs. It’s required to build anything of long-term value, and it’s so rare. > > — [Aug 5, 2021](https://x.com/strangechances/status/1423123188385419266) > Crypto devs, note that Rust is becoming the preeminent language for crypto, after JS for web3. > > — [Oct 17, 2020](https://x.com/strangechances/status/1317611343084580864) > I imagine OpenSea’s acquisition of Dharma will go down as one of the best acquihires in the space, and few people will know the details. They already seem to have rearchitected a lot of its core for the better. Dharma was pound-for-pound one of the best teams. > > — [Sep 20, 2022](https://x.com/strangechances/status/1572304579752071168) > I pledged allegiance to 🇺🇸 today. > Too much to express in a tweet...The strategy and stress of a decade of immigration. The contradiction that I feel America has become. My steadfast hope for the great experiment. > Thankful. Exhausted. Relieved. Ready. > > — [Oct 27, 2021](https://x.com/strangechances/status/1453158159418232835) --- ## Writings ### furniture music in swift and metal (November 2026) URL: https://strangechances.com/writings/satie/ Four days ago I wrote about [music without audio files](https://strangechances.com/writings/soft-light/), a 3.6 KB Web Audio synthesizer that writes hold music one bar at a time inside an Ando Jam. Once that engine worked, a harder question followed: what happens if you pull the same idea out of a browser tab and build a dedicated desktop instrument for working, reading, and resting, with no Electron shell, no cloud streams, and no subscription? The first Mac build was 2.4 MB of pure synthesis. Once I added 46 public-domain studio samples, a Factor Oracle, a Velvet-Noise reverb chamber, six 120 Hz Metal shaders, and native 8-language Apple localization, [Satie](https://strangechances.com/satie/) (v4.1.1, MIT licensed, Apple notarized) landed at 10 MB on macOS—and the same shared `AcousticCore` engine now runs natively on iPhone and iPad on the [App Store](https://apps.apple.com/app/satie-focus-soundscapes/id6837572453). Both apps ask for zero permissions, make zero network requests, and compile in Swift 6 and Metal with zero third-party packages. The interactive exhibits below synthesize audio in your browser with the Web Audio API so you can hear the Factor Oracle jumps, the Velvet-Noise diffuser, the 14.40 Hz shimmer fix, the rain field, and the circadian bronze bowls right in this page. **10 MB** (notarized macOS app (.dmg)) · **7 / 7** (unique 32-bar passes (256 bars)) · **−90.4%** (nocturnal blue reduction) · **0 / 0** (third-party packages / permissions) > In 1917, Erik Satie coined *musique d'ameublement* for pieces meant to sit in a room the way a lamp or wallpaper sits in a room. At a 1920 intermission performance in Paris, the audience hushed and sat down to listen, and Satie walked through the crowd urging people to keep talking and ignore the musicians. Focus audio fails the moment it asks for the front of your attention. Every design choice in Satie, from zero vocals to slow harmonic pacing and quiet menus, comes from that one rule. ## The inspirations Four traditions shaped Satie, two in sound and two in sight. - **Japanese *kankyo ongaku* (1980s environmental music).** Hiroshi Yoshimura's *Green* and *Music for Nine Post Cards*, alongside Midori Takada's percussion studies, proved that sparse acoustic timbres spaced with *ma* (negative space) hold a room together better than dense pads. That lineage drives *Soft Light*, *Rain & Glass*, and *Gymnopédie*. - **Brian Eno's asynchronous tape loops.** In *Music for Airports* (1978), Eno cut tape loops of incommensurate lengths so phrases drifted in and out of alignment over hours. Satie borrows that structure with prime-length macro cycles (5, 7, 11, and 13 bars) layered underneath a Factor Oracle automaton. - **James Turrell's skyspaces and Hiroshi Sugimoto's seascapes.** Most audio visualizers flicker like a nightclub equalizer and wreck concentration. Turrell's *Aten Reign* strips out hard spatial edges so the eye rests in slow luminous drift (*06 Oculus*). Sugimoto's long-exposure *Seascapes* reduce a room to one calm horizon over dark water (*05 Horizon*). - **Dieter Rams's Braun instruments and CRT test equipment.** The menu bar panel holds six monochrome geometric glyphs, one centered play button, and one options drawer. When you expand into Studio view, the technical presets (*01 The Circuit*, *02 Ecology Wall*, and *03 Phosphor Scope*) read like a calibrated Tektronix oscilloscope and spectrum analyzer rather than a media player. - **Six worlds behind a 22pt meter** — Each world pairs a sound engine with its own Metal visual: Focus (Soft Light + Circuit), Pulse (Kinetic Pulse + Scope), Rain (Rain & Glass + Ecology), Still (Horizon), Dive (Deep Dive + Oculus), and Night (Gymnopédie + Nocturne Silk). ## How Satie compares to other products Focus audio already has strong commercial products, and they are worth judging honestly. **Brain.fm** funds real academic neuroscience, including the 2024 *Communications Biology* fMRI and EEG study on rapid beta-range modulation. **Endel** runs a polished cross-platform stem engine with artist collaborations and a broad catalog. **Portal** records spatial field audio in real national parks. **Spotify** playlists require no new software if you already keep a tab open. Satie makes a different set of bets. It ships as a single 10 MB offline binary with no account, no subscription, no network calls, and zero system permissions. Because it generates sound from 46 public-domain CC0 studio samples and real-time physical DSP instead of streaming pre-mixed tracks, it never hits a loop seam, works in airplane mode indefinitely, and lets you inspect every filter coefficient on GitHub. | Product | Audio engine | Offline / Footprint | Visuals | Price & source | | --- | --- | --- | --- | --- | | **Satie** | 46 CC0 studio samples + live physical DSP, Velvet-Noise FDN, Factor Oracle | 100% offline · 10 MB macOS / 12 MB iOS & iPadOS | 6 × 120 Hz Apple EDR Metal shaders + circadian night mode | Free · MIT open source · 0 permissions | | **Endel** | Adaptive cloud/local stem assembly (Pacific engine) | Web, mobile, desktop (~100–250 MB) · account required | Stylized ambient loops (SDR) | Subscription · proprietary | | **Brain.fm** | Pre-composed tracks with patented 14–16 Hz amplitude modulation | Streaming / cached downloads · account required | Minimal timer UI | Subscription · proprietary | | **Portal** | Spatial field recordings from real locations | Large audio packs (hundreds of MB to GB) | 4K location video loops + Philips Hue | Subscription · proprietary | | **Noisli / Spotify** | Static noise loops or streamed playlists | Browser or ~300 MB Electron desktop app | Album art or color wash | Freemium / subscription | ## What the science supports, and what I cut Before writing the v4 audio and visual upgrades, I audited the 2022 to 2026 peer-reviewed literature across psychoacoustics, slow-paced breathing, and display photobiology. Half of wellness audio marketing collapses under a quick PubMed check. Separating replicated results from hype drove five concrete engineering calls in Satie. | Mechanism | Peer-reviewed evidence | Decision in Satie | | --- | --- | --- | | **14–16 Hz beta AM** | [Woods et al. (*Communications Biology*, 2024)](https://doi.org/10.1038/s42003-024-07026-3) found stronger fMRI executive/salience activation, EEG phase-locking, and sustained attention gains, largest in listeners with attentional difficulties. | Built into *Kinetic Pulse* at 14.40 Hz, phase-locked 8:1 to 108 BPM on harmonic pads and wet tails so it shimmers without chopping dry hits. | | **0.1 Hz slow breathing** | Extended-exhale respiration trials ([Balban et al., *Cell Reports Medicine*, 2023](https://doi.org/10.1016/j.xcrm.2022.100895)) and 2024–2025 ~0.1 Hz RSA RCTs confirm ~5.5–6 bpm extended-exhale breathing maximizes baroreflex synchrony, with fixed 0.1 Hz matching individualized calibration. | Drives *Deep Dive*'s 8.5 to 5.5 bpm descent (42% inhale, 58% exhale), coupled to bowed cello, cedar wind, and *06 Oculus*, with optional Apple Watch HRV closing the loop. | | **Lyrics & colored noise** | Lyrics hurt reading and verbal working memory (*d* ≈ −0.3; [Souza & Barbosa, 2023](https://doi.org/10.5334/joc.273)). White/pink noise helps ADHD (*g* ≈ +0.25) but slightly hurts neurotypicals (*g* ≈ −0.21; [Nigg et al., *JAACAP*, 2024](https://doi.org/10.1016/j.jaac.2023.12.014)). Brown noise has zero clinical RCTs. | Zero vocals everywhere. Rain and Brown Noise stay **off by default** so broadband noise is never forced on listeners it slows down. | | **Melanopic screen light** | 460–480 nm blue light hits retinal ipRGCs and suppresses melatonin; the CIE expert consensus ([Brown et al., *PLOS Biology*, 2022](https://doi.org/10.1371/journal.pbio.3001571)) sets evening targets below 10 melanopic EDI lux. | Post-20:00 shader shift strips 90.4% of blue emission in *06 Oculus* and warms all six presets into 2200 K ember. | | **Binaural beats** | [Ingendoh, Posny & Heine (*PLOS ONE*, 2023)](https://doi.org/10.1371/journal.pone.0286023) reviewed 14 strict EEG studies: 8 contradicted brainwave entrainment, 5 supported, 1 mixed. | I refuse to market brainwave entrainment. *Deep Dive* keeps a slight post-matrix stereo micro-detune only as a warm spatial width cue. | ## One audio thread, zero allocations Real-time audio has one unforgiving rule: the Core Audio render callback can never allocate heap memory, never acquire a mutex, and never block on Swift or Objective-C runtime locks. Drop a single 10 millisecond buffer on a 48 kHz stream and the listener hears an instant crackle. Satie enforces a hard wall between composition, synthesis, and GPU rendering. A background producer composes harmonic bars ahead of time and writes note structs into a fixed-capacity 16-bar lock-free single-producer single-consumer queue (`LockFreeBarQueue`). UI controls cross threads through Swift 6 `Synchronization.Atomic` scalars. Inside the Core Audio render block, `FocusSoundEngine` drains pre-built events, reads 46 decoded CC0 samples with 4-point Hermite cubic interpolation, sums physical modal voices, runs the Velvet-Noise FDN chamber and mastering bus, and mirrors output samples into a second lock-free stereo ring buffer for the visualizer. When you switch soundscapes mid-session, Satie never cuts the audio buffer. `softModeTransition()` dips only the dry instrument excitation over 220 ms while keeping the 8×8 FDN chamber and 14-grain Beads cloud alive, so the decaying hall tail of one world dissolves into the next. *[Diagram: Figure 1. Satie's three isolated execution domains. Toggle Mode switch to watch dry excitation dip for 220 ms while the Velvet-Noise FDN chamber carries the ringing tail into the next world, or Close & reopen Studio to see CAMetalDisplayLink tear down and rebuild while Core Audio runs unbroken.]* ## Infinite form with a Factor Oracle In the first version of *Soft Light*, a 32-bar harmonic progression repeated with local note swaps. That holds up for ten minutes in a lobby, yet over a three-hour coding session your ear predicts bar 17 before it arrives. Unconstrained Markov chains solve repetition by wrecking form: the music wanders and loses its sense of home. The fix comes from IRCAM's OMax and Somax2 research: a linear-time *O(m)* **Factor Oracle** ([Allauzen, Crochemore, and Raffinot, 1999](https://doi.org/10.1007/3-540-47849-3_18)) built over a curated multi-climate harmonic corpus. Forward edges play written bars in order, preserving human voice-leading. Suffix links connect states that share the same harmonic history, acting as recombination portals. A lightweight Symbolic Constraint Grammar guards every jump so the oracle enforces tonic gravity, caps repeated chords (`maxHold`), and balances home phrases (Climate A) against open expansions (Climate B). ```swift for i in 0..= 0 && trans[k][sym] == nil { trans[k][sym] = nextState k = sLink[k] } let targetSuffix = k < 0 ? 0 : trans[k][sym]! sLink[nextState] = targetSuffix rev[targetSuffix].append(nextState) } ``` Across 256-bar stress tests (around 14 minutes of continuous generation per mode), every scored world produces **7 out of 7 unique 32-bar passes**, **64 to 72 grammar-checked suffix jumps**, **50% to 65% Climate B occupancy**, and **100% key purity**. Phrases you heard in minute five return reframed in hour two. *[Diagram: Figure 2. Press Listen (or Step bar) to hear each A-major voicing synthesized in Web Audio as the cursor leaps across green suffix links between Climate A and Climate B. Toggle Fixed loop to hear the mechanical reset of a static 16-bar cycle.]* ## Three acoustic fixes measured in tests It is easy to fool yourself on laptop speakers. Satie ships with 22 automated release tests in `AcousticCoreTests.swift` that render multi-second stereo audio offline and assert exact spectral, phase, and CPU invariants. Three concrete bugs showed up in headphones or tests and forced DSP rewrites. You can audition before and after for all three in Figure 3. ### 1. Replacing a metallic reverb with a zero-DC Velvet-Noise FDN Early versions used a hand-tuned 8×8 Walsh-Hadamard feedback delay network (FDN). On felt piano transients, the first 40 milliseconds sounded sparse and metallic because eight delay lines take time to build echo density. Following [Fagerström, Alary, Schlecht, and Välimäki (DAFx-2020)](https://www.dafx.de/paper-archive/2020/proceedings/papers/DAFx2020_paper_23.pdf), I placed a **32-tap zero-DC Optimal Velvet-Noise early-reflection diffuser** ahead of a delay-proportional colorless 8×8 orthogonal FDN. Each of the four distance bands sums four `+1` and four `−1` prime-jittered taps: exact DC cancellation and zero inner multiplications. ```swift // Exact 4 (+1) and 4 (-1) prime-jittered taps per band: zero DC, zero inner multiplies. let vnL0 = erBufL[(w - 211) & m] - erBufR[(w - 281) & m] + erBufL[(w - 359) & m] - erBufR[(w - 431) & m] - erBufL[(w - 503) & m] + erBufR[(w - 571) & m] - erBufL[(w - 619) & m] + erBufR[(w - 661) & m] ``` Measured on the impulse response in release tests: early Dirac echo density jumped to **19.5%**, early stereo correlation dropped to **−0.014** (wide, diffuse imaging), late tail spectral flatness reached **0.761**, and DC offset settled to **0.000003**. ### 2. Fixing the headphone buzz in Kinetic Pulse After reading [Woods and Loui's 2024 paper](https://doi.org/10.1038/s42003-024-07026-3) on rapid beta-range modulation, my first implementation put a 15.0 Hz sine modulator at 34% to 42% depth across dry instruments in *Kinetic Pulse* at 104 BPM. In headphones, it felt awful. Because 15.0 Hz is irrational against 104 BPM (1.733 Hz), the modulation beat asynchronously against the groove, vibrating hard in the ear canal like a broken tremolo pedal. The fix took three changes. First, I nudged the tempo to **108 BPM** and locked the shimmer frequency to **14.40 Hz** (an exact 8:1 beat subdivision: `108 / 60 × 8 = 14.40 Hz`). Second, I moved the modulation off dry attacks and onto the harmonic pad and reverb halo with a 36° stereo phase soften. Third, I softened the kick to a round 60 Hz felt thump, smoothed the optical sidechain attack to 16 ms at −1.4 dB, and capped the synth filter below 2.75 kHz fused with CC0 vibraphone. Broadband roughness dropped **12×** from 34% down to **2.82%** while preserving **+11.26 dB** SNR right at 14.40 Hz. ### 3. Killing the subliminal rain loop Even a 3-second crossfaded studio rain recording gives itself away after five minutes. Your ear locks onto one drop cadence and hears it return every 18.5 seconds. Measuring autocorrelation across lags from 2 to 22 seconds showed a sharp peak at `r = 0.6023`. Replacing the loop with `StochasticRainField` (three asynchronous random-offset windows layered with synthetic micro-drop transients) dropped peak autocorrelation **8.2×** to **`r = 0.0738`**, flat against the noise floor while keeping organic droplet kurtosis. *[Diagram: Figure 3. Measured outputs from Satie's release DSP test suite, paired with live Web Audio A/B demos. On Velvet-Noise FDN, compare a sparse metallic early comb against the exact 32-tap prime diffuser; on Pulse, hear the v3.2 15 Hz ear-canal buzz against v4.0's 14.40 Hz pad shimmer; on Rain, hear a repeating loop against asynchronous micro-drops.]* ## James Turrell, Apple EDR, and 480 nm light When I added *Deep Dive* (a breath-paced meditation mode descending from 8.5 to 5.5 bpm over bowed cello and bronze singing bowls), the first visual draft was an iridescent prism. It looked flashy in a screenshot and felt exhausting after thirty seconds of breathing. Attention Restoration Theory calls the target state *soft fascination*: slow luminous fields with no sharp edges for the visual cortex to parse. That led to **06 Oculus**, modeled on James Turrell's *Aten Reign* skyspace at the Guggenheim. Four recessed plaster-like elliptical tiers dilate (+3%) on your inhale and settle on your exhale. Struck singing bowls cast pitch-locked Faraday standing-wave caustics across the central skylight aperture, then return to silence during *ma* gaps. Two graphics choices matter on MacBook Pro XDR and iPhone OLED displays: - **16-bit Apple EDR + 64×64 Ulichney blue noise.** Standard 8-bit SDR shaders clamp at 1.0 and leave concentric banding across dark vignettes on high-contrast OLEDs. Satie renders all 11 Metal pipelines into `rgba16Float` with `extendedLinearDisplayP3`, lifting only small emissive peaks (the skylight center, CRT electron beam core, candlelight ink rims) up to `1.40×` SDR white while keeping 68.6% of the canvas near true black. Before output, every shader samples a bundled 64×64 [Ulichney Void-and-Cluster](https://doi.org/10.1117/12.152707) spatiotemporal blue-noise tile (`+44.44 dB` high-pass 2D DFT ratio), erasing gradient stair-stepping with zero visible grain. - **Fixing my own melanopic bug.** The first daytime *Oculus* drifted into cool cyan (470 to 490 nm) as meditation deepened, sitting right on top of the retinal ipRGC melanopsin peak that suppresses evening melatonin. After 20:00 local time, Satie shifts every shader into a 2200 K ember palette, cutting blue emission by **90.4%** to bring evening sessions closer to the [CIE 10 melanopic EDI lux](https://doi.org/10.1371/journal.pbio.3001571) threshold. Actual exposure depends on screen brightness and distance. *[Diagram: Figure 4. Interactive circadian photobiology and 5.5 bpm breathing model of 06 Oculus. Drag Local hour past 20:00 to watch the 460–490 nm melanopic band drop 90.4% into 2200 K ember without changing the four-tier geometry. Press Strike bowl to trigger Faraday ripples and a Web Audio singing bowl (1.0 / 2.76 / 5.38 partials).]* - **Actual Shaders.metal output: daytime vs. post-20:00 ember** — Captured from `oculusFragment` at 2× Retina in `rgba16Float` extended linear P3. Left: 06:00 to 20:00 dusk violet and alabaster. Right: after 20:00, blue channel energy drops 90.4% while keeping the same four-tier depth geometry and breath dilation. The other five Metal presets share the same linear-P3 EDR pipeline, blue-noise dither, and post-20:00 warmth shift, each tuned to its paired world. Select a plate below (or click the image) to inspect all five Retina Metal captures: - **The Circuit (Soft Light)** — 240 instanced 3D curl-turbulence optical fibers and 3,200 additive spikes, framed in Studio view by a Retina CoreGraphics overlay: 24-band sensor mosaic, curved Bézier impulse wires, 4096-point Circle of Fifths chromagram, and Krumhansl-Schmuckler key detector. - **Ecology Wall (Rain & Glass)** — Concentric courtyard rain ripples and 5,000 stippled GPU agents across five frequency territories, framed in Studio by a full-view minimap, acoustic analytics, scrolling thermal spectrogram, and signal log. - **Phosphor Scope (Kinetic Pulse)** — 16-bit half-float ping-pong CRT Lissajous electron beam tracing all 255 stride-1 stereo L/R segments with velocity-modulated dwell glow and P31 Emerald or P39 Amber phosphor selection. - **Nocturne Silk (Gymnopédie)** — Calligraphic sumi-e ink rings in candlelit gold and moon-silver triggered by live felt piano and cello note events over a mirrored obsidian water surface. - **Horizon (Still)** — A single calm horizon line, a quiet lunar dome breathing with sub-bass energy, and perspective moonlight caustics moving across dark water. ## The formal proof that missed a MetalKit bug This was the sharpest lesson of the build. Early on, clicking Expand from the menu bar occasionally opened a Studio window whose Metal canvas sat frozen. Instead of adding random timers, I wrote a formal **TLA+** specification of the Studio window and display-link lifecycle and ran the **TLC** model checker across all reachable states. TLC caught four real bugs: SwiftUI 250 ms telemetry refreshes thrashing `updateNSView`, synchronous `orderOut` during fullscreen exit creating a zombie Space, reopening a minimized window without `deminiaturize`, and post-sleep wake leaving a dead display link. I fixed all four, compiled the verified transition table into `StudioLifecycleMachine.swift` (0 violations across 6 safety and liveness invariants), and shipped v4.0.0. Ten minutes later, clicking Expand still froze the Studio window. > A formal proof only proves what your axioms say about the world. My TLA+ model assumed that `MTKView.isPaused == false` implied frames were being drawn. On macOS 15 and 26, that axiom is false. To isolate the freeze, I wrote a 90-line macOS reproducer cycling a single cached window (`isReleasedWhenClosed = false`) through three states: first open, hide with `orderOut` then reopen, and close with `NSWindow.close()` (what happens when you press `⌘W` or click the red button) then reopen. The output on macOS 26.5.1 settled it in two seconds: - **Cycle 1 (first open):** `MTKView` drew 32 frames. - **Cycle 2 (`orderOut` → reopen):** `MTKView` drew +75 frames. - **Cycle 3 (`win.close()` → reopen):** `MTKView.isPaused` reported `false`, the window was visible and unoccluded, and `MTKView` drew **+0 frames forever**. Inside MetalKit, `MTKView` still uses the deprecated `CVDisplayLink`. When AppKit posts `NSWindow.willCloseNotification`, `MTKView` tears down that internal display link and never recreates it if the same cached window is later ordered back on screen. Worse, my effect list called `setActive(true)` one line before `orderFront` while `win.isVisible` was still `false`. *[Diagram: Figure 5. Actual frame counts measured on macOS 26.5.1 across three open cycles. Toggle between MTKView and CAMetalDisplayLink (or click Replay trace) to watch how the legacy display link dies silently after NSWindow.close() while reporting isPaused = false.]* In v4.0.1, I deleted `MTKView`. `AcousticMetalView` is now a plain `NSView` that owns its `CAMetalLayer` and drives frames with Apple's **`CAMetalDisplayLink`** (attached to `.main` in `.common` runloop mode through a weak proxy to prevent retain cycles). On `willClose`, `didMiniaturize`, or system sleep, it invalidates the display link. On every open or wake, it builds a fresh one after ordering the window onto the active Space (`.moveToActiveSpace`). ```swift private func syncDisplayLink(forceRecreate: Bool) { guard desiredActive, let win = window, !isHidden, !win.isMiniaturized, win.isVisible else { teardownDisplayLink() return } if forceRecreate { teardownDisplayLink() } configureEDRLayer() updateDrawableSize() if displayLink == nil { let proxy = MetalDisplayLinkProxy(owner: self) let link = CAMetalDisplayLink(metalLayer: metalLayer) link.delegate = proxy link.add(to: .main, forMode: .common) self.displayLinkProxy = proxy self.displayLink = link } displayLink?.isPaused = false } ``` In the same stress harness across eight consecutive cycles of `win.close()`, `orderOut()`, and live window resizes, `CAMetalDisplayLink` rendered **271 frames with 0 failures**. Removing three dead `@Published` properties that had been firing inside the render callback also cut four unnecessary SwiftUI layout passes per second. ## Satie on iPhone, iPad, and the rest of Apple Silicon Because the synthesis, DSP, Factor Oracle, and formal state machine live in a single zero-UI Swift package (`AcousticCore`), the macOS menu bar app is only one shell around the engine. **Satie for iPhone and iPad** is now live on the [App Store](https://apps.apple.com/app/satie-focus-soundscapes/id6837572453) (12.0 MB universal binary for iOS 18+ and iPadOS 18+), compiling the exact same 48 kHz Core Audio render thread, 46 CC0 samples, and all 11 Metal shader pipelines without duplicating a line of DSP. The App Store currently carries version 3.1.0, with five worlds in English; the rest of this section describes the iPhone build in the repository, which adds *Deep Dive* and the features below. - **Six worlds, 120 Hz EDR, and zero tracking on iPhone** — Tap the open canvas for borderless Immersion Mode, swipe horizontally to pair any visual with any soundscape, rotate into a horizontal desk-stand dock with Keep Screen Awake, or route to AirPlay from the top-right picker. Shipping a real-time Metal and Core Audio instrument on a phone brings constraints that do not exist on a plugged-in MacBook, so I engineered the iOS shell around battery, ergonomics, and system integration: - **Zero-GPU background playback and audio etiquette.** With `UIBackgroundModes: audio`, synthesis continues uninterrupted when the screen locks, while `iOSAcousticMetalView` pauses rendering to 0% GPU the instant `scenePhase` leaves `.active`. Foreground ProMotion scales automatically from 120 Hz down to 60, 30, or 15 Hz under thermal pressure, Low Power Mode, or Reduce Motion. An opt-in **Mix with Other Audio** switch (`AVAudioSession.CategoryOptions.mixWithOthers`) lets Satie sit quietly underneath podcasts or audiobooks, and the audio session handles phone-call interruptions, `mediaServicesWereReset` recovery, and AirPods disconnect pauses cleanly. - **Dynamic Island, StandBy, and Lock Screen widgets.** The embedded `SatieWidgets` extension pairs a pure-OLED bedside StandBy and Home Screen widget (synced with the main app through a local App Group, `group.com.strangechances.Satie`) with ActivityKit Dynamic Island Live Activities that tick countdowns via Apple's native `timerInterval` rendering at zero background CPU cost. - **Action Button, Siri Shortcuts, and Focus Filters.** Native `AppIntents` bind any soundscape or session timer directly to the iPhone Action Button, Shortcuts, Spotlight, and Apple Focus Filters—so Work Focus can start *Soft Light* automatically, and Sleep or Wind Down Focus can start *Deep Dive* with nocturnal low-melanopic mode (2200 K ember) engaged on both audio and *06 Oculus*. - **8 languages and companion targets.** Both the macOS and iOS builds match the device language automatically across English, Japanese, French, Simplified Chinese, Taiwanese Traditional Chinese, Spanish, German, and Korean (including localized App Shortcuts and widgets). In the open-source repository, the same `AcousticCore` package also powers **Apple Watch** (`SatieWatch` with silent Taptic Breath wrist taps and an optional on-device HealthKit HRV resonance controller that settles pace from 6.97 toward 5.21 bpm without ever sending data off the device), **Apple TV** (`SatieTV` in 4K EDR), and **Apple Vision Pro** (`SatieVision`). ## What it costs, and where it stops Every number below is measured on Apple Silicon from `swift test -c release`, the notarized macOS v4.1.1 build, and the universal iOS App Store build: | Dimension | Measured result | | --- | --- | | Installed footprint | 10.0 MB notarized macOS `.dmg` (10,509,214 bytes) · 12.0 MB iOS & iPadOS App Store · 46 CC0 files · 8 Apple locales | | Single-core 48 kHz audio CPU | 1.4% to 5.3% in *Deep Dive* · 6.6% in *Soft Light* · 7.7% in *Kinetic Pulse* · 0% when paused | | Release invariants (22 tests) | Sub-bass mono correlation > +0.970 · Velvet-Noise FDN DC = 0.000003 · tail flatness = 0.761 · 8-language key parity · 0 dBFS clips | | GPU & photobiology | 11 Metal pipelines · `rgba16Float` linear P3 · 68.6% OLED dark area · +44.44 dB blue-noise dither · −90.4% night blue | | Privacy & permissions | App Sandbox only · 0 macOS privacy prompts · 0 network requests · 0 third-party dependencies | The tradeoffs are real too, and worth stating plainly: - **Apple platforms only.** Satie bets on Core Audio, Swift 6 atomics, `CAMetalDisplayLink`, and 16-bit Apple EDR. Porting to Windows or Linux would mean giving up most of what makes the binary 10 MB and zero-allocation. - **Six instruments, not a streaming catalog.** If you want artist collaborations or real field recordings from Yosemite, Endel and Portal exist for a reason. Satie trades breadth for six quiet rooms you can run offline forever. - **No clinical claims.** The 14.40 Hz shimmer and 0.1 Hz breath pacer follow peer-reviewed work, yet Satie is a software instrument, not a medical device. One open empirical question remains unverified locally: whether audio breath pacing alone entrains eyes-closed breathing reliably without watching *06 Oculus*, which is why the Watch companion uses HealthKit HRV to close the loop on-device. You can audition all six soundscapes and the Day/Night visual shift on the [Satie page](https://strangechances.com/satie/), get it for iPhone & iPad on the [App Store](https://apps.apple.com/app/satie-focus-soundscapes/id6837572453), download the notarized macOS build ([Satie-4.1.1.dmg](https://github.com/graemecode/satie/releases/latest/download/Satie-4.1.1.dmg)), install it via Homebrew (`brew install --cask graemecode/tap/satie`), or read the full Swift and Metal source on [GitHub](https://github.com/graemecode/satie). > Ambient music must be able to accommodate many levels of listening attention without enforcing one in particular; it must be as ignorable as it is interesting. > > — Brian Eno, liner notes to *Ambient 1: Music for Airports* (1978) ### conformal gates (November 2026) URL: https://strangechances.com/writings/conformal-gate/ Suppose someone in a team channel writes: "Looks good to me, let's ship it tomorrow." Before an AI teammate ever writes a word back, it has to answer a chain of tiny, invisible questions. Should it speak, react, or stay silent? Did that message commit to a task, or was it casual chatter? Is the request easy, medium, or hard? If the agent replies "Want me to open the PR now?", should the interface attach quick Yes and No buttons? In an active team workspace at Ando, those small routing checks add up to tens of thousands of hosted classifier calls every day. The same pattern shows up across almost every AI product: routing prompts between a fast and frontier model, triaging incoming support tickets, or pre-filtering prompt injection and abuse. Every network hop adds 250 to 1,000+ milliseconds of latency and timeout risk on the hot path, yet nobody wants to train, deploy, and maintain a bespoke PyTorch model for every yes/no gate. We built `conformal-gate` (Rust compiled to a single zero-dependency WebAssembly binary, plus a pure-TypeScript zero-WASM serving runtime) so a tiny local model inside our backend or edge isolate can answer clear-cut, repetitive calls in microseconds while sending every uncertain call to the hosted model. The rule is strict: it only skips the network call when finite-sample math proves its error rate stays inside your budget. Once certified, the serving state strips down to a **6.3 KB gzipped** snapshot that runs identically in browsers, V8 isolates, Electron, and Cloudflare Workers. **62.7%** (warm tenant SC (shadow · 2% α)) · **0.23%** (24h error on SC (target 2% α)) · **9 µs / 0.14 ms** (local p50 (Rust / V8 prod)) · **6.3 KB** (zero-WASM ServingSnapshot) > In 19th-century geometry, a *conformal map* preserves local shapes and angles. Between 1998 and 2005, Vladimir Vovk, Alexander Gammerman, and Glenn Shafer borrowed the word for *conformal prediction*: testing how closely a new observation conforms to the shape of past examples so you can bound errors without assuming a bell curve. We chose the name (also used in model-cascading, neural-database, and guardrail papers) because conformity is the exact condition a fast path needs. A tiny local model is only safe on inputs whose shape matches traffic it has already proven itself on; the gate opens the microsecond lane for inputs that conform, and closes it whenever an unfamiliar shape arrives so the hosted model takes over. ## From chat models to dedicated decision engines The way software teams run small AI decisions has gone through three stages. **First, chat models playing classifier (2023 to 2025).** Teams asked small generative models like Haiku, Flash-Lite, or GPT-mini to print a JSON object, parsed the string, retried whenever a brace was missing, and paid for output tokens. Latency sat between 300 and 2,500 milliseconds, and each extra check added another network timeout to user-facing replies. **Second, dedicated single-pass decision engines (2026).** Instead of writing text one token at a time, a dedicated decision engine reads the context once and scores a fixed set of choices in a single forward pass, returning calibrated probabilities directly. At Ando we run Typesafe's **Jev** across our agent routing checks. In November 2026, Google launched the **Gemini Decisions API** (`gemini-decision-1`) along the same lines: read a shared payload once (up to 262,144 tokens of text or media), score up to 1,000 independent yes/no (`noul`), multiple-choice (`choice`), or rubric (`score`) questions in one pass, bill zero output tokens, and respond in 150 to 250 milliseconds. **Third, a local certified fast path in front of the decision engine.** Dedicated decision engines solved broken JSON and output-token billing, yet they still cannot beat the speed of light. Every check leaves your server, crosses the network to a GPU cluster, and returns 150 to 560 milliseconds later. Meanwhile, real products and workspaces repeat themselves constantly. Once Jev or Gemini has labeled a few hundred inputs for a tenant, the obvious cases do not need a datacenter anymore. `conformal-gate` sits directly in front of those hosted decision engines as Stage 0. *[Diagram: Figure 1. Three generations of AI decision gates aligned against the network boundary and a shared log-scale latency axis. Dedicated decision engines collapsed multi-token JSON decoding into one pass; conformal-gate moves the certified majority back to the left of the network line entirely.]* ## How the local fast path works Every incoming event hits the local gate first, inside the same backend process or edge isolate. Clear-cut calls short-circuit in memory at zero network cost; uncertain calls escalate to the hosted teacher as usual; and 5% of traffic rides a blind spot-check rail to the teacher regardless of confidence so an e-CUSUM drift monitor can prove the local model has not gone stale. *[Diagram: Figure 2. Events enter on the left. Certified calls drop down the green fast path in memory; uncertain calls escalate to the hosted teacher; 5% ride the amber audit rail regardless of confidence. Click Simulate drift to watch e-CUSUM fail closed immediately and wipe stale trainer weights.]* ## Why standard conformal prediction broke Before jumping into formulas, consider a simple example. Imagine a gate inspects 1,000 messages and promises your team: "At most 5% errors." Because the gate is cautious, it only handles 100 of those messages locally and passes the other 900 to the hosted model. On the 100 messages it answered locally, it gets 20 wrong. If you divide 20 mistakes by all 1,000 messages, the overall error rate is 2%. On paper, 2% beats your 5% goal. Yet on the 100 messages the local gate actually decided, it was wrong 20% of the time, or one in five. That exact failure happened to us in our first prototype. We built a standard Mondrian conformal predictor targeting 5% error and replayed it chronologically against 1,966 real agent-participation decisions from Ando. Across all 1,966 messages, overall error was just 1.9%. Because those messages were hard (simple rules for direct mentions and DMs had already filtered out easy cases), the gate only short-circuited 8.2% of them (161 messages), and 38 of those 161 disagreed with the teacher: a **23.6% error rate** on the traffic we actually skipped. On our deterministic stress suites at 5% target, marginal Mondrian CP broke even harder: **10.9%** conditional error on clean separable data, **49.9%** on pure noise, and **82.9%** on diurnal bursts. > Standard (marginal) conformal prediction bounds `errors / all inputs`, written `P(error and accepted) <= alpha`. A fast path actually needs to bound `errors / skipped inputs`, written `P(error | accepted) <= alpha`. Divide 1.9% by an 8.2% skip rate and a "safe" model becomes 23.6% wrong. *[Diagram: Figure 3. Try dragging Acceptance from 75% down to 8.2%. The red bar on the bottom strip stays tiny compared to all 1,966 messages, yet it swallows nearly a quarter of the grey accepted slice.]* ## How a tiny local model reads inputs in microseconds A common instinct here is to train a small neural network in PyTorch and deploy it behind a GPU or CPU endpoint. The catch is operational weight: maintaining a separate training pipeline, model registry, serving cluster, and drift dashboard for every tiny yes/no gate costs more engineering time than the latency it saves. Instead, `conformal-gate` is written in pure Rust and compiled to a single zero-dependency WebAssembly binary (~256 KB gzipped for the full crate — single-gate trainer, multi-predicate bundles, k-NN OOD guard, and `ConformalSemanticCache`). It loads directly inside an existing Node or edge backend, with no Python runtime and no external service to manage. How does a tiny binary classify text in 9 to 35 microseconds? - **Text fingerprints instead of a giant vocabulary.** Rather than maintaining a dictionary of every word ever seen, the extractor chops text into individual words, two-word pairs (like `"want me"`), short four-letter chunks (like `^ship` and `ping$` so "shipped" and "shipping" share overlap), and simple structural clues like message length, punctuation, URLs, and code blocks. Each clue hashes via 64-bit FNV-1a into one of 8,192 fixed numeric buckets. Different input fields get different hash seeds, so the word "saved" in a user's question never collides with "saved" in an agent's reply. If the caller already has a dense embedding vector, the model accepts that too. - **Learning from probabilities, not just yes or no.** When a decision engine scores an input, it does not just say "skip." It returns calibrated soft probabilities like `0.94 skip, 0.06 speak`. Those probabilities carry far more signal than a bare label. A fast online linear model (multinomial logistic regression) adjusts its weights to match them via KL divergence, keeping a bounded replay buffer so memory stays flat. - **Zero-WASM V8 serving (`PureServingGate`).** Strict V8 isolates (serverless V8 runtimes, locked-down edge workers, and strict CSP environments) often disallow dynamic WebAssembly instantiation altogether. Because a certified `ServingSnapshot` is just sparse non-zero weights plus per-class thresholds (~**6.3 KB gzipped**), our `conformal-gate/serving` entry point reproduces the exact 64-bit FNV-1a feature hashing, sparse dot-product, softmax, and LTT checks in pure TypeScript with zero WASM and zero `node:*` imports — serving live production traffic in **0.14 ms p50** with bit-for-bit identical probabilities. *[Diagram: Figure 4. A real Rust-certified LLM tiering gate (7.3 KB gzipped ServingSnapshot, zero WASM) executing directly in your browser on every keystroke. Clear formatting or systems-debugging prompts cross their dashed red τ_c* line and short-circuit locally; ambiguous or unfamiliar prompts fall short and escalate honestly to the teacher.]* ## How we prove the local model is safe to trust Getting a fast local prediction is the easy half. The hard half is deciding when to trust it. Two quiet traps ruin naive accuracy checks in production: **First, you cannot grade a student while they are still editing the exam.** If you measure accuracy on examples a model already trained on, or while its weights keep moving, its score looks better than reality. To prevent that leak, `conformal-gate` runs two models side by side. One model (`serving_model`) stays completely frozen while we grade it on brand-new teacher answers. Meanwhile, a second model (`trainer_model`) keeps learning in the background. When a fresh candidate freezes, it only replaces a healthy serving model via **scale-invariant paired promotion**: it has to beat the incumbent's empirical acceptance on the exact same pre-update out-of-sample rows, regardless of confidence-scale shifts. **Second, checking your score after every input breaks ordinary statistics.** Imagine flipping a coin and checking after every single flip whether it looks biased, stopping the moment you hit a lucky streak. Textbook confidence intervals assume you chose your sample size in advance. When an online gate checks its accuracy on every request, continuous peeking lets unsafe thresholds slip through. To make continuous peeking mathematically honest, `conformal-gate` uses a betting test (a one-sided mixture supermartingale governed by Ville's inequality). Picture starting with $1 and betting against the skeptic's claim: "this gate's true error rate is worse than my target α." Under a fair game, if the gate really is worse than α, no betting strategy can turn $1 into $40 more than 1 time in 40, no matter how often you check your balance. We run that betting test at 32 descending geometric confidence levels from `0.999` down to `0.25` per predicted class (extending below `0.50` lets 50- to 150-class tasks certify confident predictions well above uniform `1/K` without paying any multiple-testing penalty under fixed-sequence Learn-then-Test; Figure 5 zooms into the binary `0.995 → 0.50` band). Every newer model generation `g` gets a telescoping slice of a lifetime error budget (`δ / (g * (g + 1))`, which sums to at most `δ` even across infinite future generations). Cached per-class quantiles and thresholds keep hot-path `predict()` strictly `O(1)`. If local features cannot separate the classes, no level crosses the line and the gate stays quietly at 0% short-circuit rather than guessing. *[Diagram: Figure 5. The exact betting test from src/conformal.rs running live in your browser. Slide Samples n down below 150 to see the gate refuse to certify and abstain honestly at 0%. Bump Gen g to watch later model generations face a slightly stricter red threshold.]* ## What actually broke in live production (and how 0% became 62.7%) The math above looks clean on paper. The most useful part of building `conformal-gate` was everything that broke once we deployed it across isolated per-tenant gates in live serverless production — tens of thousands of daily evaluations with real traffic skew, container restarts, and multi-generation promotion races. ### 1. Output-space coarsening + the prior-inverting class-weight bug Our highest-volume classifier at Ando categorizes what each incoming message did to the conversation across eight pragmatic intents (chatter, informs, asks, decides, commits, changes, blocks, resolves). On our first replay, trying to gate all eight classes directly with hashed n-grams produced **0.0% short-circuiting**. That honest abstention saved us from corrupting live traffic, yet it looked like linear text features had hit a hard ceiling. Then we stepped back and asked what the caller actually needed to skip a network hop. Most messages are either ignorable chatter (`skip`) or plain updates (`informs`); only the minority that mutate team state (`action`) need the fine six-way breakdown. Collapsing the Stage 0 gate to three coarse routing buckets — certifying `skip` and `informs` locally at `α = 2%` while **always escalating `action` to the teacher** — changed the learning problem from subtle pragmatics into a clean routing boundary. Even after that coarsening, something strange happened in live production: across active tenant snapshots, **zero gates certified**. Tracing the live weights exposed a subtle calibration bug. Our online SGD trainer had been weighting updates by inverse class frequency — a textbook trick to boost macro-F1 on imbalanced benchmarks. In a real workspace where 75%+ of messages belong to one bucket, inverse weighting distorted predicted posteriors so badly that the model's highest-confidence predictions were no longer the cleanest ones, starving LTT of any certifiable threshold. Switching to **unweighted cross-entropy with exact global L2 decay** unblocked live certification immediately. *[Diagram: Figure 6. Left: live production short-circuit progression across three iterations at α = 2.0%, plus empirical 24-hour disagreement (0.23% across thousands of short-circuited calls). Right: toggle between iterations to see how output coarsening peels off skip and informs locally while escalating 100% of state-changing actions to the teacher.]* ### 2. "Zombie candidates" and exact mathematical futility retirement Once live certification started working, a second failure appeared in the tenant census: several of our highest-volume production gates were stuck at `0%` short-circuiting despite thousands of teacher calls. Their background challengers had already frozen and entered the calibration slot — and then sat there indefinitely without promoting or retiring. The cause was pure martingale arithmetic. At a strict `α = 2%` error budget, Ville's supermartingale punishes early errors hard. If a freshly frozen challenger suffers three or four unlucky misses in its first 100 calibration calls, its log-wealth plunges so far that *even if every single remaining call in its budget agreed with the teacher*, it could never cross the `ln(1/δ)` certification line. Because the gate only rotated candidates when the budget ran out (or never retired an uncertified candidate early), a mathematically dead challenger occupied the slot as a "zombie," blocking a much better background trainer from ever getting tested. The fix requires zero heuristics and preserves exact statistical validity: after each calibration observation `t` with `e` misses and remaining budget `B − t`, evaluate the exact best-case future log-wealth `ln M(e, B, α)` assuming zero future errors. The instant `ln M(e, B, α) < ln(1/δ)`, the challenger is mathematically incapable of certifying — retire it immediately and promote a fresh candidate from the background trainer. *[Diagram: Figure 7. Exact Ville supermartingale futility bound at α = 2.0% and budget B = 600. The solid curve is observed log-wealth; the amber dashed curve is the highest wealth still mathematically achievable if every remaining sample agrees. Drag Early misses from 2 to 3 to watch the ceiling cross below 4.09 and trigger zero-false-positive retirement.]* ### 3. Minority-class starvation and three drift bugs Before shipping live, our deterministic replay and stress suites caught four more subtle statistical bugs: - **20× minority-class calibration speedup.** Once a majority class certified and entered active mode, we restricted all calibration updates to the 5% uniform audit slice to avoid selection bias. That quietly threw away 95% of teacher labels for *uncertified* minority classes that were still going 100% to the teacher. Updating an uncertified class's threshold grid directly from its teacher calls (while keeping global drift detection strictly on unbiased 5% audits) stays valid and jumped post-warmup short-circuiting by +18.6 to +22.7 percentage points at **0.00% error** across our stress suites (`separable` 51.6% → **74.3%**, `diurnal_burst` 48.3% → **66.9%**, `rare_class_starvation` 47.0% → **67.9%**). - **Unscaled ACI collapse.** Adaptive Conformal Inference (ACI) tightens the allowed ceiling when a 5% spot-check misses and relaxes it when spot-checks agree. With a raw step size (`aci_gamma = 0.05`), a single *expected* error at a 5% target slammed the effective ceiling down 10× to its floor, throttling participation short-circuiting from **27.4% down to 2.9%**. Scaling the step relative to `target_alpha` recovered 9.4× coverage at 1.79% error. - **A drift alarm that degraded too softly.** Our first detector (Page-Hinkley, which merely halved `α` on drift) was blind to the target budget and kept short-circuiting 85% of traffic even while drifted. Replacing it with an **e-CUSUM** likelihood detector tuned directly to `α` makes the gate **fail closed immediately** (100% teacher) the moment spot-checks look worse than budget. - **Post-drift weight inertia.** Even after failing closed, the background trainer still held pre-drift weights and replay rows, fighting the new distribution. Calling `reset_for_drift()` when e-CUSUM trips lifted `concept_shift` (100% abrupt label inversion) short-circuiting by **+32.9 percentage points** (29.7% → 62.6%) and recovered with **0/510 post-recovery errors**. ### 4. Live serverless production: persistence and split V8/Node invariants On day one of live production, our containers ran cleanly with zero errors — yet **100% of calls stayed permanently in `cold_start`** because ephemeral serverless workers recycled before any single process saw 60 consecutive calls for one tenant. Sharing snapshots across containers and splitting fast V8 serving from async Node training surfaced five real systems requirements: - **Stripped snapshots and bounded blob storage.** Raw full snapshots (1.68 MB JSON) exceeded database document limits. Stripping frozen model replay buffers cut snapshot size ~10×, gzipping shrank trainer state to ~122 KB (zero raw text, only hashed weights and quantiles) in blob storage behind a tiny metadata row, and `exportServingSnapshot()` stripped serving state down to **6.3 KB gzipped**. - **Fail-open hydration and async persistence.** Cold hydration is strictly time-bounded and fails open to the teacher; snapshot uploads drain asynchronously after the response returns so persistence adds **0 ms** to user-facing latency. - **Compare-and-swap eviction for corrupt blobs.** Monotonic write guards (only higher `teacher_calls` overwrite lower ones) can trap a corrupt blob forever; a CAS eviction guard clears broken blobs without clobbering healthy in-memory gates. - **Generation fencing on split-process escalations.** When a lightweight V8 isolate evaluates a frozen `ServingSnapshot` and forwards escalations to a separate Node trainer, every non-audit escalation must carry the `servingGeneration` that evaluated it. If Node has already promoted to generation `g+1`, it must drop generation `g`'s non-audit escalations — otherwise an incomplete sample filtered by an older model can bias calibration for the newer model. - **Per-batch drift revocation.** Long background sweeps cannot cache a serving snapshot for the entire job. Refreshing snapshot metadata per batch guarantees that an e-CUSUM drift trip halts short-circuiting immediately rather than waiting for the sweep to finish. - **Lineage fencing, OOD safety nets, and untrusted edge callbacks.** Three practical guardrails came from studying peer systems and auditing the edge-to-server trust boundary: `teacher_version` fencing resets calibration fail-closed whenever a prompt or teacher model changes; `confidence_floor` refuses to count low-confidence teacher guesses as ground truth; a training-only k-NN cosine OOD guard (`EmbeddingOodGuard`) catches off-manifold dense embeddings before linear softmax overconfidence can short-circuit; and the central trainer re-scores immutable `serving_model` on current-generation escalations so an untrusted edge client can never forge calibration scores or sabotage e-CUSUM drift detection. | Live production & trace summary | Scope | Short-circuit | Error on SC | Local p50 | Status | | --- | --- | --- | --- | --- | --- | | **Message-act routing** (3-bucket, warm tenant) | Prod shadow · α 2% | **62.7%** | **0.23%** | 0.14 ms | Certified | | **Message-act routing** (fleet-wide incl. cold tenants) | Prod shadow · 24h | ~9% | **0.23%** | 0.14 ms | 0 errors · 0 drift | | **Task complexity** (easy / med / hard) | Prod shadow · α 2% | promoted | 0.00% | 0.34 ms | Certified | | **Agent participation** (3-class replay, n=2,659) | Active replay · α 5% | 39.4% (967) | 2.69% (26/967) | 9.1 µs | Certified | | **8-class pragmatic intent** (uncoarsened, n=1,175) | Active replay · α 5% | 0.0% (0) | 0.00% (0/0) | 13.3 µs | Abstained | Notice the split between a warm tenant and the full fleet: **62.7%** short-circuiting on a warm workspace, versus roughly **9%** across the full fleet including newly created or quiet workspaces that have not crossed warmup yet — measured in live shadow mode right before flipping active V8 serving on. Across tens of thousands of evaluations in that 24-hour window, the runtime recorded **zero errors**, **zero drift trips**, and **0.14–0.34 ms p50** local inference — roughly 1,800× faster than a 254 ms hosted decision call. *[Diagram: Figure 8. Top: measured latencies on a log scale across five orders of magnitude, from in-process Rust (9.1 µs) and live V8 PureServingGate (0.14 ms) to live Jev (254 ms) and a zero-thinking chat LLM (849 ms). Bottom: press Trigger decision to feel the real wall-clock gap.]* ## "Jev does not reason" and gating composed decision trees In November 2026, Nathan Flurry at Rivet published a practical field note titled [Jev Does Not Reason](https://x.com/nathanflurry/status/2123108222470959600). When his team asked Jev to assign a ticket directly across a compound rubric like `[SEV1, SEV2, SEV3, SEV4]`, accuracy was mediocre because a single-pass decision engine intentionally spends zero reasoning tokens. What worked was splitting every compound decision into 2 to 13 atomic yes/no Jev questions (security vulnerability? data loss? production down? blocked with no workaround? something broken?) and putting the priority logic into ordinary deterministic code. That sounded like an obvious win for running five separate conformal gates, one per predicate. Instead of guessing, we built `MultiPredicateGate` (single-pass shared feature extraction plus correlated request-level auditing so forced audits stay at 5% instead of compounding to `1 - 0.95^m = 40%`) and benchmarked it head-to-head against gating the composed final verdict on a 2,500-ticket Rivet-style Severity tree (`α = 5%`): | Eval harness (2,500-ticket 5-predicate Severity tree) | Full-ticket SC | Predicates saved | Tree error | Local p50 / p95 | | --- | --- | --- | --- | --- | | **1 gate on composed SEV1..SEV4** | **66.9%** (1,673) | 66.9% | 0.00% | 1.8 / 2.2 µs | | 5 separate gates (Bonferroni + 0.5% SEV1 `no`) | 35.9% (898) | 55.5% | 0.00% | 3.0 / 4.4 µs | | 5 separate gates (top-to-bottom cascade) | 35.9% (898) | 55.5% | 0.00% | 3.1 / 4.2 µs | The benchmark exposed two subtle mathematical truths that beat our first intuition: - **The Bonferroni sample-complexity tax.** To guarantee 5% total error across `m = 5` separate gates, each gate has to prove a 5× tighter ceiling (1% each). That multiplies the warmup data each head needs by `O(m / α)` (~450 to 900 samples per head versus ~90 for one composed gate), cutting full-ticket short-circuiting nearly in half (35.9% vs. 66.9%, even after early futile-gen-1 retirement lifted 5-gate SC from 30.5% to 35.9%). - **The intersection trap.** Bounding each check separately controls overall errors across all tickets, *not* the error rate restricted to tickets where all five checks short-circuit at once. Suppose Check 1 makes almost all of its mistakes on one rare kind of billing ticket (just 1% of all traffic), and Check 2 only accepts that exact kind of ticket: each check looks safe on its own, yet tickets where both checks short-circuit together can fail far more often than `α`. **The winning hybrid architecture:** use **decomposed atomic yes/no questions plus deterministic TypeScript code as the teacher** (for accuracy, inspectability, and Rivet-style backtesting), and wrap the **composed final verdict** with **one `ConformalGate`** (1.9× higher full-ticket skip rate, 1.7× faster with `O(1)` cached thresholds, and directly certified on the composed output). Reserve `MultiPredicateGate` for genuinely independent multi-label outputs (such as parallel routing flags or tool-group selections) where no single composed class exists. *[Diagram: Figure 9. Benchmark comparison on 2,500 Rivet-style severity tickets. Decomposing the teacher into five atomic Jev questions plus deterministic code improves label quality, while wrapping the composed verdict with one ConformalGate avoids the O(m/α) Bonferroni sample tax and runs 1.7× faster.]* One caveat from benchmarking atomic decomposition across both architectures: splitting a rubric into nine yes/no checks works because single-pass decision engines score parallel `noul` heads in one forward pass at zero output tokens (~254 ms). When we tried the same nine-boolean JSON rubric on a fast autoregressive chat model (with zero thinking budget), emitting 126 output tokens instead of 6 added +200 ms p50 (849 ms → 1,055 ms) and lowered accuracy (59/64 → 56/64). Atomic binary decomposition is specifically a parallel-probe decision-engine superpower, not an autoregressive JSON win. ## Beyond chat: three patterns where conformal gates shine Although we built `conformal-gate` for team chat agents at Ando, the pattern applies anywhere an AI system sits in front of repetitive, skewed traffic with asymmetric mistake costs: - **LLM model tiering (`fast_model` vs. `frontier_model`).** Set a tight per-class bound on `fast_model` (`α = 0.01`) so complex prompts are never downgraded silently, while letting obvious lookups, format conversions, and short edits bypass the router LLM in microseconds. - **Support ticket triage (`billing`, `bug`, `how_to`, `human_handoff`).** Combine free text (subject, body) with structured numeric signals (plan tier, message length, prior ticket count) and serve the certified 6 KB snapshot directly at the edge via `PureServingGate`. - **Prompt-injection and abuse pre-filtering (`allow`, `flag`, `block`).** Set a strict bound on `allow` (`α = 0.005`) so novel jailbreaks never slip through; when an attacker shifts phrasing, the 5% blind audit trips e-CUSUM and fails closed to the full moderation model automatically. In practice, the split between an async trainer (or shadow rollout) and zero-WASM edge serving takes a few dozen lines of TypeScript: ```ts import { createConformalGate } from "conformal-gate"; const routerGate = await createConformalGate({ name: "llm-tier-router", classes: ["fast_model", "frontier_model"] as const, mode: "active", // Start in "shadow", verify 24h disagreement, then flip maxDisagreement: 0.05, classAlphas: { fast_model: 0.01, // Never silently downgrade a hard prompt frontier_model: 0.05, // Extra headroom when escalating to frontier }, auditRate: 0.05, featurize: (req) => ({ fields: { prompt: req.prompt.slice(0, 1_200), tool_names: req.tools.join(" "), }, numeric: { prompt_chars: req.prompt.length, has_code_fence: req.prompt.includes("```") ? 1 : 0, turn_depth: req.historyLength, tool_count: req.tools.length, }, }), teacher: async (req) => routeWithDecisionEngine(req), }); ``` ```ts import { PureServingGate } from "conformal-gate/serving"; // Runs in Workers, V8 isolates, and strict CSP with zero WASM. const gate = PureServingGate.fromSnapshot(certifiedSnapshotJson); const pred = gate.predict(featurize(req)); if (pred.should_short_circuit) { return pred.predicted_label; // ~0.14 ms · 0 network hops } // Escalate uncertain inputs + 5% audits; fence by generation. const teacherVerdict = await routeWithDecisionEngine(req); ctx.waitUntil(reportObservation({ input: req, teacherVerdict, wasAudit: pred.is_audit, servingGeneration: pred.model_generation, })); return teacherVerdict.label; ``` ## How we test it: eval harness and shadow verification Inspired by [Parallel's Search Eval Harness](https://parallel.ai/blog/parallel-search-eval-harness), we wrapped `conformal-gate` in a deterministic binary (`conformal-gate-eval`) with eight stress suites (`separable`, `imbalanced_routing`, `pure_noise`, `concept_shift`, `diurnal_burst`, `rare_class_starvation`, `boundary_drift`, and `cascaded_binary_tree`), head-to-head baselines against `always_teacher`, `naive_softmax`, and `marginal_mondrian_cp`, FNV-1a trace fingerprinting so config mismatches never sneak into diffs, and explicit drift-phase metrics. Every major improvement above — +32.9 pp drift recovery, +22.7 pp minority calibration, unweighted CE + global L2, futility retirement, 15× lower boundary-drift error under adaptive auditing, and the composed-vs-Bonferroni tradeoff — came from running the harness or auditing live shadow telemetry rather than theorizing in a design doc. ## Formal verification: proving the gate fails closed A bug inside a short-circuit gate does not throw an exception — it silently skips the teacher LLM and breaks the statistical bound you promised. Ordinary unit tests only check the inputs you remembered to write down, so we ran four formal and mechanized checks across the Rust core, unsafe WASM ABI, zero-WASM TypeScript runtime, and multi-container persistence protocol: | Verification layer | Tool | What is proved | | --- | --- | --- | | **Rust math & invariants** | Kani (CBMC) | **23 proofs** across all 7 core Rust modules (`ood.rs`, `conformal.rs`, `model.rs`, `gate.rs`, `features.rs`, `semantic_cache.rs`, `bundle.rs`): fail-closed `NaN`/`±Inf`/`f32::MAX` handling, anytime-valid LTT risk bounds, softmax simplex normalization, adaptive-audit propensity conservation, Bonferroni budget division, and OOB panic freedom. | | **Unsafe WASM ABI & parser** | Miri + recursive fuzzer | All **25 `unsafe extern "C"` entrypoints** in `wasm_abi.rs` verified UB- and leak-free, plus structure-aware recursive JSON fuzzing across populated snapshots of all four persisted formats. | | **Rust ↔ TypeScript parity** | Differential Vitest suite | **320+ randomized scenarios** (including `NaN`, `±Inf`, `±f32::MAX`, overflow logits, OOD embeddings, and teacher-version fencing) proving exact agreement between Rust `ServingGate` and zero-WASM `PureServingGate`. | | **Distributed persistence** | TLA+ / TLC | **19 checks** (main + 9 negative mutations + 9 reachability witnesses; **25.1M states generated, 3.93M distinct**) across two concurrent Node containers, a V8 serving reader, numeric warm-start priors, drift shutdown, stale-generation prior fencing, and CAS corrupt-blob eviction. | This was not theater — the checkers caught **11 real bugs** across Rust and TypeScript plus one cross-layer protocol trap: - **Fail-open `NaN` on OOD embeddings (Rust & TS).** In `EmbeddingOodGuard::is_ood`, IEEE-754 makes `max_sim = threshold)` and explicit finiteness checks (and `quantile_sorted` clamping). - **`f32::MAX` vector collapse (Rust & TS).** Squaring a dense embedding with `f32::MAX` entries overflowed `f32` norm accumulation to `Inf` and divided to `[0, 0]` instead of preserving unit direction. Fixed across `ood.rs`, `features.rs`, `semantic_cache.rs`, and `ts/serving.ts` via `f64` max-abs rescaling. - **TypeScript softmax overflow divergence.** On extreme overflow logits, zero-WASM `PureServingGate` returned `[NaN, ...]` where Rust fell back to uniform `[1/K, ...]`. Randomized differential testing caught it immediately, along with explicit `expectedTeacherVersion: null` parity. - **Out-of-bounds WASM panics & `Inf + (-Inf)` audit `NaN`.** Six class-index accessors in `conformal.rs` could panic on an out-of-range class index instead of failing closed, and `adaptive_audit_schedule` could produce `Inf + (-Inf) = NaN` on non-finite thresholds. - **Cross-layer version-bump livelock found by TLA+.** `set_teacher_version()` resets `serving_generation = 0`, which collides with monotonic `(serving_generation, drift_active, teacher_calls)` storage CAS if a multi-container persistence layer does not also track lineage epoch — caught before wiring teacher-version bumps into our production store. ## Prior art, the 2026 landscape, and where this sits None of the statistical primitives inside `conformal-gate` were invented in a vacuum. The library sits at the intersection of four active research threads that converged rapidly between 2021 and 2026: - **Selective risk control and anytime-valid e-processes.** [Geifman & El-Yaniv (2017)](https://arxiv.org/abs/1705.08500) formalized selective classification with guaranteed conditional risk; [Angelopoulos et al. (2021)](https://arxiv.org/abs/2110.01052) turned non-monotone risk control into finite-sample multiple hypothesis testing in *Learn then Test* (the reason selective risk cannot use the tighter monotone [Conformal Risk Control](https://arxiv.org/abs/2208.02814) bound directly); and [Gui, Jin, & Ren (2024)](https://arxiv.org/abs/2405.10301) extended distribution-free selection to foundation models in *Conformal Alignment*. The closest statistical ancestors to our continuous-peeking loop are [Xu, Karampatziakis, & Mineiro (NeurIPS 2024)](https://arxiv.org/abs/2406.10490), who brought testing-by-betting e-processes to active risk-controlling sets, and [Hultberg, Zachariah, & Ribeiro (2026)](https://arxiv.org/abs/2602.04364) on anytime-valid conformal risk control over growing calibration streams. - **Online adaptation and nonparametric risk-drift detectors.** [Gibbs & Candès (2021](https://arxiv.org/abs/2106.00170), [2024)](https://arxiv.org/abs/2208.08401) introduced Adaptive Conformal Inference (ACI and multi-rate DtACI), and [Angelopoulos, Candès, & Tibshirani (2023)](https://arxiv.org/abs/2307.16895) reframed online coverage tracking as Conformal PID Control. On drift monitoring, [Podkopaev & Ramdas (ICLR 2022)](https://arxiv.org/abs/2110.06177) drew the crucial distinction between benign covariate shift and *harmful risk shift*, and [Shin, Ramdas, & Rinaldo (2024)](https://arxiv.org/abs/2203.03532) formalized nonparametric *e-detectors* (e-CUSUM and e-SR) — the direct theoretical basis for our `α`-aware fail-closed tripwire. - **LLM routing and the 2026 wave of conformal cascades.** Early routing frameworks like [FrugalGPT (2023)](https://arxiv.org/abs/2305.05176) and [RouteLLM (2024)](https://arxiv.org/abs/2406.18665) proved 40–85% API savings with preference-trained routers, while [Narasimhan et al. (2024)](https://arxiv.org/abs/2405.19261) merged cascades with speculative decoding for generative latency. Between late 2025 and mid-2026 (surveyed in [Moslem & Kelleher 2026](https://arxiv.org/abs/2603.04445)), several papers converged on formal guarantees for cascades: [Huang et al. (2025)](https://arxiv.org/abs/2510.17543) framed edge-cloud offloading as conformal alignment; [Dou, Lian, & Li (2026)](https://arxiv.org/abs/2607.25018) introduced multi-tier *Conformal Cascade* via set collapse (explicitly noting that tightening its `1 − Kα` union bound to `1 − α` requires a selection-preservation condition beyond marginal coverage — the denominator trap in Figure 3); [Guo, Wu, & Yiu (ACL 2026)](https://arxiv.org/abs/2604.23577) built *RouteNLP*, pairing conformal cascading with targeted distillation on clustered escalation failures (reporting 58% cost reduction and >2× the gain of untargeted distillation); and two open-source peers — [Rida's TRACER (2026)](https://arxiv.org/abs/2604.14531) and Tomer Glick's [Jevstiller](https://github.com/tomerglick57/Jevstiller) — proved out practical trace-based local surrogates for LLM and Jev classification, directly inspiring our v0.1.0 embedding OOD guard, `teacher_version` fencing, `confidence_floor`, and boundary diagnostics. - **Non-uniform active auditing.** [Zrnic & Candès (ICML 2024)](https://arxiv.org/abs/2403.03208) showed in *Active Statistical Inference* that uniform random auditing leaves statistical power on the table: propensity-weighted active sampling concentrates expensive teacher checks near uncertain boundaries while keeping finite-sample and asymptotic validity intact. | System / paper | Guarantee | Online distillation | Drift revocation | Runtime & footprint | | --- | --- | --- | --- | --- | | **RouteLLM** ([2024](https://arxiv.org/abs/2406.18665)) | Heuristic scalar threshold | Offline Arena preference | None | Python / PyTorch server | | **Edge-Cloud CAb** ([2025](https://arxiv.org/abs/2510.17543)) | Cloud-aligned conditional MHT | Static student | None | Research PyTorch | | **Conformal Cascade** ([2026](https://arxiv.org/abs/2607.25018)) | Multi-tier set collapse (`1−Kα`) | None (black-box LLMs) | None | Multi-tier LLM API | | **RouteNLP** ([2026](https://arxiv.org/abs/2604.23577)) | Conformal threshold init | Failure-clustered LoRA/distill | Periodic retrain | GPU cluster (~387 ms p99) | | **TRACER** ([2026](https://arxiv.org/abs/2604.14531)) | Parity gate + k-NN OOD | Offline trace surrogates | Parity monitor | Python / scikit-learn | | **conformal-gate** (v0.1.0) | Anytime-valid LTT e-process + futility + warm priors | Online soft-KL + paired swap + opt-in hard replay | `α`-aware global & boundary e-CUSUM + wipe | 1–9 µs Rust / 0.14 ms V8 · 6.3 KB + semantic cache | Seeing the full map made our real niche — and the highest-leverage next upgrades — clear. Most conformal cascade papers assume a static pre-trained student with an offline calibration split; most closed-loop distillation routers assume Python and GPU serving stacks. `conformal-gate` packages anytime-valid LTT, e-CUSUM fail-closed drift recovery, and online distillation into a 6.3 KB zero-WASM edge artifact. Translating the 2024–2026 literature directly into v0.1.0, we implemented and measured four concrete extensions: - **Hierarchical warm-start priors (`createWithPrior` / `with_prior_model`).** Export a fleet model's weights via `exportPriorModel()` — stripping sparse hashed n-gram weights (`sparse_entries: []`) when crossing tenant boundaries so zero workspace tokens ever leak — and initialize a new tenant with that numeric prior frozen as generation 1 behind a **brand-new empty per-tenant calibrator** (zero prior thresholds, zero leakage). Aligned tenants skip cold-start warmup and certify >40 calls earlier at `0%` error; 100%-inverted misaligned tenants never certify gen 1, retire it early via futility checks, adapt to `gen >= 2`, and hold `0` bad short-circuits. - **Propensity-weighted two-stratum active auditing (`adaptiveAudit: true`).** Inspired by [Zrnic & Candès (2024)](https://arxiv.org/abs/2403.03208) and [Xu et al. (2024)](https://arxiv.org/abs/2406.10490), opt-in adaptive auditing samples near-threshold accepted predictions (`p < τ + 0.25(1 − τ)`) at `2.0× audit_rate` into an unthinned boundary-stratum e-CUSUM, while core/deferred traffic audits at `0.75× audit_rate` and boundary audits are server-side Bernoulli-thinned back to `0.75× audit_rate` before updating global LTT/Mondrian calibration (exact Ville's inequality). On our `boundary_drift` suite (75% stationary core, 25% boundary flips at row 700), conditional disagreement dropped **15×** — from `3.59%` (45/1,254) to **`0.26%`** (3/1,163) — and `imbalanced_routing` short-circuiting jumped from `61.3%` to **`69.5%`** (at `1.37%` error). We keep it opt-in (`default: false`) because quiet-then-noisy diurnal bursts trade ~1 extra daytime audit (`0.00%` → `3.71%` error, still inside the 5% bound). - **Feature-only hard-boundary replay (`hardReplayCapacity`).** Inspired by [RouteNLP (2026)](https://arxiv.org/abs/2604.23577), an opt-in bounded hard-replay buffer retains mispredicted or low-margin examples (`p_true < 0.70`) and runs feature-only margin passes with class intercepts anchored to uniform FIFO replay — avoiding the prior-inversion bug we hit with inverse class weights. Measured honestly: zero regression on skewed 93/5.5/1.5% workloads, and kept opt-in because short synthetic streams already fit inside the 512-row uniform FIFO. - **Anytime-valid semantic caching (`ConformalSemanticCache`).** Standard LLM semantic caches pick an arbitrary cosine-similarity cutoff like `0.92`. Reusing our bounded embedding engine, `ConformalSemanticCache` certifies similarity across a 24-point descending grid (`0.998 → 0.65`) using pre-insert filtration-safe evaluation + Ville's mixture martingale, and trips e-CUSUM to purge stale entries and bump generation automatically on staleness or poisoning drift. Two genuinely open directions remain for future versions: swapping single-rate ACI for multi-rate DtACI or Conformal PID control under smooth continuous drift, and offline neural distillation for shared semantic tasks where hashed lexical n-grams hit their representational ceiling. ## What this changes, and where it stops Real multi-tenant production traffic makes both the upside and the boundaries of conformal gating clear: - **Sub-millisecond certified routing works in production without a bespoke ML stack.** On our highest-volume classifier, coarsening the output space and fixing class-weight calibration lifted a live tenant from 0.0% to **62.7% short-circuiting at 0.23% disagreement** in **0.14 ms p50** inside V8 isolates — zero runtime errors and zero drift trips across tens of thousands of daily evaluations. - **Per-tenant cold start is real — and now has a safe bridge.** In multi-tenant production, a heavy-tailed share of new or quiet `(tenant, gate)` pairs take a long time to cross 300+ calls on their own, sitting honestly at 0% short-circuiting. Warm-starting new tenants from a shared fleet prior via `createWithPrior` cuts certification time on aligned workspaces while preserving per-tenant anytime-valid safety on divergent ones. - **Lexical features still have a ceiling.** Nuanced semantic checks, subtle emoji interpretation, and multi-step reasoning over long threads still require dense embeddings (via `input.embedding`, `EmbeddingOodGuard`, or `ConformalSemanticCache`) or the hosted teacher. When local features cannot separate the classes, the gate refuses to certify and abstains at 0%. - **Be honest about the immediate ROI.** When your teacher is already an inexpensive single-pass decision engine, the first payoff is **tail latency (0.14 ms vs. 250–850 ms) and deterministic fail-closed safety**; raw dollar savings compound mostly at high volume or when gating slower autoregressive LLMs. > The biggest jump in production did not come from a fancier model — it came from shrinking the gate's output space to the coarse routing decision that actually skips a network hop, removing class weights that warped probability order, and retiring mathematically doomed candidates early. Capture microsecond speed wherever clear local patterns prove themselves inside your error budget, and keep the hosted engine everywhere else. ### music without audio files (November 2026) URL: https://strangechances.com/writings/soft-light/ When you are the only person in an Ando Jam, Ando plays quiet music until someone joins. The first version was an MP3. The current version has no audio file at all. A small program writes the music and plays it in your browser, one bar at a time. This post covers how that works, what we had to get right, and lets you listen to the exact engine live below. **3.6 KB** (compressed code vs. 569 KB MP3) · **32 bars** (A major form at 72 BPM) · **0.1 dB** (Chromium / Firefox / WebKit match) · **−32 LUFS** (target level under speech) *[Diagram: Figure 1. The actual Web Audio synthesizer from Ando Jams running live in this page. Press Play Soft light to hear it synthesized bar by bar; switch to Pass 2+ to hear note swaps and octave lifts without waiting for bar 33.]* ## Why not a file A file had three problems. - **Size.** The MP3 was 569 KB. That is a lot to ship for something most people hear for a few seconds. - **The loop.** Hold music repeats. After the second pass you start to hear the join, and after the fifth you know every note. - **It is fixed.** A recording cannot be made a little sparser or held a little longer without rendering it again. The piece we had chosen, which we call *Soft light*, was already an algorithm. We had written about a dozen candidate tunes as Python scripts that synthesized every sound from scratch, then graded them with a meter: loudness, how much of the sound survives a laptop speaker, and how much energy sits in the harsh range above 5 kHz. Since the winner was rules and arithmetic, the browser could run the same rules live. ## Two files: what to play and how it sounds The code is split in two. **The score** decides which notes sound and when. It knows nothing about audio. It holds a thirty-two bar form in A major at 72 beats a minute (in the manner of 1980s Japanese environmental music): a chord for each bar, an eight-note bell figure for each chord, a sparse melody, and two curves that say how full each bar is and how present the strings are. Some things vary on every pass. Each bell lands a few milliseconds early or late and is struck a little harder or softer than the one before. About half the bars get one very high, very quiet note at a random moment, like light catching water. The notes themselves are played as written on the first pass. From the second pass on, they change: ```ts // After the first pass, a bar now and then swaps two notes of its figure. if (pass > 0 && random() < 0.3) { const first = 1 + Math.floor(random() * 7); const other = 1 + Math.floor(random() * 7); const held = figure[first]; figure[first] = figure[other]; figure[other] = held; } ``` A melody phrase is left out one time in five, and a melody note sometimes sounds an octave higher. None of this changes the harmony. A swap only reorders notes the bar already has, an octave shift keeps the same note, and the high notes come from a five-note scale that sits over every chord in the piece. That is what lets it keep varying without drifting out of key. **The engine** turns each note into sound with the Web Audio API. There are no samples. - **Bells.** Each one is a pair of oscillators a few cents apart, with a third oscillator modulating their pitch. The modulation fades as the note rings, so the note starts bright and turns pure. Two or three short overtones give the attack its glassy edge. - **Strings.** Each note is three players. Every player is slightly out of tune with the others and has their own vibrato, which only arrives once the bow has settled. Their waveform is shaped with three resonant peaks (520 Hz, 1,150 Hz, and 2,900 Hz), the way a wooden body colors a string. - **The room.** This kind of reverb normally uses a recording of a real space. We generate one instead: two and a half seconds of fading, filtered noise, built once when the music starts. A slow chorus, an echo three quarters of a beat long, and a gentle compressor finish it. *[Diagram: Figure 2. Top: the exact thirty-two bar chord progression, fullness curve, and string swell from score.ts (tracks live playback when playing). Bottom left: a Pass 2+ bell swap keeping the harmony intact. Bottom right: the three-peak wooden-body resonance curve from engine.ts.]* ## The clock problem A browser's timers are not accurate enough to play music. In a background tab they fire about once a second, and a Jam is very often in a background tab. So the engine never plays a note "now". Every 700 milliseconds it asks the score for every bar that starts in the next 4.5 seconds and hands each note to the audio system with an exact start time. The audio system runs on its own clock and plays them precisely, however late the timer was. ```ts const keepAhead = () => music.scheduleUntil(context.currentTime + SCHEDULE_AHEAD_SECONDS); keepAhead(); const timer = setInterval(keepAhead, SCHEDULE_EVERY_MS); ``` Code review found the hole in this. If the page freezes for longer than the margin, for example when a laptop sleeps, the engine wakes up several bars behind and schedules all of them at once. Every missed chord sounds together. The fix is to check each bar against the clock before scheduling it. A bar that has already ended is skipped. Bell notes whose moment has passed are dropped. A held note that should already be sounding starts now and keeps only the time it had left, and its fade in and fade out shrink to fit, so a shortened note still swells instead of clicking. *[Diagram: Figure 3. Toggle Laptop sleep (bug) to see three missed bars pile up at wake time, then switch to Laptop sleep (stillDue fix) to see ended bars skipped and the active bar swell smoothly over its remaining duration.]* ## Testing music The score is easy to test because its only inputs are a bar number and a random source. The random source is seeded, so a test can replay a whole performance. The tests check that the same seed gives the same notes, that later passes differ from the first, and that a varied bar stays inside its chord. The engine is harder, because it needs a browser's audio system. We wrote a stand-in that plays nothing and records everything it is asked to do. That let us assert, for example, that every change to a volume is scheduled in time order. The click bug above fails that test. For the sound itself we used the browser. The engine accepts either a live audio context or an offline one, and an offline context renders the music much faster than it plays. We rendered it in Chromium, Firefox, and WebKit, and the three agreed on loudness to within 0.1 dB. The same render gave us the number that sets its volume: the engine comes out at about −18 LUFS, and we turn it down to −32 so it sits under speaking volume. ## What it cost - **Download:** 9.4 KB of code, 3.6 KB compressed, loaded the first time music plays. Nothing is fetched after that. - **Processor:** about 100 oscillators sound at once. On an M-series Mac it renders eleven times faster than real time, which is roughly 9% of one core. We have not measured a slow laptop yet. If you want to hear it, press Play at the top of this page or start an Ando Jam alone and wait a minute. It will not play the same way twice. If you want procedural furniture music that lives in your macOS menu bar instead of a browser tab, I also built [Satie](https://strangechances.com/satie/) (2.4 MB native Swift and Metal, MIT). ### a meditation on control (October 2026) URL: https://strangechances.com/writings/a-meditation-on-control/ Think of something you’re trying to control. Someone who hasn’t written back, a number you keep checking. Notice what the wanting feels like and where it sits in your body, and the discomfort of not being fully in charge of it. Now imagine this thing wasn’t in your life. You never met the person. The number was never yours to check. Consider that the feeling of wanting would still be there, attached to something else. A repeating pattern. Another situation to fix, another outcome to hold on to, the same sense that things aren’t in your hands. So it isn’t about this particular thing. Underneath is the control program, always reaching for something to hold, and finding it wherever it can. Let your attention rest on the feeling in the body, without giving it anything to hold. * * * We can be in control or out of it, and like it or not. | | **in control** | **out of control** | | --- | --- | --- | | **like it** | Making your own decisions. Running your own day. | Being looked after when you’re sick. Letting someone else drive. | | **dislike it** | Everyone waiting on your decision. Holding the trip together. | An authority you didn’t choose. Being told what to do. | As children, someone else decided when we ate and when we slept, and when they did it well, it was a relief. Part of us still wants that, and part of us pushes back against any control we didn’t agree to. It doesn’t always look like control. Sometimes it’s needing to be right, or fixing someone who didn’t ask. The other side is quieter, saying “I don’t know” so someone else decides. Every square is the same program. Sometimes it wants the controls, and sometimes it wants someone else to have them. * * * The program is busiest around other people. We know how their day should go and how they should feel about it. A friend shares good news and we’re already telling them what to do with it. Even good advice, given from that place, lands as pressure. Without the program behind them, the same words land differently. People find their own way more easily when nobody is pushing. * * * We can’t guess our next thought. It turns up on its own, and only afterwards does it feel like ours. Most of what we do works the same way. We step back from a car before deciding to. We drive home without remembering a single turn. Plans fall through, and things we swore we’d never do, we sometimes do anyway. The past is already finished, however much we argue with it. The control the program reaches for may be thinner than it feels. We still make plans and choices, and there’s no other way to live. But we can hold them more loosely, like a guess. When the program eases, nothing falls apart. The person writes back or doesn’t. The number moves or it doesn’t. Things go about as well as they would have, with less strain. > To have without possessing, > do without claiming, > lead without controlling: > this is mysterious power. > > — Lao Tzu, tr. Ursula K. Le Guin --- ## Reading Canonical: https://strangechances.com/reading/ *Live from Graeme's iPad · checked 2026-11-28 17:14 UTC (JSON at https://strangechances.com/api/reading)* ### Now reading - *The Coming Technological Singularity: How to Survive in the Post-Human Era* — Vernor Vinge (7%, opened 27 Nov) ### Recently read (81) - *The Urgency of Interpretability* — Dario Amodei (27 Nov) - *War of the Clowns* — Mia Couto (26 Nov) - *Femininity: The Trap* — Simone de Beauvoir (26 Nov) - *Introduction: The Existentialist Offensive* — Jonathan Webber (26 Nov) - *Ghost Nation — Introduction: Dark Clouds; 1. Appeasing the Afterworld; 2. Ilha Formosa and its Colonizers* — Chris Horton (3 Nov) - *The First Duino Elegy* — Rainer Maria Rilke (30 Oct) - *Fragment 31* — Sappho (30 Oct) - *Tintern Abbey* — William Wordsworth (30 Oct) - *A Slow Boat to China* — Haruki Murakami (28 Oct) - *Some Things I Like* — Lemn Sissay (28 Oct) - *Artificial General Intelligence Is Already Here* — Blaise Agüera y Arcas and Peter Norvig (28 Oct) - *Animals vs Ghosts* — Andrej Karpathy (28 Oct) - *The Bitter Lesson* — Rich Sutton (28 Oct) - *The Evolution of Human Science* — Ted Chiang (28 Oct) - *The Garden Party* — Katherine Mansfield (28 Oct) - *The ‘Busy’ Trap* — Tim Kreider (28 Oct) - *The Epicurean* — David Hume (28 Oct) - *The Sermon on the Mount* — King James Bible (28 Oct) - *Forget Plato, Aristotle and the Stoics: Try Being Epicurean* — Catherine Wilson (28 Oct) - *Having a Coke with You* — Frank O’Hara (28 Oct) - *On a Certain Blindness in Human Beings* — William James (25 Oct) - *We Lived Happily during the War* — Ilya Kaminsky (25 Oct) - *Intellectual Exile: Expatriates and Marginals* — Edward W. Said (25 Oct) - *Kindness* — Naomi Shihab Nye (25 Oct) - *Moral Man and Immoral Society* — Reinhold Niebuhr (25 Oct) - *The Principal Doctrines* — Epicurus (25 Oct) - *The Great Learning* — Attributed to Zengzi (25 Oct) - *Reflections on the Revolution in France* — Edmund Burke (24 Oct) - *I Am John’s Brain* — Andy Clark (24 Oct) - *The Gentle Singularity* — Sam Altman (22 Oct) - *What 2026 Looks Like* — Daniel Kokotajlo (22 Oct) - *ChatGPT Is a Blurry JPEG of the Web* — Ted Chiang (22 Oct) - *Zest* — Bertrand Russell (22 Oct) - *Wirehead Gods on Lotus Thrones* — Scott Alexander (22 Oct) - *The Pleasures of Eating* — Wendell Berry (21 Oct) - *Nobel Lecture* — Toni Morrison (18 Oct) - *Does African-American Literature Exist?* — Kenneth W. Warren (17 Oct) - *Crop Rotation* — Søren Kierkegaard (17 Oct) - *Introduction: Inspirations* — Jonathan Webber (16 Oct) - *What Existentialism Is and Why It Matters* — Jonathan Webber (16 Oct) - *The Chariot* — Anonymous (16 Oct) - *The Reed Flute’s Song* — Rumi (16 Oct) - *The Humanism of Existentialism* — Jean-Paul Sartre (16 Oct) - *Of Friendship* — Michel de Montaigne (15 Oct) - *The Blue of Distance* — Rebecca Solnit (15 Oct) - *The Looking-Glass Self* — Charles Horton Cooley (9 Oct) - *Don't Miss Out! Book Right Now for the Journey of a Lifetime!* — Imtiaz Dharker (9 Oct) - *What You Missed that Day You Were Absent from Fourth Grade* — Brad Aaron Modlin (9 Oct) - *You wake the dead to life* — Rumi (9 Oct) - *Everything Is Waiting for You* — David Whyte (7 Oct) - *The Peace of Wild Things* — Wendell Berry (7 Oct) - *Just Beyond Yourself* — David Whyte (7 Oct) - *Sweet Darkness* — David Whyte (7 Oct) - *Three Questions* — Leo Tolstoy (7 Oct) - *A Modest Proposal* — Jonathan Swift (7 Oct) - *Computing Machinery and Intelligence* — Alan Turing (6 Oct) - *They’re Made Out of Meat* — Terry Bisson (6 Oct) - *The Extended Mind* — Andy Clark and David J. Chalmers (6 Oct) - *What Mary Didn't Know* — Frank Jackson (6 Oct) - *What Is It Like to Be a Bat?* — Thomas Nagel (6 Oct) - *Free Will and Neuroscience: Decision Times and the Point of No Return* — Alfred R. Mele (6 Oct) - *From Resonance and Wonder* — Stephen J. Greenblatt (6 Oct) - *Visceral Extension and the Beast-Machine: Toward a Neuropsychological Criterion for the Extended Self* — Joseph Neisser (6 Oct) - *Euthyphro* — Plato (6 Oct) - *Symposium* — Plato (6 Oct) - *On Self-Respect* — Joan Didion (6 Oct) - *Freedom of the Will and the Concept of a Person* — Harry G. Frankfurt (5 Oct) - *Ten Poems by Li Bai* — Li Bai (4 Oct) - *22: La Bota* — Esteban Rodríguez (4 Oct) - *A Free Man’s Worship* — Bertrand Russell (4 Oct) - *Cook Ding* — Zhuangzi (4 Oct) - *Borges and I* — Jorge Luis Borges (4 Oct) - *Wild Geese* — Mary Oliver (3 Oct) - *Nobel Prize Banquet Speech* — William Faulkner (3 Oct) - *Girl* — Jamaica Kincaid (3 Oct) - *Westminster Abbey* — Joseph Addison (3 Oct) - *Sunday Morning* — Wallace Stevens (3 Oct) - *Letter to Menoeceus* — Epicurus (3 Oct) - *Like This* — Rumi (3 Oct) - *Exhalation* — Ted Chiang (3 Oct) - *Minds, Brains, and Programs (selections)* — John R. Searle (3 Oct) --- ## Listening Canonical: https://strangechances.com/listening/ Favorites, lately (25 songs · 105 min). [Playlist on Spotify](https://open.spotify.com/playlist/3HUH6bsn5B7swGQAMH5S2v) 1. [*(No One Knows Me) Like the Piano*](https://open.spotify.com/track/3D1VUmjj0IlhdHqGConc7C) — Sampha (3:38) 2. [*Between the Bars*](https://open.spotify.com/track/1JbUMtVkQuaAPdHOvncVTm) — Elliott Smith (2:21) 3. [*Lover, You Should’ve Come Over*](https://open.spotify.com/track/6Jv7kjGkhY2fT4yuBF3aTz) — Jeff Buckley (6:44) 4. [*Look On Down From The Bridge*](https://open.spotify.com/track/010ALbbh5KlQ4fKWgSdhRd) — Mazzy Star (4:47) 5. [*Harvest Moon*](https://open.spotify.com/track/7sCHy8QQUz3CRvUMp53Cbm) — Neil Young (5:03) 6. [*Songbird*](https://open.spotify.com/track/2JoUtztTqCN4ZhmbRDGPIL) — Fleetwood Mac (3:20) 7. [*Two Weeks*](https://open.spotify.com/track/04uR2cdkgiaLIzebPcs25m) — Grizzly Bear (4:06) 8. [*Two Weeks*](https://open.spotify.com/track/7E66uxFz2NtHWAyiGXotha) — FKA twigs (4:07) 9. [*Thinkin Bout You*](https://open.spotify.com/track/7DfFc7a6Rwfi3YQMRbDMau) — Frank Ocean (3:20) 10. [*aphex twin flame*](https://open.spotify.com/track/55iztv7QuxLx1Twb8iXA00) — yeule (3:38) 11. [*Hey Ma*](https://open.spotify.com/track/2fE1hcjUxlLxXrZusTEJlq) — Cam’ron (3:40) 12. [*Hey, Ma*](https://open.spotify.com/track/0RstfX9nRY1Lfuy1808MoT) — Bon Iver (3:36) 13. [*Seoul*](https://open.spotify.com/track/3tgFSOcxRWvfeDnIIkhQiQ) — Sofiane Pamart (3:32) 14. [*Angel*](https://open.spotify.com/track/7uv632EkfwYhXoqf8rhYrg) — Massive Attack (6:19) 15. [*When Under Ether*](https://open.spotify.com/track/6T74sWvcHvSAO5prlk5dDw) — PJ Harvey (2:22) 16. [*Nude*](https://open.spotify.com/track/35YyxFpE0ZTOoqFx5bADW8) — Radiohead (4:15) 17. [*Quelqu’un m’a dit*](https://open.spotify.com/track/5lIOhDGfy2lQJWWwxBm8L4) — Carla Bruni (2:48) 18. [*Should Have Known Better*](https://open.spotify.com/track/3AyuigFWbuirWHvidbMz8O) — Sufjan Stevens (5:07) 19. [*Movies*](https://open.spotify.com/track/6f4itfvWzS59Qu7JWorhxn) — Weyes Blood (5:53) 20. [*cellophane*](https://open.spotify.com/track/7x8pIrhMu9FCmqqHNyuH0P) — FKA twigs (3:24) 21. [*You Are My Literature*](https://open.spotify.com/track/58uXTOsAxceman70g0WeUO) — Park So Eun (3:19) 22. [*Re: Stacks*](https://open.spotify.com/track/20AC70RUlVz6A6dCcQ5tRS) — Bon Iver (6:41) 23. [*Hood*](https://open.spotify.com/track/0FxHWA1PsooprxOVhJSJzk) — Perfume Genius (2:00) 24. [*Says*](https://open.spotify.com/track/5626KdflSKfeDK7RJQfSrE) — Nils Frahm (8:18) 25. [*Never Let Me Go*](https://open.spotify.com/track/6l0lXDnr4ntCtAcjLtbLvz) — Rachel Portman (2:43) --- ## Photos Canonical: https://strangechances.com/ 63 photographs by Graeme Boy (travel, architecture, museums, landscapes, and moments). 1. **Olafur Eliasson, Gravity Stairs, Leeum, Seoul** — Rings of light hanging in a narrow, yellow-lit stairwell: Olafur Eliasson’s Gravity Stairs. ([image](https://strangechances.com/photos/rings-of-light-1600.jpg), [view](https://strangechances.com/?photo=rings-of-light)) 2. **Lagoa do Fogo, São Miguel** — A crater lake between steep green ridges, low clouds on the horizon. ([image](https://strangechances.com/photos/lagoa-do-fogo-1600.jpg), [view](https://strangechances.com/?photo=lagoa-do-fogo)) 3. **Balloons over Teotihuacan at sunrise** — Hot-air balloons drifting over the valley of Teotihuacan at dawn, seen from a balloon basket. ([image](https://strangechances.com/photos/teotihuacan-1600.jpg), [view](https://strangechances.com/?photo=teotihuacan)) 4. **Portrait** — Black and white portrait of Graeme in a dark T-shirt against a plain wall. ([image](https://strangechances.com/photos/portrait-1600.jpg), [view](https://strangechances.com/?photo=portrait)) 5. **Museo Nacional de Antropología, Mexico City** — A vast concrete canopy on a single column over a museum courtyard. ([image](https://strangechances.com/photos/antropologia-1600.jpg), [view](https://strangechances.com/?photo=antropologia)) 6. **Morning fog** — Fog pooling in a valley below a dark ridge, a small summit rising above it. ([image](https://strangechances.com/photos/fog-valley-1600.jpg), [view](https://strangechances.com/?photo=fog-valley)) 7. **The Rose Main Reading Room, New York Public Library** — The carved ceiling and painted sky of the Rose Main Reading Room above long rows of reading tables. ([image](https://strangechances.com/photos/rose-reading-room-1600.jpg), [view](https://strangechances.com/?photo=rose-reading-room)) 8. **The Guggenheim rotunda, New York** — Looking up the spiral ramps of the Guggenheim to its round skylight. ([image](https://strangechances.com/photos/guggenheim-1600.jpg), [view](https://strangechances.com/?photo=guggenheim)) 9. **Tea by a garden window** — A wooden tray with tea and pastries on a floor cushion beside a window onto a garden. ([image](https://strangechances.com/photos/tea-tray-1600.jpg), [view](https://strangechances.com/?photo=tea-tray)) 10. **A tower in fog** — A glass tower narrowing into thick fog, seen from below. ([image](https://strangechances.com/photos/tower-fog-1600.jpg), [view](https://strangechances.com/?photo=tower-fog)) 11. **The Temple of Dendur, the Met** — The Temple of Dendur beside its reflecting pool, under the Met's slanted glass wall. ([image](https://strangechances.com/photos/dendur-1600.jpg), [view](https://strangechances.com/?photo=dendur)) 12. **Brunelleschi's dome, from the bell tower** — The red-tiled dome of Florence Cathedral seen from above, the city beyond. ([image](https://strangechances.com/photos/duomo-1600.jpg), [view](https://strangechances.com/?photo=duomo)) 13. **Reading on a bench, West Village** — Graeme stretched out on a garden bench, reading. ([image](https://strangechances.com/photos/reading-bench-1600.jpg), [view](https://strangechances.com/?photo=reading-bench)) 14. **BLACK, WHITE** — Two framed panels on a white wall, one black labelled BLACK and one white labelled WHITE. ([image](https://strangechances.com/photos/black-white-1600.jpg), [view](https://strangechances.com/?photo=black-white)) 15. **Mark Rothko, Untitled (Red), NGV, Melbourne** — Mark Rothko’s Untitled (Red): soft-edged fields of red on a gallery wall. ([image](https://strangechances.com/photos/red-field-1600.jpg), [view](https://strangechances.com/?photo=red-field)) 16. **The Na Pali coast, Kauai** — Green cliffs falling to the sea along the Na Pali coast, palms in the foreground. ([image](https://strangechances.com/photos/na-pali-1600.jpg), [view](https://strangechances.com/?photo=na-pali)) 17. **Museo Soumaya, Mexico City** — The curving tiled façade of the Museo Soumaya with Rodin's Thinker at its base. ([image](https://strangechances.com/photos/soumaya-1600.jpg), [view](https://strangechances.com/?photo=soumaya)) 18. **The Bay Bridge from the Embarcadero** — A pale sun through cloud over the Bay Bridge, light on the water, almost monochrome. ([image](https://strangechances.com/photos/bay-bridge-sun-1600.jpg), [view](https://strangechances.com/?photo=bay-bridge-sun)) 19. **The Arno at dawn, Florence** — Still river reflecting a cloudy sky, buildings along one bank. ([image](https://strangechances.com/photos/arno-1600.jpg), [view](https://strangechances.com/?photo=arno)) 20. **Writing** — Graeme writing in a notebook at a cafe table. ([image](https://strangechances.com/photos/writing-1600.jpg), [view](https://strangechances.com/?photo=writing)) 21. **Four stones, Sydney** — Four small stones, each in its own white frame, in a row on a dark green wall. ([image](https://strangechances.com/photos/four-stones-1600.jpg), [view](https://strangechances.com/?photo=four-stones)) 22. **Looking up, Lower Manhattan** — A square stairwell seen from below, its landings receding to a skylight. ([image](https://strangechances.com/photos/stairwell-1600.jpg), [view](https://strangechances.com/?photo=stairwell)) 23. **Mount Sutro in fog, San Francisco** — Tall eucalyptus trees fading into fog above orange nasturtiums. ([image](https://strangechances.com/photos/mount-sutro-1600.jpg), [view](https://strangechances.com/?photo=mount-sutro)) 24. **Yellow and black, in a white gallery** — A yellow triangle and a black triangle on a white gallery wall. ([image](https://strangechances.com/photos/yellow-triangle-1600.jpg), [view](https://strangechances.com/?photo=yellow-triangle)) 25. **Socrates, Rome** — A marble bust of Socrates above a Greek inscription. ([image](https://strangechances.com/photos/socrates-1600.jpg), [view](https://strangechances.com/?photo=socrates)) 26. **Carmo Convent, Lisbon** — Roofless gothic arches of a ruined church open to the sky. ([image](https://strangechances.com/photos/carmo-1600.jpg), [view](https://strangechances.com/?photo=carmo)) 27. **The Lisbon Marathon finish, under four hours** — Graeme running across the blue finishing carpet in Praça do Comércio, a yellow arcade behind. ([image](https://strangechances.com/photos/lisbon-marathon-1600.jpg), [view](https://strangechances.com/?photo=lisbon-marathon)) 28. **Morning fog, Golden Gate Park** — A long shadow on an empty road leading into fog between tall trees. ([image](https://strangechances.com/photos/shadow-fog-1600.jpg), [view](https://strangechances.com/?photo=shadow-fog)) 29. **The Oculus, New York** — White steel ribs of the Oculus rising to a long skylight. ([image](https://strangechances.com/photos/oculus-1600.jpg), [view](https://strangechances.com/?photo=oculus)) 30. **A lake in fog** — A flat grey lake disappearing into fog, trees faint on the far shore. ([image](https://strangechances.com/photos/lake-fog-1600.jpg), [view](https://strangechances.com/?photo=lake-fog)) 31. **Mies van der Rohe's MR chair, NGV, Melbourne** — A tubular steel cantilever chair with a black seat on a white plinth. ([image](https://strangechances.com/photos/mr-chair-1600.jpg), [view](https://strangechances.com/?photo=mr-chair)) 32. **An old stone arch, São Miguel** — Graeme leaning inside a moss-covered stone arch on a forest path. ([image](https://strangechances.com/photos/stone-arch-1600.jpg), [view](https://strangechances.com/?photo=stone-arch)) 33. **Frank Gehry's Stata Center, MIT** — Tilted metal towers and box windows of the Stata Center, seen from below against a pale sky. ([image](https://strangechances.com/photos/stata-center-1600.jpg), [view](https://strangechances.com/?photo=stata-center)) 34. **Orange forms and blue rings** — A gallery wall with large orange shapes and overlapping blue painted rings. ([image](https://strangechances.com/photos/rings-installation-1600.jpg), [view](https://strangechances.com/?photo=rings-installation)) 35. **First snow, Lower Manhattan** — A snow-covered path between two rows of bare trees. ([image](https://strangechances.com/photos/first-snow-1600.jpg), [view](https://strangechances.com/?photo=first-snow)) 36. **A red doorway, Confucius Temple, Tainan** — A deep doorway in a weathered red wall, opening onto a narrow brick passage between red buildings. ([image](https://strangechances.com/photos/red-doorway-1600.jpg), [view](https://strangechances.com/?photo=red-doorway)) 37. **Reading, New York Public Library** — Graeme writing in a book under a green library lamp. ([image](https://strangechances.com/photos/reading-nypl-1600.jpg), [view](https://strangechances.com/?photo=reading-nypl)) 38. **Loose leaf, steeping** — A glass teapot of amber tea with leaves, next to an empty glass cup. ([image](https://strangechances.com/photos/steeping-1600.jpg), [view](https://strangechances.com/?photo=steeping)) 39. **The Transamerica Pyramid, San Francisco** — Looking straight up the Transamerica Pyramid from between its concrete legs. ([image](https://strangechances.com/photos/transamerica-1600.jpg), [view](https://strangechances.com/?photo=transamerica)) 40. **A vaulted room, Florence** — A grey vaulted room with one white bust at the end and empty benches. ([image](https://strangechances.com/photos/vaulted-room-1600.jpg), [view](https://strangechances.com/?photo=vaulted-room)) 41. **Tadao Ando's Asia Museum of Modern Art, Taichung** — Two concrete planes meeting above a triangle of blue sky. ([image](https://strangechances.com/photos/ando-corner-1600.jpg), [view](https://strangechances.com/?photo=ando-corner)) 42. **The old aqueduct near Sete Cidades** — Moss-covered stone arches of an aqueduct in a fern forest. ([image](https://strangechances.com/photos/sete-cidades-aqueduct-1600.jpg), [view](https://strangechances.com/?photo=sete-cidades-aqueduct)) 43. **Bruce Nauman, neon** — Bruce Nauman’s neon words, among them love, death, pleasure and knows, crossing on a dark wall. ([image](https://strangechances.com/photos/neon-words-1600.jpg), [view](https://strangechances.com/?photo=neon-words)) 44. **The lobby at 9TREES, near Puli, Taiwan** — A low concrete and glass lobby lit from inside, among dark trees at dusk. ([image](https://strangechances.com/photos/lit-pavilion-1600.jpg), [view](https://strangechances.com/?photo=lit-pavilion)) 45. **Giving a talk** — Graeme speaking with a microphone in front of a projected slide. ([image](https://strangechances.com/photos/talk-1600.jpg), [view](https://strangechances.com/?photo=talk)) 46. **Wall Street in snow** — An empty snowed-in Wall Street between scaffolding, the far end lost in snow. ([image](https://strangechances.com/photos/wall-street-snow-1600.jpg), [view](https://strangechances.com/?photo=wall-street-snow)) 47. **Cherry Esplanade, Brooklyn Botanic Garden** — Looking up into a dense canopy of pink cherry blossom. ([image](https://strangechances.com/photos/cherry-blossom-1600.jpg), [view](https://strangechances.com/?photo=cherry-blossom)) 48. **National Taichung Theater** — Curved white edges cut into the gray wall of the National Taichung Theater. ([image](https://strangechances.com/photos/taichung-theater-1600.jpg), [view](https://strangechances.com/?photo=taichung-theater)) 49. **Sierra Nevada foothills at sunset** — Graeme sitting on a rock above hazy hills at sunset. ([image](https://strangechances.com/photos/ridge-sunset-1600.jpg), [view](https://strangechances.com/?photo=ridge-sunset)) 50. **A doorway in a gallery** — A tall dark timber doorway standing inside a warm, bright gallery. ([image](https://strangechances.com/photos/doorway-1600.jpg), [view](https://strangechances.com/?photo=doorway)) 51. **The Dome of Light, Kaohsiung** — Backlit glass panels in green, yellow and blue, crossed by a dark grid. ([image](https://strangechances.com/photos/dome-of-light-1600.jpg), [view](https://strangechances.com/?photo=dome-of-light)) 52. **Castello Aragonese, Ischia** — Stone steps of a castle leading down toward a harbour and causeway. ([image](https://strangechances.com/photos/ischia-1600.jpg), [view](https://strangechances.com/?photo=ischia)) 53. **A sunfish, Oceanário de Lisboa** — A large ocean sunfish swimming through shafts of light in blue water. ([image](https://strangechances.com/photos/sunfish-1600.jpg), [view](https://strangechances.com/?photo=sunfish)) 54. **Byung-Chul Han, at lunch** — A café table with a Byung-Chul Han book, a notebook and a small teapot. ([image](https://strangechances.com/photos/han-at-lunch-1600.jpg), [view](https://strangechances.com/?photo=han-at-lunch)) 55. **The moon over the National Concert Hall, Taipei** — The painted corner of the National Concert Hall’s curved roof at night, pointing up toward the moon in thin cloud. ([image](https://strangechances.com/photos/eave-moon-1600.jpg), [view](https://strangechances.com/?photo=eave-moon)) 56. **A birch forest on a screen, Leeum, Seoul** — A long wall projection of white birch trunks reflected in a polished floor. ([image](https://strangechances.com/photos/birches-1600.jpg), [view](https://strangechances.com/?photo=birches)) 57. **A stream near the Na Pali coast, Kauai** — A rocky stream running between trees toward the sea. ([image](https://strangechances.com/photos/kauai-stream-1600.jpg), [view](https://strangechances.com/?photo=kauai-stream)) 58. **The greenhouse, National Museum of Natural Science Botanical Garden, Taichung** — Looking up through dark leaves to the round ribs of the botanical garden’s glass dome. ([image](https://strangechances.com/photos/glass-dome-1600.jpg), [view](https://strangechances.com/?photo=glass-dome)) 59. **The Library of Congress** — Ornate painted ceilings and arches of the Library of Congress great hall, a bronze statue holding a torch. ([image](https://strangechances.com/photos/library-of-congress-1600.jpg), [view](https://strangechances.com/?photo=library-of-congress)) 60. **A breakwater at dusk** — Rocks in the foreground, a calm sea, and a pale pink horizon with one bird. ([image](https://strangechances.com/photos/breakwater-1600.jpg), [view](https://strangechances.com/?photo=breakwater)) 61. **The courtyard, Museo Nacional de Antropología** — The edge of the concrete canopy framing an evening sky over the courtyard. ([image](https://strangechances.com/photos/antropologia-courtyard-1600.jpg), [view](https://strangechances.com/?photo=antropologia-courtyard)) 62. **Lucy Liu, Melbourne** — A neon sign reading Lucy Liu at the end of a narrow brick lane, everything lit red. ([image](https://strangechances.com/photos/lucy-liu-neon-1600.jpg), [view](https://strangechances.com/?photo=lucy-liu-neon)) 63. **Morning fog on the water** — A still pond under fog, trees reflected in the dark water. ([image](https://strangechances.com/photos/pond-fog-1600.jpg), [view](https://strangechances.com/?photo=pond-fog)) --- ## Aether Canonical: https://strangechances.com/aether/ Version: v1.1.0 · macOS 15+ · Apple Silicon · 3.4 MB · 0.0% idle CPU · MIT Source: https://github.com/graemecode/aether Download (macOS): https://github.com/graemecode/aether/releases/latest/download/Aether-1.1.0.dmg **Aether** answers the one question Apple’s Wi-Fi menu never can: *why does my Wi-Fi feel slow right now?* Open it from the menu bar and the first thing you see is a single grounded verdict—separating strong local Wi-Fi from a slow upstream link, crowded 2.4 GHz channel, or hotel sign-in page—directly beneath a live visual instrument that automatically leads with the 4-hop route circuit whenever something degrades. Written in pure Swift 6 with zero third-party packages, it unifies throughput, per-app bandwidth, RF spectrum, latency/jitter, LAN privacy, and optional on-device Apple Intelligence in one 3.4 MB panel. - **One honest answer the moment your Wi-Fi acts up** — When a hop degrades—like strong 5 GHz cabin Wi-Fi backed by a 642 ms satellite link—Aether automatically leads with the 4-hop **Route** circuit and a single plain-English verdict directly underneath, with one-click **✦ Brief** on-device Apple Intelligence right on the card. ## Why Apple’s built-in Wi-Fi menu is outdated macOS’s default Wi-Fi menu was designed in an era when the only question was *“am I connected to a network?”* Twenty years later, it still gives you three static arcs and a flat list of network names. Unless you know the secret `Option-Click` gesture—which dumps raw hexadecimal BSSIDs and opaque RSSI integers—macOS tells you almost nothing about the actual state of your connection. When a video call stutters, a download crawls, or you join an airplane or café hotspot, the built-in menu can’t answer the questions you actually care about: *Is the lag my Wi-Fi, my router, DNS lookup, or the ISP? Are three neighbors crowding my channel? Am I stuck on 2.4 GHz while a stronger 5 GHz node sits in the same room? Is an upload saturating the link and causing bufferbloat? Who else is on this network, and can they see my traffic?* Until now, Mac users who wanted those answers had to assemble a drawer of separate paid tools—**WiFi Signal** for radio stats, **WiFi Explorer Pro** for channel overlap, **PingPlotter** or **PeakHour** for jitter and drops, **LanScan** or **Fing** for subnet peers, **iStat Menus** for live throughput, and Terminal commands like `networkQuality`, `scutil --dns`, `nettop`, and `lsof`. I built Aether to unify all of them directly into the menu bar Wi-Fi icon itself, translating raw radio and kernel telemetry into plain English first while keeping full engineering depth one tap away. **3.4 MB** (Native Swift 6 bundle) · **0.0%** (Closed idle CPU) · **0** (Third-party SDKs) · **MIT** (License) ## Every Wi-Fi tool you want, unified Instead of dumping 40 numbers into a noisy dashboard, Aether separates clarity from depth. At rest, it gives plain-English verdicts—*Video Calls: Smooth*, *Strangers Nearby: Shielded by VPN*, *Your Mac is decoding 866M bits/sec from 25.1 billionths of a watt*. Flip on **Pro Mode** (`⌘P`) or expand **Aether Studio** (`⌘E`) when you want raw dBm, BSSIDs, Gaussian channel curves, hover-crosshair jitter timelines, and OUI + mDNS LAN tables. - **Public Wi-Fi Privacy & Live Route** — Tested live in-flight on open airplane Wi-Fi: Aether automatically defaults open or crowded (≥12 peers) networks to **Public**, visualizes the encrypted VPN shield across the 4-hop Bézier circuit, explains plainly what Strangers Nearby, the Wi-Fi Owner/ISP, and LAN peers can actually see, detects Evil-Twin gateway MAC changes, and offers 1-click Cloudflare / Quad9 / Google DNS switching. - **RF Channel Spectrum & Sticky-Client Roaming** — Maps every nearby 2.4, 5, and 6 GHz access point as dual-pass Gaussian lobes, scores co-channel and adjacent-channel contention, recommends the cleanest channel, catches sticky-client roaming (nudging you back to 5 GHz in one click), toggles system VPNs, and generates Touch ID-gated Wi-Fi Share QR codes. - **Aether Studio Workstation (⌘E)** — Expands into a full dark-obsidian diagnostic desk: 6 live radio-physics & socket X-Ray cells (received nanowatts, linear SNR ratio, indoor path-loss distance, half-duplex TCP ceiling, hidden `awdl0` AirDrop airtime radio, native IPv6), full-band RF spectrum, interactive hover-crosshair latency/jitter/loss timeline, OUI + mDNS LAN devices, live per-app outbound connections, event log with on-device **✦ Explain**, and a quiet **Ask Aether** command bar. - **Unified Offline Wi-Fi Picker** — When you aren’t connected, Aether opens straight to the Wi-Fi tab without ripping away your navigation—keeping Speed, Privacy, Wi-Fi, and More reachable at all times. Instant cached scans populate in under 1 ms while a fresh sweep runs, saved Keychain networks join in one click, and plain-English recovery cards replace cryptic CoreWLAN errors. ## What Aether integrates | What you used to need | How Aether integrates it natively | Overhead | | --- | --- | --- | | **iStat Menus / Pulse** (network) | Fixed-width 28pt menu bar emblem with color-coded `▾ / ▴` speed arrows (or 22pt Icon / 50pt Speed), harmonic `FLUX` ribbons, `Received / Sent / Peak`, active `Wi-Fi` & `VPN` interfaces, and parent-grouped per-app bandwidth with real macOS icons via POSIX `getifaddrs` + `proc_pidpath` | 0 shift | | **WiFi Signal** | Real-time RSSI, SNR, band/width, PHY generation, nanowatt radio power, linear SNR multiplier, path-loss distance, and half-duplex TCP ceiling | CoreWLAN | | **WiFi Explorer Pro** | 2.4 / 5 / 6 GHz Gaussian channel overlap curves, congestion scoring, cleaner-channel recommendation, and 1-click sticky-client roaming | In-process | | **PingPlotter / PeakHour** | Unspoofable 3-hop chain (native `SOCK_DGRAM` ICMP to router & `one.one.one.one` with TLS fallback—defeats airplane satellite TCP-PEPs and VPN SYN-ACK spoofing—plus `getaddrinfo` DNS) + rolling median jitter/loss timeline + bufferbloat test | Native C | | **LanScan / Fing** | Native Darwin `sysctl` (`PF_ROUTE / RTF_LLINFO`) ARP table + offline IEEE OUI vendor lookup + bounded concurrent mDNS reverse hostname resolution | 0 procs | | **Privacy, DNS & Portal Checks** | 3-actor plain-English privacy posture, real over-the-air `AF_LINK` Private Wi-Fi Address check, Evil-Twin gateway MAC pinning, captive portal detection, system VPN toggles, and 1-click DNS presets | Local only | | **On-Device Diagnostics** | Strictly on-demand `✦ Brief`, Studio event `✦ Explain`, and `Ask Aether` Q&A powered by weak-linked Apple `FoundationModels` (macOS 26+) with grounded contradiction guards & instant deterministic fallback | 0 MB / Local | ## How it’s built Aether is written in pure **Swift 6** with **zero external dependencies**—built directly on `CoreWLAN`, `CoreLocation`, `SystemConfiguration`, `Network`, `ServiceManagement`, Darwin POSIX sockets/`sysctl`, `AppKit`, and `SwiftUI`. All heavy telemetry pauses the instant the popover closes so idle background CPU stays at `0.0%`. ```text Sources/ ├── AetherCore/ # Pure Swift 6 telemetry, RF physics & security engine │ ├── InterfaceCounters.swift # Zero-subprocess getifaddrs: live bytes, Peak, active IPs, MAC, awdl0, IPv6 │ ├── AppAttribution.swift # Pure-Darwin proc_pidpath parent .app rollup & service port catalog │ ├── NativeNetworkTelemetry.swift # SCDynamicStore route/DNS/proxy, sysctl ARP, SOCK_DGRAM ICMP ping │ ├── WiFiController.swift # CoreWLAN snapshots, nearby scans, 5/6 GHz roaming & association │ ├── ChannelAnalyzer.swift # 2.4/5/6 GHz overlap math, best-channel score & roaming detector │ ├── RFPhysics.swift # dBm → nanowatts, linear SNR, log-distance range & TCP ceiling │ ├── ConnectionMonitor.swift # Rolling median RTT/jitter/loss stability engine & event log │ ├── TrustAnalyzer.swift # Non-scareware security posture, Evil Twin & gateway ARP watch │ ├── TrustStore.swift # Auto-PUBLIC heuristic (open / ≥12 peers) & gateway pinning │ ├── HumanSummary.swift # Activity readiness, 3-actor privacy story & live RF pull-quotes │ ├── LocalNetworkAdvisor.swift # On-device Apple FoundationModels (macOS 26+, weak) & fallback │ ├── NetworkProbes.swift # Unspoofable ICMP/TLS RTT, captive portal, 1s nettop & mDNS │ └── MenuBarPositioner.swift # Notch-safe floating panel placement └── Aether/ # Native AppKit + SwiftUI menu bar & Studio workstation ├── App/ │ ├── AppDelegate.swift # Fixed-width 396pt notch-safe NSPanel, shortcuts & context menu │ └── AppState.swift # Reactive state engine (0.0% idle CPU when popover is closed) └── UI/ ├── MenuBarIconView.swift # Fixed-width 22pt / 28pt color arrows / 50pt speed emblem ├── AppIconCache.swift # Cached macOS .app icons & monochrome daemon/CLI badges ├── InstrumentStageView.swift # FLUX ribbons, Gaussian SPECTRUM & Bézier ROUTE circuit ├── PopoverView.swift # Single-shell obsidian instrument & disconnected-first Wi-Fi picker └── StudioWindowController.swift # Expandable Aether Studio workstation (⌘E) with LAN & Connections ``` Aether is open source under the MIT license. Browse the Swift source on [GitHub](https://github.com/graemecode/aether), download the latest signed build from [Releases](https://github.com/graemecode/aether/releases), or read the [Privacy Policy](https://strangechances.com/aether/privacy/). --- ## Satie Canonical: https://strangechances.com/satie/ Version: Mac v4.1.1 · iPhone & iPad v3.1.0 · Free · Open source (MIT) Source: https://github.com/graemecode/satie Download (macOS): https://github.com/graemecode/satie/releases/latest/download/Satie-4.1.1.dmg App Store (iOS & iPadOS): https://apps.apple.com/app/satie-focus-soundscapes/id6837572453 **Satie** plays quiet music that is written as it plays: felt piano, rain on glass, slow cello and long pauses. It is meant to stay in the background while you work, read or wind down, and it never repeats a loop. The name comes from Erik Satie, who in 1917 began writing what he called *musique d’ameublement*, furniture music: pieces meant to sit in a room like a lamp rather than be listened to. Everything runs on your device. There is no account, no subscription and no network access, and Satie asks for no permissions. It is free and open source. - **Six worlds in the menu bar** — Pick a world and press play. One drawer holds a fade-out timer and an optional bed of rain or brown noise. Click the picture to change it, or open it full screen. Shortcuts and Focus can start a world for you, for example *Soft Light* when Work focus turns on. ## Six worlds Each world pairs a sound with its own picture. The App Store version has all of them except *Deep Dive*, which is on the Mac for now. - **Soft Light** (Focus): felt piano, vibraphone, harp and cello at 72 beats a minute, in the manner of 1980s Japanese environmental music. Shown with *The Circuit*. - **Kinetic Pulse** (Pulse): a soft analog pulse at 108 beats a minute, for when you need momentum. Shown with *Phosphor Scope*. - **Rain & Glass** (Rain): rain that never loops, with bowed wine glasses, vibraphone and harp. Shown with *Ecology Wall*. - **Still**: no melody at all, only a held chord and soft noise, for dense reading and writing. Shown with *Horizon*. - **Deep Dive** (Dive, Mac only for now): a breath that slows from 8.5 to 5.5 breaths a minute, with cello, rain and singing bowls. Shown with *Oculus*. - **Gymnopédie** (Night): slow piano and cello for late at night, with plenty of room between notes. Shown with *Nocturne Silk*. ## Six pictures Each picture moves with the music. On screens with HDR, the brightest points glow while most of the frame stays close to black. - **Oculus** — After James Turrell’s *Aten Reign*. Rings of light widen and settle with your breath, and each struck bowl ripples the center. - **Warmer after 8 p.m.** — After 8 p.m. every picture shifts to a warm palette with about 90% less blue light, the part of the spectrum that most delays sleep. How much reaches your eyes still depends on screen brightness and distance. - **The Circuit** — Strands of light that flex with each note. The full-screen view adds a key detector and a circle-of-fifths chart. - **Ecology Wall** — Rain ripples, and five thousand small points that drift between the music’s frequency bands. - **Phosphor Scope** — An oscilloscope trace of the left and right channels, in green or amber phosphor. - **Nocturne Silk** — Gold and silver ink rings, set off by each piano and cello note, over dark water. - **Horizon** — One horizon line and a low moon over dark water, after Hiroshi Sugimoto and Mark Rothko. ## On iPhone and iPad Satie for iPhone and iPad is [free on the App Store](https://apps.apple.com/app/satie-focus-soundscapes/id6837572453). Version 3.1.0 has five worlds, in English, and also runs on Macs with Apple silicon. - It keeps playing with the screen locked, with controls on the Lock Screen, in Control Center and on AirPods. AirPlay works too. - It can play quietly under a podcast or audiobook, with rain or brown noise added if you like. - A fade-out timer runs from 15 to 90 minutes and ends on a soft chime. - Tap the picture to hide the controls, and swipe to pair any picture with any sound. On its side in a stand, it keeps the screen awake. - **From the current source** — These screens come from the iPhone build in the repository, which adds *Deep Dive*. The App Store version has the other five worlds. The source goes further than the App Store version: *Deep Dive*, Lock Screen and StandBy widgets, a timer in the Dynamic Island, and companion apps for Apple Watch, Apple TV and Vision Pro. None of those are in a store yet, but you can build them in Xcode. ## How it’s built Satie is about 15,500 lines of Swift and 1,100 lines of Metal, with no third-party packages. The music is composed a bar or two ahead on a background thread and handed to the audio thread through a lock-free queue, so playback never waits on anything. A Factor Oracle, a technique from IRCAM’s improvisation research, recombines written phrases so the music keeps changing without drifting out of key. The instruments are 46 public-domain studio samples, played through a reverb built for this project. 22 automated tests check the sound, from loudness and stereo balance to whether the music stays in key. ```text Sources/ ├── AcousticCore/ # Shared Swift 6 audio & formal math │ ├── Audio/ │ │ ├── HarmonicFactorOracle.swift # O(m) Factor Oracle + grammar │ │ ├── SatieScore.swift # Harmonic DNA + Eno prime cycles │ │ ├── DeepMeditationEngine.swift # Breath, rain, bowls, cello │ │ ├── HRVResonanceController.swift # On-device HRV resonance │ │ ├── FocusSoundEngine.swift # Lock-free audio + SPSC queue │ │ ├── DSPPrimitives.swift # Velvet-Noise ER + 8×8 FDN │ │ ├── StudioSampleBank.swift # 46 CC0 samples + Hermite │ │ ├── PhysicalInstruments.swift # Piano, ZDF synth, 14.4 Hz AM │ │ ├── ModularAlchemy.swift # 56-mode bank, Beads, 3D pan │ │ └── AcousticDSP.swift # 4096-pt vDSP FFT + key │ ├── BlueNoise64.swift # 64×64 Ulichney blue noise │ └── StudioLifecycleMachine.swift # TLA+/TLC verified MTKView ├── AcousticCircuit/ # macOS app + 120 Hz EDR Metal │ ├── App/SatieAppIntents.swift # Shortcuts, Siri, Focus Filters │ ├── Renderer/Shaders.metal # 11 EDR pipelines + blue noise │ └── UI/PopoverView.swift # 6 glyphs, Studio & Mini HUD ├── SatieiOS/ & SatieWidgets/ # iOS 18+, Live Activity, StandBy └── SatieWatch/ · SatieTV/ · Vision/ # Watch HRV · tvOS · visionOS ``` The full story, including the bug a formal proof missed, is in the essay [furniture music in swift and metal](https://strangechances.com/writings/satie/). ## What the research supports Focus and sleep audio is full of claims that don’t hold up. Before building the current version I read the research from 2022 to 2026 and kept only what has been replicated. | Mechanism | Empirical status | How Satie handles it | | --- | --- | --- | | **14–16 Hz beta amplitude modulation** | Replicated fMRI, EEG phase-locking, and sustained-attention gains, strongest in listeners with attentional difficulties (Woods & Loui, *Communications Biology*, 2024). | Built into *Kinetic Pulse* as a 14.4 Hz shimmer locked to the beat, on the pads and reverb rather than the notes, so it never buzzes in headphones. | | **0.1 Hz (~6 bpm) slow-paced breathing** | Strongest replicated autonomic down-regulation mechanism; extended exhales maximize Respiratory Sinus Arrhythmia (RSA) and baroreflex synchrony across 2024–2025 RCTs. | Drives *Deep Dive*’s 8.5 → 5.5 bpm descent (42% inhale / 58% exhale), carried by the cello and the rings of *06 Oculus*. | | **Zero lyrics & opt-in colored noise** | Lyrics consistently impair reading and verbal working memory (*d ≈ −0.3*; Souza & Barbosa, 2023). White/pink noise helps ADHD (*g ≈ +0.25*) but slightly hurts neurotypicals (*g ≈ −0.21*; Nigg et al., *JAACAP*, 2024); brown noise has zero clinical RCTs. | No vocals in any world. Rain and Brown Noise stay **off by default** so noise is never forced on listeners it would slow down. | | **Evening melanopic light** | 460–480 nm OLED emission suppresses melatonin via retinal ipRGCs; CIE consensus recommends < 10 melanopic EDI lux in the 3 hours before bed. | After 8 p.m. every picture shifts to a warm palette with about 90% less blue light. | | **Binaural beat entrainment** | Weak and inconsistent: 8 of 14 strict EEG studies contradict brainwave entrainment (Ingendoh et al., *PLOS ONE*, 2023). | *Deep Dive* keeps a slight left-right detune because it makes the room sound wider. It is not sold as brainwave entrainment. | Satie is free and MIT licensed, and its samples are public domain (CC0). Get it on the [App Store](https://apps.apple.com/app/satie-focus-soundscapes/id6837572453) for iPhone and iPad, [download it for Mac](https://github.com/graemecode/satie/releases/latest/download/Satie-4.1.1.dmg) or install it with [Homebrew](https://github.com/graemecode/homebrew-tap). The source is on [GitHub](https://github.com/graemecode/satie), and the [privacy policy](https://strangechances.com/satie/privacy/) is short because Satie collects nothing.