fix(persona): gate runtime projection by repository binding

This commit is contained in:
冰朔 2026-08-12 02:42:17 +08:00
commit ebe12763f1
6 changed files with 111 additions and 15 deletions

View file

@ -1262,9 +1262,9 @@ Managed by `useSettings` hook and `SettingsPanel` component. `theme_mode` is ins
- **AI feature visibility**`ai_features_visibility_changed` records only whether installation-level AI surfaces were enabled or hidden.
- **Automatic update checks**`automatic_update_checks_changed` records only whether startup/background update checks were enabled or disabled.
- **All Notes visibility**`all_notes_visibility_changed` records only the toggled category and enabled state.
- **Persona runtime projection**`persona_runtime_projection_loaded` and `persona_runtime_projection_retry`
record only coarse phase and count fields. Repository paths, persona session ids, event hashes, and runtime
attribution are never sent.
- **Persona runtime projection**`persona_runtime_projection_gated`, `persona_runtime_projection_loaded`,
and `persona_runtime_projection_retry` record only coarse phase and count fields. Repository paths, persona
session ids, event hashes, and runtime attribution are never sent.
### Tauri Commands
- **`reinit_telemetry`** — Re-reads settings and toggles Rust Sentry on/off. Called from frontend when user changes crash reporting setting.