fix: shorten memo format and auto-chain reading digest#34
Conversation
…mmarize Email provider memos have character limits — full markdown summaries were getting truncated. Switched to concise single-line TL;DR format (<200 chars). Also made reading digest generation mandatory after summarize processing. The batch-processor was skipping the digest generator launch step, leaving users without the expected newspaper-style HTML digest. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Claude finished @omarshahine's task in 1m 40s —— View job Code Review
Overall this is a well-targeted fix with clean, focused changes. Good commit message and correct versioning. A couple of issues worth addressing before merge. Issues1. Provider-specific language leaks in batch-processor.md (line 176) -4. Attach a SHORT memo on the email (Fastmail memos have a ~255 char limit):
+4. Attach a SHORT memo on the email (email provider memos have a ~255 char limit):Per the project's provider-agnostic pattern, agent instructions shouldn't reference Fastmail by name. While this is a comment rather than a tool call, it still hardcodes provider assumptions. If a Gmail or Outlook user reads this agent's instructions, it's misleading. Fix this → 2. prompt: |
Generate reading digest HTML from reading-digest-state.yaml.
Session: [sessionId]
Open the result in the browser when done.
ObservationsMemo length relies entirely on LLM compliance. The format
Belt-and-suspenders in batch.md is appropriate. Adding the CRITICAL note to the command layer (in addition to the agent layer) makes sense for LLM instruction files where repetition improves compliance. This is good defensive prompting.
Version BumpCorrect — patch bump (2.0.1 → 2.0.2) for bug fixes, with both |
- Use provider-agnostic language for memo char limit - Remove dead [sessionId] placeholder from digest generator prompt Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
{tldr} | {type} | {readTime}) under 200 chars. Full summaries are still preserved inreading-digest-state.yaml.batch-processor.md(agent instructions) andbatch.md(command prompt) to ensure the step isn't skipped.Test plan
/chief-of-staff:batch --processwith summarize decisions and verify memos are under 200 charsreading-digest-state.yaml🤖 Generated with Claude Code