Skip to content

Core: bound memory.read previews - #22

Merged
iHow1 merged 4 commits into
mainfrom
feat/context-budgeted-handoffs
Aug 21, 2026
Merged

iHow1 merged 4 commits into
mainfrom
feat/context-budgeted-handoffs

Conversation

@iHow1

@iHow1 iHow1 commented Aug 18, 2026

Copy link
Copy Markdown
Owner

What this changes

  • Bound memory.read to an 8,000-character preview by default.
  • Add explicit mode: "full" and bounded maxChars support with truncation metadata and a continuation hint.
  • Expose the contract through the MCP schema, English/Chinese README tables, changelog, and behavior coverage.

Verification

  • npm run typecheck
  • npm run build
  • node --test tests/mcp-continue.test.mjs
  • node scripts/proof.mjs

npm run secret-scan was attempted but requires the CI-only IHOW_PUBLIC_BOUNDARY_DENYLIST environment variable.

Checklist

  • Typecheck passes
  • Build passes
  • Targeted tests pass
  • Governed proof passes
  • No customer data, private memory content, real paths or credentials in any file
  • Synthetic data only in tests and examples
  • CHANGELOG.md updated for user-visible behavior

@iHow1
iHow1 merged commit a4c2be5 into main Aug 21, 2026
5 checks passed
@iHow1
iHow1 deleted the feat/context-budgeted-handoffs branch August 21, 2026 01:35
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