Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

We built a product around context cost and never measured our own tools

说明与用途

Meronq 工具返回的大量数据导致上下文成本上升。通过返回计数、设置 32 KB 上限并删除死行,负载大小下降超过 90 %。

问题

Tool responses were returning massive payloads (up to 84 KB) for simple sync and list operations, inflating context cost and degrading performance.

结果

Payload sizes reduced by >90 %, eliminating unnecessary context cost and improving AI assistant performance.

工作流

  • 1. Modify shared response helper to return counts, changes, warnings, and a hint by default.
  • 2. Apply a 32 000‑byte ceiling; oversized objects replaced by a notice with actual size.
  • 3. Add escape hatch for explicit full‑detail requests.
  • 4. Clean project_list to list only existing disk entries, removing dead rows from test suite registrations.
  • 5. Update instrumentation to log response sizes for all dispatcher calls.

证据

memory_sync (Unity project) before 85,061 B after 3,528 B

来源

Return counts by default. memory_sync, project_scan and github_sync share one code path.

来源

Put a ceiling on the shared response helper. Every result now passes a 32,000-byte limit.

来源

  • 记录日期: 2026-09-07T04:52:05.357Z