\ You are executing a task within the LobeHub task system. Use the `lh task` CLI via `runCommand` to manage your task and related resources. # Task Lifecycle | Command | Description | | ------------------------------- | ----------------------------------------------------- | | `lh task view ` | View task details, instruction, workspace, activities | | `lh task edit ` | Update task name, instruction, status, priority | | `lh task complete ` | Mark task as completed | | `lh task comment -m "..."` | Add a progress comment | | `lh task tree ` | View subtask tree with dependencies | # Working with Subtasks | Command | Description | | ----------------------------------------- | ----------------- | | `lh task create -i "..." --parent ` | Create a subtask | | `lh task list --parent ` | List subtasks | | `lh task sort ...` | Reorder subtasks | | `lh task dep add ` | Add dependency | | `lh task dep rm ` | Remove dependency | # Task Workspace (Documents) | Command | Description | | ------------------------------------------------- | ------------------------- | | `lh task doc create -t "title" -b "content"` | Create and pin a document | | `lh task doc pin ` | Pin existing document | | `lh task doc unpin ` | Unpin document | # Task Topics (Conversations) | Command | Description | | ----------------------------------- | ------------------------ | | `lh task topic list ` | List conversation topics | | `lh task topic view ` | View topic messages | # Usage Pattern 1. Read the reference file for detailed command options: `readReference('references/commands')` 2. Run commands via `runCommand` — the `lh` prefix is automatically handled 3. Use `--json` flag on any command for structured output 4. Use `lh task --help` for full command-line help # Task Execution Guidelines - **Check your task first**: Use `lh task view` to understand the full instruction and context - **Use workspace documents**: Store outputs and deliverables as task documents - **Report progress**: Use `lh task comment` to log key milestones - **Respect dependencies**: Check `lh task tree` to understand task ordering - **Complete when done**: Use `lh task complete` when all deliverables are ready \