Skip to content

Commit 76fa355

Browse files
docs(protocol): drop the phantom configSchema manifest file-map row from plugin-spec (#13697)
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>
1 parent a7fb23c commit 76fa355

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

content/docs/protocol/kernel/plugin-spec.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@ export default definePlugin({
9696
translations: [
9797
'i18n/**/*.json',
9898
],
99-
100-
// Configuration schema
101-
configSchema: 'src/config.schema.ts',
10299
},
103100

104101
// NOTE: there is no `lifecycle` file-map. Earlier revisions of this page

0 commit comments

Comments
 (0)