Skip to content

D40b — A path walks what the graph currently believes

  • Status: Accepted
  • Date: 2026-09-22
  • Origin: slice 13 build
  • Area: reading

Decision

The walk crosses an edge only if that edge is part of the entity's current state. Retracted, expired, not-yet-begun, rumoured and projected edges are not traversed — by exactly the rules that keep them out of current (D6a, D8b, D32), because the walk asks relation_state rather than the claims table.

Two escapes, both explicit:

  • --as-of <date> walks the graph as it stood on that date, so a connection that has ended is found by asking about the day it held.
  • --include-rumoured walks rumoured edges too, marks every hop that is one, and marks the whole path as rumoured.

A dated edge — a vote cast, an interest declared, a statement made — is walked. Those are filed under events rather than values (D18e) and they are connections like any other.

Why

A path is read as an assertion that two things are connected. If the chain runs through an edge the graph does not currently believe, the output asserts something the rest of the engine would refuse to say. A rumour is the sharp case: kg get shows it under "rumours" with its hedging intact, and a path would launder it into a plain line of a diagram.

Expiry matters as much. Karl Turner held eight shadow ministerial posts and holds none of them now. "Karl Turner is connected to the Shadow Solicitor General" is false today and was true in 2015, and the honest answer is to say so rather than to pick one. The golden session asks both questions of the same graph and gets both answers.

Leaving events out was a real bug in the first implementation, not a hypothetical: the walk was blind to every interest and every vote — the two largest edge sets in the politician pack — and reported "no connection" for the chain this slice exists to show.

Known gap

An edge that has ended is invisible unless you already know roughly when it held, because there is no "was there ever a link" mode. --as-of covers it only with a date in hand. Carried to the backlog.