After Hours Stop

Stop an active /after-hours unattended loop for this repo. Kills the wake sleeper, finalizes the morning report, and marks state stopped. Use when the user runs /after-hours-stop or asks to cancel after-hours.

DCa23 Updated

File contents

After Hours Stop

Stop the unattended after-hours loop cleanly.

Steps

  1. Read .after-hours/state.md if it exists. If missing, say no active after-hours session and stop.
  2. If loop_pid is set, kill that PID (and its process group if needed). Await the shell task so completion notifications are consumed and do not wake the agent later.
  3. Set in state: status: stopped and clear loop_pid.
  4. Finalize docs/after-hours/YYYY-MM-DD.md using the started date from state:
    • Replace the Summary with what was accomplished, what was left unfinished, and suggested next human steps.
    • Do not delete existing commit sections.
  5. Confirm: stopped at iteration N, report path, branch tip if known.

Rules

  • Do not revert commits or delete the morning report.
  • Do not push unless the user explicitly asks.
  • You may edit only .after-hours/state.md and the morning report file.

DCa23/cursor-skills/tree/main/skills/after-hours-stop commit 4c82ab2d0a

Frequently asked questions

npx skillmds@latest add dca23/after-hours-stop