-
-
Notifications
You must be signed in to change notification settings - Fork 0
policy: Nix is not a fallback — align the stragglers with LANGUAGE-POLICY §2.1 #671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -73,7 +73,7 @@ capability set drives everything else. | |||||
| .3+| Distribution | ||||||
| | `published-package` | it publishes to a registry (crates.io / Hackage / JSR). | ||||||
| | `container` | it ships a container image. | ||||||
| | `reproducible-build` | it provides a Guix/Nix reproducible build. | ||||||
| | `reproducible-build` | it provides a Guix reproducible build. | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift 🔎 Supported by static analysis🏁 Script executed: #!/bin/bash
set -eu
printf '%s\n' '--- TEMPLATE-APPLICABILITY-POLICY.adoc ---'
sed -n '60,120p' TEMPLATE-APPLICABILITY-POLICY.adoc
printf '%s\n' '--- EXPLAINME.adoc ---'
sed -n '42,62p' EXPLAINME.adoc
printf '%s\n' '--- direct definitions and consumers ---'
rg -n -C 3 --glob '!node_modules' \
'reproducible-build|build/guix\.scm|\.guix-channel|flake\.nix|R-031|rsr-self-compliance|check-package-policy' \
TEMPLATE-APPLICABILITY-POLICY.adoc EXPLAINME.adoc scripts hypatia-rules . 2>/dev/null | head -n 500Repository: hyperpolymath/standards Length of output: 42471 🏁 Script executed: #!/bin/bash
set -eu
printf '%s\n' '--- package policy implementation ---'
sed -n '100,225p' scripts/check-package-policy.sh
printf '%s\n' '--- RSR profile implementation ---'
sed -n '1,180p' scripts/check-rsr-profile.sh
printf '%s\n' '--- self-compliance rule ---'
sed -n '1,75p' hypatia-rules/rsr-self-compliance.a2ml
printf '%s\n' '--- diff for cited and directly bound files ---'
git diff -- TEMPLATE-APPLICABILITY-POLICY.adoc EXPLAINME.adoc scripts/check-package-policy.sh scripts/check-rsr-profile.sh hypatia-rules/rsr-self-compliance.a2ml | sed -n '1,260p'Repository: hyperpolymath/standards Length of output: 16230 🏁 Script executed: #!/bin/bash
set -eu
printf '%s\n' '--- machine-readable capability gates ---'
sed -n '1,180p' .machine_readable/template-capability-gates.toml
printf '%s\n' '--- references to HYP-S004 and required_files ---'
rg -n -C 4 --glob '!node_modules' \
'HYP-S004|rsr-self-compliance\.a2ml|`@required_files`|required_files|compliance\.finding\.new' \
.github hypatia-rules scripts .machine_readable README.adoc EXPLAINME.adoc 2>/dev/null | head -n 400
printf '%s\n' '--- repository state and parent diff summary ---'
git status --short
git diff --stat HEAD^ HEAD 2>/dev/null || true
git diff HEAD^ HEAD -- TEMPLATE-APPLICABILITY-POLICY.adoc EXPLAINME.adoc hypatia-rules/rsr-self-compliance.a2ml scripts/check-package-policy.sh scripts/check-rsr-profile.sh 2>/dev/null | sed -n '1,300p'Repository: hyperpolymath/standards Length of output: 22594 Remove Nix success paths from the enforcement data. The cited documentation is Guix-only, but 📍 Affects 2 files
🤖 Prompt for AI Agents |
||||||
|
|
||||||
| .2+| Governance tier | ||||||
| | `governance-tier` | it is load-bearing/critical enough to carry the full `AUDIT` / `AFFIRMATION` / `GOVERNANCE` / `MAINTAINERS` trio. Small leaf repos may decline it. | ||||||
|
|
@@ -106,7 +106,7 @@ and the SPDX licence invariant (`LICENCE-POLICY.adoc`). | |||||
| | `verification/proofs/**`, proof-CI | `formal-proofs` | ||||||
| | service e2e, `.github/workflows/e2e.yml` | `api-service` | ||||||
| | `container/`, `Containerfile` | `container` | ||||||
| | `build/guix.scm`, `flake.nix`, `.guix-channel` | `reproducible-build` | ||||||
| | `build/guix.scm`, `.guix-channel` | `reproducible-build` | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 MEDIUM RISK Add the root-level
Suggested change
|
||||||
| | mobile shell (Tauri/Dioxus) | `mobile` | ||||||
| | `affinescript/` subtree | `affinescript` | ||||||
| | `benches/` | `benchmarks` | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: hyperpolymath/standards
Length of output: 50379
🌐 Web query:
GNU Guix manual guix shell no arguments automatic manifest discovery guix.scm -D -f💡 Result:
When invoked interactively without arguments, guix shell automatically attempts to discover and load a manifest.scm or guix.scm file from the current directory or its parent directories [1][2]. This automatic discovery behaves as follows: 1. Search Order: guix shell searches for these files in the current working directory or any of its parent directories [1][2][3]. 2. File Priority: If both a manifest.scm and a guix.scm exist, they are honored in a specific order (manifest.scm is typically prioritized) [4][3]. 3. Behavior: - If it finds a manifest.scm, it uses the file as if it were provided via the --manifest option [2][3]. - If it finds a guix.scm, it uses it to build a development environment as if both --development and --file were provided [2][3]. 4. Security Requirement: For security reasons, these files are only automatically loaded if the directory in which they reside is explicitly listed in the ~/.config/guix/shell-authorized-directories file [1][5]. If the directory is not authorized, guix shell will warn you and provide a hint on how to add it [6][7]. This feature is designed for interactive use; it is ignored in non-interactive contexts [8][6]. If no such file is found or authorized, guix shell creates an empty environment by default [9][10].
Citations:
🏁 Script executed:
Repository: hyperpolymath/standards
Length of output: 2311
Use an explicit Guix file in each setup guide.
Replace the bare command with
guix shell -D -f guix.scminCONTRIBUTING.adocandQUICKSTART-DEV.adoc. Ink9-svc/CONTRIBUTING.adoc, useguix shell -D -f ../guix.scmafter enteringk9-svc;k9-svc/guix.scmdoes not exist.Bare
guix shelldepends on automatic discovery and directory authorisation. Without authorisation, Guix may create an empty environment.📍 Affects 3 files
CONTRIBUTING.adoc#L5-L7(this comment)QUICKSTART-DEV.adoc#L26-L30k9-svc/CONTRIBUTING.adoc#L6-L8🤖 Prompt for AI Agents
Source: MCP tools