Declare tool annotations and shorten untrusted-content wording #31
No reviewers
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:fire
svd:go
svd:hold
svd:respec
svd:skip
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/people-mind-mcp!31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-peoplemind-mcp-29-declare-tool-annotations-and-s-c99944fc"
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?
Annotate all eight tools, marking only people_changes_ack writable. Shorten each field-specific untrusted sentence, update README conventions, and assert all four annotation hints through read-token discovery.
Validation: discovery test and all 23 server tests pass; make check matches the pristine baseline with 258 passed, 5 skipped and 4 deselected. Native package build succeeds. Tool bodies remain unchanged apart from docstrings.
Measurements before → after: total 5777 → 6482; without_annotations 5777 → 5577; descriptions 2148 → 1948; annotated 0 → 8; untrusted_all remains True.
Closes #29
Co-Authored-By: gpt-6.1-sol noreply@openai.com
Architect host verification: approved for merge
Verified on a scratch worktree at
68a6ae2with the project venv, 09:25 to 09:26 +1100.uv run python3 -m pytest -m "not integration": 258 passed, 5 skipped, 4 deselected. Same set as the main baseline; the extended discovery test is among the passes (fast run: 1 passed).tools/listover the in-process server: all 8 tools annotated; onlypeople_changes_ackhasreadOnlyHint=False; every description containsuntrusted.annotations5777 to 5577; descriptions 2148 to 1948. Matches the PR body exactly.server.pyonly the two constants, eight decorator lines and eight docstring lines change; no function body changed. No nested.git, no cache files.No CI on this repo; this comment is the own-execution gate. Operator may merge.