This repository was archived by the owner on Sep 8, 2026. It is now read-only.
docs: 0.13.0 의 81.5% 주장을 정정하고, 살아남는 근거를 대신 적는다 - #377
Merged
Merged
Conversation
0.13.0 항목은 Bash escrow 를 기본으로 만든 근거로 "새 토큰의 81.5% 가 Bash 결과 직후에 온다" 를 든다. 그 표에 결함이 둘 있었고 #376 에서 고쳤다. last_result 가 파일 단위로만 초기화돼 새 도구 결과가 없는 턴이 앞 턴의 라벨을 물려받았고, 스냅샷은 accepted 행마다 찍히고 비워지는데 reducer 는 응답 그룹의 마지막 행을 고르므로 여러 행으로 나뉜 응답은 이미 비워진 스냅샷을 읽었다. 교정하면 no_tool_result 약 72%, Bash 약 18% 이고 multi_result_turns 는 약 108 에서 약 2,150 으로 간다. 중요한 것은 escrow 기본값 결정 자체는 다른 근거로 살아남는다는 점이다. 턴은 두 번째 축으로도 갈린다. 캐시 접두사를 다시 썼는가, 이어 붙였는가. 도구가 돌려준 양에 비례해 과금되는 것은 incremental 턴뿐이고, 그 안에서는 Bash 가 여전히 약 69% 를 선행한다. 접두사를 쓴 턴은 cache_creation 의 약 77% 인데 어떤 도구 훅도 줄일 수 없고, 이제 audit 이 cold_start / cache_rewrite / incremental 필드로 따로 보고하며 권고에서도 그 사실을 말한다. 발행된 0.13.0 항목 본문은 고치지 않고 정정을 가리키는 한 줄만 덧붙였다. 이미 나간 릴리스 노트를 조용히 다시 쓰지 않기 위해서다. 수치는 살아 있는 디렉터리에서 나오므로 반올림해 적고 방법은 safety-reference 를 가리킨다. 이 세션 안에서도 같은 스크립트가 76.7 에서 76.9 로 움직였다. audit 스킬 문서도 고쳤다. "가장 많이 선행한 도구를 앞세우라" 는 지시가 접두사 쓰기가 우세한 코퍼스에서 틀린 곳을 가리킨다. 세 필드를 먼저 읽고 incremental 턴이 도구를 가리킬 때만 도구를 앞세우도록 바꿨다. 검증: 인용한 네 수치를 병합된 main 에서 재측정해 확인. tests.test_contextguard_stage2_feasibility + standing_cost 13건 OK, ci_test_gate fast 76건 OK, prepublish_check --skip-tests OK, preflight 경고 없음. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DE3AupXcyv64SEuQeTckSh
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
GLM 이 정확히 짚었다. "no tool hook can reduce them" 은 무제한 보편 부정인데 측정된 바 없고 턴 간 효과를 보면 거짓이다. 컨텍스트를 작게 유지하는 훅은 이후 턴의 접두사 크기를 줄이고, 그것이 곧 재작성 비용이다. 이 플러그인의 escrow 가 바로 그런 종류다. 이제 이렇게 적는다. "하나의 도구 결과만 잘라내는 것으로는 그 턴들이 달라지지 않는다. 크기가 그 시점의 컨텍스트 전체를 따라가기 때문이다. 다만 세션 내내 컨텍스트를 작게 유지하는 훅은 나중 재작성이 써야 할 양을 줄인다." 같은 검토에서 나온 나머지도 반영했다. - "the only ones that bill in proportion to what a tool returned" 의 only 를 뺐다. incremental 턴에도 도구 결과가 아닌 텍스트가 붙고, 재작성 턴의 새 접미사에도 도구 반환물이 들어간다. - "escrow default itself survives" 를 순위 서술로 낮췄다. 한 코퍼스에서의 순위이지 측정된 절감이 아니라는 것을 문장 안에 적었다. - SKILL.md 의 지시가 실행 불가능했다. by_preceding_tool 표는 모든 턴을 덮는데 "incremental 턴이 도구를 가리킬 때만" 을 그 표만으로 판단할 수 없다. 표가 전 턴 기준임을 밝히고, 접두사 쓰기가 우세하면 표의 1위를 지목하지 말고 그 사실을 말하라고 바꿨다. 같은 문구가 claude_transcript_cost_audit.py:3365 의 권고 텍스트에도 있다. 그 파일은 Gate-B 동결이라 별도 세대로 고친다. 검증: tests.test_contextguard_stage2_feasibility + standing_cost 13건 OK, ci_test_gate fast 76건 OK, sync_plugin_copies --check 동기화 확인. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DE3AupXcyv64SEuQeTckSh
"Historical entries below are left as they were published" 라고 썼는데 실제로는 0.13.0 항목에 정정을 가리키는 괄호 문장을 넣었다. 내부 모순이라 "발행 당시의 본문은 그대로 두되, 영향받은 수치 옆에 이 정정을 가리키는 표시를 덧붙였다" 로 고친다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DE3AupXcyv64SEuQeTckSh
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
무엇이 틀렸나
CHANGELOG.md의 0.13.0 항목은 Bash escrow 를 기본 래퍼로 만든 근거로 "새 토큰의 81.5% 가 Bash 결과 직후에 온다" 를 든다. 그 표에 결함이 둘 있었고 #376 에서 고쳤다.last_result가 파일 단위로만 초기화돼, 새 도구 결과가 없는 턴이 앞 턴의 라벨을 물려받았다.교정하면
no_tool_result약 72%, Bash 약 18%.multi_result_turns는 약 108 에서 약 2,150 으로 간다.결정 자체는 살아남는다 — 다른 근거로
턴은 두 번째 축으로도 갈린다. 캐시 접두사를 다시 썼는가, 이어 붙였는가. 도구가 돌려준 양에 비례해 과금되는 것은 incremental 턴뿐이고, 그 안에서는 Bash 가 여전히 약 69% 를 선행한다.
접두사를 쓴 턴은
cache_creation의 약 77% 인데 어떤 도구 훅도 줄일 수 없다. audit 이 이제cold_start/cache_rewrite/incremental필드로 따로 보고하고 권고에서도 그 사실을 말한다.발행된 항목은 다시 쓰지 않았다
0.13.0 본문은 그대로 두고 정정을 가리키는 한 줄만 덧붙였다. 이미 나간 릴리스 노트를 조용히 고치지 않기 위해서다. 정정 내용은
[Unreleased]에 있다.수치를 반올림한 이유
살아 있는 디렉터리에서 나오는 값이라 이 세션 안에서도 같은 스크립트가 76.7 에서 76.9 로 움직였다. 변경 로그에는 정정의 모양만 적고 방법은
docs/safety-reference.md를 가리킨다. #374 에서 같은 교훈을 얻었다.스킬 문서도 고쳤다
plugins/context-guard/skills/audit/SKILL.md가 "가장 많이 선행한 도구를 앞세우라" 고 지시했는데, 접두사 쓰기가 우세한 코퍼스에서는 틀린 곳을 가리킨다. 세 필드를 먼저 읽고 incremental 턴이 도구를 가리킬 때만 도구를 앞세우도록 바꿨다.검증
인용한 네 수치를 병합된
main에서 다시 측정해 확인했다.no_tool_result약 72%multi_result_turns약 2,150문서만 바뀌므로 squash 로 병합해도 된다.
🤖 Generated with Claude Code
https://claude.ai/code/session_01DE3AupXcyv64SEuQeTckSh