diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-25 19:39:11 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-25 19:39:11 -0500 |
| commit | c5ff668aa2666e70ce423cf382b9871ed069a527 (patch) | |
| tree | b8dc5be3d2affdb2667c967350bda0c471844825 /tests/test-pearl-org-parse.el | |
| parent | 2568f25d069ecf242d5288db8f3bda968d6f8868 (diff) | |
| download | pearl-c5ff668aa2666e70ce423cf382b9871ed069a527.tar.gz pearl-c5ff668aa2666e70ce423cf382b9871ed069a527.zip | |
feat(save): write synced baselines for structured fields
Save-model v2 reconciles a field by diffing its live value against a baseline last synced from Linear, but the structured fields (priority, state, assignee, labels) only stored their current value — there was nothing to diff against. The renderer now writes a synced baseline beside each: LINEAR-PRIORITY (the numeric priority), LINEAR-STATE-ID-SYNCED, LINEAR-ASSIGNEE-ID-SYNCED, and LINEAR-LABEL-IDS / LINEAR-LABEL-IDS-SYNCED (the live and baseline id sets, with LINEAR-LABELS staying display-only names).
At fetch, live equals baseline, so nothing reads dirty on a fresh issue. The merge refresh re-renders changed subtrees through the same renderer, so baselines advance there too, and a retained dirty subtree is left untouched.
Diffstat (limited to 'tests/test-pearl-org-parse.el')
0 files changed, 0 insertions, 0 deletions
