RING 1 — BrowserOS Integration
Depends on
RING 0 (#16) must be sealed first — cargo build green, 7 tools verified.
Mission
Подключить trios-server (Rust, port 9005) к BrowserOS через strata-proxy.ts. После этого агент вызывает все 7 trios tools напрямую из чата.
Repo
BrowserOS/packages/browseros-agent/apps/server/src/strata-proxy.ts
Implementation
Step 1 — Add trios client to strata-proxy.ts
// В список MCP серверов добавить:
{
name: "trios",
url: "http://localhost:9005/mcp",
toolPrefix: "trios_"
}
Step 2 — .env.development
TRIOS_MCP_URL=http://localhost:9005/mcp
Step 3 — Verify connection
# 1. Start trios-server
cargo run -p trios-server &
# 2. Start BrowserOS dev
bun run dev
# 3. Check tools loaded
curl -s http://localhost:9105/api/tools | jq '.[] | select(.name | startswith("trios_"))'
# Must return 7 trios_ tools
Step 4 — Test from agent chat
User: "покажи статус git в /Users/playra/BrowserOS"
→ trios_git_status({"repo_path": "/Users/playra/BrowserOS"})
→ Returns: modified files list
Step 5 — bun test
cd packages/browseros-agent/apps/server
bun test
# Must: all existing tests still green
Step 6 — Seal
echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] RING1: trios:9005 wired into BrowserOS strata-proxy | 7 tools prefixed trios_ | bun test green" \
>> .trinity/experience/trios_$(date +%Y%m%d).trinity
Acceptance Criteria
Laws (CLAUDE.md)
- L1: NO
.sh files
- L2:
Closes #17 в PR
- L4:
bun test перед merge
- L5: port 9005 — только trios-server, не менять
- L7: experience log
NOT in scope
- Не добавлять новые tools (это RING 2)
- Не трогать CDP / browser tools
- Не менять port 9005
Agent returns
✅ RING 1 SEALED | trios:9005 → BrowserOS | 7 tools: trios_* | bun test: green
φ² + 1/φ² = 3 | TRINITY | GO.
RING 1 — BrowserOS Integration
Depends on
RING 0 (#16) must be sealed first —
cargo buildgreen, 7 tools verified.Mission
Подключить trios-server (Rust, port 9005) к BrowserOS через
strata-proxy.ts. После этого агент вызывает все 7 trios tools напрямую из чата.Repo
BrowserOS/packages/browseros-agent/apps/server/src/strata-proxy.tsImplementation
Step 1 — Add trios client to strata-proxy.ts
Step 2 — .env.development
Step 3 — Verify connection
Step 4 — Test from agent chat
Step 5 — bun test
Step 6 — Seal
Acceptance Criteria
strata-proxy.tsподключён кlocalhost:9005trios_git_statusвызывается из агента и возвращает реальные данныеbun test— все тесты зелёныеCloses #17Laws (CLAUDE.md)
.shfilesCloses #17в PRbun testперед mergeNOT in scope
Agent returns
φ² + 1/φ² = 3 | TRINITY | GO.