policy: inventory environment switches in all crates #244
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/vktory6--VKtory!244
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-244"
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?
@TheRifai on GitHub · 2026-12-02 15:58 UTC · original
TheRifai:toggle-roots-all→main· +49 −5 · 2 files · 4 commits · merged 2026-12-02 19:29 UTCWhat
TASKS item "Every crate's switches in the toggle inventory" (renamed from "victory-hle's switches" in main
3aea0e4). The policy walk coveredgreenfield,crates/victory-gpuandcrates/victory-hle; 46 switches read invictory-core,victory-formats,victory-loader,victory-shaderandappswere unlisted, so a new one there passed unlisted (PR #182'sVICTORY_BC7_DICTIONARYdid).ROOTSnow coversgreenfield,cratesandapps. The 46 missing names are listed with a kind (path, external, test, tune, debug).SIZE_ROOTSkeeps the file-size check on its old roots, so this stays one topic.Evidence
cargo test -p vkback --test policy: 6 passed, 0 failed. Before the entries were added,toggles_registeredfailed listing exactly those 46 names. No runtime code or build output changed;docs/AGENTS.mdrule 2 is now enforced across the whole tree.Checklist (docs/AGENTS.md)
docs/TASKS.mdnot edited (rules 29/31)unsafeor translator output changed (rules 2/9b/33/35/36/27)@TheRifai on GitHub · 2026-12-02 17:49 UTC · original
Maintenance note (no force-push, PR left open). Main moved to
88d66ae(#223 size-check and #202 switch validation merged). I rebased this branch locally onto that base, resolved the conflicts by keeping ROOTS = all crates/apps with main's SIZE_ROOTS, and removed six registry entries that #202/#212 made stale (VICTORY_CONSOLE_DXC,VICTORY_DIFF_ONLY,VICTORY_PC_DXC,VICTORY_POOL_NO_ASSERT,VICTORY_POOL_SITES,VICTORY_PROBE).cargo test -p vkback --test policy: 6 passed, 0 failed; local branchtoggle-roots-allin/home/shlong/Documents/VKtory-toggleroots.I could not push the corrected branch:
POST /repos/TheRifai/VKtory/git/refsstill returns 404 for a valid commit SHA, GraphQLcreateRefis FORBIDDEN for this token, andgit pushis rejected for missingworkflowscope on the unchanged workflow file. Same blocker as on #147; account credentials/permissions are needed.@vktory6 on GitHub · 2026-12-02 19:30 UTC · original
Merged, thanks. We merged main into your branch (the nohacks removals took VICTORY_POKE and the write-site switches with them) and dropped the stale entries; the policy test passes on the public and the private tree. Every environment switch in every crate is now on the inventory, so a new one fails the policy test until it is listed with its owner and removal condition.