Commit Graph

58 Commits

Author SHA1 Message Date
jxxghp
66d288ffc2 feat(agent): isolate terminal task ownership 2026-09-11 03:12:16 +08:00
jxxghp
71147c1d96 feat(classification): support multi-source media rules 2026-09-03 11:51:18 +08:00
InfinityPacer
68880dbbf1 优化订阅执行治理与规模性能 (#6557)
* feat(subscription): govern concurrent search and match execution

* refactor(subscription): consume complete candidate snapshots

* refactor(subscription): remove download submission ledger

* feat(subscription): stagger fallback searches without site gaps

* refactor(subscription): remove unused retry capability

* test(subscription): verify complete scale execution

* fix(subscription): surface site search failures

* test(subscription): verify site pressure through search

* test(subscription): use static facade imports

* fix(subscription): preserve completed downloads on shutdown

* fix(subscription): classify execution expiry as failure

* fix(subscription): preserve fallback search staggering

* test(subscription): stabilize unfinished wrapper gate

* fix(subscription): settle expired search returns

* style(subscription): normalize governance imports

* fix(subscription): align governance type contracts

* docs(architecture): sync mypy debt metric

* docs(architecture): sync startup module counts
2026-09-03 11:26:24 +08:00
Aqr-K
f4c5549a37 feat(plugin): 接线插件自有数据库生命周期
新增 app/runtime/extensions/plugin/database.py 运行时端口(零 app.db 依赖),
PluginLifecycle.start 在 init_plugin 之后建库、_finalize 只释放不销毁;
PluginConfigStore.delete_data 在删除宿主业务数据后销毁插件自有库;
组合根 app/startup/initializers/plugins.py 把端口装配到 db 层实现。
覆盖 start→ensure / stop·reload·remove→release / delete_data→destroy
三条接线与失败策略。
2026-09-02 02:14:19 -04:00
jxxghp
db5c316756 refactor(subscribe): make download submission idempotent 2026-09-01 17:09:54 +08:00
jxxghp
40ad00f250 test(architecture): sync renamed module baselines 2026-08-29 22:52:14 +08:00
jxxghp
0c05956814 refactor(architecture): enforce module naming policy 2026-08-29 22:17:17 +08:00
jxxghp
fa40f29dfd refactor(plugin): converge runtime ownership and compatibility 2026-08-29 12:55:52 +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
9bff18739d refactor(runtime): own lifecycle and adapter boundaries 2026-08-28 18:18:07 +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
7a10964526 refactor(subscription): close typed persistence boundary 2026-08-28 13:56:42 +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
jxxghp
17d8be2af2 refactor(workflow): isolate legacy execution writes 2026-08-28 02:10:40 +08:00
jxxghp
b4f8736541 refactor(workflow): enforce typed query boundary 2026-08-28 01:16:08 +08:00
jxxghp
f134e068e7 refactor: normalize capability module paths 2026-08-27 22:20:38 +08:00
jxxghp
e82ce8447c refactor: complete durable transfer execution settlement 2026-08-27 20:27:42 +08:00
jxxghp
aac184a1b9 refactor(transfer): make queue admission durable 2026-08-27 10:57:22 +08:00
jxxghp
9dbe424c3d refactor(config): retire RuntimeSettingsCompat host usage 2026-08-26 15:55:21 +08:00
InfinityPacer
71db425c07 feat(plugin): 建立可信来源准入与安装恢复 (#6462) 2026-08-26 07:52:00 +08:00
jxxghp
e9053a6562 refactor: bound async log writer shutdown 2026-08-24 15:20:10 +08:00
jxxghp
8826219173 refactor: bound shared thread pool shutdown 2026-08-24 14:51:38 +08:00
InfinityPacer
feff545b16 refactor: isolate agent task execution data boundary (#6433) 2026-08-24 12:14:46 +08:00
jxxghp
9f76fc9dec refactor: unify workflow runtime boundary 2026-08-24 03:43:47 +08:00
jxxghp
6e69258e3c refactor: make model sessions explicit 2026-08-23 23:33:07 +08:00
jxxghp
e1509c4e0d refactor: reorganize startup persistence boundaries 2026-08-23 21:24:34 +08:00
InfinityPacer
0ba4a7e5e3 fix(agent): close async chat persistence lifecycle 2026-08-23 11:44:18 +08:00
InfinityPacer
f560c19d65 fix(agent): keep chat reads on native async path 2026-08-23 11:43:07 +08:00
InfinityPacer
21ce70fbfc refactor(agent): route chat persistence through database worker 2026-08-23 11:43:07 +08:00
jxxghp
cd2d1517a6 refactor(site): route runtime queries through explicit repository 2026-08-23 10:36:09 +08:00
jxxghp
a8b3dd3988 fix(site): use explicit transactions for connectivity paths 2026-08-23 10:33:14 +08:00
InfinityPacer
3d7fb44dc7 refactor(database): isolate configuration transactions 2026-08-23 02:29:22 +08:00
jxxghp
2c6e8181c2 refactor: keep runtime settings below adapters 2026-08-23 01:45:07 +08:00
jxxghp
690ebe0c02 refactor: inject token runtime configuration 2026-08-23 01:14:12 +08:00
jxxghp
1bb6e36e8c refactor: complete runtime configuration migration 2026-08-22 19:07:07 +08:00
jxxghp
be18cace1f refactor: finish transactional runtime migration 2026-08-22 15:18:16 +08:00
jxxghp
e61b5168ad refactor: move workflow execution writes to uow 2026-08-22 13:21:52 +08:00
jxxghp
5d9c6c8b19 refactor: expand runtime contracts and debt ratchets 2026-08-22 08:25:36 +08:00
jxxghp
ff0ce8d1c1 refactor: add configuration dependency ratchet 2026-08-21 21:20:56 +08:00
jxxghp
773ea8cb9b refactor: introduce typed host runtime 2026-08-21 20:56:25 +08:00
jxxghp
7de72e0e83 refactor: own subscription create transactions 2026-08-21 20:37:31 +08:00
InfinityPacer
23f5d59c74 feat: 使用 uv 锁定主程序依赖并强化插件恢复边界 (#6364) 2026-08-20 12:17:19 +08:00
jxxghp
8472bcff43 refactor: 收口 V3 分层架构与插件兼容边界 2026-08-18 13:22:02 +08:00
jxxghp
5128ae9e1e refactor: 推进后端分层架构治理 2026-08-18 00:29:14 +08:00
Aqr-K
8a11214a43 refactor(db): 修复异步连接池无界增长,并完成 SQLAlchemy 2.0 迁移与分层归位 (#6320) 2026-08-15 06:58:38 +08:00