feat(ISSUE-263): W3-C4 CNB dispatch 通道与 fallback (#280) - #77
Closed
cloudbrid-agent[bot] wants to merge 1 commit into
Closed
feat(ISSUE-263): W3-C4 CNB dispatch 通道与 fallback (#280)#77cloudbrid-agent[bot] wants to merge 1 commit into
cloudbrid-agent[bot] wants to merge 1 commit into
Conversation
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.
Summary
CNB dispatch 通道 + canary + fallback 链。凭据纪律:CNB 沙箱只接触公开内容,零 GitHub 凭据注入(INV-02 / AC-6)。
pipeline/adversary/cnb_bridge.py:CNB_TOKENorg secret 注入,canary 先行(30–60s echo 任务验证云端存活)→ 窗口抢占/投递/轮询/收集LLM_ENDPOINT直连(ADR-0048)needs-human+ 自动开 issuetype:infraissuedispatch/canary/credential-audit--issue/--spec-path/--card-id/--audit-run-idcnb-bridge-report/v1JSON 元数据供下游状态机消费Blast radius
pipeline/adversary/cnb_bridge.py凭据纪律
本模块严格遵循 INV-02(GITHUB_TOKEN 不持有状态写权)与 AC-6(沙箱零 GitHub 凭据):
credential_audit()扫描,命中ghp_/ghs_/github_pat_/GH_TOKEN/GITHUB_TOKEN等形状即 fail-closedpublic_only: trueCloses Cloudbird-Software/.github#280