Commit Graph

1209 Commits

Author SHA1 Message Date
jxxghp
c732844f46 chore(architecture): sync download notification dependencies 2026-10-20 12:18:59 +08:00
jxxghp
80a92ddb29 fix(notification): preserve download template titles 2026-10-20 12:09:05 +08:00
jxxghp
9f03157977 fix(transfer): ignore timestamps in cleanup identity checks 2026-10-19 19:09:12 +08:00
jxxghp
cfec9497f5 fix(feishu): 补充资源选择卡片的站点、大小和做种数 (#7085)
* fix(feishu): show site size and seeders in torrent cards

* chore(architecture): record Feishu size formatting dependency
2026-10-19 18:47:30 +08:00
jxxghp
c85f9b262f feat(agent): isolate interactive execution from background services (#7083) 2026-10-19 18:12:05 +08:00
JontyLee
0609ac9e01 fix(download): 复用下载器已有任务时不再重复通知与记录文件明细 (#7078) 2026-10-19 17:56:58 +08:00
jxxghp
379c26a300 feat(subscribe): record initial and upgrade download provenance (#7061) 2026-10-19 16:03:21 +08:00
Aqr-K
bf4ef4214e perf(mediaserver): add caller-controlled query projections (#7068)
* perf(mediaserver): add caller-controlled query projections

* test(mediaserver): cover query projection option contracts

---------

Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-10-19 08:33:45 +08:00
jxxghp
05967cdc0f fix(music): sync local covers during automatic transfers (#7064) 2026-10-18 22:04:24 +08:00
DDSRem
e1b703aacc refactor(agent): centralize graph resource ownership (#7062) 2026-10-18 21:49:57 +08:00
jxxghp
f2b0064449 docs: refresh backend architecture overview 2026-10-18 14:41:04 +08:00
jxxghp
2d73cbc43e docs: drop process records and internal implementation docs
Keep only install, usage, development-workflow and architecture-boundary
documents; remove the one-off refactor plans, audits and ledgers that had
already served their purpose.

- delete docs/refactor plus the agent API surface audit generator and its
  drift-only tests; the fixed route registry remains the source of truth
- delete internal implementation notes (agent, music, notification, transfer,
  subscription activity, docker startup, V3t runtime governance)
- delete site adapter capture/release shims and the ADR records; external
  links point at MoviePilot-Site-Collector instead
- keep docs/architecture-overview.md and gate its dependency and event
  figures against the generated fixtures
- drop doc-only assertions from the architecture baseline test and retarget
  remaining references at code and rule documents
2026-10-18 14:24:49 +08:00
jxxghp
9edb92620e docs(mcp): rewrite external Agent integration guide 2026-10-18 14:12:01 +08:00
jxxghp
b12c112fe1 chore(types): gate mypy debt as exceptions and require zero new files
mypy 门禁此前只表达“只降不增”,没有把存量债务和新增文件分开:拆包迁移按目录前缀
继承额度,同包后来新增的文件可以吸收旧文件剩余额度;本地缺 types-* 桩包时,
import-untyped 与派生的 no-any-return 会被计成债务增长。

调整后口径分三层:mypy.ini 严格清单必须零错误;基线登记文件是存量例外,按文件 +
错误码设上限;基线未登记的新文件必须零诊断。

- 迁移登记改为 Migration(sources, targets),额度只转给逐一登记的接收文件。
- classify_counts 返回 RatchetDiff,新增文件、存量增长、待固化低水位分组输出。
- 缺少 types-* 时直接报环境错误并要求 uv sync --locked,不写入基线。
- 删除 7 个已消耗的迁移组,其旧路径已不在基线中。

验证:tests/test_mypy_gate.py 与 tests/test_architecture_ci.py 26 passed;
changed-file Pylint 10.00/10;Ruff ratchet、结构复杂度、mypy 严格清单与
mypy ratchet(2881 项存量)通过。
2026-10-18 13:46:37 +08:00
jxxghp
9bcebc2c52 fix(community): prewarm and refresh medal snapshots in background 2026-10-18 10:37:19 +08:00
DDSRem
e0642eafa7 chore(types): reduce v3 host mypy debt (#7057)
* chore(types): clear AniList endpoint mypy debt

* chore(types): clear Douban endpoint mypy debt

* chore(types): clear recommendation endpoint mypy debt

* chore(types): clear subscription notification mypy debt

* chore(types): clear SDK string compatibility mypy debt

* chore(types): ratchet v3 host mypy across remaining files

* chore(types): reduce v3 host mypy debt and retire ledger

* chore(types): reconcile host snapshot with upstream HTTP pool

* test(types): cover host paths exposed by mypy cleanup
2026-10-18 09:37:49 +08:00
jxxghp
30378f2fc8 fix(network): recover shared pools after repeated pool timeouts 2026-10-18 09:01:33 +08:00
jxxghp
f1e09b40d0 fix(types): preserve Plex SDK return contracts 2026-10-17 20:14:11 +08:00
jxxghp
16723f03a4 fix(types): preserve Feishu notification identity boundaries 2026-10-17 20:12:48 +08:00
jxxghp
a03e620c27 fix(types): make Emby response contracts explicit 2026-10-17 20:12:48 +08:00
jxxghp
acfe477c66 fix(types): make Discord callbacks and receipts explicit 2026-10-17 20:12:48 +08:00
jxxghp
74489ca32f fix(types): make ZSpace response contracts explicit 2026-10-17 20:12:48 +08:00
jxxghp
0bde181702 fix(types): make Jellyfin response contracts explicit 2026-10-17 20:12:48 +08:00
jxxghp
bb7f7f7315 fix(types): clarify Ugreen session and media response boundaries 2026-10-17 20:12:48 +08:00
DDSRem
e33ae01aad ci: gate v3 release on version value changes (#7052)
Co-authored-by: DDSRem <1448139087@qq.com>
2026-10-17 19:57:48 +08:00
Qinghe Li
85b367527e fix(scraper): align built-in NFO results with text contract (#7049)
* fix(scraper): return NFO text from built-in providers

* test: cover type migration boundaries

* fix: silence dynamic import lint diagnostics

* test: keep coverage policy stable for nfo repair

* fix: preserve merged scraper documentation during conflict repair

---------

Co-authored-by: Derrors <derrors@local>
Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-10-17 19:53:06 +08:00
DDSRem
2de976f6b3 Merge pull request #7050 from DDSRem-Dev/codex-comment-migration
docs: 统一全项目中文注释和结构化契约说明
2026-10-17 19:26:29 +08:00
jxxghp
c1d7deada8 fix(types): type messaging template and queue boundaries 2026-10-17 18:23:57 +08:00
jxxghp
999906e503 chore(types): gate TMDB and indexer cleanup 2026-10-17 18:02:33 +08:00
jxxghp
49f7d585b8 chore(architecture): restore U115 import edge 2026-10-17 17:45:19 +08:00
jxxghp
d85e9d2275 docs(types): align mypy debt metric 2026-10-17 17:40:43 +08:00
jxxghp
e2df9c3d3e docs(architecture): refresh dependency edge count 2026-10-17 17:29:06 +08:00
jxxghp
b33060f0a6 chore(types): gate HTTP client cleanup 2026-10-17 17:19:18 +08:00
jxxghp
3366713e60 chore(types): gate parallel mypy cleanup batch 2026-10-17 16:26:40 +08:00
jxxghp
7b6441bfe5 chore(types): gate rTorrent client and ratchet 190 errors 2026-10-17 15:52:01 +08:00
DDSRem
7e1c71a6d2 docs: standardize Chinese comment contracts
Define multiline reStructuredText docstrings and item-level documentation for dataclasses, Pydantic models, and Protocols. Align agent instructions, review guidance, and development documentation.

Validation: document links, Python example syntax, docstring format, and diff checks passed. The unchanged text-only architecture documentation test passed under isolated pytest with temporary CONFIG_DIR and no application bootstrap. Normal bootstrap remains unverified because the local environment lacks moviepilot_rust; installed uv also predates the project configuration format. No product code changed.
2026-10-17 15:45:46 +08:00
jxxghp
5d2050232f docs(types): record QQ bot API cleanup 2026-10-17 15:25:44 +08:00
jxxghp
85adc761e4 docs: record runtime rate typing debt reduction 2026-10-17 15:11:20 +08:00
jxxghp
aa2fe687dc docs: record Ugreen API typing debt reduction 2026-10-17 14:59:47 +08:00
jxxghp
43ee2ba6b4 docs: record remaining TMDB object typing 2026-10-17 14:38:05 +08:00
jxxghp
ae9770c8af docs: record TMDB mypy debt reduction 2026-10-17 14:21:22 +08:00
jxxghp
1e910a6e4b docs: update Rousi mypy metric 2026-10-17 13:39:52 +08:00
jxxghp
00645938d2 fix: isolate durable notification recovery 2026-10-17 13:11:15 +08:00
jxxghp
db87ec743e docs: update mypy debt metric 2026-10-17 12:36:48 +08:00
cosini
e36884766c feat(douban): 新增豆瓣短评与影评接口
* feat(douban): 新增豆瓣短评与影评接口

* fix(douban): satisfy comment endpoint CI gates

---------

Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-10-17 12:31:41 +08:00
jxxghp
0eae576b7a docs: update Telegram mypy metric 2026-10-17 10:02:39 +08:00
jxxghp
0fb1d50642 docs: update dependency edge metric 2026-10-17 09:48:16 +08:00
jxxghp
e96bae46dd docs: update architecture edge count 2026-10-17 09:48:15 +08:00
jxxghp
ad1a84986b docs: update mypy debt metrics 2026-10-17 09:48:15 +08:00
jxxghp
bfe461f944 docs(quality): record batch 56 type cleanup 2026-10-17 09:11:50 +08:00