refactor(memory): the memory store and the spend meter leave the plane package (C1)

openultrasast.plane.memory and openultrasast.plane.budget are now
openultrasast.memory and openultrasast.budget; every importer follows. A pure move:
no behaviour changes. The two renames themselves were swept into 1aad435 by mistake
(they were staged when that spec commit was made), so the three commits between it
and this one do not import; this commit completes the move.

memory.py still reaches into the plane in two lazy imports (results_root in
open_store, the reconciler in seed); the cut of the plane has to settle both.

Checked: ruff, ruff format, mypy; 163 test files around memory, budget, plane, learn
and hunt passed across three runs by the implementing agent, and the six closest
files again before this commit. The whole suite was not run locally.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
Marius Ciepluch
2026-11-30 10:56:25 +01:00
co-authored by Claude Fable 5.2
parent e22bd420d9
commit b975acb7e0
65 changed files with 117 additions and 122 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ from typing import Any
import yaml
from ...learn.schema import validate_record
from ..memory import REMEMBER_OUTPUT, IngestResult, MemoryStore, image_digest, ingest, repo_key, row_id, validate_row
from ...memory import REMEMBER_OUTPUT, IngestResult, MemoryStore, image_digest, ingest, repo_key, row_id, validate_row
from .repo_facts import _digest
PASSES = ("a", "b", "c")
+1 -1
View File
@@ -30,11 +30,11 @@ from collections.abc import Mapping, Sequence
from pathlib import Path
from typing import Any
from ...budget import AccountError, BudgetExhausted, MeteredClient
from ...learn.roles import MODEL_ROLE_KINDS
from ...learn.schema import OPERATIONS, SOURCE_KINDS
from ...source import MODULE_FUNCTION, product_files
from ...tool_hunter import ChatClient
from ..budget import AccountError, BudgetExhausted, MeteredClient
from .verify import build_client
CHUNK_LINES = 400
+1 -1
View File
@@ -26,8 +26,8 @@ from collections.abc import Mapping, Sequence
from pathlib import Path
from typing import Any
from ...budget import AccountError, BudgetExhausted, MeteredClient
from ...tool_hunter import CLIENT_ENV, ChatClient, ChatResponse, resolve_hunter_client, run_tool_hunter, scripted_hunter_client
from ..budget import AccountError, BudgetExhausted, MeteredClient
PER_HUNT = 6
MAX_STEPS = 6