Implements per-user tenant scoping for AMCS using the authenticated API key/OAuth client id as an opaque tenant boundary.
Changes:
- Add tenant context propagation from auth middleware.
- Add tenant_key schema/migration for projects, thoughts, files, learnings/plans/chat history future-proofing.
- Scope project lookup/list/touch, core thought CRUD/search/stats, and stored file create/read/list by tenant.
- Add middleware test proving tenant context propagation.
Verification:
- make test
- make build
Closes #10
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Implements per-user tenant scoping for AMCS using the authenticated API key/OAuth client id as an opaque tenant boundary.
Changes:
Verification:
Closes #10