book/chapters/howto/administrators/code-to-data-execution.qmd
Michael Hanke dd90c76ce5
Some checks failed
Lint / Lint with vale (push) Failing after 28s
Lint / Lint with codespell (push) Successful in 33s
Build and publish / Build site and deploy on success (push) Successful in 1m18s
feat: code2data pattern
This is mostly a stress-test of the book's didactic and structural
concepts. This is, by design, no howto. But it appears to fit relatively
nicely in the existing scaffold.
2026-11-16 20:12:22 +01:00

18 lines
1.6 KiB
Text

# Operate a code-to-data execution service
::: {.callout-note}
Structural stub — outline only. Content still to be authored.
:::
Stand up the side of a site that runs other people's pipelines against data those people may not receive. **Described by:** the [code to data pattern](../../patterns/code-to-data.qmd).
TODO — the concrete steps follow against a real holder's infrastructure. The operation will cover, at least:
- registering a [Forgejo runner](../../reference/roster/forgejo-runner.qmd) on compute that can reach the protected store, and scoping it to the team permitted to dispatch there;
- configuring which [git-annex](../../reference/roster/git-annex.qmd) remotes the instance and the runner trust, and over which transports, so that content is retrievable *only* inside the runner's execution context;
- preparing and publishing surrogate data for a collection, with a version and a stated tie to what it stands in for;
- the submission repository layout and the review path on [forgejo-aneksajo](../../reference/roster/forgejo-aneksajo.qmd) — branch protection, who may approve, and what an approval pins;
- the egress policy: which paths a run may write, who reads them before return, and how that gate is enforced in the workflow rather than in good intentions;
- returning approved artifacts as a dataset state the author can cite and re-run.
**Constraints this operation is unusually sensitive to:** runner scope is the site's sharpest access-control tool — a mis-scoped runner defeats the whole posture; and the throughput-limiting resource is the human reviewer of returned artifacts, not the compute.