From 3c2bd9268c18d1d82d8d802c85f08f94f8cb7abc Mon Sep 17 00:00:00 2001 From: Mathias Bergqvist Date: Thu, 23 Apr 2026 16:36:22 +0200 Subject: [PATCH] feat(pipeline): wire source back-reference injection into Run --- ingestion/internal/pipeline/pipeline.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ingestion/internal/pipeline/pipeline.go b/ingestion/internal/pipeline/pipeline.go index 1e6c924..1163463 100644 --- a/ingestion/internal/pipeline/pipeline.go +++ b/ingestion/internal/pipeline/pipeline.go @@ -58,7 +58,8 @@ func Run(ctx context.Context, cfg Config, brainDir, content, source string, dryR } resolved := Resolve(allPages, inventory) - merged := mergeAll(resolved) + withRefs := injectSourceRefs(resolved, inventory, brainDir) + merged := mergeAll(withRefs) date := time.Now().UTC().Format("2006-01-02") var written []string