Redence capability: External API integration (Integration)
Repo: Flavian · Stack: Node.js, Figma REST/Dev Mode API, scripts/wordpress/figma-fse
Substantive change: Harden the Figma Dev Mode API client used during token extraction. Add real integration logic: typed request/response handling for the Figma file/nodes endpoints, retry with exponential backoff + jitter on 429/5xx, respect of rate-limit headers, auth-token validation with a clear error on missing/expired PAT, and graceful degradation when a node lacks Dev Mode data. Add a mocked-API test (no live network) asserting the retry/backoff path and the error handling behave correctly. Real logic change — diff_judge rejects docs/comment-only diffs.
Done when: the client implements retry/backoff + header-aware rate limiting + typed errors, and the mocked-API tests pass.
Proof token: paste the current token from the Redence "External API integration" verify page into the commit/PR.
Redence capability: External API integration (Integration)
Repo: Flavian · Stack: Node.js, Figma REST/Dev Mode API, scripts/wordpress/figma-fse
Substantive change: Harden the Figma Dev Mode API client used during token extraction. Add real integration logic: typed request/response handling for the Figma file/nodes endpoints, retry with exponential backoff + jitter on 429/5xx, respect of rate-limit headers, auth-token validation with a clear error on missing/expired PAT, and graceful degradation when a node lacks Dev Mode data. Add a mocked-API test (no live network) asserting the retry/backoff path and the error handling behave correctly. Real logic change — diff_judge rejects docs/comment-only diffs.
Done when: the client implements retry/backoff + header-aware rate limiting + typed errors, and the mocked-API tests pass.
Proof token: paste the current token from the Redence "External API integration" verify page into the commit/PR.