app

Local-first trade for farms and co-ops
git clone https://radroots.dev/git/app.git
Log | Files | Refs | README | LICENSE

commit 2c90672efbbfbffa5bd10a14341dfa8205d649cb
parent 067b744abcf636a6c345b9b0477f6044302b7b03
Author: triesap <tyson@radroots.org>
Date:   Sun,  2 Aug 2026 17:59:34 +0000

build(core): document Rust validation gates

- define formatting, clippy, and workspace test commands
- retain the independent Compose Desktop regression lane
- document the governed Makefile integration boundary
- avoid forbidden workflow and validation script surfaces

Diffstat:
Mdocs/implementation/nostr-runtime-rcld.md | 2+-
Mdocs/testing/nostr-accounts-test-plan.md | 21+++++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/docs/implementation/nostr-runtime-rcld.md b/docs/implementation/nostr-runtime-rcld.md @@ -454,7 +454,7 @@ handoff commit sequence. ### RCLD-02 - [x] 02. Establish root Rust workspace skeleton. -- [ ] 03. Add Rust formatting, lint, and governed check hooks. Use Cargo, +- [x] 03. Add Rust formatting, lint, and governed check hooks. Use Cargo, Gradle, and Makefile; do not add CI workflows or scripts. - [ ] 04. Define domain module layout and safe error shell. - [ ] 05. Implement Nostr public key value object. diff --git a/docs/testing/nostr-accounts-test-plan.md b/docs/testing/nostr-accounts-test-plan.md @@ -24,3 +24,24 @@ runtime is implemented. No test uses a public relay. There is no numeric coverage threshold; tests must provide strong best-effort behavioral coverage throughout RCL development. + +## Rust validation gates + +Run from the capsule root: + +```sh +cargo fmt --manifest-path core/Cargo.toml --all --check +cargo clippy --manifest-path core/Cargo.toml --workspace --all-targets -- -D warnings +cargo test --manifest-path core/Cargo.toml --workspace +``` + +Run the existing desktop regression lane separately until the Makefile combines +the Rust and desktop lifecycles: + +```sh +./gradlew --no-daemon :app:desktop:test +``` + +The capsule intentionally has no `.github/**` workflow and no validation +script. The Makefile will become the combined human-facing command surface +without changing these repository-owned Cargo and Gradle gates.