Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions docs/RELEASING.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
// 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 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.

== 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
|===
25 changes: 1 addition & 24 deletions docs/repository-topics.json
Original file line number Diff line number Diff line change
@@ -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"]}
5 changes: 3 additions & 2 deletions scripts/standards/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading