Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 4 min read

My travel quote said "no hidden costs". I built Ghost Fare with Kiro to find them.

I wrote this post as part of the Kiroween 2026 hackathon. In September I started planning a trip to Japan. I asked an agency for a package for two and got back four quotes: 6 nights, a cheaper 6 nights, 7 nights and 8 n

My travel quote said "no hidden costs". I built Ghost Fare with Kiro to find them.

I wrote this post as part of the Kiroween 2026 hackathon.

In September I started planning a trip to Japan. I asked an agency for a package for two and got back four quotes: 6 nights, a cheaper 6 nights, 7 nights and 8 nights. Each one was a single, very long image. You couldn't even select the text.

Each one had the same banner near the top: "Transparent Pricing. No hidden costs."

So I read them properly.

  • There was a private car to take us to the bullet train station, but no bullet train ticket in any of the four quotes.
  • The price was per adult for two people sharing a double bed, so there was no way to know what one person would pay.
  • Check-out was 12 PM in the itinerary and 10 AM in the terms.
  • When the cheaper version arrived, β‚Ή6,325 less per person, the car to the station had quietly disappeared and a city tour had moved onto the day we were checking out.

None of this is unusual. Travel and tourism was the second biggest sector for refund complaints on India's National Consumer Helpline last year. Most people never read the terms page, and quotes aren't written to be compared.

So for Kiroween I built Ghost Fare. You upload a quote, and every cost the agency didn't price rises as a ghost on the exact words that hide it.

What it does

  • Ghost Scan reads the quote, even an image-only PDF, lists every unpriced or conditional cost, and pins each one to its wording on the page.
  • Quote SΓ©ance compares two versions of a quote and shows what vanished, moved or changed next to the price difference.
  • Ask & Banish writes one message to the agency with only the questions that change the price. When you type in their answer, that ghost is banished and the true total updates. The total stays "pending" until every unknown is answered, because an unknown cost is never zero.

On my real quotes it finds all 31 hidden costs I had marked by hand.

Ghosts on a real quote

How I built it with Kiro

I set myself one rule: every line of app code had to come from Kiro.

Steering first. Before any code, I wrote the money rules into .kiro/steering/pricing-rules.md. An unknown cost is never β‚Ή0. A price for two sharing is never halved. Money is stored in whole paise. The AI reads the quote but never does arithmetic. Every Kiro session read these first, and I never had to argue about rounding again.

A spec for every feature. I wrote the requirements, and Kiro wrote the design and the task list. The pricing engine alone was 30 tasks. Reading Kiro's design before any code existed caught misunderstandings that would otherwise have been built straight into the app. By the end there were seven specs.

Tests that earned their keep. Kiro wrote property-based tests (fast-check) for the pricing rules. I also turned the hidden costs I'd found by hand into a golden test, and it caught a real bug. The quote comparison matched "Hotel β†’ Station" with "Station β†’ Hotel" (the text is about 85% the same), so it reported nothing removed, and that removed car was the whole story. Kiro made direction part of the match and added a property test so it can't come back. There are 623 tests now.

Hooks. My custom CLI agent runs the tests after every write and refuses any write that contains an API key. Both leave a line in docs/kiro-sessions/hooks.log, including one blocked fake key. In the Kiro IDE I asked the agent for one more hook, to run the engine tests whenever I save an engine file, and it wrote it in seconds.

A power, not just an app. The audit is also an MCP server with four tools, packaged as a Kiro power with a quote-auditor agent. You can point Kiro at a quote and get the audit and a message ready to send to the agency.

CLI and IDE. Most of the build ran in the Kiro CLI: 25 sessions, all logged in the repo. It was good for long runs where I handed over a spec and reviewed the result. The IDE was better for seeing everything at once: specs as steps, tasks ticked off, and hooks in one panel.

Kiro IDE spec view

Things that went wrong

  • My real quotes crashed Node outright when sliced into tiles, because two copies of the native canvas library had been loaded. A tiny test PDF never showed it. Only the real quote did.
  • On the live site, uploads were rejected for being too large, and once the headline price came back in yen. Testing with real quotes found both.
  • The agency's name once slipped into a rendered image even though the text had been removed. The build now re-reads every output image and fails if a brand, URL or phone number is still visible.
  • I ran out of Kiro's free credits halfway through the UI and upgraded. Worth it.

What I'd tell myself at the start

Write the rules down before the code. Most of the calm in this build came from three short steering files and a test built from real, messy data.

Try it

If you've ever been surprised by a travel bill, I'd love to hear what the quote left out.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.