refactor: unify site chain data port access

This commit is contained in:
jxxghp
2026-08-24 04:25:29 +08:00
parent 286b5836a1
commit 836cbfbbb2
6 changed files with 51 additions and 18 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ Session. `app/db/adapters/` is the concrete persistence-adapter layer: it may
depend on Application-owned Protocols, UoW/Session and Oper implementations.
This deliberate dependency inversion is the only `DB implementation ->
Application contract` direction; Application must remain free of DB imports.
Migrated workflow, user, interaction, messaging and music Chain consumers use
Migrated workflow, user, interaction, messaging, music and site Chain consumers use
the named `get_chain_*_port()` functions from `app/application/chain/data.py`;
they must not alias migration-time `*PortProxy` classes back to database Oper
names. Those proxy classes remain compatibility boundaries while the other