What problem does it solve?
It turns an existing codebase into an ASTRA/ lightcone-cli runnable analysis without forcing you to rewrite your logic, so you can preserve behavior while generating a correct astra.yaml spec and provenance.
Core Features & Use Cases
- Codebase scanning to spec: Scans scripts and notebooks to draft or augment astra.yaml and universes/baseline.yaml, capturing inputs, outputs, containers, and analytical defaults.
- Decision parameterization with minimal change: Adds argparse or wrapper/translation layers so hardcoded analytical choices become ASTRA decisions while keeping your original code largely intact.
- Run, validate, and debug: Executes the baseline universe, iterates on failures, and validates the spec with astra validate and provenance checks.
Quick Start
Tell the agent to migrate your repository by running: “Initialize lightcone-cli in my-analysis, then invoke /lc-from-code to scan my existing project and generate the astra.yaml needed to reproduce the current behavior.”