Publish a first package
A publisher has the credentials with the publish feature and wants one tool version available to the whole organization.
You runaidc-pack build, inspect and verify for the version, then an upload to your AIDC Server's API.
aidc-pack publish always sends to the MAIT Hub of your release channel, so for your own AIDC Server you upload through the API. The upload below needs your AIDC Server and a publisher credential.
MANIFEST_HEADER=$(base64 -w0 packages/nodejs/22.23.3/nodejs-22.23.3-linux-amd64.manifest.json) curl --fail-with-body --cacert server-trust.pem --cert publisher.pem --key publisher-key.pem \ -H "X-Package-Manifest: $MANIFEST_HEADER" \ -F "package=@packages/nodejs/22.23.3/nodejs-22.23.3-linux-amd64.tar.zst" \ https://hub.example.com:8443/api/v1/packages/nodejs/22.23.3
Hand your AIDC Server to people and pipelines
The server answers, and developers and pipelines should use it instead of the MAIT Hub.
You runnothing on the server; you give each client three things and test one request from its own machine.
Download and verify as a developer
A developer or pipeline needs one exact variant of a tool, and must know the bytes are the ones the server signed.
You runA catalogue lookup, a metadata request and a download, then the verification your tooling performs against the keys the server serves.
Rotate the signing key
Your key-management schedule calls for a new signing key, or the data volume or a backup may have been exposed.
You runaidc-server keys status, keys rotate with a description you will recognise, then keys status and keys list again.
Reclaim storage with retention
The data volume is filling up with old patch releases that nobody installs.
You runaidc-server recommended sync --file aidc.recommended, then aidc-server prune keep-recommended as a preview, then the same command with --execute.
Check package integrity
After a storage incident, or on a routine check, you want to know that every listed package still has its archive and manifest and still matches its recorded checksum.
You runaidc-server consistency check, optionally with --tool and --version.