Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
e1cf3a4
Initial plan
Copilot Mar 21, 2026
16cd7f5
Add builtin qmd documentation search tool support
Copilot Mar 21, 2026
abf31d6
Mark qmd tool as experimental with compiler warning
Copilot Mar 21, 2026
e09c697
Add per-collection checkout support to qmd tool
Copilot Mar 21, 2026
8e48ff6
Add searches sub-key and rename collections to checkouts in qmd config
Copilot Mar 21, 2026
ef071a0
Add cache-key field to qmd config for GitHub Actions cache support
Copilot Mar 21, 2026
1207c52
Add qmd reference documentation page and tools.md entry
Copilot Mar 21, 2026
0b53db3
Add actions/cache for qmd models directory in activation and agent jobs
Copilot Mar 21, 2026
13c5bfc
Rename docs to paths in QmdDocCollection, add context field, generate…
Copilot Mar 22, 2026
bae91d1
Remove all legacy backward-compat features from qmd (docs shorthand, …
Copilot Mar 22, 2026
a7c99a5
Use actions/cache/restore (read-only) for qmd models cache in agent job
Copilot Mar 22, 2026
a514cd6
Add named/issue-search support to QmdSearchEntry; add qmd config to s…
Copilot Mar 22, 2026
0214243
Fix @tobilu/qmd npm version: 0.0.16 → 2.0.1
Copilot Mar 22, 2026
7df829d
refactor: replace qmd shell steps with github-script + qmd JS SDK
Copilot Mar 22, 2026
658c7f6
test: add qmd_index.test.cjs covering all code paths + js-qmd-index C…
Copilot Mar 22, 2026
ee504c2
fix: add @actions/github to qmd npm install step
Copilot Mar 22, 2026
b999aea
fix: use dynamic import() for @actions/github in qmd_index.cjs
Copilot Mar 22, 2026
bc6e3a6
feat: move qmd indexing into a separate "indexing" job
Copilot Mar 22, 2026
ab98791
feat: always cache qmd index and add 60min timeout to indexing job
Copilot Mar 22, 2026
190c8fe
feat: add restore-keys to qmd index cache steps for cross-run reuse
Copilot Mar 22, 2026
a733a53
feat: add gpu and runs-on fields to QmdToolConfig
Copilot Mar 22, 2026
f556ca8
feat: add qmd MCP HTTP server start step with health probe in agent job
Copilot Mar 22, 2026
d8aba88
Remove qmd index cache restore from agent job; default indexing to ub…
Copilot Mar 22, 2026
38a173d
feat(qmd): also cache node-llama-cpp binaries in model cache steps
Copilot Mar 22, 2026
4dedc39
fix: remove qmd artifact, use exact cache key in agent job, fix npx s…
Copilot Mar 22, 2026
cda60c7
Split qmd models and node-llama-cpp into separate caches with arch-sp…
Copilot Mar 22, 2026
e960630
Fix qmd MCP server startup and add version to all cache keys
Copilot Mar 22, 2026
3ca35f9
fix: change DefaultQmdPort from 3002 to 37842 (less popular port)
Copilot Mar 22, 2026
9a53579
feat(dev.md): add label_command dev trigger, qmd for docs+issues, and…
Copilot Mar 22, 2026
d64d138
Add Node.js 24 setup step before qmd MCP server start in agent job
Copilot Mar 22, 2026
78c2733
fix: remove label_command from dev.md so workflow_dispatch requires n…
Copilot Mar 22, 2026
7ccf408
Add label_command back to dev.md (no workflow_dispatch inputs)
Copilot Mar 22, 2026
3549405
Merge remote-tracking branch 'origin/main' into copilot/add-qmd-suppo…
Copilot Mar 22, 2026
ca65494
fix: address review comments and remove mcp-scripts experimental warning
Copilot Mar 22, 2026
94f59da
Merge branch 'main' into copilot/add-qmd-support-for-collection
pelikhan Mar 22, 2026
628bf91
Merge branch 'main' into copilot/add-qmd-support-for-collection
pelikhan Mar 22, 2026
4d91ff0
initial plan
Copilot Mar 22, 2026
7aba33f
Remove qmd HTTP server script; configure qmd as gateway-managed conta…
Copilot Mar 22, 2026
285c3d7
fix: replace env_vars array with env object in qmd MCP config
Copilot Mar 23, 2026
307bbec
Merge remote-tracking branch 'origin/main' into copilot/add-qmd-suppo…
Copilot Mar 23, 2026
1606b63
chore: merge origin/main, rebuild, recompile, update golden files
Copilot Mar 23, 2026
c90147f
fix: add NO_COLOR=1 to qmd container env and guard-policies to qmd MC…
Copilot Mar 23, 2026
3af7267
Add CI=1 to qmd container env to suppress node-llama-cpp progress output
Copilot Mar 23, 2026
8a9cfee
fix: switch qmd MCP to HTTP transport to eliminate ANSI stdout corrup…
Copilot Mar 23, 2026
16290ab
fix: run qmd MCP server natively on VM instead of in Docker container
Copilot Mar 23, 2026
3c97bdc
Merge branch 'main' into copilot/add-qmd-support-for-collection
pelikhan Mar 23, 2026
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
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,37 @@ jobs:
- name: Run tests
run: cd actions/setup/js && npm test

js-qmd-index:
runs-on: ubuntu-latest
timeout-minutes: 10
needs: validate-yaml
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}-js-qmd-index
cancel-in-progress: true
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Node.js
id: setup-node
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
with:
node-version: "24"
cache: npm
cache-dependency-path: actions/setup/js/package-lock.json
- name: Report Node cache status
run: |
if [ "${{ steps.setup-node.outputs.cache-hit }}" == "true" ]; then
echo "✅ Node cache hit" >> $GITHUB_STEP_SUMMARY
else
echo "⚠️ Node cache miss" >> $GITHUB_STEP_SUMMARY
fi
- name: Install npm dependencies
run: cd actions/setup/js && npm ci
- name: Run qmd_index.cjs tests
run: cd actions/setup/js && npm test -- qmd_index.test.cjs

js-integration-live-api:
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down
260 changes: 252 additions & 8 deletions .github/workflows/dev.lock.yml

Large diffs are not rendered by default.

34 changes: 28 additions & 6 deletions .github/workflows/dev.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
on:
workflow_dispatch:
label_command: dev
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The label_command: dev trigger looks good — this enables the workflow to react to dev labels on issues, PRs, and discussions. Consider documenting the expected behavior when this label is applied to ensure contributors understand the automation.

schedule:
- cron: '0 9 * * *' # Daily at 9 AM UTC
name: Dev
Expand All @@ -14,6 +15,20 @@ permissions:
issues: read
pull-requests: read

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The qmd tool integration with both checkouts and searches is a powerful combination. The max: 500 for issues search is reasonable — ensure this doesn't cause timeouts on repos with many open issues. The github-token usage here is correct for accessing the GitHub API.

tools:
qmd:
checkouts:
- name: docs
paths:
- docs/src/**/*.md
- docs/src/**/*.mdx
context: "gh-aw project documentation"
searches:
- name: issues
type: issues
max: 500
github-token: ${{ secrets.GITHUB_TOKEN }}

safe-outputs:
create-issue:
expires: 7d
Expand All @@ -24,14 +39,21 @@ features:

# Daily Status Report

Generate a daily status report for the gh-aw project.
Generate a daily status report for the gh-aw project, focusing on documentation quality.

**Requirements:**
1. Analyze the current state of the repository
2. Check for recent commits, pull requests, and issues
3. Identify any potential issues or areas needing attention
4. Create a comprehensive daily status report
5. Post the report as an issue with the date in the title

1. **Find documentation problems reported in issues**: Use the `qmd` search tool to query the indexed issues collection for issues that mention documentation bugs, unclear instructions, missing documentation, or incorrect documentation. Look for patterns like "docs", "documentation", "unclear", "wrong", "missing", "broken", "outdated".

2. **Cross-reference with current documentation**: For each documentation problem found in issues, use the `qmd` search tool to query the indexed docs collection to find the relevant documentation section that the issue is referencing or that could answer the question raised.

3. **Compile a report** summarizing:
- Issues that report documentation problems (with issue numbers and titles)
- The corresponding documentation sections that may need updating
- Any issues where the documentation actually already contains the answer (and the issue could be closed with a pointer)
- Gaps where no documentation exists for a reported problem

4. Post the report as an issue with the date in the title.

Keep the report informative but concise.

Expand Down
143 changes: 141 additions & 2 deletions .github/workflows/smoke-codex.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .github/workflows/smoke-codex.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ tools:
languages:
go: {}
web-fetch:
qmd:
checkouts:
- name: docs
paths:
- docs/src/**/*.md
- docs/src/**/*.mdx
context: "gh-aw project documentation"
searches:
- name: issues
type: issues
max: 500
github-token: ${{ secrets.GITHUB_TOKEN }}
runtimes:
go:
version: "1.25"
Expand Down
Loading
Loading