36 lines
1.6 KiB
Markdown
36 lines
1.6 KiB
Markdown
---
|
|
description: End-of-session ritual — update AGENTS.md under its constitution and hand back a clean state.
|
|
---
|
|
|
|
Close out this session properly. The working file is the deliverable that
|
|
outlives the session; a session that ends without updating it has lost its
|
|
reasoning.
|
|
|
|
1. **Re-read `AGENTS.md`** — the constitution at the top, then Current Truth.
|
|
|
|
2. **Update Current Truth in place** wherever this session made a section stale:
|
|
environment, decisions, the §4 register, open questions, risks. Re-stamp any
|
|
fact you re-verified with today's date. A stale date means it needs
|
|
re-checking, so do not leave a date you did not earn.
|
|
|
|
3. **Append one Change Log entry**, newest first, covering:
|
|
- what was discussed, decided, changed, or planned — **decisions and plans
|
|
count even if no code was written**
|
|
- old → new for every change, and why
|
|
- findings you declined, with the reasoning
|
|
- anything deferred, and where it is now tracked
|
|
- questions closed and questions opened, by number
|
|
|
|
**Never edit a past entry.** If something earlier was wrong, correct it in
|
|
today's entry and leave the original as written.
|
|
|
|
4. **Check §12 Standing Reminders.** Is anything now due? Should something new
|
|
be added — a decision Pouya parked, or one you made on his behalf that he has
|
|
not yet ratified?
|
|
|
|
5. **Leave the tree clean.** `git status` should show only intended changes. No
|
|
stray build output, no `.env`, no credentials, no `aws-inventory.txt`.
|
|
|
|
6. Report: what changed in `AGENTS.md`, what is open, and the single most useful
|
|
next action.
|