# Pending Figma sync (per-branch)

Tokens created in code that may not exist in Figma yet, one file per branch.
The `.claude/hooks/figma-token-sync` hook writes `<branch-name>.md` here when
an edit adds a token path under `src/tokens/`. Keeping one file per branch
means concurrent PRs never conflict on a shared ledger.

At release, `pnpm release:version` (`scripts/merge-pending-figma-sync.mjs`)
appends every row from these files into [`../PENDING_FIGMA_SYNC.md`](../PENDING_FIGMA_SYNC.md),
de-duped on theme + token, and deletes the files. Don't edit the ledger
directly for new tokens; let the hook and release handle it.
