Add managed scope to authoritative SettingDesc TS mirror #32

Merged
weichen merged 1 commits from fix/settingdesc-managed-scope into main 2026-10-13 06:54:12 +00:00
Owner

P2 修复:Dev 组合构建经 make contracts 从 Core ts/types.ts 重新生成 frontend/ui 的 contracts.ts——受管 scope 字段此前只落在 frontend 镜像(Frontend #78),构建时被权威源覆盖丢失(Dev CI TS2339)。本提交把 scope?: 'system' 加到权威 TS 镜像,与已合入的 Go 契约(Core #30 的 SettingDesc.Scope)对齐。

Why: 契约权威源单一化,镜像不能先行。
Evidence: go test ./... 全绿;生成链路由 Dev 组合 CI 验证(随 Dev pin bump)。
Impact: ts/types.ts 加可选字段。

P2 修复:Dev 组合构建经 make contracts 从 Core ts/types.ts 重新生成 frontend/ui 的 contracts.ts——受管 scope 字段此前只落在 frontend 镜像(Frontend #78),构建时被权威源覆盖丢失(Dev CI TS2339)。本提交把 scope?: 'system' 加到权威 TS 镜像,与已合入的 Go 契约(Core #30 的 SettingDesc.Scope)对齐。 Why: 契约权威源单一化,镜像不能先行。 Evidence: go test ./... 全绿;生成链路由 Dev 组合 CI 验证(随 Dev pin bump)。 Impact: ts/types.ts 加可选字段。
weichen added 1 commit 2026-10-13 06:53:57 +00:00
Why: Dev 组合构建经 make contracts 从 Core ts/types.ts 重新生成 frontend/ui 的 contracts.ts——受管 scope 字段此前只改了 frontend 镜像,构建时被权威源覆盖丢失(TS2339)。
Evidence: go test ./... 全绿;生成链路验证随 Dev 组合 CI。
Impact: 权威 TS 类型加可选字段;Go 契约(SettingDesc.Scope)此前已随 Core #30 合入,两侧对齐。
weichen merged commit 5773e74086 into main 2026-10-13 06:54:12 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Core#32