Files
Agent-System-Dev/policy/adoption.md
T
weichen c2da46e4d2 Harden the gate: uninitialized-submodule detection and platform protection registration
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
2026-09-30 03:47:24 +00:00

2.1 KiB
Raw Blame History

通用规范采纳记录(Agent-System-Dev 组合)

  • 项目/负责人:Agent-System 组合 / weichen
  • 状态:active(2026-09-30 经 PR weichen/Development-Guidelines#1 采纳 draft.7;机制经 Dev PR#1 合入 ef89fc8)
  • 规范位置:deps/development-guidelines(gitlink 固定版本)
  • 过程文档位置:modules/documents(docs/records/)
  • 版本权威:父仓 gitlink
  • 批准/生效依据:Dev PR#1(19/19 正负例 + make test);guidelines PR#1
规范/工作流 适用条件与范围 执行方式/证据
core/baseline.md 日常 manual
workflows/delivery.md(含启动自检 §1) 交付 advisory(make precheck);判定输出 BUSY/SYNC 时阻断
standards/collaboration.md 并行/同步节点 enforced(本地):pre-commit 拒绝集成分支直提与坏分支名(负例:hook-main/badbranch 拒绝输出);节点同步由 task-sync 落卡
提交格式(主题行/四段 body) 全部提交 enforced(本地):commit-msg 拒绝 >100 列与句点结尾(负例:longsubject 拒绝输出);受保护分支经 Gitea PR 合入(本记录 3 个 PR 为正例)
standards/verification.md 验收 manual:make test(12 ok 行)+ scratch 19/19 为证
standards/multi-repo.md 跨仓/gitlink manual;受控历史迁移通道已于 2026-09-30 行使一次(documents/records/2026-09-30-history-migration.md)
工作区回收 交付终点 advisory(task-finish);负例:合入前 finish 拒绝输出
standards/tool-adaptation.md(draft.8) 为工具创建规则/钩子实例 本组合 CLI/git 级实例已登记:policy/tool-adaptation-matrix.md(A1–A7 逐行定级+正负例证据)
同上(zcode 实例) zcode 客户端写路径 policy/tool-adaptation-zcode.md:PreToolUse 写守卫(.zcode/config.json + scripts/zcode/write-guard.sh),A1/A3 落笔前 enforced

项目差异

  • Gitea 分支保护已启用(2026-09-30):11 个组合仓 main 禁直推、拒绝陈旧候选;负例:直推被 pre-receive hook declined。平台层 A3 升级为 enforced。