ctxSaveTrace
Record a problem and solution trace after resolving a task for future context retrieval.
Instructions
Record a problem+solution trace after resolving a task. Future sessions see it via ctxQueryTraces and the session-start digest. Keep problem + solution to one line each.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | What the trace is about: issue ref (#42), PR ref (PR-42), commit SHA, or short free text. | |
| problem | Yes | One-line summary of the problem. What was broken or unclear? | |
| solution | Yes | One-line summary of the fix. What was the root cause and what resolved it? | |
| tags | No | Up to 10 short labels for search (`flaky-test`, `perf`, `security`, `migration`). Each ≤32 chars. |