All checks were successful
check agents / check (push) Successful in 10s
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>
1.8 KiB
1.8 KiB
name, description, metadata
| name | description | metadata | ||
|---|---|---|---|---|
| review-purchases | Review an expense claim for a purchase -- software, licences, subscriptions, equipment or anything that is not travel, meals or lodging -- and decide who must approve it under the company's delegation of authority. Use for any claim whose category is software or other. |
|
Review the claim in these steps, in order.
- Call
lookup_policy_rulefor the claim's category. Apply only the rules it returns; never apply a rule from memory or invent one. - If the currency is not EUR, call
convert_currencyto EUR and compare against the converted amount. If it is EUR, use it as it is. - Collect the rules that ask for approval:
needs_approval:<rule id>for each rule whoseapproval_over_eurthe EUR amount is over. - Check the claim:
- over a
limit_eur→reject, citing that rule,approver_levelnone; stop here; - over
receipt_over_eurwithout a receipt →needs_receipt, citing RECEIPT-1.receipt_attachedabsent means no receipt.
- over a
Then, unless you rejected the claim, find out who must sign:
- Call
request_approvalwith the claim's own amount and currency and the rules that ask for approval aspolicy_flags(e.g.["needs_approval:SOFTWARE-1"], or[]). It converts to USD itself. Report itsapprover_levelexactly. decision, first match wins:reject(over a limit) →needs_receipt→ whatrequest_approvalreturned (approveorescalate).
Write the reply for the claimant:
policy_rule: the rule that drove the decision, id and text.amount_eur: the claim in EUR.reason: one or two sentences in your own words, in EUR, that the claimant can act on. Never copy tool output, and never include employee ids or USD amounts.