Commit Graph
6 Commits
Author SHA1 Message Date
Zakk be844e4c29 .github, .agents/rules: ask for Assisted-by in the AI checkbox
Disclose AI-written changes with an Assisted-by trailer.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-11-22 09:41:17 +11:00
Zakk 0682daf755 .github, .agents/rules: ask for one PR body line per change
A PR body that explains several dependency or patch changes needs one
line for each, so the template hint asks for one line per change rather
than one or two sentences. pr-text.md allows a leading line naming the
precedent or packaging model, which tells reviewers what to compare
against, and no longer forces a because-clause onto a fact that already
states its consequence.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-11-15 03:09:02 +11:00
Zakk bf04eb59fb .github, .agents/rules: add a reason hint to the PR template
The PR template gains one comment asking for the reason as because/so
and for Closes #N on its own line; its checkboxes stay verbatim because
scripts/pr-template.sh fails a PR whose body lacks them. AI-assisted PRs
state the arch, profile and what ran in the body, since the AI checkbox
claims tested results. pr-text.md takes back the rules the rewrite lost:
the PR title is never translated, the body neither narrates steps nor
claims an unsupported cause, and the writing examples table.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-11-15 03:09:02 +11:00
Zakk a55f0925b0 AGENTS.md, .agents/rules: rewrite as target states, add QA lessons
AGENTS.md is read on every task, so it keeps routing, the hard stops,
the install and keyword gates and the completion report, and drops to
514 words; all rule files together drop from 7546 to 5783 words. Rules
state the result to reach, and keep a prohibition only where a mistake
is hard to undo or a reviewer has caught it before.

Lessons from reviewed PRs: PATCHES carried over a bump, Go -ldflags
without -s or -w, RUST_MIN_VER from the highest rust-version, cargo
QA_FLAGS_IGNORED, ISA gating through cpu_flags, Python Requires-Dist,
draft PRs for eclass provider slots missing from ::gentoo, skel.ebuild
variable order, DependencyMissingKeywords, and the Go vendor layout.

The PR template asks for the reason, a Tested: line and two checks, and
names the merge-base scan range so it is not read as a bare --commits.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-11-15 03:09:02 +11:00
Zakk 39eb331696 .github: add an AI-compliance and testing item to the PR checklist
Signed-off-by: Zakk <zakk@gentoozh.org>
2026-07-28 15:30:56 +10:00
peeweep ca337cc8c5 .github: add pull_request_template.md
Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
2026-03-14 16:18:40 +08:00