Repository navigation
agent-policy: add the pre-PR checklist - #596
Conversation
Add the pre-PR checklist from aurora-silicon/agent-guidelines to the repository's assistant policy, so contributors and their agents run the same checks Aurora's reviewers apply before a PR is opened. The section names the agent-guidelines commit it was synced from. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
RyanTheTide
left a comment
There was a problem hiding this comment.
No blockers. Checked the added "Pre-PR checklist" section against aurora-silicon/agent-guidelines at 8c0f9c22: identical text, and the same section as in the other five policy PRs (u-boot, speakerguardd, fedora-aurora, aurora-installer get an extra "To be expanded" stub). The existing policy files and guard are unchanged.
Assisted-by: LLM (Claude:Opus 5.5)
|
Blockers: 1. I checked the added section against
No CI checks are reported on this branch. No hardware row needed (docs only). Assisted-by: LLM (Claude:Opus 5.5) |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Adversarial §1–§6 pre-PR checklist review at 8c62c8e97790c014e11b4d0dda72a18d2e97b819 (not superseded on aurora-wip acd6874dae; 0 CI checks reported).
Blockers (policy drift & live-tree inaccuracies)
-
Stale / stricter-than-canonical §4
Assisted-by:rule vsaurora-silicon/agent-guidelinesmain(0b26c31):
This PR syncs fromagent-guidelinescommit8c0f9c227cd7(2026-11-21), which has been superseded by0b26c3109f(2026-11-22, PR #1policy: loosen Assisted-by PR body formatting rules). Line 42 of the diff enforces the revoked strict syntax:When an agent helped, the PR body's last line is Assisted-by: LLM (<Vendor>:<Model>).Canonical
agent-guidelinesmainreplaced this with:When an agent helped, disclose it at the end of the PR body with a plain Assisted-by: line naming the model or tool (exact wording, vendor prefix, and punctuation are flexible; do not nitpick format).Landing
8c62c8e9as-is would re-introduce the stricter format rule into Mesa's.github/aurora/AGENTS.md(and its synced copies). Please re-sync fromagent-guidelinesmain(>= 0b26c31). -
§6 Naming text contradicts the live Mesa
aurora-wiptree (must be fixed inagent-guidelinesfirst, then re-synced):
Line 52 states: "The code prefix isbrl_; the rename is tracked in aurora-silicon/mesa#591. Use Aurora paths and names, not Asahi or m1n1."aurora-silicon/mesa#591is an open, unmerged PR (not landed, and not an issue). Onaurora-wiptoday,src/borealis/does not exist; the Vulkan driver is still insrc/asahi/vulkan/withhk_/HK_symbols.- Saying "Use Aurora paths and names, not Asahi" without qualification conflicts with Mesa's Gallium
asahidriver,src/asahi/, DRM UAPI (asahi_drm.h,DRM_ASAHI_*), and upstream-shared code. - As already noted in the earlier comment and reflected in
team-handbook#3(GPU-BRINGUP-AND-PERF-GUIDE.md§1.2 Rule 4), the policy should distinguish prose/new user-facing names ("Borealis") from current literal code symbols (hk_*/HK_*until #591 lands) and upstream/UAPIasahinames.
-
CI / post-merge sync verification gap:
No CI checks have run on8c62c8e9(statusCheckRollupis empty;aurora-silicon/mesahas no Actions runs since2026-10-24), even though## Still to runrelies onaurora-agent-policy.ymlrunning on this PR and refreshingAGENTS.md,CLAUDE.md,GEMINI.md, and.github/copilot-instructions.mdafter merge. Confirm whether Actions will trigger on merge or if the four copies need explicit syncing.
Non-blocking notes
- Clean-room routing & Mesa scope: While updating
agent-guidelinesbefore re-syncing here, consider (a) aligning §4 with the three-tier clean-room routing documented inteam-handbook#3(Tier 1 ADT hardware facts, Tier 2 our own measurements/compiler output, Tier 3 tainted Apple RE material kept strictly out of public repos/PRs) and (b) adding a brief repo-scope note so kernel/bootloader-only items (kernel cmdline, devicetrees,speakerguardd v2, dead-man, Stage 1/1TR, USB-C VDM/HPM resets) do not confuse Mesa contributors. - §4 Attribution on this PR: Pass — commit
8c62c8e9carries human author/committer +Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>only (zero AI trailers), and the PR body disclosure is compliant. - §5 Evidence: Docs/policy-only change; no hardware run required.
Assisted-by: LLM (Gemini 4 Neon)
agent-guidelines loosened the Assisted-by wording in section 4 after 8c0f9c227cd7. Sync the checklist from 0b26c3109f8c, and update AGENTS.md, CLAUDE.md, GEMINI.md and .github/copilot-instructions.md to the new policy file in the same commit, so the merge does not rely on the policy workflow to refresh them. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
|
Updated to 1b98bda.
Assisted-by: LLM (Claude:Opus 5.5) |
agent-guidelines#2 rewrote section 6 (Naming): prose says Borealis, code keeps its current hk_/HK_ identifiers in src/asahi/vulkan/ until the rename in mesa#591 lands, and upstream or interface names (the Gallium asahi driver, asahi_drm.h, DRM_ASAHI_*) stay as they are. Sync the checklist from f7edafb3ce3b and update the four copies in the same commit. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
|
Updated to 6bbdfaa.
Assisted-by: LLM (Claude:Opus 5.5) |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Re-review (§1–§6 pre-PR checklist) at 6bbdfaa4027f64ce44049ddb403f1cfd56063372 (mergeable onto aurora-wip; agent-policy-change label set; mesa#724 merged as 6121dc23; 0 CI checks reported as Actions have not run on this repository since 2026-10-24).
All prior blockers resolved
- Canonical §4
Assisted-by:alignment: Resolved. Synced fromaurora-silicon/agent-guidelinesmain(f7edafb3ce3b, incorporating0b26c31/ PR #1). - §6 Naming alignment with live
aurora-wip: Resolved viaagent-guidelines#2(f7edafb3ce3b). Prose uses Borealis; code keepshk_/HK_insrc/asahi/vulkan/until aurora-silicon/mesa#591 (now linked as/pull/591) merges; upstream and UAPI names (Galliumasahi,src/asahi/,asahi_drm.h,DRM_ASAHI_*) stay unchanged. Verified exact line-for-line content match againstaurora-silicon/agent-guidelines/pre-pr-checklist.mdatf7edafb3ce3b. - Synced copies & policy guard: Resolved.
.github/aurora/AGENTS.md,AGENTS.md,CLAUDE.md,GEMINI.md, and.github/copilot-instructions.mdare all updated in this PR with identical blob SHA (b33f45a78008), so merge does not depend on the inactive workflow, and localagent-policy.sh pr(with#724) verified clean.
§1–§6 checklist summary
- §1–§3: Pass (policy documentation only).
- §4 (Clean-room & attribution): Pass — all three commits (
8c62c8e9,1b98bda4,6bbdfaa4) carry human author/committer (Ryan Murray <ryan@aurorasilicon.org>) and humanSigned-off-by:only, with zero AI trailers; PR body includesAssisted-by:disclosure; clean-room. - §5 (Evidence): Pass — docs/policy-only change; blob identity and local
agent-policy.sh prchecks verified. - §6 (Naming): Pass — matches canonical
agent-guidelinesf7edafb3ce3b.
Assisted-by: LLM (Gemini 4 Neon)
Problem
Contributors and their agents (ours and outside ones) have no in-repo copy of the checks Aurora's reviewers apply before a PR is merged. The checklist now lives in the public aurora-silicon/agent-guidelines repo.
Change
Adds a "Pre-PR checklist" section to
.github/aurora/AGENTS.md, copied frompre-pr-checklist.mdat agent-guidelinesf7edafb3ce3b(currentmain: the loosenedAssisted-bywording and the item 6 naming fix from agent-guidelines#2). The section names the commit it was synced from. The existing rules are unchanged.AGENTS.md,CLAUDE.md,GEMINI.mdand.github/copilot-instructions.mdare updated in the same PR, byte-identical to the new policy file. The merge doesn't depend on the policy workflow, which hasn't run on this repository since 2026-10-24.Testing
.github/aurora/agent-policy.sh prfrom aurora-wip (f0ae30b1, with #724) on a local clone (LOCAL=1,POLICY_CHANGE_OK=1as theagent-policy-changelabel sets it):PR is cleanfor the head6bbdfaa4and for its merge commit with aurora-wip. Without the label the script stops at the policy-change check, as intended. All four copies have the same blob as.github/aurora/AGENTS.md.git merge-treeagainst aurora-wip: no conflicts.Still to run
What the checklist covers
Assisted-by:line at the end of the PR body.hk_/HK_until borealis: rename the Vulkan driver from Honeykrisp to Borealis (library, ICD, drirc, src/borealis/vulkan, brl_ prefix, BRL_ env) #591 lands; upstream and UAPIasahinames stay.Assisted-by: LLM (Claude:Opus 5.5)