Files
isphere-ai-bridge/prompts/06-rpa-wrapper.md
2026-07-05 00:44:28 +08:00

771 B
Raw Permalink Blame History

Prompt: RPA Wrapper Builder

请使用 `rpa-wrapper-builder`,基于 UI 自动化评估结果设计 iSphere 的受控 RPA 包装层。

目标不是让 AI 自由操作鼠标键盘,而是封装有限动作:
- read_latest_messages(limit)
- search_contact(query)
- open_conversation(id_or_name)
- write_draft(text)
- send_after_approval(approval_id)
- upload_file(path)
- mark_processed(message_id)

要求:
- 发送真实消息必须人工确认。
- 每个动作要有前置校验、结果校验和日志。
- 优先控件 ID / automation id / role不优先坐标。
- 坐标和 OCR 只能作为最后兜底。

输出:
1. wrapper action contract
2. selector strategy
3. approval gates
4. failure recovery
5. audit log fields
6. POC 实现计划