Skip to main content
Software Factory

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.

By Murali SidLinkedInPublished

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.

Visual map

Demand to decommission

One delivery flow covers conventional software, AI components and agents. The evidence grows with the product instead of being assembled at the end.

  1. 1Intake

    Triage the outcome, risk and delivery profile.

  2. 2Discover

    Frame the problem and the simplest credible approach.

  3. 3Specify

    Write behaviour, acceptance criteria and evidence needs.

  4. 4Architect

    Set boundaries, decisions and threat controls.

  5. 5Plan

    Break work into traceable, testable increments.

  6. 6Build

    Implement through governed tools and environments.

  7. 7Assure

    Test software, agent behaviour, security and outcomes.

  8. 8Release

    Promote signed, reproducible artefacts through gates.

  9. 9Operate

    Observe, supervise, support and contain failures.

  10. 10Improve or retire

    Use evidence to change, reduce autonomy or decommission.

Design rule: The Factory starts after an outcome and delivery envelope are approved. It does not replace portfolio or architecture governance.

Engineering disciplines

Concept explained

Assurance is layered around the outcome

Each layer answers a different question. Passing one layer never substitutes for the next.

  1. 1Specify

    Describe the outcome, boundaries and unacceptable behaviour before implementation.

    Output: Acceptance cases

  2. 2Test

    Check deterministic code, contracts, data transformations and policy rules.

    Output: Repeatable tests

  3. 3Evaluate

    Measure agent behaviour across normal, difficult and adversarial cases.

    Output: Versioned evaluation results

  4. 4Challenge

    Threat-model the complete system and independently review consequential decisions.

    Output: Residual-risk decision

Use this visual: 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

Concept explained

Control every dependency from intake to retirement

The supply chain includes software and the AI-specific assets that shape behaviour.

  1. 1Discover

    Inventory code, models, data, prompts, tools, skills and plugins.

    Output: Dependency record

  2. 2Approve

    Assess source, licence, permissions, data use, update path and operational risk.

    Output: Use decision

  3. 3Pin and build

    Resolve approved versions and produce reproducible artefacts with provenance.

    Output: Signed build

  4. 4Monitor and retire

    Track vulnerabilities, behavioural change, expiry and replacement.

    Output: Current risk state

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

Concept explained

A release is a connected evidence package

The package lets an approver reconstruct what was intended, built, tested and accepted.

  1. 1Intent

    Approved specification, architecture and risk profile.

    Output: Decision baseline

  2. 2Build

    Source versions, dependencies, provenance and signed artefacts.

    Output: Reproducible candidate

  3. 3Assure

    Tests, evaluations, security checks and exceptions.

    Output: Evidence set

  4. 4Authorize

    Operational readiness, rollback result and named approval.

    Output: Release decision

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

Concept explained

Prove the service can fail safely

Runtime readiness covers detection, containment, recovery and communication, not only deployment.

  1. 1Observe

    Trace requests, decisions, tool actions, costs and business outcomes.

    Output: Actionable signals

  2. 2Contain

    Pause agents, revoke credentials, restrict tools and preserve queued work.

    Output: Limited impact

  3. 3Recover

    Roll back, replay safely, reconcile side effects and restore service.

    Output: Verified state

  4. 4Learn

    Communicate impact, update cases and govern the resulting change.

    Output: Improved controls

Operational evidence returns to the first decision.
Use this visual: 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 carries runtime evidence back into controlled change.

Next step: select the appropriate delivery profile.

Cite this page

Written by Murali Sid, Founder and AI Systems Architect, last updated 2 November 2026. Licensed CC BY-SA 4.0, so quote it freely with attribution.

Murali Sid (2026). Engineering, assurance and the software supply chain. Agentic Architecture Skills. https://www.agenticarchitectureskills.com/factory/engineering-and-assurance

Machine-readable version of this page: /factory/engineering-and-assurance.md

On this page