The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs(guides): tighten prose and simplify structure in setup guides
Steven Enamakel560ac995544e
diff --git a/gitbooks/guides/doctor-assistant.md b/gitbooks/guides/doctor-assistant.mdindex a5779480b0..29ba9495f7 100644--- a/gitbooks/guides/doctor-assistant.md+++ b/gitbooks/guides/doctor-assistant.md@@ -1,34 +1,28 @@---description: >-- Shape OpenHuman into a role-specific assistant for clinical work: persona,- tight data boundaries, and the limits you must keep in mind.+ Shape OpenHuman into an assistant for clinical work, with a persona, tight+ data boundaries and clear limits.icon: user-doctor---# Create a doctor-specific assistant-**Goal:** tailor OpenHuman for a clinician's workflow: a persona that speaks the part, memory scoped to the right sources, and privacy settings appropriate for sensitive information.+This guide tailors OpenHuman to a clinician's workflow: a persona that speaks the part, memory limited to the right sources, and privacy settings suited to sensitive information.{% hint style="danger" %}-**Read this first.** OpenHuman is a general-purpose assistant, **not** a medical device and **not** a source of medical advice. It can hallucinate. Nothing here makes it safe for diagnosis, treatment decisions, or handling protected health information under a specific regulatory regime (HIPAA, GDPR, etc.). You are responsible for compliance, for clinical judgment, and for what data you let it touch. Treat its output as draft text a qualified human must verify.+OpenHuman is a general-purpose assistant. It is not a medical device and not a source of medical advice, and it can hallucinate. Nothing here makes it safe for diagnosis, treatment decisions, or handling protected health information under a regulation such as HIPAA or GDPR. You are responsible for compliance, clinical judgment and the data you let it touch. Treat its output as draft text that a qualified person must verify.{% endhint %}-With that boundary set, here's how to shape it responsibly.------## Prerequisites- OpenHuman set up. See [Create my personal AI assistant](personal-assistant.md).-- A clear decision about **what data this assistant may and may not see**. For anything sensitive, plan to keep inference [local](local-model.md).+- A clear decision about what data this assistant may and may not see. For anything sensitive, plan to keep inference [local](local-model.md).## Privacy implications-- Decide early whether any real patient data will ever be involved. If regulatory rules apply to your data, the safest posture is: **local model on, minimal integrations, read-only or supervised autonomy.**-- OpenHuman keeps memory local and redacts secrets/PII on save, but **that is not a compliance guarantee**. It is a general privacy design. Do not treat it as certified for regulated health data.-- If you route reasoning to the [OpenHuman backend](../features/privacy-and-security.md) (the default), relevant snippets are sent to the model provider for each turn. For sensitive material, turn on a [local model](local-model.md) so that work stays on-device.-----+- Decide early whether real patient data will ever be involved. If regulatory rules apply to your data, the safest setup is a local model, minimal integrations, and read-only or supervised autonomy.+- OpenHuman keeps memory local and redacts secrets and personal data on save, but that is not a compliance guarantee. It is a general privacy design, not a certification for regulated health data.+- By default, reasoning goes through the [OpenHuman backend](../features/privacy-and-security.md), which sends relevant snippets to the model provider on each turn. For sensitive material, turn on a [local model](local-model.md) so the work stays on your device.## Steps@@ -36,58 +30,56 @@ With that boundary set, here's how to shape it responsibly.In **Settings → Agents → Agent access**:-- Turn the autonomy policy on and set its tier: `[autonomy] enabled = true` with `level = "readonly"` (pure Q&A and drafting) or `level = "supervised"` (drafting plus approved actions) in `config.toml`. Avoid `full` for clinical use. The policy is off until you set `enabled = true`.-- Keep **workspace-only** on so the agent can't wander your disk.-- With the policy on, the [Approval Gate](../features/approval-gate.md) stands between the assistant and any acting call: at `readonly` the tier refuses the call outright, and at `supervised` the gate parks it for your yes, unless its tool is on the always-allow list. Clear that list in **Settings → Agent access** if you want every call reviewed. Note the gate covers **actions**, not network transport: prompts and attachments can still be sent upstream for inference.+- Turn the autonomy policy on and set its tier. In `config.toml`, set `[autonomy] enabled = true` with `level = "readonly"` (questions and drafting only) or `level = "supervised"` (drafting plus approved actions). Avoid `full` for clinical use. The policy is off until you set `enabled = true`.+- Keep `workspace_only` on so the agent cannot wander your disk.+- With the policy on, the [Approval Gate](../features/approval-gate.md) sits between the assistant and any acting call. At `readonly` the call is refused. At `supervised` the gate holds it for your yes, unless its tool is on the always-allow list. Clear that list in **Settings → Agent access** if you want every call reviewed. The gate covers actions, not network transport, so prompts and attachments can still be sent upstream for inference.### 2. Turn on local inference for sensitive work-Follow [Use OpenHuman with a local model](local-model.md) and pick at least **"memory + reflection"** so embeddings and background summarization stay on-device. Confirm status reads `ready`.+Follow [Use OpenHuman with a local model](local-model.md) and pick at least "memory + reflection", so embeddings and background summaries stay on your device. Confirm the status reads `ready`.### 3. Give it a clinical persona-The assistant's tone and behavior come from an editable prompt (`SOUL.md`), with mission/values in `IDENTITY.md`. To make it clinical:+The assistant's tone and behavior come from an editable prompt (`SOUL.md`), with mission and values in `IDENTITY.md`. To make it clinical:- Set a display name and description in **Settings → Personality**.-- Edit the behavior prompt (via the **Brain** page, `/brain`) to describe the role you want. For example: "You assist a physician with documentation and literature summaries. You always flag uncertainty, cite sources, and never present output as a diagnosis or treatment recommendation. You remind the user to verify clinically."+- Edit the behavior prompt on the **Brain** page (`/brain`) to describe the role. For example: "You assist a physician with documentation and literature summaries. You always flag uncertainty, cite sources, and never present output as a diagnosis or treatment recommendation. You remind the user to verify clinically."-Bake the caveats **into the persona** so they show up in every reply, not just your memory.+Put the caveats in the persona so they appear in every reply, not only in your memory.### 4. Connect only the sources that belong-Add only the integrations relevant to the workflow (e.g. a reference/notes source), and **not** anything carrying data you're not cleared to process. Every integration is a separate, revocable OAuth grant.--### 5. Verify behavior with safe, synthetic inputs+Add only the integrations the workflow needs, such as a reference or notes source. Do not connect anything with data you are not cleared to process. Every integration is a separate OAuth grant that you can revoke.-Test with **made-up** cases, never real patient data, until you're satisfied with tone, caution, and citations.+### 5. Test with synthetic inputs----+Test with made-up cases, never real patient data, until you are satisfied with the tone, caution and citations.## Success checks- [ ] `[autonomy] enabled = true`, `level` is `readonly` or `supervised`, and `workspace_only` is on.-- [ ] If you're keeping inference on-device, your local runtime is running, the models are pulled, and a turn routed to it answers.-- [ ] The persona reliably adds uncertainty flags and "verify clinically" language in replies to synthetic prompts.-- [ ] Only intended sources are connected.+- [ ] If you keep inference on-device, your local runtime is running, the models are pulled, and a turn routed to it answers.+- [ ] The persona reliably adds uncertainty flags and "verify clinically" language to replies on synthetic prompts.+- [ ] Only the intended sources are connected.- [ ] The assistant declines to present output as a diagnosis when tested.## Common failures-| Symptom | Cause | Fix |-| ------------------------------------------- | ------------------------------------------- | ----------------------------------------------------------------------------------------------- |-| It states things with false confidence | Persona doesn't enforce caution | Strengthen `SOUL.md` to require uncertainty flags and citations |-| Sensitive text went to the cloud | Inference is on the default route | Turn on a [local model](local-model.md) and confirm `ready` before using sensitive input |-| It tried to take an action on its own | The policy is off, or the tier is too permissive | Set `enabled = true` and `level = "readonly"` |-| It "remembered" something it shouldn't have | A source with disallowed data was connected | Revoke the integration; already-ingested chunks are local and can be cleared from the workspace |+| Symptom | Cause | Fix |+| --- | --- | --- |+| It states things with false confidence | The persona does not enforce caution | Strengthen `SOUL.md` to require uncertainty flags and citations |+| Sensitive text went to the cloud | Inference is on the default route | Turn on a [local model](local-model.md) and confirm `ready` before using sensitive input |+| It tried to act on its own | The policy is off, or the tier is too permissive | Set `enabled = true` and `level = "readonly"` |+| It remembered something it should not have | A source with disallowed data was connected | Revoke the integration. Chunks already ingested are local and can be cleared from the workspace |## Recovery-- **Instant containment:** set `enabled = true` and `level = "readonly"` together. The level is inert while the policy is off, so both have to be set. Acting stops on the next turn.-- **Pull a source:** revoke any integration from Settings; future syncs stop immediately.-- **Reset the persona:** the behavior lives in an editable file; revert your edits to return to default tone.+- **Stop acting at once.** Set `enabled = true` and `level = "readonly"` together. The level does nothing while the policy is off, so you need both. Acting stops on the next turn.+- **Pull a source.** Revoke any integration in Settings, and future syncs stop immediately.+- **Reset the persona.** The behavior lives in an editable file. Revert your edits to return to the default tone.## See also-- [Keep sensitive data private](privacy-sensitive-data.md): the controls this guide composes.-- [Use OpenHuman with a local model](local-model.md): keeping sensitive inference on-device.+- [Keep sensitive data private](privacy-sensitive-data.md): the controls this guide combines.+- [Use OpenHuman with a local model](local-model.md): keeping sensitive inference on your device.- [Approval Gate](../features/approval-gate.md): how actions are gated.diff --git a/gitbooks/guides/organize-project-folders.md b/gitbooks/guides/organize-project-folders.mdindex 1b3420f6ab..52af8d8b06 100644--- a/gitbooks/guides/organize-project-folders.md+++ b/gitbooks/guides/organize-project-folders.md@@ -1,62 +1,52 @@---description: >-- Let OpenHuman tidy, rename, and restructure a folder of files safely, inside- a boundary you set, with changes gated by your approval once the autonomy- policy is on at the supervised tier.+ Let OpenHuman tidy, rename and restructure a folder inside a boundary you+ set, with changes held for your approval at the supervised tier.icon: folder-tree---# Organize my project folders-**Goal:** point the assistant at a folder and have it clean it up (sort files, rename consistently, remove clutter) without letting it roam your whole disk or make changes you didn't see.+This guide points the assistant at a folder and has it clean up: sort files, rename them consistently and remove clutter. It cannot roam your whole disk, and it cannot make changes you did not see.-The core idea: the agent works inside a **boundary you define**, and with the autonomy policy on at the `supervised` tier, any file change that isn't provably read-only is **parked for your approval** before it runs. The tier is what decides that: at `full`, routine writes run on their own and only network, install and destructive actions stop to ask.-----+The agent works inside a boundary you define. With the autonomy policy on at the `supervised` tier, any file change that is not provably read-only waits for your approval. At `full`, routine writes run on their own and only network, install and destructive actions stop to ask.## Prerequisites- OpenHuman set up. See [Create my personal AI assistant](personal-assistant.md).-- A specific folder you want organized. Ideally, make a copy first if the contents are irreplaceable.+- A specific folder you want organized. If the contents are irreplaceable, copy the folder first.## Privacy implications-- File organizing is **local**. Reading, moving, and renaming files happens on your machine.-- If you ask the agent to _reason about_ file contents (e.g. "group these by topic"), it may send relevant snippets to the model to do that. Route inference to a [local model](local-model.md) if you want that reasoning on-device too.-- The agent cannot touch system or credential folders (`~/.ssh`, `~/.gnupg`, `~/.aws`, OS directories). Those are blocked outright regardless of settings.-----+- File organizing is local. Reading, moving and renaming files happens on your machine.+- If you ask the agent to reason about file contents (for example, "group these by topic"), it may send relevant snippets to the model. Route inference to a [local model](local-model.md) if you want that reasoning on-device too.+- The agent cannot touch system or credential folders (`~/.ssh`, `~/.gnupg`, `~/.aws`, OS directories). They are blocked regardless of settings.## Steps### 1. Decide where the agent may act{% hint style="warning" %}-Everything in this step needs the autonomy policy switched on. It is **off by-default**: set `[autonomy] enabled = true` in `config.toml`-(`~/.openhuman/config.toml`, or `%USERPROFILE%\.openhuman\config.toml` on-Windows). Without it, trusted roots, `workspace_only` and the approval gate are-all inert and acting tool calls run unprompted. Credential stores and system-roots stay blocked either way.+Everything in this step needs the autonomy policy switched on. It is off by default. Set `[autonomy] enabled = true` in `config.toml` (`~/.openhuman/config.toml`, or `%USERPROFILE%\.openhuman\config.toml` on Windows). Without it, trusted roots, `workspace_only` and the approval gate do nothing, and acting tool calls run unprompted. Credential stores and system roots stay blocked either way.{% endhint %}-Confinement to the working folder has two preconditions: the policy enabled, and `workspace_only` on. With both, the agent's read/write root is its working folder and it has no ambient access to the rest of your disk. With either one off, that boundary is not enforced.+Confining the agent to its working folder needs two things: the policy enabled and `workspace_only` on. With both, the agent reads and writes only in its working folder and has no access to the rest of your disk. If either is off, the boundary is not enforced.-A **trusted root** is the deliberate exception. Each one grants its subtree even though it sits outside the working folder, taking precedence over `workspace_only`. To let the agent work on a folder elsewhere, add that folder as a trusted root:+A trusted root is a deliberate exception. It grants access to a folder outside the working folder and takes precedence over `workspace_only`. To let the agent work in a folder elsewhere, add it as a trusted root:-- Open **Settings → Agent access**.-- Add the target folder as a trusted root with read-write access.+1. Open **Settings → Agent access**.+2. Add the target folder as a trusted root with read-write access.-Keep the boundary as tight as the task: grant the one folder, not your home directory.+Keep the boundary as tight as the task. Grant the one folder, not your home directory.-### 2. Set the right autonomy tier+### 2. Set the autonomy tierIn the same `[autonomy]` block, `level` decides how much runs without asking:-- `supervised` _(recommended)_: the agent proposes each change and you approve moves, renames and deletes as they come, except where you have already put the tool on the always-allow list.-- `full`: routine file writes run automatically. Still tighten the trusted root so "automatic" stays contained.+- `supervised` (recommended): the agent proposes each change, and you approve moves, renames and deletes as they come, except for tools on the always-allow list.+- `full`: routine file writes run automatically. Still keep the trusted root tight so "automatic" stays contained.-Deleting and moving files are state-changing actions, so with `supervised` they are parked for your yes or no by the [Approval Gate](../features/approval-gate.md). Answering **Always allow** to a prompt adds that tool to the always-allow list, and from then on its calls run without a fresh approval. Remove it from the list in **Settings → Agent access** when you want each call reviewed again.+Deleting and moving files change state, so at `supervised` the [Approval Gate](../features/approval-gate.md) holds them for your yes or no. If you answer **Always allow** to a prompt, that tool goes on the always-allow list and its calls run without a fresh approval. Remove it from the list in **Settings → Agent access** to review each call again.### 3. Ask for the reorganization@@ -67,35 +57,33 @@ Be concrete about the folder and the rules. For example:### 4. Review each proposed action-When the agent wants to move, rename, or delete, an **Approval Request card** appears with the exact action. **Approve** one, **Always allow** a repetitive safe one, or **Deny**. You can also just type **yes** / **no**.-----+When the agent wants to move, rename or delete, an Approval Request card shows the exact action. You can **Approve** it, **Always allow** a safe, repetitive one, or **Deny** it. You can also type "yes" or "no".## Success checks-- [ ] The policy is enabled and `workspace_only` is on, so the folder boundary is actually being enforced.-- [ ] The agent only touched the folder you granted, and nothing outside your working folder and trusted roots changed.-- [ ] Each move/rename/delete showed up as an approval prompt (unless you chose "Always allow" for that tool).+- [ ] The policy is enabled and `workspace_only` is on, so the folder boundary is enforced.+- [ ] The agent touched only the folder you granted, and nothing outside your working folder and trusted roots changed.+- [ ] Each move, rename and delete showed up as an approval prompt, unless you chose Always allow for that tool.- [ ] The folder matches the structure you asked for.-- [ ] Files you didn't mention are untouched.+- [ ] Files you did not mention are untouched.## Common failures-| Symptom | Cause | Fix |-| ----------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |-| "I can't access that folder" | The folder isn't a trusted root, or `workspace_only` is confining the agent | Add it in **Settings → Agent access** as a read-write trusted root |-| It asks for approval on every single file | The `supervised` tier gates each write | Use **Always allow** for the specific safe tool, or narrow the request so there are fewer actions |-| It refuses to touch a path | The path is a blocked system/credential directory | That's by design; those paths are never accessible. Choose a normal working folder |-| It reorganized more than you wanted | The instruction was broad | Ask it to "show the plan first"; approve selectively |+| Symptom | Cause | Fix |+| --- | --- | --- |+| "I can't access that folder" | The folder is not a trusted root, or `workspace_only` is confining the agent | Add it in **Settings → Agent access** as a read-write trusted root |+| It asks for approval on every file | The `supervised` tier gates each write | Use **Always allow** for the specific safe tool, or narrow the request so there are fewer actions |+| It refuses to touch a path | The path is a blocked system or credential directory | This is by design. Choose a normal working folder |+| It reorganized more than you wanted | The instruction was broad | Ask it to show the plan first, and approve selectively |## Recovery-- **Nothing runs without approval** at the `supervised` tier, apart from the tools on your always-allow list. If a plan looks wrong, **Deny** and it doesn't happen.-- **Undo is manual.** OpenHuman doesn't roll file operations back for you, so work on a **copy** of anything precious, or keep the folder under version control (e.g. `git`) so you can revert.-- If the agent is doing too much, set both `enabled = true` and `level = "readonly"`. The level does nothing on its own: with `enabled = false` the whole policy is inert. With both set, the agent can still suggest a plan but can't change files.+- At the `supervised` tier nothing runs without approval, apart from tools on your always-allow list. If a plan looks wrong, **Deny** it and it does not happen.+- Undo is manual. OpenHuman does not roll back file operations, so work on a copy of anything precious, or keep the folder under version control such as `git`.+- If the agent is doing too much, set both `enabled = true` and `level = "readonly"`. The level does nothing on its own, because with `enabled = false` the whole policy is off. With both set, the agent can still suggest a plan but cannot change files.## See also-- [Approval Gate](../features/approval-gate.md): exactly what gets parked and why.-- [Coder toolset](../features/native-tools/coder.md): the filesystem/git tools the agent uses here.-- [Privacy & Security](../features/privacy-and-security.md): workspace scoping and path hardening.+- [Approval Gate](../features/approval-gate.md): what gets held and why.+- [Coder toolset](../features/native-tools/coder.md): the filesystem and git tools the agent uses here.+- [Privacy and security](../features/privacy-and-security.md): workspace scoping and path hardening.diff --git a/gitbooks/guides/recover-failed-installation.md b/gitbooks/guides/recover-failed-installation.mdindex 093d88f7cb..89fb5d3f6a 100644--- a/gitbooks/guides/recover-failed-installation.md+++ b/gitbooks/guides/recover-failed-installation.md@@ -1,22 +1,20 @@---description: >-Get a broken or half-installed OpenHuman running again without losing your- memory, personas, or settings. Configuration is preserved by default.+ memory, personas or settings.icon: life-ring---# Recover from a failed installation-**Goal:** the app won't install, won't start, or starts broken, and you want it working again **without wiping your data**.+Use this guide when the app will not install, will not start, or starts broken, and you want it working again without wiping your data.-The guiding rule of this guide: **your configuration and memory are preserved by default.** Recovery means fixing the runtime around your data, not deleting the data. We only touch your data folder as an explicit, backed-up last resort.-----+Your configuration and memory are preserved by default. Recovery means fixing the app around your data, not deleting the data. The only step that touches your data folder is a last resort, and it keeps a backup.## Prerequisites-- Nothing special. You can do all of this from the app plus a file manager and, occasionally, a terminal.-- Know where your data lives. **Everything OpenHuman persists is in one folder:**+- Nothing special. You need the app, a file manager and, occasionally, a terminal.+- Know where your data lives. Everything OpenHuman keeps is in one folder:| Platform | Data folder || ------------- | --------------------------- |@@ -27,53 +25,49 @@ The guiding rule of this guide: **your configuration and memory are preserved by## Privacy implications-- Recovery is local. You're restarting or reinstalling software; your memory never gets uploaded as part of this.-- If you file a bug report, **redact secrets**. Attach status codes, app version, OS, and log lines, never tokens or JWTs.-----+- Recovery is local. You restart or reinstall software, and your memory is not uploaded.+- If you file a bug report, redact secrets. Share status codes, app version, OS and log lines, never tokens or JWTs.## First: read the logs-Almost every failure names itself in the log. Get to the logs first; it turns guessing into fixing.+Almost every failure names itself in the log, so start there.-- **In the app (if it opens):** **Settings → About → App Logs Folder**. There's a button to reveal the folder in your file manager.-- **On disk:** logs are under your data folder, e.g. `~/.openhuman/logs/openhuman.<date>.log` (Windows: `%USERPROFILE%\.openhuman\logs\openhuman.*.log`). They rotate daily.+- In the app, if it opens: **Settings → About → App Logs Folder** reveals the folder in your file manager.+- On disk: logs are under your data folder, for example `~/.openhuman/logs/openhuman.<date>.log` (Windows: `%USERPROFILE%\.openhuman\logs\openhuman.*.log`). They rotate daily.-Open the most recent log and read the last error lines. Match the message to the tables below.-----+Open the most recent log, read the last error lines, and match the message to the table below.## Recovery ladder-Work top to bottom. **Stop as soon as it works.** Each rung is more disruptive than the last, and the early rungs never touch your data.+Work from the top and stop as soon as it works. Each rung is more disruptive than the last, and the early rungs never touch your data.### Rung 1: Restart cleanly-- Fully quit OpenHuman (make sure no leftover process is running) and reopen it.-- Only **one** instance should run at a time. A second copy can hold a lock the first one needs.+- Quit OpenHuman fully, make sure no process is left running, and reopen it.+- Run only one instance at a time. A second copy can hold a lock the first needs.### Rung 2: Reinstall the app over your data-Reinstalling the **application** does not delete your **data folder**; they're separate. This fixes a corrupted or partial install while preserving everything.+Reinstalling the application does not delete your data folder, because they are separate. This fixes a corrupted or partial install and keeps everything.-- Download the current build from [tinyhumans.ai/openhuman](https://tinyhumans.ai/openhuman) and install over the top.-- On macOS, install the real `.app` bundle (some features need the bundle, not a dev build).-- Reopen. Your memory, personas, and settings are still there because they live in `~/.openhuman/`, which you didn't touch.+- Download the current build from [tinyhumans.ai/openhuman](https://tinyhumans.ai/openhuman) or the [latest release](https://github.com/tinyhumansai/openhuman/releases/latest) and install over the top.+- On macOS, install the real `.app` bundle. Some features need the bundle, not a dev build.+- Reopen the app. Your memory, personas and settings are still there, because they live in `~/.openhuman/`.### Rung 3: Fix the specific error-Match your symptom:+Match your symptom to a fix:| Symptom in logs / UI | Cause | Fix || ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |-| Sign-in stalls after the provider step; log mentions `openhuman://` scheme **not registered** (Windows) | The URL handler didn't register, or the install was moved after first launch | Follow the repair steps in [Troubleshooting Sign-In](../overview/troubleshooting-sign-in.md#windows-openhuman-handler-not-registered) |+| Sign-in stalls after the provider step; log mentions `openhuman://` scheme not registered (Windows) | The URL handler didn't register, or the install was moved after first launch | Follow the repair steps in [Troubleshooting sign-in](../overview/troubleshooting-sign-in.md#windows-openhuman-handler-not-registered) || App won't render, or the window opens blank | A previous instance is still holding the port or the webview data directory | Ensure no other OpenHuman is running; if it persists, close all instances and relaunch |-| Local AI / Ollama errors | The local runtime you configured isn't running, or a model isn't pulled | This does **not** block the app. OpenHuman doesn't install or start the runtime; start it yourself, see [Use OpenHuman with a local model](local-model.md#common-failures) |+| Local AI / Ollama errors | The local runtime you configured isn't running, or a model isn't pulled | This does not block the app. OpenHuman does not install or start the runtime, so start it yourself. See [Use OpenHuman with a local model](local-model.md#common-failures) || "Low disk space" warning, or writes failing | The workspace can't be written | Free up space (the app wants a healthy margin, a few hundred MB minimum) and restart |### Rung 4: Move the data folder aside (non-destructive reset)-If the app still won't start and you suspect the **data folder** itself is the problem, **rename** it rather than delete it. This gives you a clean start while keeping a full backup you can restore from.+If the app still will not start and you suspect the data folder itself, rename it instead of deleting it. You get a clean start and keep a full backup you can restore.{% hint style="warning" %}Quit OpenHuman completely before moving its folder.@@ -89,36 +83,34 @@ mv ~/.openhuman ~/.openhuman.backup-$(date +%Y%m%d)Rename-Item "$env:USERPROFILE\.openhuman" ".openhuman.backup"```-Relaunch. OpenHuman recreates a fresh data folder and you sign in again.+Relaunch. OpenHuman creates a fresh data folder and you sign in again.-- If the fresh start **works**, the old folder was the issue, but your data is safe in the backup. You can copy specific pieces back (your workspace files such as `SOUL.md` or `config.toml`) and test after each.-- If it **still fails**, the data folder wasn't the cause. **Restore your backup** by renaming it back, so you lose nothing, and escalate (below).-----+- If the fresh start works, the old folder was the problem, and your data is safe in the backup. Copy specific pieces back, such as workspace files like `SOUL.md` or `config.toml`, and test after each.+- If it still fails, the data folder was not the cause. Rename the backup back so you lose nothing, and ask for help (below).## Success checks-You've recovered when:+You have recovered when:- [ ] The app launches to the sign-in or chat screen without crashing.-- [ ] You can sign in and reach your home/chat view.-- [ ] Your **Memory** tab still shows your existing summaries (confirming your data survived).+- [ ] You can sign in and reach your home or chat view.+- [ ] Your Memory tab still shows your existing summaries, which confirms your data survived.- [ ] The most recent log file shows a clean startup with no repeating error.-## What "preserved by default" means here+## Why your data is safe-At no point in Rungs 1 to 3 do you delete anything. Rung 4 **renames** your data folder; it never removes it. Even the most aggressive step is fully reversible. Reinstalling the app and reinstalling the OS-level runtime never target your `~/.openhuman/` data.+Rungs 1 to 3 delete nothing. Rung 4 renames your data folder and never removes it, so even the most aggressive step is reversible. Reinstalling the app never touches `~/.openhuman/`.-## If you're still stuck+## If you are still stuck-Gather this and open an issue on [GitHub](https://github.com/tinyhumansai/openhuman) or ask on [Discord](https://guild.tinyhumans.ai):+Open an issue on [GitHub](https://github.com/tinyhumansai/openhuman) or ask on [Discord](https://guild.tinyhumans.ai). Include:- App version and OS.-- The last error lines from the log (**tokens/JWTs redacted**).+- The last error lines from the log (with tokens and JWTs redacted).- Which rung you reached and what happened.- Whether moving the data folder aside changed anything.## See also-- [Troubleshooting Sign-In](../overview/troubleshooting-sign-in.md): the deep dive for auth-specific failures.+- [Troubleshooting sign-in](../overview/troubleshooting-sign-in.md): the deep dive for auth-specific failures.- [Move OpenHuman to a new PC](move-to-new-pc.md): the same data folder is what you carry over.diff --git a/gitbooks/overview/troubleshooting-sign-in.md b/gitbooks/overview/troubleshooting-sign-in.mdindex 92c8af181c..5bb3f89547 100644--- a/gitbooks/overview/troubleshooting-sign-in.md+++ b/gitbooks/overview/troubleshooting-sign-in.md@@ -41,7 +41,7 @@ A successful desktop sign-in ends with an `openhuman://auth?...` callback. If th2. Restart the app, keep the same remote-core settings, and retry sign-in.3. With a remote core, check whether the core receives `openhuman.auth_set_credential`. The desktop shell checks the session against the backend first, then hands the credential to the core.-## Windows: the `openhuman://` handler is not registered+## Windows: `openhuman://` handler not registeredOn Windows, the app registers the `openhuman://` URL scheme at first launch under `HKEY_CURRENT_USER\Software\Classes\openhuman\shell\open\command`. If that registration failed, or you moved or copied the install after first launch, the browser cannot hand the OAuth callback back to the app. Sign-in then stalls after the provider step.