What problem does it solve?
It prevents research workflows from drifting by making every Code/*.Rmd script’s inputs, outputs, and paper targets explicit so you can find the right script and update it safely.
Core Features & Use Cases
- Single source of truth: Maintains a per-script registry YAML block (purpose, inputs, outputs, paper_target, notes) and derives a centralized Code/REGISTRY.md view.
- Dependency-aware discovery: Lets you answer “which script makes X” and quickly locate overlap by purpose/keywords/output filenames and paper targets.
- Drift detection with guardrails: Flags undeclared inputs/outputs and unused registry entries by comparing YAML metadata to actual I/O calls, without auto-editing.
- Workflow integration: Supports new script creation, registry refresh (“update registry”), and safe retirement by moving scripts into Code/_Archive/.
Quick Start
Run the builder to refresh Code/REGISTRY.md after editing the registry block for your Code/*.Rmd, then use “which script makes X” to confirm downstream impact.