Skip to content

chore(plan-prompt): strip decorative symbols to reduce context consumption#3349

Open
rluisr wants to merge 1 commit intocode-yeongyu:devfrom
rluisr:chore/strip-decorative-symbols-from-plan-prompt
Open

chore(plan-prompt): strip decorative symbols to reduce context consumption#3349
rluisr wants to merge 1 commit intocode-yeongyu:devfrom
rluisr:chore/strip-decorative-symbols-from-plan-prompt

Conversation

@rluisr
Copy link
Copy Markdown
Contributor

@rluisr rluisr commented Apr 11, 2026

Summary

  • Remove decorative characters (ASCII art banner, box-drawing ═█ dividers, ##### borders, tree ├──└── glyphs, arrows, ✅❌ emoji) from the plan agent system prompt in src/tools/delegate-task/constants.ts
  • All instructional text and **bold** emphasis are preserved verbatim — only non-functional decoration is stripped
  • Reduces the prompt from 347 lines to 321 lines (41 deletions, 15 insertions), saving ~3,850 characters of context window tokens on every plan agent invocation

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: Altering the example output structure (e.g., changing tree glyphs to bullets) might break downstream programmatic parsers if they rely on specific formatting.

…ption

Remove ASCII art banner, box-drawing characters, section dividers,
tree-drawing characters, bold markdown, and emoji from the plan agent
system prompt. All instructional text is preserved verbatim.
@rluisr rluisr force-pushed the chore/strip-decorative-symbols-from-plan-prompt branch from 8d70351 to 33bc8a1 Compare April 11, 2026 15:44
@rluisr
Copy link
Copy Markdown
Contributor Author

rluisr commented Apr 11, 2026

Just merging this PR will reduce 3,850 characters. Please merge it. I am begging you for God's sake.

@rluisr
Copy link
Copy Markdown
Contributor Author

rluisr commented Apr 13, 2026

@code-yeongyu could you please review this?

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