Skip to content

D45c — Channels, sweeps and candidates: where we looked, and what it pointed at

  • Status: Accepted — amended by D47m (the sweep log belongs to a changeset and travels in its bundle) D57 (a scope's own rule selects its channels) and D59 (an outside list is a channel, and how much of it is held is counted), and D64 (a finder may exclude a candidate by a rule the scope declares)
  • Date: 2026-09-22
  • Origin: slice 18
  • Area: reading

Decision

Three working tables, not graph data, and not staged. What reaches the graph still goes through check and write.

  • Channels. A channel is somewhere members or updates show up. It has a kind (newsroom, tracker, register, press, importer, query, list), a how, a role (discovery points at things and is never evidence; evidence is an importer or primary register), a cadence_days, and local_only.
  • A pack declares templates per entity type under discovery:, with placeholders the scope fills: {anchor}, {counties}, {regions} from its members.
  • kg scope channel from-pack instantiates them.
  • For data centres: the company newsroom (every post), three or more trackers, local press by county, county tax-break agendas, TDLR by owner and shell-company names, the ERCOT large-load queue, and Epoch.
  • For UK politicians: the Parliament importers, each with its cadence.
  • Sweeps. A sweep row records which channels were looked at, when, by whom and what each found. It is the only answer to "when did we last look there", and it sets each channel's next due date.
  • Candidates. A candidate is a name a channel pointed at. Recording one:
  • matches it to a member if it is one;
  • excludes it by rule if its fields fall under a machine-checkable exclusion;
  • otherwise leaves it open.

Each decision (matched, added, excluded under a named scope rule, unsourced, duplicate) is a new dispositions row, with actor, surface and why. The latest counts. A name seen again in the same scope is the same candidate, so nothing is rediscovered.

Why

Of the ten missing sites, four had never been looked for in the right place: - one was in the company's own newsroom, where nobody had listed every post; - three surfaced only in small-town papers covering county tax-break votes, and nobody searches those by company name.

Nothing had recorded which ways of looking had been tried, or when. The knowledge of where a type of thing shows up belongs to the pack, because it is the same for every developer. Knowing which counties belongs to the scope.

An exclusion or an unfindable name that is not recorded will be found again next time and cost the same effort again. So excluded must cite one of the scope's own rules, and unsourced must say what was searched.

Consequences

  • A proprietary source can be a channel with --local-only: its candidates stay in the local graph, and every member still needs a public primary document.
  • Scheduling is outside kg: a /loop or a cron runs the routine. kg only knows what is due.