You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/commands/pr.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,8 @@ When the user provides custom instructions after `--`:
136
136
#### Automated Checks
137
137
```
138
138
- Keep local verification commands, Gradle tasks, detekt, lint, unit tests, build passes, cargo test, cargo clippy, npm test, typecheck, CI coverage, or similar automated checks out of `#### Manual Tests`; summarize them under `#### Automated Checks` when they add useful context.
139
-
- Use `#### Automated Checks` to summarize automated verification evidence, prioritizing coverage added, modified, or removed with file paths and a short explanation.
139
+
- Use `#### Automated Checks` to summarize automated verification evidence, prioritizing coverage added, modified, or removed, each with the test file name and a short explanation.
140
+
- Reference test files by bare file name only (e.g. `HwWalletRepoTest.kt`), never the full path. Only when two referenced test files share the same name, prefix the shortest leading path segment(s) that disambiguate them (e.g. `repositories/FooTest.kt` vs `viewmodels/FooTest.kt`).
140
141
- For removed automated coverage, state why it was removed.
141
142
- Do not list standard CI or PR bot commands as checkbox items just because they run for every PR. If standard CI coverage is worth mentioning, summarize it in one sentence.
142
143
- List raw commands only when they were run locally, are non-standard, use special flags or environment values, validate workflow behavior, or explain a meaningful verification gap.
@@ -184,9 +185,9 @@ Concrete style target:
184
185
-[ ]**5b.** back: returns to Connections List.
185
186
-[ ]**6.**`regression:` Channel Detail → tap Close Connection: works.
186
187
#### Automated Checks
187
-
- Unit tests added: cover invoice timeout handling in `app/src/test/.../SendInvoiceTest.kt`.
188
-
- Unit tests modified: update channel navigation assertions in `app/src/test/.../ChannelDetailTest.kt`.
189
-
- Test coverage removed: delete stale mock-only assertions from `app/src/test/.../OldFlowTest.kt` because the flow no longer exists.
188
+
- Unit tests added: cover invoice timeout handling in `SendInvoiceTest.kt`.
189
+
- Unit tests modified: update channel navigation assertions in `ChannelDetailTest.kt`.
190
+
- Test coverage removed: delete stale mock-only assertions from `OldFlowTest.kt` because the flow no longer exists.
190
191
- CI: standard compile, unit test, and detekt checks run by the PR bot.
@@ -77,6 +77,8 @@ Cherry-pick the commits you need onto this branch now, then continue.
77
77
```
78
78
Wait for the user to confirm they are done cherry-picking before proceeding.
79
79
80
+
If the base is a tag that predates the release workflow changes, port the current release workflow support onto the release branch before proceeding. At minimum, the release branch/tag must contain the updated artifact naming in `.github/workflows/release.yml`, otherwise Step 7 will dispatch an old workflow and then look for an artifact name it cannot produce.
81
+
80
82
Finalize changelog after the release branch contains all release commits:
- ALWAYS add new localizable string resources in alphabetical order in `strings.xml`
231
231
- NEVER add string resources for strings used only in dev settings screens and previews and never localize acronyms
232
232
- ALWAYS use template in `.github/pull_request_template.md` for PR descriptions
233
+
- ALWAYS reference test files in PR descriptions/QA Notes by bare file name only (e.g. `HwWalletRepoTest.kt`), NEVER the full path; only when two referenced test files share the same name, prefix the shortest leading path segment(s) that disambiguate them (e.g. `repositories/FooTest.kt` vs `viewmodels/FooTest.kt`)
233
234
- ALWAYS wrap `ULong` numbers with `USat` in arithmetic operations, to guard against overflows
234
235
- PREFER to use one-liners with `run {}` when applicable, e.g. `override fun someCall(value: String) = run { this.value = value }`
235
236
- ALWAYS add imports instead of inline fully-qualified names
0 commit comments