Repository navigation
fix(skill): tell agents a fare total comes before any payment fee (PET-503) - #117
Conversation
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
Original prompt from Ahsan.amin
|
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
| Layer / File(s) | Summary |
|---|---|
Payment-fee disclosure guidance skills/wego/SKILL.md, skills/wego/references/cli.md |
Quote guidance says fares with paymentBasis set to no_method_selected exclude checkout payment fees. Trip inspection guidance states that totals exclude fees and provides the related price fields. Both sections say not to estimate or add fees; trip inspection guidance also says to name the lowest-fee method when per-method fees are listed. |
Estimated code review effort: 1 (Trivial) | ~3 minutes
Possibly related PRs
- wego/cli#112: Reorganizes the skill guidance and moves CLI-specific content into
references/cli.md, where this PR adds payment-fee guidance. - wego/cli#111: Splits the skill into separate CLI and MCP references; this PR updates the root skill and CLI reference.
Suggested labels: devin
Merge Risk: 
Low · previous review fc22d
-
This adds guidance that fares are priced before any payment fee. Until the matching API change is live, agents could describe current totals inaccurately. Condition the disclosure on the returned
paymentBasisfield, or merge after the API promotion.
Pre-merge checks: 
4
-
Full details: Title check
-
Explanation
The title uses the Conventional Commits form with type fix, scope skill, and an imperative lowercase subject. It names the change accurately: agents are told that a fare total is priced before any payment fee. The PET-503 key is included. Its scope matches the 'skill' scope in the repo's list, and the changed files are under skills/wego. The title is specific and matches the main change.
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
…T-503) Co-Authored-By: ahsan.amin@wego.com <ahsan.amin@wego.com>
…asis (PET-503) Co-Authored-By: ahsan.amin@wego.com <ahsan.amin@wego.com>
…PET-503) Co-Authored-By: ahsan.amin@wego.com <ahsan.amin@wego.com>
e89c529 to
7bb6f3f
Compare
Summary
Explain when a flight fare total is quoted before any payment fee. If
price.paymentBasisisno_method_selected, quote the returned total and say that checkout may add a fee depending on how the traveler pays. IfpaymentBasisis absent, quote the total as returned without the new caveat.Do not use
includesFeesto infer payment fees: it is deprecated and staystruefor compatibility. Do not add, estimate, or subtract a fee, and do not infer a payment method's name from its numeric ID.Compatibility
This changes only the shipped skill, not the CLI, fare totals, or the API contract. The skill works with existing API responses and applies the new guidance once
paymentBasisis present.Generated with Devin.
🟢 Devin Review found nothing to fix · View findings