Commit 1b3e136
committed
fix(spec): align config-schema.json object
`packages/spec/config-schema.json` declared the object-level `ownership`
property as `enum ["own", "shared"]`. That matched neither vocabulary in the
package: the record-ownership model is `user | business_unit | org | none`
(`packages/spec/src/data/object.zod.ts`, post-#7260), and the package
*contribution* kind is own/extend/overlay and lives on the registry's
contributor record, not on the object schema. `["own","shared"]` was a stale
third spelling with no acceptance face behind it.
This artifact is hand-written authoring guidance served to config authors as
IDE autocomplete/validation, so the entry actively steered an author toward
`ownership: "shared"` — a value no schema in the package accepts (#3244
confusion class: same key name, different vocabularies, adjacent surfaces).
Aligns the enum to the acceptance face and adopts its `.describe()` text,
whose closing sentence carries the own/extend disambiguation that caused the
drift. The acceptance face itself is untouched — `object.zod.ts` is
byte-identical to `origin/main`.
Fixes #7286ownership with the record-ownership vocabulary1 parent 07383fe commit 1b3e136
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
| 69 | + | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments