Score a plan against a brief (intent meter)
scoreMeasure how much of a brief's intent JSON a plan satisfies and return satisfaction ratio and subscores across edits to track convergence without gating.
Instructions
Measure 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.
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. |