Repository navigation
Description
Spec
This issue's spec is the owner's standing direction of 2026-10-27, §3 cost, verbatim:
Cost, which comes to me: anything that can bill me. That means Azure, GitHub (larger runners, Actions minutes or storage on private repositories, paid storage or artifact retention beyond the free quota, plan or seat changes) and any other billing account. Not cost, so spend it freely: model usage under the Claude subscriptions, and each account's promotional $200 API credits. Extra usage is off and spending limits are set on all 12 accounts, so reaching a limit stops work and never bills; treat it as a capacity limit.
The same direction is recorded in docs/conventions/loop-lane/README.md, "When work stops for the owner". The owner's stop rule also says never to weaken a HIGH or CRITICAL security boundary.
Problem
cost-review-required in plugins/source-control/skills/babysit-prs/scripts/babysit_risk.py (_cost_reasons) holds for a person on spend that cannot bill the owner: model flags, pr-pipeline.yaml spend lines such as turn-share, and raised timeouts on a public repository. The direction above says such spend is not cost.
Acceptance criteria
cost-review-required holds only what can bill. Subscription and prepaid spend is reported as a non-holding finding. Credential and agent-surface changes keep a person's hold under a security reason code, not a cost code.
| Class | Result |
|---|---|
COST_PATHS IaC file, or a file in a Pulumi project |
HIGH cost-review-required |
| Base tree not listed for Pulumi projects (fails closed) | HIGH cost-review-required |
| A file renamed or copied into a workflow or pipeline path | HIGH cost-review-required |
| A workflow or pipeline file with no readable patch (fails closed) | HIGH cost-review-required |
| A runner that is not free: a larger or expression runner even on a public repository, any runner on another | HIGH cost-review-required |
On a repository not known to be public: a runs-on:, windows, macos or cron line, a raised model-leg timeout, or an artifact retention-days above the removed value or above the 90-day default |
HIGH cost-review-required |
A net-new secrets reference |
HIGH secret-exposure-review (a person's; the cost decision does not clear it) |
A new model leg (run-claude-cli, claude-code* action or image) or @anthropic-ai/claude-code run |
HIGH agent-surface-review (a person's; the cost decision does not clear it) |
--model, --max-turns |
MED cost-finding (reported, never holds) |
A pr-pipeline.yaml line off the safe list (turn share, caps, models) |
MED cost-finding |
On a public repository: cron, a raised model-leg timeout, or a raised retention-days |
MED cost-finding |
Plan or seat changes have no code surface in a pull request, so they have no class.
Related
- pr-merge cost hold: LOW-rated shapes S&C's probe still passes #9241 is superseded in part. Its probes for non-public repositories stay open there:
runs-onbehindmatrixorinputs, and the timeout shapes.
Activity
github-actions commentedon Oct 27, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Understood: narrow
_cost_reasonsin babysit_risk.py socost-review-requiredholds only what can bill. Subscription and prepaid spend becomes a non-holding MEDcost-finding. New secrets references and new model legs keep a person's hold undersecret-exposure-reviewandagent-surface-review. The spec is the owner's standing direction, and the acceptance table and the refinement checklist are exact, so no open questions remain.This change narrows an existing hold. It adds no billing charge, so there is no cost decision to record.
Related, not duplicates: #9241 (its non-public-repo probes stay open there), #10437, #9635, #10517. Check that other consumers of the person-code list, such as enable-auto-merge.mjs, accept the two new codes.
Automated triage, applied by the lanes App.
melodic-automation-lanes commentedon Oct 27, 2026
Not admitted to the issue lane: its title or body names a charge (billing, larger runners, retention, seat, subscriptions, extra usage, spending limits, subscription), which needs an owner decision. Admission takes the issue once each of those is met, when intake triages it again (
.github/actions/resolve-config/admission-rules.json).melodic-automation-lanes commentedon Oct 27, 2026
The latest triage verdict holds nothing: admission moved the issue to
status: needs-decision; its comment says why.melodic-automation-lanes commentedon Oct 27, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Narrow
_cost_reasonsin babysit_risk.py socost-review-requiredholds only what can bill, report subscription and prepaid spend as MEDcost-finding, and hold new secrets references and model legs under person-only security codes.Acceptance criteria
cost-review-required(babysit_risk.py:920-931).cost-review-required(babysit_risk.py:938-946).cost-review-required, while a free runner on a public repository gives none.runs-on:,windows,macosorcronline, a raised model-leg timeout, or aretention-daysabove the removed value or above 90 each give HIGHcost-review-required.secretsreference gives HIGHsecret-exposure-review, and a net-new model leg (run-claude-cli,claude-code*action or image) or@anthropic-ai/claude-coderun gives HIGHagent-surface-review, neither undercost-review-required.inp.cost_decision) clearscost-review-requiredbut does not clearsecret-exposure-revieworagent-surface-review.--modeland--max-turnslines, on any repository, give MEDcost-findingand nevercost-review-required.cost-findingand no HIGHcost-review-required(babysit_risk.py:969).cron, a raised model-leg timeout and a raisedretention-daysgive MEDcost-finding, not HIGH.cost-findingis added to MERGEABLE_MED so it never holds, andsecret-exposure-reviewandagent-surface-revieware added to PERSON_CODES so only a person clears them (babysit_risk.py:1134, 1167).cost-review-requiredfor model flags, pipeline spend lines and public-repo timeouts in the tests under babysit-prs/scripts/tests are updated to the new classes, and the babysit-prs test suite passes.Dependencies
Related work
Sources read
Automated refinement by the lanes App. Intake triages the issue again with it.