A contradiction is visible where it sits (B2b) - #243
Merged
Conversation
WaylandYang
force-pushed
the
feat/contradictions-are-in-view
branch
from
September 3, 2026 03:30
12e304c to
e13f3fc
Compare
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
WaylandYang
force-pushed
the
feat/contradictions-are-in-view
branch
from
September 3, 2026 04:12
e13f3fc to
7d0e744
Compare
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.
Implements B2b of 0017 §3: disputed facts are visible where they sit. Follows #238 (B2a).
Graph (
GET /kbs/{id}/graph): edges gaincontested(an open axiom violation or temporal conflict points at the assertion — existing kinds wired in along the way) and a third class of edge withblocked: true: ghost edges for derivations that did not land, read fromaxiom_violations.detail. A contested edge switches to the alert colour, edge and all, with a⚠label prefix; a ghost edge is the same hue mixed towardEDGE_DIM, thinner, no pulse, follows the Derived toggle. Clicking a ghost edge opens its subject's panel at the Derived tab with that row expanded.Entity panel (
GET /kbs/{id}/entities/{id}):facts[].contested = { kind, ref_id, derived? }renders a "disputed" chip (row not dimmed); clicking it lands on the matching Review queue with that card ringed (/review?queue=…&item=…).blocked: [...]renders a "Did not land" section on the Derived tab naming what blocked each derivation, expanding to its proof chain via the newGET /kbs/{id}/violations/{id}/proof. The Derived tab now shows when only blocked derivations exist.Store:
proofand the newblocked_proofshare onesteps_for(premises);blocked_for_entityreads the queue'sdetail. The integration test from #238 now also asserts the contested flag, the ghost edge, the blocked list and its proof.Decision records: 0017 status line → implemented; index row and 0016 B2 note updated.
Verified in the isolated environment: contested edge in coral, ghost edge beside the CEO-of edge, the chip and the "Did not land" row with its proof, and the chip → Review jump with the card ringed.
🤖 Generated with Claude Code