Skip to content

[agents] Refine review skill wiki-state handling (#147)#174

Merged
coisa merged 5 commits intomainfrom
codex/review-skill-wiki-pointer-context
Apr 23, 2026
Merged

[agents] Refine review skill wiki-state handling (#147)#174
coisa merged 5 commits intomainfrom
codex/review-skill-wiki-pointer-context

Conversation

@coisa
Copy link
Copy Markdown
Contributor

@coisa coisa commented Apr 23, 2026

Related Issue

Motivation / Context

The rigorous pull-request review skill was correctly treating .github/wiki as a high-signal surface, but it could still misread workflow-managed wiki pointer updates as unrelated drift. We also tripped over follow-up work trying to reuse historical branch and PR state after earlier branches had already been deleted. This follow-up teaches the agents to distinguish expected wiki automation state from genuine scope creep and to prefer a new bug issue plus fresh branch/PR when prior work is already closed.

Changes

  • teach pull-request-review to verify wiki preview and wiki maintenance workflow context before flagging .github/wiki pointer movement as drift
  • update the surface-priority reference with the repository-specific wiki automation nuance
  • align review-guardian with the same rule
  • teach github-pull-request and issue-implementer to check whether earlier PRs are already closed before reusing historical branch names
  • prefer a fresh follow-up bug issue and new branch/PR when prior work already landed on a closed PR or deleted branch
  • update the changelog entry to reflect both agent-skill refinements

Verification

  • composer dev-tools changelog:check
  • git diff --check

Documentation / Generated Output

  • updated packaged review-skill guidance
  • updated project-agent prompt guidance
  • updated packaged pull-request workflow guidance
  • updated CHANGELOG.md

Changelog

Reviewer Notes

  • .github/wiki remains locally modified in the workspace but is intentionally not part of this PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 23, 2026

@coisa coisa merged commit e3b59c6 into main Apr 23, 2026
30 of 33 checks passed
@coisa coisa deleted the codex/review-skill-wiki-pointer-context branch April 23, 2026 16:50
@github-project-automation github-project-automation Bot moved this from Backlog to Released in PHP Fast Forward Project Apr 23, 2026
github-actions Bot added a commit that referenced this pull request Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Released

Development

Successfully merging this pull request may close these issues.

1 participant