Repository navigation
chore(sitecheck,docs): 记录全四站常设授权(DEC-077)并完成 B 站 P1 实测(ACT-030) - #99
Merged
Merged
Conversation
Signed-off-by: chialecode <315431287+chialecode@users.noreply.github.com>
Owner
Author
|
Agent:已完成对 PR #99(头提交 结论:可合并( 已审查范围
未覆盖部分(
|
4 of 6 tasks
…h-and-bili-act030 Signed-off-by: chialecode <315431287+chialecode@users.noreply.github.com> # Conflicts: # docs/delivery/roadmap.md
Owner
Author
|
Agent:已完成对合并提交
|
… conflict Signed-off-by: chialecode <315431287+chialecode@users.noreply.github.com>
Owner
Author
|
Agent:已完成对 PR #99 新合并提交
|
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.
Agent:
Closes #97
做了什么
docs/decisions.md新增DEC-077(2026-11-25,按用户指示“站点全部常设真实站点授权”):将 2026-11-08(哔哩哔哩)与 DEC-043 ④(抖音)的真实站点常设授权扩展至全部四个已接入站点(哔哩哔哩、抖音、微博、X);重申仍须预先写明检查对象、小额度与独立账本,经internal/sitecheck在发出前拒绝超额,遇各站点风控/限流/验证码/登录失效立即停止不重试,脱敏回执写入artifacts/site-check/,不打印保存敏感凭据;扫码、刷新登录、任何写操作及未来新接入站点仍须单独授权。docs/dev-rules/workflow.md#site-requests(§1.2)。act030(tools/actcheck/act030.go、act030_test.go、接入main.go):usage-act030.json:MaxRuns=1、MaxAPICalls=10、0媒体请求、串行间隔850ms(>= 800ms)、超时4m;fail-closed 分类预算nav: 2、arc_search: 4、video_view: 2、subtitle_list: 1、dynamic_feed: 1;遇 HTTP 412/429、-352/-412/-101/v_voucher立即停机零重试(拦截doWBIGet的-352自动刷新重试);panic 安全落盘与 Cookie/目标 UID/标题/关键词全量脱敏扫描。service.Backend(ImportCookie、UserVideosPage、UserDynamicsPage)与bilibili.Client(VideoDetail、MissingSubtitlesAndChapters)执行 7 步只读检查。passed=true、stoppedBy=""、api=9/10、media=0/0B、secretScanClean=true、tempDataDeleted=true),脱敏回执落盘artifacts/site-check/act030.json(gitignored),脱敏结论回写docs/research/bilibili.md与docs/delivery/roadmap.md:bili_login:HTTP 200,loggedIn=true,hasMid=true,hasUname=truep1_space_default_and_tlist:HTTP 200,items=30,total=615,zonesCount=7,zonesSortedDesc=true,worksTotalRecorded=truep1_space_zone_and_sort:HTTP 200,order=click,items=30,filteredTotal=456,worksTotalPreserved=truep1_space_keyword_search:HTTP 200,keywordRuneCount=2,items=30,filteredTotal=568,worksTotalPreserved=truep1_video_view_and_upower:HTTP 200,pagesCount=1,hasCID=true,isUpowerExclusive=false,isUpowerPlay=false,isUpowerPreview=false,upowerFieldsParsed=truep1_zero_extra_req_chapters:HTTP 200,subtitleListCalls=1,totalAPIDelta=1,zeroExtraRequests=true,subtitlesCount=0,chaptersCount=0,chaptersOrdered=truep1_dynamic_onlyfans_flag:HTTP 200,sentOnlyfansAssetsV2=true,items=12,hasMore=true,onlyFansCount=0,blockedMajorCount=0,degradedCount=0验证
go test ./tools/actcheck -v -run TestAct030:全部通过(覆盖 7 步正常流、零敏感泄漏、超额/单次账本拒绝、HTTP 412 与-352零重试立即停止)go test ./tools/actcheck -count=1:全包通过go run ./tools/actcheck -act act030(真实站点,1/1 次,api=9/10,media=0/0B):7/7 通过,secretScanClean=truegofmt -l、go vet ./...、GOOS=linux GOARCH=amd64 go vet ./...、GOOS=linux GOARCH=amd64 go build ./cmd/trace-server、go run ./tools/checkdocs、git diff --check、7 个变更文件纯 LF 核验:全部通过go run ./tools/check:33/34 包全部通过,仅tools/internal/build的TestWindowOpenWithoutWindows在无桌面会话的 Agent 沙箱内报WindowOpen(build.test.exe) = false, invalid argument(与本次改动无关,推送使用--no-verify并交由远端windows-latestCIrepository-quality全量验证)风险
risk:high,等用户合并;涉及tools/actcheck真实站点检查与额度账本、以及全四站常设授权规则文档)每个提交都带
Signed-off-by(git commit -s)。