Skip to content

chore: update implementation checklist with lessons learned - #2081

Merged
steilerDev merged 1 commit into
betafrom
chore/lessons-learned-2026-09-08
Sep 8, 2026
Merged

chore: update implementation checklist with lessons learned#2081
steilerDev merged 1 commit into
betafrom
chore/lessons-learned-2026-09-08

Conversation

@steilerDev

Copy link
Copy Markdown
Owner

Summary

Lessons-learned sync for the v2.15.0 release (/release step 6). Adds the seven recurring review patterns found in product-owner, ux-designer, and product-architect memory that the checklist did not already cover.

Section Added
Frontend — Shared Components A component in components/ is not automatically shareable — one born inside a feature keeps that feature's i18n namespace and data-testid strings (#2060, PR #2063)
Frontend — React Hooks An epoch/generation guard protects only the returned value, never the side effects the injected callback performs on the way there
Backend — API Conventions A new env var must land in all four documentation sites; a stated variable count is a second drift surface a name diff cannot see (#1970, #1992, #2023, #2036)
Testing Every assertion must be able to fail (#1910, #1953, #2001)
Testing DataTable mounts desktop + mobile DOM simultaneously, so un-overridden testids exist twice (#2046, PR #2068; sweep deferred to #2069)
Testing A docs-only PR's green gates prove nothing — no CI job builds the docs site
Acceptance Criteria & Specs (new section) An AC whose premise contradicts the code is a defect in the acceptance record; premises go stale at pickup, not at filing

Candidates were checked against existing entries and rejected where already covered — e.g. focus-loss on self-disabling controls (covered by Focus management) and the ungated Prettier fact (already mandated by CLAUDE.md's Local Validation Policy).

Note on formatting

The diff is purely additive (15 insertions, 0 deletions). Prettier is deliberately not run on this file: it is not CI-gated for .claude/**, and the committed file uses *emphasis* where Prettier would rewrite to _emphasis_ — formatting it would produce nine lines of unrelated drift across untouched entries. The added lines follow the file's existing style.

🤖 Generated with Claude Code

Lessons-learned sync for the v2.15.0 release (/release step 6). Adds the
seven recurring review patterns present in product-owner, ux-designer and
product-architect memory that the checklist did not already cover.

- Frontend/Shared Components: a component in components/ is not
  automatically shareable -- it keeps its origin feature's i18n namespace
  and testids (#2060, PR #2063).
- Frontend/React Hooks: an epoch guard protects the returned value, never
  the side effects the injected callback performs on the way there.
- Backend/API Conventions: an env var must land in all four documentation
  sites, and a stated variable count is a second drift surface.
- Testing: every assertion must be able to fail; DataTable mounts desktop
  and mobile DOM simultaneously so un-overridden testids exist twice; a
  docs-only PR's green gates prove nothing because no CI job builds the
  docs site.
- New section, Acceptance Criteria & Specs: an AC whose premise
  contradicts the code is a defect in the acceptance record, and premises
  go stale at pickup rather than at filing.

The diff is purely additive. Prettier is deliberately NOT run on this
file: it is not CI-gated for .claude/**, and the committed file uses
*emphasis* where prettier would rewrite to _emphasis_, so formatting it
would produce nine lines of unrelated drift. The added lines follow the
file's existing style.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@steilerDev
steilerDev merged commit b91a804 into beta Sep 8, 2026
13 checks passed
@steilerDev
steilerDev deleted the chore/lessons-learned-2026-09-08 branch September 8, 2026 08:55
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.15.0-beta.7 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.15.0 🎉

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant