IMPORTANT
AI Assist Note (Knowledge Heritage): This document is part of the "Sovereign Reality" documentation.
- @docs ARCHITECTURE:Documentation
- Failure Path: Information drift, legacy terminology, or documentation mismatch.
- Telemetry Link: Cross-reference with
execution/parity_guard.pyresults.
AI Assist Note โ
Automated governance and architectural tracking.
๐ Debugging & Observability โ
Traceability via parity_guard.py.
IMPORTANT
AI Assist Note (Knowledge Heritage): This document is part of the "Sovereign Reality" documentation.
- @docs ARCHITECTURE:Documentation
- Failure Path: Information drift, legacy terminology, or documentation mismatch.
- Telemetry Link: Cross-reference with
execution/parity_guard.pyresults.
๐งฉ Troubleshooting & Diagnostics โ
Intelligence Level: Operational (Level 4)
Status: Verified Production-Ready
Version: 1.1.17
Last Hardened: 2026-04-12
Classification: Sovereign
๐๏ธ System Connectivity โ
๐ด Dashboard shows "OFFLINE" โ
Symptoms: The PageHeader status indicator is red, and "Connection Lost" toasts appear.
- Check Engine Status: Ensure the Rust backend is running (
npm run engineorcargo run --release). - Verify Endpoint: Go to System Config and ensure
TadpoleOSUrlmatches the server address (typicallyhttp://localhost:8000). - CORS Mismatch: If accessing from a remote IP (e.g., Tailscale), ensure the server is started with the correct host binding (
0.0.0.0).
๐ WebSocket Connection Refused โ
Symptoms: "WebSocket Error: 401 Unauthorized" in browser console.
- Token Handshake: The
NEURAL_TOKENin your.envMUST match the Neural Engine Access Token in your dashboard settings. - Redaction Intercept: If the token contains special characters that trigger the
secret_redactor.rsregex, it might be stripped. Use a standard hex string (32+ chars).
๐ง Intelligence & LLMs โ
๐ Agent Returns No Response (Silent Failure) โ
Symptoms: Mission log shows "Thinking..." indefinitely or transitions directly to "Idle" without output.
- Registry Audit: Go to AI Provider Manager โ scroll to Model Registry. Ensure the model assigned to the agent actually exists in the registry.
- Vault Lock: If the Neural Vault is locked, the engine cannot access decrypted API keys. Unlock the vault to resume operations.
- Quota Exhaustion: Check the RPM/TPM metrics in the System Log. If you've hit model limits, the agent will "park" until the window resets.
๐งช Malformed Tool Calls (Groq/Llama) โ
Symptoms: "Error: Malformed JSON in tool call."
- Self-Healing Pass: The engine automatically attempts a re-synthesis pass for common Llama-3 malformations. If it still fails, decrease the agent's Temperature to
0.1or0.3for higher precision.
๐พ Filesystem & Workspaces โ
๐ซ "Access Denied" or "Sandbox Escape" โ
Symptoms: Tool fails with a security error when reading/writing files.
- Canonicalization Error: Tadpole OS uses strict path verification (
adapter/filesystem.rs). Paths must be relative to the cluster root โ do not use../to attempt to exit the workspace. - Windows Absolute Paths: Ensure your
DATABASE_URLin.envis an absolute path (e.g.,sqlite:D:\TadpoleOS-Dev\tadpole.db).
๐ Security & Vault โ
๐ก๏ธ Forget Master Password โ
Symptoms: Unable to unlock the Neural Vault.
- Emergency Reset: Click the Emergency Vault Reset button at the bottom of the unlock screen. This will purge all encrypted provider keys from the registry, allowing you to set a new password and re-enter your keys.
โ๏ธ Audit Trail Broken โ
Symptoms: UI shows "Verification Failed" on audit logs.
- Tamper Detection: The Merkle Audit Trail (
audit.rs) detects if the SQLite database has been manually edited. Runpython execution/verify_all.pyto diagnose the specific point of failure.
๐ ๏ธ Performance & Telemetry โ
๐ UI Jank during Swarming โ
Symptoms: Browser becomes unresponsive when 5+ agents are active.
- RAF Throttling: Ensure Telemetry Batching is enabled in Settings. This flushes engine pulses to the UI on
requestAnimationFrameto maintain 60fps. - Visualizer Detachment: If the Swarm Visualizer is too heavy, click the Detach icon to move it to a separate window, freeing up the main thread.
