Skip to content

chore: sync workflow templates#143

Closed
stranske wants to merge 2 commits intomainfrom
sync/workflows-2345dd5007c2
Closed

chore: sync workflow templates#143
stranske wants to merge 2 commits intomainfrom
sync/workflows-2345dd5007c2

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
  • followup_issue_generator.py: Follow-up issue generator - creates issues from verification feedback
  • llm_provider.py: LLM provider configuration - GitHub Models and OpenAI client setup
  • 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: 2345dd5007c2

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

⚠️ Action Required: Unable to determine source issue for PR #143. 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 17, 2026

🤖 Keepalive Loop Status

PR #143 | 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/25 complete
Timeout 45 min (default)
Timeout usage 3m elapsed (8%, 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 and scripts from the stranske/Workflows repository, introducing multi-agent support infrastructure and LangSmith observability enhancements. The changes enable routing different agent types (with codex as the default) and add trace tracking for LLM operations.

Changes:

  • Introduces agent registry system with .github/agents/registry.yml configuration and helper functions to enable multi-agent routing
  • Adds LangSmith trace extraction and URL generation to LLM operations for improved observability
  • Updates workflow triggers to include early lint failure detection via workflow_job events
  • Updates LangChain and related dependencies to newer patch versions

Reviewed changes

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

Show a summary per file
File Description
tools/requirements-llm.txt Updates langchain ecosystem packages to newer patch versions (1.2.9→1.2.10, 1.2.11→1.2.13, etc.)
tools/llm_provider.py Adds LangSmith metadata building, trace ID extraction, and trace URL derivation helpers
scripts/sync_dev_dependencies.py Removes black drift detection logic and simplifies control flow
scripts/langchain/progress_reviewer.py Minor string formatting adjustments (split f-strings)
scripts/langchain/pr_verifier.py Integrates LangSmith trace extraction; refactors metadata building to use centralized helper
scripts/langchain/issue_optimizer.py Removes extraneous blank line
scripts/langchain/followup_issue_generator.py Adds trace extraction and appends trace URLs to generated issues as HTML comments
CLAUDE.md Removes CI test policy documentation section
.github/workflows/autofix.yml Adds workflow_job trigger for early lint failures; refactors duplicate code into helper functions
.github/workflows/agents-verify-to-new-pr.yml Integrates agent registry to resolve agent key from PR labels
.github/workflows/agents-verify-to-issue.yml Updates instructional text to reference generic agent labels
.github/workflows/agents-verify-to-issue-v2.yml Integrates agent registry and applies resolved agent labels to follow-up issues
.github/workflows/agents-autofix-loop.yml Adds agent type detection and validates only codex is supported for autofix loop
.github/workflows/agents-auto-pilot.yml Loads default agent from registry and uses agent_key in dispatcher calls
.github/workflows/agents-73-codex-belt-conveyor.yml Adds agent_key input parameter; updates concurrency groups and branch validation for multi-agent support
.github/workflows/agents-72-codex-belt-worker.yml Adds agent_key parameter; updates label checks and step branch naming
.github/workflows/agents-72-codex-belt-worker-dispatch.yml Passes agent_key to worker workflow
.github/workflows/agents-71-codex-belt-dispatcher.yml Adds agent_key parameter; uses registry to resolve branch prefixes
.github/scripts/keepalive_loop.js Uses agent registry for routing; handles conflicts and unknown agents gracefully
.github/scripts/agent_registry.js New minimal YAML parser and agent registry loader with routing logic
.github/agents/registry.yml New agent configuration defining codex as default with branch prefix and capabilities

feedback_for_agent="Review your recent work against the acceptance criteria.",
summary=(
f"Heuristic review: {len(aligned)}/{len(recent_commits)} commits appear aligned"
f"Heuristic review: {len(aligned)}/" f"{len(recent_commits)} commits appear aligned"
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

Inconsistent string formatting: The f-string is split across two parts (f"{len(aligned)}/" f"{len(recent_commits)}") without any apparent reason. This is inconsistent with similar patterns in the same file (e.g., lines 473 and 499) which keep the entire expression in a single f-string. The split doesn't avoid any line-length issues and makes the code harder to read. Consider keeping it as f"{len(aligned)}/{len(recent_commits)} commits appear aligned" for consistency.

Suggested change
f"Heuristic review: {len(aligned)}/" f"{len(recent_commits)} commits appear aligned"
f"Heuristic review: {len(aligned)}/{len(recent_commits)} commits appear aligned"

Copilot uses AI. Check for mistakes.
feedback_for_agent="Work appears aligned. Continue toward task completion.",
summary=(
f"Heuristic: {len(aligned)}/{len(recent_commits)} commits aligned with criteria"
f"Heuristic: {len(aligned)}/" f"{len(recent_commits)} commits aligned with criteria"
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

Inconsistent string formatting: The f-string is split across two parts (f"{len(aligned)}/" f"{len(recent_commits)}") without any apparent reason. This is inconsistent with similar patterns in the same file (e.g., lines 473 and 499) which keep the entire expression in a single f-string. Consider keeping it as f"{len(aligned)}/{len(recent_commits)} commits aligned with criteria" for consistency.

Copilot uses AI. Check for mistakes.
@github-actions github-actions bot added the autofix Triggers autofix on PR label Feb 17, 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 stranske mentioned this pull request Feb 17, 2026
2 tasks
@stranske
Copy link
Copy Markdown
Owner Author

Superseded by newer sync PR #145

@stranske stranske closed this Feb 17, 2026
@stranske stranske deleted the sync/workflows-2345dd5007c2 branch February 17, 2026 05:38
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