- 删除 VerificationCodeParser 及相关测试,短信捕获和推送不再解析验证码 - 飞书推送改为只发送短信原文,时间戳格式化为可读日期 - 移除主界面"只推送验证码"开关和"调试时上传完整短信正文"选项 - 移除"保存轮询间隔"按钮,开启轮询时自动保存间隔(未输入默认1秒) - 按钮文字从"开始1秒轮询验证码"改为"开始短信轮询" - 删除"打印最近30条短信"功能及相关 SmsInboxReader.logRecentMessages - SmsInboxReader 用 RecentSmsResult 替换 RecentCodeResult - FeishuWebhookConfigStore.Config 移除 filterVerificationCode/sendFullBodyDebug - 修复代码缩进不一致问题
26 lines
1.3 KiB
YAML
26 lines
1.3 KiB
YAML
schema: spec-driven
|
|
|
|
context: |
|
|
Project: SmsReceive
|
|
Primary platform: Android
|
|
Reference build environment: Weather reference project
|
|
Target device: Xiaomi 12S, HyperOS 3, Android 15
|
|
Primary goal: build a personal Android app that can receive and surface original SMS content on the user's own phone.
|
|
Audience: an experienced Android engineer who wants a practical Android implementation plan before coding.
|
|
|
|
rules:
|
|
proposal:
|
|
- Write in Chinese
|
|
- Always include Why, What Changes, Capabilities, Impact, Validation
|
|
- Make the recommended SMS capture path explicit instead of listing only generic options
|
|
- Keep Android Studio, Gradle, and JDK setup out of scope; reuse the Weather project build environment as reference
|
|
design:
|
|
- Write in Chinese
|
|
- Include API strategy, Android 15 permission constraints, Xiaomi/HyperOS validation risks, message handling strategy, diagnostics, privacy boundaries, and test strategy
|
|
- Treat implementation as a personal sideload/debug app, not a Play Store compliance exercise
|
|
tasks:
|
|
- Write in Chinese
|
|
- Break work into actionable engineering steps
|
|
- Separate spec/design validation from implementation and device validation
|
|
- Include checks for unintended EOF newline changes before commit or push
|