Add missing status parameter to search_notes tool #20
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-mcp#20
Loading…
Add table
Add a link
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?
Plan
plan-2026-02-26-tf-modularize-postgres-- Phase 5 follow-upRepo
forgejo_admin/pal-e-docs-mcpUser Story
As an AI agent
I want to filter search results by status (e.g. active, completed, in-progress)
So that I can narrow search results without post-filtering
Context
QA review of PR #19 found that the
search_notesMCP tool is missing thestatusparameter. The API endpointGET /notes/searchacceptsstatusas an optional query parameter, and the siblinglist_notestool exposes it, butsearch_notesdoes not. This was a nit from post-merge QA — not a blocker but should be consistent.File Targets
Files the agent should modify:
src/pal_e_docs_mcp/tools/notes.py-- addstatusoptional parameter tosearch_notes, matching the pattern used inlist_notesFiles the agent should NOT touch:
Acceptance Criteria
search_notes(query="postgres", status="completed")filters results by statuslist_notes(optional, str, Field with description)Test Expectations
ruff checkandruff format --checkpassConstraints
list_notesforstatusChecklist
Related
pal-e-docs-mcp-- project