feat: implement permission-aware search baseline

This commit is contained in:
2026-07-29 15:50:11 +02:00
parent 89a4fd0874
commit c60ca2776e
27 changed files with 2282 additions and 0 deletions

15
AGENTS.md Normal file
View File

@@ -0,0 +1,15 @@
# govoplan-search Codex Guide
## Scope
This module owns global and contextual search aggregation, the built-in
PostgreSQL/SQLite index, indexing lifecycle, search diagnostics, and the search
WebUI. Source modules own object authorization and the content they announce.
Optional backends such as OpenSearch belong behind provider contracts.
## Rules
- Never return a result before tenant and current-principal ACL filtering.
- Do not import optional source modules.
- Keep external search engines optional.
- Never index credentials, secrets, or unrestricted raw payloads.