🐛 Bug Tracker
Known issues, fixes in progress, and resolved bugs. 4 open · 3 fixed
Active Issues (4)
Mail.app reply drafts have empty body
AppleScript clipboard paste and set content/html content methods all fail to insert body text into Mail.app reply drafts. Standalone new messages work, but replies are always empty.
Notes:
- ·Clipboard paste (System Events keystroke tab + cmd-v) doesn't target compose body
- ·set content strips quoted original and may lose formatting
- ·set html content also produces empty drafts
- ·Gmail API drafts work perfectly but aren't threaded in Mail.app
- ·Root cause: AppleScript Mail.app automation is fundamentally limited for reply composition
- ·Workaround: Gmail API draft + manual copy-paste into Mail.app reply
- ·Long-term fix: Move PST to Gmail so Koa uses Gmail API like Sloane, OR build send-as alias in Gmail for PST address
Koa uses --body flag instead of --body-file for multi-line emails
When Koa passes email body via --body shell argument, newlines get collapsed into a single line. Must use --body-file to preserve formatting.
Notes:
- ·Shell arguments collapse newlines in multi-line strings
- ·--body-file preserves all formatting
- ·Need to update Koa's AGENTS.md to mandate --body-file for all multi-line content
- ·Also applies to create-reply-draft.sh for Sloane if she uses it
OODA loop doesn't read email thread context before grading
The OODA review grades draft output against 9 mechanical rules but never reads the actual email thread or client context. Misses cultural sensitivity, emotional dynamics, relationship context.
Notes:
- ·Added Cultural Sensitivity section to COMMERCIAL-EMAIL-PLAYBOOK.md
- ·Added OODA Review Protocol with 4-step process including context read
- ·Added sensitivity classification (standard/elevated/high)
- ·Still need: automatic Musey/Patrick consultation for high-sensitivity emails
- ·Still need: client context file integration into delegation flow
Contract PDF styling doesn't match ApproveMe look
Initial Codex-generated PDF used Times Roman, black text, wrong styling. Needs to match ApproveMe: SBF logo, Helvetica, dark gray text, clean signature box.
Notes:
- ·Codex restyled with logo, Helvetica, dark gray — PDF generated
- ·Stephan hasn't reviewed the restyled version yet
- ·Test PDF at: systems/opensign/contract-generator/output/direct-contract-20260308-220608.pdf
Resolved (3)
Koa replies to wrong email in thread
E2 · Koa- ·create-reply-draft.sh now sorts by date received and picks latest
- ·Koa's instructions must always specify 'reply to the LATEST email from [sender]'
OmniFocus tasks balloon into separate Human-in-the-Loop project
Shared · Koa / Sloane- ·Killed both SBF and PST 'Human in the Loop' projects
- ·Replaced with 'Human in the Loop' TAG
- ·Updated create-of-task.sh to auto-add HITL tag
- ·Tasks now stay in their actual client project
OpenSign REACT_APP_SERVERURL commented out
Infra · K- ·Set REACT_APP_SERVERURL=http://localhost:8080/app
- ·Had to use http not https to avoid self-signed cert blocking
- ·Also needed proper user signup via usersignup cloud function (not raw Parse)