Skip to content

docs(lessons): distil retrospectives#427

Merged
char0n merged 1 commit into
mainfrom
docs/distil-retrospectives-lessons
May 20, 2026
Merged

docs(lessons): distil retrospectives#427
char0n merged 1 commit into
mainfrom
docs/distil-retrospectives-lessons

Conversation

@char0n
Copy link
Copy Markdown
Member

@char0n char0n commented May 20, 2026

Summary

  • Replace the _(no lessons captured yet)_ placeholder in specs/lessons.md with 11 lesson bullets distilled from the two retrospectives currently in the repo (Phase 28 trusted-proxy, Phase 29 pdm→uv).
  • Each bullet ends with — captured from \specs/-/retrospective.md`` so future spec authors can trace any lesson back to the incident that produced it.
  • Future runs of /sdd-new-spec and /sdd-new-phase automatically load lessons.md, so these lessons reach the next spec author without further action.

Promotion candidate for specs/tech-stack.md (manual follow-up)

Phase 28's retrospective explicitly marked one lesson as ## Promotion candidate: yes — a load-bearing invariant of the two-actor authentication boundary:

The tk_ agent-key path must short-circuit before every human auth path that can set is_admin=True.

Suggested home: extend the existing "Authentication model (two actors)" bullet under ## Constraints and Conventions in specs/tech-stack.md so every future auth-chain change inherits the ordering rule. Promotion is a hand edit per .claude/rules/sdd-constitution.md; deliberately not done in this PR.

Test plan

  • git diff origin/main -- specs/lessons.md — confirm only specs/lessons.md is touched and the placeholder is replaced (not appended around).
  • Spot-check a few bullets against their source retrospectives (specs/2026-05-12-trusted-proxy-forwarded-identity/retrospective.md, specs/2026-05-20-migrate-pdm-to-uv/retrospective.md) to confirm they faithfully reflect the source.
  • grep -c '^- ' specs/lessons.md — expect 11.

Replace the lessons.md placeholder with 11 lessons distilled from the
two existing retrospectives (Phase 28 trusted-proxy and Phase 29
pdm-to-uv migration). Each bullet links back to its source retrospective
so readers can trace the lesson to the incident that produced it.

The tk_ agent-key short-circuit invariant from Phase 28 is flagged in
the PR body as a tech-stack.md promotion candidate but not promoted in
this PR — promotion is a manual edit per the SDD constitution.

Signed-off-by: Vladimir Gorej <vladimir@jentic.com>
@char0n char0n merged commit 9001346 into main May 20, 2026
5 checks passed
@char0n char0n deleted the docs/distil-retrospectives-lessons branch May 20, 2026 11:38
@arazzoenginebuilder
Copy link
Copy Markdown

🎉 This PR is included in version 0.13.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant