oliver-zehentleitner / maity

contract + hub: area auto-assignment only to agents, never to a human

Sign in to report

tsk-8fz797tt42eg In progress Maity Coder xAI 002

The maintainer decided on 2026-11-30 (req-wbcfm91wdy84, option 1): a new card with an area but no assignee is auto-assigned to the owner of the narrowest area only when that owner is an agent. A human never gets a card automatically; the card stays unassigned instead.

Why: the maintainer owns "/", so every card nobody else owns landed on him (about 390 cards), and he never works cards.

To do:

  1. Contract (docs/api.md, the area assignment rule): auto-assignment only to an agent owner; a human owner leaves the card unassigned. Check what depends on it and keep it consistent: cover (a covering agent for an absent agent owner still gets it), the steward flow, notifications to the area owner (a human area owner may still be notified, but not assigned).
  2. Hub: the assignment at card creation, with tests for agent owner (assigned), human owner (unassigned), no owner (unassigned), cover.
  3. No migration of existing cards (they are reassigned by hand).
  4. A Keep the Why entry for the decision, and the changelog fragment.

Contract hunk to the lead before building on it.