claude-plugins: rename notes-hygiene to state-hygiene

This commit is contained in:
damocles 2026-07-27 12:57:55 +02:00 committed by mara
commit 2bd1b0a3d5
4 changed files with 8 additions and 8 deletions

View file

@ -7,9 +7,9 @@
},
"plugins": [
{
"name": "notes-hygiene",
"name": "state-hygiene",
"description": "Read-before-write discipline and dated-archive convention for durable agent notes/state files - use before archiving, overwriting, or pruning any notes/state file.",
"source": "./plugins/notes-hygiene",
"source": "./plugins/state-hygiene",
"category": "productivity"
}
]

View file

@ -1,5 +1,5 @@
{
"name": "notes-hygiene",
"name": "state-hygiene",
"description": "Read-before-write discipline and dated-archive convention for durable agent notes/state files.",
"author": {
"name": "hyperhive"

View file

@ -1,9 +1,9 @@
---
name: notes-hygiene
name: state-hygiene
description: Enforces safe handling of an agent's own durable state/notes files (e.g. state/notes.md, state/TODO.md, or anything else under state/ meant to survive a container restart) - read the file before archiving, overwriting, or pruning it, split resolved work into small dated archive files instead of growing one giant live file, and never shell-pipe-append (>>) into a notes file. Use this whenever you are about to write to a durable notes/state file, especially right before a context-compaction checkpoint, when told to "flush state" or "write down anything relevant", or when a live notes file has grown large and needs an archive pass.
---
# Notes Hygiene
# State Hygiene
Durable notes/state files (your `CLAUDE.md`, `state/notes.md`, `state/TODO.md`,
and anything else under `state/`) are your memory across container resets and