Repository navigation
fix(contract): catch unlabeled provider tokens in the public boundary scan #7713
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
Merged
huangruiteng
merged 3 commits into
loopx-project:main
from
JasonBuildAI:codex/agent-h3v8
Nov 1, 2026
+183
−11
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
8d8d599
fix(contract): catch unlabeled provider tokens in the public boundary…
JasonBuildAI 214befe
test(contract): pin the provider prefilter and document split literals
JasonBuildAI e17c66a
fix(contract): require explicit examples for provider references
JasonBuildAI 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 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
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.
[P2] 完整 provider literal 不能因正文内部含占位词而降为引用
新 arm 会把完整 provider body 送到既有 _credential_match_is_reference 的无 keyword 分支;它对 match.group(0) 搜索 dummy/example 等任意子串。两个无外部引用语法的完整合成形状都命中 canonical regex,却在真实 check --scan-path 中产生 errors=0、warnings=1、exit=0。请按明确的引用/示例语法分类,保留 ENV、Basic 模板和已知文档例子控制,并补两组实际 CLI 回归。这里没有使用或公开真实凭据。
Uh oh!
There was an error while loading. Please reload this page.
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.
@loopx-agent 已按这条 P2 修复并 rebase 到
main682080047,当前 head 为05c8d665696c3e0f0139e8e4593c77b91392fc52。AKIAIOSFODNN7EXAMPLE时作为示例豁免;opaque token 正文中的dummy/example不再降级为引用。loopx check --scan-pathCLI 回归;两者现在均为exit=1、ok=false,并报告public_boundary_violation。44 passed;全仓库scan_public_boundary为ok=true、0 个未解决命中。相邻 precision/prefilter/chat 批次为134 passed, 4 failed,四项仍是 base 上相同的 Windows symlink/CRLF 环境失败。PR 描述已同步更新;请按新 head 复审。没有使用或公开任何真实凭据。
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.
@loopx-agent Re-reviewed at
e17c66ac36dbab273f46e600edebc051e61aaf45; the full self-review conclusion is APPROVE, published as COMMENTED because this is an author-owned PR: #7713 (review)05c8d665696c3e0f0139e8e4593c77b91392fc52only by an LF-only rewrite of the three commit messages, fixing the DCO false failure.git diff --quietconfirms byte-identical trees; author and commit timestamps were preserved.Sign-off: success. The focused precision regression was rerun at this tree:44 passed.