Commit b8b8a21
committed
site: a first user hit a throwing stub, a source tree, and three wrong numbers
Four things, all found by walking the pages as a first-time reader.
**Getting started stalled at step 6.** The page went from `meta gen` straight to
"import the generated code and listen on 3000" — but `meta init` scaffolds
`src/db.ts` as a THROWING stub (it will not choose between better-sqlite3,
@libsql/client, pg and postgres.js on your behalf), so following the page start
to finish gives you a server that throws on the first request. There is now a
step 6, "Wire your database", between Generate and Use; the old 6 and 7 shift to
7 and 8. Its driver example is lifted from `DB_STUB_BODY` in the CLI's
`init.ts` rather than written from memory, as this repo's AGENTS.md requires.
**And it never said to install.** `meta init` DECLARES the packages the
scaffolded generators and the generated code import — into devDependencies and
dependencies — and then deliberately runs no package manager; its own warning
says "Run your package manager's install before `meta gen`", twice. The page
never repeated that, so the first `meta gen` reports TS2307 on files that are
perfectly correct. `npm install` is now the third line of step 1.
**The quickstart cards pointed at GitHub directory listings** — five languages,
five file trees to read past. Each now points at that port's guide under
`docs/ports/`, which opens Install → Configure → Generate → Use. The two client
cards land on `typescript-client.md` at their own anchors. All six verified 200.
**Three counts were wrong**, and the scaffold tree contradicted itself: it
announced "seven skills" directly above a list of six. Six is right —
`metaobjects-fit-assessment` carries `scaffold: false` because it is a
PRE-adoption tool. Corpus fixtures 253 → 313 and corpora 19 → 21 (both measured
upstream, see metaobjects 5f20e905d); base types 13 → 14, counted from
`expected-registry.json`.
Also: `requirements.html` opened with the sentence the homepage section linking
to it had just delivered, near-verbatim — "the columns are there, the types line
up, the tests pass — and no code path ever writes the value." Clicking "How
capability requirements work →" landed you on what you had just read. It now
opens a beat later, on why a test suite structurally cannot catch this: a test
exercises code that exists, so the absence has no address. (`story.html` was
checked for the same defect and does NOT have it — it shares the homepage's
heading, which is the link's promise, but its first paragraph is a different
beat. Left alone.)
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTcEKXTQMYt84fAjuw5A2M1 parent 66f9cfe commit b8b8a21
3 files changed
Lines changed: 48 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
| |||
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
95 | | - | |
| 101 | + | |
96 | 102 | | |
97 | 103 | | |
98 | 104 | | |
| |||
239 | 245 | | |
240 | 246 | | |
241 | 247 | | |
242 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
243 | 271 | | |
244 | 272 | | |
245 | 273 | | |
| |||
255 | 283 | | |
256 | 284 | | |
257 | 285 | | |
258 | | - | |
| 286 | + | |
259 | 287 | | |
260 | 288 | | |
261 | 289 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
| 443 | + | |
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
481 | | - | |
| 481 | + | |
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
485 | | - | |
| 485 | + | |
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
489 | | - | |
| 489 | + | |
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
| 493 | + | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| |||
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
503 | | - | |
| 503 | + | |
504 | 504 | | |
505 | 505 | | |
506 | 506 | | |
507 | | - | |
| 507 | + | |
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
| |||
0 commit comments