0013 — LESSONS.md for this repo #40
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
Create
LESSONS.mdat the repo root. This file is the long-loop feedback mechanism for this repo — patterns noticed during active development get written here, and repeated patterns graduate to standing rules.File structure:
Graduation rule: When three or more entries cover the same pattern, the human reviews and promotes the pattern to the appropriate standing location: CONTEXT.md for domain-level principles,
core/instructions/coding.mdfor coding conventions,core/instructions/git.mdfor git conventions, orcore/instructions/testing.mdfor testing conventions. The graduated entries are marked[graduated → target file]rather than deleted (audit trail).Who writes to it: The session-handoff skill (Chunk 3) prompts LESSONS.md extraction before closing a session. The human may also write directly.
What belongs here: Non-obvious observations — a rule that was misapplied, a pattern that caused friction, a decision that turned out wrong in practice. Not summaries of what was built (that's git history) or planned changes (that's issues).
Acceptance criteria
LESSONS.mdexists at repo root with the structure aboveBlocked by
None.