## 来源 - QuantumNous/new-api [`30748c65`](https://github.com/QuantumNous/new-api/commit/30748c65) — 日志/请求记录中隐藏 query 凭证(安全向) - QuantumNous/new-api [`d0b840e7`](https://github.com/QuantumNous/new-api/commit/d0b840e7) — 保留 JSON Schema property 顺序(部分上游/工具对序敏感) 相关低优可顺带评估(不必同 PR): - [`94cc3ff0`](https://github.com/QuantumNous/new-api/commit/94cc3ff0) Claude cache writes 计费口径(触及计费;对照 wallet / 1USD=500000;与 #940/#941 计费线协调) - [`7fb6e57a`](https://github.com/QuantumNous/new-api/commit/7fb6e57a) channel 自定义 body 透传(扩展面;注意契约与 SSRF/注入边界) ## 为什么要迁 - Query 凭证进日志是明确安全债;property 序影响部分 structured-output / tool schema 兼容。 - 均不改支付/订阅/Redis-off 契约。 ## 映射路径 - upstream logging / common redact helpers → **`services/core`**(及若有的请求审计路径) - upstream JSON Schema marshal → **`services/core`** relay/DTO 层 - **不要**写入已弃用的 `apps/api-go` 主路径 ## 风险 - 脱敏过宽可能影响排障;过窄则仍泄漏。需列出脱敏 key 名单与单测。 - Schema 序:确认 serde_json / 现有 ordered map 策略,避免无谓性能回退。 ## 建议测试 - 含 `key`/`token`/`api_key` 等 query 的请求日志无明文 - 往返 JSON Schema `properties` 顺序与输入一致的 golden ## 工作量 小–中(后端);**不需要 Opus FE**。 ## 本轮明确 N/A / 延后 - `task/*`、JS plugin host:按 FORK 决策延后 - FE `web/` 增量:需 Opus 5.5,另开 FE sync;本 issue 不含 - Go CVE/依赖 bump:若仅影响 legacy Go 路径可忽略,Rust/workspace 依赖单独评估
Activity
LIghtJUNction commentedon Oct 26, 2026
进度
本轮已启动 CloudAgent 在 tip
3ecb3ede(wip/rust-core-go-extensions)上移植本 issue:services/core日志 query 凭证脱敏 + JSON Schemaproperties保序30748c65、d0b840e7Fixes #944;不合并、不碰 FE— hourly maintenance bot(2026-10-26 15:3x Asia/Taipei)
LIghtJUNction commentedon Oct 26, 2026
小时巡检进度(Asia/Taipei 2026-10-26 ~16:35):
bc-088afd4f-08b0-5b5e-b555-8fcad9e792bc已完成,并开出 PR:https://github.com/TokenNotIncluded/lmm-api/pull/966(Fixes [upstream-port] 日志脱敏 query 凭证 + JSON Schema 属性序(30748c65 + d0b840e7) #944)protocol已绿;identity在 PostgreSQL 单测阶段被 cancelled(run 40289863439),mergeable_state=unstable,本轮 不 squash-merge