Skip to content
AOS-VAL-001 Normative foundation

System and Backend Conformance Strategy

System and Backend Conformance Strategy: scope, decisions, requirements, evidence, risks, and traceability for the Agent OS programme.

System and Backend Conformance Strategy

This document specifies evidence strong enough to support implementation, portability, quality, security, privacy, and release claims.

Table of Contents

Purpose and Scope

Area: Validation and Assurance.

This document specifies evidence strong enough to support implementation, portability, quality, security, privacy, and release claims.

This document owns the semantics implied by System and Backend Conformance Strategy. It does not assert that every described subsystem already exists. It defines the target model, constraints, evidence needed to trust an implementation, and the boundary with adjacent documents.

Normative Position

  1. Drivers execute in isolated domains with least-authority access to MMIO, IRQ, DMA windows, clocks, resets, firmware, and child devices.
  2. Public services are device-class contracts; vendor primitives remain backend-private.
  3. Board packages declare immutable resources and recovery metadata rather than embedding product policy.

Operating Model

The operating model is contract-first and evidence-driven. A component declares its authority, resources, lifecycle, error model, cancellation and timeout behavior, observability, version, and compatibility promise. Backends are replaceable only when the same conformance suite passes and no forbidden platform type leaks into portable layers.

Implementation proceeds through a reference model or mock, deterministic QEMU evidence where relevant, documentation-first physical hardware, and quality-hardware evidence. Pixel 9 adapters remain quarantined according to ADR-0004.

Requirements

  • R01. Drivers execute in isolated domains with least-authority access to MMIO, IRQ, DMA windows, clocks, resets, firmware, and child devices.
  • R02. Public services are device-class contracts; vendor primitives remain backend-private.
  • R03. Board packages declare immutable resources and recovery metadata rather than embedding product policy.
  • R04. Specify normal, partial, denied, timeout, cancellation, restart, upgrade, and permanent-failure behavior.
  • R05. Expose structured diagnostics without leaking secrets or vendor-specific implementation details.
  • R06. Link material unknowns to a claim and, when testable, an experiment with an owner and gate.
  • R07. Update affected documentation and task data when evidence changes the model.

Failure and Degradation

Degradation must be explicit rather than accidental. The system reports capability absence, reduced quality, unavailable provider, stale data, or unsafe condition through typed states. It must not silently fall back to broader authority, unrestricted legacy execution, unverified firmware, lossy data migration, or irreversible agent action.

Recovery defines what state is retained, reconstructed, re-enrolled, compensated, or intentionally discarded. Unsupported hardware or providers are rejected at binding time where possible.

Evidence and Acceptance

  • Crash/restart experiments.
  • IOMMU and DMA fault tests.
  • Two-backend contract conformance with unchanged clients.
  • Evidence records target identity, hardware revision, firmware, source commit, toolchain, configuration, seed, timestamps, artifacts, expected result, actual result, and reviewer.
  • Acceptance requires the referenced tasks to meet their own criteria; prose completion is not implementation completion.

Implementation Obligations

Task Obligation Priority Gate/Milestone Verification
AOS-PLAT-103 Generate backend conformance tests from Agent OS IDL P1 M4 Run the relevant document, schema, conformance, build, experiment, or hardware checks; independently review boundary compliance and acceptance criteria.
AOS-PLAT-104 Prove two backend implementations expose identical product semantics P0 M6 Run the relevant document, schema, conformance, build, experiment, or hardware checks; independently review boundary compliance and acceptance criteria.

Risks and Open Questions

  • Vendor firmware and undocumented power sequences can block a native port.
  • DMA isolation may be absent or incomplete on low-cost hardware.
  • Driver restart can corrupt device or persistent state unless recovery is idempotent.
  • Open-question rule: an unanswered high-impact question becomes a claim/experiment record and cannot be hidden in meeting notes.
  • Stop rule: work stops or changes track when legal rights, recovery, debug access, safety, or the required evidence path is unavailable.

Related Documents

Planning Reference Anchors

Portable

AOS-PLAT-103 — Generate backend conformance tests from Agent OS IDL; AOS-PLAT-104 — Prove two backend implementations expose identical product semantics