Harden the gate: uninitialized-submodule detection and platform protection registration #8

Merged
weichen merged 3 commits from feature/gate-hardening into main 2026-09-30 03:47:50 +00:00
Owner

修补批:1) precheck 盲区——子仓未初始化(git submodule status 前缀 - )现计入 sub_dirty(快测:4 行样例命中 3);2) 平台分支保护登记——11 组合仓 main 禁直推+拒绝陈旧候选,负例:直推被 pre-receive declined;3) zcode 矩阵 pending-live 补两次探针结论(配置随会话启动加载,本会话早于配置属预期);4) adoption A3 升级 enforced(平台)。

修补批:1) precheck 盲区——子仓未初始化(git submodule status 前缀 - )现计入 sub_dirty(快测:4 行样例命中 3);2) 平台分支保护登记——11 组合仓 main 禁直推+拒绝陈旧候选,负例:直推被 pre-receive declined;3) zcode 矩阵 pending-live 补两次探针结论(配置随会话启动加载,本会话早于配置属预期);4) adoption A3 升级 enforced(平台)。
weichen added 3 commits 2026-09-30 03:47:49 +00:00
Why: precheck missed uninitialized submodules (git submodule status '-'
prefix), and the branch protection configured today plus the second live
probe outcome must be recorded honestly in the matrices.
Evidence: platform negative: direct push to protected main rejected
(pre-receive hook declined, Logging-System probe); second write-guard probe
confirmed session-start config loading (no hook run in the pre-config
session log).
Impact: precheck sub_dirty now counts '-' prefixed entries; A3 registered
enforced at platform layer across 11 repos; zcode matrix pending-live
annotated with the loading-timing proof.
Refs: policy/tool-adaptation-matrix.md; policy/tool-adaptation-zcode.md
weichen merged commit 8f7cf2d9b9 into main 2026-09-30 03:47:50 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#8