Download Latest Version v2.13.1 -- Policy Studio main-line release + protobufjs patch source code.tar.gz (39.6 MB)
Email in envelope

Get an email when there's a new version of CAP Cordum Agent Protocol

Home / v2.13.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-05-10 1.6 kB
v2.13.0 -- Policy Studio shapes + agent SDK wrappers source code.tar.gz 2026-05-10 39.6 MB
v2.13.0 -- Policy Studio shapes + agent SDK wrappers source code.zip 2026-05-10 40.5 MB
Totals: 3 Items   80.1 MB 0

Highlights

Policy Studio shapes (epic-d9a6c0a1 Backend 1 + 1.6) [WIRE]

  • New protobuf message types in proto/cordum/agent/v1/policy.proto: Rule, Decision, Bundle, BundleVersion, BundleMetadata, RuleScope, AuditMetadata, TraceStep, JobEvaluationContext, EdgeEvaluationContext.
  • Extended DecisionType enum with QUARANTINE = 6 and REDACT = 7.
  • Cross-SDK regen + spec docs (spec/18-policy-shapes.md) + binary conformance fixtures verified by Go + Python + Node decode tests.
  • Evaluator service proto stubs.

Wire-level: BusPacket auth_token [WIRE]

  • Declared BusPacket.auth_token at field 18 (matches pre-existing session-token wire convention; consistent across Go/Python/Node descriptors).
  • Go SDK: SignPacket/VerifyPacketSignature use the cross-SDK unsigned-BusPacket signing order so auth_token + payload remain covered by signatures.

SDK additions: agent registration

  • New AgentClient in sdk/go/agent.go with Register/Lookup/SetScope wrappers around POST/GET/PUT /api/v1/agents.
  • Bearer-token-supplants-X-API-Key auth, configurable tenant header, idempotency-key support on SetScope.
  • Register payload omits preapproved_mutating_tools (post-registration SetScope privilege only).
  • New docs/agent-registration.md.

Tooling

  • Go directive bumped to 1.25.10 (clears govulncheck GO-2026-4971).

Migration

cordum's go.mod bump from v2.9.x to v2.13.0 takes one line: ``` go get github.com/cordum-io/cap/v2@v2.13.0 ```

Closed PRs

This release supersedes [#44], [#46], [#47], [#48] (all absorbed into the cap-merge-train PR [#49]).

Source: README.md, updated 2026-05-10