@testmuai/rook-skill 0.1.13 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testmuai/rook-skill",
3
- "version": "0.1.13",
3
+ "version": "0.1.21",
4
4
  "description": "Install the Rook agent-testing skill for Claude Code, Codex and Gemini CLI",
5
5
  "type": "module",
6
6
  "bin": {
package/skills/SKILL.md CHANGED
@@ -78,7 +78,7 @@ commands; do not assume the CLI enforces an aggregate task cap. Check its help
78
78
  for available limits. A null balance means unknown.
79
79
  Rook checks the organisation's Agent Assurance plan before any model call or
80
80
  credit spend, whatever the balance. A `plan_required` or `upgrade_plan` refusal
81
- names the billing page that lifts it; pass that link to the user instead of
81
+ names the page that lifts it (billing, or onboarding to start a free trial); pass that link to the user instead of
82
82
  retrying. A plan without Rook cloud runs locally: when sync or cloud status is
83
83
  refused, use `rook run --test` for a local result. See
84
84
  [troubleshooting](references/troubleshooting.md).
@@ -25,3 +25,13 @@ declared, with no approval step.
25
25
  When `explore` finds `.mcp.json` in the target, those servers appear with
26
26
  origin `discovered` and need `approve` before a scenario can exercise them.
27
27
  Values stay `${VAR}` references in `get` output.
28
+
29
+ Since 0.1.14 an `http` server connects over Streamable HTTP. A `project` or
30
+ `discovered` one waits for `approve` like a stdio server, and a changed host
31
+ needs approval again. `get` and `approve` print `sends the value of VAR to
32
+ <host>` for each variable an http server receives, and values of 8 or more
33
+ characters expanded from `${VAR}` are removed from what it sends back. Each
34
+ request has a 20 s deadline and an 8 MiB limit, and redirects are refused.
35
+ `sse` and `ws` servers stay `unsupported-transport`. On every transport, a
36
+ tool list without `tools`, a result without `content` or a text block with no
37
+ text is a malformed response, not an empty success.
@@ -38,7 +38,7 @@ from `ok: true` or from an old report on disk.
38
38
  | `remedy: explore_agents` | no agents registered — `rook explore` |
39
39
  | `remedy: pick_agent` | no agent selected — `rook agent use <id>` |
40
40
  | `remedy: topup` | you are out of credits — check `rook plan` and add credits |
41
- | `remedy: plan_required` | the org has no active Agent Assurance plan (none, an ended free trial or an expired subscription), whatever its credit balance — nothing ran or was charged; give the user the billing link the refusal names |
41
+ | `remedy: plan_required` | the org has no active Agent Assurance plan (none, an ended free trial or an expired subscription), whatever its credit balance — nothing ran or was charged; give the user the link the refusal names: since 0.1.14, the onboarding page to start the free trial when the org never had a plan, otherwise billing |
42
42
  | `remedy: upgrade_plan` | the plan has no Rook cloud (such as Starter) — sync, cloud project status and recording runs on Rook cloud are refused; keep work local with `rook run --test`, or give the user the upgrade link the refusal names |
43
43
  | `remedy: reconcile` | this agent has diverged from upstream — `rook sync` |
44
44
  | `remedy: update` | this version is too old to be served — announce that `rook update` may install a newer version, then recheck skill compatibility |
@@ -10,7 +10,7 @@ criterion details, read `runs/<run-id>/scenarios/<scenario-id>/verdict.yaml`.
10
10
  | Scenario verdict | `scenario_id`, `status`, `criteria[]`, `unverifiable_reason`, `compromised`, `forbidden_hits[]` |
11
11
  | Criterion | `criterion_id`, `criterion`, `expected`, `achieved`, `status`, quoted `evidence`, `confidence` |
12
12
  | Report | `run_id`, `agent_id`, `agent_version_id?`, `generated`, `headline`, optional `narrative` and `next[]`, `totals`, `metrics`, `clusters[]`, `credits` |
13
- | Totals | `planned`, `executed`, `passed`, `failed`, `unverifiable`, `unjudged`, `not_run`, `unrunnable`, `decided`, `pass_rate`, `carried_forward` |
13
+ | Totals | `planned`, `executed`, `passed`, `failed`, `unverifiable`, `unjudged`, `not_run`, `unrunnable`, `decided`, `pass_rate`, `assurance_gap`, `unverified_criteria`, `total_criteria`, `carried_forward` |
14
14
  | Cluster | `id`, `why`, `kind` (`failed`, `unverifiable`, `compromised`), `scenarios[]`; RCA may add `cause`, `remedy`, `confidence`, `fault`, `where`, `summary` |
15
15
 
16
16
  Statuses are **Pass**, **Fail**, and **Unable to Verify**. Unverifiable reasons:
@@ -28,15 +28,21 @@ still passes at once, and a regex asserting that text is absent still fails
28
28
  when the text appears. The judge call can add credits; if it fails, the
29
29
  criterion is Unable to Verify, not Fail.
30
30
 
31
- ## Pass rate
32
-
33
- Since 0.1.6, `totals.pass_rate` is `Pass / (Pass + Fail + Unable to Verify)`.
34
- `totals.decided` still means `Pass + Fail`. Unable to Verify contributes to the
35
- pass-rate denominator as a recorded result, but remains a separate verdict;
36
- never describe it as Fail. If every recorded result is Unable to Verify,
37
- `pass_rate` is `0`; if there are no recorded Pass, Fail or Unable to Verify
38
- results, it is `null`, not zero.
39
- Unjudged, not-run and unrunnable work does not enter this denominator.
31
+ ## Pass rate and assurance gap
32
+
33
+ Since 0.1.21, `totals.pass_rate` is `Pass / (Pass + Fail)`, shown as "Verified
34
+ pass": Unable to Verify is left out of it, and `totals.decided` is its
35
+ denominator. If nothing passed or failed, `pass_rate` is `null` ("unavailable"),
36
+ never `0`. From 0.1.6 to 0.1.20 the denominator also counted Unable to Verify;
37
+ `rook report <run-id>` works out an older run's totals again under the current
38
+ rule. Unjudged, not-run and unrunnable work never enters the denominator.
39
+
40
+ `totals.assurance_gap` is `unverified_criteria / total_criteria`: the share of
41
+ the run's criteria the judge could not verify. It is `null` when the run has no
42
+ criteria, and all three are `null` when a verdict's criteria counts cannot be
43
+ read. Report the two together: a high pass rate with a large gap means
44
+ everything checkable passed, but little could be checked. Unable to Verify
45
+ remains a separate verdict; never describe it as Fail.
40
46
 
41
47
  ## Presenting results
42
48