misakanet_memory_context
Retrieve matching failure-memory lessons for your task to avoid known pitfalls. Inject problem-fix summaries into your context before starting.
Instructions
Pull relevant failure-memory lessons as context before starting a task. Call this at the beginning of a coding session or before attempting a non-trivial operation. Returns a condensed context block with matching lessons (problem + fix summaries) that can be injected into the agent's system prompt. Input semantics: task (required), domain (optional filter), top_n (optional, default 5, max 10). Output schema: JSON with task, lesson_count, lessons array, and context_block (ready-to-inject markdown). Error cases: missing task. Side effects: none. Auth: none. Rate limits: none.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Task description (e.g. 'set up ChromaDB RAG pipeline', 'deploy FastAPI to production'). | |
| top_n | No | Number of lessons to retrieve (default 5, max 10). | |
| domain | No | Optional domain filter (e.g. 'search-and-retrieval', 'ci-cd'). |