Skip to content

Releases

v0.16.1

Choose a tag to compare

@github-actions github-actions released this 16 Nov 08:51
916c6cc

What's Changed

Full Changelog: v0.16.0...v0.16.1

v0.16.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 19:25
994f1c3

What's Changed

  • 0.16.0: evaluate an enforced run — what the guard had to do, against what it recorded by @raymond-sigill in #32

Full Changelog: v0.15.0...v0.16.0

v0.15.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 16:32
0fae90c

What's Changed

  • 0.15.0: deliver a run to your evidence index; free text is bounded by @raymond-sigill in #31

Full Changelog: v0.14.0...v0.15.0

Behaviour change

Free text is now bounded. A value over its limit is refused before anything is sealed, and never shortened: a step's detail 512 characters; activity name, approver reference, decision and an object's content type 255 characters each. 0.14 accepted longer values. The schemas are unchanged, so evidence sealed earlier keeps verifying.

v0.14.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 19:33
f9fb83e

The policy enforcement profiles (Control Set v2, Execution Evidence v4, Agent Enforcement v1) are drafts: their formats may still change in a later release. The .NET and Python SDKs are ports of each other and produce byte-compatible evidence.

What is new

  • Control Set v2 (schemaVersion: "2" in a policy control set): per-rule effects (@effect observe,
    deny or halt), an enforcement block (mode observe/enforce, defaultEffect, unknownTools,
    onRuleError, haltAfterDenials, lockedConfiguration) and cedar.entities (tools, tool groups, agents,
    agent groups). AgentPolicy.Validate understands v2; AgentPolicy.Enforcement(...) reads the settings.
  • Execution Evidence v4: a run started under a v2 control set records schemaVersion "4" for every event.
    Tool calls carry a useId (generated when you omit it) and can bind the tool's definition by digest. A human
    approval or rejection can name the exact call it covers with the new method
    RecordBoundApprovalAsync(string decision, ApprovalCovers covers, …) (build covers with ToolCall.Covers() or
    ApprovalCovers.ForArguments(...)); RecordHumanApprovalAsync keeps its 0.13.0 signature. The guard's
    decisions are sealed as enforcement records in the run's chain.
  • Sigill.Sdk.Policy (new package): CedarEngine, the official Cedar core (cedar-policy 4.14.0)
    as one pinned WebAssembly module run in-process with Wasmtime. With it:
    AgentPolicy.ValidateStrict (Cedar strict validation against the schema of the document's version),
    AgentPolicy.Evaluate (per-rule PASS / FAIL / INDETERMINATE), and VerifyAgentRunWithEngineAsync /
    AgentRunVerifier.VerifyWithEngineAsync, which recompute a policy evaluation's results offline when verifying.
    Sigill.Sdk itself does not depend on it: everything takes any IPolicyEngine.
  • The guard (AgentRunOptions.Enforcement = new AgentEnforcement(engine)): in enforce mode it denies a
    tool call before the tool runs (PolicyDeniedException), halts a run (RunHaltedException, IsHalted,
    HaltedToken), or refuses a start (StartRefusedException, e.g. a locked configuration that differs or an
    engine that cannot load). New helpers: BeginToolCallAsync / ToolCall.CompleteAsync, InvokeToolAsync.
    ModelCallHandler sends no model call for a halted run.
  • Verification: a v4 run gets an enforcement check and EnforcementFindings (orphan or conflicting
    results, a result after a denial, duplicate use ids, misplaced decisions, unrecorded halts, a run continued
    after a halt). A run tree treats a halted parent like an aborted one.
  • Examples: examples/Sigill.Sdk.Examples — loop (retries a forbidden call until halted), graph (two
    concurrent branches, one denied, plus a delegated child run), approval (denied, approved with covers,
    retried, allowed).
  • Limits, as the README states them: enforcement is done by your own SDK in your own process — the evidence
    shows what the guard decided, not that nobody bypassed it; that a denied tool did not run is not proven (the
    evidence shows the denial and no result); a tool already executing when another event halts the run is not
    stopped; model calls the SDK cannot recognise or parse are not recorded, so no rule sees them; a halt sealed
    by another thread after the last state check does not stop a function already being called; an engine that
    does not answer holds the run (no decision timeout); a child run is refused after its parent halted only when
    started from the parent's delegation object in the same process; a record with reason unavailable cannot be
    recomputed. The engine runs where Wasmtime ships native libraries: Linux (glibc), macOS and Windows, x64 and arm64.

Behaviour changes for existing callers

  1. 13 new public type names in the Sigill.Sdk namespace: AgentEnforcement, ApprovalCovers,
    EnforcementEvent, EnforcementFinding, IPolicyEngine, PolicyDeniedException, PolicyEnforcement,
    PolicyEngineException, PolicyEvaluationResult, PolicyRequestResult, RunHaltedException,
    StartRefusedException, ToolCall (and Sigill.Sdk.Policy.CedarEngine in the new package). Who: a project that has
    its own type with one of these names and imports Sigill.Sdk too — the name becomes ambiguous (CS0104).
    What to do: qualify the name, or add a using alias.
  2. Stricter validation of existing schema versions (v1–v3 envelopes and Control Evaluations, not only v4):
    • date-time values: a trailing newline (…Z\n) is no longer accepted. Fractional seconds are now truncated
      to microseconds (previously kept to 100 ns, and rounded beyond that), so both SDKs compare the same instants.
    • Every schema pattern ending in $ is now anchored at the very end of the string (\z): a value with a
      trailing \n that used to match (e.g. a UUID, hex digest or identifier) is now invalid. The same holds for
      the SDK's own UUID, URI-reference and rule-id checks.
      Who: producers or verifiers handling evidence with such values — a run that verified before can now be
      run_invalid. What to do: nothing for evidence the SDK produced; hand-built evidence must use plain ASCII
      values without trailing newlines.
  3. Stricter policy control sets (AgentPolicy.Validate, and everything that parses a control set): new are
    a nesting limit of 64 levels and the integer rule — every integral number,
    however written (9007199254740993.0 or 1e16 included), must lie within ±(2^53−1) (previously ±2^53, integer
    literals only). A rule id must end exactly (no trailing newline). A document with a schemaVersion member is
    now read as v2 (any value other than "2" is invalid). UTF-8 without a byte-order mark was already required.
    Who: authors of control sets with deep nesting or very large numbers. What to do: keep numbers within the
    safe range.
  4. Verifying older runs that carry a policy control set: when the bundle supplies the signed control-set bytes
    with the policy content type and the run's events are v1–v3, the verifier now requires those bytes to parse
    strictly as a v1 control set (the rules of item 3). Otherwise the run gets the finding evidence_version_mismatch, an
    enforcement check of bad, and the verdict run_invalid (fail closed). The checks map can therefore hold a
    tenth key, enforcement (always for v4 runs). Who: verifiers of runs whose control set breaks the rules in
    item 3. What to do: none for control sets the SDK validated; code that assumes exactly nine checks must accept
    the new key.
  5. ModelCallHandler: unchanged outside enforcement, except that it now raises RunHaltedException (without
    sending) for a run that is halted — only an enforcing guard halts a run.

Requirements

  • Sigill.Sdk: net8.0, net9.0, net10.0, netstandard2.1 (unchanged).
  • Sigill.Sdk.Policy: the same targets; depends on Sigill.Sdk ≥ 0.14.0 and on Wasmtime pinned exactly to
    [50.0.1] — the version the bundled module was checked against. The module's sha256
    (a0cd3950…80d1f3) is verified on load.
  • Third-party licences of the bundled Cedar module (its crates and the Rust toolchain components linked into it):
    THIRD-PARTY-NOTICES.md in the package and the repository.
  • Publishing: from this release the packages are pushed to nuget.org with Trusted Publishing (no change for
    package users).

What's Changed

Full Changelog: v0.13.0...v0.14.0

v0.13.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 17:46
3ab6ee2

What's Changed

  • Agent Model Calls v1: model calls with the provider's own identifiers (schemaVersion 3) by @raymond-sigill in #25

Full Changelog: v0.12.0...v0.13.0

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 20:45
92db267

What's Changed

  • Control Evaluation v2 §4.7: qualified time required by the approval by @raymond-sigill in #24

Full Changelog: v0.11.0...v0.12.0

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 19:43
e0305ef

What's Changed

  • Control Evaluation v2 (draft): policy and attested evaluations, facts layer, verifier by @raymond-sigill in #23

Full Changelog: v0.10.0...v0.11.0

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 14:30
252572f

What's Changed

Full Changelog: v0.9.1...v0.10.0

v0.9.1 — PAdES on cross-reference-stream PDFs

Choose a tag to compare

@raymond-sigill raymond-sigill released this 17 Oct 11:34
f173d2b

Fix: PAdES seals on PDFs with cross-reference streams

Incremental updates (signature, DSS, DocTimeStamp) always appended a classic xref table and trailer, even when the document being sealed uses a cross-reference stream (PDF 1.5+ — most PDFs written by modern tools). The new trailer's /Prev then pointed at a stream, a mixed chain that strict readers such as Adobe Acrobat refuse to follow, so the seal was reported as invalid.

  • The cross-reference section now matches the format of the document's most recent revision, in all three passes.
  • Documents with a classic xref table produce byte-identical output to 0.9.0.
  • New cross-implementation golden vector on an xref-stream document — identical bytes from the .NET and Python SDKs.

Also in this release: System.Security.Cryptography.Pkcs 9.0.21 (CVE-2026-84008, CVE-2026-70162).

Upgrade recommended for anyone sealing PDFs with SealPadesAsync. Re-seal affected documents from the original file; the original is never modified.

Full Changelog: v0.9.0...v0.9.1

v0.9.0 — Locator references (AiEvidenceEnvelopeV2 v2.1)

Choose a tag to compare

@raymond-sigill raymond-sigill released this 13 Oct 06:54

ETSI TS 119 182-1 §5.2.8.3.1 requires each JAdES sigD.pars entry to resolve to a locator. v2.1 of the AI evidence envelope spec moves from URNs to relative references; envelopes, schemas and schemaVersion are unchanged, and existing evidence stays verifiable.

Verification (reads both forms)

  • The envelope reference is read from each signature: sigill-envelope.json (v2.1) or urn:sigill:envelope (before v2.1). Runs that switch form mid-chain verify.
  • New Notes on EvidenceV2VerificationResult and AgentRunVerificationResult: the legacy reference is reported as an informational note — never a warning, never a failure.
  • New public EnvelopeReferences (Classify, IsReserved, IsProductionReference, NewObjectUri, LegacyDiagnostic).

Producing (breaking for custom URIs)

  • Generated object URIs are now objects/<uuid> (were urn:uuid:<uuid>).
  • Object URIs you set must match the production profile (spec §3.1): relative segments of A–Z a–z 0–9 . _ ~ - separated by / — no urn:, URLs, spaces or percent-encoding. Omit Uri to have one generated.
  • sigill-envelope.json and urn:sigill:envelope are both reserved.

Fixes

  • VerifyEvidenceV2Async refuses payloads supplied under an envelope reference: previously, passing the original envelope bytes that way let an edited envelope verify.
  • Generic v2 verification fails alignment when the classical header is unreadable, duplicated or ambiguous; an ML-DSA entry whose pars differ from the classical entry's fails alignment.

Spec: spec/ai-evidence-envelope-v2.md (v2.1: §3.1, §5.2, §5.4, §10.1, §12), spec/agent-profiles-common-v1.md. New cross-language vectors 71–78.