Skip to main content

csoai-gspc

mcp-name: io.github.CSOAI-ORG/csoai-gspc

Read the live GSPC AI-governance board and verify its Ed25519-signed measurement cards.

PyPI version PyPI downloads License board DOI 10.5281/zenodo.21991104 (UNCHECKABLE: Zenodo record returns 410 (deleted, account blocked) since 29 Sep 2026; live methodology: https://councilof.ai/methodology/)

GET https://councilof.ai/api/gspc is the authority. This package is a reader: it never caches a verdict, never prints a number the board did not return, and reports three states and only three.

pip install "csoai-gspc[verify]"

The verify extra pulls in cryptography for the Ed25519 check. Without it the library still reads the board; card verification then returns UNCHECKABLE, which is the honest answer and not a silent pass.

Three states, never two

state means
VALID the body reproduces its id and the signature verifies under the pinned key
INVALID the card fails the rule — altered body, wrong key, bad signature
UNCHECKABLE the check could not complete — no Ed25519 backend, unfetchable card, malformed file

UNCHECKABLE is a different claim from INVALID. "I could not check" is not "it is forged", and this library never collapses the two. bool(verdict) is true only for VALID.

Command line

$ csoai-gspc check
{"agree": true, "printed_slots": …, "printed_measured": …,
 "derived_slots": …, "derived_measured": …, ...}   # the numbers are whatever the live array holds
OK — the printed totals are derived from the axis array, not typed.

$ csoai-gspc board          # every slot, its bench, its n, its frozen bank
$ csoai-gspc axis governance
$ csoai-gspc verify acf6bf0356123632758bf6c98c83d81c7a8392c3b111b311317c516cc65133a4
VALID — acf6bf0356123632 · id and signature check under the pinned key
$ csoai-gspc root           # the Merkle root over the published cards
$ csoai-gspc snapshot       # the dated snapshot bundled with this release — not the live GET

check exists because a headline count is worth nothing if it was typed. It fetches the board, recomputes the slot and measured counts from the axis array, and exits non-zero if the printed totals disagree — so you can refute us with our own payload.

Library

from csoai_gspc import fetch_board, check_totals, get_axis, fetch_card, verify_card, pinned_key

board = fetch_board()
assert check_totals(board)["agree"]

gov = get_axis("governance", board)
print(gov["bench"], gov["n"], gov["status"])     # bench, n and status exactly as the board carries them

key = pinned_key()                                # from https://councilof.ai/.well-known/did.json
v = verify_card(fetch_card("acf6bf03…65133a4"), key)
print(v.state, v.reason)

Pin the key. This step is not optional

A card carries its own pubkey. Verifying a card against the key it ships with proves only that the file is self-consistent — anyone can alter a body, sign it with a key made a second ago, and have it "verify". pinned_key() reads did:web:csoai.org#card-attestation-1 from the published DID document, and verify_card returns INVALID when a card's key is not that one.

Why this library is written in Python

The published preimage rule is CPython's own serialiser:

json.dumps(body, sort_keys=True, separators=(",", ":"), ensure_ascii=True).encode("utf-8")

CPython renders a float of integral value as 0.0. ECMAScript JSON.stringify, Go's encoding/json and RFC 8785 (JCS) all render the same value as 0. A naive verifier in those languages computes a different preimage and reports a false failure on roughly a third of the published set. In Python the rule reproduces exactly, so this package needs no canonicalisation shim — and you should not re-canonicalise a published card with JCS.

Tests run against the published bytes

There are no fixtures and no mocks. The suite fetches the real DID document and a real card, asserts the documented key, asserts the preimage rule reproduces the published id, and asserts that altering one character or substituting the key is loud.

What this is not

Not a certification, not a rating, not an endorsement, and not legal advice. A card is evidence of what specific bytes scored on a frozen bank at a specific time. No slot is for sale.

Lid: printed live by csoai-gspc board — totals.lid verbatim, never typed here.

Issued by CSOAI Ltd (England & Wales, Companies House 16939677), 3rd Floor, 86–90 Paul Street, London EC2A 4NE. Apache-2.0.

Bundled snapshot — as of 2026-11-01T01:11:03Z

23 axes measured · 14 model comparisons: 0 separated · 7 TIE · 7 UNTESTED · 9 fact runs · TIE is TIE · not a certificate.

This release ships a dated snapshot of the board at csoai_gspc/snapshot/ (board.json, root.json, SNAPSHOT.json), read at 2026-11-01T16:23:57Z. csoai-gspc snapshot prints it. Every other command still reads the live GET at request time; the live GET is the authority and this bundle is only what it said on that day. spray-fingerprint: 64ff745b67a63fc4f72ffd94594df8a3c643fb37c00bcf5165b5c9eb92d8c365

spray-source-version: 0.2.20261007.1 (the package source this release's code was built from)

Metadata

Release files for csoai-gspc 0.2.20261101

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for csoai-gspc 0.2.20261101
File Size Uploaded Provenance Actions
csoai_gspc-0.2.20261101.tar.gz 65.4 kB Without provenance Details for csoai_gspc-0.2.20261101.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for csoai-gspc 0.2.20261101
File Interpreter ABI Platform Actions
csoai_gspc-0.2.20261101-py3-none-any.whl Python 3 none any Details for csoai_gspc-0.2.20261101-py3-none-any.whl

Total release size: 128.3 kB

Release files / csoai_gspc-0.2.20261101.tar.gz

Download URL csoai_gspc-0.2.20261101.tar.gz
Size 65.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2663ff86f21ad16e7e5d910f9b0d00a0ebeaa06349e945c206c4907f35a6e343
BLAKE2b-256 checksum
How to use checksums
77735e97575154a934b21427fccb7f7abebe21a0795737bbc3f31fb7b30a2934
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / csoai_gspc-0.2.20261101-py3-none-any.whl

Download URL csoai_gspc-0.2.20261101-py3-none-any.whl
Size 62.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11436bc6ca3f5b37eeff58027c448dbd30b82ee330f00a40d18a85148ff9fa1e
BLAKE2b-256 checksum
How to use checksums
b32af60a4fe1a0c4305db5543ae728c6371c489987c16af7f6b33d602400dd5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for csoai-gspc 0.2.20261101

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page