A lesson with no sensitivity label takes it from the nearest folder note, else internal
Statement#
A lesson without labels: sensitivity inherits it from the nearest folder note (README.md) that sets one, and falls back to internal when none does. So every lesson in a project folder whose README.md has no label is internal: the site leaves it out, or publishes it encrypted when SITE_PASSWORD is set. Lessons that say sensitivity: public themselves are not affected, which hides the problem until an unlabeled lesson lands in that folder.
Only when the user asks to make a whole project public, run rkb label projects/PROJECT sensitivity=public --toon. This records the following label in the folder's README.md frontmatter. Do not edit that file directly to bypass the label gate.
labels:
sensitivity: public
Loosening a label always asks the user. Leave a needs_user request open until the user answers it. A lesson that was published encrypted needs rkb site build and the publish answer again.
rkb label <path> sensitivity=public takes a folder and fails when <path> is a lesson file. The label applies to every lesson below that folder that has no label of its own. To label one lesson, put labels: with sensitivity: public in its frontmatter, with rkb edit. Only do this when the user asked to make that lesson public.
Evidence#
2026-09-29, the user's kb: the new rait lesson 201bd9b63f came out "Encrypted with SITE_PASSWORD" while general/, projects/rgit/, projects/rkb/ and projects/dftracer-utils/ lessons were public; only projects/rait/README.md had no label, and the older rait lessons each carried sensitivity: public themselves. DEFAULT_SENSITIVITY = "internal" in crates/rkb-core/src/config.rs. After adding the label (kb commit 27b652d), rkb site build listed the lesson as public, waiting for the publish answer.
The rkb skill read during curation requires rkb label <folder> sensitivity=public for a user-requested folder change. It states that the command returns needs_user. No publication or label change was run during curation.
Observer note of 2026-10-01 (merged from 2d70f5b671): it gives the failure of rkb label on a lesson file and the frontmatter fix, and shows no output.
Also found by searching
- rkb site leaves out my lessons in a project folder though nothing marked them private
- lessons missing from the published site, unlabeled ones become internal
- how do I make every lesson in a project folder public on the rkb site
- README.md labels sensitivity public folder note inheritance, SITE_PASSWORD encrypted
- new rkb lesson shows 'Encrypted with SITE_PASSWORD' on the site, not public
- lesson in projects folder not published on site, sensitivity internal by default
- rkb label fails when I pass a lesson file
- how do I make one lesson public