chore: sync workflow templates - #989
Conversation
|
Important Review skippedAuto reviews are limited based on label configuration. 🚫 Review skipped — only excluded labels are configured. (7)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Essentials Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
Workflow state fingerprint for Keepalive Loop Reporter. Do not edit. |
There was a problem hiding this comment.
🔵 Needs a closer look
It introduces broad, fleet-wide workflow and automation behavior changes (coverage guard, delegation, keepalive dispatch) that warrant careful human verification in CI and real-run scenarios.
Pull request overview
This PR syncs automation/workflow templates from stranske/Workflows into stranske/Counter_Risk, updating the repo’s agent orchestration, labeling, keepalive, and coverage-guard infrastructure to match the shared fleet behavior.
Changes:
- Improves coverage-guard robustness by supporting per-repo source workflows and broader artifact/payload discovery (including matrix-suffixed artifacts).
- Expands agent keepalive and delegation support (Cursor/Gemini runners, route-weights-based agent selection, periodic sweep mode split).
- Tightens issue/label automation (issue format guard behavior, safer label auto-apply with margin checks, improved keyword scoring/diversity).
File summaries
| File | Description |
|---|---|
| tools/langchain_client.py | Ensures a provider-specific reviewed model is resolved before building clients when a provider is selected. |
| tools/coverage_guard.py | Refines breach/recovery messaging and recovery-window closure logic, including a warning-threshold recovery path. |
| scripts/langchain/label_matcher.py | Adds diverse-match bounding, margin-based auto-apply selection, and more conservative keyword scoring. |
| scripts/check_deliberate_break.py | Improves fallback parsing for deliberate-break specs and prefers explicit markers anywhere in PR body. |
| .github/workflows/maint-coverage-guard.yml | Makes coverage guard configurable per repo (source_workflows) and more tolerant of artifact naming/layout variations. |
| .github/workflows/agents-weekly-metrics.yml | Posts dated metric summaries (timestamped comment body) to the tracking issue. |
| .github/workflows/agents-keepalive-sweep.yml | Adds consolidated vs non-consolidated sweep paths and scopes eligibility to opted-in keepalive PRs. |
| .github/workflows/agents-issue-optimizer.yml | Counts only workflow_dispatch retries and surfaces format-validation output on failure. |
| .github/workflows/agents-issue-format-guard.yml | Extends triggers to issue close events and clears stale pause holds only after confirming closed state. |
| .github/workflows/agents-auto-label.yml | Uses margin-based auto-apply and diverse suggestions to reduce false positives/over-labeling. |
| .github/workflows/agents-81-gate-followups.yml | Adds Cursor/Gemini execution paths and passes delegation metadata through workflow outputs. |
| .github/workflows/agents-71-codex-belt-dispatcher.yml | Stages retry helpers safely and adds rate-limit preflight gating for dispatcher actions. |
| .github/scripts/sync_tracker_state/index.js | Tightens consumer PR detection to require matching head repository as well as branch pattern. |
| .github/scripts/keepalive_loop.js | Integrates delegation-source reporting, route-weights loading, and runner availability gating into keepalive evaluation/summary. |
| .github/scripts/issue_format.py | Expands accepted “concrete target” detection (including lint commands) and improves validation diagnostics. |
| .github/scripts/github-api-with-retry.js | Enhances rate-limit checks with reserve/forecast logic and surfaces token pool identity when available. |
| .github/scripts/agent_delegation_policy.js | Adds optional Orchestrator route-weights-based agent selection with validation/time-bounds and consistent runner eligibility checks. |
Review details
- Files reviewed: 17/17 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Workflow state fingerprint for Agents Gate Followups. Do not edit. |
|
Maint 71 auto-resolved bot review thread(s) on manifest-synced content.
|
Automated sync from stranske/Workflows Template hash: 2306d085790a Changes synced from sync-manifest.yml Consumer-sync plan ID: sha256:2306d085790aac561411cab7869e2f7c674da5c48a9d15b79763c0648684fd72 Plan scope: full Scope base SHA: full Source commit: 8714fb96e5e6c4aa00e7d4285312ec299602d988 Canary evidence JSON (base64): eyJzY2hlbWEiOiJ3b3JrZmxvd3MuY29uc3VtZXItc3luYy1jYW5hcnktZXZpZGVuY2UvdjEiLCJ2ZXJzaW9uIjoxLCJyZXN1bHRzIjpbeyJyZXBvIjoic3RyYW5za2UvVHJhdmVsLVBsYW4tUGVybWlzc2lvbiIsInBsYW5faWQiOiJzaGEyNTY6MjMwNmQwODU3OTBhYWM1NjE0MTFjYWI3ODY5ZTJmN2M2NzRkYTVj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yjc5NzYzYzA2NDg2ODRmZDcyIiwicGxhbl9zY29wZSI6ImZ1bGwiLCJzY29wZV9iYXNlX3NoYSI6IiIsInNvdXJjZV9jb21taXQiOiI4NzE0ZmI5NmU1ZTZjNGFhMDBlN2Q0Mjg1MzEyZWMyOTk2MDJkOTg4IiwicHIiOjIyNzIsImhlYWRfc2hhIjoiODg3YzFmNTQ0YTNmMzliM2Q3OTM1ZThkZDI1NDVhYWFiMWM3ZjQ4NiIsImV2aWRlbmNlX3NvdXJjZSI6Im9wZW4tY2FuZGlkYXRlIiwicmVxdWlyZWRfY2hlY2tfc3RhdGUiOiJzdWNjZXNzIiwiYWN0aXZlX3Jldmlld190aHJlYWRfY291bnQiOjB9XX0=
c18f0e2 to
a8bd0f5
Compare
|
Closing this generated delivery as no longer current. |
Sync Summary
Files Updated
Files Skipped
Review Checklist
Source: stranske/Workflows
Source SHA:
8714fb96e5e6c4aa00e7d4285312ec299602d988Template hash:
2306d085790aConsumer-sync plan ID:
sha256:2306d085790aac561411cab7869e2f7c674da5c48a9d15b79763c0648684fd72Plan scope:
fullScope base SHA:
fullSync phase:
promoteSync branch:
sync/workflows-deliveryConsumer repo:
stranske/Counter_RiskManifest:
.github/sync-manifest.ymlautofix: false