Skip to content

Commit 24588b9

Browse files
committed
Merge branch 'yath-db-schema' into 2.0
2 parents 1a78d4a + ad3265a commit 24588b9

251 files changed

Lines changed: 13868 additions & 7251 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

AI_DOCS/2026-05-07-schema-redesign.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -522,9 +522,13 @@ Reproduced from `SCHEMA_REDESIGN_DECISIONS.md`:
522522
- **`events.jsonl.zst` still stored as artifact bytes.** No `events`
523523
table; events stay in `artifacts.payload` as zstd-compressed
524524
JSONL. Out of scope for this redesign.
525-
- **App::Yath2DB DBIC sync** — the dist isn't written yet; when it
526-
is, it'll consume this schema directly. No external-dist coupling
527-
in this redesign.
525+
- **App::Yath2::DB DBIC consumption**`App::Yath2::DB::DBIC` ships
526+
in this dist (see `AI_DOCS/2026-05-08-yath-db-namespace.md`) and
527+
consumes this schema via hand-written Result classes under
528+
`App::Yath2::DB::DBIC::Result::*`. Bootstrap is still
529+
`share/schema/$flavor.sql`-driven; DBIC's `deploy()` is never
530+
called. External `App::Yath2::UI` would consume the same DBIC
531+
schema if/when it is written.
528532

529533
## Pre-existing follow-up surfaced
530534

AI_DOCS/2026-05-08-yath-db-namespace.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
**Superseded by `AI_DOCS/2026-05-08-yath-db-rebuild.md`.** Decisions in
2+
this document are historical; the architecture they describe was
3+
replaced by the DB rebuild (App::Yath2::DB::Internal* deleted in favor
4+
of App::Yath2::DB + App::Yath2::DB::SQL + App::Yath2::DB::DBIC). See
5+
the rebuild plan for current state.
6+
7+
----
8+
(original content below)
9+
110
# Yath DB Namespace — Design Spec
211

312
**Status:** approved 2026-05-08

0 commit comments

Comments
 (0)