Run incremental recompile¶
When a source document changes, only the fragments derived from it need recompilation. This guide shows how to trigger and monitor incremental recompiles.
How it works¶
- Re-ingest the changed document with
riverbank ingest - The hash check detects which fragments changed
- Only changed fragments go through extraction
- The artifact dependency graph (
_riverbank.artifact_deps) tracks which compiled facts depend on which fragments - Stale facts are invalidated and recompiled
Re-ingest a changed corpus¶
The ingest summary shows:
- Fragments skipped (hash) — unchanged fragments, zero LLM cost
- Fragments processed — changed fragments that were re-extracted
Monitor what changed¶
Only the runs for changed fragments will appear.
Explain dependencies¶
To see what depends on a specific artifact:
This shows the full dependency tree: which fragments, profile version, and rule set contributed to the artifact.
Force recompile¶
To force recompilation of all sources for a profile (ignoring hashes):
See Bulk reprocess a profile for details.