Add repository organization and documentation agentic workflows#7781
Merged
Evangelink merged 3 commits intomainfrom Apr 23, 2026
Merged
Add repository organization and documentation agentic workflows#7781Evangelink merged 3 commits intomainfrom
Evangelink merged 3 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds two new agentic workflows intended to run on a schedule to improve issue organization and keep glossary/terminology docs current.
Changes:
- Add an “Issue Arborist” workflow to analyze recent open issues and create/link parent-child relationships.
- Add a “Glossary Maintainer” workflow to scan recent repo changes and open PRs updating glossary terms.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/issue-arborist.md |
New scheduled agentic workflow that pre-fetches issue data and instructs an agent to create/link parent-child issue relationships. |
.github/workflows/glossary-maintainer.md |
New scheduled agentic workflow that scans recent activity for new terminology and proposes glossary updates via PR. |
Copilot's findings
Comments suppressed due to low confidence (2)
.github/workflows/issue-arborist.md:136
- The instructions refer to
create_issue/link_sub_issueand show a JSON payload with{"type": ...}. However, the declared safe-outputs arecreate-issueandlink-sub-issue, and later thenoopexample uses a different invocation style ({"noop": {...}}). This mismatch is likely to cause the agent to call non-existent tools or use the wrong payload shape. Align the tool names and invocation format in the docs with the actual safe-output keys.
1. Create a parent issue using the `create_issue` tool with a temporary ID:
- Format: `{"type": "create_issue", "temporary_id": "aw_XXXXXXXX", "title": "[Parent] Theme Description", "body": "Description with references to related issues"}`
- Temporary ID must be `aw_` followed by 3-8 alphanumeric characters (e.g., `aw_abc123`, `aw_Test123`)
2. Link each related issue to the parent using `link_sub_issue` tool with the temporary ID:
- Format: `{"type": "link_sub_issue", "parent_issue_number": "aw_XXXXXXXX", "sub_issue_number": 123}`
.github/workflows/issue-arborist.md:26
tools.bashis declared as a list of strings with argument globs (e.g., "cat *"). Other agentic workflows in this repo declare bash astrueor as a list of command names (e.g.,["cat", "grep", ...]in.github/workflows/add-tests.md). If the workflow parser expects command names, the current form may prevent the agent from executingcat/jqat all. Consider switching to the same command-name list style (e.g.,bash: ["cat", "jq"]).
bash:
- "cat *"
- "jq *"
- Files reviewed: 2/2 changed files
- Comments generated: 3
Add two repo management workflows: - issue-arborist: Links related issues as parent-child to improve organization - glossary-maintainer: Maintains project glossary based on codebase changes
95994a2 to
92b006e
Compare
Contributor
There was a problem hiding this comment.
Copilot's findings
Comments suppressed due to low confidence (3)
.github/workflows/issue-arborist.md:27
tools.bashis using wildcard patterns (e.g., "cat *", "jq *"). Elsewhere in this repo, agentic workflows restrict bash via an explicit allowlist of command names (e.g.,cat,jq,git, ...). Please switch to a command-name allowlist to keep the bash tool constrained and consistent with the established security posture.
tools:
github:
lockdown: true
toolsets:
- issues
min-integrity: none
bash:
- "cat *"
- "jq *"
.github/workflows/issue-arborist.md:147
- The workflow instructions refer to
create_issue/link_sub_issuetool names, but the configured safe-outputs arecreate-issue/link-sub-issue. If the agent follows the written instructions it may emit tool calls that don't match the declared safe-outputs, causing the run to fail. Please align the instruction text/examples with the actual safe-output names used by this workflow.
**For orphan clusters (5+ related issues without a parent):**
1. Create a parent issue using the `create_issue` tool with a temporary ID:
- Format: `{"type": "create_issue", "temporary_id": "aw_XXXXXXXX", "title": "[Parent] Theme Description", "body": "Description with references to related issues"}`
- Temporary ID must be `aw_` followed by 3-8 alphanumeric characters (e.g., `aw_abc123`, `aw_Test123`)
2. Link each related issue to the parent using `link_sub_issue` tool with the temporary ID:
- Format: `{"type": "link_sub_issue", "parent_issue_number": "aw_XXXXXXXX", "sub_issue_number": 123}`
**For existing parent-child relationships:**
- Use the `link_sub_issue` tool with actual issue numbers to create the parent-child relationship
.github/workflows/glossary-maintainer.md:36
tools.bash: truegrants unrestricted shell access. In this repo, agentic workflows typically use a strict allowlist of specific commands forbash(see.github/workflows/add-tests.md). Please replacebash: truewith an allowlist containing only the commands this agent needs (e.g.,git,find,grep,cat, etc.).
tools:
cache-memory: true
github:
toolsets: [default]
edit:
bash: true
- Files reviewed: 2/2 changed files
- Comments generated: 2
added 2 commits
April 23, 2026 14:52
YuliiaKovalova
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Repository Organization & Documentation Agentic Workflows
This PR adds two workflows focused on repository organization and documentation maintenance.
Workflows Added
issue-arborist.mdglossary-maintainer.mdIssue Arborist 🌳
Glossary Maintainer
Part of the agentic workflows setup series.