| name | calc-step-c |
| description | Private calc stage C (round & classify). Invoked by stage B with the hypotenuse as its argument; not user-invocable. Final stage: rounds, classifies, reports the full log, and ends the chain. |
| user-invocable | false |
| argument-hint | [hypotenuse] |
Stage C — round, classify, report
You are running stage C, the final stage of the calc pipeline. This skill is
private (user-invocable: false) — it was invoked by stage B with one number as
its argument ($ARGUMENTS): h, the hypotenuse from stage B.
Do exactly this:
-
Let h = $ARGUMENTS. Round it to 3 decimal places → hr.
-
Classify the result:
- If
h is a whole number (within 1e-9), note:
integer hypotenuse → the legs form a Pythagorean triple.
- Otherwise note:
non-integer hypotenuse.
-
Append this line to pipeline.log (do not overwrite earlier lines):
[C] result: hypotenuse = <hr> (<classification>)
-
Read back the full contents of pipeline.log and show it to the user.
-
State clearly that the chain A → B → C finished, and give the final
hypotenuse.
This is the end of the pipeline. Do not invoke any further skill.