Skip to content

Node-level trust + per-call add_document trust (follow-up to #367) #375

Description

@CheeryProgrammer

Follow-up to #367 (part of #208). Edge trust propagation shipped (extracted edges carry their source chunk's trust, surfaced on recall; client-prompt hardening guidance added to the security guide). Remaining:

  • Node-level trust — a node extracted purely from untrusted content could also carry a trust marker. It's murkier than edges because a node (entity identity) can accrue from many sources of differing trust: a resolution is needed (e.g. a node is "untrusted" only if ALL its live edges are untrusted, or track a per-node provenance set). Design + implement + surface on recall/get_node.
  • Per-call add_document trust — the MCP add_document tool currently ingests as untrusted (the fail-closed default). Add an optional trust arg so a client that vouches for a specific page it pushes can mark it trusted per call, without a per-source config entry.

Both unit/DB-testable without live infra.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Priority 2area:securitySecurity & compliance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions