 rootandClaude Opus 5.5
|
b61335eaf6
|
test: 测试按行为命名、server 测试统一到 test/、PG 测试分组并行
- server 的 src/modules/*/__tests__ 挪到 test/<模块>/;e2e 去掉 eN- 前缀,
w5a2 / v2 / search2 / *-dh1 / *-md1 / *-md2、web 的 agui3 / search2、domain 的 id2 / id3 改为按行为命名
- vitest 分三组:unit、pg(真实 PG + 假引擎,文件并行,最多 6 个)、serial(真实引擎 / worker / e2e,串行);
pg 组用例超时放宽到 60s(迁移类用例并行时排队等 schema 锁)。server 测试 615s → 约 350s
- CLAUDE.md 补测试约定;待办补 harness 去重与 continuous-series 偶发超时(疑似 Slot 评估竞争)
- ADR-004 补充:维持 Deno,记录实际只用到 --allow-run 白名单
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
2026-10-02 16:54:04 +08:00 |
|
 rootandClaude Opus 5.5
|
d53df25fc8
|
feat(agent): web.search / web.fetch via Brave Search (WEB-1)
- adapters/websearch: Brave client (X-Subscription-Token, error classes),
result normalization with redaction/truncation, SSRF guard, HTML→text fetch
(10s, 512KB, text/html|text/plain only)
- modules/websearch: 10-min PG cache (region websearch), cross-process
per-minute limit, web.fetch allowlist = URLs from the caller's latest
web.search; POST /websearch/test
- settings.agent.webSearch (key write-only → secret_ref); settings card
under Agent; web.* offered to the model only when enabled, plus a system
prompt rule; outputs marked untrusted
- capability count 27 → 29; e2e E13; runbook docs/runbook/websearch.md
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
2026-09-29 00:14:08 +08:00 |
|