Skip to content

Accept percent-suffixed affiliate fees - #2

Merged
n0 merged 1 commit into
mainfrom
agent/fee-input-normalization
Aug 5, 2026
Merged

n0 merged 1 commit into
mainfrom
agent/fee-input-normalization

Conversation

@n0

@n0 n0 commented Aug 5, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Accept plain percentages and harmless trailing % or $ characters in SwapFather fee input.
  • Keep strict two-decimal validation and per-category cap enforcement.
  • Clarify the prompt with a percent-suffixed example.

Validation

  • bun test
  • bun run typecheck
  • git diff --check

@n0
n0 merged commit b8ec477 into main Aug 5, 2026
1 check passed
@n0
n0 deleted the agent/fee-input-normalization branch August 5, 2026 21:13
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.

1 participant