holocron 0.5.0

Declarative schema & query compiler — one YAML as the source of truth for SQL schema and a type-checked query catalog.
Documentation
# Kitchen-sink: this file contains MULTIPLE errors of different kinds.
# Each phase collects every error it finds before returning, so one run
# surfaces all five at once — see CLAUDE.md HOLO-DIAGNOSTICS.
#
# Errors in this file (all reported together):
#   1. line 23 — duplicate enum type `status`           (L2: catalog/enums)
#   2. line 30 — unknown column type `not_a_type`        (L2: catalog/tables)
#   3. line 33 — duplicate relation `tasks`              (L2: catalog/tables)
#   4. line 40 — view sources an unknown table (`ghost`) (L3: resolve)
#   5. line 47 — view selects an unknown alias (`x`)     (L3: resolve)
#
# Run: cargo run -- samples/error_multiple.holocron.yaml

types:
  - name: status
    enum: [Open, Done]
  - name: status                  # 1. duplicate enum
    enum: [Pending, Active]

tables:
  - name: tasks
    columns:
      task_id:  { type: uuid }
      priority: { type: not_a_type }   # 2. unknown type
    primary_key: { columns: [task_id] }

  - name: tasks                   # 3. duplicate relation
    columns:
      id: { type: uuid }
    primary_key: { columns: [id] }

views:
  - name: ghost_view
    from: { table: ghost, as: g }     # 4. unknown source table
    select:
      - { column: id, from: g }

  - name: bad_alias_view
    from: { table: tasks, as: t }
    select:
      - { column: task_id, from: x }  # 5. unknown alias