fix(security): isolate production governance gh environment - #106
Conversation
|
Warning Review limit reached
Next review available in: 32 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…I-integrated main
…ge-integrated main
Test-first hardening of the production-environment governance GitHub CLI boundary, non-destructively refreshed onto live protected base
f1b5a5626b4779b7a554aee76ba600e19ad53cc7. No predecessor checks, reviews, scanner/model output, production-setting evidence, deployment evidence, or acquisition evidence transfer after refresh.RCA -> RED -> GREEN
Protected
scripts/production-environment-governance-audit.mjsinvoked shell-freeghwithout an explicit child environment, so the CLI inherited unrelated parent credentials/configuration. After narrowing the child environment, a second independent RED proved a failing child could echo the explicitly delegatedGH_TOKENinto retained diagnostics.The selected narrow implementation constructs one child environment containing only pinned
GH_HOST=github.com, deterministicNO_COLOR=1, optional non-emptyPATH, and explicit optionalGH_TOKEN; it passes that environment tospawnSyncand redacts the exact delegated token from startup and non-zero diagnostics before bounding or persistence. Existing pagination, environment-governance semantics, report/output behavior, and workflow authority remain unchanged.Historical exact head
e878b7c3345f40a2180134d3ab9913828b9ac0e4obtained terminal-success applicationci31445011456, reviewer-ci31445011471, and eligible centralSecurity Scan31445011477. The three source-analysis findings emitted while the deliberate RED exports were absent are resolved on the GREEN lineage. Those results are predecessor evidence only after refresh.Current exact source
Current head
3a9a0034a90ccbf3949212665cb2d11e9cfd7d27is a non-forced two-parent refresh preserving latest protected main plus the exact reviewed final blobs:scripts/production-environment-governance-audit.mjsbb61a1c9a3583b0ef287872f4e6fa62a9233bcce;test/production-environment-governance.test.ts60f608e849564a5b06d675dd55fef965a1bfbe69.Fresh compare is 0 behind current main and contains only those two paths. The visible formal review remains
COMMENTEDon a predecessor; all three inline threads are resolved.Current exact-head state
For exact head
3a9a0034a90ccbf3949212665cb2d11e9cfd7d27:ci31594389690: queued/non-passing;31594389696: queued/non-passing;Security Scan31594389650: queued/non-passing;Keep Draft until the unchanged exact head has terminal-success application/reviewer/security evidence and current findings remain clean. No clean-head churn, blind rerun, synthetic status, or gate weakening is used.
Authority boundary
This repair narrows one subprocess and diagnostic-retention boundary. It does not configure or prove the live
productionenvironment, create deployment approval, publish a release, deploy Noema, choose an outbound license, establish KPI/revenue/legal/IP-transfer evidence, or create acquisition readiness.