"""Version tracking for tracking-setup.

Increment VERSION on every code change before rebuilding/restarting the container.
This allows verifying that the running container has the latest code (version is
shown in the top nav and at the bottom of every page).

Convention mirrors /srv/home/scenes-v2/app/version.py.
"""

VERSION = "1.0.1"

# Changelog (most recent first):
# 1.0.1 - Refactor to scenes-v2 conventions.
#       - Split main.py (867 lines) into app/routes/{auth,pages,orgs,clients,crawls,reports}.py.
#       - Pulled shared deps into app/deps.py (jinja env, render(), auth helpers, audit, config).
#       - Added app/templates/_macros.html with status_badge, kind_badge, action_card macros.
#       - Applied macros across report_detail / report_review / report_pdf / dashboards.
#       - Split static/style.css into shared base + page-specific report-review.css + pdf.css.
#       - style.css now organized into 14 numbered sections per scenes-v2 CODING.md style.
#       - Added CODING.md documenting standards.
#       - Added version footer to base.html.
# 1.0.0 - Initial v1 MVP release.
#       - Multi-tenant Org / Client / User schema with RBAC.
#       - Internal email+password auth + magic-link client auth.
#       - Playwright crawler (homepage + N internal pages, screenshots + DOM +
#         interactive.json) → Claude Opus analyzer (single call, prompt-cached
#         system prompt, homepage screenshot for visual context) → Report+Action.
#       - Internal draft-edit UI for Reports/Actions.
#       - Client review UI (per-action approve/reject + comments, mobile).
#       - WeasyPrint PDF export.
#       - Per-client audit log.
#       - Per-CrawlRun spend cap and page cap.
