Skip to content

fix: remove PR instructions from update skills#392

Open
oz-for-oss[bot] wants to merge 2 commits intomainfrom
oz-agent/implement-issue-391
Open

fix: remove PR instructions from update skills#392
oz-for-oss[bot] wants to merge 2 commits intomainfrom
oz-agent/implement-issue-391

Conversation

@oz-for-oss
Copy link
Copy Markdown

@oz-for-oss oz-for-oss Bot commented Apr 27, 2026

Closes #391

Summary

  • Removed update-skill wording that told agents to reason in terms of opening PRs or tagging a specific reviewer.
  • Updated update-dedupe, update-pr-review, and update-triage final checks so agents commit local branch changes only and leave pull-request publication/reviewer assignment to the deterministic workflow.
  • Added current UTC date suffixes to the update branch names in those skills and matching Python entrypoints so repeated self-improvement runs use disambiguated branches.
  • Replaced "skip the PR" evidence-rule wording with "skip the update" where applicable.

Validation

  • env PYTHONPATH=.github/scripts /tmp/oz-for-oss-venv/bin/python -m unittest discover -s .github/scripts/tests (485 tests passed)

Notes

  • Reviewer assignment remains centralized in the existing self-improvement workflow config/ownership resolution path rather than hardcoded in skill text.

Co-Authored-By: Safia Abdalla <captainsafia@users.noreply.github.com>
Comment thread .agents/skills/update-dedupe/SKILL.md Outdated
Co-Authored-By: Oz <oz-agent@warp.dev>

Co-Authored-By: Safia Abdalla <captainsafia@users.noreply.github.com>
@captainsafia captainsafia marked this pull request as ready for review April 28, 2026 03:22
@oz-for-oss
Copy link
Copy Markdown
Author

oz-for-oss Bot commented Apr 28, 2026

@captainsafia

I'm starting a first review of this pull request.

You can follow along in the session on Warp.

I completed the review and posted feedback on this pull request.

Powered by Oz

Copy link
Copy Markdown
Author

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

Overview

This PR removes hardcoded PR/reviewer instructions from the update skills and changes the self-improvement update branches to date-stamped names, with matching entrypoint tests and documentation updates.

Concerns

  • Date-only branch names do not fully disambiguate same-day reruns across the update entrypoints. A second run on the same UTC date can collide with an existing remote branch and fail before existing-PR handling.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Powered by Oz



UPDATE_BRANCH = "oz-agent/update-dedupe"
UPDATE_BRANCH = f"oz-agent/update-dedupe-{datetime.now(UTC).date().isoformat()}"
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

⚠️ [IMPORTANT] The date-only branch suffix still collides for same-day reruns; if a scheduled/manual rerun produces another update before the existing branch is merged or deleted, git push origin <branch> can reject before _pr_exists_for_branch runs. Include a run/attempt component or fetch/update the existing branch before pushing, and apply the same fix to the other update scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: remove PR/review-request instructions from update skills

2 participants