chore: import upstream snapshot with attribution
CI / test (20, macos-latest) (push) Has been cancelled
CI / test (20, ubuntu-latest) (push) Has been cancelled
CI / test (22, macos-latest) (push) Has been cancelled
CI / test (22, ubuntu-latest) (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 13:01:18 +08:00
commit 979fb22d7c
613 changed files with 113494 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
Search past session observations and lessons for relevant context. Wrap the `memory_smart_search` and `memory_lesson_recall` MCP tools.
## Usage
```
/recall [query]
```
## Instructions
1. Call `memory_smart_search` with the query and `limit: 10` (hybrid BM25 + vector + graph search).
2. Call `memory_lesson_recall` with the same query and `limit: 5` (lesson search).
3. Combine results and present to the user:
- Group by session
- Show type, title, and narrative for each observation
- Highlight high-importance (>= 7) observations
- Show lessons separately with confidence scores
4. If no results, suggest 2-3 alternative search terms.
5. **Never hallucinate results.** Only present what the MCP tools actually return.
+19
View File
@@ -0,0 +1,19 @@
Explicitly save an insight, decision, or learning to agentmemory for future sessions. Wraps the `memory_save` MCP tool.
## Usage
```
/remember [what to remember]
```
## Instructions
1. Analyze what needs to be remembered — extract the core insight, decision, or fact.
2. Extract 2-5 searchable concepts (lowercased keyword phrases). Prefer specific terms ("jwt-refresh-rotation" over "auth").
3. Extract relevant file paths the memory references.
4. Call `memory_save` with:
- `content` — full text to remember (preserve user's phrasing)
- `concepts` — extracted concept list
- `files` — extracted file list (empty array if none)
- `type` — choose from: pattern, preference, architecture, bug, workflow, fact
5. Confirm the save and show the concepts tagged so the user knows retrieval terms.