Preview: Adhvaga is a portfolio project in active development. Plans are built from checked sample data; nothing is booked or paid here.

Case study

What happens to a trip when a train is cancelled.

An engineering case study of Adhvaga's transport-disruption workspace. It is a separate exercise from the trip planner, built to test how a plan should change when something goes wrong.

The journey is a fixed, simulated sample. The Delhi to Jaipur trip inside the workspace, its cancellation and its replacement options are written in advance. They do not come from live train data, and nothing in the workspace books, pays or cancels anything. A reload resets it.

What it demonstrates

Trip versions

A change produces a new numbered version of the trip instead of overwriting the old one. The sample shows v1 next to the proposed v2, with the time and cost difference worked out from the legs.

Approvals

A replacement plan stays a proposal until a person approves it. Nothing becomes the current version on its own.

Budget ceiling

The sample trip has a target and a hard ceiling of 4,000 rupees. The target is a goal; the ceiling is a rule that no option may cross, even with approval.

Event log

Each step is written down and tagged as a fact, a system decision or an explanation, so you can see where every statement came from. In this sample the entries are pre-written.

Live server checks

The Data health page pings three MCP servers running on Vercel at adhvaga-mcp.vercel.app (metro, buses and travel rules) from your browser and shows the real response time.

Test harness

100 written cases cover planning, disruptions, hard rules, budgets, failures and approvals. Latest run: 49 pass, 22 partial, 0 fail, 29 not built yet.

Why it is separate

The trip planner works on real, hand-checked destination data. The disruption workspace needs live train status to be useful to a traveller, and that is not connected. Until it is, the workspace stays here as a worked example of the rules, approvals and tests behind a replan, not as part of planning a trip.

Look inside