Skip to main content

Core Principles

Follow these best practices to get the most value from Tracer in your agent workflows.

1. Always Check Ready Work First

Before starting any new work, check what’s unblocked:
Why? Starting with tracer ready ensures you work on tasks that are actually unblocked. This prevents wasted effort on tasks that can’t be completed yet.

2. File Issues as You Discover Them

Don’t let discovered work get lost:
File issues liberally - it’s better to have too many tracked issues than to lose important work. You can always close or consolidate them later.

When to File Issues

1

Found a Bug

File immediately as a bug with priority based on severity
2

Identified Improvement

File as a task or feature for later consideration
3

Need to Refactor

File as a task and link it to the current work
4

Missing Tests

File as a task and link with discovered-from

3. Use Appropriate Dependency Types

Choose the right dependency type for the relationship:
Use when: One issue cannot start until another is done
Example: Login endpoint (bd-2) blocked by auth schema design (bd-1)
Use when: Creating epic structures with subtasks
Example: “Implement login” (bd-3) is a subtask of “User authentication system” epic (bd-1)
Use when: You found this issue while working on another
Example: Found a validation bug (bd-4) while implementing the login form (bd-2)

4. Update Status Regularly

Keep the tracker in sync with reality:
Regular status updates help other agents (and humans) understand what’s actively being worked on and what’s available.

5. Create Epics for Large Features

Break down complex work into manageable pieces:

Epic Structure Pattern

1

Create Epic

Create the top-level epic with issue_type=epic
2

Identify Subtasks

Break down the epic into concrete tasks
3

Link Subtasks

Use parent-child to link subtasks to the epic
4

Model Dependencies

Use blocks between subtasks that have ordering requirements
Epic naming: Use clear, descriptive names for epics that describe the complete feature or initiative (e.g., “User authentication system”, “Payment processing integration”)

6. Use JSON Output for Parsing

Always use --json when parsing Tracer output:
JSON output is stable and machine-readable. Text output is designed for humans and may change.
Always link discovered issues back to their source:
Benefits:
  • Maintains context of where work came from
  • Helps with understanding scope changes
  • Provides audit trail for project evolution

8. Check Stats Periodically

Monitor project health with regular stats checks:
Check tracer stats at the end of major milestones to see the big picture and track progress.

9. Use Priorities Consistently

Apply a consistent priority scheme:

10. Provide Meaningful Completion Messages

Always include clear reasons when closing issues:

Configuration Best Practices

Set Actor Name

Identify yourself for audit trails:

Use Consistent Database Location

Anti-Patterns to Avoid

Don’t do these:
  1. Starting work without checking ready - You might work on blocked tasks
  2. Skipping status updates - Others won’t know what you’re working on
  3. Not linking discovered work - Context is lost
  4. Creating too few issues - Work gets lost in implementation
  5. Using wrong dependency types - Breaks the ready work algorithm
  6. Vague completion messages - Audit trail is less useful
  7. Parsing text output - Fragile and error-prone

Tips for Claude and Other AI Agents

1

Start with tracer ready

Orient yourself at the beginning of every session
2

File liberally

Better to have too many tracked issues than lose work
3

Use JSON

Always parse with tracer ready --json | jq
4

Update status

Keep humans informed of your progress
5

Link discovered work

Always use discovered-from for found issues
6

Check stats periodically

See the big picture with tracer stats

Troubleshooting

If .trace/issues.jsonl has conflicts after git pull:
  1. Resolve the conflict (keep both changes usually)
  2. Import: tracer import -i .trace/issues.jsonl

Next Steps

Agent Overview

Learn why agents should use Tracer

Agent Workflow

Master the complete workflow

JSON Output

Understand all JSON formats

CLI Reference

Complete command reference