bib,pfs: restore sup:*_PFS_NPRM / file:rvu / year tags wiped from rule items 2KVJ2HKX and 5ITGVDJV #625
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Data-repair companion to #624 (do #624 first or the next comment-farm run re-wipes the repair).
The 2026-08-14 upserts destroyed the curated registration tags on both PFS NPRM rule items. Restore to the sets
dev/scripts/fetch_nprm_addenda.pyCONFIGSregisters:2KVJ2HKX(CY2026 NPRM, CMS-1832-P): +=sup:2026_PFS_NPRM,file:rvu,year:20265ITGVDJV(CY2027 NPRM, CMS-1848-P): +=sup:2027_PFS_NPRM,file:rvu,year:2027Repair mechanism: re-run the existing idempotent registration (
fetch_nprm_addenda.py --year {2026,2027} --register— attach guard added in P36 prevents duplicate attachments;add_tagis INSERT OR IGNORE), rather than ad-hoc SQL.Acceptance:
bib.store.list_items(tag='sup:2027_PFS_NPRM')and...2026...each return exactly one item;pfs.nprm._addendum_b_path(year)resolves for both years.Repaired and verified (2026-08-17):
fetch_nprm_addenda.py --year 2026 --registerand--year 2027 --register— both hit the attach guard (SKIP attach, keys R9KFV2ZG / BIEQHVTM), tags re-applied idempotently.2KVJ2HKXtags now:module:pfs, source:federal-register, year:2025, year:2026, file:rvu, rule:0938-av50, cms-rule:CMS-1832-P, reg-docket:CMS-2025-0304, sup:2026_PFS_NPRM5ITGVDJVtags now:module:pfs, source:federal-register, year:2026, file:rvu, rule:0938-av82, sup:2027_PFS_NPRM, year:2027, cms-rule:CMS-1848-P, reg-docket:CMS-2026-2377store.list_items(tag='sup:<year>_PFS_NPRM')returns exactly the right item for both years;pfs.nprm._discover_addendum_bresolves a real xlsx for both (2027 needed the #628 storage_path repair first).store.upsert(same URL, canonical FR tag set) against the fixed code from #624 —sup:2027_PFS_NPRMandfile:rvusurvive.Note: repair ran with the #624 fix present in the live-mounted working tree, so the mail-poller loop cannot re-wipe it.