Fix paths in permission window#49
Closed
ezynda3 wants to merge 2 commits into
Closed
Conversation
randomm
referenced
this pull request
in randomm/opencode
Jan 9, 2026
…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.
bussard76
pushed a commit
to bussard76/openwork
that referenced
this pull request
May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I don't know what happened with the original PR I made for this but it seems like it didn't take. This one should work...