Three unrelated trust-anchor defects:
- exports: /api/v1/exports/nodes.* set a 15-minute public cache with no
visibility key. Add a generation-derived weak ETag, Vary, X-Visibility-
Generation, optional v= with 412 + no-store on mismatch, 60s max-age, and a
post-query generation re-read that downgrades mid-flight redactions. A
generation read failure is 503 + no-store instead of a cached 200.
- release: keyless signing moved out of the image matrix into a sign job
restricted to refs/tags/v*, behind the release-signing environment, with an
in-script ref check as defence in depth. Branch dispatches still build.
- restore: the drill no longer copies the verify key into the receipt
directory. Both sides require an out-of-band sha256 pin, reject a key inside
the receipts tree (including symlinks), and fail closed on mismatch. Compose
mounts the key from its own directory and passes the pin.
Docs updated for the new key layout and pin.
Audit: backend/src/api/routes/exports.ts:nodes-export:public-cache-not-keyed-to-visibility-generation
supply-chain/release-workflow:keyless-signing-identity-not-bound-to-release-ref
ukmesh/restore-receipt-verify-key-published-with-receipt
Bring main up to date with the live UKMesh production tree, reconciled
per-file (tree-wins for deployed features; main-wins where main evolved
past the tree's lineage; hand-merges for mixed files). Verified locally
on the deploy host: backend + frontend typechecks, backend unit suite
(543 pass / 0 fail), frontend suite (147 pass / 0 fail), OpenAPI
contract check, frontend production build, scripts typecheck.
Highlights:
- Deployed features land: tags + recent tags, owner public feed,
Viterbi path prewarm and prior rebuilds, region participation,
owner packet-sharing JWT scope, pathing docs, README updates.
- Main-side hardening retained: CI RAM steps + smoke cleanup trap,
hardened scripts, gitleaks/logging rules, stale-MQTT observer
protections, alert-receiver queue module, health-status refactor
with tree retention additions (owner_packet_share_deliveries +
public_feed_deliveries @30d, node_status_samples @30d — matching
live TimescaleDB policies).
- Credential-generation client close restored on the tree's ownerAccess
so the operator revocation tool (owner-auth:revoke) keeps working.
- Migrations renumbered to follow main's 058/059 ledger migrations:
055_public_feed, 060_region_scope_participation,
061_packet_share_owner_scope_and_jwt; migration-registry test
assertions updated to the final numbering.
- Planning/report artifacts removed from the repo; local plans/, *.bak*
patterns gitignored (deploy tree tidied to match).