67 lines
1.9 KiB
Markdown
67 lines
1.9 KiB
Markdown
# docs/operations/AI_SETUP_HANDOFF.md
|
|
|
|
Give this file to an AI agent on the target machine.
|
|
|
|
## Copy/Paste Prompt For AI
|
|
|
|
```text
|
|
You are setting up this folder on this machine as a strict Copilot-only OpenClaw install.
|
|
|
|
Follow docs/operations/WORK_SETUP_CHECKLIST.md exactly.
|
|
Also follow the constraints below:
|
|
|
|
Constraints:
|
|
- Do NOT use Ollama.
|
|
- Do NOT enable non-Copilot providers.
|
|
- Use only github-copilot/* models.
|
|
- Fallbacks must be free/low-cost models only.
|
|
- Run commands in order and stop after each step to report status.
|
|
- If a step fails, provide exact fix and retry.
|
|
|
|
Run in this order:
|
|
1) bash ./setup/setup_openclaw_copilot.sh
|
|
2) copilot auth login
|
|
- pause and wait for user to complete browser login
|
|
3) bash ./scripts/install_copilot_guardrails.sh
|
|
4) openclaw hooks enable boot-md
|
|
5) openclaw hooks enable command-logger
|
|
6) openclaw hooks enable session-memory
|
|
7) openclaw gateway restart
|
|
8) openclaw status --deep
|
|
|
|
After setup, verify and report:
|
|
- copilot auth status is healthy
|
|
- openclaw models status shows github-copilot/* primary
|
|
- fallbacks are low-cost only
|
|
- providers.github-copilot.enabled = true
|
|
- providers.openai.enabled = false
|
|
- providers.anthropic.enabled = false
|
|
- providers.openrouter.enabled = false
|
|
- launchd guards running:
|
|
- ai.openclaw.model-budget-guard
|
|
- ai.openclaw.copilot-policy-guard
|
|
- ai.openclaw.copilot-auth-watchdog
|
|
- ai.openclaw.copilot-model-schedule-guard
|
|
- schedule policy:
|
|
- paid profile during 08:00-18:00 local
|
|
- free profile during 18:00-08:00 local
|
|
- hooks enabled:
|
|
- boot-md
|
|
- command-logger
|
|
- session-memory
|
|
|
|
If any check fails, fix it and rerun verification.
|
|
```
|
|
|
|
## Manual User Actions Expected
|
|
|
|
- Complete enterprise login in browser when `copilot auth login` opens auth flow.
|
|
- Approve enterprise/SSO/MFA prompts as required.
|
|
|
|
## One-Line Start (for human)
|
|
|
|
```bash
|
|
# open this file and copy the prompt to your AI agent
|
|
cat docs/operations/AI_SETUP_HANDOFF.md
|
|
```
|