Skip to content

chore: sync workflow templates#141

Closed
stranske wants to merge 2 commits intomainfrom
sync/workflows-5462d1b66ece
Closed

chore: sync workflow templates#141
stranske wants to merge 2 commits intomainfrom
sync/workflows-5462d1b66ece

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: 5462d1b66ece

Changes synced from sync-manifest.yml
Copilot AI review requested due to automatic review settings February 16, 2026 22:57
@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 #141. The PR title, branch name, or body must contain the issue number (e.g. #123, branch: issue-123, or the hidden marker ).

@stranske-keepalive
Copy link
Copy Markdown
Contributor

stranske-keepalive bot commented Feb 16, 2026

🤖 Keepalive Loop Status

PR #141 | 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

Syncs workflow templates and supporting scripts from stranske/Workflows, with a notable addition of an agent registry mechanism (agent_key) that gets threaded through multiple automation workflows (belt dispatcher/worker/conveyor, verify-to-issue/new-pr, auto-pilot, keepalive/autofix).

Changes:

  • Introduces .github/agents/registry.yml and .github/scripts/agent_registry.js to centralize agent configuration and resolve agent routing from labels/inputs.
  • Updates multiple “belt” and verification workflows to accept/propagate agent_key, derive branch prefixes from the registry, and apply agent-specific labels (agent:*, from:*).
  • Enhances autofix.yml triggering (adds workflow_job) and refactors PR-file listing with rate-limit fallback; bumps LLM workflow dependency pins.

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
tools/requirements-llm.txt Updates pinned LLM/workflow runtime dependencies (langchain family).
scripts/sync_dev_dependencies.py Removes Black drift special-case and simplifies exit/print flow.
scripts/langchain/progress_reviewer.py Adjusts heuristic summary string formatting.
scripts/langchain/pr_verifier.py Removes an extra blank line in imports.
scripts/langchain/issue_optimizer.py Removes an extra blank line in imports.
CLAUDE.md Removes embedded CI test policy section from assistant context doc.
.github/workflows/autofix.yml Adds workflow_job trigger and refactors PR file listing + shared outputs.
.github/workflows/agents-verify-to-new-pr.yml Adds registry checkout + resolves agent labels for follow-up issues.
.github/workflows/agents-verify-to-issue.yml Updates user guidance to reference agent:* labels generically.
.github/workflows/agents-verify-to-issue-v2.yml Adds registry checkout + resolves agent labels for follow-up issues.
.github/workflows/agents-autofix-loop.yml Adds registry checkout and threads resolved agent_type into gating.
.github/workflows/agents-auto-pilot.yml Uses registry default agent and passes agent_key through dispatcher/worker dispatches.
.github/workflows/agents-73-codex-belt-conveyor.yml Adds agent_key input, agent-aware concurrency, and branch-prefix validation via registry.
.github/workflows/agents-72-codex-belt-worker.yml Adds agent_key plumbing; makes step branches derive from the issue branch; agent-aware labeling/assignees.
.github/workflows/agents-72-codex-belt-worker-dispatch.yml Adds agent_key input passthrough to the worker.
.github/workflows/agents-71-codex-belt-dispatcher.yml Adds agent_key input/output and resolves branch prefixes via registry.
.github/scripts/keepalive_loop.js Uses registry-based agent resolution with safer conflict handling.
.github/scripts/agent_registry.js New minimal YAML-backed agent registry loader/resolver for workflows.
.github/agents/registry.yml New agent registry source-of-truth (default agent, branch prefix, capabilities).

)
.write();
core.setOutput('issue', '');
core.setOutput('reason', 'empty');
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.

In the "no issue found" path, the step returns after setting only issue and reason, so steps.pick.outputs.agent_key (and thus the workflow_call output agent_key) remains empty even though this workflow accepts an inputs.agent_key and documents an agent_key output. Set core.setOutput('agent_key', agentKey) before returning so callers always receive the dispatched agent key (even when the queue is empty).

Suggested change
core.setOutput('reason', 'empty');
core.setOutput('reason', 'empty');
core.setOutput('agent_key', agentKey);

Copilot uses AI. Check for mistakes.
@github-actions github-actions bot added autofix Triggers autofix on PR autofix:patch labels 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-5462d1b66ece 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