# Engineering, assurance and the software supply chain

The disciplines that turn specifications into reproducible releases: testing, evaluation, secure development, independent review, provenance and runtime readiness.

Author: Murali Sid (https://linkedin.com/in/muralisid)
Source: https://www.agenticarchitectureskills.com/factory/engineering-and-assurance
Published: 2026-11-02
Updated: 2026-11-02
Licence: CC BY-SA 4.0, https://creativecommons.org/licenses/by-sa/4.0/
Cite as: Murali Sid. Engineering, assurance and the software supply chain. Agentic Architecture Skills. https://www.agenticarchitectureskills.com/factory/engineering-and-assurance

---


Agent-assisted development changes who produces an artefact, not the evidence required to release it. Generated code, prompts, policies, tests and infrastructure enter the same versioned and reviewable supply chain.

<ConceptVisual variant="factory" focus="Assure" />

## Engineering disciplines [#engineering-disciplines]

<SectionVisual
  title="Assurance is layered around the outcome"
  caption="Each layer answers a different question. Passing one layer never substitutes for the next."
  layout="stack"
  items="[
  { label: &#x22;Specify&#x22;, detail: &#x22;Describe the outcome, boundaries and unacceptable behaviour before implementation.&#x22;, output: &#x22;Acceptance cases&#x22; },
  { label: &#x22;Test&#x22;, detail: &#x22;Check deterministic code, contracts, data transformations and policy rules.&#x22;, output: &#x22;Repeatable tests&#x22; },
  { label: &#x22;Evaluate&#x22;, detail: &#x22;Measure agent behaviour across normal, difficult and adversarial cases.&#x22;, output: &#x22;Versioned evaluation results&#x22; },
  { label: &#x22;Challenge&#x22;, detail: &#x22;Threat-model the complete system and independently review consequential decisions.&#x22;, output: &#x22;Residual-risk decision&#x22; }
]"
  note="The release gate consumes evidence from all applicable layers."
/>

Specification-driven development keeps expected behaviour reviewable. Test-driven development checks deterministic code and contracts. Evaluation-driven development tests agent behaviour and task outcomes. Threat modelling places controls before implementation hardens. Infrastructure, configuration and policy as code make environments reproducible. Independent review separates generation from acceptance.

An evaluation suite begins with real failures and a human baseline. Test components, the complete agent system and the resolved business outcome separately. A model judge is versioned, calibrated against human labels and prevented from grading its own optimization loop.

Build the suite in layers. Unit and contract tests prove deterministic parts. Scenario evaluations exercise the agent with representative context and tool responses. End-to-end cases inspect the business result in the system of record. Red-team cases probe instruction injection, data leakage, excessive authority and unsafe recovery. Human review remains necessary when correctness is contextual or consequences are material.

For example, a supplier-onboarding agent can pass a tool-call test while still creating the wrong supplier because it joined two similar records. The end-to-end test must therefore inspect the proposed entity, approval evidence, committed record and downstream notification. The engineering exit condition is not simply working code. It is a traceable set of acceptance cases with repeatable evidence at the relevant layers.

## Secure supply chain [#secure-supply-chain]

<SectionVisual
  title="Control every dependency from intake to retirement"
  caption="The supply chain includes software and the AI-specific assets that shape behaviour."
  layout="flow"
  items="[
  { label: &#x22;Discover&#x22;, detail: &#x22;Inventory code, models, data, prompts, tools, skills and plugins.&#x22;, output: &#x22;Dependency record&#x22; },
  { label: &#x22;Approve&#x22;, detail: &#x22;Assess source, licence, permissions, data use, update path and operational risk.&#x22;, output: &#x22;Use decision&#x22; },
  { label: &#x22;Pin and build&#x22;, detail: &#x22;Resolve approved versions and produce reproducible artefacts with provenance.&#x22;, output: &#x22;Signed build&#x22; },
  { label: &#x22;Monitor and retire&#x22;, detail: &#x22;Track vulnerabilities, behavioural change, expiry and replacement.&#x22;, output: &#x22;Current risk state&#x22; }
]"
/>

Inventory and pin dependencies, models, data, prompts, tools, skills and plugins. Record who supplied each item, what review occurred and which digest entered the build. Generate software and AI bills of materials where they add usable traceability. Sign build artefacts and retain provenance from source to release.

Third-party skills and plugins are executable instructions or code. Review their text, scripts, requested tools, network use and update path before approval. A hash proves integrity against a known artifact. It does not establish who should be trusted.

Use separate records when the control questions differ. A software bill of materials identifies packages and components. An AI inventory adds models, datasets, evaluation sets, system instructions and decision services. A tool and skill register records authority, requested permissions, owning team and approved environments. Link these records to the release rather than copying stale lists into a document.

Updates re-enter the approval path when they can change behaviour, data handling or authority. That includes a model alias moving to a new version, a remote tool changing its schema, or a skill adding a network call. Emergency patching can use an expedited path, but it still records the decision, evidence and follow-up review.

## Release evidence [#release-evidence]

<SectionVisual
  title="A release is a connected evidence package"
  caption="The package lets an approver reconstruct what was intended, built, tested and accepted."
  layout="flow"
  items="[
  { label: &#x22;Intent&#x22;, detail: &#x22;Approved specification, architecture and risk profile.&#x22;, output: &#x22;Decision baseline&#x22; },
  { label: &#x22;Build&#x22;, detail: &#x22;Source versions, dependencies, provenance and signed artefacts.&#x22;, output: &#x22;Reproducible candidate&#x22; },
  { label: &#x22;Assure&#x22;, detail: &#x22;Tests, evaluations, security checks and exceptions.&#x22;, output: &#x22;Evidence set&#x22; },
  { label: &#x22;Authorize&#x22;, detail: &#x22;Operational readiness, rollback result and named approval.&#x22;, output: &#x22;Release decision&#x22; }
]"
/>

A release package links:

* Approved specification and architecture
* Source and dependency versions
* Tests and evaluations
* Security and permission tests
* Build provenance and signatures
* Exceptions and residual risk
* Operational readiness
* Rollback and recovery result
* Named production authorization

The pipeline blocks release when a required check is absent. A document saying the check should happen is not the control.

Evidence should be addressable and machine-verifiable where practical. The release identifier links to immutable test runs, evaluation versions, artefact digests, environment configuration and the approval event. An exception states the failed condition, affected scope, compensating control, owner and expiry. Expired exceptions block the next affected release until renewed or resolved.

The package is proportionate to the delivery profile. A lean internal change can use a small automated evidence set and peer approval. A high-consequence agent needs independent evaluation, threat evidence, recovery exercises and accountable business authorization. Both use the same traceability pattern, so assurance can deepen without redesigning the delivery system.

## Runtime readiness [#runtime-readiness]

<SectionVisual
  title="Prove the service can fail safely"
  caption="Runtime readiness covers detection, containment, recovery and communication, not only deployment."
  layout="loop"
  items="[
  { label: &#x22;Observe&#x22;, detail: &#x22;Trace requests, decisions, tool actions, costs and business outcomes.&#x22;, output: &#x22;Actionable signals&#x22; },
  { label: &#x22;Contain&#x22;, detail: &#x22;Pause agents, revoke credentials, restrict tools and preserve queued work.&#x22;, output: &#x22;Limited impact&#x22; },
  { label: &#x22;Recover&#x22;, detail: &#x22;Roll back, replay safely, reconcile side effects and restore service.&#x22;, output: &#x22;Verified state&#x22; },
  { label: &#x22;Learn&#x22;, detail: &#x22;Communicate impact, update cases and govern the resulting change.&#x22;, output: &#x22;Improved controls&#x22; }
]"
  note="A game day demonstrates that the procedures, permissions and people work together."
/>

Before release, exercise tracing, budgets, exception handling, pause, rollback, credential revocation and incident communication. Confirm that degraded operation ends in a safe queue or deterministic fallback rather than silent task loss.

Readiness tests use realistic failure injection: a tool times out after a side effect, a model returns an invalid action, a credential is revoked, an approval service is unavailable, or a retry would duplicate a payment. The team verifies idempotency, safe queuing, reconciliation and escalation. Dashboards alone do not prove this response.

Define the first-hour playbook before production. It names who can pause the service, who assesses business impact, how records are reconciled, who communicates with affected users and what evidence is preserved. The exit gate is a successful exercise with unresolved gaps assigned and time-bound, not a statement that rollback exists.

The [learning flywheel](/architecture/learning-flywheel) carries runtime evidence back into controlled change.

**Next step:** select the appropriate [delivery profile](/factory/profiles).
