| event_payload |
{"ref":"refs/heads/main","befo {"ref":"refs/heads/main","before":"a966a2c7b8adf5da9c07fe85c855f3506f3bc6c2","after":"b32aaeec6fb47a7e49e74444d48b5973b0cf7a64","compare_url":"https://gitea.g-hi.com/luoanwu/enterprise-platform/compare/a966a2c7b8adf5da9c07fe85c855f3506f3bc6c2...b32aaeec6fb47a7e49e74444d48b5973b0cf7a64","commits":[{"id":"b32aaeec6fb47a7e49e74444d48b5973b0cf7a64","message":"fix(governance): stub-surface 开关扫描补认 ConfigService 读法,kill switch 须显式登记 defaultOn——补进 IDP_BACKCHANNEL_DISPATCH_ENABLED\n\n扫描此前只认 env.X / process.env.X 两种写法,NestJS ConfigService.get(\"X\") 整个看不见;补上后扫出\nidentity 后端注销分发环的 IDP_BACKCHANNEL_DISPATCH_ENABLED(=== \"false\" 才关、未设即开)。它是已落地\n能力的 kill switch,不改成 opt-in(会让注销分发在没配变量的环境里静默停掉,正是本门禁要抓的形状),\n也不在门禁里加白名单:登记表 env-switch 条目新增可选 defaultOn: true(只认布尔),S5 只对登记了它的\n开关放行;代码改回 opt-in 后登记不删判 S9_DEFAULT_ON_DECLARATION_STALE,同 S2 登记不许腐烂。\n\n清单 10 → 11 个环境开关,CLAUDE.md 声明句同步;报告每条开关带 defaultOn / declaredDefaultOn 与逐站点\noptIn,metrics 增 envSwitchDefaultOn。六处验收 / 测试入口全部把该开关置 false、runtime 模块内无单测\n调用 dispatchBatch——缺口本身未关,exitWhen 写明要在固定源码验收里以开启态被走到。\n\ngovernance 测试 562 / 561 通过 / 1 跳过(GOV_REPORT_DIR 隔离运行,reports/ 未动);stub-surface 27 / 27;\ncheck:stub-surface 与 check:doc-claims 单跑 exit 0。报告回绑另起 chore(reports) 提交。\n\nCo-Authored-By: Claude Fable 5.1 \u003cnoreply@anthropic.com\u003e\n","url":"https://gitea.g-hi.com/luoanwu/enterprise-platform/commit/b32aaeec6fb47a7e49e74444d48b5973b0cf7a64","author":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"committer":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"verification":null,"timestamp":"2026-09-21T00:05:56-07:00","added":[],"removed":[],"modified":["CLAUDE.md","docs/作业可执行性收口-2026-09-19.md","governance/check-stub-surface.mjs","governance/lib/stub-surface-core.mjs","governance/stub-surface.json","governance/test/stub-surface.test.mjs"]}],"total_commits":0,"head_commit":{"id":"b32aaeec6fb47a7e49e74444d48b5973b0cf7a64","message":"fix(governance): stub-surface 开关扫描补认 ConfigService 读法,kill switch 须显式登记 defaultOn——补进 IDP_BACKCHANNEL_DISPATCH_ENABLED\n\n扫描此前只认 env.X / process.env.X 两种写法,NestJS ConfigService.get(\"X\") 整个看不见;补上后扫出\nidentity 后端注销分发环的 IDP_BACKCHANNEL_DISPATCH_ENABLED(=== \"false\" 才关、未设即开)。它是已落地\n能力的 kill switch,不改成 opt-in(会让注销分发在没配变量的环境里静默停掉,正是本门禁要抓的形状),\n也不在门禁里加白名单:登记表 env-switch 条目新增可选 defaultOn: true(只认布尔),S5 只对登记了它的\n开关放行;代码改回 opt-in 后登记不删判 S9_DEFAULT_ON_DECLARATION_STALE,同 S2 登记不许腐烂。\n\n清单 10 → 11 个环境开关,CLAUDE.md 声明句同步;报告每条开关带 defaultOn / declaredDefaultOn 与逐站点\noptIn,metrics 增 envSwitchDefaultOn。六处验收 / 测试入口全部把该开关置 false、runtime 模块内无单测\n调用 dispatchBatch——缺口本身未关,exitWhen 写明要在固定源码验收里以开启态被走到。\n\ngovernance 测试 562 / 561 通过 / 1 跳过(GOV_REPORT_DIR 隔离运行,reports/ 未动);stub-surface 27 / 27;\ncheck:stub-surface 与 check:doc-claims 单跑 exit 0。报告回绑另起 chore(reports) 提交。\n\nCo-Authored-By: Claude Fable 5.1 \u003cnoreply@anthropic.com\u003e\n","url":"https://gitea.g-hi.com/luoanwu/enterprise-platform/commit/b32aaeec6fb47a7e49e74444d48b5973b0cf7a64","author":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"committer":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"verification":null,"timestamp":"2026-09-21T00:05:56-07:00","added":[],"removed":[],"modified":["CLAUDE.md","docs/作业可执行性收口-2026-09-19.md","governance/check-stub-surface.mjs","governance/lib/stub-surface-core.mjs","governance/stub-surface.json","governance/test/stub-surface.test.mjs"]},"repository":{"id":116,"owner":{"id":5,"login":"luoanwu","login_name":"","source_id":0,"full_name":"","email":"law@g-hi.com","avatar_url":"https://gitea.g-hi.com/avatar/627574a890388a2aadc80ab38d22f3a0","html_url":"https://gitea.g-hi.com/luoanwu","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-01-30T16:28:30+08:00","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"luoanwu"},"name":"enterprise-platform","full_name":"luoanwu/enterprise-platform","description":"","empty":false,"private":false,"fork":false,"template":false,"mirror":false,"size":31755,"language":"","languages_url":"https://gitea.g-hi.com/api/v1/repos/luoanwu/enterprise-platform/languages","html_url":"https://gitea.g-hi.com/luoanwu/enterprise-platform","url":"https://gitea.g-hi.com/api/v1/repos/luoanwu/enterprise-platform","link":"","ssh_url":"git@gitea.g-hi.com:luoanwu/enterprise-platform.git","clone_url":"https://gitea.g-hi.com/luoanwu/enterprise-platform.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":44,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"2026-09-11T07:33:25+08:00","updated_at":"2026-09-21T15:05:48+08:00","archived_at":"1970-01-01T08:00:00+08:00","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":true,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"0001-01-01T00:00:00Z","topics":[],"licenses":[]},"pusher":{"id":5,"login":"luoanwu","login_name":"","source_id":0,"full_name":"","email":"5+luoanwu@noreply.localhost","avatar_url":"https://gitea.g-hi.com/avatar/627574a890388a2aadc80ab38d22f3a0","html_url":"https://gitea.g-hi.com/luoanwu","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-01-30T16:28:30+08:00","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"luoanwu"},"sender":{"id":5,"login":"luoanwu","login_name":"","source_id":0,"full_name":"","email":"5+luoanwu@noreply.localhost","avatar_url":"https://gitea.g-hi.com/avatar/627574a890388a2aadc80ab38d22f3a0","html_url":"https://gitea.g-hi.com/luoanwu","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-01-30T16:28:30+08:00","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"luoanwu"}}... |