mirror of
https://github.com/aaronsb/obsidian-mcp-plugin.git
synced 2026-07-22 06:45:14 +00:00
Refined through design dialogue: - paginate/no-paginate boundary is a CHARACTER budget (READ_PAGE_CHARS, default 50000), not a line count (line count is an invalid proxy for context cost — 1500 short vs 1500 long lines differ by orders of magnitude) - bookends stay line-based (lineStart/lineEnd/totalLines) so edit.at_line on a large file still works; a page = longest whole-line run within the char budget - fits budget → whole file verbatim, one load (common case, no ceremony) - exceeds → bookended page 1 (single contiguous block, not chunk array) + nextPage hint; sequential paging via new `page` param - returnFullFile:true RETAINED and repurposed as the explicit whole-large-file override (not retired) - hard invariant recorded: a default read must never hand the agent a context-breaking raw dump Alternatives added: no-guard full dump, line-count budget, chunk-array — all rejected with rationale. |
||
|---|---|---|
| .. | ||
| ADR-200-close-cli-parity-gaps-add-daily-notes-tasks-templates-and-properties-operations.md | ||
| ADR-201-replace-new-function-with-a-sandboxed-expression-evaluator-for-bases.md | ||
| ADR-202-split-semantic-router-monolith-into-per-operation-modules.md | ||
| ADR-203-faithful-by-default-content-reads-concise-by-default-tool-results.md | ||