Report the API budget an audit drew on, and the GitHub App route to a larger one #10
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.37) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 238 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.328
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #10"
general
weight: 0.35
askalf
What and why
An audit uses the action's
tokeninput, which defaults to the workflow'sGITHUB_TOKEN: 1,000 requests an hour per repository, shared with every other step of the repository's CI that calls the API. A GitHub App's installation token has its own budget of 5,000 or more an hour. pitlane's runner App moved minting and polling onto such a budget (askalf/pitlane-box#35, #36). Until now ci-wizard didn't say which budget an audit drew on, or that a larger one exists.src/github.mjs: the client records the token's hourly limit fromx-ratelimit-limit(client.limit). A stop near the limit (RateLimitError) says which limit it hit and how to get a larger budget (RATE_LIMIT_HINT).rate_limit: { limit, remaining }). On a budget of 1,000 or less it adds that a GitHub App's token has its own 5,000 or more. Without the headers the line is left out, and an audit that finds no runs writes no report.actions/create-github-app-tokenpinned as askalf/ci pins it and narrowed to the two permissions an audit needs (permission-actions: read,permission-contents: read).The merge commit on this branch only joins the already-merged #9 tip and changes no files.
Checks
npm testpasses (124; 4 new intest/budget.test.mjs)npm run buildrun anddist/committeddocs/rules.md(no rule changes)