# Editor Flow This skill is based on the preserved source flow in `assets/zhihu_write_flow.source.json`. ## Entry Points - Creator center entry URL: `https://www.zhihu.com/creator` - BrowserAttached direct editor URL: `https://www.zhihu.com/creator/posts/new` `https://zhuanlan.zhihu.com/write` exists in the preserved source flow, but it is not the default entry point inside the current SuperRPA browser host because the host domain policy only guarantees `www.zhihu.com`. The current BrowserAttached flow enters creator center first, then uses the packaged browser-script tools to resolve whether the session is blocked by login, already in the editor, or needs the canonical creator editor route. ## Required Inputs - `title` - `body` Both fields must be non-empty before any browser action starts. ## Core Sequence 1. Navigate to creator center. 2. Click the write-article entry. 3. Wait for the title input in the editor domain. 4. Fill the title with `clear_first = true`. 5. Fill the body editor with `clear_first = true`. 6. If publish mode: - scroll to the publish button - click publish - wait for publish confirmation dialog - click confirm publish - wait for published title - verify published title text ## Readiness Checks - The editor is considered ready only after the title input appears. - The publish flow is not complete until at least one post-publish verification succeeds. ## URL Capture Rules - Pre-publish clicks may return an editor URL. - A valid published article URL should match the published article prefix and should not end in `/edit`. - If publish mode finishes without a published article URL, treat the run as unconfirmed even if some clicks succeeded. ## Known Brittle Points - creator-center article entry selector - placeholder-based title input selector - generic primary-button publish selectors These should be revalidated before any live publish run.