# Allowed because nothing failed

Source: https://sonpiaz.com/writing/allowed-because-nothing-failed
ID: https://sonpiaz.com/writing/allowed-because-nothing-failed#entity

Date: 2026-12-01

My meeting notes app marked system audio as allowed because starting the tap did not throw. With consent off, macOS fed it zeros, and calls on headphones kept one voice.

> The probe stored allowed because start did not throw.

A user told us that with headphones on, Pheme recorded only her own voice. An agent started on it just after midnight on November 28.

Pheme is my app for meeting notes. It never joins the call, so it hears the other side only through a system audio tap.

## Two lanes

The microphone lane hears the room. The other lane is a Core Audio process tap on a private aggregate device, which catches what other apps play.

On speakers, the microphone also catches the other side coming out of the speakers. A dead tap hides behind speakers and shows up only on headphones, which left one question: why did the tap hear nothing?

## Nothing failed

With System Audio Recording consent off, the tap is still created and it still runs. It just delivers silence, and no call along the way returns an error.

Pheme read that as success at every step. The session log said `started system_audio=true` for a recording that would never hear the other side.

The permission probe stored System audio as allowed because starting the tap did not throw. Settings could show it as allowed when it was not.

## Counting zeros

The agent working on it reproduced the consent-off state on my Mac mini with a small probe. While another app played sound, the tap delivered 165,624 samples, and not one was non-zero.

That gave the fix its test. A tap that has heard one non-zero sample is working; a tap that has heard only zeros while another app plays is not. Pheme learns that another app is playing by asking Core Audio which processes are running output, skipping its own.

The first fix did two things:

- Settings marks System audio allowed only after the tap has heard sound.
- If another app plays for 45 seconds and the tap hears only zeros, a banner names the exact switch.

## The review found three holes

A separate reviewer agent failed the first version with three holes. One was the original failure in a different order of events, and the other two hit users who had granted consent.

The allowed flag was written only when Settings refreshed during a recording. A user who did grant consent could record ten good calls and still see the Allow button.

The check also gave up if nothing was playing at the first 15-second mark. Press Record, then join the call 40 seconds later, and the old failure came back with no banner.

The banner itself was stated as fact and never cleared. A waiting room or a call where everyone joins muted can play exact zeros with consent on.

## The second version

The proof is now stored when a recording stops, if the tap heard sound during it. The check runs for the whole recording, and the counter resets whenever nothing is playing.

The first real sound clears the banner at the next check. Its text now says "If the other side is talking" before it names the switch, and it never replaces another warning.

The second round passed on November 28. The author's run had 301 tests and 0 failures; the reviewer read that log rather than rerun it.

## What is still open

The fix is built as version 0.2.41. As of November 30 it had not reached my own Mac yet, and her signed copy was not made.

Two of the open items matter most here. A stale allowed flag from the old probe is never cleared, so her own Settings may still say allowed.

Nobody has measured how often the banner fires on a real call with consent on. That number decides whether people learn to ignore it.

## The problem this came from

A Core Audio process tap without consent starts and runs but delivers only silence, so a permission check that waits for an error never sees one.

[Pheme](https://sonpiaz.com/projects/pheme) · Building

Writes meeting notes for Vietnamese teams without joining the call.

→ https://sonpiaz.com/projects/pheme
