What you see
Each chip represents an author note that was attached to the document at extraction time. The chip shows the type (Note) and the name you gave the attachment. They appear in two places:- Under each fact in the document detail view and in the fact inspector (the
FactAttachmentChipscomponent in code). - On the document header, as the live list of current attachments (the
ContextAttachmentsListcomponent).
When no chips appear
Not a bug: if you don’t see chips under a fact, it’s usually one of three reasons.| Situation | Why |
|---|---|
| The document had no notes when the fact was extracted | There’s nothing to show. Most facts in the POT look like this. |
| The fact was created before this feature existed | Old facts carry no note record — not because they were extracted “without context”, just because that trace wasn’t stored back then. |
| The fact was created manually or via another path (not extraction) | For example, a constitutional fact or one added by hand doesn’t go through document extraction. |
When a note was deleted after extraction
If a teammate deletes an author note after facts were extracted with it in scope, the facts don’t lose the trace — kb2b keeps it. Instead of a normal amber chip, you see a muted gray one with a dashed border and the label “Attachment deleted”. That’s deliberate:- The fact still extracts cleanly (the note already did its job during extraction).
- The team can see that special guidance was in play when that fact was extracted, even if the note is gone now.
- If you re-extract the document, the new facts will be pulled under the new live set of notes — chips will reflect that set.
What this is for, day to day
Three concrete uses:- Quick audit. A fact looks off. You glance at the chips: “ah, this document had the note ‘Vendor X marketing material’”. Makes sense — the fact reflects a marketing claim, not a domain truth. You curate it accordingly (👎 or re-categorize).
- Confidence when sharing. When exporting or quoting a fact in an internal report, seeing the chips reminds you what framing kb2b used to extract it. If the framing was “draft”, maybe you don’t want to quote the fact yet.
- Detecting drift. A document was uploaded six months ago with a certain note, and the note has since disappeared. You see “Attachment deleted” on every associated fact. Clear signal that the guidance changed at some point — useful when something in the POT starts behaving differently.
How to create the notes that produce these chips
The chips are only the reading side. To create or modify the notes that generate these chips, see Author notes — the flow is from the document upload screen, not from the fact inspector.Difference from document provenance
| That | This |
|---|---|
| Document provenance tells you which document the fact came from and which chunk exactly. | Fact context tells you what curatorial framing that document had when it was extracted. |
| Always present (every extracted fact carries provenance). | Only present when notes were attached (and starting from May 2026). |
| Proof of where the fact came from. | A trace of how the document was read. |
The technical detail of how this is stored (a
context_attachment_ids_used field on each fact, deletion semantics) lives in the SciPot docs. In kb2b you always see it as chips — you don’t need to touch the field directly.
