Skip to content

0.23.3 (2026-10-30) - intent binding, cascade revocation, pair permissioning

Choose a tag to compare

@craigamcw craigamcw released this 30 Oct 17:43
· 718 commits to main since this release

Added - B1: agent+user pair permissioning (OSS evidence half)

  • The principal becomes the (agent, acting-for user) pair: a capability may
    bind to a user via acting_for (user:-prefixed principal grammar); tokens
    without a pair stay byte-identical to v1.1.
  • The gate refuses cross-pair use - a pair-bound token used with a
    different (or undeclared) acting-for user denies, attributable, and the
    receipt records both halves of the pair (x_gate.acting_for).
  • A delegated child inherits the pair and may never re-target a different
    user; narrowing an unpaired parent to a pair is allowed (setting a user
    narrows the authority).
  • /gate gains an acting_for request field. The per-pair policy resolution
    and minting workflows ship in raucle-cloud (the 16.3 split); the
    two-user demo (same agent, different permission sets, different
    receipts) is exercised there.
  • Tests: tests/test_pair_permissioning.py; raucle-cloud
    tests/test_pair_resolution.py.

Added - A3: cascade revocation with evidence

  • Revoking a capability now cascades: the whole subtree is walked from the
    delegation ledger, persisted to a revocations file (RAUCLE_REVOCATIONS_FILE,
    loaded per call so revocations propagate immediately), and receipted. The
    revocation itself is a signed, attributable receipt (x_revocation:
    revoked-by-whom, when, which subtree) that verifies offline like every
    other receipt.
  • The gate refuses new actions on the subtree: token ids, their direct
    parents, and every ancestor are checked against the live revocation set.
  • The verifier marks revoked-at-H: a receipt minted AFTER a revocation of
    its cited authority is INVALID with a named reason; receipts minted
    before it remain valid evidence - the authority was live when they
    minted. Single-pass temporal order, no trust in the gate's own
    enforcement story.
  • Owner-departure operation: POST /api/agents/{id}/revoke-chains revokes
    every delegated chain of an identity in one receipted action (the
    lifecycle audit trail); POST /api/revocations revokes a single subtree.
  • Tests: mid-chain cascade, verifier marking, owner departure
    (tests/test_cascade_revocation.py).

Added - receipts v1.2: task-intent binding (A1)

  • A capability token may carry an intent: the approved task statement plus
    structured constraints (resource class via tools, data bound via the
    standard constraint vocabulary). Tokens without an intent stay
    byte-identical to v1.1.
  • The gate enforces the intent deterministically on every call (no model
    involvement): the tool must sit inside the approved class and the
    arguments must satisfy the intent constraints. Denials are attributable.
  • Receipts carry x_gate.intent (the approved purpose, signed) plus a
    bounded x_gate.intent_check disclosure - only the constrained fields'
    values, nothing else.
  • The verifier re-checks ALLOW receipts against their own intent and
    rejects a chain-valid receipt whose action violates the approved
    purpose, with a named reason. DENY receipts are exempt (a denial for an
    out-of-intent attempt IS the enforcement).
  • A delegated child inherits its parent's intent and may only narrow it;
    widening is refused (the same monotonicity as every other dimension).
  • Spec: docs/spec/provenance/v1.2/intent-binding.md. Fixtures: the
    calendar-vs-archive and recipient-allowlist cases in
    tests/test_intent_binding.py.
  • Found and fixed while landing this: the verifier's v1.1 chain-digest
    re-check never fired (it read x_gate off the envelope, which only
    carries {receipt_hash, jws}) and the recompute used the wrong field
    names. Both now live: the verifier decodes the JWS payload and
    recomputes the digest from the block's own fields.

Changed - B2 attribution audit: unattributed calls deny across all adapters

  • The invariant: every ALLOWED execution carries a real acting identity,
    and no minted receipt carries a fabricated placeholder. The same
    fail-closed doctrine as the gateway (v0.23.2), prerequisite for
    agent+user pair permissioning (B1).
  • langchain: require_agent_id now defaults True (bearer-mode trust is an
    explicit opt-out); the "" placeholder is gone - unattributed
    attempts deny with the reason recorded and receipts carry an honest null.
  • crewai: bearer mode (agent_id=None) is closed; unattributed attempts
    deny with "no acting agent identity".
  • autogen: an empty agent_id denies. Found and fixed a latent adapter bug
    surfaced by the audit: the gated wrapper's bare **kwargs signature made
    autogen's FunctionTool build a broken args model ("kwargs: Field
    required") - the wrapper now preserves the original signature via
    functools.wraps.
  • agent_framework: accepted, documented - the caller id comes from the
    framework context with a documented bearer fallback to the token's own
    agent_id; B1 should surface the acting-for user so the fallback never
    triggers.
  • a2a: audited clean (identity required by construction).