Skip to content

Increase document processing limits to 250K characters#381

Merged
StanislavBG merged 1 commit into
mainfrom
claude/increase-document-limit-FMvLT
Mar 20, 2026
Merged

Increase document processing limits to 250K characters#381
StanislavBG merged 1 commit into
mainfrom
claude/increase-document-limit-FMvLT

Conversation

@StanislavBG
Copy link
Copy Markdown
Owner

Summary

This release increases the maximum document size limits across the application to support much larger documents. The primary limit has been raised from 8,000 to 250,000 characters, enabling the write instruction, context builder, and analysis endpoints to handle significantly larger inputs.

Key Changes

  • Version bump: Updated APP_VERSION from 0.27.15 to 0.27.16 with release notes
  • Context builder limits: Increased all document-related limits in LIMITS object:
    • document: 8,000 → 250,000 characters
    • documentShort: 6,000 → 100,000 characters
    • documentBrief: 2,000 → 20,000 characters
    • documentFull: 50,000 → 250,000 characters
  • Analysis endpoints: Updated MAX_ANALYSIS_LENGTH in three routes:
    • Challenge app analysis: 8,000 → 250,000
    • App type analysis: 6,000 → 250,000
    • Ask app analysis: 6,000 → 250,000
  • Write instruction schema: Increased max length validation from 5,000 to 250,000 characters
  • Tests: Updated unit tests to reflect new limit values

Implementation Details

The changes maintain backward compatibility while providing substantially more capacity for document processing. All three analysis endpoints and the instruction input now support the same 250K character limit, creating a consistent experience across the application.

https://claude.ai/code/session_013XaBTPShGEAEERwoDTQzsk

The instruction field in writeRequestSchema was capped at 5,000 characters,
causing "Evolve Document" to fail when accumulated provocation responses
exceeded that limit. Raised to 250K. Also increased context-builder LIMITS
and hardcoded MAX_ANALYSIS_LENGTH values in routes.ts to support much larger
documents throughout the provocation pipeline.

https://claude.ai/code/session_013XaBTPShGEAEERwoDTQzsk
@StanislavBG StanislavBG merged commit 4d4f6b6 into main Mar 20, 2026
1 check passed
StanislavBG added a commit that referenced this pull request May 2, 2026
…it-FMvLT

Increase document processing limits to 250K characters
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.

2 participants