-
Notifications
You must be signed in to change notification settings - Fork 0
fix(input): restrict interactive yes/no choices to 1 or 2 #334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
seonghobae
wants to merge
9
commits into
master
Choose a base branch
from
sentinel-fix-readline-regex-8242588766369702608
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
aa4a9f3
보안: `readline()` 입력 검증 정규식 취약점 수정
seonghobae a50f0e6
보안: `readline()` 입력 검증 정규식 취약점 수정
seonghobae bd2a55e
chore: keep Sentinel guidance scoped to protected baseline
seonghobae 89b837a
보안: `readline()` 입력 검증 정규식 취약점 수정 및 테스트 추가
seonghobae 52045ce
chore(security): keep local prompt repair out of repository doctrine
seonghobae 1dfd801
test(scope): restore unrelated root source helper
seonghobae 04d42a3
test(input): exercise each rejected prompt class within the retry budget
seonghobae ae96062
test(input): prove accepted and rejected choices on all prompt paths
seonghobae e0b79bf
보안: `readline()` 입력 검증 정규식 취약점 수정 및 테스트 강화
seonghobae File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🤖 get_repo_knowledge executed:
get_repo_knowledge ContextualWisdomLab/aFIPC /tmp/coderabbit-repo-knowledge/contextualwisdomlab-afipc-649c8ab4/conventionsLength of output: 5176
🏁 Script executed:
Repository: ContextualWisdomLab/aFIPC
Length of output: 15023
🏁 Script executed:
Repository: ContextualWisdomLab/aFIPC
Length of output: 12154
🤖 get_repo_knowledge executed:
get_repo_knowledge ContextualWisdomLab/aFIPC /tmp/coderabbit-repo-knowledge/contextualwisdomlab-afipc-649c8ab4/conventionsLength of output: 5615
세 입력 검증 경로에 회귀 테스트를 추가하세요.
현재 테스트는
readline()분기를 실행하지 않습니다.checkCorrect(),checkoldformBILOGprior(),checknewformBILOGprior()에서1과2는 정상 처리되고0,3,12,2147483648은 세 번의 시도 후 해당 오류가 발생하는지 fixture로 고정하세요. 저장소 규칙상 동작 변경에는 테스트와 fixture를 먼저 추가해야 합니다.🤖 Prompt for AI Agents
Source: Coding guidelines