Skip to main content

yc-bench task-accept

Accept an available task from the market, adding it to your company’s task list in “planned” status.

Usage

yc-bench task-accept <task-id>

Parameters

task-id
string
required
The ID of the task to accept from the market

Response

Returns the accepted task details:
taskId
string
Unique task identifier
title
string
Task title/description
status
string
Task status (will be “planned”)
payment
number
Payment in dollars upon completion
prestigeReward
number
Prestige points gained upon completion
requiredHours
number
Estimated hours to complete
requiredTier
string
Minimum employee tier required (junior, mid, senior, staff)
deadline
string
Task deadline (ISO 8601 format)
message
string
Confirmation message

Example

# Accept a task from the market
yc-bench task-accept task_mkt_456
Example Output
{
  "taskId": "task_mkt_456",
  "title": "Build React dashboard for analytics",
  "status": "planned",
  "payment": 8000,
  "prestigeReward": 3,
  "requiredHours": 120,
  "requiredTier": "mid",
  "deadline": "2024-02-15T00:00:00.000Z",
  "message": "Task accepted! Use 'task-assign' to assign an employee."
}

Task Status Flow

  1. market - Available in market (before acceptance)
  2. planned - Accepted but not started (after this command)
  3. in_progress - Employee assigned and working
  4. completed - Finished successfully
  5. cancelled - Cancelled (prestige penalty)

Error Cases

  • Task not found - Invalid task ID or already accepted
  • Insufficient prestige - Task requires higher prestige
  • Already accepted - Task already in company task list

Build docs developers (and LLMs) love