You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f7d92c0c6 fix(compaction): sanitize Anthropic tool pairs on summarization requests
e048fd340 tag v2026.7.23
Conflicts observed
The conflict set was too broad for confident automated resolution. It included:
GitHub workflows and issue templates, including modify/delete conflicts for contributor and gate workflows.
Root metadata and docs: .gitignore, CONTRIBUTING.md, README.md, package.json, package-lock.json.
Changelogs for packages/ai, packages/agent, packages/coding-agent, and packages/tui.
AI provider and model-generation surfaces, including packages/ai/scripts/generate-models.ts, API adapters, provider model catalogs, generated model files, and tests.
Agent runtime surfaces, including packages/agent/src/agent-loop.ts, packages/agent/src/agent.ts, and loop/session tests.
Coding-agent compaction, model, extension, session, RPC, tool, and interactive-mode surfaces, including packages/coding-agent/src/core/agent-session.ts and packages/coding-agent/src/modes/interactive/interactive-mode.ts.
The upstream packages/orchestrator to packages/server rename, including file-location conflicts for fork-side AGENTS.md and tests.
TUI renderer conflicts in packages/tui/src/tui.ts, editor components, and renderer tests.
Release/build scripts and tsconfig.json.
Why this was ambiguous
The fork's changes.md files mark several conflicted areas as intentional fork behavior with medium or high expected conflict risk:
packages/coding-agent/src/core/changes.md describes session-owned compaction lifecycle, provider admission, queue ownership, remote replay provenance, and fallback state as private AgentSession invariants. The merge conflicted directly in agent-session.ts and adjacent compaction/session files.
packages/agent/src/changes.md records intentional queue-drain, abort, truncation recovery, and provider-request lifetime changes inside agent-loop.ts. The merge conflicted directly in agent-loop.ts and related tests.
packages/tui/src/changes.md marks tui.ts renderer behavior as high-risk fork logic around differential rendering, scrollback replay, frame bracketing, render throttling, and terminal restart handling. The merge conflicted directly in tui.ts and renderer tests.
packages/coding-agent/src/modes/interactive/changes.md records fork-specific interactive behavior around compaction queue transfer, smooth streaming, fallback notices, token formatting, and tool rendering. The merge conflicted directly in interactive-mode.ts and footer rendering.
Because upstream also changes AI retry/auth/model-catalog behavior, compaction and branch-summary behavior, release packaging, CLI model reloads, and the orchestrator/server package structure, choosing ours or theirs mechanically would risk dropping either fork invariants or upstream release fixes.
Changelog and QA
Changelog audit and QA were intentionally not run. The merge did not produce a clean tree, and the instructions require the conflict terminal path before change-dependent work.
Resolve manually, then re-run Upstream Agent Merge with force=true.
Automated upstream merge for
v0.82.0did not complete cleanly (result:CONFLICTS).Agent report
Upstream Merge Report
Generated: 2026-07-24T17:37:58Z
Result: CONFLICTS
Upstream target
v0.82.0083e61621276bff9f6faefab87ce07fcd98734e2upstream/mainSHA:a9f5b1c123a4f13457e88522a3be89aeb4823d66automation/upstream-v0.82.0-30113588820HEADbefore merge:38bd3a3cf8a47c1201969117b1a82a5af7daac9c3da591ab74ab9ab407e72ed882600b2c851fae21HEAD..upstream/mainwas not empty. The required no-op terminal condition did not apply.Action taken
Attempted a history-preserving merge:
The merge produced broad semantic conflicts. Per the driver instructions, the merge was aborted instead of guessing at runtime behavior:
The worktree was clean after abort before this report was written.
Preserved fork commits
Representative fork-side commits that must be preserved during a manual merge include:
38bd3a3cfMerge pull request fix(coding-agent): stabilize compaction lifecycle #310 from minpeter/fix/compaction-fallback-fsmb3f643e91fix(coding-agent): canonicalize replay tenant identity10a82f30dfix(coding-agent): bind remote replay provenance9bda06bdafix(coding-agent): validate remote replay provenance4bf034432fix(coding-agent): preserve compaction hook semantics0a2abcc1afix(coding-agent): apply hooks to compaction providersb159746bdfix(coding-agent): preserve compacted context redactiona0d5a41eafix(coding-agent): claim compaction admission synchronously019bcb75ffix(coding-agent): serialize compaction continuations4437cbdb7fix(coding-agent): close final provider boundaries8970f6754fix(coding-agent): preserve retry compaction ownership55df9a088fix(coding-agent): preserve resumed compaction contracts4bdbadceeMerge pull request feat(rpc): multi-session mode for the plain-RPC protocol #312 from code-yeongyu/feat/multi-session-rpc601564611feat(rpc): multi-session host with session routing and protocol info928e90064Merge pull request fix(compaction): sanitize Anthropic tool pairs on summarization requests #306 from code-yeongyu/fix/compaction-anthropic-tool-pairf7d92c0c6fix(compaction): sanitize Anthropic tool pairs on summarization requestse048fd340tagv2026.7.23Conflicts observed
The conflict set was too broad for confident automated resolution. It included:
.gitignore,CONTRIBUTING.md,README.md,package.json,package-lock.json.packages/ai,packages/agent,packages/coding-agent, andpackages/tui.packages/ai/scripts/generate-models.ts, API adapters, provider model catalogs, generated model files, and tests.packages/agent/src/agent-loop.ts,packages/agent/src/agent.ts, and loop/session tests.packages/coding-agent/src/core/agent-session.tsandpackages/coding-agent/src/modes/interactive/interactive-mode.ts.packages/orchestratortopackages/serverrename, including file-location conflicts for fork-sideAGENTS.mdand tests.packages/tui/src/tui.ts, editor components, and renderer tests.tsconfig.json.Why this was ambiguous
The fork's
changes.mdfiles mark several conflicted areas as intentional fork behavior with medium or high expected conflict risk:packages/coding-agent/src/core/changes.mddescribes session-owned compaction lifecycle, provider admission, queue ownership, remote replay provenance, and fallback state as privateAgentSessioninvariants. The merge conflicted directly inagent-session.tsand adjacent compaction/session files.packages/agent/src/changes.mdrecords intentional queue-drain, abort, truncation recovery, and provider-request lifetime changes insideagent-loop.ts. The merge conflicted directly inagent-loop.tsand related tests.packages/tui/src/changes.mdmarkstui.tsrenderer behavior as high-risk fork logic around differential rendering, scrollback replay, frame bracketing, render throttling, and terminal restart handling. The merge conflicted directly intui.tsand renderer tests.packages/coding-agent/src/modes/interactive/changes.mdrecords fork-specific interactive behavior around compaction queue transfer, smooth streaming, fallback notices, token formatting, and tool rendering. The merge conflicted directly ininteractive-mode.tsand footer rendering.Because upstream also changes AI retry/auth/model-catalog behavior, compaction and branch-summary behavior, release packaging, CLI model reloads, and the orchestrator/server package structure, choosing
oursortheirsmechanically would risk dropping either fork invariants or upstream release fixes.Changelog and QA
Changelog audit and QA were intentionally not run. The merge did not produce a clean tree, and the instructions require the conflict terminal path before change-dependent work.
Resolve manually, then re-run
Upstream Agent Mergewithforce=true.