Commit Graph

1197 Commits

Author SHA1 Message Date
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
jxxghp
f70578f279 docs(quality): synchronize Ruff baseline metrics 2026-10-17 08:09:19 +08:00
jxxghp
dbaa32faba docs(quality): synchronize batch 55 metrics 2026-10-17 08:09:19 +08:00
jxxghp
9e8bd4746e docs(quality): synchronize workflow route and stdio metrics 2026-10-17 07:22:26 +08:00
jxxghp
7523463228 docs(quality): synchronize Bitpt and CookieCloud metrics 2026-10-17 07:15:40 +08:00
jxxghp
457160adf9 ci: ratchet canonical app coverage baseline 2026-10-17 07:13:14 +08:00
jxxghp
2aece8acaf docs(quality): synchronize Zhixing mypy metrics 2026-10-17 07:05:34 +08:00
jxxghp
a92c4b597f ci: expand app coverage and async blocking gates 2026-10-17 06:52:51 +08:00
jxxghp
cc72a0e5d5 chore(quality): protect episode formatting and sample resolution 2026-10-17 06:47:30 +08:00
jxxghp
76e9bfbca1 docs(quality): synchronize metrics after latest v3 integration 2026-10-17 06:38:30 +08:00
jxxghp
4c5d36af4a chore(quality): protect the complete Transmission module 2026-10-17 06:35:39 +08:00
jxxghp
68101746ae fix(plugin): recover invalid historical instance rows (#7039)
* fix(plugin): recover invalid historical instance rows

* fix(plugin): keep maintenance on existing startup path

* style(plugin): order maintenance test imports

* chore(architecture): record plugin instance validator edges
2026-10-17 06:34:25 +08:00
jxxghp
8a59b51dea chore(quality): protect downloader contracts and SDK type imports 2026-10-17 06:24:08 +08:00