Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/aw/actions-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
"version": "v7.0.1",
"sha": "043fb46d1a93c77aae656e7c1c64a875d1fc6a0a"
},
"github/gh-aw-actions/setup@v0.71.5": {
"github/gh-aw-actions/setup@v0.72.1": {
"repo": "github/gh-aw-actions/setup",
"version": "v0.71.5",
"sha": "b8068426813005612b960b5ab0b8bd2c27142323"
"version": "v0.72.1",
"sha": "bc56a0cad2f450c562810785ef38649c04db812a"
},
"github/gh-aw/actions/setup@v0.71.5": {
"github/gh-aw/actions/setup@v0.72.1": {
"repo": "github/gh-aw/actions/setup",
"version": "v0.71.5",
"sha": "19ac811a4a85389c33b15128e1d7b7d4507f814a"
"version": "v0.72.1",
"sha": "489dbab88cc78e35506b5ccbf08a4037166824ac"
}
}
}
83 changes: 58 additions & 25 deletions .github/workflows/cli-for-beginners-sync.lock.yml

Large diffs are not rendered by default.

83 changes: 58 additions & 25 deletions .github/workflows/codeowner-update.lock.yml

Large diffs are not rendered by default.

58 changes: 34 additions & 24 deletions .github/workflows/duplicate-resource-detector.lock.yml

Large diffs are not rendered by default.

81 changes: 57 additions & 24 deletions .github/workflows/learning-hub-updater.lock.yml

Large diffs are not rendered by default.

60 changes: 35 additions & 25 deletions .github/workflows/pr-duplicate-check.lock.yml

Large diffs are not rendered by default.

58 changes: 34 additions & 24 deletions .github/workflows/resource-staleness-report.lock.yml

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions .github/workflows/resource-staleness-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,26 @@ Based on today's date, classify each resource:
- **🟡 Aging** — last major change was **between 14 and 30 days ago**
- Resources changed within the last 14 days are **fresh** and should NOT be listed

### Deeper Review for the Oldest Stale Resources

After producing the age-based inventory, perform a **content review** of the **10 oldest stale resources**.

For each of those 10 resources:

Comment on lines +68 to +71
1. Read the current file contents (for hooks and skills, inspect the folder's primary instruction file and any bundled files that materially affect behavior).
2. Determine whether the resource is:
- **Materially stale** — guidance is outdated, incomplete in an important way, or references older patterns that should be replaced
- **Problematic** — guidance is misleading, harmful, overly broad, or likely to produce poor results even if it is not version-stale
- **Mostly current** — old by date, but still broadly aligned with current best practices
3. Identify the most important concrete issues. Focus on substantive problems, not minor wording nits.
4. Recommend what should be done next:
- **Immediate rework/removal**
- **Targeted refresh**
- **Minor modernization**
- **No urgent change needed**

Do **not** assume that old automatically means bad. The deeper review should separate truly risky resources from ones that are simply old.

### Output Format

Create an issue with the title: `📋 Resource Staleness Report`
Expand All @@ -87,6 +107,19 @@ Organize the issue body as follows:
| Resource | Type | Last Major Change | Days Ago |
|----------|------|-------------------|----------|
| `prompts/example.prompt.md` | Prompt | 2025-02-01 | 20 |

### Deep Review: 10 Oldest Stale Resources

| Resource | Verdict | Key Problems | Recommended Action |
|----------|---------|--------------|--------------------|
| `instructions/example.instructions.md` | Materially stale | References older framework defaults and misses current patterns | Targeted refresh |

### Priority Actions

1. Immediate rework/removal: `resource-a`, `resource-b`
2. Targeted refresh: `resource-c`, `resource-d`
3. Minor modernization: `resource-e`
4. No urgent change needed: `resource-f`
```

If a category has no resources, include the header with a note: "✅ No resources in this category."
Expand All @@ -98,6 +131,10 @@ Use `<details>` blocks to collapse sections with more than 15 entries.
- Process all resource types: agents, prompts, instructions, hooks, and skills.
- For **hooks** and **skills**, treat the entire folder as one resource. Report it by folder name and use the most recent change date of any file within.
- Sort tables by "Days Ago" descending (oldest first).
- After building the stale table, inspect the **10 oldest stale resources** in more depth and include the deeper review section.
- In the deeper review, prefer **high-signal issues**: outdated version assumptions, deprecated APIs, misleading instructions, harmful heuristics, unsafe defaults, or instructions that are scoped too broadly.
- If a resource is old but still sound, explicitly say so. The goal is to prioritize maintenance work, not just restate age.
- Keep the deeper review concise but specific. Each row should explain the main problem and the best next step.
- If there are no stale or aging resources at all, call the `noop` safe output with the message: "All resources have been updated within the last 14 days. No staleness report needed."
- Do not include fresh resources in the tables — only mention the count in the summary.
- Use the `create-issue` safe output to file the report. Previous reports will be automatically closed.
Loading