Commit 3e9a234
authored
site: getting-started now shows the generators are yours to own (#2)
* site: getting-started now shows the generators are yours to own
The scaffold tree and the metaobjects.config.ts example both described an
older, smaller `meta init` scaffold, and between them they silently
contradicted the codegen doctrine (FR-040): generated code is a starting
point adopters copy and own, not something the package hands down.
Scaffold tree: add `codegen/generators/` with its four owned copies
(entity, queries, routes, barrel) and the `src/db.ts` throwing stub, plus
a short paragraph making the ownership point explicit — `meta gen` runs
the local copies, not the package's.
Config example: show the real local import lines, which is the only thing
that tells a reader those four functions come from editable files in
their own repo, and keep enough of the scaffolded comment to carry that.
Adds the extStyle/dbImport/apiPrefix/docs keys the scaffold actually
writes, and drops the commented-out `formFile()` line — it is not part of
the scaffolded set. `meta eject` gets one mention in its place, since
that is the real way to take ownership of a generator init skips.
Also seeds AGENTS.md: llms.txt/llms-full.txt are generated and must not
be hand-edited here, these blocks mirror the CLI's init and drift
silently, and the hand-written gs-code spans need a render check.
The video transcript already stated the doctrine correctly and is
unchanged.
* docs(agents): state the llms.txt situation accurately
The note I added claimed deploy.yml already copies llms.txt/llms-full.txt
in from the monorepo's docs/llms/. It does not — deploy.yml generates
www/reference/ and nothing else. The copy is planned, not landed.
Say so plainly: they are still committed files today, but treat them as
read-only here, because hand-edits will be silently overwritten once the
copy lands. Also records www/reference/ as the one thing that IS
generated at deploy time today.
An agent-memory file that asserts things about its own repo that aren't
true is worse than no note at all.1 parent ba16a4b commit 3e9a234
3 files changed
Lines changed: 74 additions & 9 deletions
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
84 | 90 | | |
| 91 | + | |
85 | 92 | | |
86 | 93 | | |
87 | 94 | | |
| |||
91 | 98 | | |
92 | 99 | | |
93 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
94 | 105 | | |
95 | 106 | | |
96 | 107 | | |
| |||
138 | 149 | | |
139 | 150 | | |
140 | 151 | | |
141 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
142 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
143 | 165 | | |
144 | | - | |
145 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
146 | 171 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
152 | 176 | | |
| 177 | + | |
153 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
154 | 183 | | |
155 | 184 | | |
156 | 185 | | |
| |||
0 commit comments