refactor: remove unused metadata extraction (tags/wordCount)

- Remove extractTags() and calculateWordCount() methods (dead code)
- Keep only extractTitle() method in MetadataExtractor
- Remove includeMetadata option and related infrastructure
- Update PreprocessingResult interfaces across all processors
- Remove wordCount from metadata schema
- Tags still populated from frontmatter (FrontmatterProcessor)
- Build verification passes without errors

Analysis showed these methods extracted data never consumed by Typst
templates or PDF generation pipeline.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jarvis committed 2025-09-09 22:39:38 +02:00
1 parent a6b35d336a
commit 09365e2d75
5 files changed
+4 -87

No files matched your search

@@ -25,7 +25,6 @@ export interface PreprocessingResult {
tags: string[];
frontmatter?: Record<string, any>;
title?: string;
wordCount: number;
pdfEmbeds?: Array<{
originalPath: string;
sanitizedPath: string;