hub_audit
Audit hub declarations against actual activity, flagging discrepancies like overdue decisions or ignored owner buttons. Apply to convert each finding into an owned incident task.
Instructions
Compare what the hub DECLARES with what actually happened, and turn each disagreement into an incident somebody owns. Checks: a money bet whose gate date passed with no decision since · a project whose share of the journal contradicts the MODE its card declares · owner buttons nobody pressed · a card that stopped following its own journal · tasks with no project. Read-only by default; apply files one incident task per finding and writes ONE report. Every finding quotes the rule it enforces with the date that rule was written (HUB/rules.json -> laws), because an engine's opinion carries no weight and your own past decision does. Findings are keyed, so a weekly run never files the same incident twice. NOT a dashboard: the numbers it prints (attention share, close rates) are a thermometer and are never filed as violations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | required with apply: the function you are performing, e.g. "auditor-weekly" | |
| days | No | window for the attention/close-rate numbers, default 7 | |
| full | No | return everything, uncapped. By default long lists are trimmed to fit an agent context and what was left out is reported in `truncated`. | |
| apply | No | file the incidents (requires by). Default false — look first. | |
| staleButtonDays | No | an owner button older than this is a finding, default 7 |