Skip to content

docs: add a guide to writing pull requests for Chartula - #275

Merged
goldbarth merged 1 commit into
mainfrom
docs/writing-pull-requests
Sep 29, 2026
Merged

goldbarth merged 1 commit into
mainfrom
docs/writing-pull-requests

Conversation

@goldbarth

Copy link
Copy Markdown
Owner

Follows #274, whose rules this guide turns into advice for authors.

  • Why: a team adopting Chartula has to decide what to ask of its pull request authors, and nothing said what each piece of input changes in the output. what-goes-into-a-release.md describes the rules; this page answers "what should we write, and what do we get for it".
  • Levels, not a checklist: what Chartula delivers without any convention, the minimum (a Conventional Commits prefix), what pays off (! or BREAKING CHANGE, two sentences of description, closes #N), and what is optional (visibility and action labels). Each level shows its effect on the output.
  • The minimum carries a table of where feat, fix, docs, chore and a title without a prefix land in the technical and customer notes, and the consequence: without the prefix, a Rewrite comments for readability change reaches customers.
  • A title check for CI without a third-party action: a grep on the title with the types Chartula knows, read through env so a title cannot inject shell code. A typo in the type fails the check instead of turning the change into Other. The check requires a space after the colon, which Chartula itself does not.
  • The description level quotes a real entry: the technical entry for feat(observability): record the range a run read in its run record #251 from v0.1.0-preview.3, whose details come from its description, not its title. It repeats the warning that the description is published with changelog.json.
  • closes #N is stated at its actual worth: an issue number in linkedIssues at title-description-and-issues; the renderings do not link issues.
  • The README index gets a row.

Verified: the grouping table matches GroundedFactsFactory.cs (technical: Added, Fixed, Changed; customer: What needs action, What's New, What's Changed, Bug Fixes) and RenderingComposer.cs (**Breaking:**). The title regex was run against nine titles, including wip, Fix(cli)!: ... and a title without a space after the colon. The workflow parses as YAML, and every relative link and anchor resolves.

Tests: no test changed; documentation only.

@goldbarth
goldbarth merged commit fda3d4d into main Sep 29, 2026
4 checks passed
@goldbarth
goldbarth deleted the docs/writing-pull-requests branch September 29, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant