9 Commits

Author SHA1 Message Date
DDSRem
2de976f6b3 Merge pull request #7050 from DDSRem-Dev/codex-comment-migration
docs: 统一全项目中文注释和结构化契约说明
2026-10-17 19:26:29 +08:00
freeman
f3ad81b39e style: apply safe ruff auto-fixes and exempt startup late imports
Run `ruff check app tests scripts --fix` with the configured rule set
(E4/E7/E9/F/I): import sorting (I001), f-strings without placeholders
(F541), lambda/variable/unused-import cleanups that ruff marks safe.
Nine files whose only ruff debt sits next to pre-existing pylint
import-resolution errors (lazy exports, sys.path script imports) or
whose "unused" imports are reached through attribute access by tests are
left untouched so the changed-file pylint gate and the benchmark tests
stay green; their diagnostics remain in the baseline.

app/startup/lifecycle/__init__.py and app/main.py import business
modules after cache composition, import-path and stdio setup on purpose
(the source comments document the contract), so declare E402
per-file-ignores for them instead of adding per-line noqa.

Ruff ratchet watermark drops from 498 to 100; sync the baseline fixture
and the optimization checklist figure.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-09 13:29:09 +08:00
jxxghp
2aa41ea8fe fix: register module result mismatch metric 2026-08-24 13:24:36 +08:00
Aqr-K
f55f5edeca feat(runtime): 为旧门面补上分阶段退役,与命中观测形成闭环 (#6430) 2026-08-24 10:10:56 +08:00
InfinityPacer
598c004efe fix(agent): bound session persistence admission 2026-08-23 11:43:07 +08:00
InfinityPacer
3d7fb44dc7 refactor(database): isolate configuration transactions 2026-08-23 02:29:22 +08:00
jxxghp
a001291c0b feat: observe legacy facade method hits 2026-08-23 00:37:03 +08:00
jxxghp
dc9433f0de feat: observe legacy module contract hits 2026-08-23 00:11:15 +08:00
jxxghp
43cccb8ff8 feat: add low-cardinality observation port 2026-08-21 22:15:47 +08:00