validate_task_memory
Dry-run validates a candidate task memory before saving. Checks durability, specificity, and reusability, returning acceptance, rejection, or warnings without writing to the knowledge base.
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. | |
| task | Yes | Current task context used to scope, rank, and store memories. | |
| scope | No | Store as project memory by default; global is reserved for broadly reusable manual lessons. | |
| memory | Yes | Candidate ChatCrystal note content to validate or persist as reusable task memory. | |
| source_run_key | No | Idempotency key for auto writebacks; required in auto mode to avoid duplicate memory receipts. |