release: v3.1.0 — evidence interop + compliance/OTel export + output guards + agent tooling#81
Merged
Conversation
…ealed), mark in-toto/DSSE emitter as shipped
Add `boruna evidence otel <bundle-dir> [--out spans.json]` emitting a run as OpenTelemetry spans in OTLP/JSON — the file format any OTel collector ingests, with no SDK dependency and no network (keeps v3.0 local-only). Root span carries tamper-evidence attributes (boruna.bundle_hash, boruna.audit_log_hash, boruna.signature.keyid) so a span in a tracing backend links back to a record verifiable by `evidence verify`. Child spans come from the VM event log; llm.* calls map to gen_ai.* (OTel GenAI semantic conventions), contract checks fold onto the root as span events. Deterministic: trace/span IDs derived from run_id + event index hashes, ordinal times. Claude-Session: https://claude.ai/code/session_01BEk2VHyMr1MrSPitnhox5o
|
Bench compare Threshold for regression: ≥ 10% slower mean.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release v3.1.0 — additive, no breaking changes. Implements the first two waves of the "make Boruna more useful" roadmap, mined from adjacent tooling (Temporal / LangGraph / Langfuse / Credo AI / SLSA / in-toto / Sigstore) and the agentlanguages.dev peer catalogue, each mapped onto Boruna's determinism + evidence moat.
Deepen the evidence/audit moat
boruna evidence attest— in-toto Statement + DSSE envelope (predicateType boruna.dev/runtime-provenance/v1), ed25519-signed; makes runtime provenance consumable bycosign/in-toto-verify. Additive; native bundle unchanged.boruna evidence report --framework eu-ai-act|nist|iso42001— verifies a bundle, maps contents to the specific obligation each satisfies (EU AI Act Art. 12/19/26, NIST AI RMF, ISO 42001), honestly flags gaps. Technical mapping, not a compliance certificate.boruna evidence otel— OTLP/JSON span export (no SDK/network) with tamper-evidence attributes +gen_ai.*spans; be the notarized upstream to any OTel backend.requires/ensuresnow recordContractCheckevents into the hash-chained log; new__builtin_guard(value, passed, label)runs a deterministic output check, traps fail-closed, and seals the verdict.Strengthen agent authoring
std-guard(14th lib) — pure deterministic output validators.boruna_symbols(exact.axsignatures) +boruna_run_sealed(compile + run + replay-verify → verifiable record). LangGraph/Temporal adapter examples underexamples/adapters/.llms.txt,.axteaching primer, static agent portal.Hardening & docs
ax-language.mdgrammar-drift fix (verified withboruna lang check).Verification
Full workspace:
cargo fmt --checkclean ·clippy -D warningszero warnings ·cargo test --workspace= 1445 passed / 0 failed (the one intermittent failure was the pre-existing parallel-tracing flake, which passes single-threaded).https://claude.ai/code/session_01BEk2VHyMr1MrSPitnhox5o