Skip to content

Strip AI preamble and normalize markdown headings#229

Merged
asim merged 1 commit intomainfrom
claude/mu-killer-feature-yxRo5
Mar 6, 2026
Merged

Strip AI preamble and normalize markdown headings#229
asim merged 1 commit intomainfrom
claude/mu-killer-feature-yxRo5

Conversation

@asim
Copy link
Member

@asim asim commented Mar 6, 2026

  • stripPreamble() removes lines like 'Here is the revised digest:' from the start of AI output programmatically instead of relying on prompts
  • normalizeHeadings() ensures blank line after every ## heading so section titles don't run into paragraph text
  • Updated prompts to request ## heading for Reminder section

- stripPreamble() removes lines like 'Here is the revised digest:' from
  the start of AI output programmatically instead of relying on prompts
- normalizeHeadings() ensures blank line after every ## heading so
  section titles don't run into paragraph text
- Updated prompts to request ## heading for Reminder section
@asim asim merged commit 944c2e8 into main Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants