PAR-47
Add 'deposit' as an alias for 'pay' in /firm command
Add deposit as an alias for paying into a firm in the /firm commands.
Technical notes — "Pay into a firm" already exists: MiscCommands.payInto (@Route("pay into <firm> <amount>"), perm business.pay, open to anyone), plus a separate member-gated deposit <firm> <amount> (perm business.finance). Hibernia's @Route is @Repeatable, so the alias is a one-line annotation. Decide first: there's a naming collision — should the new deposit alias the open pay into, or is this about the existing gated deposit?
Comments
tesks · Jun 4, 2026, 9:56 AM
Code context — "Pay into a firm" already exists: MiscCommands.payInto (@Route("pay into <firm> <amount>"), perm business.pay, open to anyone), plus a separate member-gated deposit <firm> <amount> (perm business.finance). Hibernia's @Route is @Repeatable, so adding an alias is just stacking a second @Route on the chosen handler.
Decision first: there's a naming collision — deposit is already a (gated) command. Should the new deposit alias the open pay into, or is this about the existing gated deposit? Resolve that, then it's a one-line annotation.
Activity
- paradaux description: Description updated
- paradaux changed status to Status → Planned
- tesks moved to Moved to Business
- tesks changed status to Status → Backlog
- tesks updated labels (Labels updated)
- tesks description: Description updated
- tesks commented
- tesks assigned Assigned to rian