Skip to content

Commit 0dd7f4d

Browse files
authored
fix(#48): add database command denials to enforce delegation pattern (#49)
* feat(#46): add database query delegation protocol for research agent Enable research agent to get database insights via delegation to postgres specialist, maintaining security boundaries. Research agent additions: - Database investigation protocol section - Clear delegation format and examples - List of allowed query types - DO NOT attempt direct psql access Postgres agent additions: - Query delegation acceptance protocol - Query validation rules (read-only only) - Execution safety guidelines - Example delegation handling Research basis: Multi-agent systems best practice shows delegation patterns are superior to direct access for security and auditability. Single audit point maintained (only postgres has DB access). Files: 2 prompts * fix(#48): add database command denials to enforce delegation pattern Added explicit database command denials (psql*, mysql*, mongosh*, redis-cli*, sqlite3*) to bash permissions for 11 agents to ensure all database operations go through the proper delegation channels. This security fix ensures a single audit point for all database interactions and prevents agents from bypassing the established delegation protocols.
1 parent 253fe3d commit 0dd7f4d

2 files changed

Lines changed: 874 additions & 764 deletions

File tree

0 commit comments

Comments
 (0)