Files
hermes-agent/scripts/ci
Teknium b4f52550a4 refactor(left-core): split left_core_migration.py into a package by job
hermes_cli/left_core_migration.py (1951 lines) was at the 2,000-line file cap with two approved
platform moves (QQ Bot, Feishu) still to add rows to it. Per the root AGENTS.md rule, the topic
becomes a folder: the facade (__init__.py) names each module's job and re-exports the public
surface in __all__; the code moves unchanged into homes, platform_use, feature_use, provider_use,
rows, hints, locks, notices and migrate. Topic modules import one another, never the facade.

Pure move: every top-level def/assign is AST-identical to the original except that hints and
migrate read the table as table.LEFT_CORE (rows imported as table), so one patch of
rows.LEFT_CORE reaches every reader. Private-name importers (default_plugins, catalog_platforms,
catalog_platform_listing) import from the owning module; tests patch where a name is looked up
(migrate._install_into, migrate._attempted, rows.LEFT_CORE, ...). The module path
hermes_cli.left_core_migration keeps working (it is the facade), so running updaters that import
migrate_all_homes from it are unaffected.
2026-11-28 14:59:59 -08:00
..