feat(dev-tools): add shadow portal and dsh gateway local E2E scripts

Add events-only Context Runtime shadow portal verification to save LLM
tokens, wire Tool Gateway → dsh headless smoke, and document both flows.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-09-10 09:24:57 +08:00
parent 6d76618c0b
commit 257edb4917
5 changed files with 371 additions and 1 deletions
+9
View File
@@ -62,6 +62,15 @@ node scripts/check-dsh-executor-local.mjs
- **预计超过 10k token 必须先经用户同意**
- 禁止循环重跑、禁止 unattended `check-goosed-v149-all` / phase3 聚合
## Tool Gateway E2E(一次 headless)
```bash
MEMIND_TOOL_GATEWAY_DSH_ENABLED=1 node scripts/test-dsh-executor-gateway-e2e.mjs
# → DSH_GATEWAY_E2E_OK
```
路由 `repo_refactor` → `dsh`;会消耗 LLM token,须人工批准。
## headless 手动探针
```bash