M&A Deal Workbench
Work with the deal-workbench API at the base URL provided in <TASK_ENV_BASE_URL>. Gather deal records, draft terms, playbook rules, policy thresholds, risk estimates, benchmarks, and supporting records. Produce structured JSON outputs conforming to the provided answer template.
Workflow
- Read the task prompt and the answer template (
input/payloads/answer_template.json) to understand the required output shape, allowed enums, and computation rules. - Call the workbench APIs to collect all relevant records. Start with broad endpoints (
/api/deals/<id>,/api/deals/<id>/terms, playbook rules, policy thresholds, risk estimates) then drill into supporting data (consents, employees, contracts, regulatory, cap table, diligence, benchmarks, notes). - Cross-reference draft terms against playbook rules or policy thresholds. Compare values (percentages, months, dollar amounts, boolean flags) and classify each term's status.
- Compute dollar amounts from the deal's headline purchase price unless a source explicitly overrides it. Round currency to integer dollars, percentages to the decimal places required by the template, months to integers.
- Build the output JSON strictly matching the template schema. Use only the allowed enum values. Do not include narrative outside the JSON.
Resources
- API Endpoints — Full catalog of workbench API routes, resource shapes, and SQL access.
- Business Patterns — Computation rules, playbook/policy comparison logic, risk classification, priority ordering, and issue classification.
- Task Workflows — Task-type-specific guidance for issue registers, closing packages, escalation memos, transition reviews, and deviation matrices.