Repository navigation
chassis-harness 0.8.0
pip install chassis-harness==0.8.0- Documentation: https://andreolli-davide.github.io/chassis/
- PyPI: https://pypi.org/project/chassis-harness/0.8.0/
Beta readiness: strict canonicalization, an unambiguous public API, aligned
diagnostics and documentation, enforced coverage and compatibility gates,
expanded package and dependency verification, and a completed Beta readiness
review — the package classifier is now Beta. Every change that can break a
caller from 0.7 is listed in
migrations,
and the release-candidate audit is recorded in
beta-readiness.
Fixed
- Persistence canonicalization hardened (roadmap R021). Canonical hashing
now requires string mapping keys — mixed or non-string keys raise
ConfigurationErrorinstead of being stringified into collisions — and the
primitive treatments are documented and pinned by deterministic tests: Unicode
is hashed without silent normalization, signed zero and integral floats
normalize together, non-finite floats are deterministic,Decimal-like values
are rejected rather than guessed, and nested key order never affects a digest.
The 12-digit float rounding is now documented (values that differ only beyond
the 12th decimal share a digest — keep behavior-affecting configuration well
inside that). - Migration note: payloads with non-string mapping keys are no longer
accepted bystable_hash/canonical_json; convert keys to strings first. - API ambiguity and silent fallbacks removed (roadmap R022). Passing
thread_id/resume/checkpoint_id/metadataalongside a complete
AgentRequestnow raisesConfigurationErrorinstead of silently ignoring
them.AgentResult.textsupports the documented message shapes (strings,
mappings with atextfield, and text-block sequences — joined with newlines)
instead of silently omitting mapping-shaped messages.ScopeTree.providers_of
raises for a missing scope instead of answering()— a valid empty scope and
a missing scope are different facts.ReplayMismatchdistinguishes exhaustion
from a missing key (reason="exhausted"/"missing"). - Migration note: code that combined a complete
AgentRequestwith
convenience arguments now raises; move those fields into the request itself.
Code relying onproviders_ofreturning()for unknown scope paths must
handleConfigurationError. - Diagnostics and documentation aligned with implementation (roadmap R023).
Status and cleanup reports render failures through a structured, redacted
representation (description,error_type, scrubbederror) instead of raw
exception strings, andReconcileResult.to_dictaccepts asanitize
callable. The resolver documentation now states the real rule (active plugins
contribute registrations; selection stays ambiguous without a preference —
stability comes from incremental reuse). A documentation test maps every
guarantee G1–G24 to at least one existing test node, and the design, security,
replay, observability, and hook documentation is synchronized with its
regression tests. - Migration note:
CleanupFailure.to_dict()now returnserror_typeplus a
scrubbederrormessage instead of one combined"Type: message"string. - Coverage and compatibility gates established (roadmap R024). CI now
enforces branch coverage forsrc/chassisat the measured 0.5.0 baseline of
91% (pytest --cov=src/chassis --cov-branch) plus focused per-area floors for
lifecycle, resolver, registry, security, replay, and telemetry via
scripts/coverage_gate.py— a high global number can no longer hide an
untested boundary. The lockfile job stays the reproducible development
baseline, with a minimum-supported-direct-dependencies job
(uv lock --resolution lowest-direct) and a latest-compatible job
(uv lock --upgrade) comparing against it. - Package and dependency verification expanded (roadmap R025). CI now
smoke-tests the wheel and the sdist in clean environments and exercises the
core,langgraph,langsmith, and combined extras independently; a
dependency vulnerability scan (pip-audit) runs on every push with a
documented triage process (fix, reviewed upper bound, or a written exception —
untriaged findings fail the build). Lower-bound-only dependencies are reviewed
through the minimum/latest compatibility jobs; no upper bounds are needed
today. Release artifacts ship with a CycloneDX SBOM and PyPI digital
attestations. - Beta readiness review completed (roadmap R026). The release candidate was
re-audited across architecture, security, concurrency, packaging, and
documentation (recorded indocs/beta-readiness.md): every item R001–R026 is
complete with none deferred, the public API is reviewed and pinned (one
accidental export,DependencyResolver, removed), migration instructions
cover all pre-1.0 breaking changes since 0.5.0, and the package classifier is
now Beta.