History

docs: state portable handoff limits

Explain the eligible timeline items, whitespace-normalized 240-character prefixes, omitted tail risk, and practical preparation for provider or fork handoffs. Distinguish this rule from the legacy import's 32,000-character transcript suffix. Audit: D04 Written by GPT-5.6 Sol with Codex.

Julius Marminge committed 2 months ago

Commit 01fb9b21 parent b9918343 files · +42 −0Browse files

Showing the changes to docs/user (2 of 3 files). Show all

Unified · Split

2 files
  1. docs/user/cursor.md +4 −0
  2. docs/user/portable-handoffs.md +19 −0
docs/user/cursor.md+4−0
@@ -35,6 +35,10 @@ provider turns. Same-provider Cursor forks use the orchestrator's portable full- · 34 unmodified lines
35handoff into a fresh Cursor agent. The SDK has in-process custom callback tools, but the V2 adapter35handoff into a fresh Cursor agent. The SDK has in-process custom callback tools, but the V2 adapter
36intentionally uses the authenticated, thread-scoped MCP server instead.36intentionally uses the authenticated, thread-scoped MCP server instead.
37 37
38Portable handoffs summarize eligible timeline items and can omit the end of long messages. Read
39[Context in portable handoffs](./portable-handoffs.md) before using a fork for work whose exact
40instructions must carry forward.
41
38Cursor task events include an `agentId`, but the local SDK does not register that identifier as a42Cursor task events include an `agentId`, but the local SDK does not register that identifier as a
39resumable agent: `Agent.resume()` returns `AgentNotFoundError`. The adapter therefore does not attach43resumable agent: `Agent.resume()` returns `AgentNotFoundError`. The adapter therefore does not attach
40a provider thread to native task projections or advertise subagent thread IDs. Sending a new message44a provider thread to native task projections or advertise subagent thread IDs. Sending a new message
docs/user/portable-handoffs.md+19−0
@@ -0,0 +1,19 @@
1# Context in portable handoffs
2
3T3 Code sometimes starts a fresh provider session instead of resuming a provider's native session.
4This happens when you switch providers, continue through portable restart steering, or use a fork
5that the provider cannot resume itself.
6
7The new provider receives a text handoff. This handoff is useful context, but it is not a copy of
8the original provider session. For each included user message, assistant message, command, or prior
9handoff, T3 Code collapses whitespace and keeps up to 240 characters from the beginning. File
10changes appear by filename, and checkpoints appear with a file count. Other timeline items may not
11appear in the handoff.
12
13Text near the end of a long message can be omitted. Before switching providers or continuing a
14portable fork, put the current goal, hard constraints, and any unresolved failure in a short message.
15You can also paste the exact detail again after the new provider starts.
16
17This 240-character rule is different from migration of older threads. A migrated thread gives its
18first fresh provider session the newest transcript suffix within a separate 32,000-character budget.
19See [Threads from older T3 Code versions](./thread-migration.md) for that migration path.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t