Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions OPERATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,22 @@ shasum -a 256 mac/readonly_gate.py ~/streamwatch/readonly_gate.py

Do not replace either project with an unvalidated binary during active listening. If a collector upgrade changes the schema, take a SQLite backup first and run a smoke test before leaving it unattended.

## With and without a log-privacy profile

A log-privacy profile is a configuration profile that makes macOS write the private parts of log messages in full, where it normally writes `<private>`. It is listed under **System Settings → General → Device Management**, and `profiles list` shows it. StreamWatch works either way. What changes is what Music's log holds, and so what the collector reads and what the agent can ask for.

| | Without a profile (the macOS default) | With a profile |
|---|---|---|
| Formats, track boundaries, queue predictions, scoring RateCue | Works | Works the same |
| The track title in Music's `mediaFormatinfo` record | `<private>` in the log | In the log. The collector replaces it before storing the line, and the gate and the agent replace it again in every result |
| `log show` through the gate | Public fields | Everything Music logged. Its store, account and network subsystems then carry account identifiers and web addresses |
| An agent with a local model | Sees what the gate returns | Sees the same, and it stays on your network |
| An agent with a hosted model | Is sent only the playback and audio subsystems | The same filter applies. This is the case it exists for |

Both columns were run on one appliance: the profile was installed for the first three days of collection and then removed. Formats, queue predictions and scoring carried on unchanged across the removal, which took effect within minutes and needed no restart. The LosslessSwitcher-method columns (`ls_*`) have not been compared between the two.

Run without a profile unless another tool on the appliance needs one: less is written to the log, and nothing StreamWatch records depends on it. With a profile installed and a hosted model, read [Hosted models](SECURITY.md#hosted-models) first.

## Troubleshooting

### No `playback_events`
Expand Down
Loading