Skip to content

[A3S Cloud/A0] Define an immutable headless Agent release contract #10

Description

@ZhiXiao-Lin

Cloud gate

A0 — hosted Agent releases on the common build and Runtime deployment path.

Planning reference: https://github.com/A3S-Lab/Cloud/blob/e2a05b7f1f63486b2fda866b22aa84eea89aadb4/docs/development-plan.md

Problem

Cloud needs to deploy an Agent as an immutable, headless release rather than infer behavior from a mutable local workspace. Code must define the artifact, lifecycle, health, and compatibility contract that the A0 catalog can reference.

Scope

  • Define a versioned Agent release manifest with immutable artifact digest, entrypoint, protocol version, required capabilities, health contract, and provenance references.
  • Add a headless execution mode with deterministic readiness, liveness, graceful shutdown, and exit semantics.
  • Accept secrets only through external references or injected runtime material; never embed them in the release manifest.
  • Define writable workspace, cache, and persistent-data boundaries.
  • Publish one minimal immutable Agent release fixture for cross-repository deployment tests.
  • Document compatibility and breaking-change policy for the release contract.

Acceptance criteria

  • The fixture builds once and is deployable by digest as a Runtime Service without an interactive terminal.
  • Readiness becomes true only when the Agent can accept work, and shutdown completes within a configured deadline.
  • The same manifest and artifact produce the same declared release identity.
  • Secret values are absent from the manifest, artifact metadata, logs, and health response.
  • Invalid protocol or capability requirements fail before activation with structured diagnostics.

Non-goals

  • Implementing Cloud catalog, tenancy, routing, or scheduling in Code.
  • Mutable workspace snapshots as release identity.
  • A separate deployment lifecycle from ordinary Runtime Services.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions