Repository navigation
The record shows as a dot on the mark, and the Record switches have an API - #1
Merged
Merged
Conversation
…n API
A red dot at the mark's lower right: filled while the Mac records, a ring while the record is
paused, none while it is off. Recording no longer turns the mark orange, so a camera turned on
during an all-day record still shows.
`record.state()` and `record.set({…})` on the local socket and through the lend. Turning a
source off is always allowed; turning one on is a use of that power under its existing switch
(Off refuses, Ask asks, Shared does it) and shows in Activity. `AppModel.use` now decides
through the pure rule `UseGate.decide`, which has tests.
Session: claude b0eec5e0-9c0a-43e6-bf1b-01b7e83c523c on jonas-macbook-pro
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
record.state()answers the switches, whether it records or is paused, the state line, the tracks, the waiting slots and the mind and device. Reading it is no use of the Mac's powers.record.set({ screens?, cameras?, mics?, speakers?, windowText? })answers the new state. Turning a source off is always allowed. Turning a source on is a use of that power under its existing switch, as a snapshot or a listen is: Off refuses, Ask asks the person, Shared does it, and it shows in Activity. Screens and Speakers go by the screen's switch, Camera by the camera's, Microphone by the microphone's, Window text by the accessibility switch.state()includesrecord: { recording, paused, line }.Why
Jonas, 21 Nov 2026: "the mac app should show in menu bar when it's recording also". And the iterate mind's rule that every operation has an API for the member's own agent: the Record switches were in the panel only.
Proof
swift build,swift test(74 tests, 8 new: the mark's states and the rule for turning a source on),node --checkon the bridge's scripts.--render-iconson a light and a dark bar, for every ink with and without each dot, and looked at.Not proven yet (needs the installed app): where the dot sits on the real button, and
record.setunder Off, Ask and Shared.Risk map
AppModel.usenow decides through the pure ruleUseGate.decide(Sources/VoiceMeetCore/RecordRule.swift). It must answer exactly as before for every existing method: Off refuses, a missing macOS permission refuses, Ask without an approval asks. The tests cover the rule; the wiring is read, not tested.record.setlets a mind turn a recording on. It can do so only where the owner's switch for that power allows a use, and each time shows in Activity.Session: claude b0eec5e0-9c0a-43e6-bf1b-01b7e83c523c on jonas-macbook-pro
🤖 Generated with Claude Code