An agreement keeps its identity through its amendments - #706
Merged
WaylandYang merged 6 commits intoSep 14, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Signed-off-by: WaylandYang <wayland0916@gmail.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Signed-off-by: WaylandYang <wayland0916@gmail.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Signed-off-by: WaylandYang <wayland0916@gmail.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Signed-off-by: WaylandYang <wayland0916@gmail.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Signed-off-by: WaylandYang <wayland0916@gmail.com>
This was referenced Sep 14, 2026
WaylandYang
deleted the
fix/an-agreement-keeps-its-identity-through-amendment
branch
September 14, 2026 16:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #700.
Problem
On the lease bench (the Blackbaud HQ lease chain, 18 as-of questions), one lease became three entities:
Lease Agreement,Lease Agreement dated May 16, 2016andLease Agreement dated May 16, 2016, as amended. Terms of the same lease landed on different holders, so an as-of answer found half of them. Two things kept the entities apart:sameverdict on aVersionorPhrasename shape on its own, even at 0.95. The shape can raise a doubt, but here the facts already answered it.Change
IDENTITY_RULESgains one sentence. A document, agreement or filing cited in many ways stays one thing through its amendments, when parties and subject do not contradict. When it was signed and that it was amended describe it. Each amendment is its own document, and an agreement for other premises, another phase or other parties is a different one.sameverdict on a doubtful shape goes to the second look. This is the same tool loop that already rechecks adifferentverdict on identical names. If the loop reads both sides' facts and text and still sayssame, the gate reads the pair without its shape (settled_shape). Type conflicts and precedent reverts still hold as before.govern.mjsno longer counts a document whose extraction was deferred (ontology index still embedding) as finished. It used to score an empty base.Measured
Governance bench (ai-timeline duplicate labels). Both runs reset the agent's decisions and re-decided on the same extraction:
One run each. The version pairs that were the risk (
Claude Mythos 5/Claude Mythos,ChatGPT Pro/ChatGPT) did not merge. The second look kept them apart or left them for a person.Tests
a_doubtful_shape_stops_counting_once_the_evidence_was_readcargo test -p utopia-extract -p utopia-server, clippy and fmt clean🤖 Generated with Claude Code