Local Development
If you want to work on ado-aw itself, a local Rust-based development setup is enough for most compiler and documentation tasks.
Prerequisites
Section titled “Prerequisites”- Rust 1.94.0 or later (the project uses the Rust 2024 edition)
- Git
- An editor of your choice
Install or update Rust:
rustup toolchain install stablerustup default stablerustc --version # must be 1.94.0 or laterBuild from source
Section titled “Build from source”From the repository root:
cargo buildFor an optimized build:
cargo build --releaseRun the test suite
Section titled “Run the test suite”Use the standard Rust workflow while developing:
cargo testcargo clippyThese commands help catch regressions and style issues before you commit changes.
Test compilation locally
Section titled “Test compilation locally”A simple way to validate changes is to compile an example or your own agent file.
cargo run -- compile path/to/agent.mdTo verify the generated YAML matches the source definition:
cargo run -- check path/to/agent.lock.ymlIterate on documentation or compiler changes
Section titled “Iterate on documentation or compiler changes”A common local loop looks like this:
cargo buildcargo testcargo run -- compile path/to/agent.mdcargo run -- check path/to/agent.lock.ymlIf you are working on the docs site itself, run the site from site/ with your usual Astro workflow after installing dependencies.
What to verify before submitting changes
Section titled “What to verify before submitting changes”- the project builds successfully
- tests pass
- your sample pipeline compiles cleanly
- generated YAML matches the markdown source when checked