?
mindstudio.jewels.queue.resolve
Approve or dismiss a queued proposal; approving applies the method as the signed-in reviewer.
mindstudio.jewels.queue.resolve(itemId, { action, input? }) → { resolution, output? }
Resolves a queued proposal: approving runs the method as the signed-in reviewer, optionally with an edited input, and dismissing drops it. Both outcomes are recorded as the ground truth the jewel is graded against, so a reviewer's edits teach it as much as an outright approval.
Parameters
itemId
string
RequiredThe queue item to resolve.
action
'approve' | 'dismiss'
RequiredApprove applies the method; dismiss records the decision without acting.
approvedismiss
input
object
Edited method input to apply instead of the proposed input.
Approve with edits
await mindstudio.jewels.queue.resolve(itemId, { action: 'approve', input: edited });