| name | update-daemon-docs |
|---|---|
| description | Reminder to update EXPERIMENT_DAEMON.md after making daemon-related changes. Use this skill proactively after modifying files in tests/daemon_tests/, rewatch/src/daemon/, rewatch/src/client/, or rewatch/proto/. |
After making changes to daemon-related code or tests, you should update rewatch/EXPERIMENT_DAEMON.md to keep the documentation current.
First, check if EXPERIMENT_DAEMON.md exists - you might be on a different branch where it doesn't exist:
test -f rewatch/EXPERIMENT_DAEMON.md && echo "File exists" || echo "File does not exist"If the file doesn't exist, skip this skill.
Based on your changes, update the relevant sections:
- Test files table (around line 565-590): Add or update the entry for your test file
- Future Test Scenarios (around line 690): Move items from "Not yet covered" to "Covered scenarios" if applicable
- How It Works section: Update relevant subsections
- File Structure: Update if you added new files
- DaemonEvent Variants: Update if you added new events
- Client Module section: Update descriptions
- File Structure: Update if you added new files
- DaemonEvent Variants: Update the event list
- Event System section: Update if the event architecture changed
From the document itself:
Every code change to daemon/client architecture should have a matching update to this document.
The document reflects the absolute latest state - not history. When updating:
- Do NOT keep completed todo items or historical notes
- Do NOT add "done" markers or timestamps
- Remove items from "Not yet covered" when they become covered - don't leave them with a checkmark
- The document should read as if it was written fresh today describing the current system
- If a feature is implemented, it belongs in the "Covered scenarios" list, not crossed off in "Not yet covered"
Keep descriptions concise - bullet points over prose, no fluff.