- Add OrgInfo, OrgMembership, OrgMemberContext types to context.ts
- Create org-member.ts middleware that:
- Chains with authMiddleware
- Takes input with org slug
- Looks up org and verifies membership
- Adds org and membership info to context
- Export from middlewares/index.ts and procedures/base.ts
Also simplify superuserMiddleware to use authMiddleware.concat()
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>