-
Notifications
You must be signed in to change notification settings - Fork 233
Update developer-docs-consolidator to write to scratchpad/dev.md #15055
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -68,7 +68,7 @@ Analyze markdown files in the specs directory, standardize their tone and format | |||||
|
|
||||||
| - **Repository**: ${{ github.repository }} | ||||||
| - **Specs Directory**: `scratchpad/` | ||||||
| - **Target File**: `.github/agents/developer.instructions.agent.md` | ||||||
| - **Target File**: `scratchpad/dev.md` | ||||||
| - **Cache Memory**: `/tmp/gh-aw/cache-memory/` | ||||||
|
|
||||||
| ## Phase 0: Setup and Configuration | ||||||
|
|
@@ -261,14 +261,9 @@ Place diagrams near the concepts they illustrate, with clear captions. | |||||
|
|
||||||
| ### 1. Design Consolidated Structure | ||||||
|
|
||||||
| Create a logical structure for `developer.instructions.md`: | ||||||
| Create a logical structure for `dev.md`: | ||||||
|
|
||||||
| ```markdown | ||||||
| --- | ||||||
| description: Developer Instructions for GitHub Agentic Workflows | ||||||
| applyTo: "**/*" | ||||||
| --- | ||||||
|
|
||||||
| # Developer Instructions | ||||||
|
|
||||||
| ## Overview | ||||||
|
|
@@ -302,10 +297,9 @@ For each topic: | |||||
|
|
||||||
| ### 3. Create the Consolidated File | ||||||
|
|
||||||
| **You have direct file editing capabilities** - Write the consolidated content directly to `.github/agents/developer.instructions.agent.md` using Serena's edit tools. | ||||||
| **You have direct file editing capabilities** - Write the consolidated content directly to `scratchpad/dev.md` using Serena's edit tools. | ||||||
|
|
||||||
| The file should: | ||||||
| - Start with frontmatter (description and applyTo) | ||||||
| - Have a clear structure with logical sections | ||||||
| - Use consistent technical tone throughout | ||||||
| - Include Mermaid diagrams for complex concepts | ||||||
|
|
@@ -322,7 +316,6 @@ The file should: | |||||
| ### 1. Validate Consolidated File | ||||||
|
|
||||||
| Check the generated file: | ||||||
| - ✅ Has proper frontmatter | ||||||
| - ✅ Markdown is valid | ||||||
| - ✅ Code blocks have language tags | ||||||
| - ✅ Mermaid diagrams render correctly | ||||||
|
|
@@ -368,7 +361,7 @@ Create a comprehensive report of what was done: | |||||
|
|
||||||
| ## Summary | ||||||
|
|
||||||
| Analyzed [N] markdown files in the specs directory, made [X] tone adjustments, added [Y] Mermaid diagrams, and consolidated content into `.github/agents/developer.instructions.agent.md`. | ||||||
| Analyzed [N] markdown files in the specs directory, made [X] tone adjustments, added [Y] Mermaid diagrams, and consolidated content into `scratchpad/dev.md`. | ||||||
|
||||||
| Analyzed [N] markdown files in the specs directory, made [X] tone adjustments, added [Y] Mermaid diagrams, and consolidated content into `scratchpad/dev.md`. | |
| Analyzed [N] markdown files in the `scratchpad/` directory, made [X] tone adjustments, added [Y] Mermaid diagrams, and consolidated content into `scratchpad/dev.md`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change updates the source workflow spec, but the compiled
.github/workflows/developer-docs-consolidator.lock.ymlmust also be regenerated and committed; otherwise the actual GitHub Actions workflow won’t reflect the new output path. Rungh aw compile developer-docs-consolidator(orgh aw compile) after updating the .md, per.github/aw/github-agentic-workflows.md.