Repository navigation
v0.4.1 — Hermes-native PDR recipes
[0.4.1] — 2026-05-14
Summary
v0.4.1 turns hermes-quant from a hard-coded MVP committee into a Hermes-native PDR recipe platform. A recipe is now the named, inspectable, replayable unit of a trading system: it declares Perceive components (provider + analysts), Decide components (aggregator + risk gate), React policy (paper/live mode constraints), and evaluation gates.
Added
- ADR-0021: PDR recipes as the runtime contract above component entry-points.
hermes_quant.recipes.PDRRecipewith stable config hashing, validation, built-inbtc-usdt-mvprecipe, and component instantiation helpers.quant_recipesHermes tool and/quant recipesslash path for read-only recipe discovery.- Advisor recipe metadata:
quant_recommend/advisor.recommendacceptrecipe_idand return{id, config_hash}in result JSON. - Backtest recipe passthrough:
replay()andwalk_forward_replay()forwardrecipe_idinto the production advisor path. - Architecture documentation:
docs/architecture/pdr-trading-system.mdplus architecture index. - ADR index:
docs/adr/README.mdgenerated for the full ADR set.
Fixed / Changed
- The advisor no longer has to be the only place where the canonical analyst loadout is encoded; default behavior remains compatible, but recipes are now the extensibility seam.
quant_recommendno longer forcesasset_class="equity"when a recipe should supply crypto/equity defaults.
Test sweep
- 580 passed, 1 skipped (was 572 → +8, zero regressions).