diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 2b0a1d52b..06e7f3e02 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -219,7 +219,7 @@ Both are FOSS with independent governance (no Big Tech). ### Package Management - **Primary**: Guix (guix.scm) -- **Fallback**: Nix (flake.nix) +- **Nix**: retired — `flake.nix` is not accepted by Governance / Guix packaging policy; a repo with no `guix.scm` packages through a working Containerfile instead - **JS deps**: **Bun** (`package.json` + `bun.lock`); `bunx ` to run one-off tooling ### Documentation Format diff --git a/.machine_readable/REGISTRY.a2ml b/.machine_readable/REGISTRY.a2ml index 008927d55..01c85cef7 100644 --- a/.machine_readable/REGISTRY.a2ml +++ b/.machine_readable/REGISTRY.a2ml @@ -207,7 +207,7 @@ name = "RSR — Rhodium Standard Repositories" stream = "governance" home = "rhodium-standard-repositories/" canonical_doc = "rhodium-standard-repositories/README.adoc" -source_hash = "sha256:dcd870a92e82159d764a26bf6ca4f37d2cdbf9c418561dc51fc5bc2ab28279f9" +source_hash = "sha256:8bcf1e52445efa2c7f9c83850ca98f7a92190230b76f897d8442c5a377e74c39" route = "the repository-compliance standard every repo is graded against" [[spec]] diff --git a/rhodium-standard-repositories/rsr-audit.sh b/rhodium-standard-repositories/rsr-audit.sh index c84c941e9..d0d0b1687 100755 --- a/rhodium-standard-repositories/rsr-audit.sh +++ b/rhodium-standard-repositories/rsr-audit.sh @@ -204,10 +204,10 @@ check_command_exists() { audit_category_1_infrastructure() { log_section "Category 1: Foundational Infrastructure" - # Nix flakes - check_file_exists "flake.nix" "Nix flake configuration present" - check_file_exists "flake.lock" "Nix flake lockfile present" - check_file_contains "flake.nix" "description" "flake.nix has description field" + # Guix (Nix is retired estate-wide) + check_file_exists "guix.scm" "Guix package definition present" + check_file_contains "guix.scm" "(name " "guix.scm declares a package name" + check_file_contains "guix.scm" "license" "guix.scm declares a license" # Justfile check_file_exists "justfile" "Justfile present" @@ -407,9 +407,9 @@ audit_category_4_architecture() { # Reversibility (Git-based) check "Reversibility: Git repository" test -d "$REPO_PATH/.git" - # Build reproducibility (Nix) - if [[ -f "$REPO_PATH/flake.nix" ]]; then - check "Reproducible builds: Nix flakes" true + # Build reproducibility (Guix) + if [[ -f "$REPO_PATH/guix.scm" ]]; then + check "Reproducible builds: Guix" true fi # Documentation of architecture @@ -612,9 +612,9 @@ audit_category_9_lifecycle() { check_file_contains "CHANGELOG.md" "\\[.*\\]" "CHANGELOG uses version brackets" fi - # Pinned versions (Cargo.lock, flake.lock, etc.) + # Pinned versions (Cargo.lock, bun.lock, etc.) local has_lockfile=false - if [[ -f "$REPO_PATH/Cargo.lock" ]] || [[ -f "$REPO_PATH/flake.lock" ]] || [[ -f "$REPO_PATH/mix.lock" ]]; then + if [[ -f "$REPO_PATH/Cargo.lock" ]] || [[ -f "$REPO_PATH/bun.lock" ]] || [[ -f "$REPO_PATH/mix.lock" ]]; then log_success "Dependency lockfile present (pinned versions)" PASSED_CHECKS=$((PASSED_CHECKS + 1)) has_lockfile=true diff --git a/rhodium-standard-repositories/ux-test-harness/run-ux-test.sh b/rhodium-standard-repositories/ux-test-harness/run-ux-test.sh index 57e2ad9c2..3ed932f7f 100755 --- a/rhodium-standard-repositories/ux-test-harness/run-ux-test.sh +++ b/rhodium-standard-repositories/ux-test-harness/run-ux-test.sh @@ -138,15 +138,15 @@ MR="$REPO_DIR/.machine_readable" [ -f "$MR/ADJUST.contractile" ] && record "adjust_contractile" "pass" "ADJUST.contractile present" \ || record "adjust_contractile" "warn" "ADJUST.contractile missing" -# --- Phase 5: Guix/Nix environment --- +# --- Phase 5: Guix environment (Nix is retired) --- echo "" >&2 echo "Phase 5: Reproducible environment" >&2 [ -f "$REPO_DIR/guix.scm" ] && record "guix" "pass" "guix.scm present" \ || record "guix" "warn" "guix.scm missing" -[ -f "$REPO_DIR/flake.nix" ] && record "nix" "pass" "flake.nix present" \ - || record "nix" "warn" "flake.nix missing" +[ -f "$REPO_DIR/flake.nix" ] && record "nix" "warn" "flake.nix present (Nix is retired; remove it)" \ + || record "nix" "pass" "no flake.nix" # --- Phase 6: LLM warmup --- echo "" >&2