Check Note Provenance
Trace the origin of a note back to its input sources, or find all notes created from a given input.
Steps
Finding sources for a note
- •Identify the note the user is asking about. Read the markdown file to extract the
vault_sources_mcp_idfrom its frontmatter. - •Call
get_sources_for_notewith thenote_id. - •For each linked input, present:
- •The
input_id - •Metadata (source type, title, URL if available)
- •Whether the input is
activeorredacted
- •The
- •If the user wants the full original text, call
get_inputfor the specific input.
Finding notes for an input
- •If the user asks about a specific input/source, call
get_notes_for_inputwith theinput_id. - •Present all notes that were derived from this input.
Arguments
- •
$ARGUMENTS(optional): The note filename, path, or input ID to look up.
Examples
code
/check-provenance Composting Basics
Looks up the provenance of the "Composting Basics" note.
code
/check-provenance input:abc123
Finds all notes derived from input abc123.
Important
- •If the note has no
vault_sources_mcp_idin its frontmatter, it cannot be tracked. Inform the user and suggest adding an ID. - •If a source is redacted, its content shows as
[REDACTED]but the link and metadata remain.