Skip to content

governance: agent-instruction files are human-merge only — AGENTS.md carries the governed-surface rule #5149

Description

@os-zhuang

Maintainer ruling (2026-08-18, PM chat, objectstack skills-seat session session_01Rn7aaamsR99FXRqLcpL99q). The maintainer asked whether edits to AGENTS.md-class files need human review including in the objectui and cloud repos (「任何对 agents.md 等文件的修改是不是也需要人类审核? 包括 objectui cloud仓库」) and approved the seat's recommendation verbatim: 「同意」.

Named reader: the repo:objectui execution seat — this card is the cross-repo replication half of objectstack#9495 and lands here (file-at-destination).

What to land (this repo's AGENTS.md, one rule block)

  1. Governed surface for this repo: AGENTS.md, CLAUDE.md, .claude/** (agents, hooks, skills, settings — all of it), plus docs/adr/** if/where it exists here.
  2. Hard rule: agent seats never flip ready, never enqueue, and never arm auto-merge on a PR whose diff touches the governed surface — such PRs stay draft, awaiting a human merge; the human's merge action IS the review record (per the objectstack#9495 model: no per-PR approval click required).
  3. Mixed diff: one governed path in the diff forks the whole PR to human-merge — no proportionality judgment.
  4. Keep the wording durable (the maintainer's standing criterion: transient/transition-window facts do not enter instruction files).

Audit tooling note: the report-only governed-merges audit ships first for objectstack only (objectstack#9495); this repo relies on the rule text + seat discipline until a cross-repo audit follow-up exists — state that plainly in the rule block rather than implying tooling that isn't there.

The implementing PR is itself governed by the rule it lands: draft, human merge.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions