Álvaro Tejero Cantero ec27ba5e4c
🐛 Guard branch stacking's quota, archived sources, and target names
Three gaps would surface once branches of branches are enabled:

- The branches-per-file quota counted a file's direct branches, so
  stacking escaped it. It now counts the live branches of the whole
  family, archived included, and creation locks the family so two
  creators cannot both take the last slot. The dashboard and header
  counts read the same set, and the dashboard popover lists archived
  branches too.
- A branch could merge into, be cut from, or update from an archived
  branch. Each path now refuses with :source-branch-not-open.
- The review route, compare banner, review header, and details named
  Main as the target of a child branch. They now name the parent.

AI-assisted-by: claude-opus-5-5
2026-11-23 21:41:50 +01:00
..