P1.4 · One-way pull: full + incremental, note template
Ships v0.1 (free MVP)
What
Two commands:
Linear Sync: Pull all from team— fetch every non-triage issue and write one note per issue under the target folder.Linear Sync: Pull incremental— useupdatedAtcursor stored in plugin data to fetch only changed issues since last run. Default: auto-run every 10 min in the background.
Note template
---
linear_id: KAI-12
team_key: KAI
state: Todo
priority: 2
labels: [Integration, Bug]
assignee: Aspera-NonEs
url: https://linear.app/kainepm/issue/KAI-12
updated_at: 2026-04-22T14:22:00Z
synced_at: 2026-04-22T14:25:00Z
---
# {issue.title}
{issue.description in markdown}
Acceptance criteria
- Pulling 50 issues produces 50 notes, filenames sanitized via
sanitizeFileName(identifier + " " + title). - Re-running "Pull all" on unchanged issues is a no-op (no file writes, no flicker in the editor).
- Incremental pull uses
updatedAtcursor correctly — new issues appear, old ones update, nothing is re-fetched unnecessarily. - Auto-sync can be disabled in settings.
- Updated
- 2026-04-22