Skip to main content

Crate aidens_boundary_kit

Crate aidens_boundary_kit 

Source
Expand description

Boundary compiler primitives for AiDENs.

LLM structured output, patch payloads, generated manifests, and repaired JSON should pass through this crate before reaching tools or memory.

Two compile paths are available:

  • compile_json_boundary() — the lenient path with repair, markdown fence stripping, JSON substring extraction, and treatment-critical field integrity checks.

  • canonical_boundary::canonical_compile_json_boundary() — the strict path via the canonical boundary-compiler-core microkernel. Use this when you need unforgiving RFC 8259 compliance with canonical digests.

Structs§

BoundaryParseOutcomeV1
BoundaryProfile
A boundary profile with all constraints and policies.
BoundaryRepairPolicyV1
CanonicalContentDigest
A blake3 content digest of JCS bytes, in hex.
Canonicalizer
JCS canonicalizer that produces deterministic JSON bytes.

Enums§

BoundaryError
CanonicalJcsError
Errors that can occur during JCS canonicalization or boundary profile processing.

Functions§

canonical_compile_json_boundary
Delegating boundary compile: strict parse path via the canonical bcc.
canonical_digest
Compute a canonical RFC 8785 JSON digest for any value.
canonicalize_json
Canonicalize a JSON value per RFC 8785.
compile_json_boundary
detect_duplicate_keys
memory_claim_input_schema
no_repair_receipt
non_authoritative_boundary_json_display_digest
parse_json_boundary
parse_strict_canonical
Parse JSON with strict duplicate-key detection (using the canonical boundary compiler).
parse_strict_json
repair_receipt
validate_json_schema
validate_memory_claim_input
validate_tool_input_schema