ci: nightly zotero-sync only covers source:email — add a rules scope so FR rule items reach Zotero #627

Closed
opened 2026-08-17 14:57:49 +00:00 by kert · 0 comments
Owner

Prevention companion to #626.

Rule items have only ever reached Zotero via one-off manual syncs (Feb full import, Apr 27 sync, P36 step 5). The nightly workflow (.gitea/workflows/zotero-sync.yml, generated by dev/scripts/backends/gitea.py::_gen_zotero_sync) runs stack bib sync-zotero --tag source:email only, so any rule captured into bib without a remembered manual step silently never appears in the library — exactly what happened to the CY2027 NPRM.

Fix: add a second sync step scoped --tag source:federal-register (currently 78 items — cheap; a full unscoped sync would hydrate ~180k items and is off the table). Edit the generator, re-run uv run python dev/scripts/gen_config.py, commit both.

Acceptance: generated zotero-sync.yml contains both tag-scoped steps; generator output is deterministic (git diff clean after a second gen run).

Prevention companion to #626. Rule items have only ever reached Zotero via one-off manual syncs (Feb full import, Apr 27 sync, P36 step 5). The nightly workflow (`.gitea/workflows/zotero-sync.yml`, generated by `dev/scripts/backends/gitea.py::_gen_zotero_sync`) runs `stack bib sync-zotero --tag source:email` only, so any rule captured into bib without a remembered manual step silently never appears in the library — exactly what happened to the CY2027 NPRM. Fix: add a second sync step scoped `--tag source:federal-register` (currently 78 items — cheap; a full unscoped sync would hydrate ~180k items and is off the table). Edit the generator, re-run `uv run python dev/scripts/gen_config.py`, commit both. Acceptance: generated zotero-sync.yml contains both tag-scoped steps; generator output is deterministic (`git diff` clean after a second gen run).
kert added this to the P38: Zotero Rule Sync — upsert tag merge, tag repair, nightly rules scope milestone 2026-08-17 14:57:49 +00:00
kert added the cibib labels 2026-08-17 14:57:49 +00:00
kert closed this issue 2026-08-17 15:13:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#627