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:
@@ -64,6 +64,18 @@ node scripts/check-codebase-memory-mcp-local.mjs
|
||||
node scripts/check-dsh-executor-local.mjs
|
||||
```
|
||||
|
||||
## Shadow Portal E2E(1 轮,省 token 默认只验事件)
|
||||
|
||||
Portal 需带 shadow 五件套(见上文)运行 `pnpm dev`:
|
||||
|
||||
```bash
|
||||
node scripts/run-context-runtime-shadow-portal-e2e.mjs
|
||||
# 默认 CONTEXT_RUNTIME_SHADOW_EVENTS_ONLY=1:拿到 headroom/budget shadow 事件即停,不等 Goose 跑完
|
||||
# 通过 → CONTEXT_RUNTIME_SHADOW_PORTAL_OK
|
||||
```
|
||||
|
||||
`recall_fusion_resolved` 在 agent memory 关闭时可能缺失,脚本会 WARN 但不阻断。
|
||||
|
||||
## 用户自测清单(有 LLM 配额时)
|
||||
|
||||
1. 确认 **未设置** `GOOSE_V149_ALLOW_REAL_LLM=1` 除非你明确要跑 live smoke
|
||||
|
||||
Reference in New Issue
Block a user