Skip to content

[instructions] Add on.labels, comment-memory, allowed-base-branches#29473

Merged
pelikhan merged 1 commit intomainfrom
instructions/sync-missing-features-2026-05-01-2b53999858dec145
May 1, 2026
Merged

[instructions] Add on.labels, comment-memory, allowed-base-branches#29473
pelikhan merged 1 commit intomainfrom
instructions/sync-missing-features-2026-05-01-2b53999858dec145

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 1, 2026

Instructions Update - Sync Missing Features

This PR adds documentation for three features present in code and schema but missing from the agent instructions file.

Changes Made

  • on.labels: — New field to filter label-triggered events (pull_request_target with types: [labeled]). When configured, unmatched events show as Skipped (⊘) instead of Failed (❌), eliminating CI noise.
  • tools.comment-memory: — File-based persistent memory in managed issue/PR comments. Pre-agent setup extracts comment content to /tmp/gh-aw/comment-memory/*.md; agent edits files directly; processor upserts the managed comment after execution. Added full configuration reference and how-it-works description.
  • safe-outputs.create-pull-request.allowed-base-branches: — Allows agents to override the PR base branch per-run within configured glob patterns. Also accepts GitHub Actions expressions for workflow_call reuse.

Documentation Commits Reviewed

  • ca92916 — fix(mcp-cli-bridge): add stdin piping support for multiline tool arguments (includes 374 docs/ file changes, all ADRs and docs present in HEAD)

Validation

  • Followed prompting best practices (imperative mood, minimal examples)
  • Maintained technical tone and brevity
  • Updated only necessary sections
  • Verified accuracy against code (comment_memory.go, compiler_types.go, main_workflow_schema.json, ADR-28737, ADR-27479, ADR-29212)
  • No outdated or redundant content added

Generated by Instructions Janitor · ● 1M ·

  • expires on May 3, 2026, 8:39 AM UTC

Document three features present in code and schema but missing from the
agent instructions file:

- on.labels: filter label-triggered events (pull_request_target with
  types: [labeled]) to fire only when the triggering label matches;
  unmatched events show as Skipped rather than Failed
- tools.comment-memory: file-based persistent memory in managed issue/PR
  comments, with pre-agent extraction and post-execution sync
- safe-outputs.create-pull-request.allowed-base-branches: allow agents
  to override the base branch per-run within configured glob patterns;
  also accepts GitHub Actions expressions for workflow_call reuse

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added automation documentation Improvements or additions to documentation instructions labels May 1, 2026
@pelikhan pelikhan merged commit 646d724 into main May 1, 2026
@pelikhan pelikhan deleted the instructions/sync-missing-features-2026-05-01-2b53999858dec145 branch May 1, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation instructions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant