Decision owner
Contract lawyer with escalation authority
The named role remains accountable for the consequential decision.
Legal Services
Designed for Contract lawyer
Let contract counsel review an inbound third-party paper against the firm's playbook clause by clause, classify each deviation by risk and fallback position, and generate redlines and negotiation talking points that are traceable to the approved position and its escalation authority.
Contract LEG-02 · primary aggregate ContractNegotiation · mode loading
Decision brief
This brief starts with the decision, evidence, and accountable owner. The guided workflow then shows how the recommendation was produced.
The evidence and control points that shape this recommendation.
Decision owner
Contract lawyer with escalation authority
The named role remains accountable for the consequential decision.
Governed evidence
6 record types
Structured records and cited text ground the recommendation.
Workflow
5 controlled stages
Each transition records its input, output, status, and audit context.
Human controls
1 approval gate
Approval gates prevent the copilot from making consequential decisions.
A counterparty returns its own paper for a three-year SaaS agreement governed by New York law.
Let contract counsel review an inbound third-party paper against the firm's playbook clause by clause, classify each deviation by risk and fallback position, and generate redlines and negotiation talking points that are traceable to the approved position and its escalation authority.
approvedRedlineSet gives Contract lawyer with escalation authority the evidence needed to begin the final governed business outcome, with the decision trail retained for review.
Step 1 of 5
| Field | Value |
|---|
| Field | Value |
|---|
The output appears here immediately. More technical evidence remains available below.
The demonstration keeps deterministic controls, AI assistance, and approval separate.
Source systems enforce identity, workflow order, policy filters, and record updates.
Retrieval and generation assemble relevant evidence into a cited recommendation or draft.
Contract lawyer with escalation authority verifies material claims and approves the consequential action.
Run the stages in order before using the Copilot. Every stage explains what happens, why it matters, the evidence it uses, and the complete API request and response.
Automated stage
What happens: Contract review assistant performs clause extraction and typing using counterpartyDraft and produces ClauseInstance. The transition is deterministic and does not require autonomous model approval.
Why it matters: ClauseInstance gives Contract review assistant the evidence needed to begin Playbook deviation classification, with the decision trail retained for review.
Loading relevant sample records.
Ready to run.
POST /api/domain/workflow/clause-extraction-and-typing
Run this API to see its formatted outcome.
| Field | Value |
|---|
| Field | Value |
|---|
Automated stage
What happens: Contract review assistant performs playbook deviation classification using ClauseInstance and produces deviationClassification. The transition is deterministic and does not require autonomous model approval.
Why it matters: deviationClassification gives Policy constraint service the evidence needed to begin Policy override screening, with the decision trail retained for review.
Loading relevant sample records.
Ready to run.
POST /api/domain/workflow/playbook-deviation-classification
Run this API to see its formatted outcome.
| Field | Value |
|---|
| Field | Value |
|---|
Automated stage
What happens: Policy constraint service performs policy override screening using deviationClassification and produces policyConstraintFindings. The transition is deterministic and does not require autonomous model approval.
Why it matters: policyConstraintFindings gives Contract review assistant the evidence needed to begin Redline and talking point drafting, with the decision trail retained for review.
Loading relevant sample records.
Ready to run.
POST /api/domain/workflow/policy-override-screening
Run this API to see its formatted outcome.
| Field | Value |
|---|
| Field | Value |
|---|
Automated stage
What happens: Contract review assistant performs redline and talking point drafting using policyConstraintFindings and produces RedlineProposal. The transition is deterministic and does not require autonomous model approval.
Why it matters: RedlineProposal gives Contract lawyer with escalation authority the evidence needed to begin Counsel approval and fallback escalation, with the decision trail retained for review.
Loading relevant sample records.
Ready to run.
POST /api/domain/workflow/redline-and-talking-point-drafting
Run this API to see its formatted outcome.
| Field | Value |
|---|
| Field | Value |
|---|
Human approval required
What happens: Contract lawyer with escalation authority performs counsel approval and fallback escalation using RedlineProposal and produces approvedRedlineSet. A named human approver must review the evidence before the transition completes.
Why it matters: approvedRedlineSet gives Contract lawyer with escalation authority the evidence needed to begin the final governed business outcome, with the decision trail retained for review.
Loading relevant sample records.
Ready to run.
POST /api/domain/workflow/counsel-approval-and-fallback-escalation
Run this API to see its formatted outcome.
| Field | Value |
|---|
| Field | Value |
|---|
Run a stage to see its explanation, evidence, full request, and full response.
Ask a question and receive an answer grounded in retrieved ContractNegotiation evidence.
Select a starter question or enter your own.
Loaded live from /api/config, /api/domain/model, and
/api/domain/sample.
contractNegotiations/tenantId + /contractIdA counterparty returns its own paper for a three-year SaaS agreement governed by New York law. The assistant extracts 47 clauses, flags the uncapped indemnity for third-party IP claims as a walk-away deviation and the 12-month liability cap at 50 percent of fees as a material deviation. It finds a mandatory policy constraint requiring cyber liability cover of at least 5 million dollars, which removes the second fallback tier from the acceptable set. It drafts redlines restoring a mutual cap at 12 months of fees with a carve-out, noting the chosen tier requires general counsel approval. Counsel escalates, obtains approval, and the outbound markup and negotiation log are generated for round 2.
| Container | Role | Hierarchical partition key | Document types |
|---|---|---|---|
contractNegotiations |
Primary | /tenantId + /contractId |
Contract, ClauseInstance, RedlineProposal, NegotiationLogEntry |
negotiationPlaybookLibrary |
Reference | /tenantId + /clauseType |
PlaybookPositionChunk |
corporatePolicyLibrary |
Reference | /tenantId + /policyDomain |
PolicyConstraintChunk |
| Type | Container | Partition key | Identifier pattern | Embedding fields |
|---|---|---|---|---|
Contract |
contractNegotiations |
/tenantId + /contractId |
contract::{contractId} |
None |
ClauseInstance |
contractNegotiations |
/tenantId + /contractId |
contract::{contractId}::clause::{clauseType}::{clauseOrdinal} |
clauseVector |
PlaybookPositionChunk |
negotiationPlaybookLibrary |
/tenantId + /clauseType |
clause::{clauseType}::playbook::{playbookDocId}::{chunkOrdinal} |
chunkVector |
PolicyConstraintChunk |
corporatePolicyLibrary |
/tenantId + /policyDomain |
policyDomain::{policyDomain}::policy::{policyDocId}::{chunkOrdinal} |
chunkVector |
RedlineProposal |
contractNegotiations |
/tenantId + /contractId |
contract::{contractId}::redline::{redlineId} |
None |
NegotiationLogEntry |
contractNegotiations |
/tenantId + /contractId |
contract::{contractId}::round::{negotiationRound}::log::{logOrdinal} |
None |
Surface clauses deviating materially from the playbook that remain unresolved.
contractNegotiations
single-partition
SELECT * FROM c WHERE c.tenantId = @tenantId AND c.contractId = @contractId AND c.type = 'ClauseInstance' AND c.deviationLevel IN ('material','walkAway') AND c.resolutionState != 'accepted' ORDER BY c.riskRating DESC
Retrieve the preferred position, fallbacks and escalation authority for a clause type.
negotiationPlaybookLibrary
single-partition
SELECT * FROM c WHERE c.tenantId = @tenantId AND c.clauseType = @clauseType AND c.type = 'PlaybookPositionChunk' ORDER BY RANK RRF(VectorDistance(c.chunkVector, @clauseVector), FullTextScore(c.chunkText, @queryTerms))
Find policy or regulatory constraints that override commercial flexibility for this governing law.
corporatePolicyLibrary
partition-key-fan-out
SELECT * FROM c WHERE c.tenantId = @tenantId AND c.policyDomain IN (@applicablePolicyDomains) AND c.type = 'PolicyConstraintChunk' AND c.bindingLevel = 'mandatory' AND ARRAY_CONTAINS(c.applicableJurisdictions, @governingLaw) AND c.effectiveFromUtc <= @reviewDateUtc ORDER BY c.policyDomain ASC
Queue proposed fallbacks that require approval above the reviewing lawyer's authority.
contractNegotiations
single-partition
SELECT * FROM c WHERE c.tenantId = @tenantId AND c.contractId = @contractId AND c.type = 'RedlineProposal' AND c.approvalState = 'pendingEscalation' ORDER BY c.fallbackTier DESC