---
model: haiku
---

# /ado-update $ARGUMENTS

Update work item on Azure DevOps from local .md file.

## Syntax
/ado-update <type> <ado-id> [--assign <name/email>] [--status <state>]

- type: feature | bug
- ado-id: ADO work item ID
- --assign: assign to person (optional)
- --status: update status (optional)

## Examples
/ado-update feature 1234 --status "In Development"
/ado-update bug 5678 --assign "user@example.com" --status "Committed"
/ado-update feature 456

## Actions
1. Read `.tas/rules/ado-integration.md` for ADO operating rules (Always/Ask/Never, Red Flags).
2. Read `tas.yaml`, check `ado.enabled`. If `false` or missing: report "ADO integration is disabled (`ado.enabled: false` in tas.yaml)." then stop.
3. Run: python .tas/tools/tas-ado.py update-<type> <ado-id> [--assign ...] [--status ...]
4. Script will:
   - Find local file by pattern *-<ado-id>-*.md
   - Read title and description from file
   - Update work item on ADO
   - Update frontmatter: status, owner, last_ado_sync
5. If no --assign and --status provided, push entire file content to ADO
