-
Notifications
You must be signed in to change notification settings - Fork 156
fix: recent_activity prompt defaults #533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: phernandez <paul@basicmachines.co>
|
Claude finished @phernandez's task in 1m 44s —— View job PR Review: Fix recent_activity prompt defaultsSummaryThis PR successfully fixes two issues in the
Code Quality & Standards ✅Follows Basic Memory conventions:
Code style:
Testing & Documentation ✅Test coverage is excellent:
Coverage considerations:
Documentation:
Architecture Compliance ✅MCP best practices:
Correctness of the fix: async def recent_activity(
type: Union[str, List[str]] = "",
depth: int = 1,
timeframe: TimeFrame = "7d",
project: Optional[str] = None,
...
)
Security & Performance ✅
Compatibility ✅
Minor ObservationsLine 28 in recent_activity.py: description="Specific project to get activity from (None for discovery across all projects)"This line is exactly 100 characters (including indentation). While it meets the spec, consider if it could be slightly shorter for clarity, though this is not a blocker. Line 40 in recent_activity.py (docstring): project: Specific project to get activity from (None for discovery across all projects)Same comment - at the limit but acceptable. Test quality: Overall AssessmentAPPROVED ✅ This is a clean, well-tested fix that:
The PR is ready to merge. Excellent work on the test coverage! Checklist ResultsCode Quality & Standards
Testing & Documentation
Basic Memory Architecture
Security & Performance
Compatibility
|
|
Claude finished @phernandez's task in 1m 40s —— View job PR Review: recent_activity prompt defaultsTasks
SummaryThis PR successfully fixes two issues in the
The changes are minimal, well-tested, and follow all Basic Memory conventions. Checklist ResultsCode Quality & Standards
Testing & Documentation
Basic Memory Architecture
Security & Performance
Compatibility
Technical AnalysisChanges Overviewsrc/basic_memory/mcp/prompts/recent_activity.py
tests/mcp/test_recent_activity_prompt_modes.py
Correctness VerificationThe underlying tool at async def recent_activity(
type: Union[str, List[str]] = "",
depth: int = 1,
timeframe: TimeFrame = "7d",
project: Optional[str] = None,
...
)
Test QualityThe new test
Minor Observations
Overall AssessmentAPPROVED ✅ This is an exemplary PR that:
The PR is ready to merge. |
Summary
Testing