From 62d0c4e8bed45231fce7f8ed34c4509756750289 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 13 Oct 2026 22:53:00 +0000 Subject: [PATCH 1/2] feat(crg): declare the repo's CRG grade in READINESS.md; fix crg-grade READINESS.md is the machine-readable grade declaration the CRG spec asks for (COMPONENT-READINESS-GRADES.adoc, "Machine-Readable Grade Declaration"). The repo that defines CRG had none, so `just crg-grade` fell back to X. The grade is C (owner ruling 2026-10-13): the latest assessment, 0-canon/CRG-SELF-ASSESSMENT.adoc (2026-04-09), which also lists the gaps to B. The file notes the earlier B assessment in component-readiness-grades/SELF-ASSESSMENT.adoc (2026-04-04) and that the later one governs. `just crg-grade` and `just crg-badge` never ran: they used Make's `$$` escape, which just does not have, so sh saw `grade=(grep ...)` and failed with a syntax error. They now use `$`. Checked with just 1.21: crg-grade prints C, crg-badge prints the yellow C badge, and both fall back to X without READINESS.md. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GqfpQtLuMczxtgG1U9PkLW --- Justfile | 14 +++++++------- READINESS.md | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+), 7 deletions(-) create mode 100644 READINESS.md diff --git a/Justfile b/Justfile index 147529df4..f789bb4cb 100644 --- a/Justfile +++ b/Justfile @@ -233,17 +233,17 @@ help-me: # Print the current CRG grade (reads from READINESS.md '**Current Grade:** X' line) crg-grade: - @grade=$$(grep -oP '(?<=\*\*Current Grade:\*\* )[A-FX]' READINESS.md 2>/dev/null | head -1); \ - [ -z "$$grade" ] && grade="X"; \ - echo "$$grade" + @grade=$(grep -oP '(?<=\*\*Current Grade:\*\* )[A-FX]' READINESS.md 2>/dev/null | head -1); \ + [ -z "$grade" ] && grade="X"; \ + echo "$grade" # Generate a shields.io badge markdown for the current CRG grade # Looks for '**Current Grade:** X' in READINESS.md; falls back to X crg-badge: - @grade=$$(grep -oP '(?<=\*\*Current Grade:\*\* )[A-FX]' READINESS.md 2>/dev/null | head -1); \ - [ -z "$$grade" ] && grade="X"; \ - case "$$grade" in \ + @grade=$(grep -oP '(?<=\*\*Current Grade:\*\* )[A-FX]' READINESS.md 2>/dev/null | head -1); \ + [ -z "$grade" ] && grade="X"; \ + case "$grade" in \ A) color="brightgreen" ;; B) color="green" ;; C) color="yellow" ;; \ D) color="orange" ;; E) color="red" ;; F) color="critical" ;; \ *) color="lightgrey" ;; esac; \ - echo "[![CRG $$grade](https://img.shields.io/badge/CRG-$$grade-$$color?style=flat-square)](https://github.com/hyperpolymath/standards/tree/main/component-readiness-grades)" + echo "[![CRG $grade](https://img.shields.io/badge/CRG-$grade-$color?style=flat-square)](https://github.com/hyperpolymath/standards/tree/main/component-readiness-grades)" diff --git a/READINESS.md b/READINESS.md new file mode 100644 index 000000000..e4e791655 --- /dev/null +++ b/READINESS.md @@ -0,0 +1,18 @@ + +# Readiness — standards + +**Current Grade:** C + +This is the repository's machine-readable CRG grade declaration, as +[COMPONENT-READINESS-GRADES.adoc](component-readiness-grades/COMPONENT-READINESS-GRADES.adoc) +asks for under "Machine-Readable Grade Declaration". `just crg-grade` and +`just crg-badge` read the line above. + +- **Evidence:** [0-canon/CRG-SELF-ASSESSMENT.adoc](0-canon/CRG-SELF-ASSESSMENT.adoc), + assessed 2026-04-09. It also lists what is still missing for Grade B. +- **Earlier assessment:** [component-readiness-grades/SELF-ASSESSMENT.adoc](component-readiness-grades/SELF-ASSESSMENT.adoc) + records Grade B, assessed 2026-04-04. The later assessment governs. +- **Declared:** 2026-10-13, by owner ruling. + +When the grade changes, update the `**Current Grade:**` line and the evidence +it points to in the same change. From 19fac8b92413a80ed9d6c33c906cbede7fc94eb6 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 13 Oct 2026 22:54:18 +0000 Subject: [PATCH 2/2] docs(signed-push): license the README as CC-BY-SA-4.0 The README is prose documentation, which LICENCE-POLICY Rule 1 puts under CC-BY-SA-4.0. It was given MPL-2.0 in error when it was added in #1233. Owner-approved change to this one file (2026-10-13). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GqfpQtLuMczxtgG1U9PkLW --- .github/actions/signed-push/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/signed-push/README.md b/.github/actions/signed-push/README.md index c91783be6..8a7a9812a 100644 --- a/.github/actions/signed-push/README.md +++ b/.github/actions/signed-push/README.md @@ -1,4 +1,4 @@ - + # `signed-push` — verified commits from CI/AI tooling Estate composite action that pushes a branch's local commits as GitHub **Verified**