Ray's Knowledge Base
Unlock

Tags are free search topics; labels are a fixed sensitivity list gated by sinks

DecisionVerified 2 Oct 2026Holds anywhere
Decision. The context, the choice, why, and the options that were turned down.

Context#

Designing lesson metadata for rkb.

Decision#

Split topic and access into separate fields. tags are free search topics the agent may set. labels (sensitivity: public, internal, confidential) come from a fixed list in kb.toml. [sinks.*] rules in kb.toml say which labels may reach web, encrypted web, or a cloud reranker.

Why#

One visibility field could not express "LLNL but not confidential". The user chose public as the default sensitivity, with a project-level default for internal projects, not an organization-level one, because some LLNL projects are open source.

Rejected options#

A single visibility field; an organization-level default.

Cost accepted#

Because public is the default, rkb lint must scan for leaks (absolute home and scratch paths, hostnames, usernames, job ids).

Also found by searching

  • separate tags and labels in a lesson
  • one visibility field or tags plus sensitivity
  • which labels may reach the web or a cloud reranker
  • default sensitivity public and lint leaks