fix(tools): keep debt entries without a core link in the index #6723

Merged
Tripchipp merged 1 commit from upstream-pr/6723 into main 2026-10-19 10:09:52 +00:00
Tripchipp commented 2026-10-16 07:12:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Tripchipp on 2026-10-16T07:12:36Z.


What

The debt-file check only checked placement for entries that link a core/ path. An entry in docs/dev/debt/<name>.md that links none was never reported, although CONTRIBUTING keeps such entries in the index. The check now expects docs/dev/TechnicalDebt.md for them, and the rule text says so.

Two entries in docs/dev/debt/ link no core/ path. This PR fixes one:

  • The image-table ANISO_OVERRIDE entry was in shader.md. The fault it describes is raised in libSceAgcDriver/Graphics/src/ShaderResources.cpp. The entry now links that file and is moved to libSceAgcDriver.md, next to the other image-table selection faults. Its text is unchanged.

The other is left alone:

  • The TYPE=0 entry in libSceAgcDriver.md describes nullImageDescriptor in core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp. #5828 edits that line, so I left it to avoid a conflict. Once this PR is merged, that line needs a core/ link when it is next changed.

The check only looks at changed lines, so existing entries do not fail.

Tested

macOS (Apple Silicon), Python 3.14.4:

  • Every tools/tests/test_*.py passes when run as CMake runs them (37 files).
  • The new test fails without the fix and passes with it.
  • python3 tools/check_conventions.py --base origin/main passes.

No C++ build: no C++ files are changed.

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
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4884844822 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6723). Originally posted by [Tripchipp](https://github.com/Tripchipp) on 2026-10-16T07:12:36Z. --- ### What The `debt-file` check only checked placement for entries that link a `core/` path. An entry in `docs/dev/debt/<name>.md` that links none was never reported, although CONTRIBUTING keeps such entries in the index. The check now expects `docs/dev/TechnicalDebt.md` for them, and the rule text says so. Two entries in `docs/dev/debt/` link no `core/` path. This PR fixes one: - The image-table `ANISO_OVERRIDE` entry was in `shader.md`. The fault it describes is raised in `libSceAgcDriver/Graphics/src/ShaderResources.cpp`. The entry now links that file and is moved to `libSceAgcDriver.md`, next to the other image-table selection faults. Its text is unchanged. The other is left alone: - The `TYPE=0` entry in `libSceAgcDriver.md` describes `nullImageDescriptor` in `core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp`. #5828 edits that line, so I left it to avoid a conflict. Once this PR is merged, that line needs a `core/` link when it is next changed. The check only looks at changed lines, so existing entries do not fail. ### Tested macOS (Apple Silicon), Python 3.14.4: - Every `tools/tests/test_*.py` passes when run as CMake runs them (37 files). - The new test fails without the fix and passes with it. - `python3 tools/check_conventions.py --base origin/main` passes. No C++ build: no C++ files are changed. ### 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
github-actions[bot] commented 2026-10-16 07:34:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T07:34:13Z.


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 4448 docs/dev/debt/libSceAgcDriver.md
PR 4449 docs/dev/debt/libSceAgcDriver.md
PR 5021 docs/dev/debt/shader.md
PR 5058 docs/dev/debt/libSceAgcDriver.md
PR 5371 docs/dev/debt/shader.md
PR 5426 docs/dev/debt/shader.md
PR 5499 docs/dev/debt/libSceAgcDriver.md
PR 5500 docs/dev/debt/shader.md
PR 5925 docs/dev/debt/libSceAgcDriver.md
PR 5941 docs/dev/debt/shader.md
PR 6009 docs/dev/debt/shader.md
PR 6146 docs/dev/debt/libSceAgcDriver.md
PR 6194 docs/dev/debt/libSceAgcDriver.md
PR 6218 docs/dev/debt/libSceAgcDriver.md
PR 6223 docs/dev/debt/libSceAgcDriver.md
PR 6235 docs/dev/debt/shader.md
PR 6300 docs/dev/debt/libSceAgcDriver.md
PR 6548 docs/dev/debt/libSceAgcDriver.md
PR 6549 docs/dev/debt/libSceAgcDriver.md
PR 6612 docs/dev/debt/libSceAgcDriver.md
docs/dev/debt/shader.md
PR 6636 docs/dev/debt/libSceAgcDriver.md
PR 6683 docs/dev/debt/libSceAgcDriver.md
PR 6727 docs/dev/debt/libSceAgcDriver.md
PR 6741 docs/dev/debt/libSceAgcDriver.md
PR 6762 docs/dev/debt/libSceAgcDriver.md
PR 6804 docs/dev/debt/libSceAgcDriver.md
PR 6808 docs/dev/debt/libSceAgcDriver.md
PR 6867 docs/dev/debt/libSceAgcDriver.md
PR 6868 docs/dev/debt/libSceAgcDriver.md
PR 6924 docs/dev/debt/shader.md
PR 6941 docs/dev/debt/libSceAgcDriver.md
PR 6946 docs/dev/debt/libSceAgcDriver.md
PR 6947 docs/dev/debt/libSceAgcDriver.md
PR 6958 docs/dev/debt/libSceAgcDriver.md
PR 6966 docs/dev/debt/libSceAgcDriver.md
PR 6977 docs/dev/debt/libSceAgcDriver.md
docs/dev/debt/shader.md
PR 7008 docs/dev/debt/libSceAgcDriver.md
PR 7223 docs/dev/debt/shader.md
PR 7254 docs/dev/debt/libSceAgcDriver.md
PR 7256 docs/dev/debt/libSceAgcDriver.md
PR 7258 docs/dev/debt/libSceAgcDriver.md
PR 7332 docs/dev/debt/libSceAgcDriver.md
docs/dev/debt/shader.md
PR 7390 docs/dev/debt/libSceAgcDriver.md
PR 7392 docs/dev/debt/shader.md
PR 7395 docs/dev/debt/shader.md
PR 7429 docs/dev/debt/shader.md
PR 7432 docs/dev/debt/libSceAgcDriver.md
PR 7449 docs/dev/debt/libSceAgcDriver.md
PR 7484 docs/dev/debt/shader.md
PR 7505 docs/dev/debt/libSceAgcDriver.md
PR 7604 docs/dev/debt/libSceAgcDriver.md
PR 7642 docs/dev/debt/libSceAgcDriver.md
PR 7659 docs/dev/debt/libSceAgcDriver.md
PR 7729 docs/dev/debt/libSceAgcDriver.md
PR 7800 docs/dev/debt/libSceAgcDriver.md
PR 7803 docs/dev/debt/libSceAgcDriver.md
docs/dev/debt/shader.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6210492766 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6723#issuecomment-6210492766). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-16T07:34:13Z. --- <!-- 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 4448](https://www.github.com/boykopovar/AnyPS5/pull/4448) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 4449](https://www.github.com/boykopovar/AnyPS5/pull/4449) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `docs/dev/debt/shader.md` | | [PR 5058](https://www.github.com/boykopovar/AnyPS5/pull/5058) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 5371](https://www.github.com/boykopovar/AnyPS5/pull/5371) | `docs/dev/debt/shader.md` | | [PR 5426](https://www.github.com/boykopovar/AnyPS5/pull/5426) | `docs/dev/debt/shader.md` | | [PR 5499](https://www.github.com/boykopovar/AnyPS5/pull/5499) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 5500](https://www.github.com/boykopovar/AnyPS5/pull/5500) | `docs/dev/debt/shader.md` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 5941](https://www.github.com/boykopovar/AnyPS5/pull/5941) | `docs/dev/debt/shader.md` | | [PR 6009](https://www.github.com/boykopovar/AnyPS5/pull/6009) | `docs/dev/debt/shader.md` | | [PR 6146](https://www.github.com/boykopovar/AnyPS5/pull/6146) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6194](https://www.github.com/boykopovar/AnyPS5/pull/6194) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6218](https://www.github.com/boykopovar/AnyPS5/pull/6218) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6223](https://www.github.com/boykopovar/AnyPS5/pull/6223) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6235](https://www.github.com/boykopovar/AnyPS5/pull/6235) | `docs/dev/debt/shader.md` | | [PR 6300](https://www.github.com/boykopovar/AnyPS5/pull/6300) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6548](https://www.github.com/boykopovar/AnyPS5/pull/6548) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6549](https://www.github.com/boykopovar/AnyPS5/pull/6549) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6612](https://www.github.com/boykopovar/AnyPS5/pull/6612) | `docs/dev/debt/libSceAgcDriver.md`<br>`docs/dev/debt/shader.md` | | [PR 6636](https://www.github.com/boykopovar/AnyPS5/pull/6636) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6683](https://www.github.com/boykopovar/AnyPS5/pull/6683) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6727](https://www.github.com/boykopovar/AnyPS5/pull/6727) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6741](https://www.github.com/boykopovar/AnyPS5/pull/6741) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6762](https://www.github.com/boykopovar/AnyPS5/pull/6762) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6804](https://www.github.com/boykopovar/AnyPS5/pull/6804) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6808](https://www.github.com/boykopovar/AnyPS5/pull/6808) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6867](https://www.github.com/boykopovar/AnyPS5/pull/6867) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6868](https://www.github.com/boykopovar/AnyPS5/pull/6868) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6924](https://www.github.com/boykopovar/AnyPS5/pull/6924) | `docs/dev/debt/shader.md` | | [PR 6941](https://www.github.com/boykopovar/AnyPS5/pull/6941) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6946](https://www.github.com/boykopovar/AnyPS5/pull/6946) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6947](https://www.github.com/boykopovar/AnyPS5/pull/6947) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6958](https://www.github.com/boykopovar/AnyPS5/pull/6958) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6966](https://www.github.com/boykopovar/AnyPS5/pull/6966) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `docs/dev/debt/libSceAgcDriver.md`<br>`docs/dev/debt/shader.md` | | [PR 7008](https://www.github.com/boykopovar/AnyPS5/pull/7008) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7223](https://www.github.com/boykopovar/AnyPS5/pull/7223) | `docs/dev/debt/shader.md` | | [PR 7254](https://www.github.com/boykopovar/AnyPS5/pull/7254) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7256](https://www.github.com/boykopovar/AnyPS5/pull/7256) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7258](https://www.github.com/boykopovar/AnyPS5/pull/7258) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7332](https://www.github.com/boykopovar/AnyPS5/pull/7332) | `docs/dev/debt/libSceAgcDriver.md`<br>`docs/dev/debt/shader.md` | | [PR 7390](https://www.github.com/boykopovar/AnyPS5/pull/7390) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7392](https://www.github.com/boykopovar/AnyPS5/pull/7392) | `docs/dev/debt/shader.md` | | [PR 7395](https://www.github.com/boykopovar/AnyPS5/pull/7395) | `docs/dev/debt/shader.md` | | [PR 7429](https://www.github.com/boykopovar/AnyPS5/pull/7429) | `docs/dev/debt/shader.md` | | [PR 7432](https://www.github.com/boykopovar/AnyPS5/pull/7432) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7449](https://www.github.com/boykopovar/AnyPS5/pull/7449) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7484](https://www.github.com/boykopovar/AnyPS5/pull/7484) | `docs/dev/debt/shader.md` | | [PR 7505](https://www.github.com/boykopovar/AnyPS5/pull/7505) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7604](https://www.github.com/boykopovar/AnyPS5/pull/7604) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7642](https://www.github.com/boykopovar/AnyPS5/pull/7642) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7659](https://www.github.com/boykopovar/AnyPS5/pull/7659) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7729](https://www.github.com/boykopovar/AnyPS5/pull/7729) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7800](https://www.github.com/boykopovar/AnyPS5/pull/7800) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7803](https://www.github.com/boykopovar/AnyPS5/pull/7803) | `docs/dev/debt/libSceAgcDriver.md`<br>`docs/dev/debt/shader.md` |
MarcZX10 commented 2026-10-16 08:18:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T08:18:14Z.


Independent check on PR head bd9d0c3: git diff --check and python3 tools/check_conventions.py --base upstream/main --head HEAD pass; python3 -m unittest tools.tests.test_check_conventions_comments -v passes all 65 tests, including the new misplacement case. I did not find a concrete issue in the diff during this pass. No C++ build was run because the PR changes only documentation and Python tooling.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6211204131 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6723#issuecomment-6211204131). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-16T08:18:14Z. --- Independent check on PR head `bd9d0c3`: `git diff --check` and `python3 tools/check_conventions.py --base upstream/main --head HEAD` pass; `python3 -m unittest tools.tests.test_check_conventions_comments -v` passes all 65 tests, including the new misplacement case. I did not find a concrete issue in the diff during this pass. No C++ build was run because the PR changes only documentation and Python tooling.
adriadam10 commented 2026-10-19 10:10:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T10:10:56Z.


Checked the new debt-file branch for entries without a core/ link (debt_name returns None, expected file is docs/dev/TechnicalDebt.md), that the new test covers it and fails without the change, and that the ANISO_OVERRIDE entry moved to libSceAgcDriver.md is unchanged and now links ShaderResources.cpp. Merged.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6264803104 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6723#issuecomment-6264803104). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-19T10:10:56Z. --- Checked the new `debt-file` branch for entries without a `core/` link (`debt_name` returns None, expected file is `docs/dev/TechnicalDebt.md`), that the new test covers it and fails without the change, and that the `ANISO_OVERRIDE` entry moved to `libSceAgcDriver.md` is unchanged and now links `ShaderResources.cpp`. 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!6723
No description provided.