refactor: isolate runtime contracts and enforce import boundaries (#6166)

* test: enforce Python import ownership boundaries

* test: protect client import boundaries and rehome shared UI contracts

* refactor: remove gateway and client dependency inversions

* fix: detect dynamic imports in conditional expressions

* refactor(tools): keep configuration contracts with their owners

* docs: keep design guidance focused on ownership and checks

* fix: preserve default threaded turn delivery
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-13 13:56:28 +08:00
1 parent cd2a863710
commit 328e933d36
162 files changed
+3449 -1888

No files matched your search

+2
View File
@@ -62,6 +62,8 @@ def _source_archive(root: Path) -> bytes:
archive.add(path, arcname=Path("nanobot-tui-source/tui") / relative)
archive.add(root.parent / "packages/client-events",
arcname="nanobot-tui-source/packages/client-events")
for name in ("check_client_import_boundaries.mjs", "check_client_import_boundaries.test.mjs"):
archive.add(root.parent / "scripts" / name, arcname=f"nanobot-tui-source/scripts/{name}")
archive.add(root.parent / "LICENSE", arcname="nanobot-tui-source/LICENSE")
return output.getvalue()