Repository navigation
Release 0.8.0
Minor release, version-aligned with the Python and TypeScript SDKs. Raises the required floor to
apcore 0.31.0 and apcore-toolkit 0.12.0, and fixes a card/enforcement divergence the floor
raise would otherwise have reopened. 224 tests pass (was 224 — one test rewritten in place, no
new surface).
Fixed
ApCoreAgentExecutor::acl_contextno longer synthesizes anIdentityfor an anonymous
caller (src/server/executor.rs). This method exists to reproduce, out of pipeline, exactly
what apcore'sBuiltinContextCreationhands toBuiltinACLCheck, so the Agent Card filter and
the real call path agree about what an anonymous caller can see. Through apcore 0.30, apcore-rust
itself manufactured anIdentity{id:"@external", type:"external"}for a null identity — a
Rust-only bug apcore-python and apcore-typescript never had — and this method mirrored it for the
same reason it mirrors everything elseBuiltinContextCreationdoes. apcore 0.31.0 fixes
apcore-rust to match its siblings (PROTOCOL_SPECdecision D-103: a nullidentitystays null,
no synthetic@externalprincipal;caller_idalone still defaults to the ACL's@external
sentinel). Left unmirrored, this method would have kept manufacturing anIdentitythe real
pipeline no longer does, silently reopening the exact discovery/enforcement disagreement this
method was written to prevent: aidentity_types/rolesconditional ACL rule would evaluate
against a fabricated principal on the card path and againstNoneon the call path.caller_id
defaulting is unaffected — only theidentitysynthesis was removed.
Changed — dependency floor
- Required
apcorefloor raised to 0.31.0 (was>=0.30) and requiredapcore-toolkit
floor raised to 0.12.0 (was>=0.11.1). apcore 0.31.0 is two joined audit cycles
(PROTOCOL_SPECv1.37.0 → v1.59.0) settling 54 cross-language divergences, five of them
security defects; apcore-toolkit 0.12.0 adds the Device Authorization Flow (RFC 8628, unused
here), threads apatternparameter throughBindingLoader.load(not used by this crate), and
fixes a$refsibling-key credential-disclosure defect in its own schema resolver. Every
apcore/apcore-toolkitsymbol this crate imports was grepped against both changelogs'
breaking-change sections: the one hit is theacl_contextfix above.src/adapters/schema.rs
delegates$refresolution entirely toapcore_toolkit::deep_resolve_refs, so the toolkit's
sibling-key fix reaches this crate transitively with no code change needed here — unlike
apcore-mcp, which carried an independent, unfixed copy of the same bug in its own schema
converter.sys_modules.enabledregistration,global_deadlineconstruction (already a
dedicatedContextfield, already epoch seconds, already built fresh per request rather than
deserialized), andgovernance_state()/check_accessusage were all checked against their
respective decisions and need no change.