feat: add query template system #23
Labels
No labels
P1
P2
P3
PHP
agent-ready
bug
clotho
discovery
docs
refactor
review
security
testing
athena
athena-gemini
audit
clotho
clotho-gemini
codex
darbs-claude
security
wiki
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: core/php-mcp#23
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Agents repeatedly construct the same SQL queries. A template system would allow workspaces to save, name, and reuse parameterized queries safely.
Features
:user_id,:start_date)Security Considerations
Files
src/Mcp/Services/QueryTemplateService.php(new)src/Mcp/Tools/QueryTemplate.php(new)src/Mcp/Models/McpQueryTemplate.php(new)src/Mcp/Migrations/xxx_create_mcp_query_templates_table.php(new)Notes
Also noted in TODO.md under High Priority Features. Estimated effort: 5-6 hours.