spec: Count runs from disabled selected workflows - #402
Conversation
|
Independent G2 review — PR #402 Reviewer: Repository: Reviewed-head: 4a93cde Evidence and identity. I read the entire 72-line specification, accepted intent, PR description, applicable G2 criteria and current policy. I compared the design with the existing quota helper and hermetic test. Independent API reads before and after review returned the same PR head, base, title/body and intake hashes above. Issue #132 remained open. PR #402 remained open with no labels; Current intake acceptance is comment 5772185718, verified as authored by The candidate consists of one single-parent commit directly above the reviewed base. Only Bugs pass — no Important findings. The design addresses the demonstrated cause: add the existing The existing global sanity check, accumulation and error handling remain unchanged. Requirements preserve numeric validation, fatal listing failures, unexpected per-workflow failures and the existing missing-workflow behavior. Both intent questions are answered concretely. The existing stub will model disabled-workflow visibility. With one enabled workflow contributing 3 runs, disabled counts of 16 and 17 must produce totals of 19 and 20, with the corresponding success and threshold refusal. The original query would instead report only 3. Requiring the regression to fail with that original query establishes meaningful behavioral proof. The specification retains every existing assertion and requires the complete affected suite, pinned ShellCheck and required CI on the final implementation. It does not claim those future checks have passed. Security pass — no Important findings. The change preserves the runaway brake’s threshold, selection, exclusions, configuration precedence and failure rules. Errors cannot become zero usage. Prospective implementation is limited to the existing helper and its test. No workflow, permission, credential, executable-selection, quota-policy, activation or target boundary expands. The already implemented run-attempt identity remains intact. Hermetic proof requires no real workflow operation or provider invocation. Classifying this change as Compliance pass — no Important findings. The spec has the required frontmatter, valid intent hash link, explicit risk, verifiable requirements, bounded design, proof, exclusions and areas of concern. Its plain-language content is sufficient for a separate plan author without relying on conversation history. The design stays within the accepted G1 outcome and the existing GitHub adapter boundary. It adds no portable-core dependency, exceptional implementation path or new framework. No conflict with the accepted intent or north star was found. The PR tracks #132 without closing it. The spec identifies the implementation’s standard review size; the PR description records its own standard size. Neither artifact includes a review-round changelog. No implementation or accepted upstream artifact changes are present. CI and conclusion. The API reports quick-CI run 35696646815 completed successfully at the reviewed head. This is the observed automatic run, not implementation or full-suite proof. The manager must still verify required checks and unchanged identities before protected merge. No Important findings or nits. Accept this exact specification and its high-risk classification at G2. A separately reviewed and accepted high-risk plan must land before implementation; this verdict supplies no code or merge authorization. This reviewer made no file, ref, worktree, label, comment or other state changes and executed no tests or targets. Review-verdict: ACCEPT |
A selected workflow can disappear from the quota preflight count after it is disabled. This spec defines using the existing GitHub CLI option to include its runs and a hermetic count/threshold regression while preserving current selection and failure rules.
Tracks #132. G1: #401. Current intake acceptance: #132 (comment)
review_size: standard
Only
work/disabled-workflow-run-counting/spec.mdchanges. Risk is high because the helper is a runaway safety control; a separate accepted plan still precedes implementation.Validation: exact merged intent hash, sole-path diff, clean checkout and whitespace check verified. Required quick CI and independent G2 review are pending. No implementation or live provider operation is included.