| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(deep_research): align standalone run directories with slidea | 13 天前 | |
feat(slidea): strengthen Phase 3 rules — defer export + edit in place Two recurring failure modes in Phase 3 agent-led editing: 1. Auto-export. Despite the existing export-deferral rule, agents sometimes run svg_to_pptx.py right after an edit "to verify" or "to give the user something to look at", rewriting the PPTX and forcing the user to reopen the file. 2. Copy-then-edit. Agents "play safe" by copying output/<run_id>/ to a sibling directory (or a temp path, or a backup) and editing there. ppt.json still points at the original directory, so the user opens an unchanged PPTX and the edit appears lost. Same hazard on export: passing a different output_dir lands the new PPTX somewhere the user will never look. Strengthen the prompt so both failure modes are loud and repeated: agent-edit.md: - §0 restructured into "Critical Rules" with two named rules: Rule 1 (defer export) and Rule 2 (edit in place). Each has its own why and its own "when in doubt" guidance. - Rule 1 adds "When in doubt: do not export" and explicitly lists the bad reasons agents invent ("to verify", "to give the user something to look at", "because the edit is small"). - Rule 2 is new: never copy the run directory, never copy individual SVGs to backup paths, never create a working sub-directory, always pass original paths from ppt.json to svg_to_pptx.py. - Step 7 ends with an "edit in place" reminder cross-referencing Rule 2. - Step 9 heading becomes "Report the SVG change — STOP, do NOT export" with a callout enumerating the bad reasons. - Step 10 adds a pre-flight check: (a) did the user explicitly say to export? (b) are the paths from ppt.json? If either fails, stop. - §6 Common Pitfalls gets two new entries at the top: "Auto-exporting after every edit" and "Copying the run directory before editing". SKILL.md: - Phase 3 invariant now says edits happen "in place" and adds the no-copy / no-different-output-dir clause inline. Pointer to §0 updated to mention "two critical rules". No code changes. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> | 7 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 13 天前 | ||
| 7 天前 |