Documentation
README
McKinsey PPT Design — Harness Framework
Version: 2.3.3-harness-v2 · Engine: MckEngine (python-pptx) · Author: likaku
Required tools: Read, Write, Bash · Requires:
pip install python-pptx lxml
常见崩坏模式(每次生成前必读,先于 HARD RULES)
告诉 AI 要做什么效果一般,告诉它前人最容易在哪里塌效果更好。 以下三种反模式均已在真实执行中被验证,每次必须主动警惕。
反模式 1:口头宣布"门禁通过"(最常见)
错误做法:
「S4 QA 共 7 个 errors,判断均为 engine 设计行为,门禁通过,进入 S5」
问题所在:passed 是由 AI 口头判断的,不是由程序派生的。无论理由多充分,这句话都是 AI 在给自己写完成证书。
正确做法:
- 执行
python references/scripts/gate_check.py <pptx路径> <项目目录> - 读取
<项目目录>/gate_result.json - 只有
gate_result.json中"passed": true时,才能进入 S5 - 如果
"passed": false,修复user_code_errors列表中的问题,重新渲染,再次执行 gate_check
This is the opening of the README. Read the full README on GitHub.