Skip to content
Development
Command

/gov-metrics

Governance metrics — measure whether the gates actually work. Block rate, override/waiver rate, false-block proxy, R1-textual vs R2-mechanical share, and time-in-gate, computed from the verdict trail.

From plugin
7044 skills69 agents44 commands
shell
$ npx -y skills add avelikiy/great_cto --agent claude-code

Ships with great-cto. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/gov-metrics

Context preview

What this command does when you run it.

Governance metrics — measure whether the gates actually work. Block rate, override/waiver rate, false-block proxy, R1-textual vs R2-mechanical share, and time-in-gate, computed from the verdict trail.

Command definition

gov-metrics.md
description: "Governance metrics — measure whether the gates actually work. Block rate, override/waiver rate, false-block proxy, R1-textual vs R2-mechanical share, and time-in-gate, computed from the verdict trail."
argument-hint: "[--since 30d] [--json]"
user-invocable: true
allowed-tools: Bash, Read
model: haiku

/gov-metrics — does the gate actually gate?

great_cto's moat is mechanical governance. A gate you can't measure is a vibe, not a control. This reports the numbers (idea adapted from SantanderAI/mech-gov-framework):

  • **Block rate** — share of gate decisions that blocked.
  • **Override / waiver rate** — blocks a human bypassed.
  • **False-block proxy** — blocked-then-passed-unchanged (gate noise / over-firing).
  • **R2 mechanical share** — verdicts enforced by CI/script (the moat) vs **R1 textual**

(a reviewer's prose judgment). High R1 share = gates lean on vibes, not enforcement.

  • **Median time-in-gate** — minutes between consecutive gate decisions on a feature.

Run

PT="$(ls -d ~/.claude/plugins/cache/local/great_cto/*/ 2>/dev/null | sort -V | tail -1 | sed 's|/$||')"
[ -d "$PT" ] || PT="$(pwd)"
node "$PT/scripts/lib/gov-metrics.mjs" $ARGUMENTS

`--since 30d` limits the window; `--json` emits machine-readable output for the board.

Present

Show the CTO the table, then **one sentence of so-what**:

  • R2 share < 40% → "gates lean on prose — move judgment into enforced checks."
  • false-block proxy > 30% → "gates over-fire — calibrate severity (anti-inflation)."
  • block rate ~0% over many decisions → "the gate never says no — is it real?"

Governance is the product. These numbers are how you prove it.

Read more
Read it on GitHub ↗
Ships withgreat-cto

Don't buy software. Get the work done. GreatCTO ships AI autopilots that run a whole business function — medical coding, legal docs, procurement, accounting, IT, tax — from intake to outcome. A qualified human signs only the judgment calls. Live connectors, built-in compliance.

Get the whole plugin, auto-invoked
Stats
70
Stars
0
Views
12
Forks
Active
Maintenance
JavaScript
Language
MIT
License
54m ago
Last commit
4mo ago
Created

Repo: avelikiy/great_cto