PetrolCat draftDeutsch
PetrolCat

Knowledge graph and weighting

Why a decision belongs to a task.

The graph connects sources, policies, decisions and outcomes. It exposes the provenance and status of a foundation and helps select it for a later answer.

Animated PetrolCat decision graph: A request moves through a policy and confirmed decision to an answer with evidence. A superseded policy and proposed exception remain outside the highlighted path.
SourceExport policyVersion 3
supports
Confirmed decisionActive organisation onlyapplies in the project room
checked for
New taskCSV-ExportCheck applicability again
Proposed exception

Has no effect until the responsible person decides.

Status determines effect. Priority and type weight only order the selection of relevant foundations. Enlarge graphic ↗Enlarge graphic ↗
01

Relationships with meaning

A connection explains how two records relate: a source supports a decision, a decision depends on a prerequisite or supersedes an earlier one. Its type defines what the relationship does in an answer. A merely proposed or unimplemented relationship does not steer the answer.

02

Applicability is not a score

Whether a confirmed relationship takes effect is a domain and implementation question. Retrieval priority only orders relevant relationships when answer context is limited. It cannot make an invalid policy valid and is not a truth score.

03

Weighting within a room

When more decisions fit than an answer can carry, decisions from the current room come before inherited ones. Maintained relationship priorities order the rest. A room can weight each relationship type from 0 to 2: 1 is neutral, 0 removes the type from selection, lower values weaken it and higher values boost it. Mandatory prerequisites remain attached.

  • Priority orders selection
  • Type weight applies within its room
  • No change to policy applicability
04

Weighting source classes

Separately from graph relations, a room administrator can influence the order of decision records, room knowledge, law and references within each authority tier. Suggested presets take effect only when a person applies them. With no weights, the previous order remains; a legal question can still find the law. The answer uses source_weighting to report when a source class was ranked lower.

05

People decide on new relationships

Agents can propose new relationships. A proposal has no effect until a responsible person decides. Proposal confidence describes the proposal, not truth or retrieval priority. Owners or delegated curators maintain weights with a reason; changes are recorded as evidence.