A new agent SDK adds two-step writes, idempotency keys, and GitLab-safe mutations
its_artur1 · reddit · 2026-07-24
The hard part of letting agents act on issue trackers is not the API call — it is everything around it: retries, stale reads, provider-specific states, and showing humans the exact write before it happens.
- The author built work-sdk around a two-step boundary: prepareUpdate(...) first, then commit(...) with an idempotencyKey.
- v0.3.0 supports GitHub, GitLab, Linear, Jira, and Azure DevOps.
- The GitLab adapter refuses to create unknown labels, and non-native issue types must be mapped explicitly instead of guessed.
- Idempotency keys are bound to one normalized intent, so reusing a key for a different write now conflicts instead of replaying the wrong receipt.
- The repo is MIT licensed, uses Codex for some implementation/testing help, and the author says 172 SDK tests are green.
The post ends by asking which issue-tracker mutations should be allowed autonomously and which should always require approval.
More from coding & agent
- Local coding agents depend on far more than a model running on your laptop — bibryam · 2026-07-24
- Qwen-Code v0.21.0 adds workspace switching, subagent views and telemetry fixes — qwen-code-ci-bot · 2026-07-24
- Independent builders and AI-assisted software dev are becoming a real category — YvesMulkers · 2026-07-24
- A robot end-effector is the API layer for the physical world — lukas_m_ziegler · 2026-07-24
- OpenAI Codex App wires up Anthropic’s Economic Index and builds an SVG chart — dfinke · 2026-07-24
- Developer says they coded on a bike with AirPods using ChatGPT voice mode and remote Codex — pbbakkum · 2026-07-24