~3 min read · 4 sections

Standalone Reasoning & Core Services

How to manually enable standalone reasoning (/chiyo_consider), the read-only world position service, and the isolated draft workspace service in headless CLI or server setups.

On this page (4)▾

Manually Mounting the Lightweight World Position Service

In the Windows desktop client, neighborhood pathfinding, indoor room movement, and lamp controls are wired up automatically (see World Editor & World Packs for visual map editing). If you are running a manual CLI installation and only want a lightweight read-only position and posture service, initialize and run it manually:

bash
REL="$HOME/.local/share/nyairo/releases/v0.8.0"
PYTHONPATH="$REL:$REL/vendor/hermes" "$REL/vendor/hermes/.venv/bin/python" \
  -m chiyo_bundle.world_read_service init --home "$HOME/.nyairo-world"
PYTHONPATH="$REL:$REL/vendor/hermes" "$REL/vendor/hermes/.venv/bin/python" \
  -m chiyo_bundle.world_read_service run --home "$HOME/.nyairo-world"

Next, set world_body_socket in ~/.nyairo/chiyo/config.json to the full absolute path (for example, /home/<your-username>/.nyairo-world/run/read.sock—do not use the ~ shorthand).

Enabling Standalone Reasoning (/chiyo_consider)

In regular chats, your companion speaks naturally within their everyday context. When you face a concrete technical problem or tough decision and want them to step outside casual chatter to weigh pros and cons rigorously, enable Shadow Cognition:

  1. Open ~/.nyairo/chiyo/config.json and set "cognition_shadow" to true;
  2. Open ~/.nyairo/config.yaml and verify that plugins.entries.chiyo.llm.enabled is set to true;
  3. Restart the session, then enter /chiyo_consider <your-question> to receive a full, well-reasoned analysis.

Boundary Note: This command only returns analysis and recommendations (consuming one additional LLM request per invocation); it never silently modifies your code or executes system commands on your behalf.

Isolated Draft Workspace Service (Life Supply)

The desktop client wires up the local draft and co-reading services for you automatically. If you are provisioning a Linux server manually and want isolated draft storage for /chiyo_note, it is backed by scripts/supply_service.py with separated privileges between an "admin/grant account" and a "daily service account":

  1. Configure a dedicated data directory (LIFE_SUPPLY_DATA_ROOT) and local socket path (LIFE_SUPPLY_SOCKET) for the service;
  2. Create a personal workspace through the admin endpoint and issue a workspace-scoped write grant (COMMIT_MANAGED_ARTIFACT);
  3. Add the socket path, subject identifier, and grant token to life_supply_socket, life_supply_subject, and life_supply_artifact_grant in ~/.nyairo/chiyo/config.json.

Known Socket Permission Constraint in Multi-Account Deployments

When running the admin process and chat process under two separate Linux system users (UIDs), note a known detail: the local socket created by supply_service.py defaults to mode 0600 (accessible only to the Linux user that created it), so another non-root user attempting to connect will be blocked by the OS with a PermissionError.

Single-user, single-account local setups (including the default desktop mode) are unaffected. If you deploy isolated multi-user setups on a server, handle access cleanly through dedicated group directory permissions—never relax the socket to world-writable 0666 as a shortcut.

Hit a setup snag or spot a doc issue?