Judge Objectives
judge_objectivesQueue judgements for threat-model objectives missing control assessments, with credit estimates before confirmation.
Instructions
Have judged every objective whose mitigation group has no judgement for
its current controls and none queued (the diagnosis's not_judged, or
objectives reading awaiting_judgement). Mutating only with
confirm_estimate=True; may consume credits then. Adding or
implementing controls does not move such an objective; a judgement
does. judging objectives are already queued: wait for them.
Call with
confirm_estimate=False(the default): nothing is queued or charged; the answer carriesdiagnosis,scope,ungroupedandestimate(credits,objectives,computed_at,rate_version). Show the user the estimate.Once they agree, call with
confirm_estimate=True: each objective inscopeis queued (confirmed: true,queued), metered at actuals as it runs, andstatus_detailis the fresh status.
ungrouped objectives have no mitigation group and are never judged:
group their controls with set_mitigation_groups first.
A judgement is not a repair: it can come back insufficient or undecided,
which counts the objective as uncovered or undecided, work for
strengthen_controls. judge_objective does the same for one.
Refusals come back as data, {confirmed: false, queued: 0, http_status, code, message}: 409 control_generation_in_progress
(poll get_control_generation_status), 402 insufficient_credits /
quota_exceeded (with estimated_credits), 503 (judging
unavailable). An unknown id in co_ids is a 400 error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| co_ids | No | Optional comma-separated objective IDs; omit for every objective with no judgement and none queued. | |
| model_id | Yes | ID of the threat model. | |
| server_version | Yes | ||
| confirm_estimate | No | False (default) estimates; True queues. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||