Found while executing #11982 / #12587 (the ADR-0049 PluginMetadata retirements). Filed unassigned as a finding, not fixed there — the file is outside both cards' ruled scope and declared file surface.
packages/core/REFACTORING_SUMMARY.md is a historical refactoring record. Its section 5 ("Configuration Validation") states:
- "Integrated
PluginConfigValidator (Zod-based) into PluginLoader." - "
validatePluginConfig now performs actual schema validation against plugin.configSchema."
The second sentence was false when written — #11982 measured that the loader's only call site passed no config, so the early return always fired and no validation ever ran. And after the 2026-08-27 ruling (Option B on both cards, recorded in ADR-0025 section 3.7), both sentences name a mechanism that no longer exists: PluginConfigValidator, createPluginConfigValidator and PluginMetadata.configSchema are retired.
Why it is worth a card rather than a shrug: it is the same misleading-docs shape the #11982 ruling explicitly killed in ADVANCED_FEATURES.md ("Config is validated before init is called") — a doc sentence promising a validation capability the runtime does not deliver, exactly what an AI author reading packages/core docs would take as proof the capability exists.
Decision for triage, not prejudged:
- delete section 5 (the rest of the file describes refactorings that still exist), or
- annotate the file as a superseded historical record, or
- retire the whole file if per-refactoring summaries are not meant to outlive their subject.
Related: #11982, #12587 (the retirement PR carries the code-side removals), ADR-0025 section 3.7 (the retirement record).
Generated by Claude Code
Found while executing #11982 / #12587 (the ADR-0049
PluginMetadataretirements). Filed unassigned as a finding, not fixed there — the file is outside both cards' ruled scope and declared file surface.packages/core/REFACTORING_SUMMARY.mdis a historical refactoring record. Its section 5 ("Configuration Validation") states:PluginConfigValidator(Zod-based) intoPluginLoader."validatePluginConfignow performs actual schema validation againstplugin.configSchema."The second sentence was false when written — #11982 measured that the loader's only call site passed no config, so the early return always fired and no validation ever ran. And after the 2026-08-27 ruling (Option B on both cards, recorded in ADR-0025 section 3.7), both sentences name a mechanism that no longer exists:
PluginConfigValidator,createPluginConfigValidatorandPluginMetadata.configSchemaare retired.Why it is worth a card rather than a shrug: it is the same misleading-docs shape the #11982 ruling explicitly killed in
ADVANCED_FEATURES.md("Config is validated before init is called") — a doc sentence promising a validation capability the runtime does not deliver, exactly what an AI author readingpackages/coredocs would take as proof the capability exists.Decision for triage, not prejudged:
Related: #11982, #12587 (the retirement PR carries the code-side removals), ADR-0025 section 3.7 (the retirement record).
Generated by Claude Code