Add shared Graft wrapper and daily repository intelligence workflow - #48881
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
Add shared Graft workflow and daily intelligence report
Add shared Graft wrapper and daily repository intelligence workflow
Jul 29, 2026
Copilot created this pull request from a session on behalf of
pelikhan
July 29, 2026 13:07
View session
pelikhan
marked this pull request as ready for review
July 29, 2026 13:08
Contributor
There was a problem hiding this comment.
Pull request overview
Adds reusable Graft code intelligence and a daily workflow that reports repository changes and blast radius.
Changes:
- Adds a read-only Graft MCP wrapper.
- Adds scheduled repository intelligence reporting.
- Adds the compiled GitHub Actions workflow.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/shared/mcp/graft.md |
Configures Graft graph generation and MCP tools. |
.github/workflows/daily-graft-intelligence.md |
Defines collection, analysis, and reporting behavior. |
.github/workflows/daily-graft-intelligence.lock.yml |
Compiled executable workflow. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/3 changed files
- Comments generated: 5
- Review effort level: Medium
Comment on lines
+18
to
+20
| - "${GITHUB_WORKSPACE}" | ||
| env: | ||
| GRAFT_DIR: "/tmp/gh-aw/graft" |
Comment on lines
+40
to
+45
| steps: | ||
| - name: Collect recent repository activity | ||
| run: | | ||
| set -euo pipefail | ||
| mkdir -p /tmp/gh-aw/agent | ||
| git log --since="24 hours ago" --date=iso-strict \ |
Comment on lines
+33
to
+35
| safe-outputs: | ||
| mentions: false | ||
| allowed-github-references: [] |
| --name-status > /tmp/gh-aw/agent/graft-recent-activity.txt || true | ||
| git log --since="24 hours ago" --name-only --pretty=format: \ | ||
| | sed '/^$/d' \ | ||
| | sort -u > /tmp/gh-aw/agent/graft-changed-files.txt || true |
| mkdir -p /tmp/gh-aw/agent | ||
| git log --since="24 hours ago" --date=iso-strict \ | ||
| --format='commit %H%nAuthor: %an <%ae>%nDate: %ad%nSubject: %s%n' \ | ||
| --name-status > /tmp/gh-aw/agent/graft-recent-activity.txt || true |
Contributor
|
🎉 This pull request is included in a new release. Release: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a reusable Graft integration for agentic workflows and a scheduled intelligence report built on top of it. The new workflow turns the last 24 hours of repository activity into codebase-aware findings instead of raw change logs.
Shared Graft component
.github/workflows/shared/mcp/graft.md/tmp/gh-aw/graftgraft_ask,graft_skeleton,graft_callers,graft_grep,graft_map,graft_checknpxDaily intelligence workflow
.github/workflows/daily-graft-intelligence.mdworkflow_dispatchnoopWorkflow behavior
permissions.copilot-requests: writeExample usage in a workflow: