aboutsummaryrefslogtreecommitdiff
path: root/docs/saved-query-sync-spec.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-07 00:46:29 -0500
committerCraig Jennings <c@cjennings.net>2026-06-07 00:46:29 -0500
commiteef4b44b461a21fb99eedc4a70cb3f25fc536ba9 (patch)
tree4197b2dcbbdc7febd50580745f9af4ae25549cf8 /docs/saved-query-sync-spec.org
parentfef03a1f4f19c45a31928989aecb4ff8a47cea4a (diff)
downloadpearl-eef4b44b461a21fb99eedc4a70cb3f25fc536ba9.tar.gz
pearl-eef4b44b461a21fb99eedc4a70cb3f25fc536ba9.zip
fix(scripts): seed column types for board order, healing type drift
The seed put Triage on the unstarted type and Backlog on the backlog type. Linear's board orders columns by type category first (backlog before unstarted) and only then by position, so it grouped Icebox and Backlog together and pushed Triage to the right of Backlog. Position couldn't fix it: a state's type is immutable (workflowStateUpdate takes name, color, description, and position only), so the columns had to be retyped at the source. To make the board read Icebox, Triage, Backlog, two of the three pre-work columns have to be the backlog type and the third the unstarted one Linear renders last. So Icebox and Triage are now backlog and Backlog is the team's unstarted state, which also satisfies Linear's rule that a team keep one. Since type can't change in place, the reconcile gained a recreate path: a column found with the wrong type gets a fresh state of the right type, its issues moved over, and the old one archived. The phases are ordered so a new unstarted state exists before the old one is archived, and so a name is freed before another column reuses it. That lets a re-run heal a workspace seeded under the old layout, which is how I fixed the live one (Triage and Backlog recreated, 32 issues moved). Matching now prefers a type-correct state and only recreates when there's none, so the same targets build a fresh team and heal an existing one. pearl's own grouped view needed no change — it already orders sections the way Linear's board does, by type rank then position, so the migrated types sort it correctly.
Diffstat (limited to 'docs/saved-query-sync-spec.org')
0 files changed, 0 insertions, 0 deletions