Files
claude-code 2ac98334db
werkator build succeeded after 00:54
werkator/deploy build succeeded after 00:23
The version follows from the order of the merges (#79)
Co-authored-by: claude-code <claude-code@javagil.de>
2026-10-14 20:35:03 +02:00

58 lines
2.2 KiB
Markdown

# Pull-Request Documentation in doc/prs
Every pull request (PR) of werkregie has one document in this directory.
It documents the change of that PR at that time; later PRs do not maintain it.
## Workflow
The steps around a PR document are in [docs/agentic-workflow.md](../agentic-workflow.md), "Steps of a PR".
## Naming Convention
`YYYY-MM-DD-PR#999-short-description-of-pr.md`
1. Date of the PR in the format `YYYY-MM-DD`,
2. `-PR#` and the number of the pull request in Gitea,
3. a short description with dashes between the words,
4. `.md`.
## Guidelines
- Markdown, in English.
- One sentence per line, to keep diffs readable.
- Explain the why; keep it short.
## The Version Line
A line `Version: major`, `Version: minor` or `Version: patch` under the title states how the PR raises the version.
`dashboard/build.gradle.kts` derives the version from these lines, in the order of the merges (werkregie PR#79).
A document without it raises the patch version; any other value fails the build.
The build reads each document as its merge added it; a later change of the document changes no version.
## Open Questions Block the Review
werkrevisor checks the section "Open Questions" of every PR document a PR adds or changes.
An item with `[ ]`, or an item or paragraph without a checkbox, makes the review RED, before any model call.
Mark an answered question with `[x]`; put the answer on an indented continuation line of the item.
A paragraph or item that says only "None." (or "Keine.") states that nothing is open and does not count.
The whole item counts as checked, not its source lines.
## Structure
The main (`##`) sections appear in this order; omit the ones that do not apply:
0. Related Links (optional)
1. Problem (required)
2. Non-Goals (required)
3. Specification (required for features): Gherkin features with their scenarios
4. Solution (required)
5. Release Notes (optional): what users notice; the build writes them into the changelog
6. Open Questions (optional)
7. Additional Changes (optional)
8. Prerequisite PRs (optional)
9. Follow-up PRs (optional)
10. Attachments (optional)
For details, see the [template](TEMPLATE.md).
A PR has preferably one Gherkin feature, at most 5 features and 10 scenarios in all; a larger PR gets split.