From 5c9573de7dfcdadb3d57680e9576e03cdae04f30 Mon Sep 17 00:00:00 2001 From: randypanding Date: Tue, 1 Sep 2026 13:21:14 +0000 Subject: [PATCH 1/2] =?UTF-8?q?policy:=20Shorts=5FDirector=20entities=20?= =?UTF-8?q?=E5=A5=91=E7=BA=A6=E5=A3=B0=E6=98=8E=E6=94=B6=E7=AA=84=E4=B8=BA?= =?UTF-8?q?=E6=98=BE=E5=BC=8F=E6=9E=9A=E4=B8=BE=EF=BC=88ADR-0105=EF=BC=8CI?= =?UTF-8?q?R-0007=20=E5=A5=91=E7=BA=A6=E9=80=80=E5=BD=B9=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- governance/policy/contracts.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/governance/policy/contracts.yaml b/governance/policy/contracts.yaml index 0403ed7..fba676f 100644 --- a/governance/policy/contracts.yaml +++ b/governance/policy/contracts.yaml @@ -40,9 +40,20 @@ repos: # 迁移 destructive DDL 判定(ADR-0038) Shorts_Director: + # ADR-0105(IR-0007 契约退役,archive/adr):entities 声明由 glob 收窄为 + # 显式枚举——契约门引擎对声明路径下的文件删除(CONTRACT_REMOVED)无条件红 + # 且无 ADR 豁免通道,合法退役的唯一通道即同步收窄本声明(引擎注释认可)。 + # 代价(有意接受):新增实体 schema 不再被 glob 自动纳管,须在此登记一行; + # 漏登由 review + archive/adr/INDEX.yaml 追溯。 contracts: - {kind: jsonschema, path: "schema/contracts/**"} - - {kind: jsonschema, path: "schema/entities/**"} + - {kind: jsonschema, path: "schema/entities/asset.schema.json"} + - {kind: jsonschema, path: "schema/entities/brand_kernel.schema.json"} + - {kind: jsonschema, path: "schema/entities/event.schema.json"} + - {kind: jsonschema, path: "schema/entities/production_order.schema.json"} + - {kind: jsonschema, path: "schema/entities/qc_assertion.schema.json"} + - {kind: jsonschema, path: "schema/entities/shot.schema.json"} + - {kind: jsonschema, path: "schema/entities/video_plan.schema.json"} - {kind: jsonschema, path: "schema/common/**"} migrations: null From 5ff1cd0e27e29e55d30386ca763ec001fd98c4bd Mon Sep 17 00:00:00 2001 From: randypanding Date: Tue, 1 Sep 2026 13:26:37 +0000 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20retrigger=EF=BC=88ADR-0105=20?= =?UTF-8?q?=E5=B7=B2=E8=90=BD=20archive=20main=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit