From 4106d9054c5764ae3514173696ab399ab4dcde90 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 30 Nov 2026 15:49:01 +0000 Subject: [PATCH 1/2] Canonicalise repository-topics.json, widen own-JSON gate, define preview release docs/repository-topics.json was pretty-printed and failed the pinned check-ijson-jcs.sh --enforce gate. Canonicalise it, extend verify.sh's own-JSON gate to every tracked JSON directory so this cannot regress, and add docs/RELEASING.adoc defining a preview release. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01J4QvDfKxZUvbJnCSqMRg5v --- docs/RELEASING.adoc | 49 +++++++++++++++++++++++++++++++++++++ docs/repository-topics.json | 25 +------------------ scripts/standards/verify.sh | 5 ++-- 3 files changed, 53 insertions(+), 26 deletions(-) create mode 100644 docs/RELEASING.adoc diff --git a/docs/RELEASING.adoc b/docs/RELEASING.adoc new file mode 100644 index 0000000..ea0db75 --- /dev/null +++ b/docs/RELEASING.adoc @@ -0,0 +1,49 @@ +// SPDX-License-Identifier: MPL-2.0 +// SPDX-FileCopyrightText: 2026 Hyperpolymath Estate += Releasing ijson-jcs +:revdate: 2026-11-30 + +Owner ruling of 2026-11-30. Only the owner merges, tags, signs and publishes. + +== What "preview" means + +A *preview* is a signed tag `v0.1.0-preview.N` plus a GitHub pre-release. +Nothing else is a preview. There is no crates.io publication at this stage. +kyq pins ijson-jcs by commit, so a preview tag is a named, signed pointer at a +commit kyq may already pin; it does not change what kyq consumes. + +== Gates (all must hold on the tagged commit) + +. CI is green on `main` at that commit (`CI`, `Rust CI`, `Native platforms`). +. The RFC 8785 vectors (`tests/rfc8785.rs`) and the negative controls pass: + non-I-JSON input (duplicate keys, lone surrogates, truncated input, unsafe + integers) is refused with a non-zero exit. `cargo test --locked --all-features` + covers both. +. The pinned standards I-JSON/JCS gate passes on this repository itself: + `scripts/standards/verify.sh` runs `check-ijson-jcs.sh --enforce` over the + tracked JSON (`.ci`, `interop`, `docs`, `tests/fixtures/standards/good`) + and the `Standards pipeline` CI job runs it on every pull request and push. + A receipt from a real, accepted run is stored in `.ci/receipts/`. +. The release notes state that the proofs in `verification/PROOF-STATUS.adoc` + are still `OPEN` (no Creusot, Verus or Kani result exists), and that tests + are empirical evidence, not proof. + +== Owner checklist + +. Merge the pending standards proposal only after its required checks have run + and its commit is signed (the `Branch-Floor` ruleset requires both). +. Confirm the gates above on the exact commit to be tagged. +. Create the signed tag `v0.1.0-preview.N` from the owner's own session. Check + first that no tag ruleset blocks `v*`. At repository level none exists; + organisation rulesets must be checked by the owner. +. Publish a GitHub *pre-release* on that tag with the release notes above. + +== Owner-provisioned secrets (not worked around here) + +[cols="1,3",options="header"] +|=== +| Secret | Needed for +| `STANDARDS_UPDATE_TOKEN` | proposals whose pull requests trigger CI +| `STANDARDS_SIGNING_KEY`, `STANDARDS_SIGNING_KEY_ID` | signed proposal commits +| `KYQ_SYNC_TOKEN` | proposing the vector drop to metadatastician/kyq +|=== diff --git a/docs/repository-topics.json b/docs/repository-topics.json index f83b534..d5ba3e8 100644 --- a/docs/repository-topics.json +++ b/docs/repository-topics.json @@ -1,24 +1 @@ -{ - "names": [ - "ijson-jcs", - "i-json", - "jcs", - "rfc7493", - "rfc8785", - "rust", - "json", - "canonical-json", - "canonicalization", - "deterministic-builds", - "content-addressing", - "cli-tool", - "jsonl", - "json-ld", - "unicode", - "parser", - "property-testing", - "hyperpolymath", - "developer-tools", - "open-source" - ] -} +{"names":["ijson-jcs","i-json","jcs","rfc7493","rfc8785","rust","json","canonical-json","canonicalization","deterministic-builds","content-addressing","cli-tool","jsonl","json-ld","unicode","parser","property-testing","hyperpolymath","developer-tools","open-source"]} diff --git a/scripts/standards/verify.sh b/scripts/standards/verify.sh index 6b75ac7..5fcc5e3 100755 --- a/scripts/standards/verify.sh +++ b/scripts/standards/verify.sh @@ -195,9 +195,10 @@ expect_exit 2 "standards-gate-missing-tool" \ expect_exit 2 "standards-gate-missing-path" \ env IJSON_JCS="$binary" bash "$gate" "$tmpdir/does-not-exist" -# This repository's own machine-readable JSON is held to J-1 as well. +# This repository's own tracked JSON (.ci, interop, docs, the good fixtures) is +# held to J-1 as well; add a directory here when a new JSON file lands elsewhere. own_paths=() -for own in "$root/.ci" "$root/interop"; do +for own in "$root/.ci" "$root/interop" "$root/docs" "$root/tests/fixtures/standards/good"; do if [ -d "$own" ]; then own_paths+=("$own") fi From 7a74cd36fc36aff9e5a1e7ab646006e4a8f6606b Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 30 Nov 2026 15:53:37 +0000 Subject: [PATCH 2/2] docs: RELEASING.adoc states the real CI trigger and where the receipt lives Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01J4QvDfKxZUvbJnCSqMRg5v --- docs/RELEASING.adoc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/RELEASING.adoc b/docs/RELEASING.adoc index ea0db75..76c92a5 100644 --- a/docs/RELEASING.adoc +++ b/docs/RELEASING.adoc @@ -22,8 +22,13 @@ commit kyq may already pin; it does not change what kyq consumes. . The pinned standards I-JSON/JCS gate passes on this repository itself: `scripts/standards/verify.sh` runs `check-ijson-jcs.sh --enforce` over the tracked JSON (`.ci`, `interop`, `docs`, `tests/fixtures/standards/good`) - and the `Standards pipeline` CI job runs it on every pull request and push. - A receipt from a real, accepted run is stored in `.ci/receipts/`. + and the `Standards pipeline` CI job runs it on every pull request and on every + push to `main` (not on pushes to other branches without a pull request). CI + writes the receipt to `target/ci/receipt.json` and publishes it as a + `standards-receipt` notice; it does not store it in `.ci/receipts/`. For the + tagged commit, keep that receipt and check that its `source.commit` equals the + tagged commit. If it is committed to `.ci/receipts/`, it describes an earlier + commit, so it is stored in a separate commit from the one it describes. . The release notes state that the proofs in `verification/PROOF-STATUS.adoc` are still `OPEN` (no Creusot, Verus or Kani result exists), and that tests are empirical evidence, not proof.