Skip to content

feat(rust-agent): the Rust toolchain for a weather-alert agent CLI - #142

Merged
h0ffmann merged 1 commit into
mainfrom
feat/rust-agent-lab
Oct 21, 2026
Merged

h0ffmann merged 1 commit into
mainfrom
feat/rust-agent-lab

Conversation

@h0ffmann

@h0ffmann h0ffmann commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

What this adds

A new lab, labs/rust-agent. It pins the tools to build a Rust CLI that reads Brazilian weather alerts (INMET, CEMADEN, Defesa Civil) and calls an LLM over HTTPS. It ships the toolchain only. The agent code will be in the consumer.

Pinned: rustc, cargo, clippy, rustfmt, rust-analyzer, cargo-nextest, cargo-deny, cargo-audit, cargo-machete, pkg-config, openssl, jq, xh. RUST_SRC_PATH is set in the dev shell. checks.smoke builds and tests a std-only crate, and runs clippy -D warnings and rustfmt --check on it.

Pending

  • The labs matrix line in .github/workflows/ci.yml is NOT in this PR. It needs the human's approval. Until it is added, CI does not build this lab.
  • AGENTS.md (lab table) and .zenodo.json (the text "The ten labs are") are guardrail files. This PR does not change them.

Consumers

No consumer yet. marola-site#172 will be the first. No consumer has to do anything when this lands.

Tested

nix flake check, nixpkgs-fmt, statix and deadnix pass in labs/rust-agent. The justfile parses with just 1.21.0. reuse lint passes.

New lab. It pins rustc, cargo, clippy, rustfmt, rust-analyzer, cargo-nextest, cargo-deny,
cargo-audit, cargo-machete (cargo-udeps needs nightly), pkg-config, openssl, jq and xh from the
lab's own nixos-unstable. It ships the toolchain only: the agent code will live in the consumer.
checks.smoke builds and tests a std-only crate with the pinned toolchain, and runs
clippy -D warnings and rustfmt --check on it.

The ci.yml matrix line is not in this commit: it needs the human's approval.

Tested: nix flake check --no-update-lock-file in labs/rust-agent (smoke, lab-json, versions pass on x86_64-linux); nixpkgs-fmt, statix, deadnix clean; just 1.21.0 --summary parses the justfile; reuse==5.0.2 lint passes
Co-Authored-By: Claude <[email protected]>
@h0ffmann
h0ffmann merged commit 99941aa into main Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant