Repository navigation
docs(agents): 明确插件 API 复用、升版限制与交付要求 - #2370
Merged
Merged
Conversation
xiaoyumuxi
marked this pull request as ready for review
November 23, 2026 21:00
This was referenced Nov 23, 2026
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.
关联 Issue / Linked issue
无(纯文档与 AI 规则)。
配套 Core 指南 PR(先合入):Lithe-IDEA/Lithe-core-rust#191
PR 类型 / Type
改动说明 / What changes
背景 / Why
为新插件补充公共 API 时,AI 需要明确区分领域扩展与版本变化,避免为工具特有需求升级系统 API,或遗漏日志定位、错误码查重和其他语言 SDK。
改动 / Changes
develop-lithe新增“API 复用与版本演进”:API-01–44 是允许持续扩展的领域;特有需求不得提升任何系统 API 版本,兼容的可选扩展继续沿用版本;已有 1、2 等版本保留并按用法选择最低值。AGENTS.md与create-lithe-plugin加载规则指针,后者链接 Core 正式指南;审查政策增加版本 diff、生产日志接线、错误码分配和四语支持的取证动作。不在本 PR 范围内 / Out of scope
无产品实现或版本号改动。插件开发指南和契约说明在配套 Core PR 维护,本仓库不保存副本。
类型专属:docs
develop-lithe,入口保留指针,创建与审查规则引用同一要求。范围检查 / Scope checks
功能矩阵 / Feature matrix
N/A:纯文档与 AI 规则,无新增用户可见能力或跨平台行为;现有 222 项矩阵校验通过。
插件归属 / Plugin ownership
UI 验证 / UI evidence
N/A:无 UI 改动。
统一日志系统 / Structured logging
N/A:只完善日志交付与语义规则,未改日志事件、生产调用或失败路径。
界面文案 / i18n
N/A:无应用界面文案改动。
逻辑归属 / Logic placement
N/A:无业务逻辑改动。
性能与内存 / Performance and memory
N/A:无进程、缓存、后台任务或实现改动。
设置 / Settings
N/A:无设置改动。
插件契约 / Plugin contract
N/A:本仓库只更新开发与审查规则;正式指南、贡献和版本说明在配套 Core PR 修改,没有新方法、通知、字段或版本值,也不需升级
PINNED_CORE_REVISION。发行包与资源 / Bundle and resources
N/A:无资源或运行时路径改动。
无用代码与重构 / Dead code and refactoring
N/A:纯文档,没有代码改动或新发现的待清理代码。
验证 / Verification
./scripts/agent-notes/verify-agent-notes.sh./scripts/platform-feature-matrix/verify-platform-feature-matrix.shuv run --with pyyaml …/quick_validate.py .agents/skills/develop-litheuv run --with pyyaml …/quick_validate.py .agents/skills/create-lithe-plugingit diff --cached --check未能执行的检查和原因: 无适用但未执行的本地文档检查。没有运行平台构建、运行时日志门禁或 SDK E2E,因为本 PR 没有产品、协议或 SDK 实现变动。
提交前确认 / Final checks
main创建,目标为main。