Skip to content

chore: sync workflow templates#139

Closed
stranske wants to merge 2 commits intomainfrom
sync/workflows-7e563c99409c
Closed

chore: sync workflow templates#139
stranske wants to merge 2 commits intomainfrom
sync/workflows-7e563c99409c

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-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: 7e563c99409c

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

⚠️ Action Required: Unable to determine source issue for PR #139. 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 #139 | 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/20 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

Syncs workflow templates and related automation scripts from stranske/Workflows, primarily to generalize “Codex belt” automation to support registry-driven agent selection (agent labels, branch prefixes, runner workflows), and to update LLM/runtime pins used by workflow steps.

Changes:

  • Introduces an agent registry (.github/agents/registry.yml) and loader/helpers (.github/scripts/agent_registry.js) and wires workflows to use agent_key.
  • Expands automation workflows (autofix + belt dispatcher/worker/conveyor + auto-pilot) to accept/propagate agent_key and derive branch prefixes from the registry.
  • Updates workflow LLM dependency pins and minor formatting/cleanup in a few Python scripts/docs.

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tools/requirements-llm.txt Bumps pinned LangChain-related versions used by workflow LLM steps.
scripts/sync_dev_dependencies.py Removes Black-drift special-casing; minor control-flow tidy.
scripts/langchain/progress_reviewer.py Minor string formatting change (line wrapping).
scripts/langchain/pr_verifier.py Import whitespace cleanup.
scripts/langchain/issue_optimizer.py Import whitespace cleanup.
CLAUDE.md Removes the CI test policy section from the assistant context doc.
.github/workflows/autofix.yml Adds workflow_job trigger and refactors PR-context resolution/helpers for autofix.
.github/workflows/agents-autofix-loop.yml Adds agent registry awareness and gates Codex-only behavior.
.github/workflows/agents-auto-pilot.yml Labels/issues/dispatch now use registry-derived default agent + branch prefix.
.github/workflows/agents-71-codex-belt-dispatcher.yml Adds agent_key input/output and uses registry branch prefix.
.github/workflows/agents-72-codex-belt-worker.yml Propagates agent_key, adjusts concurrency/labels/step-branch naming.
.github/workflows/agents-72-codex-belt-worker-dispatch.yml Adds agent_key workflow_dispatch input and forwards it to the worker.
.github/workflows/agents-73-codex-belt-conveyor.yml Adds agent_key, updates concurrency + branch-prefix inference + re-dispatch inputs.
.github/scripts/keepalive_loop.js Resolves agent type via the registry helper when agent labels are present.
.github/scripts/agent_registry.js Adds minimal registry YAML parsing + agent resolution/config helpers.
.github/agents/registry.yml Adds initial registry config for codex (prefix, runner workflow, capabilities).

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 regex literal used in escapeRegex is missing the closing ] for the character class (/[.*+?^${}()|[\[\]\\]/g), which will throw a JavaScript syntax error and break the conveyor when it runs. Fix the regex to a valid escape-regex pattern (or reuse a known-good escapeRegExp helper) so the branch-prefix matching works.

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

Copilot uses AI. Check for mistakes.
Comment on lines +262 to 263
// Branch prefix validation is performed later after checkout (needs registry).

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.

This comment says branch prefix validation happens later after checkout, but there is no subsequent validation of the branch name/prefix in this workflow. Either add the intended validation step (e.g., using the registry-configured prefix) or update/remove this comment to avoid misleading future maintainers.

Suggested change
// Branch prefix validation is performed later after checkout (needs registry).

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-7e563c99409c 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