feat: copier update v0.9.0 — extraction docs, state tracking, architecture guides
Sync template from 29ac25b → v0.9.0 (29 template commits). Due to template's _subdirectory migration, new files were manually rendered rather than auto-merged by copier. New files: - .claude/CLAUDE.md + coding_philosophy.md (agent instructions) - extract utils.py: SQLite state tracking for extraction runs - extract/transform READMEs: architecture & pattern documentation - infra/supervisor: systemd service + orchestration script - Per-layer model READMEs (raw, staging, foundation, serving) Also fixes copier-answers.yml (adds 4 feature toggles, removes stale payment_provider key) and scopes CLAUDE.md gitignore to root only. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# foundation
|
||||
|
||||
Business logic layer: dimensions, facts, conformed metrics.
|
||||
May join across staging models from different sources.
|
||||
|
||||
Naming convention: `foundation.dim_<entity>`, `foundation.fact_<event>`
|
||||
6
transform/sqlmesh_padelnomics/models/raw/README.md
Normal file
6
transform/sqlmesh_padelnomics/models/raw/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# raw
|
||||
|
||||
Read raw landing zone files directly with `read_csv_auto()`.
|
||||
No transformations — schema as-is from source.
|
||||
|
||||
Naming convention: `raw.<source>_<dataset>`
|
||||
6
transform/sqlmesh_padelnomics/models/serving/README.md
Normal file
6
transform/sqlmesh_padelnomics/models/serving/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# serving
|
||||
|
||||
Analytics-ready views consumed by the web app and programmatic SEO.
|
||||
Query these from `analytics.py` via DuckDB read-only connection.
|
||||
|
||||
Naming convention: `serving.<purpose>` (e.g. `serving.city_market_profile`)
|
||||
6
transform/sqlmesh_padelnomics/models/staging/README.md
Normal file
6
transform/sqlmesh_padelnomics/models/staging/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# staging
|
||||
|
||||
Type casting, deduplication, null handling on top of raw models.
|
||||
One staging model per raw model.
|
||||
|
||||
Naming convention: `staging.<source>_<dataset>`
|
||||
Reference in New Issue
Block a user