record_scar_usage
Track scar application by recording reference details and execution outcome to measure effectiveness.
Instructions
Track scar application for effectiveness measurement
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scar_id": "<scar_id>",
"surfaced_at": "<surfaced_at>",
"reference_type": "<reference_type>",
"reference_context": "<reference_context>"
},
"name": "record_scar_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Agent identity (e.g., cli, desktop, autonomous) | |
| scar_id | Yes | UUID of the scar | |
| issue_id | No | Linear issue UUID | |
| session_id | No | GitMem session UUID (for non-issue session tracking) | |
| variant_id | No | UUID of the assigned variant from scar_enforcement_variants (for A/B testing) | |
| surfaced_at | Yes | ISO timestamp when scar was retrieved | |
| reference_type | Yes | How the scar was referenced | |
| acknowledged_at | No | ISO timestamp when scar was acknowledged | |
| issue_identifier | No | Linear issue identifier (e.g., PROJ-123) | |
| reference_context | Yes | How the scar was applied (1-2 sentences) | |
| execution_successful | No | Whether the task succeeded after applying scar |