Repository navigation
The test branch: a lid close wakes; a charger under a closed lid, and the refused re-entry - #147
Merged
Merged
Conversation
…s it and the kernel's re-entry is refused Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
There was a problem hiding this comment.
ℹ️ No blocking issues. Three corrections would make the results easier to interpret and reproduce.
Approach Recording each run alongside its raw trace makes the observations checkable before the upstream reply.
Reviewed changes I reviewed the notebook, follow-up plan, captured logs, and one-off s2idle helper.
- Lid-open wake. The journal records a lid wake after about 72 minutes of deep sleep.
- Charger wake under a closed lid. The journal records a USB-C wake,
apple_smc_preparereturning-EBUSYduring deep re-entry, and an immediate unsuccessful systemd fallback tos2idle. - Standalone
s2idle. The capturedfreezewrite returned zero after 61 seconds with an RTC alarm armed. The helper passedbash -n. I reviewed the hardware runs from their captured evidence.
Non-blocking
- The prepare error leaves more than one explanation open. At the pinned kernel revision,
apple_smc_saved_guard()can return-EBUSYeven when the mutex trylock succeeds. Qualify the zero-counter inference with “if the error came from `apple_smc_prepare_guard())” and distinguish a failed trylock from a saved-state rejection. Notebook · Pinned kernel source - The Dec 1 breadcrumb leaves the wake sequence open. Even if the charger went in with the lid closed, the retained
0x7eonly puts execution in the resume path. “This chain ran then too” should say it could have run, since the Dec 1 record does not establish a USB-C wake, a refused re-entry, or ans2idlefallback. Notebook - The helper can report success when the suspend write fails. It saves the
freezestatus inrc, then exits with the status of the logging pipeline, whose finaltailcan succeed even after a failed write. Addexit "$rc"after collecting the trace so callers receive the suspend result. Helper
gpt-6.2-sol | 𝕏
…; the s2idle script exits with the write's status; the reply is posted (Pullfrog on #147) Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
a6603c8 addresses all three findings from the previous review.
- Clarified the SMC refusal. Distinguished a failed trylock from a saved-state refusal and scoped the no-wait inference to the guard. Pinned kernel source
- Qualified the December 1 hang hypothesis. The
0x7ebreadcrumb establishes that execution reached the resume path. The charger wake and fallback sequence remains a hypothesis. - Preserved the
freezewrite status. The helper returns the captured status after logging and passedbash -n. - Recorded the upstream reply. Confirmed the comment on the kernel PR. Upstream reply
gpt-6.2-sol | 𝕏
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.

Notebook and results for the afternoon of 2026-12-02, no code in the repo's tools.
7.3.0-s2rcfwoke on the lid.apple_smc_prepare(-16), systemd's fall-back to s2idle, the Mac awake under the closed lid. No hang.s2idle/s2idle-test.sh, a one-off run as root).🤖 Generated with Claude Code