{"version":"2.1.265","anchor":"wire-ingest-context-added-to-round-trip-input-normalization","canonical_anchor":"wire-ingest-context-added-to-round-trip-input-normalization","heading":"Tool-use messages now record ingest context for input normalization","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265\/e\/wire-ingest-context-added-to-round-trip-input-normalization","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265","markdown":"### Tool-use messages now record ingest context for input normalization\n\nAssistant messages now carry a wire_ingest_context field recording what process state was used to normalize tool inputs\n\n**What**\n\nAssistant message serialization now carries a new `wireIngestContext`\/`wire_ingest_context` field alongside the existing `wire_tool_inputs`, filtered to only the keys present in a given tool's inputs. This records what client-side input normalization read from process state when producing a tool input, such as the current working directory a leading `cd` prefix was stripped against, or the timestamp stamped on a Slack send.\n\nAs part of this, the Bash tool's logic for stripping a `cd <cwd> && ` prefix (previously two separate, ad-hoc find-and-replace calls, one for POSIX paths and one for Windows-normalized paths) was replaced with a shared helper that tries a list of candidate roots. The stripped `cwd` is now recorded per tool-use id in the new `wireIngestContext` map, which is persisted and migrated alongside `wireToolInputs` on saved transcripts.\n\n**Why**\n\nThis lets a replayed conversation history verify each recorded tool input against the normalized input consistently, and lets the Bash prefix-stripping logic be reconstructed the same way across session resumes.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 1\/5"}