Files
cp1-agents/docs/source-material/agent-shapes/subagent-pattern/app/policy.yaml
Jonathan Boniface 416c66ced4
All checks were successful
check agents / check (push) Successful in 10s
Add CP1 Discovery agents in both patterns
ALZ-F01 Discovery as a sub-agent orchestrator (sub-agents/) and as eight
individual declarative agents (individual-agents/), with their KAB workflow
exports. Shared check, render and import scripts, the alz-discovery-sample
MCP server, the crucible-kab-dev deploy profile, deployment docs, platform
issue reports and the source material. Agent steps time out at 20 minutes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 18:25:57 +00:00

49 lines
1.8 KiB
YAML

# 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}