Repository navigation
refactor(provider,agent-do,server-worker,bb): #434 删除 infra 部署默认逻辑——业务纯函数化,配置全显式,无隐式默认值 - #441
Merged
Merged
Conversation
Samuka007
added a commit
that referenced
this pull request
Oct 6, 2026
…ipal 真值链+打点 lint 模板化+回归测试 (#442)
…务纯函数化,配置全显式,无隐式默认值 owner 裁决(#434,吸收 #433):显式声明=唯一配置来源;缺配置=具名 fail-closed,绝不静默合成。逐点核销: ① provider-app catalog.ts:删 omp 合成行(synthesisFromHarness + SYNTHETIC_PROVIDER_ID)与声明缺行时的 wire-truth prepend——缺目录/ 坏目录=空 providers + decodeError 打点;defaultProviderId 收敛为 声明 defaultProvider(string|null),删 first-key 兜底 ② agent-do worker.ts(rig):MODEL_RELAY_MODEL 未设=具名错误(两处 ?? "glm-5.3" 兜底删) ③ server-worker threads.ts:删 ?? "omp" 哨兵——无显式选择走声明默认, 无声明默认=422 provider_default_undeclared(execution-selection validate 恒返回,RelaySelectionError 新增该码) ④ agent-do provider-catalog.ts:resolveRelaySelection 删 omp→default 哨兵映射,严格命中目录行;哨兵时代存量行=provider_unknown(⑧) ⑤ execution-options/projects defaults:空目录=空列表/null defaults ⑥ provider-configs.ts:删 seedProviderConfigRows——CRUD display face 只列 D1 用户行;wire 删 source 字段;seed id GET :id=404;omp reserved 守卫保留(哨兵时代 journal 不可复活);bb 半 PR cap/434-configured-user-rows-only(空态指针 Server 节)pin→4e13558d4 ⑦ relay-registry:keyless 行级 mock 降级删——providerFor 具名 credential 错误(部署通道 mock 保留,relayMode 如实投影) ⑧ 存量 omp 行/线程不迁移:严格命中下响亮 provider_unknown(L1 断言) ⑨ 全仓扫尾:agent-do ask interaction providerId 改由 turn journal execution 派生(无 journal="unknown"),不再常量写 omp 测试:合成/兜底断言全部改写为 fail-closed 断言(catalog/relay-registry/ provider-config/execution-options/projections/selection L1 全链);L1 rig 声明 rig 目录(受配置部署形态),unconfigured 面局部 unset;migrations- replay 探针行清场(type=local 泄漏使共享 worker 的 /hosts 500)。 Ref #434 (absorbs #433)
Samuka007
force-pushed
the
lane/433-bug-discover-models-deployment-seed-omp
branch
from
October 6, 2026 19:40
6c02d3a to
5b55974
Compare
Samuka007
added a commit
that referenced
this pull request
Oct 6, 2026
This was referenced Oct 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #434 (absorbs #433). Owner 裁决落地:显式声明=唯一配置来源,缺配置=具名 fail-closed,绝不静默合成。
逐点核销
decodeError打点;声明缺 running 行不再 prepend 假行;defaultProviderId收敛为声明defaultProvider(string | null),first-key 兜底删?? "glm-5.3"→ 具名错误?? "omp"哨兵删:无显式选择走声明默认;无声明默认 → 422provider_default_undeclared(RelaySelectionError 新码)provider_unknown(点⑧不迁移,响亮失败)nulldefaults(bb 存储缺省形态)seedProviderConfigRows删、wire 删source字段、seed id GET :id=404;omp reserved 守卫保留(哨兵时代 journal 不可复活);bb 半 PR:Samuka007/bbcap/434-configured-user-rows-only(空态指针 Server 节),本仓 pin→4e13558d4providerFor具名 credential 错误;部署通道 mock 保留(relayMode 如实投影)?? "omp"/?? "glm-5.3"代码兜底清零(声明/fixture 除外;HARNESS_DEFAULTS 为边界保留的部署通道声明)验收证据
system-execution-options/thread-execution-selection)@cap/agent-do582 例、@cap/provider-app、@cap/server-worker308 例本地全绿;typecheck 绿CI:双仓跑绿后关票由 PM 执行。