Keep the memory schema free of launch and adapter shapes

schemas.py was 473 lines and the memory lifecycle work needs to add
fields to it. The seven adapter and launch-profile models were the
right thing to move: they describe what trained the model and how a
machine starts it, they change when the evidence rules change, and the
memory model should not move with them. They joined the runtime shapes
file that already held the adapter load report.

schemas.py 473 -> 314 lines, runtime_schemas.py 30 -> 192. Every moved
class body is byte-identical (compared with ast.get_source_segment
against HEAD: 37 classes then, 30 + 9 now, none missing, none
differing).

Gates: 333 passed, ruff clean, filesize clean, mypy 24 errors in 9
files on both trees with identical messages, pyright 9 errors on the
package on both trees.
This commit is contained in:
ZacharyZhang-NY committed 2026-10-09 06:24:47 -04:00
1 parent a6a1ef05f0
commit 4c6af87fe0
13 files changed
+189 -183

No files matched your search

+2 -1
View File
@@ -6,7 +6,8 @@ from pathlib import Path
from .config import Settings, get_settings
from .db import Database
from .schemas import AdapterManifest, TrainingAdapterKind
from .runtime_schemas import AdapterManifest
from .schemas import TrainingAdapterKind
from .training_common import TrainingSample
from .training_datasets import (
build_prd_dataset,