Commit Graph

103 Commits

Author SHA1 Message Date
jxxghp
3eb339b8e0 feat(agent): unify memory retrieval and activity history 2026-09-16 18:24:30 +08:00
jxxghp
4e9a64c0f0 refactor(application): 按模块子目录统一文件命名 2026-09-15 23:57:06 +08:00
jxxghp
30857d391d refactor(application): 收敛共享重复逻辑 2026-09-15 23:57:06 +08:00
Aqr-K
5e232ca14d fix(plugin): 安装记录大小写不敏感查询、游标物化,site 端点改从 Application 取 (#6682)
* fix(plugin): 安装 journal 按大小写不敏感列出事务记录

create 用 func.lower 判定同一物理插件并据此拒绝重复占位,list 却还是等值过滤。
判据分叉后,恢复流程查不到那条被 create 认定为未收尾的 journal,会认为没有待恢复
事务,而新事务又永远被同一行挡住。list 改用与 create 相同的 func.lower 判据。

* fix(plugin): 批量读插件身份时在事务内物化游标

list_by_plugin_ids 无会话调用时由组合根另开短事务,会话在 lambda 返回后立即关闭,
外层再 list() 消费惰性游标会撞上 "identity map is no longer valid",一行都读不到。
补上 .all(),让行在事务内取完。

* refactor(api): site 端点从 Application 取插件路由刷新

register_plugin_api 的唯一拥有者是 app.application.plugin.routes,
dependencies/plugin.py、scheduler/reconcile.py 与 initializers/plugins.py 都已从那里
取用,只剩 site 端点还在向 plugin 端点横向借。改为同一来源,并加门禁锁住这条判据。

依赖基线相应下降一条边(8650 -> 8649:site 不再到达 app.api.endpoints 与
app.api.endpoints.plugin,改为到达 app.application.plugin.routes),mypy 低水位同步
下降一条 attr-defined,两处文档数字随之更新。

---------

Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-09-14 07:18:50 +08:00
jxxghp
4192585969 fix(classification): satisfy type and module contracts 2026-09-12 18:28:31 +08:00
jxxghp
761d02ba68 fix(classification): satisfy architecture complexity ratchets 2026-09-12 18:18:13 +08:00
jxxghp
7ccb1d9dee feat(classification): provide source-aware condition dictionaries 2026-09-07 23:21:25 +08:00
jxxghp
71147c1d96 feat(classification): support multi-source media rules 2026-09-03 11:51:18 +08:00
jxxghp
d512f528be refactor(api): make collection pagination explicit 2026-09-01 09:13:56 +08:00
jxxghp
fdba2c7d64 refactor(agent): unify tools behind API gateway and provider skills 2026-08-31 16:57:54 +08:00
jxxghp
9f982edb48 test(architecture): align residual owners and generated facts 2026-08-30 12:40:53 +08:00
jxxghp
046b0b3051 refactor(startup): centralize doh and workflow services 2026-08-30 12:22:18 +08:00
jxxghp
918baf2b69 refactor(startup): centralize resource composition 2026-08-30 12:19:30 +08:00
jxxghp
d50177f45d refactor(system): 收口系统 API 业务职责 2026-08-30 12:16:54 +08:00
jxxghp
e56d65efbc refactor(startup): centralize cache composition 2026-08-30 12:13:10 +08:00
jxxghp
a350bae0d0 refactor(plugin): share runtime dependency owners 2026-08-30 12:12:01 +08:00
jxxghp
26a3b1cda4 refactor(startup): centralize chain external ports 2026-08-30 12:07:04 +08:00
jxxghp
f448a7b003 refactor(startup): centralize site access composition 2026-08-30 12:02:49 +08:00
jxxghp
ed94eeda92 refactor(startup): centralize chain network composition 2026-08-30 12:00:43 +08:00
jxxghp
2a7f8551b1 refactor(startup): move domain assembly to composition 2026-08-30 11:52:59 +08:00
jxxghp
7f5b8b469a refactor(plugin): centralize market composition owners 2026-08-30 11:48:41 +08:00
jxxghp
0c05956814 refactor(architecture): enforce module naming policy 2026-08-29 22:17:17 +08:00
jxxghp
387fd953df fix(migrations): follow torrent capability owner 2026-08-29 21:39:36 +08:00
jxxghp
fb5d7fc593 refactor(torrent): group application capability 2026-08-29 21:28:18 +08:00
jxxghp
b4b5f82511 refactor(modules): narrow package root exports 2026-08-29 21:19:00 +08:00
jxxghp
32cdcfcc2f refactor(startup): centralize runtime composition 2026-08-29 18:41:31 +08:00
jxxghp
b658f7c2c0 refactor(startup): isolate chain composition 2026-08-29 18:10:10 +08:00
jxxghp
68c73f9239 refactor(startup): isolate agent composition 2026-08-29 17:43:28 +08:00
jxxghp
b3fe1158cc refactor(startup): isolate server service composition 2026-08-29 17:38:29 +08:00
jxxghp
305f8e007c refactor(startup): isolate outbox composition 2026-08-29 17:21:51 +08:00
jxxghp
084fa475eb refactor(startup): extract network composition owner 2026-08-29 17:17:27 +08:00
jxxghp
da67608339 refactor(startup): isolate security composition 2026-08-29 17:03:25 +08:00
jxxghp
d2a860d89a refactor(startup): govern composition lifecycle ownership 2026-08-29 16:57:53 +08:00
jxxghp
b4547cf043 refactor(startup): isolate configuration and database composition 2026-08-29 16:20:04 +08:00
jxxghp
a1e351aa9e refactor(domain): isolate media source projections 2026-08-29 15:48:12 +08:00
jxxghp
dbdf7d0582 refactor(agent): narrow package compatibility surfaces 2026-08-29 14:29:42 +08:00
jxxghp
3a33da0b38 refactor(agent): split manager runtime owners 2026-08-29 14:26:12 +08:00
jxxghp
f38637dcea refactor(api): move host orchestration into application services 2026-08-29 10:27:57 +08:00
jxxghp
13c4a71f42 refactor(media): split chain into governed package 2026-08-29 09:28:00 +08:00
jxxghp
13fba96fd8 refactor(runtime): govern dependency module naming 2026-08-29 08:14:21 +08:00
jxxghp
7941fd921d refactor(chain): split download orchestration package 2026-08-29 06:41:15 +08:00
jxxghp
8460e72c42 refactor(scheduler): split runtime owners and preserve plugin ABI 2026-08-28 23:17:45 +08:00
jxxghp
92e745fc97 refactor(architecture): split chain owners and close runtime boundaries 2026-08-28 22:26:19 +08:00
jxxghp
2fe39d856c refactor(architecture): invert application adapter boundaries 2026-08-28 18:45:47 +08:00
jxxghp
d9e4a973c8 refactor(subscription): enforce atomic mutation boundaries 2026-08-28 17:39:20 +08:00
jxxghp
eb45ed6b77 refactor(runtime): remove data service locators 2026-08-28 16:39:29 +08:00
jxxghp
aa8751f775 refactor: close transactional boundary debt batch 2026-08-28 10:36:12 +08:00
jxxghp
3f8d5990e7 refactor(user): freeze host user query ports 2026-08-28 08:44:35 +08:00
jxxghp
5fb62108ab refactor(chain): type download and media server ports 2026-08-28 07:47:37 +08:00
jxxghp
ac7a201329 refactor(chain): remove dead data port indirection 2026-08-28 05:53:53 +08:00