~2 min read · 5 sections

Bug Reports & Contributing

How to file reproducible bug reports, how to handle security or privacy issues responsibly, and basic conventions for submitting pull requests.

On this page (5)▾

How to File Effective Bug Reports

When opening an issue or asking in a community channel, including these details helps us pinpoint the problem fastest:

  • Environment & version: Whether you are running the Windows desktop client or Linux CLI, your OS version (e.g., Ubuntu 24.04 / WSL2), and the version recorded in ~/.local/state/nyairo/install.json;
  • How it was triggered: What command you ran or button you clicked, what you expected to happen, and what error occurred instead;
  • Redacted error snippet: Paste only the relevant terminal error lines, making sure to strip your API keys, tokens, and private chat messages first.

Reporting Security or Privacy Vulnerabilities

If you discover a flaw that could leak credentials, expose another user's private memories across accounts, or bypass permission boundaries, do not post full exploit steps in a public issue. Reach out to the maintainers via the repository or official contact channels to arrange private disclosure; if your own key has already been exposed, revoke and replace it with your provider immediately.

Basic Conventions for Pull Requests (PRs)

  • Keep changes focused: Limit each PR to one clear fix or small feature, read any local docs in the directory you touch, and avoid mixing unrelated formatting churn;
  • Isolate your tests: New tests must use temporary directories (tmp_path) and synthetic identities—never read or write a developer's real ~/.nyairo directory, and never hardcode personal personas into shared code;
  • State your test scope honestly: Document in the PR description which OS and test suites you actually ran, and note untested platforms plainly.

Tips for Writing Regression Tests

When fixing a chat-command or message-routing bug (for example, a slash command that works in the terminal but fails over WeChat or Telegram), test end-to-end from the outer channel entry point down to the handler, and confirm the test fails against the unpatched code so future refactors cannot silently reintroduce the regression.

Sharing Long-Term Everyday Experience

Beyond hard crashes, we especially welcome candid feedback after a few days of real use—such as memories that feel unnatural when recalled, walking pacing that feels off, or desktop controls that feel awkward. Those everyday details are what steadily make nyairo better to live with.

Hit a setup snag or spot a doc issue?