compare_instances
Compare two or more instances of one convention side by side (0.63.0): for each dimension of that
convention, each one's value, and whether they agree. Where they agree there is nothing to decide; what
differs is the point of contention. refs: <workspace_id>/<path>[@<receipt>] (listings, deliveries, project
or team files, a file at a cited save), or convention names with decision_convention 'convention' (deciding
which convention frames two things), or plain values with a decision_convention. It is inferred when every ref
names the same convention. With dimensions, only those rows. Use it to write a decision file
(/docs/decisions); hashn compares, it never picks. frame is the 0.63.0 name of decision_convention.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refs | Yes | Two to twelve things to compare: '<workspace_id>/<path>' (optionally '@<receipt>' for a cited save), convention names when frame is 'convention', or plain values with a frame. | |
| frame | No | The 0.63.0 name of decision_convention; prefer that. | |
| api_token | No | Your hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set. | |
| dimensions | No | Optional: compare on these dimensions only, e.g. a child decision's proposed children. | |
| decision_convention | No | The convention every ref is an instance of (or 'convention' to compare conventions). Omit to infer it when all refs name the same convention. |