documentation/docs/troubleshooting/diagnostics-and-reporting.md
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import { PanelLeft, Bug, MessageSquarePlus, Download } from 'lucide-react';
goose provides several built-in features to help you get support, report issues, and request new functionality. This guide covers the diagnostics system, bug reporting, and feature request tools.
| Feature | Purpose | Location | Output |
|---|---|---|---|
| Diagnostics | Generate troubleshooting data | Chat input toolbar | ZIP file with system info, logs, and session data |
| Report a Bug | Submit bug reports | Chat input toolbar OR Settings → App → Help & feedback | Opens GitHub issue template |
| Request a Feature | Suggest new features | Settings → App → Help & feedback | Opens GitHub issue template |
The diagnostics feature creates a comprehensive troubleshooting bundle that includes system information, session data, configuration files, and recent logs. This is invaluable for debugging issues or getting technical support.
:::tip
The diagnostics button is only available when you have an active session, as it needs a session ID to generate the bundle.
:::
```sh
# Generate diagnostics for a specific session
goose session diagnostics --session-id <session_id>
# Interactive selection (prompts you to choose a session)
goose session diagnostics
# Save to a custom location
goose session diagnostics --session-id <session_id> --output /path/to/diagnostics.zip
```
To find your session ID, first list available sessions:
```sh
goose session list
```
Example output:
```
Available sessions:
abc123def - My coding session - 2024-01-15 14:30:22
xyz789ghi - Documentation work - 2024-01-15 10:15:45
```
The diagnostics ZIP file contains several folders:
diagnostics_abc123def.zip
├── logs/
│ ├── goose-2024-01-15.jsonl
│ ├── goose-2024-01-14.jsonl
│ └── ...
├── session.json # Your session messages
├── config.yaml # Configuration files (if they exist)
└── system.txt # System information
When to generate diagnostics:
What's included in diagnostics:
:::warning Privacy Notice Diagnostics bundles contain your session messages and system information. If your session includes sensitive data (API keys, personal information, proprietary code), review the contents before sharing publicly. :::
The bug report feature opens a structured GitHub issue template to help you provide all necessary information for effective bug reporting.
```
https://github.com/aaif-goose/goose/issues/new?template=bug_report.md
```
The feature request system helps you suggest improvements and new functionality for goose.
```
https://github.com/aaif-goose/goose/issues/new?template=feature_request.md
```
When certain types of error occur in goose Desktop (such as failures to activate extensions), you'll see an Ask goose button in the error notification. This feature lets you quickly troubleshoot the issue with goose's help:
Ask goose button appears in the error notificationFor issues not resolved by diagnostics: