Skip to content

biblio: Move merge output, config, logs to .projio/biblio/

Goal

(promoted from note)

Context

(see source note)

Prompt

Fix the issue described below (source: docs/log/issue/issue-arash-20260402-220130-159401.md). Understand the problem, then implement the proposed fix.


biblio: Move merge output, config, and logs to .projio/biblio/

Changes in packages/biblio/src/biblio/bibtex.py:

  • default_bibtex_merge_config(): change out_bib from bib/main.bib to .projio/biblio/merged.bib
  • Change duplicates_log from bib/logs/duplicate_bib_ids.txt to .projio/biblio/logs/duplicate_bib_ids.txt
  • Quality warnings log similarly moves to .projio/biblio/logs/
  • Run ledger (bib/logs/runs/) moves to .projio/biblio/logs/runs/

Changes in packages/biblio/src/biblio/config.py:

  • Move config loading from bib/config/biblio.yml to .projio/biblio/biblio.yml
  • Move library ledger from bib/config/library.yml to .projio/biblio/library.yml

Migration:

  • Ensure backward compat: if old paths exist and new don't, read from old (but write to new)
  • Update projio sync to migrate if needed

After this, bib/ contains only srcbib/ and articles/ — pure source data.

Acceptance Criteria

  • [ ]

Result

(pending)

Batch Result

  • status: done
  • batch queue_id: 9ef168fb767a
  • session: 5770b78c-f4c8-4794-9f73-aedd6692dafa
  • batch duration: 1363.6s