- Protocol: 10 context categories (apps, system, network, bitcoin, media, files, notes, search, ai-local, wallet) - ContextBroker: real data wiring for all categories with sanitization - Permissions: user toggles for all categories in Settings - Nginx: Claude API, OpenRouter, SearXNG proxy pass-through - Actions: launch-app, search-web, install-app handlers - Chat.vue: loading state + connection indicator - Integration test page: test-aiui.html Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
1.0 KiB
Markdown
22 lines
1.0 KiB
Markdown
---
|
|
name: diagnose
|
|
description: Run a full diagnostic check on the Archipelago dev server
|
|
allowed-tools: Bash
|
|
---
|
|
|
|
SSH into the dev server and run a comprehensive diagnostic. Use `sshpass -p 'EwPDR8q45l0Upx@' ssh -o StrictHostKeyChecking=no archipelago@192.168.1.228` for all commands.
|
|
|
|
## Checks to run
|
|
|
|
1. **Services**: `systemctl is-active archipelago nginx`
|
|
2. **Backend status**: `sudo systemctl status archipelago --no-pager`
|
|
3. **Containers**: `sudo podman ps -a`
|
|
4. **Backend logs** (last 50): `sudo journalctl -u archipelago -n 50 --no-pager`
|
|
5. **Nginx errors**: `sudo tail -20 /var/log/nginx/error.log`
|
|
6. **RPC test**: `curl -s -X POST http://127.0.0.1:5678/rpc/v1 -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1,"method":"echo","params":{}}'`
|
|
7. **Tor hostname**: `sudo cat /var/lib/archipelago/tor/hidden_service_archipelago/hostname`
|
|
8. **Disk space**: `df -h /`
|
|
9. **Memory**: `free -h`
|
|
|
|
Report findings clearly and suggest fixes for any issues found. If $ARGUMENTS is provided, focus the diagnosis on that specific area.
|