Skip to content

docs: add a troubleshooting guide for common setup errors - #136

Merged
prashar32 merged 1 commit into
mainfrom
docs/troubleshooting-guide
Jun 14, 2026
Merged

docs: add a troubleshooting guide for common setup errors#136
prashar32 merged 1 commit into
mainfrom
docs/troubleshooting-guide

Conversation

@prashar32

Copy link
Copy Markdown
Owner

New users keep hitting the same handful of errors with nowhere to look them up. The expected 402 budget halt is the worst offender — it reads like a failure but it's the kill switch working exactly as designed.

This adds docs/TROUBLESHOOTING.md, a skimmable symptom → cause → fix guide covering:

  • missing/invalid provider API key (anthropic: missing API key, the 502 provider_error passthrough)
  • port 7070 already in use
  • the expected HTTP 402 budget halt, with the HaltReason it carries — explicitly called out as not-a-bug
  • a killed run that didn't resume / re-spent
  • the schema-newer-than-binary downgrade guard (on-disk schema is newer than this binary)
  • API-auth 401s
  • an unreachable OTLP endpoint, and OTLP ingress 400s
  • unknown provider / model not routing

Every entry quotes the exact message the daemon emits — I grepped each string out of the code rather than inventing any, so users can match what they see on screen. It leads with riskkernel doctor since that catches most of these before they bite, and matches the tone of the existing docs (BUDGETS/RESUME/METRICS).

Also linked from the README quickstart and added a CHANGELOG entry under Unreleased.

Closes #96

New users were hitting the same handful of errors and had nowhere to look:
a missing/invalid provider key, port 7070 already in use, the expected 402
budget halt (which reads like a failure but is the kill switch working), the
schema-newer-than-binary downgrade guard, API-auth 401s, and OTLP export/ingress
misconfiguration.

Add docs/TROUBLESHOOTING.md as a skimmable symptom -> cause -> fix guide. Every
entry quotes the exact message the daemon emits (grepped from the code, not
invented) so users can match what they see, and it leads with 'riskkernel doctor'
since that catches most of these before they bite. Link it from the README
quickstart.
@prashar32
prashar32 merged commit 48c814f into main Jun 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: a troubleshooting guide for common errors

1 participant