Skip to content
This repository was archived by the owner on Sep 8, 2026. It is now read-only.

fix(audit): 접두사 쓰기 권고의 무제한 부정을 한정한다 (gen26) - #378

Merged
ictechgy merged 5 commits into
mainfrom
fix/scope-the-prefix-write-advice
Sep 6, 2026
Merged

ictechgy merged 5 commits into
mainfrom
fix/scope-the-prefix-write-advice

Conversation

@ictechgy

@ictechgy ictechgy commented Sep 6, 2026

Copy link
Copy Markdown
Owner

머지 방식: merge commit 필수. squash 하면 main 이 깨진다.

무엇이 틀렸나

#376 이 넣은 권고 문구가 이렇게 말한다.

No tool hook can reduce these turns.

무제한 보편 부정이고, 측정된 바 없으며, 턴 간 효과를 보면 거짓이다. 세션 내내 컨텍스트를 작게 유지하는 훅은 나중 재작성이 써야 할 양을 줄인다. 이 플러그인의 escrow 가 정확히 그런 종류다.

AGENTS.md 의 "테스트한 것보다 강한 보장을 쓰지 않는다" 에 걸린다. 외부 리뷰가 같은 문장을 문서 쪽 PR(#377)에서 blocker 로 지적했고, 그 지적이 맞다.

고친 문구

Trimming one tool result does not change these turns, because their size tracks the whole context at that moment; a hook that keeps the context smaller across the session does reduce what a later rewrite has to write.

부정의 범위를 "하나의 도구 결과를 잘라내는 것" 으로 좁히고, 참인 반례(세션 전체의 컨텍스트를 줄이는 훅)를 같은 문장에 적었다.

범위

권고 조언 문자열 한 곳뿐이다. 동작도, 수치도, 필드도 바뀌지 않는다. claude_transcript_cost_audit.py 가 Gate-B 동결이라 세대가 필요할 뿐이다. gen26 은 gen25 의 동결 범위를 그대로 물려받고 B2 의 내용만 바뀐다.

문서 쪽 같은 문구는 #377 에서 고친다.

검증

python3 scripts/verify_gate_b_rollback.py   OK (active_generation=gen26, generations=26)
tests.test_gate_b_rollback_proof            Ran 73 OK, exit 0
tests.test_context_guard_audit_turn_anchor  Ran 18 OK, exit 0
scripts/ci_test_gate.py fast                Ran 76 OK, exit 0
scripts/sync_plugin_copies.py --check       plugin copies synchronized
scripts/prepublish_check.py --skip-tests    prepublish check: OK
scripts/release_preflight.py                경고 없음

🤖 Generated with Claude Code

https://claude.ai/code/session_01DE3AupXcyv64SEuQeTckSh

ictechgy and others added 5 commits September 6, 2026 22:19
…vice

접두사 쓰기 권고의 조언 문구 한 곳을 한정한다. "어떤 도구 훅도 이 턴들을 줄일 수
없다" 는 무제한 부정이었고, 측정된 바 없으며 턴 간 효과를 보면 거짓이다. 세션 내내
컨텍스트를 작게 유지하는 훅은 나중 재작성이 써야 할 양을 줄인다. 이 플러그인의 escrow
가 바로 그런 종류다.

이제 "하나의 도구 결과를 잘라내는 것으로는 이 턴들이 달라지지 않는다. 크기가 그
시점의 컨텍스트 전체를 따라가기 때문이다. 다만 세션 내내 컨텍스트를 작게 유지하는
훅은 나중 재작성이 써야 할 양을 줄인다" 로 적는다.

외부 리뷰가 같은 문장을 문서 쪽에서 blocker 로 지적했고, 저장소 규칙(테스트한 것보다
강한 보장을 적지 않는다)에 걸린다. 문서 쪽은 별도 PR 에서 고쳤다.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DE3AupXcyv64SEuQeTckSh
…vice

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DE3AupXcyv64SEuQeTckSh
…vice

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DE3AupXcyv64SEuQeTckSh
…ite advice

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DE3AupXcyv64SEuQeTckSh
…dvice

접두사 쓰기 권고의 조언 문구 한 곳을 한정한다. "어떤 도구 훅도 이 턴들을 줄일 수
없다" 는 무제한 부정이었고, 측정된 바 없으며 턴 간 효과를 보면 거짓이다. 세션 내내
컨텍스트를 작게 유지하는 훅은 나중 재작성이 써야 할 양을 줄인다. 이 플러그인의 escrow
가 바로 그런 종류다.

이제 "하나의 도구 결과를 잘라내는 것으로는 이 턴들이 달라지지 않는다. 크기가 그
시점의 컨텍스트 전체를 따라가기 때문이다. 다만 세션 내내 컨텍스트를 작게 유지하는
훅은 나중 재작성이 써야 할 양을 줄인다" 로 적는다.

외부 리뷰가 같은 문장을 문서 쪽에서 blocker 로 지적했고, 저장소 규칙(테스트한 것보다
강한 보장을 적지 않는다)에 걸린다. 문서 쪽은 별도 PR 에서 고쳤다.

지문은 생산 canonicalizer 로 계산했고 기존 레코드와 지문은 건드리지 않았다.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DE3AupXcyv64SEuQeTckSh
@coderabbitai

coderabbitai Bot commented Sep 6, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 5f7817d6-2957-4f88-b564-6122a6b196c3


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ictechgy
ictechgy merged commit e22335c into main Sep 6, 2026
6 checks passed
@ictechgy
ictechgy deleted the fix/scope-the-prefix-write-advice branch September 6, 2026 13:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant