docs(contributing): state the gap first in a debt entry and remove it once closed #6756

Merged
LeandroLP23 merged 1 commit from upstream-pr/6756 into main 2026-10-19 08:08:31 +00:00
LeandroLP23 commented 2026-10-16 09:42:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-16T09:42:07Z.


What

Proposal 1 of #6755. The Documentation section of CONTRIBUTING says to record known gaps in technical debt, but not what an entry looks like or what happens to it once the gap is closed. This PR adds two sentences:

  • An entry states the gap first (what differs from the console, what is unverified, what throws). It describes the implemented behaviour only as far as the gap needs it.
  • A pull request that closes a gap removes its entry, or cuts it to what is still open, instead of rewriting it to describe the corrected behaviour.

Without the second rule, an entry turns into a spec of the corrected code. That's what happened to sched_get_priority_max, sched_get_priority_min in debt/libkernel.md: three fixes matched it to PS5 measurements and each rewrote it, until it held no gap (fixed in #6750). On main, the median entry is 564 characters and 177 of the 984 entries are over 1000, with the gap often at the end. The numbers and the other proposals are in #6755.

Existing entries are unchanged. Applying the rule to them is left to the PRs that touch them, so no open PR gets a conflict.

Tested

Documentation only. tools/check_conventions.py --base origin/main passes, git diff --check is clean, and no tool parses the edited paragraph.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes (Claude Code)
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4886461845 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6756). Originally posted by [LeandroLP23](https://github.com/LeandroLP23) on 2026-10-16T09:42:07Z. --- ### What Proposal 1 of #6755. The Documentation section of CONTRIBUTING says to record known gaps in technical debt, but not what an entry looks like or what happens to it once the gap is closed. This PR adds two sentences: - An entry states the gap first (what differs from the console, what is unverified, what throws). It describes the implemented behaviour only as far as the gap needs it. - A pull request that closes a gap removes its entry, or cuts it to what is still open, instead of rewriting it to describe the corrected behaviour. Without the second rule, an entry turns into a spec of the corrected code. That's what happened to `sched_get_priority_max, sched_get_priority_min` in `debt/libkernel.md`: three fixes matched it to PS5 measurements and each rewrote it, until it held no gap (fixed in #6750). On `main`, the median entry is 564 characters and 177 of the 984 entries are over 1000, with the gap often at the end. The numbers and the other proposals are in #6755. Existing entries are unchanged. Applying the rule to them is left to the PRs that touch them, so no open PR gets a conflict. ### Tested Documentation only. `tools/check_conventions.py --base origin/main` passes, `git diff --check` is clean, and no tool parses the edited paragraph. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes (Claude Code)
github-actions[bot] commented 2026-10-16 09:54:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T09:54:06Z.


Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 6044 CONTRIBUTING.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6212903398 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6756#issuecomment-6212903398). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-16T09:54:06Z. --- <!-- pr-overlap --> Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `CONTRIBUTING.md` |
adriadam10 commented 2026-10-19 08:09:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T08:09:07Z.


Checked the diff against the Documentation section and the sched_get_priority_* history in #6750; the rule matches how debt entries are meant to work. Merged.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6262666258 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6756#issuecomment-6262666258). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-19T08:09:07Z. --- Checked the diff against the Documentation section and the `sched_get_priority_*` history in #6750; the rule matches how debt entries are meant to work. Merged.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6756
No description provided.