Quick Start¶
This guide walks you through using grite for the first time. In about 5 minutes, you'll create issues, add comments, and sync with a remote.
Initialize Grite¶
Navigate to any git repository and initialize grite:
This creates:
.git/grite/directory for local state- An actor identity for your device
AGENTS.mdfile with instructions for AI coding agents
AGENTS.md
The AGENTS.md file helps AI coding agents discover and use grite as the canonical task system. Use --no-agents-md to skip creating this file.
Create an Issue¶
Create your first issue:
You'll see output like:
Add Labels¶
Add labels when creating:
grite issue create --title "Add dark mode" \
--body "Implement dark theme toggle" \
--label "feature" --label "ui"
List Issues¶
View all open issues:
Output:
Filter Issues¶
Filter by state or label:
# Only open issues
grite issue list --state open
# Issues with a specific label
grite issue list --label bug
# Combine filters
grite issue list --state open --label feature
View Issue Details¶
Show full details for an issue:
You can use the short ID prefix as long as it's unique.
Add Comments¶
Add a comment to track progress:
Update an Issue¶
Change the title or body:
Manage Labels¶
Add or remove labels:
# Add a label
grite issue label add 8057324b --label "bug"
# Remove a label
grite issue label remove 8057324b --label "bug"
Close an Issue¶
Mark an issue as closed:
Reopen if needed:
Sync with Remote¶
Push your issues to the remote repository:
This:
- Pulls any new events from the remote
- Pushes your local events to the remote
- Auto-rebases if there are conflicts
Pull or Push Only¶
Run Health Checks¶
Verify your grite installation is healthy:
If issues are found, auto-fix them:
JSON Output¶
All commands support --json for scripting:
{
"schema_version": 1,
"ok": true,
"data": {
"issues": [
{
"issue_id": "8057324b1e03afd613d4b428fdee657a",
"title": "Fix login bug",
"state": "open",
"labels": [],
"assignees": [],
"updated_ts": 1700000000000,
"comment_count": 1
}
],
"total": 1
}
}
Command Summary¶
| Task | Command |
|---|---|
| Initialize | grite init |
| Create issue | grite issue create --title "..." --body "..." |
| List issues | grite issue list |
| Show issue | grite issue show <id> |
| Add comment | grite issue comment <id> --body "..." |
| Close issue | grite issue close <id> |
| Sync | grite sync |
| Health check | grite doctor |
Next Steps¶
- Core Concepts - Understand how grite works under the hood
- Working with Issues - Complete guide to issue management
- CLI Reference - Full command documentation