Skip to content

Commit f252f54

Browse files
JuliaEdomclaude
andcommitted
chore(hygiene): guard the root session-handoff entry point
The working handoff now lives at `/_NEXT_SESSION.md` (root) instead of `docs/NEXT_SESSION.md`, so that a fresh session's first-pass scan of the project root finds it without being told where to look. It is kitchen, not product: add it to .gitignore and teach the hygiene gate to flag it, the same way the gate already flags root audits, planning notes and the old docs/ handoff. Self-test covers the new pattern (9 flagged / 7 clean). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 823e4f3 commit f252f54

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ reviews/*.err
116116
/plan_*.md
117117
/_ref_*
118118
/[0-9][0-9]_[0-9][0-9]_[0-9][0-9].md
119+
/_NEXT_SESSION.md
119120
/docs/NEXT_SESSION.md
120121
/docs/SESSION_HANDOFF.md
121122
/docs/data_flow.*

scripts/check_repo_hygiene.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ def classify(path: str) -> str | None:
4040
return "internal root-level planning note"
4141
if path.startswith("_ref_"):
4242
return "internal root-level reference scratch"
43+
if path.startswith("_NEXT_SESSION"):
44+
return "internal session handoff (root entry point)"
4345
if _DATE_NOTE.match(path):
4446
return "internal root-level dated session note"
4547
if path == "docs/NEXT_SESSION.md":
@@ -81,6 +83,7 @@ def self_test() -> int:
8183
"plan_for_pres.md",
8284
"_ref_presentation3.html",
8385
"27_05_26.md",
86+
"_NEXT_SESSION.md",
8487
"docs/NEXT_SESSION.md",
8588
".claude/settings.json",
8689
"scratchpad/tmp.py",

0 commit comments

Comments
 (0)