# students-of-local/smoothstone — AlpLab Radar Static Code Audit

- Ring: `trial`
- Category: `dev`
- Overall score: `3.5/5`
- Implementation check: `verified`
- Maturity: `early`
- Audited commit: `132a9d49e930` (read-only; nothing from the repository was executed)
- Reviewed at: 2026-12-02T11:15:53Z
- Repository: https://github.com/students-of-local/smoothstone
- Radar entry: https://radar.alplab.co/#repo/students-of-local/smoothstone
- License: `MIT`
- CI workflows: `.github/workflows`
- Tags: `openscad`, `3d-printing`, `cli`, `local-ai`, `mesh-validation`

## Summary

A Python CLI that turns parameterized OpenSCAD recipes into cleaned STL files and runs geometry, printability, and dimension checks.

## Implementation Check

README.md's recipe-driven build workflow is implemented by `cmd_build` in src/smoothstone/cli.py and `build_stl` in src/smoothstone/scad.py.

## When to Use

Use for bounded local pilots creating supported parametric printable parts from its recipes. Do not rely on it without OpenSCAD nightly, the listed native dependencies, and visual review of generated parts.

## Sub-scores

| Dimension | Score |
|---|---|
| quality | 4.0/5 |
| usability | 3.5/5 |
| reliability | 3.0/5 |
| security | 3.5/5 |
| integration | 3.5/5 |

## Code Evidence

- src/smoothstone/cli.py `cmd_build` compiles a selected recipe, runs `checks.check_stl`, writes results, and only copies a passing STL as final.
- src/smoothstone/scad.py `build_stl` passes typed recipe parameters via argv, exports OFF, then rebuilds it through `clean.for_slicer` before shipping STL.
- pyproject.toml defines the `stone` CLI, Python >=3.11, mesh-processing dependencies, and `src/smoothstone` package layout.
- .github/workflows/ci.yml runs pytest, builds every recipe and example, and exercises tuning NEXT-line flows in separate CI jobs.

## Issues Found

- .github/workflows/ci.yml downloads the latest OpenSCAD snapshot AppImage without a pinned version or checksum verification.

## Key Risks

- Requires uv, OpenSCAD 2026 or newer with Manifold support, and potrace for image workflows.
- README.md documents optional figure generation requiring Apple silicon, 16 GB memory, and third-party model tooling.
- Static review cannot establish that the extensive mesh checks, recipe builds, or evaluation claims pass in practice.

## Reviewed Files

- `README.md`
- `pyproject.toml`
- `src/smoothstone/cli.py`
- `src/smoothstone/scad.py`
- `.github/workflows/ci.yml`
