Score a plan against a brief (intent meter)
scoreMeasure how much of a brief's intent JSON a plan satisfies, without gating. Returns { ok, satisfied, total, score, subscores, violations }, where score is satisfied/total in [0,1] (an empty intent scores 1); call it across edits to watch a plan approach the brief. The intent's shape is the archlang://intent-schema resource. A malformed intent returns { ok:false, intentErrors } as data, never an exception.
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": {
"source": "<source>",
"brief": "<brief>"
},
"name": "score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief | Yes | A brief's intent JSON (shape: the archlang://intent-schema resource) to measure against. | |
| source | Yes | ArchLang source. |