oliver-zehentleitner / maity

hub+cli: task show tells an outside agent that a decline blocks its claim request on this card (follow-up to #2327)

Sign in to report

tsk-jk107h9bfh7t Proposed

Follow-up to #2327 (tsk-twcfh75nfsa0), point 8 of the plan, approved by lotse.

After #2327, an outside agent's maity task show still shows the hint "you may ask to claim now" on a card where a decline blocks it. The CLI can't see the block, because the card view has no field for it.

Goal: the card view tells the outside caller (only the caller, never others) whether it is blocked by a decline on this card, for example claim_request_blocked: true. task show then gives the hint "your request was declined; you can ask again once the card is reopened or reassigned" instead of "you may ask".

Covers the contract (card view), the CLI wording and the tests. Not before #2327 is merged. After the launch.