The overall architecture
Which isolation boundary limits access by an arbitrary build script?
The data contract leads to this topology: development interface → build API → job and authorisation store. The scheduler assigns attempts to isolated build workers. Workers read source control and write artifact bytes and provenance. A validation worker assesses the digest. The release API reads approval records → delivery adapter → target confirmation with digest. Internal modules are domain code boundaries; a separate process has its own operational lifecycle.
Starting point Bind completion to the current generation and deadline.
Assumptions for the example case
A fictional example design with one repository, a precisely specified build job, an isolated worker, an immutable artifact identified by digest and explicit release approval. Figures and quality goals are illustrative test assumptions. Full software supply-chain certification, production orchestration and arbitrary privileged builds are outside the scope.
Runtime architecture
Runtime architecture · Scheduler, isolated worker and digest path
Build platform
The scheduler assigns generations; workers read source and write artifacts with provenance; the release path reads the digest-bound approval record.
Domain modules within the application
Inside the build process · Five domain modules
Job intake and attempt scheduling constrain execution; artifact finalisation, validation and release bind the same digest.
Operational boundaries
- Runtime
- Development interface → build API → job and authorisation store. The scheduler assigns attempts to isolated build workers. Workers read source control and write artifact bytes and provenance. A validation worker assesses the digest. The release API reads approval records → delivery adapter → target confirmation with digest.
- Persistence
- Transactional datastore for build job B-151, build attempt and artifact A-151. Authoritative changes and retry results are stored together; external effects require their own evidence.
Isolate builds
Run workers without platform-wide permissions.
Source code may contain arbitrary build steps.
A build receives only required inputs and limited output paths.
- Alternative considered
- A shared privileged host expands the impact of a compromised build.
- Trade-off
- Isolation increases operational effort.
- Reassess
- An explicitly privileged build requires its own security boundary.
Terms in this step
- Isolate builds
- A build receives only required inputs and limited output paths.
Try it yourself
A build script tries to read unrelated platform data. Which boundary must prevent access?
A hint for your attempt
Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.
Compare with a possible solution
- First part of the solution
- The isolated worker receives only the source and output access needed by its own attempt.
- Second part of the solution
- Platform-wide permissions remain outside the worker. A build failure or untrusted script must not modify unrelated artifacts or jobs.
Apply to your project
Which corresponding assumption would you test first in your project? Consider this trigger: An explicitly privileged build requires its own security boundary.