database-tycoon 0.2.1__tar.gz → 0.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (484) hide show
  1. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/CHANGELOG.md +133 -0
  2. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/PKG-INFO +1 -1
  3. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/pyproject.toml +29 -19
  4. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/__init__.py +1 -1
  5. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/db.py +90 -17
  6. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/doctor.py +57 -5
  7. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/history.py +27 -3
  8. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/init.py +68 -0
  9. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/register.py +25 -1
  10. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/run_all.py +16 -1
  11. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/semantics.py +8 -2
  12. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/setup.py +16 -13
  13. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/sources.py +300 -38
  14. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/status.py +33 -4
  15. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/transform.py +3 -2
  16. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/config.py +82 -6
  17. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/core/events.py +3 -0
  18. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/core/history.py +21 -28
  19. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/ingestion/runner.py +328 -40
  20. database_tycoon-0.2.3/src/tycoon/ingestion/source_installer.py +174 -0
  21. database_tycoon-0.2.3/src/tycoon/ingestion/source_manager.py +462 -0
  22. database_tycoon-0.2.3/src/tycoon/observability/__init__.py +85 -0
  23. database_tycoon-0.2.3/src/tycoon/observability/dbt_capture.py +444 -0
  24. database_tycoon-0.2.3/src/tycoon/observability/dlt_capture.py +415 -0
  25. database_tycoon-0.2.3/src/tycoon/observability/store.py +219 -0
  26. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/project.py +44 -17
  27. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/scaffolding/rill_generator.py +28 -4
  28. database_tycoon-0.2.3/src/tycoon/venv.py +270 -0
  29. database_tycoon-0.2.3/src/tycoon/yaml_merge.py +206 -0
  30. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/catalog/column_lineage.py +10 -1
  31. database_tycoon-0.2.3/src/tycoon_city/cli.py +154 -0
  32. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/demo/cli.py +20 -12
  33. database_tycoon-0.2.1/src/tycoon_city/web_dist/assets/index-CosJ8RPj.js → database_tycoon-0.2.3/src/tycoon_city/web_dist/assets/index-BJC7D2Ta.js +214 -213
  34. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/web_dist/index.html +1 -1
  35. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/webserve.py +40 -14
  36. database_tycoon-0.2.1/.github/ISSUE_TEMPLATE/bug_report.yml +0 -66
  37. database_tycoon-0.2.1/.github/ISSUE_TEMPLATE/config.yml +0 -5
  38. database_tycoon-0.2.1/.github/ISSUE_TEMPLATE/feature_request.yml +0 -38
  39. database_tycoon-0.2.1/.github/PULL_REQUEST_TEMPLATE.md +0 -29
  40. database_tycoon-0.2.1/.github/pr-size.yml +0 -28
  41. database_tycoon-0.2.1/.github/pr-title.yml +0 -43
  42. database_tycoon-0.2.1/.github/workflows/ci.yml +0 -213
  43. database_tycoon-0.2.1/.github/workflows/e2e.yml +0 -25
  44. database_tycoon-0.2.1/.github/workflows/jira-sync.yml +0 -165
  45. database_tycoon-0.2.1/.github/workflows/nightly-e2e.yml +0 -104
  46. database_tycoon-0.2.1/.github/workflows/pr-compliance.yml +0 -164
  47. database_tycoon-0.2.1/.github/workflows/publish.yml +0 -101
  48. database_tycoon-0.2.1/.pre-commit-config.yaml +0 -57
  49. database_tycoon-0.2.1/CODE_OF_CONDUCT.md +0 -78
  50. database_tycoon-0.2.1/CONTRIBUTING.md +0 -221
  51. database_tycoon-0.2.1/SECURITY.md +0 -62
  52. database_tycoon-0.2.1/archive/README.md +0 -34
  53. database_tycoon-0.2.1/archive/pipeline-city-history.bundle +0 -0
  54. database_tycoon-0.2.1/contract/fixtures/demo.city.json +0 -985
  55. database_tycoon-0.2.1/contract/fixtures/demo.duckdb +0 -0
  56. database_tycoon-0.2.1/data/README.md +0 -51
  57. database_tycoon-0.2.1/dbt_project/README.md +0 -81
  58. database_tycoon-0.2.1/dbt_project/dbt_project.yml +0 -77
  59. database_tycoon-0.2.1/dbt_project/packages.yml +0 -8
  60. database_tycoon-0.2.1/dbt_project/profiles.yml +0 -12
  61. database_tycoon-0.2.1/docs/city/agent_tasks/index.md +0 -22
  62. database_tycoon-0.2.1/docs/city/agent_tasks/specification_citizen_request_framework.md +0 -141
  63. database_tycoon-0.2.1/docs/city/agent_tasks/task_contract_extension.md +0 -38
  64. database_tycoon-0.2.1/docs/city/agent_tasks/task_stats_ui.md +0 -37
  65. database_tycoon-0.2.1/docs/city/agent_tasks/task_streets_v4_planner.md +0 -62
  66. database_tycoon-0.2.1/docs/city/agent_tasks/task_streets_v4_renderer.md +0 -59
  67. database_tycoon-0.2.1/docs/city/agent_tasks/task_v5_reconciliation.md +0 -50
  68. database_tycoon-0.2.1/docs/city/agent_tasks/task_weather_module.md +0 -50
  69. database_tycoon-0.2.1/docs/city/city-json-v1.md +0 -569
  70. database_tycoon-0.2.1/docs/city/conventions.md +0 -32
  71. database_tycoon-0.2.1/docs/city/guide.md +0 -379
  72. database_tycoon-0.2.1/docs/city/handover.md +0 -503
  73. database_tycoon-0.2.1/docs/city/hud-design.md +0 -79
  74. database_tycoon-0.2.1/docs/city/index.md +0 -23
  75. database_tycoon-0.2.1/docs/city/local-ai-capacity.md +0 -144
  76. database_tycoon-0.2.1/docs/city/log.md +0 -1717
  77. database_tycoon-0.2.1/docs/city/release-notes-0.1.0.md +0 -261
  78. database_tycoon-0.2.1/docs/city/road-grammar.md +0 -169
  79. database_tycoon-0.2.1/docs/city/run-json-v1.md +0 -197
  80. database_tycoon-0.2.1/docs/city/semantic-roads.md +0 -154
  81. database_tycoon-0.2.1/docs/city/superpowers/index.md +0 -12
  82. database_tycoon-0.2.1/docs/city/superpowers/plans/2026-07-19-legibility-pass.md +0 -124
  83. database_tycoon-0.2.1/docs/city/superpowers/plans/2026-07-19-pipeline-city-bones.md +0 -3005
  84. database_tycoon-0.2.1/docs/city/superpowers/plans/2026-08-03-city-foundation.md +0 -1258
  85. database_tycoon-0.2.1/docs/city/superpowers/plans/2026-08-09-tycoon-city-addon.md +0 -1286
  86. database_tycoon-0.2.1/docs/city/superpowers/plans/index.md +0 -14
  87. database_tycoon-0.2.1/docs/city/superpowers/specs/2026-07-19-pipeline-city-bones-design.md +0 -228
  88. database_tycoon-0.2.1/docs/city/superpowers/specs/2026-08-03-city-foundation-design.md +0 -612
  89. database_tycoon-0.2.1/docs/city/superpowers/specs/2026-08-09-tycoon-city-addon-design.md +0 -227
  90. database_tycoon-0.2.1/docs/city/superpowers/specs/index.md +0 -13
  91. database_tycoon-0.2.1/docs/commands/city.md +0 -102
  92. database_tycoon-0.2.1/docs/commands/data/analyze.md +0 -90
  93. database_tycoon-0.2.1/docs/commands/data/history.md +0 -105
  94. database_tycoon-0.2.1/docs/commands/data/query.md +0 -126
  95. database_tycoon-0.2.1/docs/commands/data/run-all.md +0 -84
  96. database_tycoon-0.2.1/docs/commands/data/sources.md +0 -202
  97. database_tycoon-0.2.1/docs/commands/data/status.md +0 -83
  98. database_tycoon-0.2.1/docs/commands/data/sync.md +0 -210
  99. database_tycoon-0.2.1/docs/commands/data/transform.md +0 -97
  100. database_tycoon-0.2.1/docs/commands/docs.md +0 -88
  101. database_tycoon-0.2.1/docs/commands/doctor.md +0 -98
  102. database_tycoon-0.2.1/docs/commands/index.md +0 -67
  103. database_tycoon-0.2.1/docs/commands/init.md +0 -146
  104. database_tycoon-0.2.1/docs/commands/notify.md +0 -71
  105. database_tycoon-0.2.1/docs/commands/profiles.md +0 -107
  106. database_tycoon-0.2.1/docs/commands/register.md +0 -210
  107. database_tycoon-0.2.1/docs/commands/run.md +0 -80
  108. database_tycoon-0.2.1/docs/commands/schedule.md +0 -70
  109. database_tycoon-0.2.1/docs/commands/semantics.md +0 -148
  110. database_tycoon-0.2.1/docs/commands/setup.md +0 -69
  111. database_tycoon-0.2.1/docs/commands/start.md +0 -79
  112. database_tycoon-0.2.1/docs/getting-started/concepts.md +0 -104
  113. database_tycoon-0.2.1/docs/getting-started/first-project.md +0 -152
  114. database_tycoon-0.2.1/docs/getting-started/installation.md +0 -82
  115. database_tycoon-0.2.1/docs/index.md +0 -92
  116. database_tycoon-0.2.1/docs/ingestion-architecture.md +0 -124
  117. database_tycoon-0.2.1/docs/install_rill.sh +0 -18
  118. database_tycoon-0.2.1/docs/openmetadata.md +0 -59
  119. database_tycoon-0.2.1/docs/proposals/v0.1.10-scope.md +0 -84
  120. database_tycoon-0.2.1/docs/proposals/v0.1.6-and-v0.1.7-open-questions.md +0 -578
  121. database_tycoon-0.2.1/docs/proposals/v0.1.8-scope.md +0 -602
  122. database_tycoon-0.2.1/docs/proposals/v0.1.9-scope.md +0 -60
  123. database_tycoon-0.2.1/docs/publishing-to-pypi.md +0 -156
  124. database_tycoon-0.2.1/docs/recipes/csv-to-dashboard.md +0 -151
  125. database_tycoon-0.2.1/docs/recipes/existing-dbt-profile.md +0 -104
  126. database_tycoon-0.2.1/docs/recipes/existing-dbt-project.md +0 -196
  127. database_tycoon-0.2.1/docs/recipes/fivetran-metadata.md +0 -106
  128. database_tycoon-0.2.1/docs/recipes/layered-architecture.md +0 -173
  129. database_tycoon-0.2.1/docs/recipes/motherduck-cloud-sync.md +0 -153
  130. database_tycoon-0.2.1/docs/recipes/osi-export.md +0 -152
  131. database_tycoon-0.2.1/docs/reference/all-commands.md +0 -398
  132. database_tycoon-0.2.1/docs/reference/dependencies.md +0 -51
  133. database_tycoon-0.2.1/docs/reference/environment.md +0 -119
  134. database_tycoon-0.2.1/docs/reference/observability.md +0 -247
  135. database_tycoon-0.2.1/docs/reference/templates.md +0 -138
  136. database_tycoon-0.2.1/docs/reference/tycoon-yml.md +0 -255
  137. database_tycoon-0.2.1/docs/releases/v0.1.1.md +0 -135
  138. database_tycoon-0.2.1/docs/releases/v0.1.10.md +0 -66
  139. database_tycoon-0.2.1/docs/releases/v0.1.11.md +0 -68
  140. database_tycoon-0.2.1/docs/releases/v0.1.2.md +0 -389
  141. database_tycoon-0.2.1/docs/releases/v0.1.3.md +0 -495
  142. database_tycoon-0.2.1/docs/releases/v0.1.4.md +0 -320
  143. database_tycoon-0.2.1/docs/releases/v0.1.5.md +0 -286
  144. database_tycoon-0.2.1/docs/releases/v0.1.6.md +0 -343
  145. database_tycoon-0.2.1/docs/releases/v0.1.7.md +0 -130
  146. database_tycoon-0.2.1/docs/releases/v0.1.8.md +0 -47
  147. database_tycoon-0.2.1/docs/releases/v0.1.9.md +0 -93
  148. database_tycoon-0.2.1/docs/releases/v0.2.0.md +0 -66
  149. database_tycoon-0.2.1/docs/releases/v0.2.1.md +0 -156
  150. database_tycoon-0.2.1/mkdocs.yml +0 -147
  151. database_tycoon-0.2.1/rill/README.md +0 -29
  152. database_tycoon-0.2.1/rill/rill.yaml +0 -3
  153. database_tycoon-0.2.1/scripts/make_default_theme.py +0 -150
  154. database_tycoon-0.2.1/scripts/make_demo_tycoon.py +0 -344
  155. database_tycoon-0.2.1/scripts/pr_size_check.py +0 -300
  156. database_tycoon-0.2.1/scripts/pr_title_check.py +0 -251
  157. database_tycoon-0.2.1/scripts/readiness.py +0 -120
  158. database_tycoon-0.2.1/scripts/spike_cluster.py +0 -589
  159. database_tycoon-0.2.1/scripts/spike_road_defects.py +0 -175
  160. database_tycoon-0.2.1/scripts/sync_web_bundle.py +0 -63
  161. database_tycoon-0.2.1/scripts/update_contract_golden.py +0 -40
  162. database_tycoon-0.2.1/skills/dbt-dag-modeling/SKILL.md +0 -18
  163. database_tycoon-0.2.1/skills/playwright-e2e-testing/SKILL.md +0 -19
  164. database_tycoon-0.2.1/skills/repository-writing-style/SKILL.md +0 -249
  165. database_tycoon-0.2.1/skills/repository-writing-style/references/documentation.md +0 -156
  166. database_tycoon-0.2.1/skills/repository-writing-style/references/github-issues.md +0 -178
  167. database_tycoon-0.2.1/skills/repository-writing-style/references/pull-request-descriptions.md +0 -138
  168. database_tycoon-0.2.1/skills/repository-writing-style/references/release-notes.md +0 -169
  169. database_tycoon-0.2.1/skills/repository-writing-style/references/review-notes.md +0 -143
  170. database_tycoon-0.2.1/skills/threejs-3d-visualizer/SKILL.md +0 -22
  171. database_tycoon-0.2.1/spikes/README.md +0 -10
  172. database_tycoon-0.2.1/spikes/demo_tycoon_semantic.yml +0 -142
  173. database_tycoon-0.2.1/spikes/readiness.py +0 -486
  174. database_tycoon-0.2.1/spikes/spike_arterials.py +0 -342
  175. database_tycoon-0.2.1/spikes/spike_city_json.py +0 -300
  176. database_tycoon-0.2.1/spikes/spike_contact_sheet.py +0 -273
  177. database_tycoon-0.2.1/spikes/spike_fixtures.py +0 -313
  178. database_tycoon-0.2.1/spikes/spike_lattice.py +0 -346
  179. database_tycoon-0.2.1/spikes/spike_streetmetrics.py +0 -335
  180. database_tycoon-0.2.1/spikes/spike_streetpaint.py +0 -191
  181. database_tycoon-0.2.1/spikes/spike_v5plan.py +0 -222
  182. database_tycoon-0.2.1/spikes/spike_zoning.py +0 -403
  183. database_tycoon-0.2.1/src/tycoon/ingestion/source_installer.py +0 -76
  184. database_tycoon-0.2.1/src/tycoon/ingestion/source_manager.py +0 -280
  185. database_tycoon-0.2.1/src/tycoon/observability.py +0 -1092
  186. database_tycoon-0.2.1/src/tycoon/venv.py +0 -187
  187. database_tycoon-0.2.1/src/tycoon_city/sim/town_v5_plan.py +0 -333
  188. database_tycoon-0.2.1/tests/README.md +0 -194
  189. database_tycoon-0.2.1/tests/__init__.py +0 -0
  190. database_tycoon-0.2.1/tests/__snapshots__/test_snapshots.ambr +0 -72
  191. database_tycoon-0.2.1/tests/conftest.py +0 -39
  192. database_tycoon-0.2.1/tests/test_check.py +0 -305
  193. database_tycoon-0.2.1/tests/test_city_command.py +0 -206
  194. database_tycoon-0.2.1/tests/test_cli.py +0 -50
  195. database_tycoon-0.2.1/tests/test_cli_surface.py +0 -313
  196. database_tycoon-0.2.1/tests/test_config.py +0 -109
  197. database_tycoon-0.2.1/tests/test_constants.py +0 -25
  198. database_tycoon-0.2.1/tests/test_db_command.py +0 -139
  199. database_tycoon-0.2.1/tests/test_dbt_profiles.py +0 -282
  200. database_tycoon-0.2.1/tests/test_e2e_demo_arc.py +0 -130
  201. database_tycoon-0.2.1/tests/test_events.py +0 -39
  202. database_tycoon-0.2.1/tests/test_explore.py +0 -1236
  203. database_tycoon-0.2.1/tests/test_fivetran.py +0 -394
  204. database_tycoon-0.2.1/tests/test_history.py +0 -623
  205. database_tycoon-0.2.1/tests/test_ingestion.py +0 -790
  206. database_tycoon-0.2.1/tests/test_init.py +0 -360
  207. database_tycoon-0.2.1/tests/test_layers.py +0 -264
  208. database_tycoon-0.2.1/tests/test_metadata_contract.py +0 -112
  209. database_tycoon-0.2.1/tests/test_notify.py +0 -180
  210. database_tycoon-0.2.1/tests/test_observability_manifest.py +0 -255
  211. database_tycoon-0.2.1/tests/test_observability_scaffold.py +0 -30
  212. database_tycoon-0.2.1/tests/test_observability_trace.py +0 -229
  213. database_tycoon-0.2.1/tests/test_osi_generator.py +0 -375
  214. database_tycoon-0.2.1/tests/test_project.py +0 -309
  215. database_tycoon-0.2.1/tests/test_project_validation.py +0 -363
  216. database_tycoon-0.2.1/tests/test_quack.py +0 -255
  217. database_tycoon-0.2.1/tests/test_recipe_doctests.py +0 -162
  218. database_tycoon-0.2.1/tests/test_register.py +0 -942
  219. database_tycoon-0.2.1/tests/test_schedule.py +0 -418
  220. database_tycoon-0.2.1/tests/test_setup.py +0 -254
  221. database_tycoon-0.2.1/tests/test_snapshots.py +0 -157
  222. database_tycoon-0.2.1/tests/test_sources.py +0 -854
  223. database_tycoon-0.2.1/tests/test_sync.py +0 -339
  224. database_tycoon-0.2.1/tests/test_templates_e2e.py +0 -498
  225. database_tycoon-0.2.1/tests/test_templates_smoke.py +0 -86
  226. database_tycoon-0.2.1/tests/test_utils.py +0 -153
  227. database_tycoon-0.2.1/tests/test_wizard.py +0 -277
  228. database_tycoon-0.2.1/tests/tycoon_city/__init__.py +0 -0
  229. database_tycoon-0.2.1/tests/tycoon_city/catalog/__init__.py +0 -0
  230. database_tycoon-0.2.1/tests/tycoon_city/catalog/test_column_lineage.py +0 -171
  231. database_tycoon-0.2.1/tests/tycoon_city/catalog/test_dbt_manifest.py +0 -209
  232. database_tycoon-0.2.1/tests/tycoon_city/catalog/test_load_context.py +0 -189
  233. database_tycoon-0.2.1/tests/tycoon_city/catalog/test_loader.py +0 -105
  234. database_tycoon-0.2.1/tests/tycoon_city/catalog/test_loader_errors.py +0 -146
  235. database_tycoon-0.2.1/tests/tycoon_city/catalog/test_osi.py +0 -411
  236. database_tycoon-0.2.1/tests/tycoon_city/catalog/test_real_catalog_hardening.py +0 -432
  237. database_tycoon-0.2.1/tests/tycoon_city/catalog/test_run_history.py +0 -285
  238. database_tycoon-0.2.1/tests/tycoon_city/catalog/test_sql_lineage.py +0 -170
  239. database_tycoon-0.2.1/tests/tycoon_city/catalog/test_tycoon_project.py +0 -100
  240. database_tycoon-0.2.1/tests/tycoon_city/export/__init__.py +0 -0
  241. database_tycoon-0.2.1/tests/tycoon_city/export/test_achievements.py +0 -460
  242. database_tycoon-0.2.1/tests/tycoon_city/export/test_build.py +0 -83
  243. database_tycoon-0.2.1/tests/tycoon_city/export/test_city_json.py +0 -738
  244. database_tycoon-0.2.1/tests/tycoon_city/export/test_cli.py +0 -155
  245. database_tycoon-0.2.1/tests/tycoon_city/export/test_export_no_pygame.py +0 -105
  246. database_tycoon-0.2.1/tests/tycoon_city/export/test_measured.py +0 -493
  247. database_tycoon-0.2.1/tests/tycoon_city/export/test_run_json.py +0 -356
  248. database_tycoon-0.2.1/tests/tycoon_city/export/test_semantic_blocks.py +0 -219
  249. database_tycoon-0.2.1/tests/tycoon_city/fixtures/__init__.py +0 -0
  250. database_tycoon-0.2.1/tests/tycoon_city/fixtures/tycoon_factory.py +0 -46
  251. database_tycoon-0.2.1/tests/tycoon_city/sim/__init__.py +0 -0
  252. database_tycoon-0.2.1/tests/tycoon_city/sim/test_build_replay.py +0 -86
  253. database_tycoon-0.2.1/tests/tycoon_city/sim/test_channels.py +0 -124
  254. database_tycoon-0.2.1/tests/tycoon_city/sim/test_city.py +0 -60
  255. database_tycoon-0.2.1/tests/tycoon_city/sim/test_contracts.py +0 -55
  256. database_tycoon-0.2.1/tests/tycoon_city/sim/test_generator.py +0 -139
  257. database_tycoon-0.2.1/tests/tycoon_city/sim/test_generator_properties.py +0 -328
  258. database_tycoon-0.2.1/tests/tycoon_city/sim/test_layout_depth.py +0 -304
  259. database_tycoon-0.2.1/tests/tycoon_city/sim/test_layout_plan.py +0 -588
  260. database_tycoon-0.2.1/tests/tycoon_city/sim/test_logistics.py +0 -34
  261. database_tycoon-0.2.1/tests/tycoon_city/sim/test_no_pygame.py +0 -16
  262. database_tycoon-0.2.1/tests/tycoon_city/sim/test_refresh.py +0 -59
  263. database_tycoon-0.2.1/tests/tycoon_city/sim/test_road_junctions.py +0 -98
  264. database_tycoon-0.2.1/tests/tycoon_city/sim/test_signals.py +0 -186
  265. database_tycoon-0.2.1/tests/tycoon_city/sim/test_temporal_signals.py +0 -236
  266. database_tycoon-0.2.1/tests/tycoon_city/sim/test_town_streets.py +0 -78
  267. database_tycoon-0.2.1/tests/tycoon_city/sim/test_town_v5_plan.py +0 -532
  268. database_tycoon-0.2.1/tests/tycoon_city/test_console_scripts.py +0 -31
  269. database_tycoon-0.2.1/tests/tycoon_city/test_demo_project.py +0 -359
  270. database_tycoon-0.2.1/tests/tycoon_city/test_pricing.py +0 -145
  271. database_tycoon-0.2.1/tests/tycoon_city/test_readiness.py +0 -96
  272. database_tycoon-0.2.1/tests/tycoon_city/test_smoke.py +0 -4
  273. database_tycoon-0.2.1/tests/tycoon_city/test_web_bundle.py +0 -22
  274. database_tycoon-0.2.1/tests/tycoon_city/test_web_layering.py +0 -64
  275. database_tycoon-0.2.1/tests/tycoon_city/test_webserve.py +0 -382
  276. database_tycoon-0.2.1/uv.lock +0 -1867
  277. database_tycoon-0.2.1/web/.gitignore +0 -5
  278. database_tycoon-0.2.1/web/e2e/bridgeshot.mjs +0 -12
  279. database_tycoon-0.2.1/web/e2e/closeshot.mjs +0 -11
  280. database_tycoon-0.2.1/web/e2e/fixtures/rich.city.json +0 -1711
  281. database_tycoon-0.2.1/web/e2e/fixtures/run.fail.json +0 -128
  282. database_tycoon-0.2.1/web/e2e/fixtures/run.ok.json +0 -132
  283. database_tycoon-0.2.1/web/e2e/fixtures/runs.index.json +0 -34
  284. database_tycoon-0.2.1/web/e2e/fixtures/usage.city.json +0 -1806
  285. database_tycoon-0.2.1/web/e2e/framing.spec.ts +0 -138
  286. database_tycoon-0.2.1/web/e2e/freshness.spec.ts +0 -137
  287. database_tycoon-0.2.1/web/e2e/helpers.ts +0 -36
  288. database_tycoon-0.2.1/web/e2e/hooks.spec.ts +0 -58
  289. database_tycoon-0.2.1/web/e2e/hud.spec.ts +0 -112
  290. database_tycoon-0.2.1/web/e2e/hudshot.mjs +0 -12
  291. database_tycoon-0.2.1/web/e2e/interactions.spec.ts +0 -188
  292. database_tycoon-0.2.1/web/e2e/lens.spec.ts +0 -355
  293. database_tycoon-0.2.1/web/e2e/mechanics.spec.ts +0 -28
  294. database_tycoon-0.2.1/web/e2e/osi.spec.ts +0 -243
  295. database_tycoon-0.2.1/web/e2e/refresh.spec.ts +0 -77
  296. database_tycoon-0.2.1/web/e2e/replayshot.mjs +0 -71
  297. database_tycoon-0.2.1/web/e2e/rich.spec.ts +0 -260
  298. database_tycoon-0.2.1/web/e2e/run_replay.spec.ts +0 -410
  299. database_tycoon-0.2.1/web/e2e/shot.mjs +0 -14
  300. database_tycoon-0.2.1/web/e2e/skybridges.spec.ts +0 -49
  301. database_tycoon-0.2.1/web/e2e/streets.spec.ts +0 -95
  302. database_tycoon-0.2.1/web/e2e/streetshot.mjs +0 -25
  303. database_tycoon-0.2.1/web/e2e/tour.spec.ts +0 -316
  304. database_tycoon-0.2.1/web/e2e/usage.spec.ts +0 -262
  305. database_tycoon-0.2.1/web/index.html +0 -330
  306. database_tycoon-0.2.1/web/package-lock.json +0 -1317
  307. database_tycoon-0.2.1/web/package.json +0 -25
  308. database_tycoon-0.2.1/web/playwright.config.ts +0 -40
  309. database_tycoon-0.2.1/web/src/boot/hooks.ts +0 -242
  310. database_tycoon-0.2.1/web/src/boot/hud.ts +0 -386
  311. database_tycoon-0.2.1/web/src/boot/input.ts +0 -37
  312. database_tycoon-0.2.1/web/src/boot/loop.ts +0 -64
  313. database_tycoon-0.2.1/web/src/boot/mount.ts +0 -137
  314. database_tycoon-0.2.1/web/src/boot/run_wiring.ts +0 -143
  315. database_tycoon-0.2.1/web/src/boot/setup.ts +0 -103
  316. database_tycoon-0.2.1/web/src/cameras.ts +0 -164
  317. database_tycoon-0.2.1/web/src/contract.ts +0 -458
  318. database_tycoon-0.2.1/web/src/contract_runs.ts +0 -170
  319. database_tycoon-0.2.1/web/src/main.ts +0 -87
  320. database_tycoon-0.2.1/web/src/mechanics/guests.ts +0 -108
  321. database_tycoon-0.2.1/web/src/meta.ts +0 -113
  322. database_tycoon-0.2.1/web/src/palette.ts +0 -45
  323. database_tycoon-0.2.1/web/src/picking.ts +0 -62
  324. database_tycoon-0.2.1/web/src/scene/buildings.ts +0 -227
  325. database_tycoon-0.2.1/web/src/scene/civic.ts +0 -82
  326. database_tycoon-0.2.1/web/src/scene/dispose.ts +0 -28
  327. database_tycoon-0.2.1/web/src/scene/districts.ts +0 -50
  328. database_tycoon-0.2.1/web/src/scene/facade.ts +0 -117
  329. database_tycoon-0.2.1/web/src/scene/fire.ts +0 -133
  330. database_tycoon-0.2.1/web/src/scene/firetrucks.ts +0 -197
  331. database_tycoon-0.2.1/web/src/scene/flow_overlay.ts +0 -128
  332. database_tycoon-0.2.1/web/src/scene/guest_layer.ts +0 -48
  333. database_tycoon-0.2.1/web/src/scene/plant.ts +0 -42
  334. database_tycoon-0.2.1/web/src/scene/road_mask.ts +0 -71
  335. database_tycoon-0.2.1/web/src/scene/silhouettes.ts +0 -97
  336. database_tycoon-0.2.1/web/src/scene/skybridges.ts +0 -86
  337. database_tycoon-0.2.1/web/src/scene/streetscape.ts +0 -345
  338. database_tycoon-0.2.1/web/src/scene/terrain.ts +0 -41
  339. database_tycoon-0.2.1/web/src/scene/terrain_atlas.ts +0 -335
  340. database_tycoon-0.2.1/web/src/scene/terrain_flat.ts +0 -72
  341. database_tycoon-0.2.1/web/src/scene/usage_overlay.ts +0 -275
  342. database_tycoon-0.2.1/web/src/scene/vehicles.ts +0 -47
  343. database_tycoon-0.2.1/web/src/scene/wear.ts +0 -90
  344. database_tycoon-0.2.1/web/src/scene/weather.ts +0 -181
  345. database_tycoon-0.2.1/web/src/sim/paths.ts +0 -23
  346. database_tycoon-0.2.1/web/src/sim/replay.ts +0 -61
  347. database_tycoon-0.2.1/web/src/sim/rng.ts +0 -30
  348. database_tycoon-0.2.1/web/src/sim/roadnet.ts +0 -86
  349. database_tycoon-0.2.1/web/src/sim/run_replay.ts +0 -249
  350. database_tycoon-0.2.1/web/src/sim/traffic.ts +0 -102
  351. database_tycoon-0.2.1/web/src/ui/graph.ts +0 -128
  352. database_tycoon-0.2.1/web/src/ui/health.ts +0 -173
  353. database_tycoon-0.2.1/web/src/ui/inspector.ts +0 -369
  354. database_tycoon-0.2.1/web/src/ui/legend.ts +0 -101
  355. database_tycoon-0.2.1/web/src/ui/lens_picker.ts +0 -139
  356. database_tycoon-0.2.1/web/src/ui/lenses.ts +0 -189
  357. database_tycoon-0.2.1/web/src/ui/overlays.ts +0 -71
  358. database_tycoon-0.2.1/web/src/ui/problems.ts +0 -272
  359. database_tycoon-0.2.1/web/src/ui/requests.ts +0 -59
  360. database_tycoon-0.2.1/web/src/ui/run_panel.ts +0 -281
  361. database_tycoon-0.2.1/web/src/ui/search.ts +0 -136
  362. database_tycoon-0.2.1/web/src/ui/stats.ts +0 -88
  363. database_tycoon-0.2.1/web/src/ui/tour.ts +0 -171
  364. database_tycoon-0.2.1/web/src/ui/tour_stops.ts +0 -265
  365. database_tycoon-0.2.1/web/src/usage.ts +0 -127
  366. database_tycoon-0.2.1/web/tsconfig.json +0 -13
  367. database_tycoon-0.2.1/web/vite.config.ts +0 -9
  368. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/.gitignore +0 -0
  369. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/LICENSE +0 -0
  370. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/README.md +0 -0
  371. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/THIRD-PARTY.md +0 -0
  372. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/__main__.py +0 -0
  373. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/cli.py +0 -0
  374. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/__init__.py +0 -0
  375. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/city.py +0 -0
  376. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/data.py +0 -0
  377. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/docs.py +0 -0
  378. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/explore.py +0 -0
  379. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/fivetran.py +0 -0
  380. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/notify.py +0 -0
  381. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/observability.py +0 -0
  382. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/profiles.py +0 -0
  383. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/run.py +0 -0
  384. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/schedule.py +0 -0
  385. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/start.py +0 -0
  386. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/stop.py +0 -0
  387. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/commands/sync_cmd.py +0 -0
  388. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/constants.py +0 -0
  389. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/core/__init__.py +0 -0
  390. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/core/metadata.py +0 -0
  391. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/dbt_profiles.py +0 -0
  392. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/ingestion/__init__.py +0 -0
  393. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/ingestion/catalog.py +0 -0
  394. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/ingestion/ducklake_config.py +0 -0
  395. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/ingestion/fivetran_client.py +0 -0
  396. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/ingestion/fivetran_sync.py +0 -0
  397. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/ingestion/mta_bus_speeds_pipeline.py +0 -0
  398. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/ingestion/mta_pipeline.py +0 -0
  399. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/ingestion/nyc_dot_pipeline.py +0 -0
  400. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/ingestion/sources/__init__.py +0 -0
  401. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/layers.py +0 -0
  402. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/metadata_backends/__init__.py +0 -0
  403. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/metadata_backends/duckdb_file.py +0 -0
  404. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/notify.py +0 -0
  405. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/quack.py +0 -0
  406. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/scaffolding/__init__.py +0 -0
  407. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/scaffolding/dbt_generator.py +0 -0
  408. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/scaffolding/observability_dbt.py +0 -0
  409. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/scaffolding/osi_generator.py +0 -0
  410. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/scaffolding/schemas/osi-v0.1.1.schema.json +0 -0
  411. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/scaffolding/templates.py +0 -0
  412. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/schedule.py +0 -0
  413. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/sync.py +0 -0
  414. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/templates/csv-import/README +0 -0
  415. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/templates/csv-import/data/input/widgets.csv +0 -0
  416. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/templates/csv-import/dbt_project/dbt_project.yml +0 -0
  417. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/templates/csv-import/dbt_project/models/marts/fct_widget_summary.sql +0 -0
  418. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/templates/csv-import/dbt_project/models/marts/schema.yml +0 -0
  419. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/templates/csv-import/dbt_project/models/staging/schema.yml +0 -0
  420. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/templates/csv-import/dbt_project/models/staging/stg_widgets.sql +0 -0
  421. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/templates/csv-import/dbt_project/profiles.yml +0 -0
  422. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/templates/csv-import/tycoon.yml +0 -0
  423. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/templates/github-analytics/template.yml +0 -0
  424. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/templates/github-analytics/tycoon.yml +0 -0
  425. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/templates/nyc-transit/README +0 -0
  426. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/templates/nyc-transit/tycoon.yml +0 -0
  427. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/templates/weather-station/template.yml +0 -0
  428. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/templates/weather-station/tycoon.yml +0 -0
  429. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/utils/__init__.py +0 -0
  430. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/utils/console.py +0 -0
  431. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/utils/duckdb_utils.py +0 -0
  432. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon/utils/process.py +0 -0
  433. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/__init__.py +0 -0
  434. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/catalog/__init__.py +0 -0
  435. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/catalog/dbt_manifest.py +0 -0
  436. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/catalog/errors.py +0 -0
  437. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/catalog/loader.py +0 -0
  438. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/catalog/models.py +0 -0
  439. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/catalog/osi.py +0 -0
  440. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/catalog/retention.py +0 -0
  441. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/catalog/run_history.py +0 -0
  442. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/catalog/sql_lineage.py +0 -0
  443. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/catalog/tycoon_project.py +0 -0
  444. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/demo/__init__.py +0 -0
  445. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/demo/factory.py +0 -0
  446. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/demo/project.py +0 -0
  447. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/demo/semantic.yml +0 -0
  448. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/export/__init__.py +0 -0
  449. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/export/achievements.py +0 -0
  450. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/export/blocks.py +0 -0
  451. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/export/build.py +0 -0
  452. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/export/city_json.py +0 -0
  453. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/export/cli.py +0 -0
  454. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/export/measured.py +0 -0
  455. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/export/run_json.py +0 -0
  456. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/pricing.py +0 -0
  457. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/__init__.py +0 -0
  458. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/build_replay.py +0 -0
  459. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/channels.py +0 -0
  460. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/city.py +0 -0
  461. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/contracts.py +0 -0
  462. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/generator.py +0 -0
  463. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/layout.py +0 -0
  464. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/logistics.py +0 -0
  465. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/road_junctions.py +0 -0
  466. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/schemas/request_schema.json +0 -0
  467. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/schemas/shipment_schema.json +0 -0
  468. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/signals.py +0 -0
  469. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/tiles.py +0 -0
  470. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/town_arterials.py +0 -0
  471. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/town_blocks.py +0 -0
  472. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/town_endings.py +0 -0
  473. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/town_frontage.py +0 -0
  474. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/town_hierarchy.py +0 -0
  475. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/town_network.py +0 -0
  476. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/town_plan.py +0 -0
  477. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/town_precincts.py +0 -0
  478. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/town_rows.py +0 -0
  479. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/town_streets.py +0 -0
  480. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/town_texture.py +0 -0
  481. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/sim/town_zoning.py +0 -0
  482. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/theme_data.py +0 -0
  483. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/themes/default/spritesheet.png +0 -0
  484. {database_tycoon-0.2.1 → database_tycoon-0.2.3}/src/tycoon_city/themes/default/theme.toml +0 -0
@@ -1,5 +1,135 @@
1
1
  All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
2
2
 
3
+ ## [0.2.3] - 2026-10-24
4
+
5
+ _Headline: **documentation site and a tested city**. The documentation site now publishes to GitHub Pages whenever a release reaches `main`, with internal pages withheld by a check that fails the build rather than leaking them. The city renderer is tested and gated in CI like the CLI, and its vehicles, guests and refresh now work. Also here: `tycoon-city` help that matches every other command, and tycoon's agent skills as three Claude Code plugins._
6
+
7
+ ### Added
8
+
9
+ - **The documentation site is published** ([#348][], PR [#415][]). `mkdocs build --strict` already ran on every pull request, but the built site was discarded: GitHub Pages had never been enabled, `https://database-tycoon.github.io/tycoon-cli/` returned 404, and three places in the repository linked to that dead URL (`site_url` in `mkdocs.yml`, the `tycoon docs` module docstring, which calls it "the public docs", and `docs/reference/dependencies.md`, which calls it "the docs site you're reading right now"). A `docs.yml` workflow builds the site on every push to `main` and deploys it to Pages, so those three references resolve. Since `main` only advances when a release branch merges, the published site tracks the released version. Both the pull-request job and the deploy run `scripts/check_docs_publishable.py` after the build: it fails if a page `draft_docs` or `exclude_docs` withholds reached the build, or if a `nav` entry points at a page that was not built, which `mkdocs build --strict` reports only at INFO and would otherwise ship as a dead link on every page. `CONTRIBUTING.md` gains a Documentation section recording where the line between published and internal pages is drawn, and which of its two rules the docs job can enforce.
10
+ - **The docs site has a releases index and a regrouped navigation** (PRs [#416][], [#417][]). A releases page links the current release and the 0.2 series, the home page's Releases card points at it instead of the 0.1.5 notes, a Recipes card is added, the sidebar groups releases into 0.2.x and 0.1.x sections that fold away, and every page gets its own table of contents.
11
+ - **Agent skills install as Claude Code plugins** ([#307][], PRs [#374][], [#375][]). Three plugins ship from this repository's marketplace, each in its own plugin root under `plugins/`: `tycoon`, five skills for working in a tycoon project (adding data sources, diagnosing projects, reading pipeline state, building models and dashboards, operating pipelines), and `tycoon-contributors` and `tycoon-maintainers`, for working on tycoon itself. Install with `/plugin marketplace add Database-Tycoon/tycoon-cli`, then `/plugin install tycoon@tycoon-skills`. The skills are not part of the Python package. `tests/test_agent_skills.py` checks each plugin's manifest and skill list, frontmatter, install names and `CONTRIBUTING.md` citations, and fails on stale text such as `uvx ruff`.
12
+ - **A MotherDuck roadmap for contributors** ([#429][], PR [#432][]). `docs/proposals/motherduck-support.md` orders the local-to-MotherDuck work into four phases across 0.2.4 to 0.3.1. It is a contributor page and is not published.
13
+
14
+ ### Fixed
15
+
16
+ - **The city's traffic actually drives** (PR [#250][]). The animation loop ticked the vehicle and guest simulations but never called the layers' `update()`, the only writers of the instance matrices, so both meshes sat at count 0 over a fully simulated street. Listed as a known limitation in 0.2.0 and 0.2.1. The verification hooks counted the simulation arrays and hid it; they now answer from the drawn mesh.
17
+ - **`R` refresh repaints the document-derived chrome** (PR [#250][]). The footer status line, the degradation-notes popover and the legend were painted once at boot, so a refresh showed a fresh "exported N ago" over the previous city's name, counts, notes and legend.
18
+ - **Coverage renders unknown, not zero, when the evidence was never read** (PR [#251][]). The renderer's schema was missing the `achievements` block the exporter has emitted since 2026-08-06, so it was silently stripped and the problems gauges, library panel and library tour recomputed coverage from raw fields, reporting "columns documented 0%" for a catalog with no dbt manifest. All three now honour the unknown state.
19
+
20
+ ### Changed
21
+
22
+ - **The city renderer is CI-gated** (PRs [#248][], [#249][], [#256][], [#252][]). `tests/tycoon_city`, including the `city.json` contract golden, joins the default `pytest` run and `src/tycoon_city` counts toward coverage (floor re-baselined to 73). A new `web` job runs `tsc --noEmit`, the production build, a check that the shipped `web_dist/` is exactly the build of `web/`, and the Playwright suite. Through 0.2.1 the CLI was gated and the renderer was not.
23
+ - **`tycoon-city` renders its help like every other tycoon command** ([#282][], PR [#287][]). The renderer's own console script is now a Typer app with `serve` and `demo` subcommands, and `tycoon-city PATH` stays legal as shorthand for `serve`, so `tycoon-city demo --help` and `tycoon city --help` no longer look like two different tools. The argparse `python -m tycoon_city.webserve [demo]` path remains for Docker and CI; both surfaces share one implementation.
24
+ - **Internal pages are kept out of the docs build** ([#348][], PR [#421][]). `docs_dir` carries 29 city-renderer pages (handover notes, agent task contracts, design log) and 4 draft proposals alongside the PyPI publishing runbook, an OpenMetadata note and an install script. They were out of `nav`, but MkDocs still built them, served them at guessable URLs and indexed them for search, so hosting the site at any point would have published all of them. `draft_docs` keeps the 33 city and proposal pages out of the build while `tycoon docs serve` still renders them locally, and `exclude_docs` drops the other three in both modes. The build carries no internal entries in its search index. Four links that pointed into the withheld directories now point at the repository instead.
25
+ - **The observability module is a package** ([#380][], PR [#381][]). `src/tycoon/observability.py`, at 1,092 lines, is split into `src/tycoon/observability/` (`store.py`, `dlt_capture.py`, `dbt_capture.py`) with the public names re-exported, so imports and behaviour are unchanged. For contributors.
26
+
27
+
28
+ ### Removed
29
+
30
+ - **The retired v5 city planner and its tests** ([#281][], PR [#256][]). The ring planner replaced it in 0.2.1, and the city contract doc and design log now describe the ring planner instead (PR [#254][]). For contributors; nothing user-facing used it.
31
+ [#250]: https://github.com/Database-Tycoon/tycoon-cli/pull/250
32
+ [#251]: https://github.com/Database-Tycoon/tycoon-cli/pull/251
33
+ [#252]: https://github.com/Database-Tycoon/tycoon-cli/pull/252
34
+ [#256]: https://github.com/Database-Tycoon/tycoon-cli/pull/256
35
+ [#282]: https://github.com/Database-Tycoon/tycoon-cli/issues/282
36
+ [#348]: https://github.com/Database-Tycoon/tycoon-cli/issues/348
37
+ [#421]: https://github.com/Database-Tycoon/tycoon-cli/pull/421
38
+ [#417]: https://github.com/Database-Tycoon/tycoon-cli/pull/417
39
+ [#416]: https://github.com/Database-Tycoon/tycoon-cli/pull/416
40
+ [#415]: https://github.com/Database-Tycoon/tycoon-cli/pull/415
41
+ [#248]: https://github.com/Database-Tycoon/tycoon-cli/pull/248
42
+ [#249]: https://github.com/Database-Tycoon/tycoon-cli/pull/249
43
+ [#254]: https://github.com/Database-Tycoon/tycoon-cli/pull/254
44
+ [#281]: https://github.com/Database-Tycoon/tycoon-cli/issues/281
45
+ [#287]: https://github.com/Database-Tycoon/tycoon-cli/pull/287
46
+ [#307]: https://github.com/Database-Tycoon/tycoon-cli/issues/307
47
+ [#374]: https://github.com/Database-Tycoon/tycoon-cli/pull/374
48
+ [#375]: https://github.com/Database-Tycoon/tycoon-cli/pull/375
49
+ [#380]: https://github.com/Database-Tycoon/tycoon-cli/issues/380
50
+ [#381]: https://github.com/Database-Tycoon/tycoon-cli/pull/381
51
+ [#429]: https://github.com/Database-Tycoon/tycoon-cli/issues/429
52
+ [#432]: https://github.com/Database-Tycoon/tycoon-cli/pull/432
53
+
54
+ ## [0.2.2] - 2026-10-09
55
+
56
+ _Headline: **project-local environments**. Every tycoon project now gets its own uv-managed `.venv`, and a catalog source's code and dependencies live inside the project, so deleting `.venv` and running `uv sync` rebuilds the same environment. `--no-prompt` installs what it registers instead of skipping it, and `tycoon data sources migrate` moves an existing project over. Also here: a filesystem load that finds nothing no longer empties a table that already held rows, and a zero-row run is flagged instead of reading as a healthy sync._
57
+
58
+ ### Added
59
+
60
+ - **Every project gets its own uv-managed environment** ([#261][], [#262][], PRs [#270][], [#266][], [#271][]). `tycoon init` now seeds a `pyproject.toml` and builds a project-local `.venv` automatically right after scaffolding, via `uv sync`, instead of requiring a separate manual `tycoon setup` call. Adding a source used to succeed while leaving its actual dependencies uninstalled, the first `tycoon data sources run` would fail on a missing import with nothing having warned beforehand; an isolated, reproducible environment per project is what closes that gap. `tycoon setup`/`tycoon doctor --fix` build the same way. `tycoon init --no-venv` opts out entirely.
61
+ - **Downloaded source code and a source's dependencies are now project-local and durably tracked** ([#263][], [#264][], PRs [#267][], [#268][]). A catalog source's code used to live in a single `~/.tycoon/sources/` shared across every tycoon project on the machine; once a project has its own `.venv`, it downloads into `<project>/.tycoon/sources/` instead. Its dependencies install via `uv add` into the project's own `pyproject.toml`, not an ephemeral `pip install`, so deleting `.venv` and running `uv sync` reproduces the exact same environment, source dependencies included. A project without its own `.venv` yet keeps the old shared-location behavior unchanged. A source installed into the shared location before the project picked up its `.venv` doesn't move on its own; `tycoon data sources migrate <type>` copies it across, and `tycoon data sources run` now points at that command instead of reporting "not installed" when it finds the source sitting in the old shared directory. The dependency install itself now checks for the project's `pyproject.toml` rather than just a `.venv` before choosing `uv add` over `uv pip install` (a hand-made `.venv` with no `pyproject.toml` made `uv add` fail outright), and a failed install prints uv's own error instead of a generic message, so a version conflict, a missing `pyproject.toml`, and a timeout no longer look identical.
62
+ - **A project on the old environment model gets a warning, not silence** ([#265][], PR [#269][]). `tycoon doctor` reports plainly whether a project has its own `.venv` and whether tycoon is actually running from it, not just whether a `.venv` directory exists, and the same warning fires right before a pipeline run or a source install falls back to the old shared/ambient behavior, pointing at `tycoon setup`. Nothing forces a migration.
63
+ - **`--no-prompt` installs a source's dependencies instead of silently skipping them** ([#272][], PR [#273][]). `tycoon data sources add <type> --no-prompt` used to register the source in `tycoon.yml` without ever downloading or installing anything, since the whole install step was skipped along with the confirmation prompt, the same CI flag that's supposed to make this unattended. It now installs automatically, matching every other `--no-prompt` default in this command. A failed install now fails the command and removes the source from `tycoon.yml` (or restores whatever `--force` was about to overwrite), instead of exiting 0 with a source registered but not actually installed. With no project `.venv`/`pyproject.toml` of its own, a source's dependencies and dlt extras are no longer auto-installed into the shared/ambient environment unattended; that case skips and points at `tycoon setup` instead.
64
+ - **`--fail-on-empty` for orchestrated runs** ([#240][], PR [#300][]). `tycoon data sources run`, `tycoon data sources run-all` and `tycoon data run-all` accept an opt-in `--fail-on-empty`. With it, a local filesystem glob that matches no files stops the source before anything loads, and a run where a `replace` resource loads zero rows fails after it, even if other resources in the run loaded some. An append, merge, or incremental run with no new records still passes. Either way the command exits 1 with an error naming the problem, and the ledger records `run_failed` instead of `run_completed`. Without the flag, behaviour is unchanged: an empty match exits 0 with "nothing to load".
65
+ - **A root `CLAUDE.md` for coding agents** ([#245][], PR [#280][]). It points agents at `CONTRIBUTING.md`, the PR template, the writing-style skill and the city conventions, and holds no rules of its own.
66
+
67
+ ### Changed
68
+
69
+ - **A run that loads zero rows no longer reads as a healthy sync** ([#240][], PR [#299][]). The `run_completed` ledger event now carries `zero_rows` and a `warnings` list. `zero_rows` is set when a run can have emptied a table: a resource loaded with `replace` got zero rows, even if another resource in the same run loaded some (a warning names each such table), or a glob matched no files. An append, merge, or incremental run that finds no new records is a normal sync and is not flagged. A filesystem run that skipped every resource because nothing matched now records a `run_completed` with `zero_rows: true` and a warning naming each unmatched glob, where it previously left a lone `run_started`. `tycoon data status` no longer counts a zero-row run as the Last Sync, so freshness stays at the last run that loaded something, and it flags a source whose latest run loaded nothing. `tycoon data history` shows such a run with a yellow `!` and "0 rows, nothing loaded" instead of a green tick, and `history show` prints its warnings. Events written before this change read back with `zero_rows: false`.
70
+ - **The build is pinned and the sdist trimmed** ([#257][], [#258][], PR [#280][]). hatchling is pinned in `[build-system] requires`, since an unpinned upgrade moved the wheel's `Metadata-Version` from 2.4 to 2.5 between 0.1.11 and 0.2.0 and the publisher rejected it. The sdist holds `src/` plus the package metadata only, 523 KB instead of 2.9 MB, and a wheel built from it matches one built from the tree.
71
+
72
+ ### Fixed
73
+
74
+ - **A filesystem source whose `path` is a single file loads that file** ([#238][], PR [#292][]). `tycoon data sources add filesystem` stores whatever you answer at the path prompt, so answering `data/sales.csv` produced a source that ran to a green "load complete" with zero rows, and with `replace` it emptied a table that had already loaded. A `path` naming an existing local file, as a plain path or a `file://` URL, is now read as its directory plus that file name, in both the flat `config` shape and each `resources:` entry, and a resource pointing at a file no longer needs a `file_glob`. Setting a `file_glob` alongside a file `path` fails with an error saying `path` must be a directory when `file_glob` is set, since that glob could never match anything. Remote URLs are unchanged.
75
+ - **A glob that matches no local files no longer empties the table** ([#240][], PR [#293][]). Filesystem sources load with `replace`, so a rerun whose glob matched nothing (a typo, or a directory that emptied out) still ran and truncated the table that already held rows, while reporting "load complete". A local resource (a plain path or a `file://` URL) whose glob matches no files is now left out of the run, with a warning that its existing table was left as it was. Other resources in the same source still load. When nothing in the source matched, the pipeline doesn't run at all and `tycoon data sources run` exits 0 with "nothing to load" instead of "load complete". Remote buckets behave as before.
76
+ - **`--max-records` now caps `filesystem`, `rest_api`, and `sql_database` sources** ([#239][], PR [#294][]). `tycoon data sources run --max-records N` and both `run-all` commands printed the record cap for these source types and then loaded every row. Each resource now lands at most N rows: `sql_database` pushes the cap into the query as a `LIMIT`, `rest_api` stops requesting pages once it has N rows, and `filesystem` still reads its matched files in full but loads only the first N rows. A negative `--max-records` is now a usage error.
77
+ - **`tycoon data query`, `data schema` and `data clean` work with a MotherDuck warehouse or raw database** ([#70][], PR [#296][]). With `database.warehouse: md:<name>` or `database.raw: md:<name>_raw` in tycoon.yml, tycoon joined the connection string onto the project root and looked for a local file of that name, so `data query` failed with "Database not found" and `data clean --all` could delete a local file called `md:<name>_raw`. The config now has `warehouse_target` and `raw_target`, which pass an `md:` string through to DuckDB unchanged, and `local_db` is `None` for a MotherDuck warehouse instead of a made-up path. `data query` (including `--raw`) and `data schema` connect to MotherDuck directly. A MotherDuck query isn't opened with `read_only=True`, since DuckDB only supports that flag for local files, so what it can change depends on your token's permissions. `data clean` skips a MotherDuck warehouse or raw database with a message and still removes the local files, and `tycoon semantics scaffold` says MotherDuck isn't supported yet rather than reporting a missing file. Commands that still need a local raw file, such as `data sources run` and `data analyze`, now stop with a clear error for an `md:` raw database instead of writing a local file named after it. Printed MotherDuck targets and DuckDB errors drop the `?` query string, so a `motherduck_token` in tycoon.yml never reaches the terminal.
78
+ - **Saving `tycoon.yml` keeps your comments and formatting** ([#177][], PR [#294][]). Commands that save `tycoon.yml`, such as `tycoon data sources add` and `tycoon data sources remove`, no longer erase your comments and blank lines. The file is now updated in place with ruamel.yaml, so only the values tycoon changes are rewritten, a comment above the next section stays where it was when a source is added or removed, the file's indentation is kept and long lines are not wrapped, and a `${ENV}` reference stays a reference instead of being written back as its expanded value.
79
+ - **Rill source YAMLs no longer hard-code an absolute path** ([#275][], PR [#276][]). `tycoon` wrote its generated Rill `local_file` sources with the full path to the exported Parquet (`path: /Users/you/project/data/parquet/_tycoon/dbt_nodes.parquet`). Those files are committed to the project repo, so the absolute path broke on every other clone and in CI, and rewrote itself into the diff each time observability regenerated. The emitted path is now relative to the Rill project directory (`path: ../data/parquet/_tycoon/dbt_nodes.parquet`), which is what Rill resolves `local_file` paths against anyway. Affects both the observability sources and the per-table sources from `data analyze --rill`. A project carrying absolute paths picks up the portable form on its next regeneration.
80
+ - **`tycoon city`'s cold build no longer re-parses the whole schema per column** ([#274][], PR [#276][]). `derive_column_lineage` passed a plain `dict` as sqlglot's `schema=`, and `ensure_schema()` builds a fresh `MappingSchema` (normalizing, and so `parse_one`-ing, every identifier in the mapping) every time it is handed a dict. The entire warehouse schema was therefore re-parsed once per traced column. Building the `MappingSchema` once and reusing it cuts a cold `city.json` on an 87-object catalog from **43.6s to 10.3s** against sqlglot 27.29.0, and from 9.9s to 6.5s against 30.15.0. Column edges are byte-identical before and after (1,023 edges, same digest): this removes redundant work, it does not change lineage.
81
+ - **A quoted `motherduck_token` value is masked in printed errors** ([#345][], PR [#352][]). tycoon masks `motherduck_token=` values in DuckDB error text before printing it, but a quoted value such as `motherduck_token='...'`, `motherduck_token="..."` or `SET motherduck_token = '...'` passed through with the token intact. The value is now masked inside its quotes, with the key and the quotes kept, for any key case and with spaces around `=`. Other keys are not touched.
82
+ - **A second catalog source's requirements are now recorded and installed** ([#364][], PR [#368][]). `dlt init` writes the sources dir's shared `requirements.txt` only when the dir has no dependency system yet, so the first source added wrote the file and every later source's `dlt init` left it alone: tycoon then re-installed the first source's requirements and the new source's own were never installed, failing its first run on a missing import. `install_source` now parks the shared file while `dlt init` runs, so dlt writes the new source's requirements fresh, then merges the parked lines back in; the shared file becomes the union of every source added so far, and the install that follows covers the new source. A run killed mid-install leaves a `requirements.txt.tycoon-parked` file that the next install recovers.
83
+ - **Interactive `sources add` says where a dlt extra is going before installing it** ([#366][], PR [#367][]). With a hand-made `.venv` and no `pyproject.toml`, the interactive path passed a `.venv`-only check, so the "shared/ambient environment" warning never showed and a plain "Install it now?" installed into whatever environment was active. The gate now requires `pyproject.toml` and `.venv` together, the same pair as the requirements path (#268) and the `--no-prompt` skip (#272), and the confirm itself names the destination: "into this project's .venv" or "into the shared/ambient environment". `--no-prompt` behaviour is unchanged.
84
+ - **Source install hints name a command that exists** ([#359][], fixed in PR [#273][]). When a catalog source's download failed or was skipped, `tycoon data sources add` told you to run `tycoon data sources catalog install <type>`, which isn't a command, so following the advice failed with a usage error. The hints now point at `tycoon data sources add <type> --force --no-prompt`, and a test runs each printed hint through `--help` so a stale command name fails CI.
85
+ - **A failed source download says why** ([#365][], fixed in PR [#273][]). When `dlt init` failed or timed out during `tycoon data sources add`, tycoon printed only "Failed to download '<type>'.", so an offline run and a mistyped source name looked identical. It now prints dlt's own last error line, such as a connection failure, and a timeout names the limit it hit.
86
+ - **`tycoon data sources migrate` carries a source's dependencies and leaves your files alone** ([#358][], PR [#361][]). `migrate` copied only the source's package directory, so its `requirements.txt` never reached the project and nothing installed those packages into the project's `.venv`, and a migrated source that needed them failed on import. It now carries `requirements.txt` (adding any lines missing from the project's copy) and installs it the same way `sources add` does. If that install fails, `migrate` exits 1 with uv's error and removes the package it just copied, so a rerun starts over. It also carries the sources dir's `.gitignore` and `.dlt/config.toml` when the project has none, never overwriting existing ones and never copying `.dlt/secrets.toml`. A destination directory that exists without a `_run.py` used to be deleted before the copy; `migrate` now refuses, names the directory, and leaves it untouched.
87
+ - **`tycoon register` keeps your comments in `tycoon.yml` too** ([#297][], PR [#369][]). `register dbt`, `register warehouse` and `register rill` rewrote the file with a plain YAML dump, dropping every comment and blank line. They now update it in place the same way as `sources add` and `sources remove`.
88
+
89
+ [#70]: https://github.com/Database-Tycoon/tycoon-cli/issues/70
90
+ [#177]: https://github.com/Database-Tycoon/tycoon-cli/issues/177
91
+ [#238]: https://github.com/Database-Tycoon/tycoon-cli/issues/238
92
+ [#239]: https://github.com/Database-Tycoon/tycoon-cli/issues/239
93
+ [#240]: https://github.com/Database-Tycoon/tycoon-cli/issues/240
94
+ [#245]: https://github.com/Database-Tycoon/tycoon-cli/issues/245
95
+ [#257]: https://github.com/Database-Tycoon/tycoon-cli/issues/257
96
+ [#258]: https://github.com/Database-Tycoon/tycoon-cli/issues/258
97
+ [#261]: https://github.com/Database-Tycoon/tycoon-cli/issues/261
98
+ [#262]: https://github.com/Database-Tycoon/tycoon-cli/issues/262
99
+ [#263]: https://github.com/Database-Tycoon/tycoon-cli/issues/263
100
+ [#264]: https://github.com/Database-Tycoon/tycoon-cli/issues/264
101
+ [#265]: https://github.com/Database-Tycoon/tycoon-cli/issues/265
102
+ [#272]: https://github.com/Database-Tycoon/tycoon-cli/issues/272
103
+ [#274]: https://github.com/Database-Tycoon/tycoon-cli/issues/274
104
+ [#275]: https://github.com/Database-Tycoon/tycoon-cli/issues/275
105
+ [#297]: https://github.com/Database-Tycoon/tycoon-cli/issues/297
106
+ [#345]: https://github.com/Database-Tycoon/tycoon-cli/issues/345
107
+ [#358]: https://github.com/Database-Tycoon/tycoon-cli/issues/358
108
+ [#359]: https://github.com/Database-Tycoon/tycoon-cli/issues/359
109
+ [#364]: https://github.com/Database-Tycoon/tycoon-cli/issues/364
110
+ [#365]: https://github.com/Database-Tycoon/tycoon-cli/issues/365
111
+ [#366]: https://github.com/Database-Tycoon/tycoon-cli/issues/366
112
+ [#266]: https://github.com/Database-Tycoon/tycoon-cli/pull/266
113
+ [#267]: https://github.com/Database-Tycoon/tycoon-cli/pull/267
114
+ [#268]: https://github.com/Database-Tycoon/tycoon-cli/pull/268
115
+ [#269]: https://github.com/Database-Tycoon/tycoon-cli/pull/269
116
+ [#270]: https://github.com/Database-Tycoon/tycoon-cli/pull/270
117
+ [#271]: https://github.com/Database-Tycoon/tycoon-cli/pull/271
118
+ [#273]: https://github.com/Database-Tycoon/tycoon-cli/pull/273
119
+ [#276]: https://github.com/Database-Tycoon/tycoon-cli/pull/276
120
+ [#280]: https://github.com/Database-Tycoon/tycoon-cli/pull/280
121
+ [#292]: https://github.com/Database-Tycoon/tycoon-cli/pull/292
122
+ [#293]: https://github.com/Database-Tycoon/tycoon-cli/pull/293
123
+ [#294]: https://github.com/Database-Tycoon/tycoon-cli/pull/294
124
+ [#296]: https://github.com/Database-Tycoon/tycoon-cli/pull/296
125
+ [#299]: https://github.com/Database-Tycoon/tycoon-cli/pull/299
126
+ [#300]: https://github.com/Database-Tycoon/tycoon-cli/pull/300
127
+ [#352]: https://github.com/Database-Tycoon/tycoon-cli/pull/352
128
+ [#361]: https://github.com/Database-Tycoon/tycoon-cli/pull/361
129
+ [#367]: https://github.com/Database-Tycoon/tycoon-cli/pull/367
130
+ [#368]: https://github.com/Database-Tycoon/tycoon-cli/pull/368
131
+ [#369]: https://github.com/Database-Tycoon/tycoon-cli/pull/369
132
+
3
133
  ## [0.2.1] - 2026-09-16
4
134
 
5
135
  _Headline: **multi-resource filesystem sources + validated config**. A filesystem source can now declare several named resources and load them all in a single run, `sources add` walks you through them interactively, and JSONL joins CSV and Parquet. Config that used to be quietly defaulted is validated instead — the one change here that can break an existing project. Also here: `tycoon city` lays the city out by pipeline depth, so the city looks different from 0.2.0 while the `city.json` contract stays the same._
@@ -74,6 +204,9 @@ _Headline: **multi-resource filesystem sources + validated config**. A filesyste
74
204
  [#214]: https://github.com/Database-Tycoon/tycoon-cli/pull/214
75
205
  [#216]: https://github.com/Database-Tycoon/tycoon-cli/pull/216
76
206
  [#247]: https://github.com/Database-Tycoon/tycoon-cli/pull/247
207
+ [#275]: https://github.com/Database-Tycoon/tycoon-cli/issues/275
208
+ [#276]: https://github.com/Database-Tycoon/tycoon-cli/pull/276
209
+ [#274]: https://github.com/Database-Tycoon/tycoon-cli/issues/274
77
210
 
78
211
  ## [0.2.0] - 2026-08-28
79
212
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: database-tycoon
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: Tycoon CLI — local-first analytics CLI that adapts to your existing data stack
5
5
  Project-URL: Homepage, https://github.com/Database-Tycoon/tycoon-cli
6
6
  Project-URL: Repository, https://github.com/Database-Tycoon/tycoon-cli
@@ -1,10 +1,14 @@
1
1
  [build-system]
2
- requires = ["hatchling"]
2
+ # Pinned: the backend writes the wheel's Metadata-Version, and an unpinned
3
+ # hatchling floated from 2.4 (v0.1.11) to 2.5 (v0.2.0) with no change on our
4
+ # side, which the publisher then rejected (gh-257). Bump deliberately, and
5
+ # re-check `unzip -p dist/*.whl '*/METADATA' | head -2` against the publisher.
6
+ requires = ["hatchling==1.32.4"]
3
7
  build-backend = "hatchling.build"
4
8
 
5
9
  [project]
6
10
  name = "database-tycoon"
7
- version = "0.2.1"
11
+ version = "0.2.3"
8
12
  description = "Tycoon CLI — local-first analytics CLI that adapts to your existing data stack"
9
13
  readme = "README.md"
10
14
  license = {text = "MIT"}
@@ -70,11 +74,23 @@ dev = [
70
74
  tycoon = "tycoon.cli:app"
71
75
  # The city addon's own entry points, carried over from pipeline-city. The
72
76
  # contract docs' quickstart and web/package.json's demo-data script invoke
73
- # tycoon-city-export; `tycoon city` wraps tycoon-city but the standalone
74
- # server stays invocable for renderer development without a project.
75
- tycoon-city = "tycoon_city.webserve:main"
77
+ # tycoon-city-export; `tycoon city` wraps the server but the standalone
78
+ # `tycoon-city` stays invocable for renderer development without a project.
79
+ # tycoon-city is a Typer app (tycoon_city.cli) so its --help renders like
80
+ # every other tycoon command; the argparse webserve.main stays for python -m.
81
+ tycoon-city = "tycoon_city.cli:app"
76
82
  tycoon-city-export = "tycoon_city.export.cli:main"
77
83
 
84
+ [tool.hatch.build.targets.sdist]
85
+ # The sdist carries what the wheel build needs and the metadata a consumer
86
+ # expects, nothing else. hatchling's default is every tracked file the root
87
+ # .gitignore does not exclude, which is why a working-tree build with
88
+ # web/node_modules or site/ present shipped a 24 MB sdist locally, and why
89
+ # the published one carried web/, docs/, tests/, spikes/ and the dbt demo
90
+ # (gh-258). Wheel-relevant data (web_dist, themes, demo/semantic.yml) lives
91
+ # under src/ and is included.
92
+ only-include = ["src", "pyproject.toml", "README.md", "LICENSE", "CHANGELOG.md", "THIRD-PARTY.md"]
93
+
78
94
  [tool.hatch.build.targets.wheel]
79
95
  # Non-Python files inside tycoon_city ship too, and three things depend on it:
80
96
  # the built web bundle (`web_dist/`), the themes (`themes/*` — spritesheet plus
@@ -92,13 +108,7 @@ markers = [
92
108
  "recipe: marker for recipe doctest blocks parsed from README / docs/recipes (`tests/test_recipe_doctests.py`). `mode=offline` blocks run by default; `mode=online` blocks gate on `--run-online`.",
93
109
  "subprocess_e2e: subprocess-driven end-to-end tests that shell out to the installed `tycoon` binary (catches PATH / Rich rendering / packaging bugs that in-process tests can't see). Included in the default run.",
94
110
  ]
95
- # tests/tycoon_city is the renderer's suite, carried over intact from the
96
- # pipeline-city repo before that repo is deleted. It is not collected yet: its
97
- # paths are anchored with `Path(__file__).parents[N]` against the old repo root,
98
- # so nesting it one level deeper here shifts every one of them. Carrying it
99
- # un-run beats losing it. Wiring it up is tracked separately; until then CI
100
- # gates the CLI, not the renderer.
101
- addopts = "-m 'not e2e' --ignore=tests/tycoon_city"
111
+ addopts = "-m 'not e2e'"
102
112
 
103
113
  [tool.ruff]
104
114
  line-length = 120
@@ -116,16 +126,16 @@ target-version = "py312"
116
126
  "tests/test_ingestion.py" = ["F821"]
117
127
 
118
128
  [tool.coverage.run]
119
- source = ["src/tycoon"]
129
+ source = ["src/tycoon", "src/tycoon_city"]
120
130
  branch = false
121
131
 
122
132
  [tool.coverage.report]
123
- # Floor re-baselined after dropping server/dagster/ask extras (v0.1.10).
124
- # Removing that largely-untested code lifted the real ratio from ~65%
125
- # to ~73%. Floor sits 5 points under baseline for routine-drift
126
- # headroom (same margin as the old 65/60 split); raise it 1-2 points
127
- # per release alongside genuine test additions.
128
- fail_under = 68
133
+ # Floor re-baselined for v0.2.0 when tests/tycoon_city (563 tests) and the
134
+ # src/tycoon_city package joined the gated run: combined baseline is ~78%.
135
+ # Floor sits 5 points under baseline for routine-drift headroom (same
136
+ # margin as previous cycles); raise it 1-2 points per release alongside
137
+ # genuine test additions.
138
+ fail_under = 73
129
139
  show_missing = true
130
140
  skip_covered = false
131
141
  exclude_lines = [
@@ -1,3 +1,3 @@
1
1
  """Database Tycoon — local-first analytics CLI for exploring any dataset."""
2
2
 
3
- __version__ = "0.2.1"
3
+ __version__ = "0.2.3"
@@ -9,9 +9,9 @@ import duckdb
9
9
  import typer
10
10
  from rich.table import Table
11
11
 
12
- from tycoon.config import config
12
+ from tycoon.config import config, display_target, redact_secrets
13
13
  from tycoon.utils.console import console, error, header, info, status_table, success, warn
14
- from tycoon.utils.duckdb_utils import db_file_size_mb, get_row_count, get_tables
14
+ from tycoon.utils.duckdb_utils import db_file_size_mb, get_row_count, get_tables, quote_identifier
15
15
 
16
16
 
17
17
  def _resolve_source_db(source_name: str) -> Path | None:
@@ -27,15 +27,19 @@ def _resolve_source_db(source_name: str) -> Path | None:
27
27
  normalized = source_name.replace("-", "_")
28
28
  source_schema = f"raw_{normalized}"
29
29
 
30
- if config.raw_db.exists() and _has_schema(config.raw_db, source_schema):
31
- return config.raw_db
30
+ # A MotherDuck raw database is not a file, so only local candidates apply.
31
+ raw_db = None if config.raw_is_motherduck else config.raw_db
32
+ if raw_db is not None and raw_db.exists() and _has_schema(raw_db, source_schema):
33
+ return raw_db
32
34
 
33
35
  per_source = config.data_dir / f"raw_{normalized}.duckdb"
34
36
  if per_source.exists():
35
37
  return per_source
36
38
 
37
39
  if config.data_dir.exists():
38
- skip = {config.raw_db.resolve(), per_source.resolve()}
40
+ skip = {per_source.resolve()}
41
+ if raw_db is not None:
42
+ skip.add(raw_db.resolve())
39
43
  for candidate in sorted(config.data_dir.glob("*.duckdb")):
40
44
  if candidate.resolve() in skip:
41
45
  continue
@@ -70,8 +74,16 @@ def schema() -> None:
70
74
  header("Database Schema")
71
75
 
72
76
  rows: list[tuple[str, str, str]] = []
73
-
74
- for db_path, label in [(config.raw_db, "Raw"), (config.local_db, "Warehouse")]:
77
+ raw_db = None if config.raw_is_motherduck else config.raw_db
78
+ local_db = config.local_db
79
+
80
+ for db_path, label, target in [
81
+ (raw_db, "Raw", config.raw_target),
82
+ (local_db, "Warehouse", config.warehouse_target),
83
+ ]:
84
+ if db_path is None:
85
+ rows.extend(_motherduck_schema_rows(target, label))
86
+ continue
75
87
  size = db_file_size_mb(db_path)
76
88
  if size is not None:
77
89
  rows.append((f"{label} database", "OK", f"{size:.1f} MB"))
@@ -91,7 +103,7 @@ def schema() -> None:
91
103
 
92
104
  # Also scan for any other .duckdb files in the data directory
93
105
  data_dir = config.data_dir
94
- seen = {config.raw_db.resolve(), config.local_db.resolve()}
106
+ seen = {p.resolve() for p in (raw_db, local_db) if p is not None}
95
107
  if data_dir.exists():
96
108
  for db_file in sorted(data_dir.glob("*.duckdb")):
97
109
  if db_file.resolve() in seen:
@@ -115,6 +127,33 @@ def schema() -> None:
115
127
  console.print(status_table(rows, title="Database Schema"))
116
128
 
117
129
 
130
+ def _motherduck_schema_rows(target: str, label: str) -> list[tuple[str, str, str]]:
131
+ """Schema rows for a MotherDuck database, read over one connection."""
132
+ try:
133
+ con = duckdb.connect(target)
134
+ try:
135
+ # An md: connection attaches every database on the account, so
136
+ # scope the listing to the one the target names.
137
+ tables = con.execute(
138
+ "SELECT table_schema, table_name FROM information_schema.tables "
139
+ "WHERE table_catalog = current_database() "
140
+ "AND table_schema NOT IN ('information_schema', 'pg_catalog') "
141
+ "ORDER BY table_schema, table_name"
142
+ ).fetchall()
143
+ rows = [
144
+ (f"{label} database", "OK", f"MotherDuck {display_target(target)}"),
145
+ (" Tables", "", f"{len(tables)}"),
146
+ ]
147
+ for s, table in tables:
148
+ count = con.execute(f"SELECT count(*) FROM {quote_identifier(s)}.{quote_identifier(table)}").fetchone()
149
+ rows.append((f" {s}.{table}", "", f"{count[0]:,} rows" if count else "empty"))
150
+ finally:
151
+ con.close()
152
+ except duckdb.Error as exc:
153
+ return [(f"{label} database", "WARN", f"MotherDuck {display_target(target)}: {redact_secrets(str(exc))}")]
154
+ return rows
155
+
156
+
118
157
  # ---------------------------------------------------------------------------
119
158
  # query
120
159
  # ---------------------------------------------------------------------------
@@ -135,8 +174,13 @@ def query(
135
174
  typer.Option("--db", help="Path to a DuckDB file to query directly."),
136
175
  ] = None,
137
176
  ) -> None:
138
- """Run a read-only SQL query against the warehouse, raw, or a source database."""
177
+ """Run a SQL query against the warehouse, raw, or a source database.
178
+
179
+ Local DuckDB files open read-only. A MotherDuck database runs with the
180
+ permissions of your MotherDuck token.
181
+ """
139
182
  is_warehouse = False
183
+ db_path: Path | None
140
184
  if db:
141
185
  db_path = db
142
186
  label = db_path.name
@@ -149,12 +193,16 @@ def query(
149
193
  db_path = resolved
150
194
  label = f"raw ({source})"
151
195
  elif raw:
152
- db_path = config.raw_db
196
+ db_path = None if config.raw_is_motherduck else config.raw_db
153
197
  label = "raw"
154
198
  else:
155
199
  db_path = config.local_db
156
200
  label = "warehouse"
157
201
  is_warehouse = True
202
+ if db_path is not None:
203
+ target = str(db_path)
204
+ else:
205
+ target = config.raw_target if raw else config.warehouse_target
158
206
 
159
207
  # When a Quack server is holding the warehouse (e.g. `tycoon start` is
160
208
  # running), the file is exclusively locked — opening it in-process would
@@ -162,24 +210,34 @@ def query(
162
210
  # warehouse is served; --raw / --source / --db stay file-based.
163
211
  from tycoon import quack
164
212
 
165
- quack_token = quack.load_token(config.root) if is_warehouse else None
213
+ quack_token = quack.load_token(config.root) if is_warehouse and db_path is not None else None
166
214
  via_quack = bool(quack_token) and quack.is_server_running()
167
215
 
168
- if not via_quack and not db_path.exists():
216
+ if db_path is not None and not via_quack and not db_path.exists():
169
217
  error(f"Database not found at {db_path}")
170
218
  raise typer.Exit(1)
171
219
 
172
220
  if via_quack:
173
221
  label = f"{label} (Quack)"
222
+ elif db_path is None:
223
+ label = f"{label} (MotherDuck)"
174
224
 
175
225
  try:
176
- con = quack.connect(quack_token) if via_quack else duckdb.connect(str(db_path), read_only=True)
226
+ if via_quack:
227
+ con = quack.connect(quack_token)
228
+ elif db_path is None:
229
+ # read_only=True is a local-file flag: an md: URL opens an
230
+ # in-memory local database, which DuckDB refuses to start
231
+ # read-only. Write protection comes from the token's scope.
232
+ con = duckdb.connect(target)
233
+ else:
234
+ con = duckdb.connect(target, read_only=True)
177
235
  result = con.execute(sql)
178
236
  columns = [desc[0] for desc in result.description]
179
237
  rows = result.fetchall()
180
238
  con.close()
181
239
  except duckdb.Error as exc:
182
- error(f"Query failed: {exc}")
240
+ error(f"Query failed: {redact_secrets(str(exc))}")
183
241
  raise typer.Exit(1) from exc
184
242
 
185
243
  # Build Rich table
@@ -241,15 +299,30 @@ def clean(
241
299
 
242
300
  targets: list[tuple[Path, str]] = []
243
301
 
244
- if raw or all_:
302
+ raw_remote = (raw or all_) and config.raw_is_motherduck
303
+ if (raw or all_) and not raw_remote:
245
304
  targets.append((config.raw_db, "raw database"))
246
- if local or all_:
247
- targets.append((config.local_db, "local database"))
305
+ local_db = config.local_db
306
+ if (local or all_) and local_db is not None:
307
+ targets.append((local_db, "local database"))
248
308
  if metadata:
249
309
  targets.append((metadata_db_path(config.root), "observability metadata DB"))
250
310
 
251
311
  # Show what will be deleted
252
312
  header("Database Cleanup")
313
+ if raw_remote:
314
+ warn(
315
+ f"Raw database is MotherDuck ({display_target(config.raw_target)}): skipped, "
316
+ "tycoon never deletes a remote database."
317
+ )
318
+ if (local or all_) and local_db is None:
319
+ warn(
320
+ f"Warehouse is MotherDuck ({display_target(config.warehouse_target)}): skipped, "
321
+ "tycoon never deletes a remote warehouse."
322
+ )
323
+ if not targets:
324
+ success("Nothing to remove")
325
+ raise typer.Exit(0)
253
326
  for path, label in targets:
254
327
  wal_path = path.with_suffix(".duckdb.wal")
255
328
  exists = path.exists()
@@ -44,8 +44,8 @@ def _check_python_version(version_info: tuple[int, int] | None = None) -> bool:
44
44
  error(
45
45
  f"Python {label} is too old. tycoon needs "
46
46
  f">={_fmt_ver(_MIN_PYTHON)},<{_fmt_ver(_MAX_PYTHON_EXCLUSIVE)}. "
47
- f"Recreate the environment on a supported interpreter, e.g. "
48
- f"`tycoon setup` (or `uv venv --python {_fmt_ver(_MIN_PYTHON)}`)."
47
+ f"Recreate the environment on a supported interpreter: "
48
+ f"`tycoon setup --python {_fmt_ver(_MIN_PYTHON)}`."
49
49
  )
50
50
  return False
51
51
 
@@ -54,8 +54,8 @@ def _check_python_version(version_info: tuple[int, int] | None = None) -> bool:
54
54
  f"Python {label} is too new for tycoon's dbt stack "
55
55
  f"(dbt-core / dbt-duckdb have no {label} wheels yet). "
56
56
  f"Supported range is >={_fmt_ver(_MIN_PYTHON)},<{_fmt_ver(_MAX_PYTHON_EXCLUSIVE)}. "
57
- f"Recreate the environment on 3.13 — run `tycoon setup` "
58
- f"(or `uv venv --python 3.13`; uv will fetch it if needed)."
57
+ f"Recreate the environment on 3.13: `tycoon setup --python 3.13` "
58
+ f"(uv fetches it if needed)."
59
59
  )
60
60
  return False
61
61
 
@@ -63,6 +63,49 @@ def _check_python_version(version_info: tuple[int, int] | None = None) -> bool:
63
63
  return True
64
64
 
65
65
 
66
+ def _check_project_venv() -> None:
67
+ """Report plainly whether this project has its own `.venv` (gh-262+) and
68
+ whether tycoon is actually running from it.
69
+
70
+ #265's detection is meant to be "the running tycoon is executing from
71
+ this project's `.venv`", not just that a `.venv` directory happens to
72
+ exist beside `tycoon.yml`. A failed/partial `uv venv`, or `tycoon
73
+ setup` run against a project that already had its own `pyproject.toml`
74
+ (gh-262 review), can leave an empty or foreign `.venv` there. An
75
+ exists-only check reports OK in both cases while tycoon keeps running
76
+ from the ambient interpreter, and the next catalog-source run then
77
+ fails with "not installed" (gh-263) with no warning ever having fired.
78
+ Purely informational either way: doesn't affect doctor's overall
79
+ pass/fail.
80
+ """
81
+ from tycoon.venv import venv_path
82
+
83
+ target = venv_path(config.root)
84
+ if not target.exists():
85
+ warn(
86
+ "Project environment: this project doesn't have its own .venv yet, "
87
+ "it's on tycoon's older shared/ambient environment model. "
88
+ "Run `tycoon setup` to build one."
89
+ )
90
+ return
91
+
92
+ running_prefix = Path(sys.prefix).resolve()
93
+ if running_prefix == target.resolve():
94
+ success(f"Project environment: using its own .venv at {target}.")
95
+ elif (target / "bin" / "tycoon").exists():
96
+ warn(
97
+ f"Project environment: {target} exists, but tycoon is running from "
98
+ f"{running_prefix} instead. Activate it with `source {target}/bin/activate`, "
99
+ f"or run it directly with `{target}/bin/tycoon`."
100
+ )
101
+ else:
102
+ warn(
103
+ f"Project environment: {target} exists, but tycoon is running from "
104
+ f"{running_prefix} instead, and {target} has no tycoon installed in it "
105
+ "(empty or broken). Run `tycoon setup --force` to rebuild it."
106
+ )
107
+
108
+
66
109
  def _fix_python_env() -> None:
67
110
  """Build a project-local ``.venv`` on a supported interpreter (``--fix``).
68
111
 
@@ -73,6 +116,10 @@ def _fix_python_env() -> None:
73
116
  from tycoon.constants import DEFAULT_SETUP_PYTHON
74
117
  from tycoon.venv import create_venv, find_uv
75
118
 
119
+ if not config.has_project_file:
120
+ warn("Can't auto-fix: no tycoon.yml found here. Run `tycoon init` first.")
121
+ return
122
+
76
123
  if find_uv() is None:
77
124
  warn(
78
125
  "Can't auto-fix: uv isn't installed. Install it with "
@@ -81,7 +128,8 @@ def _fix_python_env() -> None:
81
128
  return
82
129
 
83
130
  info(f"--fix: building a project-local .venv on Python {DEFAULT_SETUP_PYTHON} via uv...")
84
- result = create_venv(config.root, DEFAULT_SETUP_PYTHON)
131
+ with console.status("Building the project's own environment via uv..."):
132
+ result = create_venv(config.root, DEFAULT_SETUP_PYTHON)
85
133
  if result.ok:
86
134
  success(result.message)
87
135
  info("Activate it with `source .venv/bin/activate`, then re-run `tycoon doctor`.")
@@ -445,6 +493,10 @@ def doctor_cmd(
445
493
  console.print(Panel("Checking Python interpreter...", expand=False))
446
494
  python_ok = _check_python_version()
447
495
 
496
+ if config.has_project_file:
497
+ console.print(Panel("Checking project environment...", expand=False))
498
+ _check_project_venv()
499
+
448
500
  console.print(Panel("Checking scheduled runs...", expand=False))
449
501
  _check_schedules()
450
502
 
@@ -77,6 +77,16 @@ def _short(id_value: str, n: int = 8) -> str:
77
77
  # ---------------------------------------------------------------------------
78
78
 
79
79
 
80
+ def _status_mark(s: RunSummary) -> str:
81
+ if s.status != "success":
82
+ return "[red]✗[/red]"
83
+ # A run that loaded nothing succeeded technically, but a green tick would
84
+ # hide a broken source (gh-240).
85
+ if s.zero_rows:
86
+ return "[yellow]![/yellow]"
87
+ return "[green]✓[/green]"
88
+
89
+
80
90
  def _render_history_table(runs: list[RunSummary]) -> Table:
81
91
  table = Table(show_lines=False)
82
92
  table.add_column("When", style="dim", no_wrap=True)
@@ -88,7 +98,7 @@ def _render_history_table(runs: list[RunSummary]) -> Table:
88
98
  for s in runs:
89
99
  is_dbt = s.runtime_id == "dbt"
90
100
  tool_style = "[bold magenta]dbt[/bold magenta]" if is_dbt else "[bold cyan]dlt[/bold cyan]"
91
- status_str = "[green]✓[/green]" if s.status == "success" else "[red]✗[/red]"
101
+ status_str = _status_mark(s)
92
102
 
93
103
  if is_dbt:
94
104
  cmd = s.command or "run"
@@ -98,7 +108,12 @@ def _render_history_table(runs: list[RunSummary]) -> Table:
98
108
  detail += f" · {s.rows_total} models"
99
109
  else:
100
110
  ref = f"{s.source_id}/{_short(s.run_id)}"
101
- detail = f"{s.rows_total:,} rows"
111
+ if not s.zero_rows:
112
+ detail = f"{s.rows_total:,} rows"
113
+ elif s.rows_total:
114
+ detail = f"[yellow]{s.rows_total:,} rows, a table got 0[/yellow]"
115
+ else:
116
+ detail = "[yellow]0 rows, nothing loaded[/yellow]"
102
117
 
103
118
  table.add_row(_fmt_ts(s.started_at), tool_style, ref, status_str, detail)
104
119
 
@@ -233,7 +248,14 @@ def _show_run(id_prefix: str) -> None:
233
248
  else:
234
249
  header(f"dlt load: {escape(s.run_id)}")
235
250
 
236
- status_str = "[green]success[/green]" if s.status == "success" else "[red]failed[/red]"
251
+ if s.status != "success":
252
+ status_str = "[red]failed[/red]"
253
+ elif s.zero_rows and s.rows_total:
254
+ status_str = "[yellow]success, but a table got zero rows[/yellow]"
255
+ elif s.zero_rows:
256
+ status_str = "[yellow]success, zero rows loaded[/yellow]"
257
+ else:
258
+ status_str = "[green]success[/green]"
237
259
  console.print(f" [bold]Source:[/bold] {escape(s.source_id)}")
238
260
  console.print(f" [bold]Status:[/bold] {status_str}")
239
261
  console.print(f" [bold]Started:[/bold] {_fmt_ts(s.started_at)}")
@@ -241,6 +263,8 @@ def _show_run(id_prefix: str) -> None:
241
263
 
242
264
  if detail.error:
243
265
  console.print(f" [bold]Error:[/bold] [red]{escape(detail.error)}[/red]")
266
+ for message in detail.warnings:
267
+ console.print(f" [bold]Warning:[/bold] [yellow]{escape(message)}[/yellow]")
244
268
 
245
269
  if detail.rows_by_table:
246
270
  rows_table = Table(title="Tables", show_lines=False)