frontier-auto: context-doctor gains an optional cache-boundary (prompt-caching) audit - #190
Merged
Merged
Conversation
…mpt caching) Frontier-auto weekly proposal, sourced from the 2026-07-27 frontier-digest comment on issue #102 (arXiv:2603.09619 / appscale.blog): input:output token ratio >10:1 favors cache/context engineering over model-level optimization, >50:1 prefix caching dominates, and cache-boundary control (stable system prompt, dynamic content at the user-message end) reportedly raised hit rate ~7%->84% in one production case. Both cited sources returned HTTP 403 to this session's fetch tooling, so the figures are labeled UNCALIBRATED per CLAUDE.md's Instrument-Calibration rule and traced only to the digest comment text (phantom-quench: 5/5 local claims grounded via literal grep hit; external hop Unreachable, not silently Phantom). steel-quench Wave 1 (opus, isolated) found 1S/3A on the first draft (bare threshold, orphaned step, unsourced extrapolation, body-bloat); all four fixed inline and Wave 3 re-attack converged PASS with zero surviving S/A. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaC2wq4rf7zvNPAHkhE3LV
자동 생성 초안은 두 질문을 하나의 'UNCALIBRATED (403)' 으로 뭉쳐놨다: 논문이 실재하나(→ arxiv abs 200, 제목 일치) / 그 수치를 실제로 말하나(→ 원문 미독). 계기가 하마터면 틀린 판정을 낼 뻔했다: 첫 재확인은 arXiv API 를 썼고 대상에 빈 결과를 냈는데 known-real 컨트롤도 빈 결과였다 — 논문이 없는 게 아니라 계기가 죽어 있었다. abs 페이지로 바꾸니 컨트롤이 살아났고 존재 판정이 VERIFIED 로 뒤집혔다. 함정을 detail 에 주석으로 박았다. npm 공개 출하 스킬에 미검증 정밀 인용이 실리는 위험 때문에 시작한 확인인데, 결과적으로 인용은 진짜였고 대신 무엇이 검증됐는지의 경계가 정확해졌다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
chrono-meta
marked this pull request as ready for review
July 27, 2026 16:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Autonomous weekly frontier-auto proposal (no human online). Adds an optional Step 3.5 — Cache-Boundary Audit (prompt caching) to
plugins/fh-meta/skills/context-doctor/SKILL.md, with supporting detail inSKILL_detail.md §CacheBoundary.Signal: 2026-07-27 comment on issue #102 ("Frontier Digest Log") — signal source, item 5 ("Context Engineering as the Dominant Production Discipline"), citing arXiv:2603.09619 and appscale.blog. The digest explicitly proposed: "Concrete improvement candidate: add a cache-boundary audit step to
/context-doctor."What it adds: context-doctor previously only diagnosed context-window footprint (Steps 1–5). Nothing addressed provider-side prompt-cache billing — a distinct cost lever. Step 3.5 adds:
Predicted impact: recorded in
tracks/_meta/edit_manifest.yaml(gitignored, local) — sessions with a cache-miss cost symptom on a metered backend now get a diagnosis path that didn't exist before; low-frequency trigger expected since it fires only on a specific cost symptom.Verification (FH 4-axis gate)
regression_guard.sh --staged): PASS, 0 M-tier / 0 S-tier.tracks/_meta/edit_manifest.yaml.Marker:
tracks/_meta/.axes_23_passed_claude_frontier-auto-2026-07-27_2026-07-27.marker(gitignored, local —floor-status: at-floor,axis2-model: opus).Test plan
plugins/fh-meta/skills/context-doctor/SKILL.mdThis PR is opened as a draft per the frontier-auto routine's standing instruction: no auto-merge, human review required before landing.
Generated by Claude Code