Skip to content

Commit f7d0f5b

Browse files
committed
chore: align pull request template
1 parent 06b4f63 commit f7d0f5b

1 file changed

Lines changed: 51 additions & 75 deletions

File tree

‎.github/pull_request_template.md‎

Lines changed: 51 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,65 @@
1-
## Summary
2-
3-
<!-- Describe the problem and fix in 2-5 bullets. -->
4-
5-
- Problem:
6-
- Why it matters:
7-
- What changed:
8-
- User impact:
9-
- What did NOT change (scope boundary):
10-
11-
## Change Type (select all)
12-
13-
<!-- Select all that apply. -->
14-
15-
- [ ] Bug fix
16-
- [ ] Feature
17-
- [ ] Refactor
18-
- [ ] Docs / instructions
19-
- [ ] Tests / validation
20-
- [ ] Security hardening
21-
- [ ] Chore / infra
1+
<!--
2+
Optional linked context:
3+
Add a visible `Closes #<issue-number>` or `Related: #<issue-number>` line
4+
below this comment.
5+
6+
Required PR title:
7+
type: user-facing description
8+
Use a parenthesized scope only when it adds clarity:
9+
fix(auth): login redirect loops when session cookie is expired
10+
11+
Types: feat, fix, improve, refactor, docs, chore.
12+
For fixes, describe the user-visible symptom and trigger:
13+
fix: task list fails to load when user has no environments
14+
Avoid implementation details such as:
15+
fix: add null check to task query
16+
-->
2217

23-
## Scope (select all touched areas)
18+
<details>
19+
<summary>Additional instructions</summary>
2420

25-
- [ ] Tray / WinUI UX
26-
- [ ] Windows node capability
27-
- [ ] Local MCP / `winnode`
28-
- [ ] Gateway / connection / pairing
29-
- [ ] Setup / onboarding
30-
- [ ] Permissions / privacy / security
31-
- [ ] Tests / CI / docs
21+
**MUST:** Keep **Allow edits from maintainers** enabled for this PR so maintainers
22+
can help update the branch when needed.
3223

33-
## Linked Issue/PR
24+
</details>
3425

35-
- Closes #
36-
- Related #
37-
- [ ] Related to a bug or regression
26+
## What Problem This Solves
3827

39-
## Validation
28+
<!--
29+
Describe the concrete user, product, or operational problem.
30+
For fixes, begin with:
31+
"Fixes an issue where users <do X> would <experience Y> when <condition>."
32+
or:
33+
"Resolves a problem where..."
4034
41-
<!-- Include exact commands and pass/fail counts. Baseline after code changes:
42-
- .\build.ps1
43-
- dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore
44-
- dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore
45-
Add focused tests when relevant, for example WinNode CLI tests for command/MCP docs changes.
46-
In fresh worktrees, make sure tests actually ran and report non-zero test counts.
35+
Name the affected UI surface or workflow. Do not describe the code-level cause here.
4736
-->
4837

49-
## Real behavior proof
50-
51-
<!-- Paste at least one current-head after-change proof item that directly demonstrates the changed behavior.
52-
Use whatever proof best matches the change: copied live output, screenshot/video,
53-
developer-provided screenshot, copied UI diagnostics, winnode output, raw MCP
54-
JSON-RPC tools/list + tools/call, gateway invoke output, redacted runtime log,
55-
or linked artifact. For UI changes, prefer screenshots/video of the active
56-
changed state, not only adjacent or empty UI. -->
38+
## Why This Change Was Made
5739

58-
- Environment tested:
59-
- PR head / commit tested:
60-
- Exact steps or command run:
61-
- Evidence after fix:
62-
- Observed result:
63-
- Screenshot/artifact links verified? (`Yes/No/N/A`)
64-
- Not verified / blocked:
65-
66-
<!-- Optional: add rubber-duck review notes in addition to runtime proof above. -->
67-
68-
## Security Impact (required)
69-
70-
- New permissions/capabilities? (`Yes/No`)
71-
- Secrets/tokens handling changed? (`Yes/No`)
72-
- New/changed network calls? (`Yes/No`)
73-
- Command/tool execution surface changed? (`Yes/No`)
74-
- Data access scope changed? (`Yes/No`)
75-
- If any `Yes`, explain risk + mitigation:
40+
<!--
41+
In one or two sentences, explain the complete shipped solution, key design
42+
decisions, and relevant boundaries or non-goals. Include implementation detail
43+
only when it helps reviewers understand user-visible behavior or risk.
44+
Avoid file-by-file narration.
45+
-->
7646

77-
## Compatibility / Migration
47+
## User Impact
7848

79-
- Backward compatible? (`Yes/No`)
80-
- Config/env changes? (`Yes/No`)
81-
- Migration needed? (`Yes/No`)
82-
- If yes, exact upgrade steps:
49+
<!--
50+
State what users, operators, or developers can now do or expect. Lead with the
51+
concrete benefit and use user-facing language. If there is no user-visible
52+
impact, say so plainly.
53+
-->
8354

84-
## Review Conversations
55+
## Evidence
8556

86-
- [ ] I replied to or resolved every bot review conversation I addressed in this PR.
87-
- [ ] I left unresolved only conversations that still need reviewer or maintainer judgment.
57+
<!--
58+
Show the most useful proof that this change works. Screenshots, screencasts,
59+
terminal output, focused tests, CI results, live observations, redacted logs,
60+
and artifact links are all useful. Include before/after evidence for visual
61+
changes when it clarifies the result.
8862
89-
If a bot review conversation is addressed by this PR, resolve that conversation yourself. Do not leave bot review conversation cleanup for maintainers.
63+
Reviewers will inspect the code, tests, and CI. Use this section to make the
64+
validation easy to understand, not to restate the diff.
65+
-->

0 commit comments

Comments
 (0)