Files
wehub-resource-sync 9b395f5cc3
E2E Headed Chrome / e2e-headed (macos-15) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (ubuntu-latest) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (windows-latest) (push) Has been cancelled
CI / build (macos-latest) (push) Has been cancelled
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
CI / unit-test (push) Has been cancelled
CI / bun-test (push) Has been cancelled
CI / adapter-test (push) Has been cancelled
CI / smoke-test (macos-latest) (push) Has been cancelled
CI / smoke-test (ubuntu-latest) (push) Has been cancelled
Security Audit / audit (push) Has been cancelled
Build Chrome Extension / build (push) Has been cancelled
Trigger Website Rebuild (Docs Updated) / dispatch (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:39:48 +08:00

2.3 KiB
Raw Permalink Blame History

schema_version, workflow_id, intent, last_verified, source
schema_version workflow_id intent last_verified source
1.1 reply reply to a specific tweet 2026-06-02 global

Goal

对一条 known tweet URL 发 reply (text only)。

State signature

  • entry: 任意 page, 知道 target https://x.com/<handle>/status/<id>, logged_in
  • success: 该 status detail page 下方 5s 内出现自己的 reply

Best path

adapter: opencli twitter reply
adapter_health: healthy
preconditions:
  - logged_in
  - target_status_url known
  - reply content satisfies pitfall:reply_silent_fails_on_rich_content constraints
estimated_turns: 1

直接 opencli twitter reply --status-url <url> --text "<content>"

强约束reply 含多段 / bullet / 反引号 / / <url> 占位 → 多半 silent fail改写或走 Fallback。详 pitfall:reply_silent_fails_on_rich_content

Fallback path

adapter 失败或 reply 内容过 rich 时:

on_adapter_fail:
  - adapter_health_update: opencli twitter reply -> suspect
  - goto <status-url> (lands pages/status.md)
  - action:open_reply_composer_inline in pages/status.md
  - type content (RTL segmented, rich content per pitfall workaround)
  - action:submit_reply in pages/status.md
  - verify self reply within 5s under detail
estimated_turns: 4

Avoid

  • 不要用多段 bullet list reply — silent fail 无 error 反馈;按 pitfall:reply_silent_fails_on_rich_content 改写
  • 长 reply (>500 char) 改走 post + quote 模式 → workflows/post.md + quote_url 参数
  • 不要 reply 后立刻发第二条 — Twitter 短时间内限流,间隔 ≥ 2s

Re-entry checkpoints

  • on //status/, reply composer 未浮现 → Fallback step 2 起
  • on //status/, composer 浮现且 textarea 部分输入 → step 3 起
  • detail 下方已出现 self reply → 完成

State validation

  • detail 下方 reply 列出现 self entry
  • self reply text 完全匹配 submitted contentreply composer 不做 URL 自动转换,可 strict equality
  • 主 tweet 工具栏 reply 计数 +1

Stale markers

  • reply composer can not be verified 错误率上升 → silent fail 模式可能扩到更多 content 形态,pitfall workaround 需更新
  • adapter opencli twitter reply 月度 fix 多 → adapter_health audit 标 suspect