Skip to content

chore: sync workflow templates#140

Closed
stranske wants to merge 2 commits intomainfrom
sync/workflows-69a32b2a4174
Closed

chore: sync workflow templates#140
stranske wants to merge 2 commits intomainfrom
sync/workflows-69a32b2a4174

Conversation

@stranske
Copy link
Copy Markdown
Owner

Sync Summary

Files Updated

  • autofix.yml: Autofix workflow - automatically fixes lint/format issues
  • agents-71-codex-belt-dispatcher.yml: Codex belt dispatcher - selects issues and creates codex/issue-N branches for agent work
  • agents-72-codex-belt-worker.yml: Codex belt worker - executes Codex agent on issues with full prompt and context
  • agents-72-codex-belt-worker-dispatch.yml: Codex belt worker dispatch wrapper - allows workflow_dispatch for the worker
  • agents-73-codex-belt-conveyor.yml: Codex belt conveyor - orchestrates belt worker execution and handles completion
  • agents-autofix-loop.yml: Autofix loop - dispatches Codex when autofix can't fix Gate failures (deprecated; replaced by agents-81-gate-followups.yml, removal no earlier than 2026-02-15)
  • agents-verify-to-issue.yml: Verify to issue v1 (DEPRECATED) - disabled workflow, replaced by v2
  • agents-verify-to-issue-v2.yml: Verify to issue v2 - creates follow-up issues from verification feedback with LLM curation (Phase 4E; deprecated for agents-80-pr-event-hub.yml, removal no earlier than 2026-02-15)
  • agents-verify-to-new-pr.yml: Verify to new PR - creates follow-up issue and triggers auto-pilot to prepare a new PR
  • agents-auto-pilot.yml: Auto-pilot - end-to-end automation orchestrator (format → optimize → agent → verify)
  • sync_dev_dependencies.py: Syncs dev dependency versions from autofix-versions.env to pyproject.toml
  • requirements-llm.txt: Pinned LLM dependencies - required by agents-auto-pilot.yml
  • registry.yml: Agent registry - source of truth for agent keys and runner workflow mapping
  • agent_registry.js: Agent registry helper - loads registry and resolves agent key from labels
  • keepalive_loop.js: Core keepalive loop logic
  • issue_optimizer.py: Issue optimizer - analyzes issues and suggests improvements
  • progress_reviewer.py: Progress reviewer - evaluates agent progress for keepalive rounds
  • pr_verifier.py: PR verifier - validates PR changes against acceptance criteria
  • CLAUDE.md: Context file for Claude/AI assistants

Files Skipped

  • pr-00-gate.yml: File exists and sync_mode is create_only
  • ci.yml: File exists and sync_mode is create_only
  • dependabot.yml: File exists and sync_mode is create_only
  • llm_slots.json: None

Review Checklist

  • CI passes with updated workflows
  • No repo-specific customizations were overwritten

Source: stranske/Workflows
Manifest: .github/sync-manifest.yml

Automated sync from stranske/Workflows
Template hash: 69a32b2a4174

Changes synced from sync-manifest.yml
Copilot AI review requested due to automatic review settings February 16, 2026 21:27
@stranske stranske added sync Automated sync from Workflows automated Automated sync from Workflows labels Feb 16, 2026
@agents-workflows-bot
Copy link
Copy Markdown
Contributor

⚠️ Action Required: Unable to determine source issue for PR #140. The PR title, branch name, or body must contain the issue number (e.g. #123, branch: issue-123, or the hidden marker ).

@agents-workflows-bot
Copy link
Copy Markdown
Contributor

agents-workflows-bot bot commented Feb 16, 2026

🤖 Keepalive Loop Status

PR #140 | Agent: Codex | Iteration 0/5

Current State

Metric Value
Iteration progress [----------] 0/5
Action wait (missing-agent-label)
Disposition skipped (transient)
Gate failure
Tasks 0/23 complete
Timeout 45 min (default)
Timeout usage 3m elapsed (9%, 42m remaining)
Keepalive ❌ disabled
Autofix ❌ disabled

🔍 Failure Classification

| Error type | infrastructure |
| Error category | resource |
| Suggested recovery | Confirm the referenced resource exists (repo, PR, branch, workflow, or file). |

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR syncs workflow templates, scripts, and dependencies from the stranske/Workflows repository. The main change introduces a centralized agent registry system that enables multi-agent support across workflow automation, replacing hardcoded 'codex' references with a configurable registry-based approach.

Changes:

  • Introduces new agent registry system (.github/agents/registry.yml and .github/scripts/agent_registry.js) for centralized agent configuration
  • Updates 11 workflow files to integrate with the agent registry, adding agent_key parameters throughout the workflow call chain
  • Updates langchain-related dependencies to newer versions (langchain 1.2.9→1.2.10, langchain-core 1.2.11→1.2.13, langchain-openai 1.1.7→1.1.9, langchain-anthropic 1.3.2→1.3.3)
  • Removes deprecated black drift detection from sync_dev_dependencies.py
  • Enhances autofix.yml with early lint failure detection via workflow_job trigger
  • Minor formatting and whitespace cleanup in Python scripts

Reviewed changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/agents/registry.yml New agent registry configuration defining codex agent with branch prefix, capabilities, and runner workflow
.github/scripts/agent_registry.js New agent registry helper module with YAML parser and agent resolution functions
tools/requirements-llm.txt Updated langchain dependency versions for workflow LLM steps
scripts/sync_dev_dependencies.py Removed black drift detection logic, simplified exit code handling
scripts/langchain/progress_reviewer.py F-string formatting changes (split for line-length compliance)
scripts/langchain/pr_verifier.py Removed blank line between import groups
scripts/langchain/issue_optimizer.py Removed blank line between import groups
CLAUDE.md Removed CI Test Policy documentation section
.github/workflows/autofix.yml Added workflow_job trigger for early lint failure detection, extracted helper functions, agent registry integration
.github/workflows/agents-verify-to-new-pr.yml Integrated agent registry to resolve agent from PR labels when creating follow-up issues
.github/workflows/agents-verify-to-issue.yml Updated documentation text to reference generic agent:* labels instead of hardcoded agent:codex
.github/workflows/agents-verify-to-issue-v2.yml Integrated agent registry, added dynamic agent label resolution for follow-up issues
.github/workflows/agents-autofix-loop.yml Added agent_type resolution via registry, added validation to only support codex agent for autofix loop
.github/workflows/agents-auto-pilot.yml Integrated agent registry to dynamically resolve default agent, pass agent_key to dispatcher
.github/workflows/agents-73-codex-belt-conveyor.yml Added agent_key parameter, dynamic concurrency groups, branch prefix resolution via registry
.github/workflows/agents-72-codex-belt-worker.yml Added agent_key parameter, removed hardcoded branch prefix, dynamic concurrency groups, conditional assignee logic
.github/workflows/agents-72-codex-belt-worker-dispatch.yml Added agent_key input parameter passthrough
.github/workflows/agents-71-codex-belt-dispatcher.yml Added agent_key parameter, dynamic branch prefix resolution, agent-specific label filtering
.github/scripts/keepalive_loop.js Integrated agent registry helper for resolving agent type from PR labels

core.warning(`Could not load agent registry; defaulting branch prefix: ${error.message}`);
}

const escapeRegex = (value) => String(value).replace(/[.*+?^${}()|[\[\]\\]/g, '\\$&');
Copy link

Copilot AI Feb 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The character class [\[\]\\] in the escapeRegex function is problematic. Inside a character class, the first [ after the opening bracket doesn't need to be escaped. The pattern should be /[.*+?^${}()|[\]\\]/g instead of /[.*+?^${}()|[\[\]\\]/g.

While this may work in practice due to how JavaScript handles malformed regex character classes, it's technically incorrect and could lead to unexpected behavior. The correct way to include [, ], and \ in a character class is [\]\\] (no need to escape the opening [ when it's the first character after [).

Suggested change
const escapeRegex = (value) => String(value).replace(/[.*+?^${}()|[\[\]\\]/g, '\\$&');
const escapeRegex = (value) => String(value).replace(/[.*+?^${}()|[\]\\]/g, '\\$&');

Copilot uses AI. Check for mistakes.
@github-actions github-actions bot added the autofix Triggers autofix on PR label Feb 16, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Autofix updated these files:

  • scripts/langchain/issue_optimizer.py
  • scripts/langchain/pr_verifier.py
  • tests/test_historical_update.py

@stranske
Copy link
Copy Markdown
Owner Author

Superseded by newer sync PR #143

@stranske stranske closed this Feb 17, 2026
@stranske stranske deleted the sync/workflows-69a32b2a4174 branch February 17, 2026 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autofix:escalated autofix:patch autofix Triggers autofix on PR automated Automated sync from Workflows sync Automated sync from Workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants