Skip to content

Commit fce6e22

Browse files
Copilotpelikhan
andauthored
address review: clarify sub-agent invocation, term criteria, and batch-read intent
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent b0df6b8 commit fce6e22

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/glossary-maintainer.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/glossary-maintainer.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Use Serena to:
134134

135135
### 1. Determine Scan Scope
136136

137-
The pre-step has already determined the scan scope. Read all context files in one step:
137+
The pre-step has already determined the scan scope. Read all context files in one step (the glossary is read here early for efficiency, so Step 4 can work with already-loaded content):
138138

139139
```bash
140140
cat /tmp/gh-aw/agent/scan-scope.txt \
@@ -161,7 +161,7 @@ Check your cache to avoid duplicate work:
161161

162162
### 3. Scan Recent Changes
163163

164-
Use the `discover-terms` sub-agent to identify new technical terms from the pre-fetched files. Pass it:
164+
Use the `discover-terms` sub-agent to identify new technical terms from the pre-fetched files. Invoke it by name and pass these file paths as context:
165165
- `/tmp/gh-aw/agent/scan-scope.txt`
166166
- `/tmp/gh-aw/agent/recent-commits.txt`
167167
- `/tmp/gh-aw/agent/doc-changes.txt`
@@ -309,4 +309,12 @@ Good luck! Your work helps users understand GitHub Agentic Workflows terminology
309309
model: claude-haiku-4.5
310310
description: Scans recent commits and doc changes to identify new technical terms
311311
---
312-
Read the provided commit log and doc-change files. Fetch diffs for at most 20 commits using get_commit. For each commit, identify new technical terms introduced in user-facing docs (docs/**/*.md, docs/**/*.mdx). Return a JSON array: [{"term": "...", "context": "...", "source": "commit:<SHA> or pr:<N>"}]. If no new terms, return [].
312+
Read the provided commit log and doc-change files. Fetch diffs for at most 20 commits using get_commit. For each commit, identify new technical terms introduced in user-facing docs (docs/**/*.md, docs/**/*.mdx). Look for:
313+
- New configuration fields in frontmatter (YAML keys)
314+
- New CLI commands or flags
315+
- New tool names or MCP servers
316+
- New concepts or features
317+
- Technical acronyms (MCP, CLI, YAML, etc.)
318+
- Specialized terminology (safe-outputs, frontmatter, engine, etc.)
319+
320+
Only include terms from `docs/**/*.{md,mdx}` files, not internal code or comments. Return a JSON array: [{"term": "...", "context": "...", "source": "commit:<SHA> or pr:<N>"}]. If no new terms, return [].

0 commit comments

Comments
 (0)