Anchored metadata
summary
Proposes that metadata can live outside source files and stay correct by storing a context (before/topic/after) and re-aligning it with the file using the smith-waterman algorithm. Implements this as spor (YAML blobs per anchor) and wires it into mutation testing via Cosmic Ray. Primary implementation moves from Python to Rust, yielding about a 15× speedup (0.74s → 0.043s for an update). Demo shows automatic realignment (anchor offset jumping from 46 to 194) across a dozen snapshots.
AI-written summary · about
chapters (15)
- 0:00Start
- 3:03What is mutation testing?
- 4:13Equivalent Mutants
- 8:28What's wrong with inline metadata?
- 16:30Context
- 20:13Smith-Waterman
- 21:37Basic Idea
- 26:09Anchor Update
- 28:48File structure
- 30:24Command-line Interface
- 44:38IDE Integration
- 45:46Anchoring directories
- 46:48Source Control Integration
- 52:11Speed
- 55:17Very positive!
related talks
55mAnchored Metadata
47mAnchored Metadata
25m"Eternal Sunshine of the Rustfmt'ed Mind"
19m"Embracing Monorepo and LLM Evolution"
38mAn Incrementally Spicier rust-analyzer
23mMonorepos & Spaceships - Navigating successfully through Code and Cosmos
51mMoving at the Speed of Thought
38mAgentic workflows that compound
