feat(peer)!: cut over to authenticated catalog sharing

Replace address-only trust and pushed peer state with installation identities,
SPKI-pinned QUIC, candidate-only discovery, and bounded responder-owned
protocol-8 pulls. The runtime now owns each network generation and all admitted
work through shutdown.

Add exact bundled content identities, reproducible manifest publishing,
capability-confined downloads, streaming BLAKE3 verification, quarantine and
retry, and crash-recoverable download and install transactions. Ship generated
fixture catalogs and fail closed when production manifests are absent.

The Tauri backend exposes durable sharing policy, redacted identity state, and
attempt-keyed transfer snapshots. Frontend consumption follows in the next
commit. Repository-wide test certificates and protocol-7 paths are removed.

BREAKING CHANGE: peers must use protocol 8 and exact catalog content artifacts;
protocol-7 frames and shared-certificate identities are no longer accepted.

Test Plan:
- `just test` -- passed on the completed stack (708 workspace tests)
- `just clippy` -- passed on the completed stack
- `just build` -- passed with fixture catalogs on the completed stack
- `just catalog-check-production` -- failed closed because the external
  production manifest corpus is absent
- `git diff --cached --check` -- passed
This commit is contained in:
2026-08-10 13:59:18 +02:00
parent 36c4785775
commit 60fd7ba0c2
128 changed files with 51759 additions and 10784 deletions
Binary file not shown.
@@ -0,0 +1 @@
{"schema_version":1,"games":{"cnctw":{"game_version":"20160128","content_id":"c572c586174ceb5c40bd15e8b02784b3159464c4f8c87a9b62a4d6ed801be4d5","supports_streamed_install":true}}}
@@ -0,0 +1,53 @@
{
"schema_version": 1,
"game_id": "cnctw",
"game_version": "20160128",
"chunk_size": 134217728,
"files": [
{
"canonical_path": "cnctw.eti",
"kind": "file",
"size": 311,
"file_blake3": "a6e31754a470b0d8001040b2eece106c0becd84d50a18b03faae1bc7a8df4e43",
"chunk_blake3": [
"a6e31754a470b0d8001040b2eece106c0becd84d50a18b03faae1bc7a8df4e43"
]
},
{
"canonical_path": "version.ini",
"kind": "file",
"size": 8,
"file_blake3": "995b0db832e29dbb6025f31b7aa8f1e842151971fac3ea7d6cac2c287f2ce64a",
"chunk_blake3": [
"995b0db832e29dbb6025f31b7aa8f1e842151971fac3ea7d6cac2c287f2ce64a"
]
}
],
"streamed_install_files": [
{
"canonical_path": "bin",
"kind": "directory",
"size": 0,
"file_blake3": null
},
{
"canonical_path": "bin/cnctw-solid-payload.bin",
"kind": "file",
"size": 40,
"file_blake3": "5ed7b587a848236aa68465d2729358beaec595be9edfaea6a20f66fcb03b9a7c"
},
{
"canonical_path": "data",
"kind": "directory",
"size": 0,
"file_blake3": null
},
{
"canonical_path": "data/cnctw-solid-assets.dat",
"kind": "file",
"size": 78,
"file_blake3": "183868e423478db1e256fd1c3dd3b1b767acb747b4fde1985db56387e418185c"
}
],
"content_id": "c572c586174ceb5c40bd15e8b02784b3159464c4f8c87a9b62a4d6ed801be4d5"
}