Repository navigation
fix(prompt): trim two runtime prompt lines back under the size contract - #7454
Merged
Merged
Conversation
itismyfield
added a commit
that referenced
this pull request
Oct 27, 2026
## 무엇 #7454 뒤에도 `issue_4313_prompt_policy_contract`가 계속 실패할 상태라서 고칩니다. 이 테스트는 고정 Full 프롬프트가 3,053바이트보다 작아야 통과합니다. - #7451 머지 커밋(`7c4eb8aef8`)의 CI Main 실측값은 3,089바이트입니다. #7447(+30)과 #7451(+18)이 모두 들어간 값입니다. - #7454는 #7447만 들어간 3,071을 기준으로 30바이트를 줄였습니다. 그래서 main은 3,089 − 30 = 3,059바이트로 여전히 기준을 넘습니다. 그 사이에 프롬프트를 바꾼 커밋은 #7454뿐입니다. - 이번에 `[ADK API Usage]` 문구를 26바이트 더 줄여 예상 크기는 3,033바이트입니다(여유 20바이트). 문자열만 바꿨습니다. - 테스트가 확인하는 문구(`inspect \`GET /api/docs\`` 1회, `docs override guessed CLI/source patterns`, `one standalone \`API_FRICTION: {...}\` final-response line`)는 유지합니다. 이번에는 PR CI에서 이 테스트가 통과한 것을 확인한 뒤 머지합니다. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
무엇
main의
issue_4313_prompt_policy_contract시험이 실패하고 있습니다. 고정 Full 프롬프트가 3,053바이트 기준선보다 작아야 하는데 3,071바이트입니다(#7450 CI worker 4).원인은 CI 없이 머지된 문구 수정 두 건입니다. #7447이 +30바이트, #7451이 +18바이트를 늘렸습니다. 기준선은 올리지 않고 같은 뜻의 짧은 문구로 줄입니다.
prompt_builder/mod.rs: 'The user sees tool cards, not tool output; put needed results in your text.' (−22바이트)prompt_builder/layer_rendering.rs: 'do not query the DB directly' (−8바이트)줄인 뒤 크기는 3,041바이트로 계산됩니다. 문자열만 바꿨고 분기·로직 변화는 없습니다. 머지 뒤 CI Main이 시험을 다시 판정합니다.
🤖 Generated with Claude Code