ssw
bfd9e43e6a
fix(gates): T9 — AppContext 字段映射修正, K gate 子命令接入, designResources 落地校验
1. buildContextSummary 字段名映射修复 (实 AppContext schema):
- full.currentSystemId → summary.systemId (不是 full.systemId)
- full.currentUser → summary.user (不是 full.user)
- tokenStatus union: 'valid' | 'expired' | 'unknown' (不是 'ok')
- resourceCounts 从 releasedForms/unreleasedForms/modifiedAfterPublishForms/workflowList/menus/existingTables 派生
2. wire dacli gate k 子命令 (CLI 最小接入, 走 checkKCheckpoint)
3. _checkpoint_k.ts 实际使用 designResources: phase=summary 校验
summaryResources ⊇ designResources (design→delivery 一致性)
4. 加 4 新单测: 真实 AppContext literal / currentUser undefined / designed but not delivered / 全交付
2026-07-28 20:38:13 +08:00
..
2026-07-17 11:46:07 +08:00
2026-07-17 11:49:25 +08:00
2026-07-24 09:47:46 +08:00
2026-07-27 12:49:44 +08:00
2026-07-28 16:51:44 +08:00
2026-07-28 20:38:13 +08:00
2026-07-02 20:14:40 +08:00