Skip to content
SprecherEast
Issue 447

process: Label PRs that change a shared component ("watch out")

Back to our plan
Done
ciprocesspriority: medium

Summary

Flag every PR that changes a shared component with a "watch out" label, so its reviewer checks every page that uses it, not only the one the PR is about.

Summary of the owner's request (2026-10-26, Claude Code session): if something important should be plugged in now, while the project is young, stop all current work, file a few GitHub issues or an epic, and plug in everything that suits the context and the project's aims and will pay off both soon and over time. The label is the owner's own convention (2026-10-26): a pull request that changes a widely shared component gets a flag label saying to watch out.

Details

  • Add a marker label shared-component to .github/label-policy.json ("Changes code many pages use: check every page that uses it").
  • .github/labeler.yml: apply it to changes under src/platform/ui/**, src/platform/richtext/**, src/platform/theme/**, src/themes/** and src/platform/lib/**.
  • pr-review skill: on a PR with the label, the visual check covers the pages that use the changed component (found with grep), not only the PR's pages.
  • docs/process/project-management.md: list the marker.

Acceptance criteria

  • Not done: A PR that touches src/platform/ui/ gets the label automatically; one that doesn't, doesn't.
  • Not done: PR Policy still passes (the label is a marker, not a type).
  • Not done: The pr-review skill says what the label asks of the reviewer.

Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab