DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to test lid-close behavior before a long unattended run with Insomnia

Run a short watched session and check the lid-close actions and log before trusting it overnight.

Short answer: Open Settings from the right-click menu on the eye and review the lid-close actions and the freeze list; then follow the section in docs/lid-close.md on testing lid actions without closing the lid; start a short session from the eye, watch the countdown, then end it early by pressing and holding the end control. All steps.

Who it is forA user who has just installed Insomnia and wants to confirm how it treats the display, apps, audio and Low Power Mode before leaving a Mac unattended.

The problemLid-close actions such as freezing apps and muting audio change how the Mac behaves, and a first run without checking can surprise the user.

The outcomeThe user knows which lid-close actions are on, has seen one short session end cleanly, and has read the log for any problems.

What you need first

  • A Mac with Apple Silicon running macOS 26 or later
  • Your administrator password, because the installer adds a sudoers rule
  • Terminal access, and optionally Xcode with Swift 6.2 or later if you build from source
  • A stable, well-ventilated surface for the Mac during a session, as the README advises

Steps

  1. Open Settings from the right-click menu on the eye and review the lid-close actions and the freeze list.
  2. Follow the section in docs/lid-close.md on testing lid actions without closing the lid.
  3. Start a short session from the eye, watch the countdown, then end it early by pressing and holding the end control.
  4. Open ~/Library/Logs/Insomnia/insomnia.log and check that each change was undone.
  5. Check the menu for any recovery warning before you use the Mac for a long run.

Prompt for your agent

In the repo https://github.com/krishhgg/Insomnia, read docs/lid-close.md and docs/recovery.md, then tell me which lid-close actions are on by default for this Mac. Output a short checklist for a test session of <test-minutes> minutes. Verify the checklist against the README before reporting.

Caveat. The README says the built-in microphone disconnects in hardware when the lid is closed on Apple silicon or T2 Macs, so meeting recording with the lid closed needs AirPods or an external mic.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for krishhgg/Insomnia and "Test lid-close behavior before a long unattended run"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer