From 8c62c8e97790c014e11b4d0dda72a18d2e97b819 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Sat, 21 Nov 2026 15:05:38 +1100 Subject: [PATCH 1/3] agent-policy: add the pre-PR checklist 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 --- .github/aurora/AGENTS.md | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/.github/aurora/AGENTS.md b/.github/aurora/AGENTS.md index 3d55e36d0f4e..aa3f29e97e50 100644 --- a/.github/aurora/AGENTS.md +++ b/.github/aurora/AGENTS.md @@ -14,6 +14,51 @@ merge. To change the policy, edit .github/aurora/AGENTS.md. - Only public code goes in. Never copy code from proprietary sources. - Changes are tested on the hardware they affect before they are merged. +## Pre-PR checklist + +Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/8c0f9c227cd7/pre-pr-checklist.md) +at 8c0f9c227cd7. Change it there, then sync the copy here; do not edit this section +on its own. These are the checks Aurora's review agents apply. + +Each item is a hard rule unless it says "default". If your change fails one, fix the change, or say in the PR why it can't be done yet and keep the PR a draft. + +### 1. No model gating: works on every Mac that has the hardware (hard) + +- **No chip, SoC, board or firmware-version gates** unless truly unavoidable. Decide from what the machine reports: ADT/DT properties of the block, its compatible, capability or feature bits, probed registers, firmware capability fields, ALSA control ranges. Never `if chip == …`, `if board == …`, `if fw == 27.2`, or a per-chip table where a property can carry the value. +- If a gate really is unavoidable, the commit message says why, and the gate uses the narrowest hardware property. +- Prove the change on every Mac you have that contains the block, not only the one you wrote it for. Ask for test runs on the ones you don't have. +- **Chicken and egg:** if the property must first come from the boot loader or DT, land that side first. The consumer reads it with today's behaviour as the fallback when it is absent, and the fallback is removed after a release has carried the property. + +### 2. Production-ready, no hacks (hard) + +- Works on the **default kernel command line**: no new cmdline or module parameters, environment variables or manual steps needed for a feature to work. +- No sleeps or retries over a race, no magic delay or depth ("the value that worked"), no disabled checks, no lab-only code paths. +- Development boots (one-shot test boots) may use extra parameters. Remove them and re-prove on the default command line before the PR. +- One kernel tree and one command line for every Mac. Only the devicetrees differ. + +### 3. Safety (hard) + +- **Safety values come from the machine, never from hardcoding.** Limits, caps, thresholds, timings and filters that protect hardware (speaker excursion and thermal limits, gain caps, high-pass corners, power and thermal limits, voltage and current ceilings) are read from what the Mac hands over: its ADT/DT, its own firmware or tuning bundle on the ESP, or control ranges the driver reports. No per-model safety tables or magic numbers in code. If the machine doesn't provide a value, the feature stays off or muted; it never falls back to a guessed constant. +- Speakers: **speakerguardd v2 only**. Never weaken or bypass protection. If a capability or limit can't be established from the machine, stay muted. +- Every test boot has a dead-man. Read registers before writing them. +- No Stage 1, boot-object, LocalPolicy or 1TR change without the machine's owner. +- Before any USB-C VDM or HPM reset, confirm which Mac is on the far end of the cable. + +### 4. Clean-room and attribution (hard) + +- No Apple code, strings, firmware, disassembly output or Apple tuning values in public code, PRs, issues or channels. Our own traces and measurements are fine. +- Commits carry human identity only, with a human `Signed-off-by`. No agent co-author or sign-off and no `Assisted-by` in commits. When an agent helped, the PR body's last line is `Assisted-by: LLM (:)`. +- Carry other people's commits unchanged. No force pushes to shared branches. + +### 5. Evidence (default, high bar) + +- A run on the affected hardware with the numbers: what ran, on which Mac, kernel and build, and the result. Include a regression run: 0 SELinux denials, 0 failed units, 0 new kernel errors. +- Performance claims: a same-machine A/B with conformance unchanged on every GPU generation the change applies to. + +### 6. Naming (hard) + +- The Vulkan driver is **Borealis** (Aurora Silicon's Vulkan driver, in Mesa). Never call our work Honeykrisp or "hk". The code prefix is `brl_`; the rename is tracked in [aurora-silicon/mesa#591](https://github.com/aurora-silicon/mesa/issues/591). Use Aurora paths and names, not Asahi or m1n1. + ## Hardware benchmarks for pull requests Every agent-authored Mesa pull request must include before-and-after benchmark From 1b98bda452b85db6d348b1cbe21e47b6973e5ea0 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Mon, 23 Nov 2026 02:18:14 +1100 Subject: [PATCH 2/3] agent-policy: re-sync the checklist from agent-guidelines 0b26c3109f8c 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 --- .github/aurora/AGENTS.md | 6 ++--- .github/copilot-instructions.md | 45 +++++++++++++++++++++++++++++++++ AGENTS.md | 45 +++++++++++++++++++++++++++++++++ CLAUDE.md | 45 +++++++++++++++++++++++++++++++++ GEMINI.md | 45 +++++++++++++++++++++++++++++++++ 5 files changed, 183 insertions(+), 3 deletions(-) diff --git a/.github/aurora/AGENTS.md b/.github/aurora/AGENTS.md index aa3f29e97e50..c5fc1fa5c9f9 100644 --- a/.github/aurora/AGENTS.md +++ b/.github/aurora/AGENTS.md @@ -16,8 +16,8 @@ merge. To change the policy, edit .github/aurora/AGENTS.md. ## Pre-PR checklist -Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/8c0f9c227cd7/pre-pr-checklist.md) -at 8c0f9c227cd7. Change it there, then sync the copy here; do not edit this section +Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/0b26c3109f8c/pre-pr-checklist.md) +at 0b26c3109f8c. Change it there, then sync the copy here; do not edit this section on its own. These are the checks Aurora's review agents apply. Each item is a hard rule unless it says "default". If your change fails one, fix the change, or say in the PR why it can't be done yet and keep the PR a draft. @@ -47,7 +47,7 @@ Each item is a hard rule unless it says "default". If your change fails one, fix ### 4. Clean-room and attribution (hard) - No Apple code, strings, firmware, disassembly output or Apple tuning values in public code, PRs, issues or channels. Our own traces and measurements are fine. -- Commits carry human identity only, with a human `Signed-off-by`. No agent co-author or sign-off and no `Assisted-by` in commits. When an agent helped, the PR body's last line is `Assisted-by: LLM (:)`. +- Commits carry human identity only, with a human `Signed-off-by`. No agent co-author or sign-off and no `Assisted-by` in commits. 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). - Carry other people's commits unchanged. No force pushes to shared branches. ### 5. Evidence (default, high bar) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 3d55e36d0f4e..c5fc1fa5c9f9 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -14,6 +14,51 @@ merge. To change the policy, edit .github/aurora/AGENTS.md. - Only public code goes in. Never copy code from proprietary sources. - Changes are tested on the hardware they affect before they are merged. +## Pre-PR checklist + +Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/0b26c3109f8c/pre-pr-checklist.md) +at 0b26c3109f8c. Change it there, then sync the copy here; do not edit this section +on its own. These are the checks Aurora's review agents apply. + +Each item is a hard rule unless it says "default". If your change fails one, fix the change, or say in the PR why it can't be done yet and keep the PR a draft. + +### 1. No model gating: works on every Mac that has the hardware (hard) + +- **No chip, SoC, board or firmware-version gates** unless truly unavoidable. Decide from what the machine reports: ADT/DT properties of the block, its compatible, capability or feature bits, probed registers, firmware capability fields, ALSA control ranges. Never `if chip == …`, `if board == …`, `if fw == 27.2`, or a per-chip table where a property can carry the value. +- If a gate really is unavoidable, the commit message says why, and the gate uses the narrowest hardware property. +- Prove the change on every Mac you have that contains the block, not only the one you wrote it for. Ask for test runs on the ones you don't have. +- **Chicken and egg:** if the property must first come from the boot loader or DT, land that side first. The consumer reads it with today's behaviour as the fallback when it is absent, and the fallback is removed after a release has carried the property. + +### 2. Production-ready, no hacks (hard) + +- Works on the **default kernel command line**: no new cmdline or module parameters, environment variables or manual steps needed for a feature to work. +- No sleeps or retries over a race, no magic delay or depth ("the value that worked"), no disabled checks, no lab-only code paths. +- Development boots (one-shot test boots) may use extra parameters. Remove them and re-prove on the default command line before the PR. +- One kernel tree and one command line for every Mac. Only the devicetrees differ. + +### 3. Safety (hard) + +- **Safety values come from the machine, never from hardcoding.** Limits, caps, thresholds, timings and filters that protect hardware (speaker excursion and thermal limits, gain caps, high-pass corners, power and thermal limits, voltage and current ceilings) are read from what the Mac hands over: its ADT/DT, its own firmware or tuning bundle on the ESP, or control ranges the driver reports. No per-model safety tables or magic numbers in code. If the machine doesn't provide a value, the feature stays off or muted; it never falls back to a guessed constant. +- Speakers: **speakerguardd v2 only**. Never weaken or bypass protection. If a capability or limit can't be established from the machine, stay muted. +- Every test boot has a dead-man. Read registers before writing them. +- No Stage 1, boot-object, LocalPolicy or 1TR change without the machine's owner. +- Before any USB-C VDM or HPM reset, confirm which Mac is on the far end of the cable. + +### 4. Clean-room and attribution (hard) + +- No Apple code, strings, firmware, disassembly output or Apple tuning values in public code, PRs, issues or channels. Our own traces and measurements are fine. +- Commits carry human identity only, with a human `Signed-off-by`. No agent co-author or sign-off and no `Assisted-by` in commits. 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). +- Carry other people's commits unchanged. No force pushes to shared branches. + +### 5. Evidence (default, high bar) + +- A run on the affected hardware with the numbers: what ran, on which Mac, kernel and build, and the result. Include a regression run: 0 SELinux denials, 0 failed units, 0 new kernel errors. +- Performance claims: a same-machine A/B with conformance unchanged on every GPU generation the change applies to. + +### 6. Naming (hard) + +- The Vulkan driver is **Borealis** (Aurora Silicon's Vulkan driver, in Mesa). Never call our work Honeykrisp or "hk". The code prefix is `brl_`; the rename is tracked in [aurora-silicon/mesa#591](https://github.com/aurora-silicon/mesa/issues/591). Use Aurora paths and names, not Asahi or m1n1. + ## Hardware benchmarks for pull requests Every agent-authored Mesa pull request must include before-and-after benchmark diff --git a/AGENTS.md b/AGENTS.md index 3d55e36d0f4e..c5fc1fa5c9f9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -14,6 +14,51 @@ merge. To change the policy, edit .github/aurora/AGENTS.md. - Only public code goes in. Never copy code from proprietary sources. - Changes are tested on the hardware they affect before they are merged. +## Pre-PR checklist + +Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/0b26c3109f8c/pre-pr-checklist.md) +at 0b26c3109f8c. Change it there, then sync the copy here; do not edit this section +on its own. These are the checks Aurora's review agents apply. + +Each item is a hard rule unless it says "default". If your change fails one, fix the change, or say in the PR why it can't be done yet and keep the PR a draft. + +### 1. No model gating: works on every Mac that has the hardware (hard) + +- **No chip, SoC, board or firmware-version gates** unless truly unavoidable. Decide from what the machine reports: ADT/DT properties of the block, its compatible, capability or feature bits, probed registers, firmware capability fields, ALSA control ranges. Never `if chip == …`, `if board == …`, `if fw == 27.2`, or a per-chip table where a property can carry the value. +- If a gate really is unavoidable, the commit message says why, and the gate uses the narrowest hardware property. +- Prove the change on every Mac you have that contains the block, not only the one you wrote it for. Ask for test runs on the ones you don't have. +- **Chicken and egg:** if the property must first come from the boot loader or DT, land that side first. The consumer reads it with today's behaviour as the fallback when it is absent, and the fallback is removed after a release has carried the property. + +### 2. Production-ready, no hacks (hard) + +- Works on the **default kernel command line**: no new cmdline or module parameters, environment variables or manual steps needed for a feature to work. +- No sleeps or retries over a race, no magic delay or depth ("the value that worked"), no disabled checks, no lab-only code paths. +- Development boots (one-shot test boots) may use extra parameters. Remove them and re-prove on the default command line before the PR. +- One kernel tree and one command line for every Mac. Only the devicetrees differ. + +### 3. Safety (hard) + +- **Safety values come from the machine, never from hardcoding.** Limits, caps, thresholds, timings and filters that protect hardware (speaker excursion and thermal limits, gain caps, high-pass corners, power and thermal limits, voltage and current ceilings) are read from what the Mac hands over: its ADT/DT, its own firmware or tuning bundle on the ESP, or control ranges the driver reports. No per-model safety tables or magic numbers in code. If the machine doesn't provide a value, the feature stays off or muted; it never falls back to a guessed constant. +- Speakers: **speakerguardd v2 only**. Never weaken or bypass protection. If a capability or limit can't be established from the machine, stay muted. +- Every test boot has a dead-man. Read registers before writing them. +- No Stage 1, boot-object, LocalPolicy or 1TR change without the machine's owner. +- Before any USB-C VDM or HPM reset, confirm which Mac is on the far end of the cable. + +### 4. Clean-room and attribution (hard) + +- No Apple code, strings, firmware, disassembly output or Apple tuning values in public code, PRs, issues or channels. Our own traces and measurements are fine. +- Commits carry human identity only, with a human `Signed-off-by`. No agent co-author or sign-off and no `Assisted-by` in commits. 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). +- Carry other people's commits unchanged. No force pushes to shared branches. + +### 5. Evidence (default, high bar) + +- A run on the affected hardware with the numbers: what ran, on which Mac, kernel and build, and the result. Include a regression run: 0 SELinux denials, 0 failed units, 0 new kernel errors. +- Performance claims: a same-machine A/B with conformance unchanged on every GPU generation the change applies to. + +### 6. Naming (hard) + +- The Vulkan driver is **Borealis** (Aurora Silicon's Vulkan driver, in Mesa). Never call our work Honeykrisp or "hk". The code prefix is `brl_`; the rename is tracked in [aurora-silicon/mesa#591](https://github.com/aurora-silicon/mesa/issues/591). Use Aurora paths and names, not Asahi or m1n1. + ## Hardware benchmarks for pull requests Every agent-authored Mesa pull request must include before-and-after benchmark diff --git a/CLAUDE.md b/CLAUDE.md index 3d55e36d0f4e..c5fc1fa5c9f9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -14,6 +14,51 @@ merge. To change the policy, edit .github/aurora/AGENTS.md. - Only public code goes in. Never copy code from proprietary sources. - Changes are tested on the hardware they affect before they are merged. +## Pre-PR checklist + +Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/0b26c3109f8c/pre-pr-checklist.md) +at 0b26c3109f8c. Change it there, then sync the copy here; do not edit this section +on its own. These are the checks Aurora's review agents apply. + +Each item is a hard rule unless it says "default". If your change fails one, fix the change, or say in the PR why it can't be done yet and keep the PR a draft. + +### 1. No model gating: works on every Mac that has the hardware (hard) + +- **No chip, SoC, board or firmware-version gates** unless truly unavoidable. Decide from what the machine reports: ADT/DT properties of the block, its compatible, capability or feature bits, probed registers, firmware capability fields, ALSA control ranges. Never `if chip == …`, `if board == …`, `if fw == 27.2`, or a per-chip table where a property can carry the value. +- If a gate really is unavoidable, the commit message says why, and the gate uses the narrowest hardware property. +- Prove the change on every Mac you have that contains the block, not only the one you wrote it for. Ask for test runs on the ones you don't have. +- **Chicken and egg:** if the property must first come from the boot loader or DT, land that side first. The consumer reads it with today's behaviour as the fallback when it is absent, and the fallback is removed after a release has carried the property. + +### 2. Production-ready, no hacks (hard) + +- Works on the **default kernel command line**: no new cmdline or module parameters, environment variables or manual steps needed for a feature to work. +- No sleeps or retries over a race, no magic delay or depth ("the value that worked"), no disabled checks, no lab-only code paths. +- Development boots (one-shot test boots) may use extra parameters. Remove them and re-prove on the default command line before the PR. +- One kernel tree and one command line for every Mac. Only the devicetrees differ. + +### 3. Safety (hard) + +- **Safety values come from the machine, never from hardcoding.** Limits, caps, thresholds, timings and filters that protect hardware (speaker excursion and thermal limits, gain caps, high-pass corners, power and thermal limits, voltage and current ceilings) are read from what the Mac hands over: its ADT/DT, its own firmware or tuning bundle on the ESP, or control ranges the driver reports. No per-model safety tables or magic numbers in code. If the machine doesn't provide a value, the feature stays off or muted; it never falls back to a guessed constant. +- Speakers: **speakerguardd v2 only**. Never weaken or bypass protection. If a capability or limit can't be established from the machine, stay muted. +- Every test boot has a dead-man. Read registers before writing them. +- No Stage 1, boot-object, LocalPolicy or 1TR change without the machine's owner. +- Before any USB-C VDM or HPM reset, confirm which Mac is on the far end of the cable. + +### 4. Clean-room and attribution (hard) + +- No Apple code, strings, firmware, disassembly output or Apple tuning values in public code, PRs, issues or channels. Our own traces and measurements are fine. +- Commits carry human identity only, with a human `Signed-off-by`. No agent co-author or sign-off and no `Assisted-by` in commits. 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). +- Carry other people's commits unchanged. No force pushes to shared branches. + +### 5. Evidence (default, high bar) + +- A run on the affected hardware with the numbers: what ran, on which Mac, kernel and build, and the result. Include a regression run: 0 SELinux denials, 0 failed units, 0 new kernel errors. +- Performance claims: a same-machine A/B with conformance unchanged on every GPU generation the change applies to. + +### 6. Naming (hard) + +- The Vulkan driver is **Borealis** (Aurora Silicon's Vulkan driver, in Mesa). Never call our work Honeykrisp or "hk". The code prefix is `brl_`; the rename is tracked in [aurora-silicon/mesa#591](https://github.com/aurora-silicon/mesa/issues/591). Use Aurora paths and names, not Asahi or m1n1. + ## Hardware benchmarks for pull requests Every agent-authored Mesa pull request must include before-and-after benchmark diff --git a/GEMINI.md b/GEMINI.md index 3d55e36d0f4e..c5fc1fa5c9f9 100644 --- a/GEMINI.md +++ b/GEMINI.md @@ -14,6 +14,51 @@ merge. To change the policy, edit .github/aurora/AGENTS.md. - Only public code goes in. Never copy code from proprietary sources. - Changes are tested on the hardware they affect before they are merged. +## Pre-PR checklist + +Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/0b26c3109f8c/pre-pr-checklist.md) +at 0b26c3109f8c. Change it there, then sync the copy here; do not edit this section +on its own. These are the checks Aurora's review agents apply. + +Each item is a hard rule unless it says "default". If your change fails one, fix the change, or say in the PR why it can't be done yet and keep the PR a draft. + +### 1. No model gating: works on every Mac that has the hardware (hard) + +- **No chip, SoC, board or firmware-version gates** unless truly unavoidable. Decide from what the machine reports: ADT/DT properties of the block, its compatible, capability or feature bits, probed registers, firmware capability fields, ALSA control ranges. Never `if chip == …`, `if board == …`, `if fw == 27.2`, or a per-chip table where a property can carry the value. +- If a gate really is unavoidable, the commit message says why, and the gate uses the narrowest hardware property. +- Prove the change on every Mac you have that contains the block, not only the one you wrote it for. Ask for test runs on the ones you don't have. +- **Chicken and egg:** if the property must first come from the boot loader or DT, land that side first. The consumer reads it with today's behaviour as the fallback when it is absent, and the fallback is removed after a release has carried the property. + +### 2. Production-ready, no hacks (hard) + +- Works on the **default kernel command line**: no new cmdline or module parameters, environment variables or manual steps needed for a feature to work. +- No sleeps or retries over a race, no magic delay or depth ("the value that worked"), no disabled checks, no lab-only code paths. +- Development boots (one-shot test boots) may use extra parameters. Remove them and re-prove on the default command line before the PR. +- One kernel tree and one command line for every Mac. Only the devicetrees differ. + +### 3. Safety (hard) + +- **Safety values come from the machine, never from hardcoding.** Limits, caps, thresholds, timings and filters that protect hardware (speaker excursion and thermal limits, gain caps, high-pass corners, power and thermal limits, voltage and current ceilings) are read from what the Mac hands over: its ADT/DT, its own firmware or tuning bundle on the ESP, or control ranges the driver reports. No per-model safety tables or magic numbers in code. If the machine doesn't provide a value, the feature stays off or muted; it never falls back to a guessed constant. +- Speakers: **speakerguardd v2 only**. Never weaken or bypass protection. If a capability or limit can't be established from the machine, stay muted. +- Every test boot has a dead-man. Read registers before writing them. +- No Stage 1, boot-object, LocalPolicy or 1TR change without the machine's owner. +- Before any USB-C VDM or HPM reset, confirm which Mac is on the far end of the cable. + +### 4. Clean-room and attribution (hard) + +- No Apple code, strings, firmware, disassembly output or Apple tuning values in public code, PRs, issues or channels. Our own traces and measurements are fine. +- Commits carry human identity only, with a human `Signed-off-by`. No agent co-author or sign-off and no `Assisted-by` in commits. 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). +- Carry other people's commits unchanged. No force pushes to shared branches. + +### 5. Evidence (default, high bar) + +- A run on the affected hardware with the numbers: what ran, on which Mac, kernel and build, and the result. Include a regression run: 0 SELinux denials, 0 failed units, 0 new kernel errors. +- Performance claims: a same-machine A/B with conformance unchanged on every GPU generation the change applies to. + +### 6. Naming (hard) + +- The Vulkan driver is **Borealis** (Aurora Silicon's Vulkan driver, in Mesa). Never call our work Honeykrisp or "hk". The code prefix is `brl_`; the rename is tracked in [aurora-silicon/mesa#591](https://github.com/aurora-silicon/mesa/issues/591). Use Aurora paths and names, not Asahi or m1n1. + ## Hardware benchmarks for pull requests Every agent-authored Mesa pull request must include before-and-after benchmark From 6bbdfaa4027f64ce44049ddb403f1cfd56063372 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Mon, 23 Nov 2026 04:43:19 +1100 Subject: [PATCH 3/3] agent-policy: re-sync the checklist from agent-guidelines f7edafb3ce3b 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 --- .github/aurora/AGENTS.md | 8 +++++--- .github/copilot-instructions.md | 8 +++++--- AGENTS.md | 8 +++++--- CLAUDE.md | 8 +++++--- GEMINI.md | 8 +++++--- 5 files changed, 25 insertions(+), 15 deletions(-) diff --git a/.github/aurora/AGENTS.md b/.github/aurora/AGENTS.md index c5fc1fa5c9f9..b33f45a78008 100644 --- a/.github/aurora/AGENTS.md +++ b/.github/aurora/AGENTS.md @@ -16,8 +16,8 @@ merge. To change the policy, edit .github/aurora/AGENTS.md. ## Pre-PR checklist -Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/0b26c3109f8c/pre-pr-checklist.md) -at 0b26c3109f8c. Change it there, then sync the copy here; do not edit this section +Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/f7edafb3ce3b/pre-pr-checklist.md) +at f7edafb3ce3b. Change it there, then sync the copy here; do not edit this section on its own. These are the checks Aurora's review agents apply. Each item is a hard rule unless it says "default". If your change fails one, fix the change, or say in the PR why it can't be done yet and keep the PR a draft. @@ -57,7 +57,9 @@ Each item is a hard rule unless it says "default". If your change fails one, fix ### 6. Naming (hard) -- The Vulkan driver is **Borealis** (Aurora Silicon's Vulkan driver, in Mesa). Never call our work Honeykrisp or "hk". The code prefix is `brl_`; the rename is tracked in [aurora-silicon/mesa#591](https://github.com/aurora-silicon/mesa/issues/591). Use Aurora paths and names, not Asahi or m1n1. +- The Vulkan driver is **Borealis** (Aurora Silicon's Vulkan driver, in Mesa). Never call our work Honeykrisp or "hk" in prose: PR and issue text, commit messages, docs, reports and user-facing names. +- Code keeps the identifiers it has today. Until the rename in [aurora-silicon/mesa#591](https://github.com/aurora-silicon/mesa/pull/591) is merged, Borealis lives in `src/asahi/vulkan/` with `hk_`/`HK_` symbols; after it lands, new code uses its `brl_` prefix. +- Names shared with upstream or fixed by an interface stay as they are: the Gallium `asahi` driver, `src/asahi/`, the DRM UAPI (`asahi_drm.h`, `DRM_ASAHI_*`) and Asahi or m1n1 names in upstream code. New paths and names of our own use Aurora, not Asahi or m1n1. ## Hardware benchmarks for pull requests diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index c5fc1fa5c9f9..b33f45a78008 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -16,8 +16,8 @@ merge. To change the policy, edit .github/aurora/AGENTS.md. ## Pre-PR checklist -Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/0b26c3109f8c/pre-pr-checklist.md) -at 0b26c3109f8c. Change it there, then sync the copy here; do not edit this section +Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/f7edafb3ce3b/pre-pr-checklist.md) +at f7edafb3ce3b. Change it there, then sync the copy here; do not edit this section on its own. These are the checks Aurora's review agents apply. Each item is a hard rule unless it says "default". If your change fails one, fix the change, or say in the PR why it can't be done yet and keep the PR a draft. @@ -57,7 +57,9 @@ Each item is a hard rule unless it says "default". If your change fails one, fix ### 6. Naming (hard) -- The Vulkan driver is **Borealis** (Aurora Silicon's Vulkan driver, in Mesa). Never call our work Honeykrisp or "hk". The code prefix is `brl_`; the rename is tracked in [aurora-silicon/mesa#591](https://github.com/aurora-silicon/mesa/issues/591). Use Aurora paths and names, not Asahi or m1n1. +- The Vulkan driver is **Borealis** (Aurora Silicon's Vulkan driver, in Mesa). Never call our work Honeykrisp or "hk" in prose: PR and issue text, commit messages, docs, reports and user-facing names. +- Code keeps the identifiers it has today. Until the rename in [aurora-silicon/mesa#591](https://github.com/aurora-silicon/mesa/pull/591) is merged, Borealis lives in `src/asahi/vulkan/` with `hk_`/`HK_` symbols; after it lands, new code uses its `brl_` prefix. +- Names shared with upstream or fixed by an interface stay as they are: the Gallium `asahi` driver, `src/asahi/`, the DRM UAPI (`asahi_drm.h`, `DRM_ASAHI_*`) and Asahi or m1n1 names in upstream code. New paths and names of our own use Aurora, not Asahi or m1n1. ## Hardware benchmarks for pull requests diff --git a/AGENTS.md b/AGENTS.md index c5fc1fa5c9f9..b33f45a78008 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -16,8 +16,8 @@ merge. To change the policy, edit .github/aurora/AGENTS.md. ## Pre-PR checklist -Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/0b26c3109f8c/pre-pr-checklist.md) -at 0b26c3109f8c. Change it there, then sync the copy here; do not edit this section +Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/f7edafb3ce3b/pre-pr-checklist.md) +at f7edafb3ce3b. Change it there, then sync the copy here; do not edit this section on its own. These are the checks Aurora's review agents apply. Each item is a hard rule unless it says "default". If your change fails one, fix the change, or say in the PR why it can't be done yet and keep the PR a draft. @@ -57,7 +57,9 @@ Each item is a hard rule unless it says "default". If your change fails one, fix ### 6. Naming (hard) -- The Vulkan driver is **Borealis** (Aurora Silicon's Vulkan driver, in Mesa). Never call our work Honeykrisp or "hk". The code prefix is `brl_`; the rename is tracked in [aurora-silicon/mesa#591](https://github.com/aurora-silicon/mesa/issues/591). Use Aurora paths and names, not Asahi or m1n1. +- The Vulkan driver is **Borealis** (Aurora Silicon's Vulkan driver, in Mesa). Never call our work Honeykrisp or "hk" in prose: PR and issue text, commit messages, docs, reports and user-facing names. +- Code keeps the identifiers it has today. Until the rename in [aurora-silicon/mesa#591](https://github.com/aurora-silicon/mesa/pull/591) is merged, Borealis lives in `src/asahi/vulkan/` with `hk_`/`HK_` symbols; after it lands, new code uses its `brl_` prefix. +- Names shared with upstream or fixed by an interface stay as they are: the Gallium `asahi` driver, `src/asahi/`, the DRM UAPI (`asahi_drm.h`, `DRM_ASAHI_*`) and Asahi or m1n1 names in upstream code. New paths and names of our own use Aurora, not Asahi or m1n1. ## Hardware benchmarks for pull requests diff --git a/CLAUDE.md b/CLAUDE.md index c5fc1fa5c9f9..b33f45a78008 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -16,8 +16,8 @@ merge. To change the policy, edit .github/aurora/AGENTS.md. ## Pre-PR checklist -Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/0b26c3109f8c/pre-pr-checklist.md) -at 0b26c3109f8c. Change it there, then sync the copy here; do not edit this section +Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/f7edafb3ce3b/pre-pr-checklist.md) +at f7edafb3ce3b. Change it there, then sync the copy here; do not edit this section on its own. These are the checks Aurora's review agents apply. Each item is a hard rule unless it says "default". If your change fails one, fix the change, or say in the PR why it can't be done yet and keep the PR a draft. @@ -57,7 +57,9 @@ Each item is a hard rule unless it says "default". If your change fails one, fix ### 6. Naming (hard) -- The Vulkan driver is **Borealis** (Aurora Silicon's Vulkan driver, in Mesa). Never call our work Honeykrisp or "hk". The code prefix is `brl_`; the rename is tracked in [aurora-silicon/mesa#591](https://github.com/aurora-silicon/mesa/issues/591). Use Aurora paths and names, not Asahi or m1n1. +- The Vulkan driver is **Borealis** (Aurora Silicon's Vulkan driver, in Mesa). Never call our work Honeykrisp or "hk" in prose: PR and issue text, commit messages, docs, reports and user-facing names. +- Code keeps the identifiers it has today. Until the rename in [aurora-silicon/mesa#591](https://github.com/aurora-silicon/mesa/pull/591) is merged, Borealis lives in `src/asahi/vulkan/` with `hk_`/`HK_` symbols; after it lands, new code uses its `brl_` prefix. +- Names shared with upstream or fixed by an interface stay as they are: the Gallium `asahi` driver, `src/asahi/`, the DRM UAPI (`asahi_drm.h`, `DRM_ASAHI_*`) and Asahi or m1n1 names in upstream code. New paths and names of our own use Aurora, not Asahi or m1n1. ## Hardware benchmarks for pull requests diff --git a/GEMINI.md b/GEMINI.md index c5fc1fa5c9f9..b33f45a78008 100644 --- a/GEMINI.md +++ b/GEMINI.md @@ -16,8 +16,8 @@ merge. To change the policy, edit .github/aurora/AGENTS.md. ## Pre-PR checklist -Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/0b26c3109f8c/pre-pr-checklist.md) -at 0b26c3109f8c. Change it there, then sync the copy here; do not edit this section +Synced from [aurora-silicon/agent-guidelines](https://github.com/aurora-silicon/agent-guidelines/blob/f7edafb3ce3b/pre-pr-checklist.md) +at f7edafb3ce3b. Change it there, then sync the copy here; do not edit this section on its own. These are the checks Aurora's review agents apply. Each item is a hard rule unless it says "default". If your change fails one, fix the change, or say in the PR why it can't be done yet and keep the PR a draft. @@ -57,7 +57,9 @@ Each item is a hard rule unless it says "default". If your change fails one, fix ### 6. Naming (hard) -- The Vulkan driver is **Borealis** (Aurora Silicon's Vulkan driver, in Mesa). Never call our work Honeykrisp or "hk". The code prefix is `brl_`; the rename is tracked in [aurora-silicon/mesa#591](https://github.com/aurora-silicon/mesa/issues/591). Use Aurora paths and names, not Asahi or m1n1. +- The Vulkan driver is **Borealis** (Aurora Silicon's Vulkan driver, in Mesa). Never call our work Honeykrisp or "hk" in prose: PR and issue text, commit messages, docs, reports and user-facing names. +- Code keeps the identifiers it has today. Until the rename in [aurora-silicon/mesa#591](https://github.com/aurora-silicon/mesa/pull/591) is merged, Borealis lives in `src/asahi/vulkan/` with `hk_`/`HK_` symbols; after it lands, new code uses its `brl_` prefix. +- Names shared with upstream or fixed by an interface stay as they are: the Gallium `asahi` driver, `src/asahi/`, the DRM UAPI (`asahi_drm.h`, `DRM_ASAHI_*`) and Asahi or m1n1 names in upstream code. New paths and names of our own use Aurora, not Asahi or m1n1. ## Hardware benchmarks for pull requests