Skip to content

Tell contributors to check for duplicates and the right branch - #8609

Open
ParadokS81 wants to merge 2 commits into
omacom:quattrofrom
ParadokS81:contributing-branch-and-duplicate-checks
Open

Tell contributors to check for duplicates and the right branch#8609
ParadokS81 wants to merge 2 commits into
omacom:quattrofrom
ParadokS81:contributing-branch-and-duplicate-checks

Conversation

@ParadokS81

Copy link
Copy Markdown

contributing.md sends contributors straight from "found a bug" to filing. Two steps in between prevent wasted work on both sides, and I hit both writing #8597.

Check for an existing report

Searching only issues misses open PRs. I found two bugs in omarchy-font-set; one was already #6957 with PR #6958 open and a better fix than I would have written. Searching issues alone would not have surfaced it.

Verify against the default branch

master is not where development happens and can be weeks behind a shipped release:

default branch   2026-08-27   (current)
master           2026-08-14   (13 days stale, older than the installed 4.0.1)

I fetched bin/omarchy-font-set from master to check whether a bug still existed and got a version older than my own installed copy — missing the fontconfig rewrite that had already shipped. A bug "confirmed" that way may already be fixed, or simply not be the code users run.

The added section teaches the check (gh repo view --json defaultBranchRef) rather than naming today's branch, so it stays correct when the branch changes.

Test guidance

AGENTS.md asks for "focused automated tests for the area you changed"; this file said to run ./test/all before pushing, and calls AGENTS.md the authority. On my machine ./test/all reports 6 failures on a clean tree — attached-monitor counts, a missing sibling checkout, a network-dependent check — none related to any change. Read as a gate, that blocks valid PRs. Aligned the wording with AGENTS.md and noted how to tell an environmental failure from a real one.

Docs only; no behaviour change.

The skill sends contributors straight to filing without two steps that
prevent wasted work: searching for an existing report, and confirming the
bug against the branch development happens on. `master` is weeks behind a
shipped release, so a bug verified there can be already fixed or simply
not the code users run.

Also aligns the test guidance with AGENTS.md, which asks for the focused
suite rather than ./test/all.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings August 27, 2026 15:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates contributor guidance to reduce duplicate reports and verify bugs against current development code.

Changes:

  • Adds issue and PR search guidance.
  • Adds default-branch verification instructions.
  • Clarifies focused test execution and environmental failures.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +98 to +99
Confirm by stashing the change and re-running, then say what you ran in the
PR.
Comment on lines +32 to +35
Check the bug against the branch development actually happens on, not against
whatever `git clone` or a raw URL hands you. `master` is not it, and can be
weeks behind a shipped release — so a bug "confirmed" there may already be
fixed, or the code may not match what users are running:
…ctually comes from

A plain git clone checks out the default branch; the stale-master trap is an
older checkout or a raw URL pinned to master. And a bare git stash leaves new
files in place, so the baseline rerun would still include the change.
@ParadokS81

Copy link
Copy Markdown
Author

Both notes addressed: the stash step now says git stash -u / git stash pop, and the default-branch paragraph no longer claims a fresh git clone lands on master — it names the actual traps (an older checkout, or a raw URL pinned to master).

@rdoupe

rdoupe commented Aug 30, 2026

Copy link
Copy Markdown

Worth knowing before this gets reviewed: the guidance here is right, but default/agents/skills/omarchy/contributing.md is not read by the agents it is aimed at.

So for the PR-submission path, AGENTS.md is the file that actually gets read. I opened #9095 putting the search-first guidance there. The issue-reporting path is a different story: an agent reporting a bug does load the skill, so guidance in the skill's reporting guide (post-#6718, reporting-issues.md) is well placed for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants