120 Commits

Author SHA1 Message Date
Aqr-K
7584d4b9fc fix: isolate agent sessions and retain runtime resource ownership (#7149)
* fix: arbitrate subscription identity and restore workflow state

* fix: isolate agent sessions and retain runtime resource ownership

* test: preserve legacy empty-owner subscription transactions

* test: handle reaped terminal descendants during shutdown polling

* fix: align shared atomic configuration method with lifecycle prerequisite

* test: cover subagent cancellation and completion lifecycle boundaries

---------

Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-10-23 08:20:59 +08:00
jxxghp
6d4ce83837 fix(types): clear host mypy debt and prevent typing regressions
严格检查全部宿主源码,清零类型错误预算并移除按模块类型豁免。
按原因、所属方法、错误码及语法指纹锁定必要兼容例外和站点类型桩,
CI 阻断新增忽略、检查范围退化、本地桩替代真实接口及新的类型错误。

修复空值、异步和供应方类型边界,保持插件与 API 兼容合同,
并补充存储、订阅、通知、Agent 和工作流边界的回归覆盖。
2026-10-21 22:03:18 +08:00
jxxghp
c85f9b262f feat(agent): isolate interactive execution from background services (#7083) 2026-10-19 18:12:05 +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
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
e7852dd8a0 refactor(agent): 优化提示词并完善 Issue 反馈交互 2026-10-02 10:35:37 +08:00
jxxghp
3ffc64cfd6 feat(agent): complete integrated evaluation
Validate persistent recall, learning carry-over, and controlled read-only Python orchestration in real graphs and isolated model scenarios.
2026-09-30 20:53:19 +08:00
jxxghp
f803e6cc5c feat(agent): add persistent Python read-only orchestration 2026-09-30 20:16:53 +08:00
jxxghp
fcd4cd1725 feat(agent): align execution guardrails with Hermes 2026-09-30 18:51:03 +08:00
jxxghp
864ac1892e feat(agent): align background learning with Hermes 2026-09-30 17:45:39 +08:00
jxxghp
47d51c3630 feat(agent): align history recall with Hermes SQLite FTS5 2026-09-30 16:28:39 +08:00
moviepilot-codex[bot]
1d043bb64e fix(agent): isolate memory by user 2026-09-21 08:59:33 +08:00
jxxghp
3eb339b8e0 feat(agent): unify memory retrieval and activity history 2026-09-16 18:24:30 +08:00
jxxghp
be2676a6c8 fix(agent): close subagent update type ratchet 2026-09-12 15:08:48 +08:00
jxxghp
1586152c44 feat(agent): support updating subagent tasks 2026-09-12 14:49:47 +08:00
jxxghp
e9e1aa8e0f fix(agent): clarify browser and subagent states 2026-09-12 12:50:22 +08:00
jxxghp
9b0fff922f fix(agent): align tool and subagent recovery contracts 2026-09-12 12:35:30 +08:00
jxxghp
a4c17c9aa6 fix(agent): guide recovery after invocation outcomes 2026-09-12 12:21:58 +08:00
jxxghp
2d6027e393 fix(agent): verify steering boundary in evaluation 2026-09-12 02:36:59 +08:00
jxxghp
d21bd2981b feat(agent): add image viewing tool 2026-09-11 23:17:36 +08:00
jxxghp
8170eadf62 feat(agent): validate delegated read-only subtasks 2026-09-11 21:58:30 +08:00
jxxghp
643efea1aa fix(agent): preserve WebAgent event timeline 2026-09-11 16:44:05 +08:00
jxxghp
ed6439bf2e fix(architecture): close mypy ratchet regressions 2026-09-11 15:24:46 +08:00
jxxghp
6fe5bb42c2 fix(agent): preserve queued messages and long context 2026-09-11 14:27:27 +08:00
jxxghp
5d3663b42d fix(agent): raise summary trim budget 2026-09-11 11:56:21 +08:00
jxxghp
0f8aa4dfa9 fix(agent): return operation input contracts on errors 2026-09-11 08:07:54 +08:00
jxxghp
f5bc72ff44 fix(agent): load split skill docs through read_skill 2026-09-11 07:50:18 +08:00
jxxghp
a2f40ceecc refactor(agent): expose split skill files in evaluation 2026-09-11 07:03:12 +08:00
jxxghp
74db54f067 refactor(agent): keep one general subagent profile 2026-09-11 06:48:00 +08:00
jxxghp
00150bb87f refactor(agent): default delegation to general subagent 2026-09-11 06:09:04 +08:00
jxxghp
abd3cea92b feat(agent): queue steering input during active runs 2026-09-11 05:17:37 +08:00
jxxghp
66d288ffc2 feat(agent): isolate terminal task ownership 2026-09-11 03:12:16 +08:00
jxxghp
21e154d6d2 feat(agent): deliver browser screenshots as model-visible images 2026-09-10 02:17:01 +08:00
jxxghp
deff3795b4 fix(agent): enforce read-only subagent tool actions 2026-09-09 21:03:48 +08:00
jxxghp
5fa5b414aa feat(agent): harden tool outcomes, recovery and discovery 2026-09-09 19:55:21 +08:00
jxxghp
c0ed78e168 feat(agent): strengthen planning, tool discovery and recovery 2026-09-09 19:37:11 +08:00
jxxghp
c20515971a fix: restore multi-exception syntax 2026-09-02 20:22:57 +08:00
jxxghp
b6fa21e9e0 fix(agent): honor verbose mode for middleware tools 2026-09-01 12:19:15 +08:00
jxxghp
d512f528be refactor(api): make collection pagination explicit 2026-09-01 09:13:56 +08:00
jxxghp
6d4d7331d1 refactor: complete agent skill API contracts 2026-09-01 01:19:45 +08:00
jxxghp
ec1a878a32 fix(agent): auto-load gateway skill before API calls 2026-08-31 18:42:25 +08:00
jxxghp
fdba2c7d64 refactor(agent): unify tools behind API gateway and provider skills 2026-08-31 16:57:54 +08:00
jxxghp
0c05956814 refactor(architecture): enforce module naming policy 2026-08-29 22:17:17 +08:00
jxxghp
939e4c1cdc refactor: own agent activity tasks 2026-08-24 00:32:16 +08:00
InfinityPacer
f64030a074 fix(imports): use concrete modules for internal symbols (#6427) 2026-08-23 21:28:37 +08:00
jxxghp
7f09927c47 refactor: own shutdown lifecycle boundaries 2026-08-23 20:20:26 +08:00
jxxghp
63184a49c5 fix(ci): use canonical imports in changed files 2026-08-22 13:35:57 +08:00
jxxghp
7bc5e01afd refactor: expand async and type safety gates 2026-08-22 13:21:52 +08:00
InfinityPacer
ed3c0541c7 fix(agent): 收敛超时与取消后的副作用生命周期 (#6388) 2026-08-22 12:11:15 +08:00