Python 3.11+ · standard library · SQLite ledger · synthetic fixtures.
Sourcemark · synthetic field guide
The citation that refuses to die.
Move the file. Edit the sentence. Test the agent. Sourcemark keeps the trail from a claim back to the evidence, then tells you when that trail drifts.
git clone --branch v0.5.1 --depth 1 https://github.com/jonah-ux/sourcemark.git && cd sourcemark && python3 -m venv .venv && . .venv/bin/activate && python3 -m pip install . && python3 demos/demo.py --installed
01 / Watch the mark survive
Read the line
docs/lighthouse.md:4-5
“Spare bulbs are stored…”
Mark it
[sm:7f3a9c2b1d]
a compact handle, durable context
Move + edit
ops/harbor-lighthouse.md:6-7
rename, two lines inserted, “ten” → “twelve”
Resolve it
edited / moved
the claim still has a home
02 / Run the synthetic incident
$ python3 demos/demo.py --installed
1. cited [sm:7f3a9c2b1d] docs/lighthouse.md:4-5
2. renamed to ops/harbor-lighthouse.md
added 2 lines above, edited a word inside
3. resolve → edited at ops/harbor-lighthouse.md:6-7
4. checking the agent's answer:
verified lighthouse.md:6
unread_lines roster.md:3
url_unsourced made-up-spec
-- verified read, unread lines and unsourced URL refused
Sourcemark verdict
edited
The source was found again after a rename and wording change.
03 / Local runtime