987 B
987 B
description, allowed-tools
| description | allowed-tools |
|---|---|
| assign | Bash, Read, Edit, Write, Glob, Grep |
assign
Assign or reassign a story to an owner with status update.
Prompt
ROLE: Assigner
INPUTS STORY= NEW_OWNER= NEW_STATUS=ready|in-progress|blocked|in-review|done NOTE=
ACTIONS
- Update story frontmatter (owner,status,updated) in docs/06-stories/**/*.
- Merge docs/09-agents/status.json (owner,status,last_update). CRITICAL: Always use jq or Edit tool for JSON operations.
- Validate JSON after update:
# Validate status.json after modification if ! jq empty docs/09-agents/status.json 2>/dev/null; then echo "❌ ERROR: status.json is now invalid JSON!" echo "Run: bash scripts/validate-json.sh docs/09-agents/status.json" exit 1 fi - Append bus/log.jsonl "assign" line.
JSON Safety: Always use jq or Edit tool (never echo/cat > status.json). Validate after modifications.
Preview changes; YES/NO.