feat: daily agentic workflow that runs rig to summarize files and post an issue#145
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Added |
|
…flow Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Added |
|
@copilot make it a single file - all in the markdown of the AW. Review copilot-sdk frontmatter syntax |
…ate sample Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done. The rig program is now embedded directly in Regarding frontmatter syntax: Commit: refactor: consolidate rig program inline in AW markdown; remove separate sample |
… block Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done. The workflow now:
The agent loads the rig SKILL.md as context, runs Commit: |
| Install dependencies, run the rig program below, and post a `create-issue` safe output | ||
| with the results. | ||
|
|
||
| ```bash | ||
| npm install 2>&1 | ||
| ``` |
There was a problem hiding this comment.
@copilot not needed , instead say "Run this rig"
There was a problem hiding this comment.
Replaced the verbose instruction block and npm install bash step with "Run this rig". Lock file recompiled — 0 errors, 0 warnings.
| engine: copilot | ||
| features: | ||
| copilot-sdk: true |
There was a problem hiding this comment.
@copilot copilot-sdk is a child field of engine
There was a problem hiding this comment.
Moved copilot-sdk: true to a child field of engine: — now engine:\n id: copilot\n copilot-sdk: true. Lock recompiled — 0 errors (1 expected experimental-feature warning).
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Adds a daily agentic workflow that drives rig (Copilot SDK) to summarize TypeScript source files — first individually via a subagent, then globally — and posts the result as a GitHub issue.
Changes
skills/rig/samples/140-file-summarizer.md— new rig sample with two chained agents:summarizeFile(mini) reads one file viap.readInput("path")and returns a 1–2 sentence summaryprojectSummarizer(small) discovers.tsfiles withp.bash(...), fans out tosummarizeFileper file, then synthesizes aglobalSummary.github/workflows/daily-rig-file-summarizer.md— copilot agentic workflow (strict: true,schedule: daily) that:npm installthennode skills/rig/rig.ts skills/rig/samples/140-file-summarizer.mdcreate-issuesafe output with per-file summary table + global summary; closes the previous day's issue automatically viaclose-older-issues: true.github/workflows/daily-rig-file-summarizer.lock.yml— compiled lock file (generated bygh aw compile)