added dotenv and completed t1.1

This commit is contained in:
ben
2026-03-14 18:45:55 -04:00
parent d57b9cf52f
commit 5e88615a69
2 changed files with 6 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
* [ ] t1.1: harden giant receipt fetch cli (2-4 commits)
* [X] t1.1: harden giant receipt fetch cli (2-4 commits)
** acceptance criteria
- giant scraper runs from cli with prompts or env-backed defaults for `user_id` and `loyalty`
- script reuses current browser session via firefox cookies + `curl_cffi`
@@ -12,9 +12,9 @@
- raw json archive remains source of truth
** evidence
- commit:
- tests:
- date:
- commit: `d57b9cf` on branch `cx`
- tests: `./venv/bin/python -m unittest discover -s tests`; `./venv/bin/python scraper.py --help`; verified `.env` loading via `scraper.load_config()`
- date: 2026-03-14
* [ ] t1.2: define grocery data model and file layout (1-2 commits)
** acceptance criteria
@@ -28,7 +28,7 @@
- explicitly separate retailer-specific parsing from cross-retailer canonicalization
** notes
- this is the guardrail task so we dont make giant-specific hacks the system of record
- this is the guardrail task so we don't make giant-specific hacks the system of record
- keep schema minimal but extensible
** evidence