close
End-of-session protocol โ push, checkpoint, CHANGELOG, docs, todo
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
End-of-session protocol โ push, checkpoint, CHANGELOG, docs, todo
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Full deploy pipeline โ test, typecheck, deploy to HAOS, smoke test
Session start protocol โ workflow gates, pending work, status report
Structured investigation โ HA logs, API trace, code trace. No code changes until approved.
Bump version, publish to PyPI, create GitHub release, update HACS manifest
Dispatch 8 parallel agents for full codebase review (line-level + architecture)
| name | close |
| description | End-of-session protocol โ push, checkpoint, CHANGELOG, docs, todo |
Session closing skill. Invoke with /close at end of session.
git log --oneline origin/master..HEAD
If commits exist:
git push
If this session shipped user-visible changes that are not yet
released to PyPI, add or extend an ## Unreleased section at the
top of CHANGELOG.md.
Group entries under the existing taxonomy:
One bullet per logical change. Lead with the WHAT and a short WHY. Use existing CHANGELOG entries as tone reference โ concise, direct, no marketing fluff.
Skip only if the session was purely internal (docs-only, test-only, tooling that doesn't affect users). When skipping, say so in the final report.
Find the active checkpoint (status: active in docs/checkpoints/).
Add a new session section ## Sn: Descriptive Title (YYYY-MM-DD).
Content for each session section:
Use existing checkpoint sections as format reference. Be concise but complete โ the checkpoint is the permanent record.
Count session headers (## S) and total lines in the active
checkpoint.
Rotate if ANY of:
Rotation procedure:
status: active to status: done in frontmatter.docs/checkpoints/YYYY-MM-DD-cpNN.md with status: active,
# CPNN, and a Previous: line summarizing the closed checkpoint.docs: close CPxx, create CPyy.Check if this session's work affects any of these. Only update if content has actually changed:
docs/architecture-client.md โ API client internals, proto codes,
modelsdocs/architecture-integration.md โ HA entity model, coordinator,
state machine, servicesdocs/automations.md โ example automations, HA service contractsdocs/hacking.md โ dev workflow, deploy paths, test commandsdocs/decisions.md โ new architectural decisions or design tenetsdocs/patterns.md โ new patterns, HA quirks, gotchasdocs/findings/*.md โ new reverse-engineered API behaviorCLAUDE.md โ project memory, engineering standards, protocol refSkip docs that weren't affected. Don't touch docs for cosmetic reasons.
Staleness check: grep active docs (docs/architecture-*.md,
docs/automations.md, docs/hacking.md, docs/decisions.md,
docs/patterns.md, CLAUDE.md) for references to renamed/removed
types, methods, proto codes, or changed patterns from this session.
Fix stale references. Don't touch docs/reviews/ or
docs/checkpoints/ โ historical records.
~/.claude/projects/-home-vjt-code-ha-ha-verisure/memory/ holds
user/feedback/reference memories only. Update if the session
produced new user preferences, feedback corrections, or external
reference pointers. Project findings belong in docs/findings/,
not auto-memory.
Skip if nothing new was learned.
Commit all doc changes:
docs: close session โ checkpoint + CHANGELOG + [whatever else]
Push to origin.
Tell the human:
verisure-release)