edit-heatlisted
Install: claude install-skill PowerpBoxCaptain/edit-heat
# edit-heat
Hooks record every Edit/Write with the session that made it. An edit to a file that ANOTHER LIVE session edited
in the last 30 minutes is refused, because that session's work is probably not committed yet.
## When an edit is refused
**EH-001 BLOCKED** (another live session edited this file):
1. Stop. Do not get around it: no shell redirect, no `sed -i`, no copy-and-rename, no `EDIT_HEAT=off`.
2. Tell the user which file and which session (the refusal names both), and what you were about to change.
3. Only the user decides who owns the file. If they say it is yours, run the `release` command the refusal
prints, then retry. A release lasts one window (30 minutes).
**EH-002 HOLD** (the file changed on disk minutes ago and no session recorded it: a script, an editor, another agent):
1. Re-read the part of the file you are about to change. Your earlier view of it may be stale.
2. Check your edit still applies, then run the `release` command the refusal prints, and retry.
## At session start
If the session start says another live Claude Code session is on this machine, say what you intend to work on
before multi-file work. Two sessions resumed from one conversation can hold the same task.
## Look
```sh
node <skill-dir>/guard.mjs status # live sessions and files edited in the last 30 minutes
```
## What it does not do
- It sees edits made through Edit, Write and NotebookEdit. Shell writes are not recorded; EH-002 catches the
recent ones as a speed bum