Skip to content

Remove truncation from debug prompt logger hook#1861

Merged
siddseethepalli merged 1 commit into
mainfrom
do/remove-debug-truncation
Feb 14, 2026
Merged

Remove truncation from debug prompt logger hook#1861
siddseethepalli merged 1 commit into
mainfrom
do/remove-debug-truncation

Conversation

@siddseethepalli
Copy link
Copy Markdown
Contributor

@siddseethepalli siddseethepalli commented Feb 14, 2026

Summary

  • Remove all truncation limits from the debug prompt logger hook template
  • System prompt, messages, tool inputs, and tool results are now logged in full
  • All messages are shown instead of only the last 10

🤖 Generated with Claude Code


Open with Devin

Co-Authored-By: Claude <noreply@anthropic.com>
@siddseethepalli siddseethepalli merged commit 0f9260a into main Feb 14, 2026
1 check passed
@siddseethepalli siddseethepalli deleted the do/remove-debug-truncation branch February 14, 2026 07:51
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c1a2dec953

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread assistant/hook-templates/debug-prompt-logger/run.sh
ashleeradka added a commit that referenced this pull request Feb 14, 2026
Resolved modify/delete conflict: IPCMessages.swift was moved to shared/
in this branch, while main had no modifications to port.

Changes from main:
- Tool result images for OpenAI/Gemini providers (#1864)
- Browser screenshot in tool call results (#1863)
- Qdrant vector DB clear (#1862)
- Debug prompt logger truncation removal (#1861)
- macOS release stapler resilience (#1860)

No conflicts with shared library changes.
siddseethepalli added a commit that referenced this pull request Feb 14, 2026
Per-field truncation (2000 chars for text/tool content, 1000 for
base64 image/file data) bounds individual message output. System
prompt is capped at 5000 chars. The jq-less fallback path is capped
at 200KB total. All messages are still shown — only oversized fields
are truncated.

Addresses review feedback on PR #1861.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
siddseethepalli added a commit that referenced this pull request Feb 14, 2026
Per-field truncation (2000 chars for text/tool content, 1000 for
base64 image/file data) bounds individual message output. System
prompt is capped at 5000 chars. The jq-less fallback path is capped
at 200KB total. All messages are still shown — only oversized fields
are truncated.

Addresses review feedback on PR #1861.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@siddseethepalli
Copy link
Copy Markdown
Contributor Author

Addressed in #1902

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