Skip to content

feat(contract): make generate_premium a pure quote path - #109

Merged
jhayniffy merged 1 commit into
InsurNiffy:mainfrom
luhrhenz:fix/generate-premium-quote-pure
Mar 24, 2026
Merged

feat(contract): make generate_premium a pure quote path#109
jhayniffy merged 1 commit into
InsurNiffy:mainfrom
luhrhenz:fix/generate-premium-quote-pure

Conversation

@luhrhenz

Copy link
Copy Markdown
Contributor

closes #6

summary

  • Return PremiumQuote with total_premium, optional line_items, and valid_until_ledger. Add QuoteError and quote_error_message for API simulation. No persistent writes on quote path; tests assert counters and policy map unchanged. Document MVP quote events and caching.

Return PremiumQuote with total_premium, optional line_items, and
valid_until_ledger. Add QuoteError and quote_error_message for API
simulation. No persistent writes on quote path; tests assert counters
and policy map unchanged. Document MVP quote events and caching.

Made-with: Cursor
@drips-wave

drips-wave Bot commented Mar 24, 2026

Copy link
Copy Markdown

@luhrhenz Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@jhayniffy
jhayniffy merged commit 6daec04 into InsurNiffy:main Mar 24, 2026
1 of 3 checks passed
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.

Contract — Read-only quote entrypoint: generate_premium without state mutation

2 participants