Commit Graph

47 Commits

Author SHA1 Message Date
2569718930@qq.com 9026ccf4c0 机场推送间隔改为 2 分钟,适配峰值期高频需求
默认 120s per-city 独立推送,可通过 TELEGRAM_AIRPORT_PUSH_INTERVAL_SEC 覆盖。
最短允许 30s,避免过于频繁。

Constraint: _analyze 内部缓存 TTL 可能长于 2min,同数据可能重复推送
Scope-risk: 低,仅改间隔参数
Tested: ruff check 通过
2026-05-12 19:04:21 +08:00
2569718930@qq.com e062fedb3a 移除温度急变检测,改为 per-city 定时推送温度+DEB
去掉 0.5°C/10min 阈值触发、最高温锁定、冷却期等机制。
四座机场城市各自 10 分钟间隔独立推送当前温度和 DEB 预测,
仅当地 08:00-20:00 时段发送,无触发条件、无警报标题。

Constraint: 首尔/釜山展示跑道对温度,东京/安卡拉展示单站温度+本地时间
Scope-risk: 高,核心逻辑变更
Tested: ruff check 通过
2026-05-12 19:02:36 +08:00
2569718930@qq.com 64f8ff21ec @
新增机场高频推送:10分钟级温度监控 + DEB预测快报

为首尔/釜山/东京三大机场城市实现高频温度监控通道:
- 新增 airport_obs_log 表积累观测数据,支持趋势检测
- AMOS/JMA 成功后自动写入观测日志
- 新增 airport_rapid_temp_change 告警规则(20min窗口、0.5°C/10min阈值)
- 10分钟间隔高频子循环 + 30分钟机场快照(含 DEB 预测最高温)
- 最高温锁定后自动跳过,快照仅当地 08:00-20:00 发送

Tested: ruff check 通过
@
2026-05-12 17:04:17 +08:00
AmandaloveYang 3c2d1ce6fa 修复 ruff 检查:移除未使用的 CITY_QUERY_COST / DEB_QUERY_COST 导入
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 14:18:50 +08:00
AmandaloveYang 787d04619b feat: revamp points/reward system for inclusive engagement
- /city /deb now free, capped at 10/day each (was 2 pts cost)
- Welcome bonus +20 pts on first-ever valid message
- First-message-of-day bonus +2 pts
- Weekly winner point bonuses reduced (500→200, 300→100, 150→50)
- Weekly participation rewards for all active users (+5 base, +15 for ≥20 pts)
- Pro-day rewards for top 3 unchanged

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 13:35:52 +08:00
2569718930@qq.com 2183c0399d 移除错误定价信号和市场聚焦摘要功能
保留关键市场警报推送(4 条触发规则不变),
移除 mispricing 信号分类/推送、focus digest 评分/聚合/定时推送、
/markets 手动查询等全套逻辑,净删除 1049 行。
2026-05-07 21:42:06 +08:00
2569718930@qq.com f8c5cfab28 降低市场监控Telegram推送频率,减少重复通知
收紧推送周期、冷却时间和触发门槛的默认值,避免52城
同时监控导致的通知轰炸。删除不再使用的doc_refresher技能。

Constraint: 用户反馈电报群通知太频繁且同城市重复推送
Rejected: 在.env中配置 | 用户要求写死在代码默认值中
Confidence: high
Scope-risk: narrow
Directive: 如需临时放宽,仍可通过同名环境变量覆盖
Tested: Not-tested: 需实际运行bot验证推送频率
2026-05-06 14:50:35 +08:00
2569718930@qq.com f0436f498a This version of Antigravity is no longer supported. Please upgrade to receive the latest features. 2026-04-29 21:10:56 +08:00
2569718930@qq.com 449eb48d8b Add history model context and widen signal push window 2026-04-17 19:49:01 +08:00
2569718930@qq.com c3da29c09c Add dashboard prewarm worker and cache visibility 2026-04-08 06:53:49 +08:00
2569718930@qq.com 95c0c452f1 Finalize SQLite defaults and refresh calibration artifacts 2026-04-02 23:24:38 +08:00
2569718930@qq.com fdcc57339b Disable Telegram link previews in market digest messages 2026-04-01 20:07:03 +08:00
2569718930@qq.com 149452dcc0 Switch market digests to interval-based pushes 2026-04-01 19:23:35 +08:00
2569718930@qq.com 9e9e5a56ba Make markets command generate digest asynchronously 2026-04-01 19:08:31 +08:00
2569718930@qq.com 4f017d501b Refine market alert wording and focus digest scheduling 2026-04-01 18:56:39 +08:00
2569718930@qq.com 5fa69556eb Pass config into bot handler registration 2026-04-01 18:49:42 +08:00
2569718930@qq.com b1b8d3439c Restrict /markets to private chats 2026-04-01 18:34:58 +08:00
2569718930@qq.com c9719cf577 Add local peak timing and /markets bot digest 2026-04-01 18:24:50 +08:00
2569718930@qq.com 342ed77283 Document market monitor bot settings and retire wallet activity 2026-04-01 17:53:31 +08:00
2569718930@qq.com 2007ded86d Add HKO-backed Shek Kong settlement and history support 2026-03-27 20:11:08 +08:00
2569718930@qq.com 5e31bc9ea3 Add per-chat bot message cooldown overrides 2026-03-23 21:05:40 +08:00
2569718930@qq.com ff7d77ef06 Relax bot polling update restrictions 2026-03-23 20:53:09 +08:00
2569718930@qq.com ce22752ccc Add bot message activity diagnostics and bump extension to 0.1.4 2026-03-23 20:46:42 +08:00
2569718930@qq.com 98d36a9174 Fix weekly points display and clarify leaderboard stats 2026-03-20 23:50:40 +08:00
2569718930@qq.com f6771247a6 Add config validation and deployment docs 2026-03-20 22:00:02 +08:00
2569718930@qq.com 9ac0a13937 Assess PolyCop copytrade bot info 2026-03-17 19:18:37 +08:00
2569718930@qq.com 1ebd07ca31 feat: introduce core bot command handlers, orchestrator, and command parser for initial bot functionality. 2026-03-15 09:03:59 +08:00
2569718930@qq.com 81604bfe8a feat: Implement basic and city command handlers for the bot, including user identity binding and unbinding. 2026-03-14 22:35:44 +08:00
2569718930@qq.com e7a5347907 feat: add new command handlers for the /city and /deb commands 2026-03-14 22:22:53 +08:00
2569718930@qq.com fd7ec30e58 feat: Add new command handlers for the /deb and /city commands. 2026-03-14 22:13:52 +08:00
2569718930@qq.com 9bff3b0683 feat: implement /deb and /city command handlers for the bot. 2026-03-14 22:05:09 +08:00
2569718930@qq.com 314cad82e6 feat: add bot handlers for activity tracking, city weather queries, and historical data queries. 2026-03-14 21:58:33 +08:00
2569718930@qq.com 1c57a6f56e feat: Add new handlers for /deb and /city commands, and a general activity tracker. 2026-03-14 21:47:21 +08:00
2569718930@qq.com 530080a75d feat: Add /city and /deb command handlers for weather data and historical weather queries. 2026-03-14 14:24:11 +08:00
2569718930@qq.com c1fb52551d feat: Implement BotIOLayer for Telegram I/O, user points management, and message routing. 2026-03-14 11:55:57 +08:00
2569718930@qq.com d1f4a8b236 feat: add bot I/O layer for message routing and point management, updating .env.example with topic map configuration. 2026-03-14 11:51:14 +08:00
2569718930@qq.com 4bd531bbc9 feat: implement PolyWeather Telegram bot with weather and DEB analysis, a point system, and configuration. 2026-03-14 11:39:30 +08:00
2569718930@qq.com 02e35a3a5f feat: Implement a new contract-based payment system with wallet binding, payment intents, and subscription plan management. 2026-03-14 10:35:30 +08:00
2569718930@qq.com af2561d019 feat: Introduce a runtime coordinator for bot loops and add new payment checkout and confirmation modules. 2026-03-13 22:11:55 +08:00
2569718930@qq.com cd0a5d519f feat: Introduce core bot components, on-chain wallet watchers, Telegram notifications, and configuration management. 2026-03-13 19:24:05 +08:00
2569718930@qq.com edf2a37976 feat: Implement core Telegram bot features including command handling, user points, and identity management, and add Polymarket wallet activity watcher. 2026-03-13 18:39:39 +08:00
2569718930@qq.com ac9e537070 feat: Implement initial web frontend, comprehensive database management, and a bot-based weekly reward system. 2026-03-13 16:47:25 +08:00
2569718930@qq.com 50a2202930 feat: Add bot analysis and command services, bot settings, and a frontend account center with subscription and EVM wallet integration. 2026-03-13 12:45:39 +08:00
2569718930@qq.com 31ee147734 feat: Implement contract checkout payment service and account management UI. 2026-03-13 07:31:47 +08:00
2569718930@qq.com f7b649bb0a feat: Implement bot orchestration, command handling, and runtime coordination for background services. 2026-03-13 05:53:41 +08:00
2569718930@qq.com 0a869459c4 feat: Implement Supabase authentication, account management UI, and entitlement services. 2026-03-13 02:23:01 +08:00
2569718930@qq.com f4fea03f35 feat: Implement new bot architecture including handlers, services, analysis modules, and comprehensive tests. 2026-03-12 11:44:52 +08:00