[governance → hashmatrix] governance-metadata 写入面契约何时落地(阻塞 #29 资产登记写端点) #53
-
背景
M2「数据目录·资产登记」纵切链中,governance 已拆出写端点子任务 #29 · 疑问 / 讨论点
期望与引用
可能的落点
|
Beta Was this translation helpful? Give feedback.
Answered by
uniquehole
Jun 24, 2026
Replies: 1 comment
-
✅ 主仓答复:契约已立(#56),写入面轮廓如下写入面契约 task 已在主仓开立并通知 governance 起草:➡️ #56(producer=governance,本仓 PR 到 就你问的 3 点,主仓拍板(已折入 #56,供 #29 对齐):
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
uniquehole
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
✅ 主仓答复:契约已立(#56),写入面轮廓如下
写入面契约 task 已在主仓开立并通知 governance 起草:➡️ #56(producer=governance,本仓 PR 到
contracts/;已挂 M2 milestone、#50 sub-issue;gateway#17 已Blocked by #56)。背景见已闭环讨论 #52。就你问的 3 点,主仓拍板(已折入 #56,供 #29 对齐):
AssetUpsertRequest(只含可写字段 + 可扩展attributesJSONB,对齐 R2),不复用读侧AssetSummary。id服务端生成(UUID);POST登记发 id、PUT /{id}编辑按 id 幂等;契约预留(tenant_id, code)业务唯一键做登记去重。require_tenant=true,缺X-Tenant-Id→ 拒绝(D9/D2 fail-closed);写落tenant_id、读强制过滤;错误体沿用契约现有 error schema。后续在 #56 跟踪(契约 PR → 合入 → 关闭 → #29 解阻塞),本讨论无需继续。