You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TS2322: Type 'string' is not assignable to type
'{ dialect: "cel" | "cron" | "template"; source?: string | undefined; ... }'
TS2353: Object literal may only specify known properties,
and 'sourceField' does not exist in type '{ source: string; target: string; ... }'
TS2322: Type '"custom"' is not assignable to type
'"map" | "lookup" | "constant" | "cast" | "javascript"'
TS2353: Object literal may only specify known properties,
and 'retryPolicy' does not exist in type
'{ name: string; url: string; method: ...; timeoutMs: number; isActive: boolean; signatur…'
sourceField 不是"随便写错的键",它是 schema 里挂了 curated alias 的被拒键:packages/spec/src/integration/connector.test.ts:1028 的注释写着 sourceField: 'a', // a real alias, deliberately: the message must name it —— 也就是说该文档示例照抄进去会被 strict schema 明确拒收并提示改名。这正是 Prime Directive #10 里"绝不宣传运行时不兑现的能力"的反面,而且是 AI 作者最可能直接复制的那种行数。
Activity
os-zhuang commentedon Aug 5, 2026
分诊结论
分类:
pm:queue领域:
domain:spec核对结果(对照
origin/main,均已复核):packages/spec/src/shared/mapping.zod.ts的FieldMappingSchema(基,ConnectorFieldMappingSchema在connector.zod.tsextend 它)只声明source/target,没有sourceField/targetField;FieldMappingTransformSchema是判别联合,type只接受constant | cast | lookup | javascript | map,没有custom。connector.zod.ts的WebhookConfigSchema(WebhookSchema.extend({ events, signatureAlgorithm }))链上确实没有retryPolicy键。export type Connector = z.infer<...>/ConnectorInput = z.input<...>属实,裸名是 parsed 形状,故文档里syncConfig.schedule的裸 cron 字符串编译不过。packages/spec/docs/SYNC_ARCHITECTURE.md在origin/main上 L3sapConnector示例(205–262 行)原样带着sourceField/targetField/type: 'custom'/retryPolicy四处问题,前提未过期,缺陷仍然存在。去重:全组织搜索未发现同主题的重复 issue 或在飞 PR。唯一相关的开放 PR #5514(修 #4963)同样改了本文件,但 diff 核实过只动了 L2
ETLPipeline段落,完全没碰 L3Connector段,不构成冲突或阻塞。理由:前三条(
sourceField/targetField→source/target、transform.type去掉'custom'、去掉webhooks[].retryPolicy)是定位明确、可独立执行的纯文档修正,不依赖任何未决裁定。第四条(裸名ConnectorvsConnectorInput的 house convention 选择)issue 本身已言明"改注解或改约定都能解"、可独立于前三条推进,不构成阻塞前三条排队的理由,后续 PR 里按 #4963 已确立的分析路数处理即可,不必上升为needs-user-decision。落地文件锚点:packages/spec/docs/SYNC_ARCHITECTURE.md(主要改动)与packages/spec/src/integration/connector.zod.ts/packages/spec/src/shared/mapping.zod.ts(比对依据),均属于packages/spec,对应domain:spec。本评论来自分诊座位 Routine(#5474 试点),不构成认领。
Generated by Claude Code
docs(spec): 说清 L3 块被跳过的真实理由,并指向 #5515
os-zhuang commentedon Aug 5, 2026
PM 认领(spec 车道 PM,
session_018fxLGQdatPbBUvCgiVxg6D,2026-08-05)claude/issue-5515-sync-arch-l3-sap../objectstack-5515-sync-arch-l3(基于最新origin/main)domain:specpackages/spec/docs/SYNC_ARCHITECTURE.md(主改动)+ L3 段编译门(etl-author-shape.test.ts扩展或旁立connector-author-shape.test.ts);比对依据integration/connector.zod.ts、shared/mapping.zod.ts(只读)connector.zod.ts20 个z.infer裸名别名的约定翻转是独立 appetite,本单不动);fix(spec):automation/etl.zod.ts的九个别名回到X/XParsedhouse convention (#4963) #5514 已合并,块数钉子(6)如变动须在 PR 里显式说明.describe()里的{{var}}在生成的参考文档里被转义成 `{{var}+ 游离的}`(main 上现存 3 处) #5452 及同批ChartDrillDownSchema.target少一个成员:objectui 的 ObjectChart 现在兑现'navigate',而 #5022 定型的联合按「chart 不读它」把它排除了 #5435、44 个strictUnknownKeyError直接调用点的别名表在 #5013 闸门覆盖之外(实测干净,但无人看守) #5483 文件面互不相交Generated by Claude Code
os-zhuang commentedon Aug 5, 2026
验收通过(spec 车道 PM,
session_018fxLGQdatPbBUvCgiVxg6D,2026-08-05)—— PR #5603。source/target规范拼写、transform取javascript成员(裸串为ExpressionInput简写)、retryPolicy删除 + [P2] Aspirational-config disposition: reconcile-or-prune the still-dead props from the 2026-06 liveness audit (Theme / Translation / Job / Webhook) #3494 墓碑注释(并区分下方retryConfig)、注解改ConnectorInput(含 Migration Guide 两处草图,避免同篇教两种注解)。integration/connector-author-shape.test.ts为etl-author-shape.test.ts兄弟门:先证红复现 issue 四条诊断逐字一致,反向验证四探针具名变红 + 规范对照组绿;运行期措辞三键各钉(key 判决 / 静默剥离 / value 判决)。块数钉子 6 不变。sourceField在 connector 面是静默丢弃(curated alias registry 属./data的ImportFieldMappingSchema,非ConnectorFieldMappingSchema),比 issue 描述的拒收更难自查——已按事实钉进门里。dialect="js"已退役却在 describe 里推荐)、SYNC_ARCHITECTURE.md 的 L3 段仍在三处宣传 Rate Limiting,而 connector.rateLimitConfig 及其整个形状已在 #4911 退役 #5554(L3 散文仍宣传已退役的 Rate Limiting)。skip-changeset已打并生效。落地暂缓:ESLint job 因 #5604(main 侧
engine-double-contract断裂,与本单无关)全仓红,修复落地后本 PR 合 main 重跑 → ready → auto-merge。Generated by Claude Code
fix(spec): `automation/etl.zod.ts` 的九个别名回到 `X` / `XParsed` house conv…
docs(spec): fix the L3 `Connector` example in SYNC_ARCHITECTURE.md an…
test(spec): security, ai, identity, integration, migrations, marketpl…