tx try / tx attempts
Record and track implementation attempts on tasks
Overview
Track what approaches have been tried on a task. Helps agents avoid repeating failed approaches and learn from successes.
CLI Usage
# Record a failed attempt
tx try tx-abc123 "Used Redux" --failed "Too complex for this use case"
# Record a successful attempt
tx try tx-abc123 "Used Zustand" --succeeded
# List all attempts for a task
tx attempts tx-abc123MCP Tools
| Tool | Description |
|---|---|
tx_attempt_add | Record an attempt on a task |
tx_attempt_list | List all attempts for a task |
API Endpoints
| Method | Path | Description |
|---|---|---|
| POST | /api/tasks/:id/attempts | Record an attempt |
| GET | /api/tasks/:id/attempts | List attempts for a task |
SDK
// Record an attempt
await tx.attempts.add('tx-abc123', {
approach: 'Used regex-based parser',
outcome: 'failed',
reason: 'Could not handle nested brackets'
})
// List attempts
const attempts = await tx.attempts.list('tx-abc123')