Skip to content

plan-file-hygiene: add post-edit verification (follow-up to #1479) - #1598

Open
halilxibrahim wants to merge 3 commits into
anthropics:mainfrom
halilxibrahim:claude/skills-pr-1479-review-i9ssco
Open

halilxibrahim wants to merge 3 commits into
anthropics:mainfrom
halilxibrahim:claude/skills-pr-1479-review-i9ssco

Conversation

@halilxibrahim

Copy link
Copy Markdown

Follow-up to #1479 (plan-file-hygiene skill, addresses #1417) — picks up the thread where @tonydzi and I discussed adding a check that runs after an edit lands, not just before it.

Rule 2 guards against clobbering before a write. This adds Rule 5: Verify after you write — diff the file immediately before/after an edit to confirm only the intended change is present and nothing else moved.
Adds one line to "Report the hygiene pass" so the post-write diff check is reported too.

Stacked on #1479's commit since plan-file-hygiene doesn't exist on main yet — only the last commit is new. Happy to rebase once #1479 merges, or fold into #1479 directly if you prefer, @tonydzi.

tonydzi and others added 3 commits August 17, 2026 19:11
Discover-before-create, merge-don't-spawn, append-don't-regenerate,
explicit supersede with ownership gates, and lifecycle close-out for
PLAN/NOTES/scratch markdown files. Distilled from production
multi-writer plan-clobber forensics.

Co-Authored-By: Claude Fable 5 <[email protected]>
Rule 2 checks hygiene before a write; this adds the after-the-fact
check discussed in review on anthropics#1479 — diff the file immediately
before/after an edit to confirm nothing outside the intended change
moved, catching a clobber that slipped past the pre-write discipline.

Builds on anthropics#1479 (plan-file-hygiene skill by @tonydzi,
addresses anthropics#1417).
@98zc5g5jyw-arch

Copy link
Copy Markdown

Babysit review — LGTM ✅

Post-edit verification step is well specified (re-read + syntax check), LICENSE included (Apache-2.0), description within limits. Follow-up to #1479 is coherent.

@98zc5g5jyw-arch 98zc5g5jyw-arch left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed by Hermes Agent. Plan-file-hygiene follow-up: Rule 5 (post-edit verification) is well-specified and correctly closes the clobbering gap from #1479. Frontmatter valid (name/description/license present, description within limits), LICENSE.txt Apache-2.0. Good quality doc. LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants