Skip to content

Releases

AgentSuite v0.7.0

Choose a tag to compare

@gambtho gambtho released this 21 Oct 19:52
c268bbc

AgentSuite v0.7.0 — focused Go packages

What moved

The standalone Go module remains github.com/agent-primitives/suite, with one root module tag v0.7.0. PRs #47 and #48 split its root package into focused public imports:

Import Responsibility / examples
github.com/agent-primitives/suite/core Portable manifests, profiles, evaluation definitions and reports; strict Marshal/Unmarshal, digest/descriptor helpers and value validation such as ValidateExecutionContract and ValidateImageReference.
github.com/agent-primitives/suite/oci ValidatePath, ValidateDirectory, DiffPaths and semantic-diff types.
github.com/agent-primitives/suite/evidence Evaluation claim types, VerifyEvaluation and the explicitly selected VerifyEvaluationFlowV1Alpha1.
github.com/agent-primitives/suite/experimental/flow Stored FlowV1Alpha1 types/selectors, FlowV1Alpha1Graph, ValidatePathFlowV1Alpha1 and ValidateDirectoryFlowV1Alpha1.
github.com/agent-primitives/suite/policy Existing standalone policy APIs; import path unchanged.

The three artifact-facing facades share internal/artifact, keeping loaders, evidence/diff algorithms and private validated graph state together without new graph accessors. Consumers must not import the internal engine. core does not load directories/OCI layouts, verify claims or execute agents. Ordinary artifact validation still compiles the experimental validator in the shared engine; this is a public API split, not independent feature engines.

Compatibility window: v0.7.x, then removal in v0.8.0

All existing root imports (agentsuite "github.com/agent-primitives/suite") remain supported throughout v0.7.x through deprecated true type aliases, constant aliases and real function forwarders. There are 79 root type aliases, 35 constants and 15 function forwarders in the checked source. No root-export removal belongs in a v0.7 patch.

Migrate during v0.7.x. The planned removal is v0.8.0, a separately reviewed breaking minor release before module 1.0. This is one minor-version compatibility window, not an extra minor after v0.7.x. The removal is tracked from the 1.0 checklist #30, following #45.

Within v0.7, aliases preserve assignability between root and focused imports, methods, JSON behavior and errors.As identity. Defining-package reflection names are not preserved: reflect.Type.PkgPath and %T can now name core or the internal implementation rather than the former root package. Audit code that keys registries or persists reflection/type-name strings; do not use those names as wire identifiers. The artifact facades' pkg.go.dev pages may display aliases rather than their fields; portable manifest fields are documented in core.

Consumer migration

Update the single module pin, then migrate imports by responsibility:

go get github.com/agent-primitives/suite@v0.7.0
GOWORK=off go test ./...

Do not use separate core/v0.7.0 or oci/v0.7.0 tags. Keep existing exported identifier spellings; no model conversions or artifact rewrites are needed.

Former root use Focused use
agentsuite.Suite, agentsuite.RuntimeProfile, agentsuite.Report core.Suite, core.RuntimeProfile, core.Report
agentsuite.Marshal, Unmarshal, Digest, descriptor helpers Corresponding core functions
agentsuite.ValidateExecutionContract, ValidateImageReference Corresponding core functions
agentsuite.EvidenceImplementation core.EvidenceImplementation (the canonical portable identity)
agentsuite.ValidatePath, ValidateDirectory, DiffPaths Corresponding oci functions; diff types also live in oci
agentsuite.ExpectedEvaluation, EvidenceRefusal, VerifyEvaluation Corresponding evidence types/functions
agentsuite.VerifyEvaluationFlowV1Alpha1 evidence.VerifyEvaluationFlowV1Alpha1, not the flow package
Root FlowV1Alpha1 types/selectors and the two explicit flow validators Same names from experimental/flow (usually imported as flow)

For example, model/JSON code and directory/OCI validation no longer need the root package:

import (
    "github.com/agent-primitives/suite/core"
    "github.com/agent-primitives/suite/oci"
)

var suite core.Suite
if err := core.Unmarshal(data, &suite); err != nil {
    return err
}
report, err := oci.ValidatePath(path)

Pin published versions and verify in a clean checkout with GOWORK=off; a local workspace is only a rehearsal, not proof the new tag can be fetched. The older Sessions example import github.com/kaimahi-agents/kaimahi/agentsuite is a different legacy path and is not automatically migrated by these aliases.

Behavior, schema and stability boundaries

The package moves do not change validation acceptance, security policy, evidence refusal ordering, semantic diff behavior, wire/JSON shapes, media types or canonical content/OCI digest rules. Existing artifact bytes, descriptors, signatures and evidence must not be rewritten for an import migration. Go module dependencies and the Go 1.26.0 minimum are unchanged from v0.6.0.

The split PRs left schema, fixture and published catalog bytes untouched. Separately, #49 froze all 15 reference schemas under https://suite.agent-primitives.dev/schema/v0.7/ for this release, changing only root IDs and matching test/documentation expectations, not constraints or instance JSON. #50 consolidated the root compatibility exports into compat.go plus one package-level deprecation note without changing the API. The v0.7.0 tag points to that merge; #51 subsequently restored main's unstable draft IDs. Historical v0.5/v0.6 bundles stay byte-identical. New schema URLs are not available merely because source IDs or a tag exist: the schema release asset, a reviewed additive catalog update and verified Pages publication are separate required steps.

This remains pre-1.0. Suite document 1.0.0-draft, evidence and policy versioning are not promoted by the module tag. experimental/flow still requires explicit selection; default readers refuse its critical extension. Offline graph/claim validation does not execute agents, authenticate the evaluator, enforce runtime policy or prove whole-flow success.

Verification

The release tag points to reviewed merge c268bbc747a5a6f7838595d961dc839a60c419cd. Its CI run passed all seven jobs, including native Linux/macOS/Windows identity/security, Go/conformance/race/vet/staticcheck, umask 077, TypeScript parity and documentation checks.

Fresh independent GOWORK=off checks on that exact merge also passed: uncached Go suites under umask 022 and 077 (1,229 named passes and all 22 required conformance cases, no skips), full race tests, static checks, cross-platform builds/test compilation, actual JS/Wasm security refusal, TypeScript parity, schema/release-tool selftests, docs/link/build and browser/accessibility checks. Native CI logs confirmed all 11 required Windows identity/security tests, including all five ACL cases, and all eight macOS cases without skips. The official v0.7.0 pre-tag schema check passed. Cross-compilation is not native execution, and these offline library checks are not downstream runtime qualification.

AgentSuite v0.6.0

Choose a tag to compare

@gambtho gambtho released this 20 Oct 13:31
4282636

AgentSuite v0.6.0

Summary

  • Loose-directory identity is now portable. Digests of unpacked suite directories no longer depend on host file permissions, umask or OS. Published artifacts are unchanged; rebuilding from a loose directory may produce a new digest.
  • Malformed inventories now refuse (missing or null required fields).
  • Experimental, opt-in kmx.flow.v1alpha1 for two-step multi-agent flows; default readers refuse it.
  • Schemas move to /schema/v0.6/. The v0.5 bundle is unchanged.
  • New dependency: golang.org/x/sys (Windows security checks).

Who needs to act: if you package suites from loose directories, recompute digests and re-run evaluation for any artifact whose bytes change. If you only consume published artifacts, nothing changes.

Portable loose-directory identity

This minor release intentionally changes loose-directory content identity. Host
permissions no longer select canonical content modes: ordinary files default to
non-executable 0644, directories to 0755 with size zero, and supported Unix
symbolic links to 0777. Explicit ToolProvider payload inventories supply their
declared modes; conflicting declarations refuse. A host chmod +x alone no
longer changes content identity or declares an executable.

This separates portable content metadata from host access controls, so the same
loose content does not acquire different identities from Unix permissions,
umask or synthesized Windows permission bits. Unsafe host access still refuses.
Unix access checks remain separate: group/world-writable regular files and
directories, including the selected root, and setid/sticky modes refuse.
Platforms that are neither Unix nor Windows refuse loose input with an explicit
unsupported-platform error. Windows loose trees require a current-user
owner, a protected root DACL and owner-only file/directory grants, with no broad
inherited access. Unsupported or unverifiable ACLs, filesystem security and
reparse-backed content refuse; caller-selected root aliases still resolve before
validation. Validation does not repair ACLs. Windows security checks add
golang.org/x/sys v0.46.0 to the Go module dependency graph.

Loose ContentDigest values and supplemental content-record digests may change
even when file bytes do not. Recompute saved loose results with an explicitly
selected reader version; use v0.5.0 to reproduce its host-mode-dependent loose
identities. Older OCI archives with non-default undeclared modes may legitimately
differ from the new loose view.

Published artifacts are untouched. OCI layers retain their original tar
metadata and exact inventory comparisons. Existing byte/JCS/OCI digest
definitions, wire fields, signatures and evidence are not normalized or relabelled.
Verify an existing artifact from its original OCI representation, not a rebuilt
loose tree.

Rebuilds may produce new packaged bytes and digests. When they do, regenerate
affected descriptors and derived bindings/images, and obtain fresh evaluation,
approval and signing for the new exact subject as required. Do not edit old
receipts or reuse proof for a different subject. Consumers must migrate their
loose packagers and invalidate preparation caches when packaging output changes;
upgrading this library alone does not make a downstream packager portable.
The migration inventory in docs/directory-identity.md records these boundaries.
Native create → eval → lift qualification remains downstream work.

Presence-sensitive inventory validation

Inventory decoding rejects missing or null required path, type, mode,
uid and gid properties in both loose and archived input. Explicit zero mode
and root ownership remain valid. Direct encoding/json.Unmarshal of an
InventoryEntry also rejects unknown and duplicate properties. These malformed
inventories could previously pass after decoding erased property presence; this
minor release closes that acceptance gap without changing schema constraints.

To repair malformed authored inventories, declare the required values and rebind
the variant digest, provider descriptor and all ancestor descriptors. Do not
rewrite published artifacts. Valid retained OCI artifacts and their identities
remain unchanged; malformed archived inputs may now refuse.

Experimental opt-in flow

The kmx.flow.v1alpha1 critical extension adds a bounded two-step flow contract
at coordination/flow.json. Explicit ValidatePathFlowV1Alpha1,
ValidateDirectoryFlowV1Alpha1 and VerifyEvaluationFlowV1Alpha1 APIs opt in;
default readers refuse artifacts carrying this critical extension. This validates
stored graphs and member evidence, not runtime delegation, approval enforcement
or whole-suite success. The frozen core draft grammar and evidence-v1 fields
remain unchanged. Stable graduation is tracked by
#30.

Fresh v0.6 schema namespace

All 15 reference schemas use
https://suite.agent-primitives.dev/schema/v0.6/ plus their actual filenames,
including policy-v2.schema.json, administrative-policy-v2.schema.json and
the new experimental kmx-flow-v1alpha1.schema.json. Select the complete v0.6.0 bundle in offline editor/validator registries; keep
historical bundles separate, without global old-to-latest aliases. The v0.5
bundle remains byte-for-byte frozen.

The namespace change does not change wire versions, media types, instance bytes
or validation constraints. Schema annotations also clarify the existing stable
core and experimental branches. The loose-reader identity change above is a
separate library behavior change, not a consequence of schema selection.
Minor releases freeze fresh IDs; patches must preserve their minor's entire
schema inventory and bytes, including IDs and whitespace. Canonical URL
availability requires the release asset, reviewed catalog and verified Pages
deployment; source IDs alone do not publish URLs. Validation remains offline.

Stability and legacy-reader boundaries

The specification now names the intended wire-1.0 stable core and existing
experimental inference/execution branches. This is not a wire-1.0 release:
1.0.0-draft remains the Suite document version. Optional runtime profiles do
not establish runtime support, and unknown fields still refuse in closed readers.

The strict legacy draft grammar and acceptance baseline is documented at
85da5faf6eaf400df2edeb401c194c11fe023b74, distributed as v0.5.0 with schema
root-ID differences. New regression tests pin its version grammar and reader
boundary, including draft spellings that are not full SemVer. The loose-reader
identity change above is an explicit v0.6 exception; retained OCI identities and
historical proof remain authoritative. No dual-reader API, stable writer default
or automatic migration is introduced. The inventory-presence correction above
also tightens malformed-input acceptance; it does not redefine valid draft grammar.

Verification infrastructure

Fixture helpers explicitly restore declared permissions after creation, so
restrictive umasks do not corrupt test inventories. CI adds a full umask-077
Go test leg, portable-identity checks on Linux/macOS/Windows and native Windows
security acceptance/refusal coverage. These are offline library checks, not
runtime or deployment qualification.

AgentSuite v0.5.0

Choose a tag to compare

@gambtho gambtho released this 19 Oct 19:40
e13c69c

AgentSuite v0.5.0 is a minor release with stricter validation and a new schema namespace.

  • All 14 reference schema IDs use https://suite.agent-primitives.dev/schema/v0.5/ plus their filenames. Select the complete release-local bundle and update editor and validator registries. Keep historical bundles separate; do not alias old IDs to the latest schemas. Only $id changes in the schemas; instance bytes, wire versions, media types and canonical digests are unchanged by this migration. Canonical URL availability still requires the catalog update, site deployment and byte verification.
  • Validation rejects Suite and ToolProvider extensions missing critical, present empty or null ToolProvider variants, and explicitly null tool outputSchema properties. Explicit critical: false remains valid; Agent extension acceptance is unchanged. Remote providers may omit variants or use nonempty bundled variants alongside remote metadata. Tools may omit outputSchema; present objects must contain valid file descriptors. To migrate, declare extension criticality, omit absent variants and output schemas rather than writing empty or null values, and rebind changed documents and ancestor descriptors.
  • ToolProvider.UnmarshalJSON now uses strict decoding, including with encoding/json.Unmarshal, rejecting unknown or duplicate properties and other malformed provider input previously accepted by that decoder.
  • The TypeScript policy package supports filesystem v1 and network-only v2 canonicalization, digests and payload verification. It remains a private, unpublished ESM package, not an npm release. It does not implement administrative-policy composition or runtime enforcement.

Validation remains offline. These checks do not establish runtime support or enforcement.

v0.4.0

Choose a tag to compare

@gambtho gambtho released this 16 Oct 19:35
f4705b1

Adds runtime profiles: a suite can declare the runtimes and images it targets, and evaluation evidence is bound to the profile it ran on. Existing suites and digests are unchanged.

Breaking for Go consumers: decoding suite and composition types now rejects unknown fields.

v0.3.1

Choose a tag to compare

@gambtho gambtho released this 16 Oct 14:17
5946ebd

Fixes OCI layout reads hanging on FIFOs, devices, sockets or symlinks to them: every metadata, index, manifest, config and layer read now refuses non-regular files before opening. Licensed under MIT, copyright Microsoft Corporation. No API or format changes.

v0.3.0

Choose a tag to compare

@gambtho gambtho released this 16 Oct 12:12
030c0c2

Adds network-only policy v2 (IPv4/TCP egress allowlists; admin policy only narrows), per-Agent policy binding by descriptor (a policy change changes the suite digest), and experimental inference/execution contracts. Policy v1 now refuses explicit null admin paths and orders paths by UTF-16 code units; this can change canonical bytes for v1 policies with non-BMP paths. No schema ID or media-type renames.

v0.2.0

Choose a tag to compare

@gambtho gambtho released this 16 Oct 02:35
5176467

Adds portable evaluation evidence with an offline verifier (VerifyEvaluation) and the policy package for strict effective policy resolution. Relicensed under Apache-2.0 (copyright The Agent Primitives Authors). Additive; no schema ID, media type or digest changes.