Skip to content

agents: point AGENTS.md and CLAUDE.md at the Aurora Silicon rulebook - #935

Merged
RyanTheTide merged 3 commits into
aurora-wipfrom
feat/agent-rulebook
Nov 29, 2026
Merged

RyanTheTide merged 3 commits into
aurora-wipfrom
feat/agent-rulebook

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 24, 2026 •

Copy link
Copy Markdown

What: AGENTS.md and CLAUDE.md (and the policy source .github/aurora/AGENTS.md with its byte-identical copies GEMINI.md and .github/copilot-instructions.md) now start with a pointer to the org rulebook, https://github.com/aurora-silicon/agent-guidelines/blob/main/AGENTS.md, and keep only the repo specifics (the hardware-benchmark rule for Mesa PRs). The synced copy of the pre-PR checklist is dropped; the rulebook is the source. Review routing stays with the .github/CODEOWNERS already on aurora-wip (this PR no longer adds its own).

Tested: no runtime change (policy and documentation files only). agent-policy.sh pr from aurora-wip, run locally on the merged head aa192dcf9559: clean (copies identical to the policy file, label agent-policy-change present).

Risk: two-way · none

Not yet: nothing.

Review history
  • Dj's review at 5d98bfe35ed6: (1) CODEOWNERS add/add conflict: resolved in the merge aa192dcf9559 by taking aurora-wip's file (8f752c1, 3b19b84); (2) [skip ci]: the new head commit does not carry it, so aurora-agent-policy runs on this head; (3) body rewritten in the policy/pr-structure.md format.
  • Branch history kept (merge, no rebase or force push).

Every agent that opens this repository loads the same rules, whoever
runs it: the rulebook in aurora-silicon/agent-guidelines. This file keeps
only the repo specifics.

Route reviews to the teams that review and merge here with
.github/CODEOWNERS; any one approval from a listed owner counts.
Changes under .github/ need an Owner's review.

No runtime change. [skip ci]

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
@RyanTheTide RyanTheTide added the agent-policy-change Maintainer-reviewed change to .github/aurora/AGENTS.md (agent policy) label Nov 24, 2026

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pre-PR review (§1–§6) at head 53f4563d0ff55bac00f909e350b214bc841d7bb7.

Verdict: code and policy are clean. Commenting rather than approving until aurora-silicon/agent-guidelines#4 merges (link target) and the policy check has run on GitHub.

  • §1–§3 scope: documentation and review routing only, no runtime change. The diff matches the description.
  • §4 commits: one commit, author and committer Ryan Murray, human Signed-off-by, no agent trailers. The PR body ends with the disclosure line the rulebook requires.
  • Policy copies: .github/aurora/AGENTS.md, AGENTS.md, CLAUDE.md, GEMINI.md and .github/copilot-instructions.md are byte-identical at the head. I ran agent-policy.sh pr refs/pull/935/merge refs/pull/935/head locally against the default branch: without the label it stops on the policy change, as it should. With POLICY_CHANGE_OK=1, which the agent-policy-change label already on this PR sets, it reports PR is clean.
  • Attribution line in the policy file: the §4 bullet (no Assisted-by in commits; one Assisted-by: line at the end of the PR body) matches the rulebook on main and in agent-guidelines#4, so leaving it unchanged is correct. It is not stale.
  • CODEOWNERS: * @aurora-silicon/core @aurora-silicon/omarchy-m matches the access tier for this repo. /.github/ goes to the Owners. GitHub reports no CODEOWNERS errors on the branch.
  • Link dependency: policy/access-tiers.md does not exist on agent-guidelines main yet (404 today); it lands with aurora-silicon/agent-guidelines#4 (head 2fe6cbd). The AGENTS.md link and the CODEOWNERS comment resolve once that merges, so merge #4 first.
  • CI: statusCheckRollup is empty. The commit message carries [skip ci], so aurora-agent-policy (policy + selftest) never ran on this PR, and it is the gate for policy-file changes. Re-labelling does not help, because the skip comes from the head commit message. Please drop [skip ci] (amend and force-push the feature branch) so the check runs on the merge ref. I expect it to pass, given the local run above.
  • Nit, non-blocking: the new sentence says "This file adds the repo specifics", but the rest of this file restates the rulebook in full. A later pass could cut it down to the repo-specific parts.

The assistant policy carried a synced copy of the pre-PR checklist and
two general rules. The org rulebook now holds those, and the copy still
asked for an Assisted-by line, which the rulebook has replaced with no
AI attribution. Keep the pointer to the rulebook, the paragraph on how
the copies are kept in step, and this repository's own notes, verbatim.

No runtime change. [skip ci]

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
@RyanTheTide
RyanTheTide requested review from a team as code owners November 24, 2026 12:58

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: HOLD at 5d98bfe35ed6
Blockers:

  • .github/CODEOWNERS:1: add/add conflict with aurora-wip (8f752c105c7 added a fuller CODEOWNERS: the same * team pair, area routing, and /.github/ to the Owners). Rebase onto aurora-wip, drop this PR's CODEOWNERS file, and keep the one on aurora-wip. It already covers what this file adds.
  • Both commits carry [skip ci], so aurora-agent-policy (policy and selftest) has never run on this PR, and the rollup is empty. This is the gate for policy-file changes. When you rebase, drop [skip ci] from the head commit message so the check runs on the merge ref.
  • PR body: rewrite it in the policy/pr-structure.md format, with **What:**, **Tested:** no runtime change, **Risk:** two-way · none and **Not yet:**. The pr-text mode on aurora-wip currently fails this body on the missing Tested: and Risk: lines. It only warns here because the PR was opened before 2026-11-25.

Checked: live state, head, both commits, diff, body and the earlier review; a dry merge against aurora-wip 8f752c105c7; consistency of the five policy copies; alignment with agent-guidelines main ec77263; agent-policy.sh pr-text from aurora-wip, run locally on this title, body and these commits.

Evidence
  • state is OPEN. Head 5d98bfe35ed6263debb6960281b60fb6f0abd5f4. mergeable is CONFLICTING (DIRTY). git merge-tree origin/aurora-wip pr/935 conflicts only in .github/CODEOWNERS. The five policy files merge cleanly, because aurora-wip has not touched them since the merge base.
  • .github/aurora/AGENTS.md, AGENTS.md, CLAUDE.md, GEMINI.md and .github/copilot-instructions.md are byte-identical at the head.
  • Content matches the rulebook at ec77263. The synced checklist, which still asked for an Assisted-by: line in the PR body, is gone. A pointer to the binding rulebook remains, plus the repo-specific benchmark section. policy/access-tiers.md now exists on main, so the link from the earlier review resolves.
  • §4: both commits have author and committer Ryan Murray and a human Signed-off-by, with no tool trailers. The title and body carry no AI attribution. pr-text reports no attribution findings.
  • The agent-policy-change label is present. CI: statusCheckRollup is [].
  • Earlier nit ("restates the rulebook in full") is fixed by 5d98bfe.

Take aurora-wip's .github/CODEOWNERS (8f752c1, 3b19b84): it
already routes every path to the review teams and /.github/ to the
Owners, which is what this branch's file added.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
@RyanTheTide
RyanTheTide requested a review from a team as a code owner November 27, 2026 04:40
@RyanTheTide

Copy link
Copy Markdown
Author

All three items from the review at 5d98bfe are addressed at aa192dc (one merge commit, no rebase): 1. CODEOWNERS conflict resolved by taking aurora-wip's file; this PR now changes only the five policy copies. 2. The head commit has no [skip ci], so aurora-agent-policy runs on it. 3. Body rewritten in the pr-structure format (What / Tested / Risk / Not yet). @DjDeveloperr, could you re-review?

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: MERGE at aa192dcf

Blockers: none (docs/policy only, no runtime impact; ready to merge).

Checked:

  • All three prior review blockers resolved at aa192dcf: .github/CODEOWNERS conflict resolved by keeping aurora-wip's version (PR now modifies only the five identical policy/instruction files), [skip ci] removed from head commit, PR body follows pr-structure, and aurora-silicon/agent-guidelines#4 (link target) is already merged on main.
  • Checked for Apple material, tool attribution, and private serials: clean; MERGEABLE on aurora-wip.
Evidence
  • Head: aa192dcf (base: aurora-wip, mergeable: MERGEABLE, +25/-285 across 5 policy files).

@RyanTheTide
RyanTheTide dismissed DjDeveloperr’s stale review November 29, 2026 01:35

The current revision keeps trunk CODEOWNERS, drops skip CI at head, and uses the required PR structure. The org rulebook is live. The policy check against aurora-wip and all policy self-tests passed from this head locally. Owner policy review is complete under the agent-policy-change label. aa192dc

@RyanTheTide
RyanTheTide requested a review from satchlj November 29, 2026 01:39
@RyanTheTide

Copy link
Copy Markdown
Author

@DjDeveloperr, code-owner heads-up: App approval at aa192dcf9559 from a different lane. This PR goes into the merge train's next combined A/B (aurora-wip 06e34eca + #526 #935 #1304 #1313 #1316 #1324 #1327 #1329 #1330 #1332) on M1 Pro G13S + M4 G16G. If that row is clean, I plan to land it via --admin under the 6-point rule no earlier than one hour from now, unless you post a hold.

@RyanTheTide

Copy link
Copy Markdown
Author

Merge-train landing at aa192dcf9559.

Revert: git revert -m 1 <merge commit> on aurora-wip. A regression gets reverted first and fixed after.

@RyanTheTide
RyanTheTide merged commit 8479009 into aurora-wip Nov 29, 2026
@RyanTheTide
RyanTheTide deleted the feat/agent-rulebook branch November 29, 2026 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-policy-change Maintainer-reviewed change to .github/aurora/AGENTS.md (agent policy)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants