Skip to content

feat(twister)!: remove cta from the note type - #365

Merged
KrisBraun merged 1 commit into
mainfrom
cta-feature-removal
Aug 3, 2026
Merged

feat(twister)!: remove cta from the note type#365
KrisBraun merged 1 commit into
mainfrom
cta-feature-removal

Conversation

@KrisBraun

Copy link
Copy Markdown
Contributor

Summary

  • Removes the cta field from the note type (NewNote.cta) — the ephemeral one-time-code / confirmation prompt it fed has been retired and the value is no longer stored.
  • Keeps the Cta/CtaKind types (re-documented for their actual purpose): one-time-code and confirmation mail is still detected during classification, and connectors that read that detection are unaffected.
  • Adds a changeset marking this a breaking change to @plotday/twister (NewNote.cta removed).

Test plan

  • pnpm validate-changesets passes
  • pnpm --filter @plotday/twister lint passes
  • twister builds cleanly
  • email-classifier (the package whose extractCta still returns a Cta) builds and its full test suite passes (65/65), proving the type removal didn't break its consumer

🤖 Generated with Claude Code

The ephemeral one-time-code prompt it fed has been retired and the
value is no longer stored. Detection of one-time-code and confirmation
mail during classification is unchanged.
@KrisBraun
KrisBraun merged commit f500e07 into mainAug 3, 2026
1 check passed
@KrisBraun
KrisBraun deleted the cta-feature-removal branch August 3, 2026 13:56
Sign up for freeto 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.

1 participant

@KrisBraun