3 Commits

Author SHA1 Message Date
PrimeBuild-pc b3cd418864 fix: keep a completion status until it fades, not until the finally
Success was invisible while failure stayed on screen. An apply set its result
with SetStatus(message, isBusyState: false), and the operation's own finally
called ClearStatus, which blanked it before it could be read; failures go
through SetCriticalStatus, which is preserved. The only surviving signal was
the toast, and success toasts are exactly what users switch off.

Fixed in ClearStatus rather than in the callers: the affinity path had already
lost its ClearStatus, but priority, memory priority, I/O priority and registry
enforcement all route through the same finally and were still silent. A
completion message is not busy state and already carries its own fade
lifetime, so clearing it there was never right for any caller.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-26 23:38:13 +02:00
Prime Build 7953fc7774 Refactor repo with ponytail cleanup (#31) 2026-06-24 17:52:45 +02:00
Prime Build 9f56303e93 CPU topology v2 phase 7: improve affinity errors and priority guardrails (#13)
Improve affinity errors and priority guardrails

Centralize safe user-facing messages for process affinity, CPU Sets, protected processes, access denied cases, topology errors and priority guardrails.

- Add CpuSetApplyResult detailed path while preserving existing bool CPU Sets APIs
- Use detailed CPU Sets results in the CpuSelection affinity flow
- Centralize affinity/priority messages in ProcessOperationUserMessages
- Improve AccessDenied, anti-cheat/protected, invalid topology, process exited and legacy fallback blocked messages
- Add High priority warning
- Block Realtime priority for direct apply, profile load and registry priority requests
- Audit and log blocked Realtime priority attempts
- Prevent critical status messages from being cleared immediately
- Add tests for affinity messages, CPU Sets detailed failures, priority guardrails and status clearing

No persistent rules engine, registry affinity, preset/profile migration, version or tag changes.
2026-05-20 16:03:34 +02:00