cendor-sdk 1.5.0
V03 Tier-A wiring (plan-guardrails-v03). Additive and backward-compatible. Requires
cendor-guardrails>=1.3.
Added
task_adherenceat thetool_callstage (A3) — the runner now threads the run's originating
user turn intoContext.instructionon the tool-call gate, so a BYO-judge alignment check
(judge.task_adherence(respond), reused fromcendor-guardrails) can compare a proposed tool call
against the user's intent. Wire it viarules.llm_judge(check, stage="tool_call", action="flag")
(advisory + fail-open by default;action="block"short-circuits the tool). The judge call rides
your instrumented client, so its own spend is budgeted + audited. No adherence-rate claim.task_adherencere-exported at the SDK top level (from cendor.sdk import task_adherence,
alongsidejudge/rules).- A1/A2 ride along from
cendor-guardrails1.3:rules.spotlightis re-exported through the SDK
rulessurface, and the reserved annotation-parity metadata keys (detected/filtered/
redacted/severity/ …) now land on the SDK'sguardrail_decisionaudit entries with no change
to the runner or acttrace.