{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreihhew7ylix2iyn6xnokq7pafbe5boxgfplzorgeakaf43cz2py63q",
"uri": "at://did:plc:kzt7sa3rmmhsgeipfzse4tnl/app.bsky.feed.post/3mf4hk6aozig2"
},
"coverImage": {
"$type": "blob",
"ref": {
"$link": "bafkreihgofn3urfmppr5daehkeu5od6va745rmb5jmcsvpboxexb2wv74m"
},
"mimeType": "image/png",
"size": 632887
},
"path": "/posts/2026-02-13-linear-agent-loop/",
"publishedAt": "2026-02-13T00:00:00.000Z",
"site": "https://damiangalarza.com",
"textContent": "Running agent loops inside Claude Code causes context rot. This bash-based approach starts each iteration with a fresh context window, pulling issues from Linear, building features, running code review with subagents, and opening pull requests autonomously.",
"title": "Building a Linear-Driven Agent Loop with Claude Code"
}