From 4ca362ef83477d1f8e7da01bb7d48cde2d4d65e7 Mon Sep 17 00:00:00 2001 From: Wolf Date: Tue, 29 Sep 2026 22:01:44 +0200 Subject: [PATCH] Let storage import places and seniority, two layers above the models Co-Authored-By: Claude Fable 5.1 --- tests/test_architecture.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/test_architecture.py b/tests/test_architecture.py index 24bbdc0..78f0b37 100644 --- a/tests/test_architecture.py +++ b/tests/test_architecture.py @@ -27,9 +27,12 @@ import pytest ROOT = Path(__file__).resolve().parents[1] -#: Bottom to top. `main` assembles the app from everything below it; `cli` -#: and `__main__` are the entry points and may reach anything. -LAYERS = ["models", "config", "storage", "jobs", "web", "main", "cli", "__main__"] +#: Bottom to top. `places` and `seniority` read what a board wrote and know +#: no database, so storage may use them. `main` assembles the app from +#: everything below it; `cli` and `__main__` are the entry points and may +#: reach anything. +LAYERS = ["models", "places", "seniority", "config", "storage", "jobs", "web", "main", "cli", + "__main__"] APP = "app" EXTERNAL = {"desk", "pipeline", "auth"} TREES = {APP} | EXTERNAL