AGENTS.md: the asset policy's size limit and exceptions, as the code has them #590
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!590
Loading…
Reference in a new issue
No description provided.
Delete branch "qnjk/Darner:agents-policy-numbers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Contributor role (optional)
What it changes
The problem on main: the last bullet of
AGENTS.md's Testing & QA said a file "over 640 KiB is refused" and that "the single exception in the tree iscrates/darner-formats/src/bcpack-tables.bin". The checker disagrees on both counts:MAX_FILE_SIZE = 1024 * 1024(1 MiB) atxtask/src/policy.rs:16, andEXCEPTIONSat:47holds six entries — the BCPack tables,docs/darner-logo.png,apps/darner/darner.ico,crates/darner-loader/src/heap_sites/frame_users.rsand two more. The file reference was stale too: the allowed extensions are at:19-20, not:17-19.A contributor reading the rules would size a file to a limit that does not exist, and would not know about four of the six files that are allowed to exist (or, reading the other way, would think three of them were policy violations).
This change states the numbers the code has and points at
EXCEPTIONSrather than naming one path. Documentation only.How it was tested
6773a40(one commit onc8258f9).cargo xtask policy—asset policy: 576 files ok(the checker is the authority for every number in the new sentence).xtask/src/policy.rs:MAX_FILE_SIZEat :16,ALLOWED_EXTENSIONSat :19,EXCEPTIONSat :47, and the entries counted (6).Checklist
main.docs/asset-policy.md(cargo xtask policy: 576 files ok).Checked for overlap
AGENTS.md; neither changes this bullet in its description. No open or closed issue mentions the size limit or the exception count.iBooM72 referenced this pull request2026-12-05 21:54:34 +00:00
[pr-docs] AGENTS.md: the asset policy's size limit and exceptions, as the code has themto AGENTS.md: the asset policy's size limit and exceptions, as the code has themView command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.