added dotenv and completed t1.1
This commit is contained in:
10
pm/tasks.org
10
pm/tasks.org
@@ -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
|
** acceptance criteria
|
||||||
- giant scraper runs from cli with prompts or env-backed defaults for `user_id` and `loyalty`
|
- 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`
|
- script reuses current browser session via firefox cookies + `curl_cffi`
|
||||||
@@ -12,9 +12,9 @@
|
|||||||
- raw json archive remains source of truth
|
- raw json archive remains source of truth
|
||||||
|
|
||||||
** evidence
|
** evidence
|
||||||
- commit:
|
- commit: `d57b9cf` on branch `cx`
|
||||||
- tests:
|
- tests: `./venv/bin/python -m unittest discover -s tests`; `./venv/bin/python scraper.py --help`; verified `.env` loading via `scraper.load_config()`
|
||||||
- date:
|
- date: 2026-03-14
|
||||||
|
|
||||||
* [ ] t1.2: define grocery data model and file layout (1-2 commits)
|
* [ ] t1.2: define grocery data model and file layout (1-2 commits)
|
||||||
** acceptance criteria
|
** acceptance criteria
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
- explicitly separate retailer-specific parsing from cross-retailer canonicalization
|
- explicitly separate retailer-specific parsing from cross-retailer canonicalization
|
||||||
|
|
||||||
** notes
|
** notes
|
||||||
- this is the guardrail task so we don’t 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
|
- keep schema minimal but extensible
|
||||||
|
|
||||||
** evidence
|
** evidence
|
||||||
|
|||||||
@@ -7,3 +7,4 @@ jeepney==0.9.0
|
|||||||
lz4==4.4.5
|
lz4==4.4.5
|
||||||
pycparser==3.0
|
pycparser==3.0
|
||||||
pycryptodomex==3.23.0
|
pycryptodomex==3.23.0
|
||||||
|
python-dotenv==1.1.1
|
||||||
|
|||||||
Reference in New Issue
Block a user