Files
aaronAI/scripts
aaron 0a1e2b4f61 api.py: preview-then-commit flow for save_document
The previous system prompt instructed Claude to skip duplicating document
content in chat and write the file directly. That produced no-preview UX:
the user asked for a bio and the docx appeared in Drafts/ before they had
a chance to read or refine it. Reversed: Claude now drafts in chat first,
waits for an explicit save signal, and only then calls save_document. The
explicit "skip preview" escape hatch is preserved for one-shot flows.
2026-05-20 01:01:45 +00:00
..