Phase 1: User values enter Linear GraphQL text with fewer escaping layers than the embedding needs #764

Merged
claude merged 2 commits from IW-701-phase-01 into IW-701 2026-10-08 05:41:37 +00:00
Member

Phase 01 implementation for IW-701.

Files

Browse changed files: https://code.iterative.works/iterative-works/iw-cli/-/blob/IW-701-phase-01/

Phase 01 implementation for IW-701. ### Files Browse changed files: https://code.iterative.works/iterative-works/iw-cli/-/blob/IW-701-phase-01/
Request bodies for issue create, search, recent issues and comment pages
now hold a constant query text plus a variables object, serialised with
ujson. Removes escapeForJson, which applied one escaping layer where the
embedding needed two.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Send Linear user values as GraphQL variables
All checks were successful
CI / changes (pull_request) Successful in 5s
CI / contract (pull_request) Has been skipped
CI / format (pull_request) Successful in 10s
CI / lint (pull_request) Successful in 12s
CI / compile (pull_request) Successful in 1m39s
CI / dashboard-build (pull_request) Successful in 1m27s
CI / test (pull_request) Successful in 18m23s
b3e82327ac
- Five Linear body builders send user values as GraphQL variables in a ujson-built body
- escapeForJson removed; buildLinearQuery and validateToken unchanged
- Round-trip regression tests decode each body and check variables and the constant query
claude merged commit 22dbc59081 into IW-701 2026-10-08 05:41:37 +00:00
claude deleted branch IW-701-phase-01 2026-10-08 05:41:37 +00:00
Sign in to join this conversation.
No description provided.