Commit be53c60
fix(cli): drop stale
The `os init` scaffold emitted `ownership: 'own'` on the starter object
in both the `app` and `plugin` templates. `ownership` is no longer a
valid ObjectSchema field — it's removed from ObjectSchemaBase, and
`ObjectSchema.create()` now rejects unknown top-level keys (ADR-0032 /
#1535). A user copying the scaffolded object into `ObjectSchema.create({...})`
would hit a validation error; the plain-literal form merely hid the
problem while teaching a dead field.
Remove the key from both templates. Rest of the scaffold output is
unchanged; init.test.ts (28 tests) passes and end-to-end render of both
templates confirms no `ownership` remains.
Surfaced during the docs audit in #1866 (getting-started/quick-start.mdx).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>ownership key from init scaffold object template1 parent bca06f3 commit be53c60
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | 153 | | |
155 | 154 | | |
156 | 155 | | |
| |||
223 | 222 | | |
224 | 223 | | |
225 | 224 | | |
226 | | - | |
227 | 225 | | |
228 | 226 | | |
229 | 227 | | |
| |||
0 commit comments