Commit c8e5ac6
* feat(cli)!: retire `os create example`; the refusal names `os init` (#16483)
The `example` template emitted a subset of what `os init` writes plus one
README, the only template-level duplication #15531 found between the two
scaffolder families. Removed under the #15531 ruling (batch #66, option B)
with no alias and no deprecation window.
The template is not merely deleted: `os create example` still answers, exits
1 and names `os init`, rather than falling through to `Unknown type:` and
printing only the surviving roster.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YFY46JydE1gMxQG1TqBcMZ
* docs(cli): make the retirement's citations match what is verifiable (#16483)
Contract review on PR #16665, findings F1-F4.
F1 — the "no alias, no deprecation window" ruling could not be located by the
review: not in #15531's comments, not in ledger #12708 (whose earliest comment
postdates the attributed date), not in the tree. The removal itself IS verified
by the #15531 batch #66 entry, so create.ts and the e2e header now cite that and
record the alias/window terms as recorded on card #16483, pending maintainer
confirmation. The runtime message is deliberately unchanged: it describes what
the code does, which is true whoever ruled it.
F2 — `os init` does NOT write "the same objectstack.config.ts". The audit this
card cites measures tsconfig.json byte-identical and the two manifests
DIFFERENT (both ManifestSchema-valid). Runtime message and changeset now say
"the same tsconfig.json and an equivalent objectstack.config.ts", and the
changeset states the difference.
F3 — `-t empty` writes five files and runs the install, so "objectstack.config.ts
only" was wrong in the runtime message, the changeset and the doc callout this
PR added. All three now read "config only, no src/objects".
F4 — the changeset said the e2e file holds the doc pages (the docs pin is the
separate queue-tier file) and that `--in-repo` is unchanged (its examples/
placement goes with the template). Both corrected.
F5 is deliberately NOT acted on here: SCAFFOLD_TSX_RANGE stays, init.ts is held
by #16654.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YFY46JydE1gMxQG1TqBcMZ
---------
Co-authored-by: os-sales <sales@objectstack.ai>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent fc0a783 commit c8e5ac6
11 files changed
Lines changed: 601 additions & 164 deletions
File tree
- .changeset
- content/docs/deployment
- packages/cli
- src/commands
- test
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1241 | 1241 | | |
1242 | 1242 | | |
1243 | 1243 | | |
1244 | | - | |
| 1244 | + | |
1245 | 1245 | | |
1246 | 1246 | | |
1247 | 1247 | | |
| |||
1314 | 1314 | | |
1315 | 1315 | | |
1316 | 1316 | | |
1317 | | - | |
| 1317 | + | |
1318 | 1318 | | |
1319 | | - | |
| 1319 | + | |
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
1323 | | - | |
1324 | 1323 | | |
1325 | 1324 | | |
1326 | 1325 | | |
1327 | 1326 | | |
1328 | 1327 | | |
1329 | 1328 | | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
1330 | 1342 | | |
1331 | 1343 | | |
1332 | 1344 | | |
| |||
1335 | 1347 | | |
1336 | 1348 | | |
1337 | 1349 | | |
1338 | | - | |
1339 | | - | |
1340 | | - | |
| 1350 | + | |
| 1351 | + | |
1341 | 1352 | | |
1342 | 1353 | | |
1343 | 1354 | | |
| |||
0 commit comments