Run the IRIS CDN export
Dispatch iris-cdn.yml: the nightly change ingest or the weekly reconciliation of the IRIS CDN (scripts/iris-cdn/run.ts), then verify the signed release. Started with the standard GitHub CLI; the run is watched with gh run watch.
Skills it satisfies
A skill states the capability; this Tool is one way to exercise it. Each skill’s declared input and output contract follows, where it has one.
iris-cdn-exporter
The IRIS CDN Exporter agent — how WHO IRIS is exported onto Cloudflare — a git repository on Cloudflare Artifacts and R2 behind the CDN — with an initial load (metadata and PDFs), a nightly change ingest over the DSpace REST API, a weekly reconciliation, and one signed release per run. What the agent decides, what the pipeline does, and the no-churn rule both obey.
Source: who-iris/skills/iris-cdn-exporter.md.
The skill declares no I/O contract (schemas/skills/iris-cdn-exporter/{input,output}.schema.json).
Inputs and outputs
Each port names a shared type by IRI, so two Tools for one skill can be checked for interchangeability.
| port | type | required | description | constraint | |
|---|---|---|---|---|---|
| in | repo | RepoFullName | The repository whose workflow is run. Default: the current one. | string · pattern ^[A-Za-z0-9][A-Za-z0-9._-]*\\/[A-Za-z0-9][A-Za-z0-9._-]*$ · A forge repository’s full name, owner/name | |
| in | ref | Branch | The branch to run it on. Default: the default branch. | string · pattern ^[A-Za-z0-9][A-Za-z0-9._/-]*$ · A git branch name | |
| out | run | Text | The dispatched run; its outcome is read with gh run watch or gh run view. | string · A short single-line human string. Not admissible as a command-line argument. |
Processes and tasks
Steps this Tool can carry out, because each names a skill it satisfies:
| process | step | lane | via skill |
|---|---|---|---|
| IRIS CDN initial load | State scope and budget, with denominators | Owner | iris-cdn-exporter |
| IRIS CDN initial load | Plan batches by community and collection | IRIS CDN Exporter (agent) | iris-cdn-exporter |
| IRIS CDN initial load | Fetch bitstreams not already held | Build pipeline | iris-cdn-exporter |
| IRIS CDN initial load | Store bytes under SHA-256 (skip if held) | Build pipeline | iris-cdn-exporter |
| IRIS CDN initial load | Commit the batch checkpoint | Build pipeline | iris-cdn-exporter |
| IRIS CDN initial load | Quarantine and report the mismatch | Build pipeline | iris-cdn-exporter |
| IRIS CDN initial load | Review the load report; open beans for gaps | IRIS CDN Exporter (agent) | iris-cdn-exporter |
| IRIS CDN nightly change ingest | Fetch only bitstreams whose checksum changed | Build pipeline | iris-cdn-exporter |
| IRIS CDN nightly change ingest | Write canonical records into the library | Build pipeline | iris-cdn-exporter |
| IRIS CDN nightly change ingest | Review the run report; open beans for anomalies | IRIS CDN Exporter (agent) | iris-cdn-exporter |
| IRIS CDN weekly reconciliation | Treat the listing as faulty; escalate | IRIS CDN Exporter (agent) | iris-cdn-exporter |
| Sign and publish an IRIS CDN release | Store new objects (never overwrite) | Release signer | iris-cdn-exporter |
How it is deployed and reached
- Command line. From the repository root:
gh workflow run iris-cdn.yml. - GitHub Actions. No workflow in this checkout runs its command.
As an API: its operation in the OpenAPI document and the MCP tool list of its layer.
| install | cli: gh |
| runtime | gh |
| network | yes |
When a host it reaches is refused:
| host / error | remedy |
|---|---|
github.com | none: The workflow runs on GitHub; with no host there is nothing to dispatch. The scripts it runs can still be run locally. |
| when to choose it | |
|---|---|
| when | Running the IRIS CDN nightly ingest or reconciliation on demand instead of waiting for its schedule. Pass the mode with -f mode=nightly or -f mode=reconcile. |
| limits | Needs a token that may dispatch workflows (actions: write) on the repository. |
| cost | A CI run on GitHub’s runners. |
What it is made of
| role | file | |
|---|---|---|
| definition | who-iris/tools/ci-iris-cdn/ci-iris-cdn.json |
Linked data
The Tool is published as its own JSON-LD document at its IRI, https://litlfred.github.io/folio-assistant/who-iris/tools/ci-iris-cdn.jsonld, partOf its layer’s document. The node below is the definition this page was drawn from, and is embedded in the page as application/ld+json.
{
"@context": "https://litlfred.github.io/folio-assistant/who-iris/who-iris.context.jsonld",
"@id": "https://litlfred.github.io/folio-assistant/who-iris/tools/ci-iris-cdn.jsonld",
"@type": "https://litlfred.github.io/cat-harness/v0/ns/Tool",
"partOf": "https://litlfred.github.io/folio-assistant/who-iris/who-iris.jsonld",
"name": "ci-iris-cdn",
"title": "Run the IRIS CDN export",
"description": "Dispatch `iris-cdn.yml`: the nightly change ingest or the weekly reconciliation of the IRIS CDN (`scripts/iris-cdn/run.ts`), then verify the signed release. Started with the standard GitHub CLI; the run is watched with `gh run watch`.",
"install": {
"cli": "gh"
},
"invoke": {
"shell": "gh workflow run iris-cdn.yml"
},
"io": {
"inputs": [
{
"name": "repo",
"schema": "https://litlfred.github.io/folio-assistant/cat-harness/tool-types.schema.json#/$defs/RepoFullName",
"description": "The repository whose workflow is run. Default: the current one.",
"required": false,
"arg": {
"flag": "--repo"
}
},
{
"name": "ref",
"schema": "https://litlfred.github.io/folio-assistant/cat-harness/tool-types.schema.json#/$defs/Branch",
"description": "The branch to run it on. Default: the default branch.",
"required": false,
"arg": {
"flag": "--ref"
}
}
],
"outputs": [
{
"name": "run",
"schema": "https://litlfred.github.io/folio-assistant/cat-harness/tool-types.schema.json#/$defs/Text",
"description": "The dispatched run; its outcome is read with `gh run watch` or `gh run view`."
}
]
},
"satisfies": [
"iris-cdn-exporter"
],
"requirements": {
"runtime": [
"gh"
],
"network": true
},
"remedies": [
{
"host": "github.com",
"none": "The workflow runs on GitHub; with no host there is nothing to dispatch. The scripts it runs can still be run locally."
}
],
"selection": {
"when": "Running the IRIS CDN nightly ingest or reconciliation on demand instead of waiting for its schedule. Pass the mode with `-f mode=nightly` or `-f mode=reconcile`.",
"limits": "Needs a token that may dispatch workflows (actions: write) on the repository.",
"cost": "A CI run on GitHub's runners."
}
}