# The travel and expense policy, as data. The skills look rules up here through # tools rather than recalling them from the prompt, so a policy change is an # edit to this file, not to any instructions. # # Amounts are in EUR. `limit_eur` caps a claim; `receipt_over_eur` requires a # receipt above that amount; `approval_over_eur` means the claim needs approval. # WHO approves is never in a rule: every claim that is not rejected goes through # the delegation of authority below (request_approval), by its amount in USD. rules: - id: MEALS-1 category: meals text: "Meals: up to 40 EUR per claim." limit_eur: 40 - id: LODGING-1 category: lodging text: "Lodging: up to 200 EUR per night." limit_eur: 200 - id: TRAVEL-1 category: travel text: "Travel is reimbursed at cost; there is no per-claim cap. Who signs follows the delegation of authority." - id: SOFTWARE-1 category: software text: "Software is allowed; a purchase over 500 EUR needs approval. Who signs follows the delegation of authority." approval_over_eur: 500 - id: OTHER-1 category: other text: "Any other expense needs approval, whatever the amount. Who signs follows the delegation of authority." approval_over_eur: 0 - id: RECEIPT-1 category: all text: "Any claim over 25 EUR needs a receipt." receipt_over_eur: 25 # Fixed conversion rates to EUR, for the demonstration. A real agent would call # a rates service here; the skills would not change. rates_to_eur: EUR: 1.0 USD: 0.92 GBP: 1.17 INR: 0.011 # Who must sign a claim, by its amount in USD: the first band the amount is # under. A claim a rule asks approval for always needs at least a manager. delegation_of_authority: - {under_usd: 500, level: auto} - {under_usd: 5000, level: manager} - {under_usd: 25000, level: director} - {under_usd: .inf, level: none}