yf176 commited on
Commit
abbefd9
Β·
1 Parent(s): a526b57

docs: update README for v4.4 release

Browse files
Files changed (1) hide show
  1. README.md +25 -7
README.md CHANGED
@@ -13,13 +13,36 @@ pinned: false
13
 
14
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
15
  [![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
16
- [![Version](https://img.shields.io/badge/version-4.2.0-green.svg)](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.2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
  | Feature | Description |
25
  |---------|-------------|
@@ -31,11 +54,6 @@ Polyhedra turns your workflow into a structured team of AI agents β€” four acade
31
  | ⏸ `/poly trade hold` | Suppress monitor alerts for a position for 1 hour |
32
  | ⏱ Background scheduler | `mount_to_fastapi` launches an `asyncio` loop that dispatches `@portfoliomonitor` every N minutes (default 30, configurable via `POLYHEDRA_MONITOR_INTERVAL`) |
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
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
15
  [![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
16
+ [![Version](https://img.shields.io/badge/version-4.4.0-green.svg)](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 |