refactor(spec)!: remove the Dev Mode Plugin Protocol family — declared, never implemented, taught the retired stub design (#4149) - #4155
Merged
Conversation
…d, never implemented, taught the retired stub design (#4149) DevPluginConfigSchema, DevServiceOverrideSchema, DevFixtureConfigSchema, DevToolsConfigSchema and DevPluginPreset leave @objectstack/spec/kernel outright. Zero consumers (plugin-dev reads its own DevPluginOptions and never imported them; only the generated artifacts and the family's own shape test referenced them), no load path parsed them (stack.devPlugins takes ManifestSchema | string, not this config), and the strategy:'stub' vocabulary recommended exactly the design ADR-0115 retired. Deliberately NO tombstone and NO ADR-0087 conversion: a prescription nobody can receive is noise, and there is no authored source for os migrate meta to rewrite — the DynamicLoadingConfig precedent (#3950). Baselines dropped in the same PR: json-schema.manifest.json minus five kernel/Dev* entries, authorable-surface.json minus 22 kernel/Dev* lines, api-surface.json regenerated, the generated reference page removed by gen:docs, and the v17 dead-clusters table extended. No liveness-ledger entries existed. Verified: spec build green, all eleven spec gates PASS (liveness, empty-state, authorable-surface, docs, api-surface, spec-changes, upgrade-guide, skill-refs, skill-docs, skill-examples, react-blocks), spec tests 7072/7072. check:i18n fails identically on an untouched checkout (extract tooling unavailable in this environment) — not caused here; CI carries the real gate. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BEM82RNKyyyTNPYHK1VJJS
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Contributor
📓 Docs Drift CheckThis PR changes 1 package(s): 106 hand-written doc(s) reference the affected code and may need an implementation-accuracy re-verification:
|
os-zhuang
marked this pull request as ready for review
July 30, 2026 13:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4149。按 ADR-0049 enforce-or-remove 执行,remove 路线,遵循
spec-property-retirementplaybook。删什么、为什么
DevPluginConfigSchema/DevServiceOverrideSchema/DevFixtureConfigSchema/DevToolsConfigSchema/DevPluginPreset整族从@objectstack/spec/kernel移除:plugin-dev读自己的DevPluginOptions,从未 import 这族;仓库内仅生成物与其自身 shape 测试引用。stack.devPlugins键存在,但接受ManifestSchema | string(插件清单/名字),与这族 config 无关,家族仍是彻底孤儿。strategy: 'stub'教的正是 ADR-0115 刚退役的填槽设计。路线选择(playbook §2 第三叉)
刻意不做 tombstone、不做 ADR-0087 conversion:无人能收到 prescription(没有任何地方可以 author 这些键),也没有可供
os migrate meta改写的源 ——DynamicLoadingConfig先例(#3950)。基线在同一 PR 内果断删除:json-schema.manifest.json减五个kernel/Dev*条目(manifest ratchet 的指定动作);authorable-surface.json减 22 行kernel/Dev*(无人能 author → 无[RETIRED]标记,gate (a) 同 PR 刻意消行);api-surface.json重生成(五个导出离开公共面);gen:docs移除(references/kernel/dev-plugin.mdx+ index/meta 同步);FeatureFlagSchema同型先例);DevPluginOptions");RC pre-mode 下major豁免 no-major guard。验证
check:i18n在本环境对未改动的 checkout 同样失败(extract 工具链不可用),与本 PR 无关 —— 以 CI 为准。🤖 Generated with Claude Code
https://claude.ai/code/session_01BEM82RNKyyyTNPYHK1VJJS
Generated by Claude Code