Skip to content

docs(contributing): link issues with Refs, never Closes - #17

Merged
koniz-dev merged 1 commit into
mainfrom
docs/refs-not-closes
Aug 25, 2026
Merged

docs(contributing): link issues with Refs, never Closes#17
koniz-dev merged 1 commit into
mainfrom
docs/refs-not-closes

Conversation

@koniz-dev

Copy link
Copy Markdown
Owner

CONTRIBUTING.md told contributors to write Closes #123 in a commit footer -
directly contradicting invariant 3 of the issue workflow, which bans auto-close
keywords.

Not a style preference. GitHub auto-closes an issue when a commit carrying
Closes/Fixes/Resolves lands on the default branch, so the issue closes at
merge time, before anything has run its ## Acceptance criteria. That
removes the verification gate the whole workflow exists to enforce. An autonomous
session following CONTRIBUTING.md would have defeated it on its first commit.

Changes

  1. The guideline now says Refs koniz-dev/flutter-starter#123 and states why
    the auto-close keywords are banned - so the next person does not restore them
    as a convenience.
  2. The PR checklist said only "Related issues are referenced (if any)", which was
    compatible with either convention. It now names Refs explicitly.
  3. The Pull Requests section links docs/issue-workflow.md, making the rule
    reachable from the contribution entry point rather than only from a document a
    contributor might never open.

Note on checks

This PR touches only CONTRIBUTING.md. ci.yml has paths-ignore for
**/*.md, so it will report no checks at all - expected, not a failure.

Refs #10

CONTRIBUTING.md instructed contributors to write `Closes #123` in a commit
footer, directly contradicting the issue workflow, which bans auto-close
keywords.

This was not a style preference. GitHub auto-closes an issue when a commit
carrying `Closes`/`Fixes`/`Resolves` lands on the default branch, so the
issue would close at merge time - before anything ran its acceptance
criteria. An autonomous session following CONTRIBUTING.md would have
silently defeated the verification gate on its first commit.

Three changes:

- The guideline now says `Refs koniz-dev/flutter-starter#123` and states why
  the auto-close keywords are banned, so nobody "helpfully" restores them.
- The PR checklist item said only "Related issues are referenced (if any)",
  which was consistent with either convention; it now names Refs explicitly.
- The Pull Requests section links docs/issue-workflow.md, so the rule is
  reachable from the contribution entry point rather than only from a doc a
  contributor may never open.

Refs #10
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