Skip to content

chore: sync workflow templates#138

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

chore: sync workflow templates#138
stranske wants to merge 2 commits intomainfrom
sync/workflows-c38e38897b87

Conversation

@stranske
Copy link
Copy Markdown
Owner

Sync Summary

Files Updated

  • autofix.yml: Autofix workflow - automatically fixes lint/format issues
  • 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)
  • 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: c38e38897b87

Changes synced from sync-manifest.yml
Copilot AI review requested due to automatic review settings February 16, 2026 19:34
@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 #138. 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 #138 | 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/15 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. It introduces a centralized agent registry system, updates LLM dependency versions, and enhances the autofix workflow with early lint failure detection capabilities.

Changes:

  • Introduces centralized agent registry system (.github/agents/registry.yml and agent_registry.js) for managing agent configuration
  • Updates langchain dependencies to newer patch versions (1.2.9→1.2.10, 1.2.11→1.2.13, etc.)
  • Adds workflow_job trigger to autofix.yml for early lint failure detection
  • Removes black drift special-case handling from sync_dev_dependencies.py
  • Minor code formatting and whitespace cleanup in Python scripts
  • Removes CI test policy documentation from CLAUDE.md

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tools/requirements-llm.txt Updates langchain dependencies to newer patch versions
scripts/sync_dev_dependencies.py Removes black drift special-case handling and refactors control flow
scripts/langchain/progress_reviewer.py Splits f-strings for alignment summary messages
scripts/langchain/pr_verifier.py Removes blank line after import
scripts/langchain/issue_optimizer.py Removes blank line after import
CLAUDE.md Removes CI test policy documentation section
.github/workflows/autofix.yml Adds workflow_job trigger support and refactors duplicate code into helper functions
.github/workflows/agents-autofix-loop.yml Integrates agent registry for agent type resolution
.github/scripts/keepalive_loop.js Integrates agent registry with fallback to label parsing
.github/scripts/agent_registry.js New file providing centralized agent configuration management
.github/agents/registry.yml New file defining agent configurations including codex agent

Comment on lines 436 to +445
print(f"{'Applied' if args.apply else 'Found'} {len(changes)} version updates:")
for change in changes:
print(f" - {change}")

if args.check:
print("\nRun with --apply to update dependency files")
return 1

print("\n✓ Dependency files updated")
return 0
else:
print("\n✓ Dependency files updated")
return 0
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 removal of the _is_black_drift function and its special handling may cause the test test_sync_dev_dependencies_exits_nonzero_on_black_drift to fail. The test expects output containing "drift", "mismatch", "out of sync", or "formatting" when there's a black version discrepancy, but the removed code at lines 436-442 specifically handled this case by printing "Error: Black formatting pin drift detected (version mismatch/out of sync)." The generic version update output may not contain these keywords.

Copilot uses AI. Check for mistakes.
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 16, 2026

Choose a reason for hiding this comment

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

This change splits the f-string across two separate f-strings unnecessarily. The original f"Heuristic review: {len(aligned)}/{len(recent_commits)} commits appear aligned" is more readable and follows standard Python string formatting conventions. The split version f"Heuristic review: {len(aligned)}/" f"{len(recent_commits)} commits appear aligned" adds complexity without benefit.

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 16, 2026

Choose a reason for hiding this comment

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

This change splits the f-string across two separate f-strings unnecessarily. The original f"Heuristic: {len(aligned)}/{len(recent_commits)} commits aligned with criteria" is more readable and follows standard Python string formatting conventions. The split version adds complexity without benefit.

Suggested change
f"Heuristic: {len(aligned)}/" f"{len(recent_commits)} commits aligned with criteria"
f"Heuristic: {len(aligned)}/{len(recent_commits)} commits aligned with criteria"

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