Commit 76fa355
docs(protocol): drop the phantom
The `objectstack.config.ts` example on content/docs/protocol/kernel/plugin-spec.mdx
carried a `configSchema: 'src/config.schema.ts'` row at the tail of its `metadata:`
file-map. `packages/spec/src/kernel/manifest.zod.ts` declares no such key -- and
because `ManifestSchema` is not `.strict()`, an author who copies the example gets
no error at all: the key is silently stripped and the file is never loaded.
Only the manifest file-map row is removed. The page's "Configuration Schema"
section and best-practice 4 (`configSchema.parse(this.options)` in `init`) describe
the plugin-owned self-parse pattern, which is real and is untouched -- the same
identifier means two different things on this page.
Claude-Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC
Co-authored-by: Claude <noreply@anthropic.com>configSchema manifest file-map row from plugin-spec (#13697)1 parent a7fb23c commit 76fa355
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | 99 | | |
103 | 100 | | |
104 | 101 | | |
| |||
0 commit comments