SYSE.30:4.3 - Construct one controlled execution
When a build procedure is needed, use an adequate existing one or turn the recovered instructions into an executable procedure with explicit inputs and outputs. For a controlled execution, start in a clean workspace and obtain the named inputs. Prevent an undeclared local file or an unbounded “latest” dependency from silently changing the result. Keep secrets outside public logs and use the authorized access mechanism.
Treat caches according to their role. An identified dependency cache can supply a known input; an old final package cannot demonstrate that the present build procedure works. For the reconstruction check, execute the relevant build work rather than copy a previously produced output. If complete isolation is expensive, state which remaining influences are controlled, observed or unresolved.
Link the resulting artifact identities to the execution that produced them and to the inputs it used. SYSE.13 supplies configuration identity. A successful exit without the promised output is not successful construction.