You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
All targets build in the Swift 6 language mode. Two pre-Sendable Foundation types
that are documented thread-safe when used the way this codebase uses them — a FileManager instance never mutated after creation, a date formatter configured once and
only read from — are marked nonisolated(unsafe) at their one call site each. No
concurrency behaviour changes; the compiler now checks the claims the code already made
in comments, such as IdleTracker's internal locking.
Documentation
Audit finding 5 is confirmed intentional, not a gap. A parent whose session children
are a rotating cast of short-lived helpers (sh -c …, curl, leak plumbing) rather than
one persistent process can never produce a readable CPU idle signal, because IdleTracker needs to see the same pid twice. That keeps the parent's session signal
permanently unreadable, which AGENTS.md already requires the emergency override to
respect. TransientSessionChildTests pins this down; no behavior changed.