save_test_result
Record test outcome (pass or fail) for a project, linked to the active task. Updates existing memory for the same test suite.
Instructions
Save a test result memory for a project, linked to the current active task.
Call this after running tests — pass or fail — to record the outcome. Saves a memory with category='test_result' and links it to the most recent active task. Re-running with the same test_suite name updates the existing memory (living document).
USAGE:
After a passing test run: save_test_result({ project_name, passed: true, test_suite })
After a failing run: save_test_result({ ..., passed: false, failure_details: "..." })
RETURNS:
memory_id — UUID of the saved test result memory
status — "PASSED" or "FAILED"
linked_task — the active task this result is associated with (if any)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes | The project name (e.g. "purmemo") | |
| passed | Yes | Whether the test suite passed | |
| test_suite | Yes | Name of the test suite (e.g. "get_next_task e2e") | |
| failure_details | No | Details about what failed — only include when passed=false |