Skip to content

fix(run_context): retain tool identity in checkpoint text - #114

Merged
wolfy-j merged 3 commits into
masterfrom
fix/run-context-tool-evidence
Nov 9, 2026
Merged

wolfy-j merged 3 commits into
masterfrom
fix/run-context-tool-evidence

Conversation

@wolfy-j

@wolfy-j wolfy-j commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Text-format run contexts omit tool-call names and arguments while retaining anonymous result text. Checkpoint summaries therefore lose which invocation produces a result, and subsequent model turns can repeat completed work.

Preserve the function name, call ID and arguments in call text, and the matching identity beside result text. Structured prompt messages retain their existing shape. JSON encoding failures propagate to the caller.

Validation: the new contract regression fails before the change on SQLite and PostgreSQL; all 28 run-context tests pass on both engines after the change.

@wolfy-j
wolfy-j merged commit a02fc2e into master Nov 9, 2026
7 of 8 checks passed
@wolfy-j
wolfy-j deleted the fix/run-context-tool-evidence branch November 9, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant