# Files changed · PR \#21598 · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/pull/21598/diffs)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

[fix\(contracts\): retain Claude rollback source sessions](https://git.cafe/pingdotgg/t3code/pull/21598.md)

Version: 2

Head commit: 1d2159ea19141ef30dee87a255e1fccce991bdcf

Base commit: 1451e7cb23034d29774338608368a15d8845df36

Comparison base: 1451e7cb23034d29774338608368a15d8845df36

Showing up to 20 entries from this revision. If the pull request changes, reopen the first page before continuing.

## packages/contracts/src/orchestrationV2.ts

Status: modified; +2; −0

```diff
@@ -831,6 +831,8 @@
   title: Schema.optional(Schema.NullOr(TrimmedNonEmptyString)),
   updatedAt: Schema.optional(Schema.NullOr(TrimmedNonEmptyString)),
   itemIdentityVersion: Schema.optional(Schema.Literal(2)),
+  // Claude forks rewrite UUIDs; retained turns still address their source session.
+  claudeRollbackSessionIds: Schema.optional(Schema.Record(ProviderTurnId, TrimmedNonEmptyString)),
 });
 export type OrchestrationV2ProviderThreadNativeMetadata =
   typeof OrchestrationV2ProviderThreadNativeMetadata.Type;
```
