How we built a Linear coding agent: the hard parts
Building a production coding agent that lives in Linear. Wrapping Claude Code and Codex as child processes, surviving state loss from archived threads, chaining three fallback parsers for structured LLM output, debugging session IDs that break on working directory changes, and testing everything against in-memory replicas of Linear and GitHub.