Repository navigation
Aphrodite/v1.5.0
Compare Aphrodite/v1.4.6...Aphrodite/v1.5.0
Aphrodite v1.5.0 💋 Plugin v2.2.0
Summary
v1.5.0 is the edition-2024 + atomization release: the crate moves to the
nightly toolchain and Rust 2024 edition (unsafe-attr exports, let-chains), the
flat src/*.rs files are promoted into per-item module trees (state/,
preview/, directives/, marker/, resolve/, setup/,
struct_extract/, config/), and the chrono dependency is dropped. It
adds the aphrodite_debug tool (per-session debug toggle that survives dylib
hot-reloads via a persisted session id), restructures the dev skill system
into canonical contract skills with a governance layer, and lands two full
inspection waves of correctness fixes across the state engine, catalog,
session lifecycle, hooks pipeline, proxy, retrieve, and config loader. The
README gains a real-world savings analysis with compression metrics.
Binary 1.4.6 → 1.5.0, plugin 2.1.4 → 2.2.0.
Changes
- Migration (edition-2024): workspace toolchain moved to latest nightly;
no_mangleexports migrated to edition-2024unsafeattribute syntax;
nested conditionals converted to let-chains;vendor/headroombumped to
restore closure signatures; FFI contract checker taught the edition-2024
attribute form. - Refactor (atomization): flat module files converted to directory-based
modules, then atomized into per-item module trees; docs and scripts
re-pointed at the new layout. - Feature (debug):
aphrodite_debugtool toggles per-session debug
output; session id persists across dylib hot-reloads and stays scoped to
the current turn's session. - Refactor (deps):
chronodependency removed;lrubecomes an
unconditional dependency of the state engine (inline-store LRU). - Docs (skills): skill system restructured into canonical contract
skills with a governance layer; README savings analysis with real-world
compression metrics. - Fix (inspection wave 1 - state/catalog/session): inline-store LRU
promotion is O(1) via thelrucrate order cache (was O(n)retain);
chain_split_enabledstruct default now matches the shipped config
default (false);recent_markersis aVecDequewith O(1) front
eviction; ring caps become named constants;always_survivecounts only
present sections; catalogby_typeis deterministic (BTreeMap); the
file-delta summary selects genuinely new files in insertion order;
chain_split_min_segmentsresets to the configured floor on session
start;post_llm_callarchives the largest marker of the turn; the
catalog table reports entries beyond its 20-row window; directive
truncation uses a consistent char-count unit. - Fix (inspection wave 2 - proxy/retrieve/config): poisoned
inline_ccr
lock returns HTTP 500 instead of a silent miss;get_boolaccepts
uppercase/mixed-case values; a found-but-brokenaphrodite.tomlnow warns
instead of being skipped silently; the missing-$HOMEfallback warns
instead of silently writing the CCR database to a volatile location;
body_wants_streamgets a byte-exact fast path; content-type detection
requires error markers at the start of the first line; initialfill_pct
is derived fromINITIAL_RATIO_EMA;AppStatefields are documented by
category and the std-Mutex-never-across-await rule is stated next to the
fields. - Fix (hermes): the hermes test helper uses
VecDeque::back()for
recent_markers(.last()does not exist onVecDeque); unnecessary
unsafeblock removed from the C-string teardown path. - Chore (style/classification): rustfmt spacing normalized; classification
and UML docs refreshed for binary 1.5.0 / plugin 2.2.0.
Infrastructure
- Build:
cargo build --release -p aphrodite -p aphrodite-hermes✅ (CI
Build workflow, 4-target matrix) - Tests:
cargo test -p aphrodite✅ (393 lib passed, 0 failed, 1 ignored);
cargo test -p aphrodite-hermes✅ (52 passed) - Lint:
cargo clippy -p aphrodite --lib -- -D warnings✅ and
-p aphrodite-hermes✅ - Format:
cargo fmt --all -- --check✅ - Codegen/FFI:
FFI-Checkworkflow ✅;test_finalize_bindings.pyper CI - Python: ruff + pyright gates per CI
Check.yml - Ceremony: B4 branch-identity audit clean (I1 + R1); I9 protected-path diffs
empty; submodule gitlinks pinned, no+; plugin released first (v2.2.0)
What Ships
Build.yml's 4-target matrix (aarch64-apple-darwin, x86_64-apple-darwin,
x86_64-unknown-linux-gnu, x86_64-pc-windows-msvc) stages, per target, the
aphrodite binary + libaphrodite_hermes dylib + a SHA256SUMS-<target>.txt
(4 targets × 3 files = 12 artifacts).
| Artifact pattern | Platform |
|---|---|
aphrodite-<target> / libaphrodite_hermes-<target>.{so,dylib,dll} |
per matrix target |
SHA256SUMS-<target>.txt |
checksums for that target's two binaries |
| Plugin v2.2.0 | Hermes (standalone repo Aphrodite-Hermes) |
Links
- Full Changelog: Aphrodite/v1.4.6...Aphrodite/v1.5.0
- CHANGELOG.md: CHANGELOG.md
- Plugin: https://github.com/PlayForm/Aphrodite-Hermes
- Headroom Fork: https://github.com/PlayForm/Headroom