validate_task_memory
Dry-run validate a candidate task memory before writing to the knowledge base. Checks durability, specificity, and reusability, returning acceptance or rejection to guide revisions.
Instructions
Dry-run validation for a candidate task memory before calling write_task_memory. Use this after meaningful work and before persisting a lesson to check whether the candidate is durable, specific, reusable, and shaped like a high-quality ChatCrystal note. It has no side effects and never writes to the knowledge base. Returns acceptance, rejection reason, warnings, and materialized note fields so agents can revise the candidate or skip weak work logs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Use auto for agent-generated writebacks and manual for explicit user-curated memories. | |
| source_run_key | No | Idempotency key for auto writebacks; required in auto mode to avoid duplicate memory receipts. | |
| scope | No | Store as project memory by default; global is reserved for broadly reusable manual lessons. | |
| task | Yes | Current task context used to scope, rank, and store memories. | |
| memory | Yes | Candidate ChatCrystal note content to validate or persist as reusable task memory. |