yf176 commited on
Commit Β·
abbefd9
1
Parent(s): a526b57
docs: update README for v4.4 release
Browse files
README.md
CHANGED
|
@@ -13,13 +13,36 @@ pinned: false
|
|
| 13 |
|
| 14 |
[](https://opensource.org/licenses/MIT)
|
| 15 |
[](https://www.python.org/downloads/)
|
| 16 |
-
[ |
|
| 33 |
|
| 34 |
-
> **Backward compatible** β all v4.1 / v4.0 / v3.x / v2.x features continue to work unchanged.
|
| 35 |
-
|
| 36 |
-
<details>
|
| 37 |
-
<summary>Previous releases</summary>
|
| 38 |
-
|
| 39 |
### v4.0 / v4.1
|
| 40 |
|
| 41 |
| Feature | Description |
|
|
|
|
| 13 |
|
| 14 |
[](https://opensource.org/licenses/MIT)
|
| 15 |
[](https://www.python.org/downloads/)
|
| 16 |
+
[](pyproject.toml)
|
| 17 |
|
| 18 |
Polyhedra turns your workflow into a structured team of AI agents β four academic research agents **plus** a seven-agent quant paper-trading pipeline β all coordinated via `@mention` routing, Slack slash commands, and the `poly` CLI.
|
| 19 |
|
| 20 |
---
|
| 21 |
|
| 22 |
+
## What's New in v4.4
|
| 23 |
+
|
| 24 |
+
**Stabilisation release** β bug fixes, security hardening, and internal architecture improvements.
|
| 25 |
+
|
| 26 |
+
| Area | Change |
|
| 27 |
+
|------|--------|
|
| 28 |
+
| π **RAG session isolation** | Each session gets its own `embeddings.json` β concurrent sessions no longer collide on a shared index |
|
| 29 |
+
| π **Ticker validation** | `_SKIP_TOKENS` frozenset removed; replaced with `_is_valid_ticker()` regex (`^[A-Z]{1,5}$`) + `POLYHEDRA_VALID_TICKERS` env var |
|
| 30 |
+
| π **Structured proposals** | `QuantStrategist` outputs a validated `{"proposals": [...]}` JSON block; `parse_proposals_block()` extracted to `routing.py` |
|
| 31 |
+
| π‘ **yfinance fallback** | `_fetch_ohlcv_yfinance()` returns `None` on any failure; `DataFetcher` routes to `@human` with an alert when all OHLCV fetches fail |
|
| 32 |
+
| π₯οΈ **Monitor loop fix** | `PortfolioMonitor` now iterates only sessions with open positions via `SessionManager.active_sessions_with_positions()` + `registry.json` |
|
| 33 |
+
| π§© **CoordinatorService decomposed** | `AgentRouter`, `TemplateBuilder`, `StatePatcher`, `CostGate` extracted to `core/` β Coordinator is now a thin orchestrator |
|
| 34 |
+
| π¦ **Typed AgentOutput** | Pydantic `*Output` models for all 7 quant agents in `agents/quant/outputs.py`; `AgentResponse.output` field added |
|
| 35 |
+
| π **TraceLogger** | Append-only `trace.jsonl` per session; `/poly trace`, `poly trace` CLI; `/poly tokens` reads from trace |
|
| 36 |
+
| π **Help command** | `COMMAND_REGISTRY` with 25 entries; `/poly help` (Slack) and `poly help` (CLI with rich table) |
|
| 37 |
+
| π **Research agent flag** | `POLYHEDRA_ENABLE_RESEARCH=true` required to import research agents (Scout/Strategist/Critic/Scribe) |
|
| 38 |
+
| π **Docs** | Module docstrings in `agent/` and `agents/`; README "Two Execution Models" section |
|
| 39 |
+
|
| 40 |
+
> **Backward compatible** β all v4.2 / v4.1 / v4.0 / v3.x / v2.x features continue to work unchanged.
|
| 41 |
+
|
| 42 |
+
<details>
|
| 43 |
+
<summary>Previous releases</summary>
|
| 44 |
+
|
| 45 |
+
### v4.2
|
| 46 |
|
| 47 |
| Feature | Description |
|
| 48 |
|---------|-------------|
|
|
|
|
| 54 |
| βΈ `/poly trade hold` | Suppress monitor alerts for a position for 1 hour |
|
| 55 |
| β± Background scheduler | `mount_to_fastapi` launches an `asyncio` loop that dispatches `@portfoliomonitor` every N minutes (default 30, configurable via `POLYHEDRA_MONITOR_INTERVAL`) |
|
| 56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
### v4.0 / v4.1
|
| 58 |
|
| 59 |
| Feature | Description |
|