chore(agents): clarify workflow expectations - #23
Conversation
Reviewer's GuideUpdates AGENTS.md to more explicitly define the required contributor workflow, tightening wording around worktrees, pre-commit usage, testing expectations, PR descriptions, and issue hygiene while keeping the process the same in practice. Flow diagram for the required contributor workflow with pre-commit and testsflowchart TD
Start["Start new task or issue"] --> Worktree["Create git worktree and branch for this task"]
Worktree --> Implement["Implement small, focused changes"]
Implement --> PreCommit["Run pre-commit hooks (format/validate)"]
PreCommit --> Tests["Run targeted tests (unit/integration/system)"]
Tests --> TestsExist{Tests exist for affected area?}
TestsExist -- Yes --> EvaluateTests{Tests pass?}
TestsExist -- No --> AddTests["Add deterministic tests where practical"] --> EvaluateTests
EvaluateTests -- No --> FixIssues["Fix issues and repeat pre-commit + tests"] --> PreCommit
EvaluateTests -- Yes --> Commit["Create Conventional Commit with meaningful scope"]
Commit --> Push["Push branch to origin"]
Push --> PR["Open PR via gh with required sections"]
PR --> PRContent["Include: problem, solution, testing, links, follow-ups"]
PRContent --> Review["Review and iterate based on feedback"]
Review --> Ready{All checks and reviews green?}
Ready -- No --> Implement
Ready -- Yes --> Merge["Merge PR and close related issues if appropriate"]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey there - I've reviewed your changes - here's some feedback:
- The reference to 'Qt6' in the escalation section was changed to 'QT6'; consider reverting to the standard 'Qt6' capitalization to match the project and upstream naming.
- The phrase 'pre-commit + tests = required' is a bit informal for a normative requirement; consider rephrasing to something more explicit like 'Running both pre-commit and the relevant tests is required before opening a PR.'
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The reference to 'Qt6' in the escalation section was changed to 'QT6'; consider reverting to the standard 'Qt6' capitalization to match the project and upstream naming.
- The phrase 'pre-commit + tests = required' is a bit informal for a normative requirement; consider rephrasing to something more explicit like 'Running both pre-commit and the relevant tests is required before opening a PR.'
## Individual Comments
### Comment 1
<location> `AGENTS.md:116` </location>
<code_context>
## Suggested escalation path
-For larger initiatives (Qt6 migration, NR removal, packaging automation), split work into:
+For large initiatives (QT6 migration, NR removal, packaging automation), split work into:
```
</code_context>
<issue_to_address>
**suggestion (typo):** Consider correcting "QT6" to the conventional "Qt6" spelling.
Using the standard "Qt" capitalization here will keep terminology consistent with the framework’s official naming.
```suggestion
For large initiatives (Qt6 migration, NR removal, packaging automation), split work into:
```
</issue_to_address>Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
| ## Suggested escalation path | ||
|
|
||
| For larger initiatives (Qt6 migration, NR removal, packaging automation), split work into: | ||
| For large initiatives (QT6 migration, NR removal, packaging automation), split work into: |
There was a problem hiding this comment.
suggestion (typo): Consider correcting "QT6" to the conventional "Qt6" spelling.
Using the standard "Qt" capitalization here will keep terminology consistent with the framework’s official naming.
| For large initiatives (QT6 migration, NR removal, packaging automation), split work into: | |
| For large initiatives (Qt6 migration, NR removal, packaging automation), split work into: |
Codacy's Analysis Summary1 new issue (≤ 0 issue) Review Pull Request in Codacy →
|
Summary by Sourcery
Documentation: