A note you write from it names that id in derived_from:
---
derived_from:
- url-e0d9f22837c9
---
# Consumer leases
A consumer that holds a batch longer than its lease loses the partition.
The link points backwards, from what was derived to what it came from. Writing a note never edits the source it came from, and the reverse link is never stored.
It names an id, not a path. Rename or move the source file and the link still resolves.
Absence is not a claim. A note with no derived_from has an origin that is unknown or unrecorded. That never means the thought was your own.
about points the other way, forward to the project, area or person a note concerns. It is provisional in v0.1.
Frontmatter is the authority for both. Links written in the body are not read as provenance.
Whose file it is
.lorekeeper/manifest.json lists every file the toolkit wrote. A file not on that list is yours by definition: not listing a file is a positive statement of ownership, not missing information.
The toolkit's files are the starter files lore init wrote, and the captures it filed. Only these can ever be updated by the toolkit.
Your files are everything else. They are never rewritten, moved or reformatted.
A toolkit file you edited is reported as modified and left as you wrote it. lore does not overwrite it.
Before any write, lore reads the manifest. If the manifest is missing, or anything in it is ambiguous, lore refuses and writes nothing rather than guessing.