Commit 5e710fd
authored
feat(docs): define inactivity closure policies for issues and PRs (#452)
## Description
Defines inactivity closure policies for issues, discussions, and pull
requests to reduce noise from stale items.
**Issue and discussion policy** (GOVERNANCE.md) — Issues inactive for 60
days receive a `stale` label and warning comment. If no activity follows
within 14 days (74 days total), the issue is closed as `not_planned`
with a `closed-stale` label. Exemptions: `pinned`, `security`,
`do-not-close`, and milestone-assigned issues. Discussions follow the
same thresholds with manual enforcement until tooling supports
automation.
**Pull request policy** (CONTRIBUTING.md) — Active PRs waiting on the
author for 14 days receive a `stale` label. If no author activity
follows within 7 days (21 days total), the PR is closed. Draft PRs are
fully exempt. Additional exemptions: `do-not-close` and
`waiting-on-reviewer` labels.
### Policy Summary
| Scope | Stale After | Grace Period | Total | Exemptions |
| :---- | :---------- | :----------- | :---- | :--------- |
| Issues | 60 days | 14 days | 74 days | `pinned`, `security`,
`do-not-close`, milestone-assigned |
| Discussions | 60 days | 14 days | 74 days | Same as issues (manual
enforcement) |
| Active PRs | 14 days | 7 days | 21 days | draft, `do-not-close`,
`waiting-on-reviewer` |
Six supporting labels have been pre-created on the repository: `stale`,
`closed-stale`, `do-not-close`, `pinned`, `waiting-on-author`,
`waiting-on-reviewer`.
## Related Issue(s)
- Closes #442
- Closes #443
## Type of Change
### Code & Documentation
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [x] Documentation update
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
### Infrastructure
- [ ] CI/CD pipeline changes
- [ ] Build system changes
- [ ] Configuration changes
### AI Artifacts
- [ ] Copilot instructions (`.instructions.md`)
- [ ] Copilot prompt (`.prompt.md`)
- [ ] Copilot agent (`.agent.md`)
- [ ] Skill package (`SKILL.md`)
### Other
- [ ] Refactoring (no functional changes)
- [ ] Performance improvement
- [ ] Test changes only
## Testing
- Verified cross-references between GOVERNANCE.md and CONTRIBUTING.md
resolve correctly
- Confirmed 6 GitHub labels exist on the repository
- Markdown linting passes
## Checklist
### Required Checks
- [x] I have read the [CONTRIBUTING](../CONTRIBUTING.md) document
- [x] My changes follow the project coding standards
- [x] I have updated documentation accordingly
- [x] All new and existing linting checks pass
### Required Automated Checks
- [x] Markdown linting: `npm run lint:md`
- [x] Frontmatter validation: `npm run lint:frontmatter`
## Security Considerations
- No secrets, tokens, or credentials introduced
- No new dependencies added
- No changes to CI/CD workflows or GitHub Actions
- All changes are documentation only
## Additional Notes
This PR is intentionally scoped to the governance and contributor
documentation changes for inactivity policies. The community interaction
message templates (Scenario 10 and 11 time-period values) are tracked
separately alongside the backlog management pipeline in PR #448.1 parent c788095 commit 5e710fd
2 files changed
Lines changed: 75 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| |||
171 | 175 | | |
172 | 176 | | |
173 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
174 | 217 | | |
175 | 218 | | |
176 | 219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
157 | 187 | | |
158 | 188 | | |
159 | 189 | | |
| |||
0 commit comments