OpenChainGraph Suite · ART-589 · Legal Operations

Redline Round Classifier

Classifies each declared segment of a negotiated document between two rounds as ACCEPTED, REVERTED, MODIFIED, NEW, or DELETED, and builds a word-level diff transcript for every changed segment. Round-over-round history is a hash chain: each round after the first declares the execution hash this node produced for the immediately preceding round's own artifact, and a chain check recomputes that prior round's hash from its own content and confirms the two agree, so a tampered middle round fails the chain check even if its own classification output still looks well-formed.

Change Classification Only Round-Over-Round Hash Chain Not Legal Advice
๐Ÿ”’ All inputs are processed locally in your browser. No data is transmitted. Do not enter real personal data โ€” use synthetic or anonymised inputs only.
⚠ Not legal advice. This node classifies the TYPE of change between two drafts (accepted / reverted / modified / new / deleted) using plain text equality and a word-level diff. It never scores, ranks, or evaluates which side a change favors, never opines on clause quality or enforceability, and does not parse DOCX, PDF, or any other binary document format: segment text must be pasted or pre-extracted by the caller.
Attribution: the five-state enum (ACCEPTED / REVERTED / MODIFIED / NEW / DELETED) extends the four-state classification used by eigenlegal/counsel-os's diff_rounds.py (MIT license) by adding DELETED. This is a design borrow, not a code port: diff_rounds.py's source has not been read by this node's author, and no code from it appears here.
Round (declared)
Document ID
Round number
Round label
Prior round digest (leave blank for round 1)
The execution_hash this node produced for the immediately preceding round's own artifact. Required for round > 1; must be blank for round 1.
Segments (declared)
Round Summary
Round Chain
Diff Transcript (changed segments only)
Execution Hash (SHA-256)
Round Chain Verification (3-round example)
This runs the built-in 3-round worked example (independent of the form above): round 1 is the chain root, round 2 modifies a clause, round 3 reverts it back to the round-1 baseline. Each round declares the real execution_hash of the prior round's own artifact. The chain check recomputes round 1 and round 2's hashes from their own content and confirms round 2 and round 3 committed to exactly those values.

Ask your agent

Copy this paragraph into Claude, OpenClaw, or any MCP-aware agent to run this exact tool, with this sample, and verify the artifact.

Run the AINumbers MCP tool `classify_redline_round_changes`. Task: Classify per-segment changes between two negotiation rounds of a document (ACCEPTED/REVERTED/MODIFIED/NEW/DELETED) with a word-level diff transcript and a round-over-round hash chain check.
Call it with arguments: {"policy_parameters":{"document_id":"msa-2026-acme","round":{"number":2,"label":"Round 2"},"prior_round_digest":"1111111111111111111111111111111111111111111111111111111111111111","segments":[{"segment_id":"S1-payment-terms","baseline_text":"Payment is due within 30 days of invoice.","prior_text":"Payment is due within 45 days of invoice.","current_text":"Payment is due within 45 days of invoice."},{"segment_id":"S2-liability-cap","baseline_text":"Liability is capped at fees paid in the prior 12 months.","prior_text":"Liability is capped at 2x fees paid in the prior 12 months.","current_text":"Liability is capped at fees paid in the prior 12 months."},{"segment_id":"S3-termination","baseline_text":"Either party may terminate for convenience on 30 days notice.","prior_text":"Either party may terminate for convenience on 60 days notice.","current_text":"Either party may terminate for convenience on 90 days notice with written approval."},{"segment_id":"S4-data-processing","baseline_text":null,"prior_text":null,"current_text":"Vendor will process personal data only as instructed by Customer."},{"segment_id":"S5-arbitration","baseline_text":"Disputes are resolved by binding arbitration in Delaware.","prior_text":"Disputes are resolved by binding arbitration in Delaware.","current_text":null}]}}
Verify before trusting: call `verify_execution_hash` on mcp.ainumbers.co (https://mcp.ainumbers.co/mcp) with the parameter `claimed_hash` set to the returned `execution_hash`, passing the full artifact the run returned (the object containing `policy_parameters` + `output_payload` + `execution_hash`; equivalently `policy_parameters` + `output_payload` with `claimed_hash`), not the bare hash string.
Return the ledger link https://ledger.ainumbers.co/ so a human can re-verify without contacting us.
PII rule: All inputs are processed locally in your browser. No data is transmitted. Do not enter real personal data โ€” use synthetic or anonymised inputs only.
Open the tool with the sample prefilled: https://ainumbers.co/chaingraph/art-589-redline-round-classifier.html#p=v1.H4sIAAAAAAAA_wEIBff6eyJkb2N1bWVudF9pZCI6Im1zYS0yMDI2LWFjbWUiLCJyb3VuZCI6eyJudW1iZXIiOjIsImxhYmVsIjoiUm91bmQgMiJ9LCJwcmlvcl9yb3VuZF9kaWdlc3QiOiIxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExIiwic2VnbWVudHMiOlt7InNlZ21lbnRf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