Repository navigation
feat(prompts): unify prompt editing and final-protocol delivery - #204
Merged
Merged
Conversation
HTExplicit
enabled auto-merge
September 25, 2026 04:11
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.
旧提示词需要分别发布全局模板和保存应用规则,正文与投递配置可能不同步;部分网关还在协议转换前后重复注入。本变更将日常操作合并为一次原子保存,并在最终出站协议上统一应用规则。
GET/PUT /api/v1/admin/system-prompts/config,支持auto/system/developer、六类语义位置、明确的平台/模型范围及账号三态绑定;保留历史、来源和远程 Skill 高级功能。草稿在切换、刷新、并发保存和修订冲突时保留。验证使用定向前端用例、协议矩阵、模拟 HTTP/WS 出站及独立 PostgreSQL 18.1。真实数据库验证覆盖旧配置迁移、32 条规则加独立 Claude 配置、事务回滚、不可变版本、单修订发布和账号 CAS;没有发真实模型请求。Wire 从 provider 定义重新生成,正常必需 CI 保留,两个新增前端接口合同文件加入 focused 检查。