# Report a problem or an idea (/docs/help/report)

Something broke, or you want Pepper to do something new. Here is how to tell us without sharing private details.

## First, try these [#first-try-these]

1. Look up what you see in [Troubleshooting](troubleshooting.md).
2. Run doctor, Pepper’s health check, in the Pepper folder:

   ```bash
   npm run doctor
   ```

   A `FAIL` line names what is wrong. Troubleshooting has a row for most of them.

## Make a report [#make-a-report]

If it’s still wrong:

```bash
npm run report
```

It prints a short report in Terminal: your Pepper version, your Mac, chip, memory and Node version, your timezone
and how many briefs a day, which switches, parts and connections are on (names only), each doctor check, and up to
30 recent errors from Pepper’s error log. For each error you see only when it happened, which part of Pepper it came
from and what kind of error it was, such as `401 Unauthorized` or `ECONNREFUSED`.

The report leaves out message text by default. It masks common secrets and personal details: keys and tokens, your
Telegram id, your name, phone numbers, email addresses, one-time codes, and the names and numbers on your phone’s
caller list. It can’t know every name, so read it before you share it and delete anything private.

It uploads nothing. It runs doctor’s checks, which contact Anthropic and Telegram the way doctor does.

If someone helping you needs the errors in full, `npm run report -- --with-log` adds each error line’s own words,
with common secrets masked. Those lines can hold message text and names, so read them one by one before you share.

## Where to share it [#where-to-share-it]

The code isn’t public yet, so post the report in the Hey Pepper Telegram group,
[t.me/heypepper](https://t.me/heypepper). Say what you expected, what happened, and what you did just before.

Once the code is public, the end of the report will have a link that opens a new GitHub issue with the report filled
in. A long report may be shortened in the link; paste the rest from Terminal. The Telegram group stays open for
questions.

## Ideas, and things you built [#ideas-and-things-you-built]

Post them in the Telegram group for now. Once the code is public, there are issue forms for both: “Pepper should…”
and “I built this in my fork”. New features are built here rather than taken as pull requests, and
[CONTRIBUTING](../../../CONTRIBUTING.md) says why. There is no promised reply time; this is a small project.

## Security problems [#security-problems]

Never post a security problem in public, in the group or as an issue. Email
[hello@heypepper.ai](mailto:hello@heypepper.ai) with “security” in the subject. You’ll hear back within three days.
What counts is in the [security policy](../../../SECURITY.md).

## What not to paste [#what-not-to-paste]

Wherever you post, leave out:

- messages, or parts of them
- the names of people or chats
- phone numbers and email addresses
- anything from `.env`: keys, tokens, your Telegram id
- your phone passphrase
- screenshots of your briefs, the dashboard or your chats, unless you’ve covered the private parts
