ay context (Alias: ctx)
Setzt aktive Context-Slots (Project, Sprint, Customer, Consumer, …). Folgende Commands injizieren diese als implicit Filter, sodass z.B. ay list tasks automatisch nur Tasks des aktiven Sprints zeigt.
Verfügbare Slots
3 Tiers:
- Core —
customer,consumer,user - Domain —
project,sprint,epic,release,contract,agency - AI / Automation —
automation,model
Subcommands
ay context / ay context show
Zeigt aktuell gesetzten Context.
ay context
# Active Context
# project "Migration" (projects, 64a1...)
# sprint "Sprint 14" (sprints, 64b2...)
ay context set <slot> <name…>
Resolved Name zu ObjectId (mit Hierarchie-Validation und Multi-Match-Hinweis).
ay context set project "Website-Relaunch"
ay context set sprint "Sprint 14"
ay context set consumer "John Doe"
ay context unset <slot>
Entfernt einen Slot — kaskadiert auf abhängige Slots (z.B. unset project entfernt auch sprint und epic).
ay context unset project
ay context clear
Cleart alle Slots.
ay context clear
ay context list
Listet alle verfügbaren Slots gruppiert nach Tier mit aktiver Belegung.
ay context list
Beispiel-Workflow
ay context set project "Migration"
ay context set sprint "Sprint 14"
ay list tasks # automatisch gefiltert auf Project + Sprint
ay create tasks "Fix bug" # automatisch _projectID + _sprintID gesetzt
ay search tasks "blocker" # automatisch im Scope