Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.268 ·

Hook-injected transcript entries can now be placed at head or tail, not just prepended

Hooks can now insert transcript entries at the tail as well as the head

TierUse it nowhow much it should matter to you
Useful3my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaHookswhat it touches
KindNew Featuresin v2.1.268,
Use it now Notable

Hooks can now insert transcript entries at the tail as well as the head

What

When a hook (custom code that runs at certain points in Claude Code) injects new entries into the transcript, those entries could previously only be prepended to the start. Now the hook can specify a placement of either "head" (the old prepend behavior) or the new "tail," which appends the entries at the end instead and can extend the tracked length of restored transcript.

Why

This gives hook authors control over whether their injected content appears before or after existing transcript entries, useful for hooks that want to append rather than prepend information.

Read from
Names in the bundleheadtail
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Get started touched a line naming tail after this was published. If Slack says "You don't have permission to invite people to this channel", the channel or workspace limits who can add people. In Slack, open **Channel details** → **Agents & apps** (called **Integrations** in some Slack versions), select… claude-tag/users/getting-started see the edit
Added since A small documentation edit on Configure server-managed settings touched a line naming head after this was published. Whether [`ANTHROPIC_CUSTOM_HEADERS`](/docs/en/env-vars#variables) needs approval also depends on the delivered value. Headers that only tag requests, such as `Accept-Language`, apply without the dialog. A line that names a credential, an o… server-managed-settings see the edit
Confirmed since Anthropic's documentation has since written up tail, on Authentication for connectors. 1. Client ID Metadata Document (CIMD). Every customer's authorization server must advertise both CIMD values listed in [DCR and CIMD details](#dcr-and-cimd-details). connectors/building/authentication see the edit
Confirmed since Anthropic's documentation has since written up placement, on Automate actions with hooks. * **A field at the wrong level**: compare each field's placement against the [JSON output](/docs/en/hooks#json-output) format. For example, `permissionDecision` belongs inside `hookSpecificOutput`, not at the top level. hooks-guide see the edit
Confirmed since Anthropic's documentation has since written up head, on Claude Code changelog. * Added `/output-style [name]` to list and switch output styles, including over Remote Control and in cloud and other headless sessions changelog see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up head, on Claude Code changelog.

See this entry in the whole of v2.1.268 →

Feedback