vaws-session-start · git:20260913.1eb7909 · 2026-09-13 · sha256 e58dc5a0496970c9

vaws-session-start git:20260913.1eb7909A

Immutable. This exact content is served forever at /api/v1/blob/e58dc5a0496970c9.

---
description: Select this native session's editing workspace
alwaysApply: true
---

<!-- BEGIN VAWS session-start -->
For local PR review or an explicit remote endpoint (including a user-supplied container), use the native or remote-dev tools directly. No startup command, identity setup or knowledge lookup is required. When the task needs a new independent local editing workspace or managed preparation, run once `uv run --no-project python .agents/scripts/vaws_start.py --client cursor`. Add `--context-file PATH` when the native hook supplied that context and the command cannot obtain it from the client environment (official Kimi needs it). The command checks saved initialization itself and reports missing first-use setup; no configuration inspection is needed beforehand. If the native hook explicitly reports a prepared workspace W and selected environment, use them directly.

Use the returned `workspace` as W: shell tools use W as cwd (or `cd W && ...`), and file, search and patch tools use absolute paths under W. Sources and the selected environment are already bound; do not repeat session setup. Official Kimi task calls carry the returned `context_file`; companion calls can also supply it to use that prepared task's selected environment. Other clients receive context through hooks; if a tool reports missing context, pass the existing `context_file`. Use configured knowledge tools when useful.

Resume keeps the earlier W, task and environment; do not prepare, update or create another directory. Client UI/default cwd can remain at the original project.
<!-- END VAWS session-start -->