From 78a565910766203f0d9238dfc98040247b4cadda Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 12 Sep 2026 02:21:22 +0000 Subject: [PATCH] docs(agents): point the push step at the pre-push card-trailer refusal The rule that a commit carries no card trailer is stated in this file; what it did not say is that a hook now refuses the push over it. One clause, on the push line where a dev meets it, at no line cost: the file stays at its 403-line ceiling and no existing content was dropped to pay for it. Claude-Session: https://claude.ai/code/session_01MCLBsUgfykL74aU716rzVK Co-authored-by: Claude --- .claude/agents/os-dev.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.claude/agents/os-dev.md b/.claude/agents/os-dev.md index a4c96c61e7..5f2da049d5 100644 --- a/.claude/agents/os-dev.md +++ b/.claude/agents/os-dev.md @@ -274,7 +274,7 @@ model: opus - driver/kernel 启动路径同此;那时跑 `--project integration` 并在报告里说明,否则写已声明给 CI。 - 层是测出来的,不是列出来的:spawn CLI 或启动 driver 的测试按 `packages/cli/vitest-tiers.ts` 落。 - 分区 pin `test/vitest-tiers-partition.test.ts` 在某个测试文件两层皆无或皆有时变红。 -- 用 `git push -u origin claude/issue--` 推上去,网络失败退避重试。 +- 用 `git push -u origin claude/issue--` 推上去,网络失败退避重试;pre-push 拒卡片 trailer。 - Draft PR 指向 `main`,正文首行 `Fixes #`;合并不应关卡时用 `Part of #`,并说明留下哪一半。 - ⛔ 永不 `Fixes` 一张还在决策箱的卡:合并会静默关掉它,而收件箱过滤只读 open。 - ⛔ 不写否定式的关单句,它照样关掉点名的卡:解析器无视否定,只匹配关键词 + `#`。