Add CI, version stamping, and the high-consequence two-key rule #11

Merged
weichen merged 4 commits from feature/hardening-batch into main 2026-09-30 04:09:07 +00:00
Owner
  1. CI:.gitea/workflows/ci.yaml(PR/push 触发 make test + make build,子仓经 HTTPS insteadOf 物化)——本 PR 即首跑,绿后合并;2) 版本溯源:make version / agent-system version 输出 git describe+四组件 SHA(ldflags 注入 main.version);3) 双钥匙:AGENTS.md 高后果清单(Agent 只准备、用户执行)+ adoption 差异表登记。
1) CI:.gitea/workflows/ci.yaml(PR/push 触发 make test + make build,子仓经 HTTPS insteadOf 物化)——本 PR 即首跑,绿后合并;2) 版本溯源:make version / agent-system version 输出 git describe+四组件 SHA(ldflags 注入 main.version);3) 双钥匙:AGENTS.md 高后果清单(Agent 只准备、用户执行)+ adoption 差异表登记。
weichen added 3 commits 2026-09-30 04:06:13 +00:00
Why: PR test evidence depended on the agent's word (single point); the
running binary could not answer what combination it was built from; and
irreversible operations lacked an explicit agent-stops-here boundary.
Evidence: Gitea runner online (home-runner, ubuntu-latest+docker); make
version prints describe+component SHAs; two-key line maps to baseline hard
boundary 1. CI first run observed on this PR before merge (see Actions tab).
Impact: .gitea/workflows/ci.yaml runs make test + make build on PR/push;
Makefile injects main.version (make version / agent-system version);
AGENTS.md and adoption register the two-key rule. No product code change.
Refs: policy/adoption.md; release-operations requirements
Record the sync checkpoint
ci / test (pull_request) Failing after 6s
51d9e92b88
weichen added 1 commit 2026-09-30 04:07:24 +00:00
Why: the job token only authorizes the event repository; sibling private
submodules (Development-Guidelines et al.) returned 404 on the first run.
Evidence: run 194 log — clone of deps/development-guidelines failed with
repository not found despite the insteadOf rewrite.
Impact: ci.yaml reads secrets.SUBMODULE_TOKEN (stored via API, never in
tree or chat); no other change.
Refs: run 194; PR#11
weichen merged commit dca932c6da into main 2026-09-30 04:09:07 +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#11