Commit a60137dc by luoqi

chore(ai-script): bump promptVersion → 2026-06-02-4module-v3(4模块重构生效 + 清缓存)

改了 schema/prompt/skills 但没 bump version → PromptCacheService 按 promptVersion+input
缓存,同患者"重新生成"返回旧结果(老 5 段)。bump 后缓存失效,新 4 模块生效。
(本地 dev 服务 .md 启动只读一次,改 skill 需重启进程才重载——已重启)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
parent 0ac2613f
......@@ -141,7 +141,7 @@ function isSkillsEnabled(): boolean {
* composeHash 可以在 agent_invocations.input_snapshot.skills_used 看到具体装配)。
*/
const DRAFT_PLAN_SCRIPT_PROMPT_VERSION_SKILLS =
'draft_plan_script@2026-05-31-skills-base-v2'; // v2: user prompt 去掉冗余的 skills 名字索引
'draft_plan_script@2026-06-02-4module-v3'; // v3: 4 模块重构 + 确定性事实注入 + 单一聚焦(漏诊项=应治未治)
@Injectable()
export class DraftPlanScriptCall
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment