case_grade
Compute and record the investigation conclusion grade for a VMware case from the evidence ledger, returning grade, direction, and hypothesis statuses to guide next diagnostic steps.
Instructions
[WRITE] Compute and record the conclusion grade — steps 07/08.
WHEN: when you think the investigation has reached a conclusion, or to record where it stands before handing it over.
There is deliberately NO parameter for the grade. You cannot state a conclusion level; it is recomputed from the ledger on every call. If you disagree with the result, change the ledger — submit the evidence that is missing, or record the gap that is blocking it.
The levels: Candidate (a hypothesis exists); Probable (at least two INDEPENDENT sources agree — two calls to the same skill are one source — and nothing outstanding could overturn it); Confirmed (that, plus a decisive item: a direct hardware diagnostic, a version-checked knowledge-base entry, or a vendor SR, and no gap left open); Excluded (an observation that actually rules the hypothesis out — "we looked and found nothing" is a gap, not an exclusion). Exclusion is per hypothesis, counting only sources that falsify THAT hypothesis; the case is Excluded only when every registered one is. A hypothesis contradicted but not yet ruled out holds the case at Candidate. Otherwise the grade counts only evidence that falsifies nothing.
RETURNS: {grade, previous, direction, reasons, ceiling, ceiling_reasons,
rules_source, rules_origin, hypotheses}. hypotheses lists every
registered hypothesis as {id, status: open|excluded}. direction is
initial/up/down/unchanged — grades may go DOWN, and the history records
it when they do.
GOTCHAS: on a stock install ceiling is "probable", because Confirmed
needs a decisive source and there is neither a hardware-diagnostic
channel nor a knowledge library mounted yet. That is a real limit, not
a caution. Every grading is appended to conclusion.md and none is ever
rewritten.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | Yes | The case to grade (from case_open/case_list). This is the only parameter — see above for why there is no grade parameter. |