Skip to content

docs(skill): add preflight guidance for parallel tasks - #152

Open
xiyanjun wants to merge 1 commit into
Tencent:mainfrom
xiyanjun:docs/preflight-check
Open

docs(skill): add preflight guidance for parallel tasks#152
xiyanjun wants to merge 1 commit into
Tencent:mainfrom
xiyanjun:docs/preflight-check

Conversation

@xiyanjun

Copy link
Copy Markdown
Contributor

What

Adds a preflight step to the Mandatory workflow for parallel-task scenarios, addressing the documentation layer of #132.

All sessions in a browser share one cookie jar. Two tasks hitting the same logged-in site will silently overwrite each other's login state — no error, hard to diagnose. This PR tells agents to check for domain overlap before running tasks in parallel.

Change

One paragraph added to the Mandatory workflow in both skill/SKILL.md and crates/bsk-cli/skill/SKILL.md (kept in sync):

  • Run bsk session list + bsk tab list --session <id> --scope all --json to check domain overlap.
  • If the target domain overlaps an active session's agent tab, run serially or start the new session on a different browser instance (bsk session start --browser <instance-id>).
  • Ensure ≥ N active sessions for N parallel tasks.

Documentation only — no behavior change. This is the "SKILL.md workflow" option proposed in #132; the bsk preflight CLI subcommand and the cookie/storage isolation primitive remain open for discussion there.

Related to #132.

All sessions in a browser share one cookie jar, so parallel tasks hitting the same logged-in site can silently overwrite each other's login state. Add a preflight step to the Mandatory workflow advising agents to check session/tab lists for domain overlap before running tasks in parallel.

Related to Tencent#132.
@xiyanjun
xiyanjun force-pushed the docs/preflight-check branch from 9b5a4f0 to 577855e Compare August 28, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant