fleet-memory/hindsight-api/hindsight_api/extensions
Chris Bartholomew 5270aa5a6e
Add bank-scoped validation to engine and HTTP handlers (#454)
* feat: add bank-scoped validation to engine methods and HTTP handlers

Add validate_bank_read/validate_bank_write hooks to all bank-scoped
engine methods so the operation validator can enforce per-bank API key
restrictions. Add OperationValidationError handling to HTTP handlers
and MCP tools to return proper 403 responses. Add allowed_bank_ids
field to RequestContext.

* Add OperationValidationError handling to mental model GET and DELETE endpoints
2026-03-02 09:55:21 +01:00
..
builtin doc: prepare doc for 0.4.10 (#325) 2026-02-09 11:42:37 +01:00
__init__.py Add bank-scoped validation to engine and HTTP handlers (#454) 2026-03-02 09:55:21 +01:00
base.py feat: extensions (#54) 2025-12-22 11:05:23 +01:00
context.py feat: support for other text and vector search pg extensions (#355) 2026-02-12 14:13:04 +01:00
http.py feat: extensions (#54) 2025-12-22 11:05:23 +01:00
loader.py feat: extensions (#54) 2025-12-22 11:05:23 +01:00
mcp.py feat: add TenantExtension auth to MCP endpoint (#286) 2026-02-06 12:28:05 -07:00
operation_validator.py Add bank-scoped validation to engine and HTTP handlers (#454) 2026-03-02 09:55:21 +01:00
tenant.py feat: implement hierarchical configuration (system, tenant, bank) (#329) 2026-02-12 13:14:57 +01:00