main claude/composition-usage-rune-pages-c87ar6 (scanning...) claude/runes-migration-simplify-vjqdmh changeset-release/main claude/value-primitives-and-grid claude/v041-composed-runes-guide claude/v041-project-rune-dir claude/plan-github-issues-sync-w4odbn (stale) claude/v0.22.0-theme-foundations main claude/composition-usage-rune-pages-c87ar6 claude/runes-migration-simplify-vjqdmh changeset-release/main claude/value-primitives-and-grid claude/v041-composed-runes-guide claude/v041-project-rune-dir claude/plan-github-issues-sync-w4odbn
Setting up your dashboard 0 entities found · 6/8 branches scanned
Vite plugin — Level 2 cross-page pipeline Implement the level: 'pipeline' mode that runs the full four-phase cross-page pipeline at build time, enabling breadcrumbs, nav, glossary auto-linking, and other entity-dependent features.
Criteria completion: 0 of 11 (0%) checked; tracking started on Apr 21, no incremental history yet 0% 25% 50% 75% 100% Apr 21 Nov 4
Tracking started Apr 21 — check back for trends.
Acceptance Criteria When level: 'pipeline' and contentDir are set, plugin scans all .md files in contentDir at buildStart Full pipeline runs via runPipeline() from @refrakt-md/content: parse → register → aggregate → post-process Entity registry is built (EntityRegistryImpl) and available to all pages Output modules include enriched meta with entities and crossPageDeps arrays Cross-page runes (breadcrumb, nav, glossary) render fully resolved content Page hierarchy derived from file system relative to contentDir; frontmatter can override title/slug Pipeline results cached in memory; individual transform calls read from cache Dev mode: file changes re-parse changed file; if entities change, dependent files are re-processed @refrakt-md/content is an optional peer dependency (only needed for Level 2)Clear error message if level: 'pipeline' is set but @refrakt-md/content is not installed Clear error message if level: 'pipeline' is set but contentDir is missing Approach Implement src/pipeline.ts — wraps runPipeline() with Vite build lifecycle hooks In buildStart: scan contentDir, run full pipeline, cache results In transform: read from cache instead of re-processing In dev mode: use handleHotUpdate to detect entity changes and selectively re-run pipeline phases Reference packages/sveltekit/src/plugin.ts for existing buildStart pipeline pattern Dependencies WORK-094 — core plugin must exist firstWORK-096 — HMR infrastructure for dev mode re-processingReferences SPEC-031 (Level 2: Cross-Page Pipeline section)packages/content/src/pipeline.ts — runPipeline() orchestratorpackages/content/src/registry.ts — EntityRegistryImpl