Repository navigation
Commit 1e271aa
committed
fix(metadata-protocol): the save check anchors each package's row on that package's env-wide definition
The organization-scoped save check judges a view overlay against the
env-wide body of the row it is keyed by. That anchor is now resolved
per package, the way the list read resolves each package's item: the
package's own env-wide row, else the package-less env-wide row (which
stands in for every package), else that package's artifact. It no
longer falls back to one artifact per name, the first in registry
order, and one package's stored row no longer stands for every
package's artifact of the name.
The "never under-closes" wording on the withdrawal judgement's docblock
and on the public data collection page is narrowed to match what holds:
a withdrawal of a name may over-close across packages; both checks read
every package's env-wide definition, except that the anonymous form
endpoints read one package's expansion of each form name when several
packages' stored view containers expand it.
Pin: with the withdrawing package not first in registry order, a
package-less or package-bound org save that renames the form is
refused; another package's env-wide row anchors that package only;
controls: the save that keeps the form withdrawn saves, and a
package-less env-wide row stands in for every package.
Claude-Session: https://claude.ai/code/session_017ErfyP2Rx7XWHJA27QjyUi
Co-authored-by: Claude <noreply@anthropic.com>1 parent 114ed63 commit 1e271aa
5 files changed
Lines changed: 111 additions & 15 deletions
File tree
- .changeset
- content/docs/ui
- packages
- metadata-core/src
- metadata-protocol/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
326 | | - | |
327 | | - | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
328 | 333 | | |
329 | 334 | | |
330 | 335 | | |
| |||
Lines changed: 69 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1205 | 1205 | | |
1206 | 1206 | | |
1207 | 1207 | | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16070 | 16070 | | |
16071 | 16071 | | |
16072 | 16072 | | |
16073 | | - | |
| 16073 | + | |
| 16074 | + | |
| 16075 | + | |
16074 | 16076 | | |
16075 | 16077 | | |
16076 | 16078 | | |
| |||
16101 | 16103 | | |
16102 | 16104 | | |
16103 | 16105 | | |
16104 | | - | |
16105 | | - | |
16106 | | - | |
16107 | | - | |
| 16106 | + | |
| 16107 | + | |
| 16108 | + | |
| 16109 | + | |
| 16110 | + | |
| 16111 | + | |
| 16112 | + | |
| 16113 | + | |
| 16114 | + | |
16108 | 16115 | | |
16109 | 16116 | | |
16110 | 16117 | | |
| |||
16120 | 16127 | | |
16121 | 16128 | | |
16122 | 16129 | | |
16123 | | - | |
16124 | | - | |
16125 | | - | |
16126 | | - | |
16127 | | - | |
| 16130 | + | |
| 16131 | + | |
| 16132 | + | |
| 16133 | + | |
| 16134 | + | |
| 16135 | + | |
| 16136 | + | |
| 16137 | + | |
| 16138 | + | |
| 16139 | + | |
| 16140 | + | |
| 16141 | + | |
16128 | 16142 | | |
16129 | 16143 | | |
16130 | 16144 | | |
| |||
0 commit comments