Repository navigation
Open
Labels
taskA session-sized planned unit of work
Description
Delivery phase
Local MVP hardening (follow-up to L1 #96 QA, non-blocking notes 7 and 8). The maintainer requested an issue on 2026-11-16.
Goal
Make the synthetic seed's audit reports read as synthetic, and prove that the app-stack images build without the shared host build cache.
Context and authority
- Note 7.
data_pipeline/src/lca_etl/reports.py:470always titles the summary "# Private import report". The committed synthetic seed artifact (data_pipeline/seed/artifact/reports/summary.mdandreports/*.csv) therefore carries that title, although the data is invented and public. This can confuse readers. Real BAFU reports must keep their private labelling. - Note 8. L1 QA reused host build-cache layers and did not run a
--no-cacherebuild of thecompose.app.yamlimages (tools, api, auth, frontend). Hidden dependencies on the cache were therefore not ruled out. - Relevant documents: specification §0.3 and §3.1; ADR 0006;
docs/engineering/b3-ingestion.md.
Requirements and constraints
- Mark the seed's reports as synthetic/public without weakening the private-report behavior for real imports. Preferred: a report-title option set only by the seed build. The artifact is regenerated with
python -m lca_etl.seed buildin a container, and must stay deterministic and bound to its sources. - Never commit private data.
- Rebuild the app-stack images with
--no-cachefrom a clean clone, start the stack with./dev app-up, and run./dev app-smoke. Fix any Dockerfile or context defect found.
Acceptance criteria
- AC1 — The committed seed reports no longer claim to be a private import report. Real-import reports are unchanged, and a test covers both.
- AC2 — The seed tests (
make backend-test-seed) pass, and the regenerated artifact is reproducible byte for byte. - AC3 — A clean-clone
--no-cachebuild of everycompose.app.yamlimage, followed by./dev app-upand./dev app-smoke, succeeds. The exact commands and results are recorded.
Out of scope and follow-ups
The L2 #97 adapter work, and the #101 tooling hardening.
Verification plan
All in containers:
./dev publication-run make backend-test-seed- the seed regeneration check
- a
docker compose -p <isolated> -f compose.app.yaml build --no-cacheequivalent through./devon distinct ports and project, then./dev app-upand./dev app-smoke
Dependencies and readiness
Does not block L2. Schedule it after #97 to avoid conflicts in the seed and compose files, unless PM grooms it otherwise. Needs PM grooming to READY.
Metadata
Metadata
Assignees
Labels
taskA session-sized planned unit of work
Activity