Add devtooling guardrails and Forgejo CI quality checks #2

Merged
jwilger merged 12 commits from guardrails-devtooling-just-nextest into main 2026-05-16 21:13:02 -07:00
Owner

Summary

  • Add the initial Rust crate and local devtooling guardrails: just recipes, lefthook hooks, cargo-deny config, warning-fail behavior, and README/setup updates.
  • Configure stable Rust lint policy at forbid, document the lint and unit-test sidecar decisions in ADRs/architecture docs, and update project guidance to use sidecar Rust unit tests.
  • Tighten opencode discipline guardrails: rename the plugin, add RGR/ADR regression coverage, and clarify verification/toolchain rules so agents avoid duplicating hook-covered suites by default.
  • Wire Forgejo CI for PR quality checks (fmt, clippy, test, deny, build) plus optional auto_review semantic review, without release, Docker image, or artifact publishing jobs.
  • Track the .opencode npm manifest used by the CI test job and keep browser/event-model build settings aligned with warning-fail checks.

Verification

  • just test
  • just fmt
  • just clippy
  • just build
  • nix develop --command npm --prefix .opencode ci
  • nix develop --command just test
  • nix develop --command just build

Note: broader hook-covered reruns are intentionally left to configured hooks/CI unless a change directly needs them.

## Summary - Add the initial Rust crate and local devtooling guardrails: `just` recipes, lefthook hooks, cargo-deny config, warning-fail behavior, and README/setup updates. - Configure stable Rust lint policy at `forbid`, document the lint and unit-test sidecar decisions in ADRs/architecture docs, and update project guidance to use sidecar Rust unit tests. - Tighten opencode discipline guardrails: rename the plugin, add RGR/ADR regression coverage, and clarify verification/toolchain rules so agents avoid duplicating hook-covered suites by default. - Wire Forgejo CI for PR quality checks (`fmt`, `clippy`, `test`, `deny`, `build`) plus optional auto_review semantic review, without release, Docker image, or artifact publishing jobs. - Track the `.opencode` npm manifest used by the CI test job and keep browser/event-model build settings aligned with warning-fail checks. ## Verification - `just test` - `just fmt` - `just clippy` - `just build` - `nix develop --command npm --prefix .opencode ci` - `nix develop --command just test` - `nix develop --command just build` Note: broader hook-covered reruns are intentionally left to configured hooks/CI unless a change directly needs them.
Add Forgejo CI quality checks
Some checks failed
CI / Format check (pull_request) Successful in 35s
CI / Clippy (pull_request) Successful in 37s
CI / Test (pull_request) Failing after 5s
CI / Dependency policy (pull_request) Successful in 7s
CI / Build (pull_request) Failing after 5s
CI / Request auto_review semantic review (pull_request) Has been skipped
8d7be9d107
Install Node packages in CI checks
Some checks failed
CI / Format check (pull_request) Successful in 5s
CI / Clippy (pull_request) Successful in 6s
CI / Request auto_review semantic review (pull_request) Has been skipped
CI / Test (pull_request) Failing after 5s
CI / Dependency policy (pull_request) Successful in 7s
CI / Build (pull_request) Successful in 17s
ede38d50d8
Provide opencode test deps through Nix
All checks were successful
CI / Clippy (pull_request) Successful in 11s
CI / Format check (pull_request) Successful in 11s
CI / Build (pull_request) Successful in 17s
CI / Request auto_review semantic review (pull_request) Successful in 1s
CI / Test (pull_request) Successful in 6s
CI / Dependency policy (pull_request) Successful in 8s
3c9b7e9020
Use npm manifest for opencode test deps
All checks were successful
CI / Format check (pull_request) Successful in 5s
CI / Clippy (pull_request) Successful in 6s
CI / Test (pull_request) Successful in 9s
CI / Build (pull_request) Successful in 17s
CI / Dependency policy (pull_request) Successful in 8s
CI / Request auto_review semantic review (pull_request) Successful in 1s
46ea8e6288
jwilger changed title from Add Rust devtooling and lint guardrails to Add devtooling guardrails and Forgejo CI quality checks 2026-05-16 21:12:46 -07:00
Sign in to join this conversation.
No description provided.