Skip to content

Knowledge Architecture

Signet’s knowledge architecture is the scoped, audited ontology that sits above raw memories, transcripts, and source artifacts. It does not replace recall search. It gives recall and agents a bounded, inspectable structure built from user-owned evidence.

This page explains the model. Tables, operation semantics, traversal settings, and surfaces are in the Knowledge Graph reference. Routes are in the knowledge and ontology API.

Signet keeps two layers apart.

Evidence records what was said or seen:

  • memories, where episodic evidence content does not change after it is saved (the table also holds derived rows, such as aggregate recall results, with their own update rules);
  • session transcripts and summaries;
  • source artifacts from connected knowledge bases;
  • epistemic assertions, which record who said or believed something.

Current truth is what Signet should act on now. It lives in ontology rows:

  • entities
  • entity_aspects
  • entity_attributes
  • entity_dependencies

A transcript can show that someone said a thing. An assertion can record who said it, when, and with what confidence. An entity_attributes row holds the value Signet uses today. These are linked through provenance fields, but they are different layers with different lifecycles.

entity
aspect
group
claim slot
values (kind: attribute, claim, or constraint)
  • An entity is a durable object: a person, project, system, tool, source, artifact, agent, policy, workflow, event, and so on. The full list is ENTITY_TYPES in platform/core/src/types.ts.
  • An aspect is a broad dimension of an entity, such as build, identity, or collaboration. Each aspect has a weight that orders it during traversal.
  • A group (group_key) subdivides an aspect so it does not become one long list. Values without a group are treated as general.
  • A claim slot (claim_key) is one updateable fact inside a group, such as build/tooling/package_manager. Versioning and replacement happen per slot, so a new package manager does not make every other build fact obsolete.
  • A value is an entity_attributes row. Its kind is attribute, claim, or constraint. Constraints are rules. Traversal collects them separately from the per-aspect limits so they are not crowded out.

entity_dependencies stores directed, typed edges between entities. Each edge has a dependency_type, a strength, a confidence, and optional reason and provenance fields. A related_to edge must have a non-empty reason, so loose links stay explainable.

Tasks are entities with a task_meta row. That row stores task status, expiry, retention, and completion times, so finished work does not have to be modeled as permanent knowledge.

Dreaming is the only automatic writer of semantic entities, aspects, claim values, and links. It reads scoped evidence in passes and applies changes through the same audited operation path that explicit edits use. See Semantic processing: Dreaming.

Remember stores evidence only. Source ingestion stores evidence and maintains mechanical source-topology entities and containment links, but never authors aspects or claims. A structured payload sent with remember is kept on the memory as evidence. It is not applied to the graph, and the response for a newly saved memory reports structured_applied: false. A remember that deduplicates to an existing memory stores no new structured payload, and its response omits that field.

Users and agents can also change the ontology on purpose. Entity, aspect, claim-value, and link operations each support three modes:

  • dry run: validate and preview, then roll back;
  • apply: change the graph now;
  • propose: write a pending proposal for later review.

Small, explicit edits apply directly. Proposals are for broad refactors, duplicate merges, and other changes someone should review first.

An assertion records that a speaker claimed, believed, observed, decided, preferred, denied, or questioned something about an entity. It does not change current truth.

Assertions have their own lifecycle. They are created, linked to a claim value, archived, or superseded through their own endpoints, and the ontology extraction route can write them when asked. They do not go through the dry-run, apply, and propose operation model, and they do not write ontology_proposals rows. Each assertion keeps its own speaker, source, evidence, status, and archive fields.

For now, an assertion’s observer is its agent. The API accepts observer_id only when it equals the authorized agent_id. speaker is attribution, not identity. Arbitrary peer observers are not supported.

Every applied ontology operation, including each operation in a Dreaming batch, writes an ontology_proposals row with the operation, payload, rationale, evidence, actor, and result. Pending proposals use the same table.

Claim values carry version lineage in version, version_root_id, and previous_attribute_id. Replaced values become superseded instead of being deleted. Entities, aspects, and links are archived with archived_at, archived_by, and archive_reason, so their history stays reviewable.

Signet also records detected conflicts between active values in the same claim slot in a contradiction ledger. The ledger is an audit aid. It does not pick a winner or change which value is current.

The graph is one evidence channel in recall, not the whole system. When traversal is enabled, recall picks focal entities and walks a bounded part of the graph around them: constraints, the highest-weighted aspects, values with linked memories, mention-linked memories, and one hop along strong outgoing links. Those candidates are then ranked together with keyword, vector, hint, and structured evidence.

Pinned entities join the focal set by default, up to the focal-set limit of 200 entities. Entity lists show pinned entities first.

Maintenance can lower the weight of stale aspects when graph feedback and decay are enabled. Decay is off by default. An older helper that raised aspect weights from keyword-search overlap still exists in the code, but nothing calls it.

For recall itself, see Memory. For how candidates are ranked, see How recall ranks candidates. For the traversal rules and settings, see the Knowledge Graph reference.

Every ontology row has an agent_id, and graph reads and writes run inside one agent’s scope. There is no implicit global graph. The dashboard constellation is the visible exception: it also includes agents whose read policy is shared, and an admin can request an all-agents view. Credential rules are in the Knowledge Graph reference.

  • Keep evidence distinct from current truth.
  • Keep current truth scoped, versioned, and auditable.
  • Keep traversal bounded and observable.
  • Let explicit, bounded edits apply directly with provenance.
  • Send broad refactors through reviewable proposals.