1.2 KiB
1.2 KiB
GrokBoy acceptance
P0 — streaming chat
- Cargo workspace
grokboy-core+grokboy - Env:
GROKBOY_API_KEY/XAI_API_KEY/OPENAI_API_KEY - Default base
https://api.x.ai/v1 grokboy chatstreams assistant tokenscargo testpasses without API key
P1 — tools + ReAct
shell,list_dir,read_file,write_file- Multi-step tool loop
- Sessions under
~/.grokboy/sessions/ grokboy run/grokboy smoke- Default model
grok-4.6
P2 — completion contract
report_done/report_blockedstop the loop with a clear verdict- Loop guard (identical tool rounds ×3 → blocked)
- Context truncation (
GROKBOY_CONTEXT_CHARS, default ~100k) - Offline smoke/tests cover P2 without API key
P3 — browser
- Playwright DOM path (no screenshot-first)
- Tools:
browser_navigate,browser_snapshot,browser_click,browser_type,browser_eval - Thin Node helper under
tools/playwright/(JSONL / one-shot JSON) - Fail closed with install hint when Node/Playwright/Chromium missing
cargo test/grokboy smokepass without Playwright browsers installed