{"version":"2.1.238","anchor":"artifact-auto-reply-state-written-into-the-transcript-so-it-","canonical_anchor":"artifact-auto-reply-state-written-into-the-transcript-so-it-","heading":"Artifact auto-reply state written into the transcript so it survives resume and fork","tier":"soon","area":"Artifacts","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238\/e\/artifact-auto-reply-state-written-into-the-transcript-so-it-","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238","markdown":"### Artifact auto-reply state written into the transcript so it survives resume and fork\n\nAutomatic replies to artifact comments would survive resume and fork, but the opt-in is off by default.\n\n**What**\n\nTwo new record types are appended to the session transcript so that automatic replies to artifact comments carry across resume, fork and clear, and so a session can hand its intent to a successor. Reachable only where the artifact comment auto-reply opt-in is on: `CLAUDE_CODE_ARTIFACT_COMMENTS_AUTOREACT`, or the `tengu_sorrel_trellis` flag, whose compiled fallback is false.\n\n**Details**\n\n- `artifact-autoreact-ledger` holds per-artifact thread state, seen and sent state, turn timestamps and an interrupted flag, scoped to the account uuid, with a roughly 160 KB budget and progressive shedding, debounced writes and a re-stamp on exit.\n- `artifact-comment-monitor` holds armed or stopped intent per artifact, with parked lines belonging to other sessions and a torn-tail variant that downgrades armed rows to stopped.\n- A ledger written under a different account is downgraded on load, reported as `ledger_foreign_account`; write failures report `ledger_write_failed`.\n\n**Evidence**\n\n`artifact-autoreact-ledger`, `type: \"artifact-autoreact-ledger\"`\n\n- Flag `tengu_sorrel_trellis`: Off by default, switched on for this account (read for one account on one subscription tier against v2.1.238; this account: on, anonymous baseline: on, compiled default: off)\n- Area: Artifacts\n- Names: `CLAUDE_CODE_ARTIFACT_COMMENTS_AUTOREACT`\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 4\/5\n- Present in the build but not switched on"}