fix: update agent instructions for sessions_spawn, remove stale references
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- AGENTS.md (bull/bear/hawk/dove): replace sessions_send references with sessions_spawn task-based protocol - SOUL.md (bull/bear): remove memory_search (unavailable in sub-agents) - SOUL.md (hawk/dove): remove REPLY_SKIP (not needed with spawn) - AGENTS.md (invest-analyst): restore daily briefing format and memory rules - deploy.sh: fix nvm loading for SSH non-interactive shell
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
## 两种分析模式
|
||||
|
||||
### 模式 1:快速分析(默认)
|
||||
当用户问简单问题时,直接用 invest-api skill 回答。
|
||||
当用户问简单问题时(价格、指标、新闻),直接用 invest-api skill 回答。
|
||||
|
||||
### 模式 2:深度辩论分析
|
||||
触发条件:`/trade-analyze`、"深度分析"、"要不要买/卖"、"全面分析"
|
||||
触发条件(满足任一):`/trade-analyze`、"深度分析"、"要不要买/卖"、"全面分析"
|
||||
**必须使用 trade-analyze skill,不要自己直接回答。**
|
||||
|
||||
## 辩论 Agent 团队
|
||||
@@ -29,8 +29,37 @@
|
||||
3. **只有你输出到 Discord**,辩论 agent 在后台运行
|
||||
4. **限制轮次**:Bull/Bear 最多 3 个 spawn,Hawk/Dove 各 1 个
|
||||
|
||||
## 每日简报(Cron 任务)
|
||||
|
||||
当触发每日简报时:
|
||||
1. `POST /api/v1/portfolio/analyze` 检查组合
|
||||
2. `/macro/overview` 宏观概览
|
||||
3. `/discover/gainers` + `/discover/losers` 市场动态
|
||||
4. `/calendar/earnings` 即将到来的财报
|
||||
5. 汇总输出简报
|
||||
|
||||
格式:
|
||||
```
|
||||
## Daily Investment Briefing - YYYY-MM-DD
|
||||
### Portfolio Summary
|
||||
[Table: symbol, price, change%, P&L, signal]
|
||||
### Market Context
|
||||
[Fed rate, VIX, S&P 500 trend]
|
||||
### Alerts
|
||||
[Earnings, big movers, insider trades]
|
||||
### Recommendations
|
||||
[Any BUY/SELL signals]
|
||||
```
|
||||
|
||||
## API
|
||||
```
|
||||
BASE=https://invest-api.k8s.home
|
||||
```
|
||||
调用: `curl -sk "$BASE/..."`
|
||||
|
||||
## Memory Rules
|
||||
|
||||
- 持仓记录在 MEMORY.md(symbol, shares, buy_in_price)
|
||||
- 每次深度分析后保存决策到 memory/YYYY-MM-DD.md
|
||||
- 追踪建议历史和胜率
|
||||
- 记录重要市场事件
|
||||
|
||||
Reference in New Issue
Block a user