Wire stack.toml into all modules replacing hardcoded paths #1

Closed
opened 2026-03-12 17:32:19 +00:00 by kert · 0 comments
Owner

Replace every hardcoded path in src/ and dev/ with from conf import cfg, path.

Targets:

  • bib.store.Store default data/bib.sqlite → path('db.bib')
  • aco.lake.context default notebooks/aco.duckdb → path('db.aco')
  • bcda.client / bcda.store defaults → cfg.bcda.* / path('storage.bcda')
  • rex.store / rex.pipe defaults → cfg values
  • pfs.pipe hardcoded connection → path('db.aco')
  • dev/scripts/generate_models.py defaults → cfg.generate.*
  • All notebook paths → path() calls

Acceptance: grep -r 'notebooks/aco.duckdb\|data/bib.sqlite' src/ returns zero hits.

Replace every hardcoded path in src/ and dev/ with `from conf import cfg, path`. Targets: - `bib.store.Store` default `data/bib.sqlite` → `path('db.bib')` - `aco.lake.context` default `notebooks/aco.duckdb` → `path('db.aco')` - `bcda.client` / `bcda.store` defaults → `cfg.bcda.*` / `path('storage.bcda')` - `rex.store` / `rex.pipe` defaults → `cfg` values - `pfs.pipe` hardcoded connection → `path('db.aco')` - `dev/scripts/generate_models.py` defaults → `cfg.generate.*` - All notebook paths → `path()` calls Acceptance: `grep -r 'notebooks/aco.duckdb\|data/bib.sqlite' src/` returns zero hits.
kert added this to the P1: Foundation — Config, CLI scaffold, auth milestone 2026-03-12 17:32:19 +00:00
kert added the config label 2026-03-12 17:32:19 +00:00
kert closed this issue 2026-03-12 18:38:05 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#1