Skip to content

Tenuo v0.3.7

Choose a tag to compare

@aimable100 aimable100 released this 12 Nov 02:42
f521814

Tenuo 0.3.7 includes Rust, Python, WASM, and authorizer updates. TypeScript packages are available as 0.3.7-beta.0 on the npm beta channel.

Security

  • Delegation checks are stricter for the * tool entry, issuer
    constraint_bounds and clearance.
    The builder and the verifier now apply
    the same rules to all three. A child's * entry must stay within what the
    parent allows for every tool the child does not name. Chains that follow
    these rules verify as before.

Changed

  • Warrants using optional argument metadata require compatible verifiers.
    Upgrade receivers before issuing these warrants. Strict older decoders reject
    the metadata; older permissive decoders treat the arguments as required.

  • Update the Rust core lockfile to serde_json 1.0.154 and smallvec 1.16.5,
    and npm release tooling semver to 7.8.6.

  • Upgrade note. Annotated constraint checks and the A2A server no longer
    convert an argument to a string before comparing it with Exact or OneOf.
    A policy that wrote a number as a string, such as Exact("8080") or
    OneOf(["1", "2"]), no longer matches the integer argument and the call is
    denied. Write the typed literal instead: Exact(8080), OneOf([1, 2]).
    Warrant authorization already compared typed values and is unchanged.

  • A2A grants keep the JSON types of OneOf and NotOneOf values instead of
    converting them to strings.

  • Exact, OneOf, and NotOneOf reject bytes and bytearray literals.

Fixed

  • Temporal Vault, AWS, and GCP key resolvers read warm caches synchronously
    inside the workflow sandbox. Explicit host-side preload and refresh APIs
    support cache renewal; missing or expired workflow keys fail closed.

  • Python Exact, OneOf, and NotOneOf preserve typed literals, including
    numbers, booleans, null, lists, and objects. Their convenience checks use the
    same core semantics as satisfies, and literal delegation shorthand works
    for non-string values.

  • Scoped grant() and preview() use native constraint containment instead
    of Python string and set heuristics, preserving typed and quoted literals.

Added

  • Python grant and native attenuation builders expose add_approvers() and
    raise_min_approvals(), using the existing monotone Rust operations.

  • Optional arguments in the Rust constraint engine.
    ConstraintSet::insert_optional allows omission while enforcing the value
    constraint whenever the argument is supplied. Diagnostics, signed CBOR warrants,
    and attenuation preserve the presence rule; required arguments cannot become
    optional during delegation. Required-only encodings remain unchanged.
    Python and TypeScript receivers preserve supplied optional values, including
    nulls, across execution policies and issuer constraint bounds. Unknown
    constraint types and unavailable CEL evaluators fail closed
    even on omission.
    Making an argument required cannot bypass an unsupported optional parent
    predicate during delegation or signed-chain verification.

  • An opt-in release notification workflow for downstream integration update
    PRs, with immutable release validation and repository-scoped App tokens.

  • Python validate_attenuation(parent, child) checks cross-type constraint
    narrowing through the existing Rust core and raises its typed exceptions.
    Constraint instance methods use the same generic rules. This preflight
    checks the constraint relationship; grants and authorization still perform
    full warrant verification.

  • Releases publish the authorizer Helm chart to GHCR as OCI, verify public
    digest-based pulls and packaged rendering, and attach the immutable chart
    reference. A chart-only workflow supports retries without overwriting versions.

Install the Helm chart

helm upgrade --install tenuo-authorizer oci://ghcr.io/tenuo-ai/charts/tenuo-authorizer --version 0.3.7

Immutable chart digest: sha256:c6dcd5a07178d2161f1397b947796e54b025e69eb43520514a7cfe57e2a68cba. See chart-reference.txt for the complete OCI reference and source commit.