Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
218c4c7
Initial plan
Copilot Sep 11, 2025
70264fa
Implement TypeScript/Node.js MCP server for safe-outputs with compreh…
Copilot Sep 11, 2025
c83c4f1
Fix nil pointer dereference in MCP config generation and deprecated i…
Copilot Sep 11, 2025
7fa5c48
Refactor hasSafeOutputsEnabled to common helper in safe_outputs.go
Copilot Sep 11, 2025
3f3f2f0
Refactor codex engine to use common HasSafeOutputsEnabled helper
Copilot Sep 11, 2025
b2a3f2d
Keep MCP SDK version at v0.2.0 for compatibility
Copilot Sep 11, 2025
049e701
Revert last commit to restore Go MCP SDK v0.4.0 and fix deprecation w…
Copilot Sep 11, 2025
22ada79
Add comprehensive MCP TypeScript SDK integration test for safe-outputs
Copilot Sep 11, 2025
1dc99d0
Move @modelcontextprotocol/sdk to devDependencies
Copilot Sep 11, 2025
8b2954a
Merge branch 'main' of https://github.com/githubnext/gh-aw into copil…
Copilot Sep 12, 2025
502daaf
Merge origin/main and update MCP server to use latest TypeScript safe…
Copilot Sep 12, 2025
c285226
Merge branch 'main' into copilot/fix-dab7400a-14d1-4802-81ec-ee5946e7…
pelikhan Sep 12, 2025
82acf43
Merge branch 'main' into copilot/fix-dab7400a-14d1-4802-81ec-ee5946e7…
Copilot Sep 12, 2025
c256b32
Merge origin/main to incorporate latest changes and updates
Copilot Sep 12, 2025
f5094d8
Add MCP server to TypeScript validation in tsconfig.json and fix erro…
Copilot Sep 12, 2025
917ed86
Add task job condition barrier to multiple workflows and refactor saf…
pelikhan Sep 12, 2025
5f0dbfb
Refactor MCP setup to use consistent naming for safe outputs and upda…
pelikhan Sep 12, 2025
b2f8bcb
compress server implementation
pelikhan Sep 12, 2025
771b913
Refactor missing tool safe output generation to use GitHub Actions sc…
pelikhan Sep 12, 2025
080276a
Refactor workflow documentation to clarify output handling
pelikhan Sep 12, 2025
661fa27
Remove unnecessary task job dependencies from multiple workflow files
pelikhan Sep 12, 2025
c784ad7
Update workflow instructions to utilize safe-outputs tools
pelikhan Sep 12, 2025
e03a467
Merge remote-tracking branch 'origin/main' into copilot/fix-dab7400a-…
pelikhan Sep 12, 2025
5c984c6
Update server path in safe output client and workflow documentation
pelikhan Sep 12, 2025
c46c9b3
Update server path in missing tool script to use temporary directory
pelikhan Sep 12, 2025
9d651ce
Refactor environment variable access in safe output client and workfl…
pelikhan Sep 12, 2025
2289ef5
Replace console.debug with console.error for improved error logging i…
pelikhan Sep 12, 2025
c672fb5
Add environment variable configuration for Safe Outputs in workflow f…
pelikhan Sep 12, 2025
a577dc2
Refactor Safe Outputs setup in workflow files to use environment vari…
pelikhan Sep 12, 2025
d36652c
Refactor safe outputs server scripts to normalize tool names and impr…
pelikhan Sep 12, 2025
d0a50e0
Refactor tool name normalization to use underscores instead of hyphen…
pelikhan Sep 12, 2025
1b3ef16
Add file existence checks and error messages for agent output in work…
pelikhan Sep 12, 2025
1a6707b
Refactor tool name normalization to use underscores instead of hyphen…
pelikhan Sep 12, 2025
eca47ce
Refactor tool name handling and improve output formatting
pelikhan Sep 12, 2025
4802af3
Enhance logging for tool enablement and configuration details in safe…
pelikhan Sep 12, 2025
724b2b3
Refactor isToolEnabled function to remove unnecessary logging and sim…
pelikhan Sep 12, 2025
514f862
Refactor add-issue-label safe output generation to use GitHub Script …
pelikhan Sep 12, 2025
dc3f217
Add GitHub Actions workflow to test safe output for missing tools
pelikhan Sep 13, 2025
986d5a0
Fix JavaScript tests and mocks for MCP server updates
Copilot Sep 13, 2025
cc44f03
Refactor MCP client and server code for improved error handling and c…
pelikhan Sep 13, 2025
40fe149
Refactor error handling in workflow files to remove unnecessary loggi…
pelikhan Sep 13, 2025
d980a65
Refactor MCP SDK tests and server output to improve clarity and consi…
pelikhan Sep 13, 2025
1162c0c
Enhance input validation and response handling in MCP server and tests
pelikhan Sep 13, 2025
f779c28
Remove tests for missing and invalid JSON configuration in safe_outpu…
pelikhan Sep 13, 2025
5df64ca
Refactor output validation in tests to use NDJSON parsing helper for …
pelikhan Sep 13, 2025
de1e836
Refactor input validation and error handling in workflow files for im…
pelikhan Sep 13, 2025
8f21829
Enhance missing-tool workflow with Claude engine integration and impr…
pelikhan Sep 13, 2025
a5c4b27
Fix path for safe outputs in workflow configurations and engine files
pelikhan Sep 13, 2025
4f51dca
Add environment variables for safe outputs in workflow configurations
pelikhan Sep 13, 2025
032bdb6
Add environment variables for safe outputs in MCP config generation
pelikhan Sep 13, 2025
b47fb36
Fix formatting for safe outputs in workflow configurations and Claude…
pelikhan Sep 13, 2025
2c06c53
Remove unused workflow_run trigger from missing-tool safe output test
pelikhan Sep 13, 2025
42edcfd
Replace RenderMCPConfig bash heredocs with JavaScript actions/github-…
Copilot Sep 13, 2025
bf7e0a3
Use actions/github-script for MCP configuration generation instead of…
Copilot Sep 13, 2025
6106020
Revert last 2 commits: JavaScript actions/github-script MCP config ge…
Copilot Sep 13, 2025
a5f2b4f
Use Anthropic environment variable syntax in MCP configuration
Copilot Sep 13, 2025
e1517a3
Add GITHUB_AW_SAFE_OUTPUTS_CONFIG to claude_env in Claude engine
Copilot Sep 13, 2025
c52efbd
Add DEBUG environment variable and push trigger to missing-tool workflow
Copilot Sep 13, 2025
3756d3d
Add MCP debugging environment variables to Claude engine configuration
Copilot Sep 13, 2025
c99eb2a
Remove DEBUG: claude:mcp:* environment variable entries
Copilot Sep 13, 2025
7f7b516
Add --mcp-debug flag support to Claude engine instead of environment …
Copilot Sep 13, 2025
93b5b22
Add built-in MCP support to mcp-inspect and create safe-outputs local…
Copilot Sep 14, 2025
6b362f7
Merge remote-tracking branch 'origin/main' into copilot/fix-dab7400a-…
pelikhan Sep 14, 2025
cff64dc
rebuild
pelikhan Sep 14, 2025
c527b02
Merge branch 'main' into copilot/fix-dab7400a-14d1-4802-81ec-ee5946e7…
pelikhan Sep 14, 2025
1604608
Merge branch 'main' into copilot/fix-dab7400a-14d1-4802-81ec-ee5946e7…
pelikhan Sep 14, 2025
4bc2b0b
Merge origin/main with CLI integration and conflict resolution
Copilot Sep 15, 2025
f0f6088
Merge origin/main and fix safe-outputs MCP configuration
Copilot Sep 15, 2025
b0093c5
Remove test-safe-output-missing-tool-claude workflow files and fix ni…
Copilot Sep 15, 2025
7b5227a
fix env vars
dsyme Sep 15, 2025
15545d6
Merge remote-tracking branch 'origin/main' into copilot/fix-dab7400a-…
pelikhan Sep 15, 2025
d3a6b0e
fix clause safe-output mcp
pelikhan Sep 15, 2025
b98fabe
Refactor MCP server configuration to consistently include safe_output…
pelikhan Sep 15, 2025
782f2ae
Update MCP server environment variables to use context-aware syntax
pelikhan Sep 15, 2025
0004fe0
fix: update GITHUB_AW_SAFE_OUTPUTS_CONFIG to use toJSON for better co…
pelikhan Sep 15, 2025
c183a95
fix: update GITHUB_AW_SAFE_OUTPUTS_CONFIG to use toJSON syntax for co…
pelikhan Sep 15, 2025
68abb6e
fix: update GITHUB_AW_SAFE_OUTPUTS_CONFIG to use toJSON syntax for co…
pelikhan Sep 15, 2025
a5eb42f
fix: add debug logging for safe outputs MCP server to improve error t…
pelikhan Sep 15, 2025
fcc6818
fix: refactor message handling to use newline protocol for safe outpu…
pelikhan Sep 15, 2025
cbc0bed
fix: update message handling to improve logging and null checks acros…
pelikhan Sep 15, 2025
6e9d256
fix: refactor defaultHandler to remove async and improve error handli…
pelikhan Sep 15, 2025
c39a738
Merge remote-tracking branch 'origin/main' into copilot/fix-dab7400a-…
pelikhan Sep 15, 2025
83855d5
fix: add debug logging to ignore notification methods in message hand…
pelikhan Sep 15, 2025
168957a
fix: improve error handling in replyError function to conditionally i…
pelikhan Sep 15, 2025
4f53066
fix: enhance debug logging and error handling in JSON-RPC message pro…
pelikhan Sep 15, 2025
1bbe7ea
fix: update notification regex to match 'notifications/' in multiple …
pelikhan Sep 15, 2025
98948ec
fix: enhance missing tools reporting with structured summaries and im…
pelikhan Sep 15, 2025
c9a8ae7
Merge branch 'main' into copilot/fix-dab7400a-14d1-4802-81ec-ee5946e7…
pelikhan Sep 15, 2025
1e57d70
fix: update test expectations to match current MCP server implementation
Copilot Sep 15, 2025
aafcdc9
Merge branch 'main' into copilot/fix-dab7400a-14d1-4802-81ec-ee5946e7…
pelikhan Sep 15, 2025
7b94ba7
format
pelikhan Sep 15, 2025
bd0f9e9
refactor: remove obsolete test file for safe_outputs_mcp_server
pelikhan Sep 15, 2025
5516831
Merge branch 'main' into copilot/fix-dab7400a-14d1-4802-81ec-ee5946e7…
pelikhan Sep 15, 2025
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
482 changes: 445 additions & 37 deletions .github/workflows/ci-doctor.lock.yml

Large diffs are not rendered by default.

561 changes: 467 additions & 94 deletions .github/workflows/dev.lock.yml

Large diffs are not rendered by default.

20 changes: 1 addition & 19 deletions .github/workflows/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,7 @@ safe-outputs:
engine:
id: claude
max-turns: 5
tools:
cache-memory: true
playwright:
allowed_domains: ["github.com", "*.github.com"]
permissions: read-all
concurrency:
group: "gh-aw-${{ github.workflow }}-${{ github.ref }}"
---

Before starting, read the entire memory graph and print it to the output as "My past poems..."

Then:

Write a short poem.
- check if this poem is already in memory
- if already in memory, generate a new poem

Before returning the poem:
- store generated poem in memory

<!-- This workflow tests the integration with the Claude AI engine.
Meant as a scratchpad in pull requests. -->
Try to call a tool, `draw_pelican` that draws a pelican.
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/fsnotify/fsnotify v1.9.0
github.com/goccy/go-yaml v1.18.0
github.com/mattn/go-isatty v0.0.20
github.com/modelcontextprotocol/go-sdk v0.2.0
github.com/modelcontextprotocol/go-sdk v0.4.0
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2
github.com/sourcegraph/conc v0.3.0
github.com/spf13/cobra v1.9.1
Expand All @@ -24,6 +24,7 @@ require (
github.com/charmbracelet/x/term v0.2.1 // indirect
github.com/cli/safeexec v1.0.1 // indirect
github.com/fatih/color v1.7.0 // indirect
github.com/google/jsonschema-go v0.2.1-0.20250825175020-748c325cec76 // indirect
github.com/henvic/httpretty v0.1.4 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ github.com/goccy/go-yaml v1.18.0 h1:8W7wMFS12Pcas7KU+VVkaiCng+kG8QiFeFwzFb+rwuw=
github.com/goccy/go-yaml v1.18.0/go.mod h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/google/jsonschema-go v0.2.1-0.20250825175020-748c325cec76 h1:mBlBwtDebdDYr+zdop8N62a44g+Nbv7o2KjWyS1deR4=
github.com/google/jsonschema-go v0.2.1-0.20250825175020-748c325cec76/go.mod h1:r5quNTdLOYEz95Ru18zA0ydNbBuYoo9tgaYcxEYhJVE=
github.com/henvic/httpretty v0.1.4 h1:Jo7uwIRWVFxkqOnErcoYfH90o3ddQyVrSANeS4cxYmU=
github.com/henvic/httpretty v0.1.4/go.mod h1:Dn60sQTZfbt2dYsdUSNsCljyF4AfdqnuJFDLJA1I4AM=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
Expand All @@ -47,8 +49,8 @@ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWE
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc=
github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
github.com/modelcontextprotocol/go-sdk v0.2.0 h1:PESNYOmyM1c369tRkzXLY5hHrazj8x9CY1Xu0fLCryM=
github.com/modelcontextprotocol/go-sdk v0.2.0/go.mod h1:0sL9zUKKs2FTTkeCCVnKqbLJTw5TScefPAzojjU459E=
github.com/modelcontextprotocol/go-sdk v0.4.0 h1:RJ6kFlneHqzTKPzlQqiunrz9nbudSZcYLmLHLsokfoU=
github.com/modelcontextprotocol/go-sdk v0.4.0/go.mod h1:whv0wHnsTphwq7CTiKYHkLtwLC06WMoY2KpO+RB9yXQ=
github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s=
github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8=
github.com/muesli/termenv v0.16.0 h1:S5AlUN9dENB57rsbnkPyfdGuWIlkmzJjbFf0Tf5FWUc=
Expand Down
Loading