- Add PublisherAgent ('Finley') as 10th quant agent
- Reads trade proposals, trend, sentiment, risk artifacts
- Produces <=500-word market post with mandatory disclaimer
- Supports @publisher write/rewrite with cache-bypass nonce
- Routes to @human after posting
- Add Session Modes
- investigation (default): full visibility, checkpoints enabled
- yolo: silent pipeline run, only Finley's post visible, no depth-3
checkpoints; live status via chat.update
- QuantState: add mode + yolo_status_ts fields
- AgentRouter: YOLO-aware can_dispatch(), publisher in QUANT_ROLES
- CoordinatorService: full YOLO support (post suppression, checkpoint
bypass, status updates, /poly mode handler)
- slack.py: --yolo flag in all 3 init paths, _cmd_mode,
_cmd_mode_from_mention, /poly mode router, help text v5.0
- Bump version to 5.0.0
- Ticker-first auto-init: _extract_tickers_from_text(), _generate_goal(),
_auto_init() in slack.py — no /poly init required (FR-1, FR-2, FR-3, FR-4)
- Friendly no-session prompt when no tickers detected (FR-1.4)
- /poly init --force + existing session warning (FR-5.2/5.3)
- /poly goal + @coordinator goal mention handler (FR-3.3, FR-7.1)
- COMMAND_REGISTRY updated with --force and goal entries (FR-7.1)
- OpenRouterAdapter in llm_service.py — OpenAI-compatible, usage.cost passthrough,
ConfigurationError on 400 (FR-OR-1 through FR-OR-7)
- _PROVIDER_MAP refactor covers anthropic/openai/gemini/openrouter
- version bumped to 4.5.0 in __init__.py and pyproject.toml"
feat: V4.4 stabilisation release
yf176
a526b57
High/Medium priority fixes:
- FIX-1: RAG session isolation — session-scoped embeddings.json, no cross-session collisions
- FIX-2: SessionManager.active_sessions_with_positions() + registry.json + monitor loop fix
- FIX-3: parse_proposals_block() in routing.py; QuantStrategist structured JSON proposals; _parse_proposal_block removed
- FIX-4: version 4.4.0 in __init__.py, pyproject.toml, app.py, /health response
- FIX-5: _fetch_ohlcv_yfinance returns None on failure; DataFetcher routes @human on all-OHLCV-fail; yfinance_alert in state_patch
- FIX-6: module docstrings in agent/__init__.py and agents/__init__.py; README Two Execution Models section
- FIX-7: POLYHEDRA_ENABLE_RESEARCH env var gates research agent imports
- FIX-8: _is_valid_ticker() replaces _SKIP_TOKENS; POLYHEDRA_VALID_TICKERS env var
Structural improvements:
- STRUCT-1: CoordinatorService decomposed into AgentRouter, TemplateBuilder, StatePatcher, CostGate
- STRUCT-2: Typed AgentOutput Pydantic models for all 7 quant agen…
perf: lazy-load LLMService on first use; disable research agents from Slack sessions
yf176
c07a8a8
- All 11 LLM agents now initialize LLMService on first _llm access, not at __init__
- Removes 11x LLM service init log lines at session startup
- Scout/Strategist/Critic/Scribe removed from Slack agent registry and selected_roles
- Only quant team (9 agents) registered per session
fix: trade approve/reject parses proposals from MD file when quant state is empty
yf176
61bb7f0
fix: export via mention + add proposals command
yf176
79caf02
fix: export uploads zip to Slack instead of posting server path
yf176
0b18522
fix: auto-create session for watchlist/quant commands without prior init
yf176
d50a5e9
watchlist add/remove/show and quant now auto-init a "Quant paper
trading session" when no session is active, so users don't need to
run /poly init first before adding tickers or kicking off analysis.
fix: route @mention commands to slash-command handlers
yf176
35476bd
@Bot watchlist|quant|portfolio|trade|role|status <args> now dispatches
to the same _cmd_* methods as /poly, via an inline _SayClient shim.
Previously these were passed raw to the coordinator as agent mentions.
feat: V4.0 quant team — paper trading pipeline
yf176
ceed0f2
- Add AlphaVantageService (rate-limited, 25 calls/day, DailyCapExceeded)
- Add QuantState + Signal/BacktestResult/TradeProposal/PaperPosition/TradeEvent dataclasses
- Add 7 quant agents: datafetcher, trendanalyst, sentimentanalyst, quantresearcher, backtester, riskanalyst, quantstrategist
- Add LLM routing module (parse_llm_routing, LLM_ROUTING_PROMPT)
- Update CoordinatorService: separate quant depth counter, session_dir injection
- Update Slack: /poly quant|portfolio|trade|watchlist commands, all 11 agents registered
- Bump version to 4.0.0, document ALPHA_VANTAGE_API_KEY env var
Paper trading simulation only — no real capital involved."
fix: preserve @agent mentions when stripping leading @coordinator prefix