← Back to Pull requests

ci: scheduled tools run on repos.yaml; Renovate covers workflows #94

Closed
unknown closed this pull request without merging on Oct 12, 2026 10:43 UTC
View on GitHub
unknown unknown commented on Oct 12, 2026 10:28 UTC
Author

Task: W1-S4-T03 (local-dev/docs/release-automation/workstream-1-foundations.md)

What changes

Go-live for the scheduled tools. All six product repos are onboarded, so every scheduled run now reads repos.yaml instead of repos.mock.yaml, and Renovate also covers this workflows repo.

  • renovate.yml, ccf-bump-merge.yml, ccf-bump-sync.yml, train.yml, attention-digest.yml, vuln-summary.yml: the manifest input's default and the scheduled-run fallback (inputs.manifest || ...) are now repos.yaml. repos.mock.yaml stays a choice, so the mocks can still be run by dispatch. The "until go-live" comments are updated. The manifest validation step in ci.yml is unchanged; it still validates both files.

  • internal/renovate.SelectRepos: the default selection now includes the kind: workflows repo, so renovate-config list returns every repo in the manifest. Naming repos works as before. The preset is unchanged: compliance-framework/** packages stay disabled (ccf-bump owns them), while SHA-pinned third-party actions and Go modules in workflows get Renovate PRs. Unit tests are updated.

  • cmd/vuln-summary and cmd/attention-digest now default --manifest to manifest.DefaultPath (repos.yaml), like every other tool. The workflows always pass --manifest, so scheduled behaviour doesn't change.

  • Docs (docs/renovate.md, docs/ccf-bump.md, docs/train.md, docs/attention.md, docs/vuln-summary.md, README): scheduled runs read repos.yaml; to run the mocks, dispatch with manifest=repos.mock.yaml.
  • What happens from merge on

    Scheduled runs act on the product repos and on workflows:

  • Renovate opens and merges PRs daily at 06:17 UTC (RENOVATE_LIVE is already true).

  • The ccf-bump merge pass runs daily at 05:41 UTC.

  • ccf-bump sync runs on the 8th and the 22nd (CCF_BUMP_SYNC_LIVE is already true).

  • The attention digest posts on Mondays at 08:30 UTC.

  • The vulnerability summary posts on Mondays at 08:00 UTC.

  • The train starts on the month's first working weekday. It stays a dry run until TRAIN_LIVE is set.
  • A Renovate Go-module update in workflows uses the fix(deps) type, so it makes a workflows release. That's expected; ccf-bump moves the callers' pins on its next sync.

    repos.mock.yaml also lists the workflows repo. A Renovate dispatch on the mocks with the default repos therefore reaches workflows too. To stay on the mocks only, name them with -f repos=... (see docs/renovate.md).

    This PR is a CI change, so it doesn't make a workflows release. The scheduled tools run from main. Nothing was dispatched.

    Verification

  • go test -race ./... passes on macOS and in golang:1.26 with jq.

  • go vet ./..., gofmt -l ., actionlint v1.7.12 and go run ./cmd/manifest on both manifests all pass.

  • go run ./cmd/renovate-config list --manifest repos.yaml prints api,gooci,agent,ui,agent-action,helm-charts,workflows.
  • Repo-wide repos.mock.yaml references that stay

  • ci.yml: validates both manifests (out of scope by design).

  • repo-settings.yml: a choice option; its default is already repos.yaml.

  • The six scheduled workflows: kept as a choice option for mock dispatches.

  • Tests under cmd/ and internal/: fixtures that run against the mocks.

  • internal/manifest/manifest.go, internal/vulnsummary/summary.go: doc comments only.

  • Docs: commands and sample output for running against the mocks.
  • Open questions for reviewers

    None.

    🤖 Generated with Claude Code

    Diff: 439 lines (+329 / -110) across 5 files Reviewer: gusfcarvalho Review duration: 14m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 439 lines diff across 5 files
    0.45
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.364
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #94"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 45.3% (MEDIUM) · Higher = larger blast radius
    45.3%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 17.9% · Safe to merge
    17.9%