diff --git a/.github/workflows/archie.lock.yml b/.github/workflows/archie.lock.yml index 374124d46a..2d04264edf 100644 --- a/.github/workflows/archie.lock.yml +++ b/.github/workflows/archie.lock.yml @@ -23,7 +23,11 @@ # # Generates Mermaid diagrams to visualize issue and pull request relationships when invoked with the /archie command # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"aafd7d30bf0dccade8d477ff7f03be6078b66cde589e505568c5d4310066f0e3"} +# Resolved workflow manifest: +# Imports: +# - shared/mcp/serena-go.md +# +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"47dec680d9e162f20708b2f4c2392459179d920a4198d550376cc3c73c6338d3"} name: "Archie" "on": @@ -183,6 +187,9 @@ jobs: GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/archie.md}} GH_AW_PROMPT_EOF } > "$GH_AW_PROMPT" diff --git a/.github/workflows/archie.md b/.github/workflows/archie.md index c87ff52eb1..cbd7f3d762 100644 --- a/.github/workflows/archie.md +++ b/.github/workflows/archie.md @@ -13,8 +13,9 @@ permissions: actions: read engine: copilot strict: true +imports: + - shared/mcp/serena-go.md tools: - serena: ["go"] github: toolsets: - default diff --git a/.github/workflows/cloclo.lock.yml b/.github/workflows/cloclo.lock.yml index 14e3147050..ccddf2a251 100644 --- a/.github/workflows/cloclo.lock.yml +++ b/.github/workflows/cloclo.lock.yml @@ -25,8 +25,9 @@ # Resolved workflow manifest: # Imports: # - shared/jqschema.md +# - shared/mcp/serena-go.md # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"0b8eaee22834d6b3e9e86eb0b40c98d401bcbc52de0305ceaaa385dd25a6cbd9"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"9c9cd0d4f68fbedcbb012f1b424efca362e2fe0307125aa2d86a6fac79f79152"} name: "/cloclo" "on": @@ -220,6 +221,9 @@ jobs: {{#runtime-import .github/workflows/shared/jqschema.md}} GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/cloclo.md}} GH_AW_PROMPT_EOF } > "$GH_AW_PROMPT" diff --git a/.github/workflows/cloclo.md b/.github/workflows/cloclo.md index db007afa67..6dd96d890e 100644 --- a/.github/workflows/cloclo.md +++ b/.github/workflows/cloclo.md @@ -19,9 +19,9 @@ engine: max-turns: 100 imports: - shared/jqschema.md + - shared/mcp/serena-go.md tools: agentic-workflows: - serena: ["go"] edit: playwright: bash: true diff --git a/.github/workflows/daily-compiler-quality.lock.yml b/.github/workflows/daily-compiler-quality.lock.yml index a176576a56..14faa10fd4 100644 --- a/.github/workflows/daily-compiler-quality.lock.yml +++ b/.github/workflows/daily-compiler-quality.lock.yml @@ -25,9 +25,10 @@ # # Resolved workflow manifest: # Imports: +# - shared/mcp/serena-go.md # - shared/reporting.md # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"91f3b0110588aca617b7e6aefb2ecab879c1289de471f373b4f5f34069680caf"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"109a17ec8c0c8ad3ad5991b31907360bf8423c6e5ebc705367d2497645b83732"} name: "Daily Compiler Quality Check" "on": @@ -148,6 +149,9 @@ jobs: GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/shared/reporting.md}} GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' diff --git a/.github/workflows/daily-compiler-quality.md b/.github/workflows/daily-compiler-quality.md index 37418212f9..5eb8230abf 100644 --- a/.github/workflows/daily-compiler-quality.md +++ b/.github/workflows/daily-compiler-quality.md @@ -10,8 +10,10 @@ permissions: pull-requests: read tracker-id: daily-compiler-quality engine: copilot +imports: + - shared/mcp/serena-go.md + - shared/reporting.md tools: - serena: ["go"] github: toolsets: - default @@ -31,8 +33,6 @@ safe-outputs: close-older-discussions: true timeout-minutes: 30 strict: true -imports: - - shared/reporting.md --- {{#runtime-import? .github/shared-instructions.md}} diff --git a/.github/workflows/daily-file-diet.lock.yml b/.github/workflows/daily-file-diet.lock.yml index 0028663ec5..5f78672860 100644 --- a/.github/workflows/daily-file-diet.lock.yml +++ b/.github/workflows/daily-file-diet.lock.yml @@ -25,10 +25,11 @@ # # Resolved workflow manifest: # Imports: +# - shared/mcp/serena-go.md # - shared/reporting.md # - shared/safe-output-app.md # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"c0409c152ec3e87335fed24573951a6c5fea4a8aa0fc40821b7022059b4e48ec"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"f91fe579a02080177458b5639a51ee1096b40f90b9f94529e142bda919d58dfb"} name: "Daily File Diet" "on": @@ -156,6 +157,9 @@ jobs: {{#runtime-import .github/workflows/shared/safe-output-app.md}} GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/daily-file-diet.md}} GH_AW_PROMPT_EOF } > "$GH_AW_PROMPT" diff --git a/.github/workflows/daily-file-diet.md b/.github/workflows/daily-file-diet.md index b573eaadfd..8466bf1ff1 100644 --- a/.github/workflows/daily-file-diet.md +++ b/.github/workflows/daily-file-diet.md @@ -18,6 +18,7 @@ engine: copilot imports: - shared/reporting.md - shared/safe-output-app.md + - shared/mcp/serena-go.md safe-outputs: create-issue: @@ -27,7 +28,6 @@ safe-outputs: max: 1 tools: - serena: ["go"] github: toolsets: [default] edit: diff --git a/.github/workflows/daily-testify-uber-super-expert.lock.yml b/.github/workflows/daily-testify-uber-super-expert.lock.yml index 61d93c2ff2..2db9bc141b 100644 --- a/.github/workflows/daily-testify-uber-super-expert.lock.yml +++ b/.github/workflows/daily-testify-uber-super-expert.lock.yml @@ -25,10 +25,11 @@ # # Resolved workflow manifest: # Imports: +# - shared/mcp/serena-go.md # - shared/reporting.md # - shared/safe-output-app.md # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"7d8e53e9fb651ca8ed59f03635300d5be979b8a42ffc4a3a78bce5e8d641bb6d"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"35a67822a3c4bc44363e37e6a1130fec1e278348b485c840d73f790acc49d82c"} name: "Daily Testify Uber Super Expert" "on": @@ -158,6 +159,9 @@ jobs: {{#runtime-import .github/workflows/shared/safe-output-app.md}} GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/daily-testify-uber-super-expert.md}} GH_AW_PROMPT_EOF } > "$GH_AW_PROMPT" diff --git a/.github/workflows/daily-testify-uber-super-expert.md b/.github/workflows/daily-testify-uber-super-expert.md index ab1de8a586..869f337c31 100644 --- a/.github/workflows/daily-testify-uber-super-expert.md +++ b/.github/workflows/daily-testify-uber-super-expert.md @@ -17,6 +17,7 @@ engine: copilot imports: - shared/reporting.md - shared/safe-output-app.md + - shared/mcp/serena-go.md safe-outputs: create-issue: @@ -26,7 +27,6 @@ safe-outputs: max: 1 tools: - serena: ["go"] repo-memory: branch-name: memory/testify-expert description: "Tracks processed test files to avoid duplicates" diff --git a/.github/workflows/developer-docs-consolidator.lock.yml b/.github/workflows/developer-docs-consolidator.lock.yml index 1cd0de05f9..ca52a0572b 100644 --- a/.github/workflows/developer-docs-consolidator.lock.yml +++ b/.github/workflows/developer-docs-consolidator.lock.yml @@ -25,9 +25,10 @@ # # Resolved workflow manifest: # Imports: +# - shared/mcp/serena-go.md # - shared/reporting.md # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"5fd7b9b55e4f886542078a40004e7935f30d07293fc177d5f36313141d9c1e39"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"fd13d49c5ea89ae0018ad18fa3283f32c323a71e7c28d56d74645be5ceeb85d4"} name: "Developer Documentation Consolidator" "on": @@ -154,6 +155,9 @@ jobs: {{#runtime-import .github/workflows/shared/reporting.md}} GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/developer-docs-consolidator.md}} GH_AW_PROMPT_EOF } > "$GH_AW_PROMPT" diff --git a/.github/workflows/developer-docs-consolidator.md b/.github/workflows/developer-docs-consolidator.md index d29c3a65d9..047d3d429d 100644 --- a/.github/workflows/developer-docs-consolidator.md +++ b/.github/workflows/developer-docs-consolidator.md @@ -33,7 +33,6 @@ safe-outputs: draft: false tools: - serena: ["go"] cache-memory: key: developer-docs-cache github: @@ -51,6 +50,7 @@ timeout-minutes: 30 imports: - shared/reporting.md + - shared/mcp/serena-go.md --- diff --git a/.github/workflows/duplicate-code-detector.lock.yml b/.github/workflows/duplicate-code-detector.lock.yml index b206f96878..2ab310f951 100644 --- a/.github/workflows/duplicate-code-detector.lock.yml +++ b/.github/workflows/duplicate-code-detector.lock.yml @@ -23,7 +23,11 @@ # # Identifies duplicate code patterns across the codebase and suggests refactoring opportunities # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"e13c6df501076c50e55eacfb19d3f2cf4d16f9764ec57af5993a2a7479148bbe"} +# Resolved workflow manifest: +# Imports: +# - shared/mcp/serena-go.md +# +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"fcd0677bc45a2e116662616286ca59ac108757b01a1588e6c83c767465fc9871"} name: "Duplicate Code Detector" "on": @@ -144,6 +148,9 @@ jobs: GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/duplicate-code-detector.md}} GH_AW_PROMPT_EOF } > "$GH_AW_PROMPT" diff --git a/.github/workflows/duplicate-code-detector.md b/.github/workflows/duplicate-code-detector.md index c485cf6f47..18b1ed16f3 100644 --- a/.github/workflows/duplicate-code-detector.md +++ b/.github/workflows/duplicate-code-detector.md @@ -9,8 +9,8 @@ permissions: issues: read pull-requests: read engine: codex -tools: - serena: ["go"] +imports: + - shared/mcp/serena-go.md safe-outputs: create-issue: expires: 2d diff --git a/.github/workflows/glossary-maintainer.lock.yml b/.github/workflows/glossary-maintainer.lock.yml index 0173c9179b..cc25177a04 100644 --- a/.github/workflows/glossary-maintainer.lock.yml +++ b/.github/workflows/glossary-maintainer.lock.yml @@ -27,8 +27,9 @@ # Imports: # - ../agents/technical-doc-writer.agent.md # - ../skills/documentation/SKILL.md +# - shared/mcp/serena-go.md # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"d2dbd57349dcb88bac2d2b508acf33e76616d86086e44554d7d6805c3b0887a0"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"08dcdc5b5ba8dec921cd60fdced8e0fdcdbefbc60f9e28ee4d9264e060d1d15b"} name: "Glossary Maintainer" "on": @@ -157,6 +158,9 @@ jobs: {{#runtime-import .github/agents/technical-doc-writer.agent.md}} GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/glossary-maintainer.md}} GH_AW_PROMPT_EOF } > "$GH_AW_PROMPT" diff --git a/.github/workflows/glossary-maintainer.md b/.github/workflows/glossary-maintainer.md index e58d6d1936..5b9118a1fb 100644 --- a/.github/workflows/glossary-maintainer.md +++ b/.github/workflows/glossary-maintainer.md @@ -25,6 +25,7 @@ network: imports: - ../skills/documentation/SKILL.md - ../agents/technical-doc-writer.agent.md + - shared/mcp/serena-go.md safe-outputs: create-pull-request: @@ -34,7 +35,6 @@ safe-outputs: draft: false tools: - serena: ["go"] cache-memory: true github: toolsets: [default] diff --git a/.github/workflows/go-fan.lock.yml b/.github/workflows/go-fan.lock.yml index 0c201e33bb..40d254b3c9 100644 --- a/.github/workflows/go-fan.lock.yml +++ b/.github/workflows/go-fan.lock.yml @@ -25,9 +25,10 @@ # # Resolved workflow manifest: # Imports: +# - shared/mcp/serena-go.md # - shared/reporting.md # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"fa0c09d4f2ffac81a922f2744cee945c89592c07438390697241858ea02a1841"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"3ca391548ba08c8a271413f4cf5a5ec319865e7da8f0a921a2d070743534688d"} name: "Go Fan" "on": @@ -150,6 +151,9 @@ jobs: {{#runtime-import .github/workflows/shared/reporting.md}} GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/go-fan.md}} GH_AW_PROMPT_EOF } > "$GH_AW_PROMPT" diff --git a/.github/workflows/go-fan.md b/.github/workflows/go-fan.md index 24fb45352a..841cef8fb0 100644 --- a/.github/workflows/go-fan.md +++ b/.github/workflows/go-fan.md @@ -24,6 +24,7 @@ network: imports: - shared/reporting.md + - shared/mcp/serena-go.md safe-outputs: create-discussion: @@ -34,7 +35,6 @@ safe-outputs: close-older-discussions: true tools: - serena: ["go"] cache-memory: true github: toolsets: [default] diff --git a/.github/workflows/mcp-inspector.lock.yml b/.github/workflows/mcp-inspector.lock.yml index 23b51efff4..7c847322be 100644 --- a/.github/workflows/mcp-inspector.lock.yml +++ b/.github/workflows/mcp-inspector.lock.yml @@ -36,12 +36,13 @@ # - shared/mcp/microsoft-docs.md # - shared/mcp/notion.md # - shared/mcp/sentry.md +# - shared/mcp/serena-go.md # - shared/mcp/server-memory.md # - shared/mcp/slack.md # - shared/mcp/tavily.md # - shared/reporting.md # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"e4a15d3009950212f8eb789320363a21a23e68ac8e264b69ddad8e403c4ceb18"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"a47d738441d992624473007ef6642d81da6062c254d4f043ac1438370a169ef4"} name: "MCP Inspector Agent" "on": @@ -207,6 +208,9 @@ jobs: {{#runtime-import .github/workflows/shared/reporting.md}} GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/mcp-inspector.md}} GH_AW_PROMPT_EOF } > "$GH_AW_PROMPT" diff --git a/.github/workflows/mcp-inspector.md b/.github/workflows/mcp-inspector.md index 6e60310c82..2cd3626ac1 100644 --- a/.github/workflows/mcp-inspector.md +++ b/.github/workflows/mcp-inspector.md @@ -43,9 +43,9 @@ imports: - shared/mcp/slack.md - shared/mcp/tavily.md - shared/reporting.md + - shared/mcp/serena-go.md tools: agentic-workflows: - serena: ["go"] edit: bash: true cache-memory: true diff --git a/.github/workflows/q.lock.yml b/.github/workflows/q.lock.yml index b59eefeb5c..91c9c0d5a9 100644 --- a/.github/workflows/q.lock.yml +++ b/.github/workflows/q.lock.yml @@ -23,7 +23,11 @@ # # Intelligent assistant that answers questions, analyzes repositories, and can create PRs for workflow optimizations # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"390a5b87bb8b3381e4de70dac11de15aa56ad7567daf9d1754ceed8bd56865c0"} +# Resolved workflow manifest: +# Imports: +# - shared/mcp/serena-go.md +# +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"3d877629b8dbdc70c876f0006e969ffbcbf171447cebd877f2cd15883e36b7ff"} name: "Q" "on": @@ -210,6 +214,9 @@ jobs: GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/q.md}} GH_AW_PROMPT_EOF } > "$GH_AW_PROMPT" diff --git a/.github/workflows/q.md b/.github/workflows/q.md index 9ee2deb8ef..70c88c3ec6 100644 --- a/.github/workflows/q.md +++ b/.github/workflows/q.md @@ -13,9 +13,10 @@ permissions: pull-requests: read discussions: read engine: copilot +imports: + - shared/mcp/serena-go.md tools: agentic-workflows: - serena: ["go"] github: toolsets: - default diff --git a/.github/workflows/repository-quality-improver.lock.yml b/.github/workflows/repository-quality-improver.lock.yml index 87da8ce96d..7ce3c658ad 100644 --- a/.github/workflows/repository-quality-improver.lock.yml +++ b/.github/workflows/repository-quality-improver.lock.yml @@ -25,9 +25,10 @@ # # Resolved workflow manifest: # Imports: +# - shared/mcp/serena-go.md # - shared/reporting.md # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"3d891b421e756ea93e07cf25858d1feb8afa3e2b540d5fce900b788fd7ea3d3a"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"6bb1a0d4a4a46eebdfbddfe915d6345a17575dd0489817be13e208c9921460da"} name: "Repository Quality Improvement Agent" "on": @@ -150,6 +151,9 @@ jobs: {{#runtime-import .github/workflows/shared/reporting.md}} GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/repository-quality-improver.md}} GH_AW_PROMPT_EOF } > "$GH_AW_PROMPT" diff --git a/.github/workflows/repository-quality-improver.md b/.github/workflows/repository-quality-improver.md index 614209a75d..dd2f3258d9 100644 --- a/.github/workflows/repository-quality-improver.md +++ b/.github/workflows/repository-quality-improver.md @@ -10,8 +10,10 @@ permissions: issues: read pull-requests: read engine: copilot +imports: + - shared/reporting.md + - shared/mcp/serena-go.md tools: - serena: ["go"] edit: bash: ["*"] cache-memory: @@ -28,8 +30,6 @@ safe-outputs: close-older-discussions: true timeout-minutes: 20 strict: true -imports: - - shared/reporting.md --- diff --git a/.github/workflows/semantic-function-refactor.lock.yml b/.github/workflows/semantic-function-refactor.lock.yml index 0c06bd4f6a..82f1336094 100644 --- a/.github/workflows/semantic-function-refactor.lock.yml +++ b/.github/workflows/semantic-function-refactor.lock.yml @@ -25,9 +25,10 @@ # # Resolved workflow manifest: # Imports: +# - shared/mcp/serena-go.md # - shared/reporting.md # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"31e69cc88ff6a146131dbcfb6e9c73f801d513f4f035ac412598a0c76b5d98f0"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"58b9c667bf6db3acec9c27027d1346b4cd6bb700b508ed533569938971852631"} name: "Semantic Function Refactoring" "on": @@ -150,6 +151,9 @@ jobs: {{#runtime-import .github/workflows/shared/reporting.md}} GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/semantic-function-refactor.md}} GH_AW_PROMPT_EOF } > "$GH_AW_PROMPT" diff --git a/.github/workflows/semantic-function-refactor.md b/.github/workflows/semantic-function-refactor.md index 79ab0e0361..0962a4ca8a 100644 --- a/.github/workflows/semantic-function-refactor.md +++ b/.github/workflows/semantic-function-refactor.md @@ -14,6 +14,7 @@ engine: claude imports: - shared/reporting.md + - shared/mcp/serena-go.md safe-outputs: close-issue: @@ -27,7 +28,6 @@ safe-outputs: max: 1 tools: - serena: ["go"] github: toolsets: [default, issues] edit: diff --git a/.github/workflows/sergo.lock.yml b/.github/workflows/sergo.lock.yml index 2271fc5284..2580ee568a 100644 --- a/.github/workflows/sergo.lock.yml +++ b/.github/workflows/sergo.lock.yml @@ -25,9 +25,10 @@ # # Resolved workflow manifest: # Imports: +# - shared/mcp/serena-go.md # - shared/reporting.md # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"40482f28b466978bc450b02f69bfdd387cdfaafe616e4fa28a39b15b48efc608"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"02bf772df769e1b8dcee8170592780e7f1203860768210b7bf353632372b9d86"} name: "Sergo - Serena Go Expert" "on": @@ -151,6 +152,9 @@ jobs: {{#runtime-import .github/workflows/shared/reporting.md}} GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/sergo.md}} GH_AW_PROMPT_EOF } > "$GH_AW_PROMPT" diff --git a/.github/workflows/sergo.md b/.github/workflows/sergo.md index 82a554e98e..955a2dbe90 100644 --- a/.github/workflows/sergo.md +++ b/.github/workflows/sergo.md @@ -23,6 +23,7 @@ network: imports: - shared/reporting.md + - shared/mcp/serena-go.md safe-outputs: create-discussion: @@ -33,7 +34,6 @@ safe-outputs: close-older-discussions: true tools: - serena: ["go"] cache-memory: true github: toolsets: [default] diff --git a/.github/workflows/shared/mcp/serena-go.md b/.github/workflows/shared/mcp/serena-go.md new file mode 100644 index 0000000000..9eec240306 --- /dev/null +++ b/.github/workflows/shared/mcp/serena-go.md @@ -0,0 +1,40 @@ +--- +# Serena MCP Server - Go Code Analysis +# Language Server Protocol (LSP)-based tool for deep Go code analysis +# +# Documentation: https://github.com/oraios/serena +# +# Capabilities: +# - Semantic code analysis using LSP (go to definition, find references, etc.) +# - Symbol lookup and cross-file navigation +# - Type inference and structural analysis +# - Deeper insights than text-based grep approaches +# +# Usage: +# imports: +# - shared/mcp/serena-go.md + +tools: + serena: ["go"] +--- + +## Serena Go Code Analysis + +The Serena MCP server is configured for Go code analysis in this workspace: +- **Workspace**: `${{ github.workspace }}` +- **Memory**: `/tmp/gh-aw/cache-memory/serena/` + +### Project Activation + +Before analyzing code, activate the Serena project: +``` +Tool: activate_project +Args: { "path": "${{ github.workspace }}" } +``` + +### Analysis Constraints + +1. **Only analyze `.go` files** — Ignore all other file types +2. **Skip test files** — Never analyze files ending in `_test.go` +3. **Focus on `pkg/` directory** — Primary analysis area +4. **Use Serena for semantic analysis** — Leverage LSP capabilities for deeper insights diff --git a/.github/workflows/terminal-stylist.lock.yml b/.github/workflows/terminal-stylist.lock.yml index 0e2c34d38b..92b0aed524 100644 --- a/.github/workflows/terminal-stylist.lock.yml +++ b/.github/workflows/terminal-stylist.lock.yml @@ -23,7 +23,11 @@ # # Analyzes and improves console output styling and formatting in the codebase # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"65c1e7191c69de2adc68b7bdc175b8b5d1f50e033b4eb59869f33356e2f5b0d0"} +# Resolved workflow manifest: +# Imports: +# - shared/mcp/serena-go.md +# +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"94c758fe26224b557e793dbf2a020c24db55906e549a9e2f81e4c1cefd47d242"} name: "Terminal Stylist" "on": @@ -143,6 +147,9 @@ jobs: GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/terminal-stylist.md}} GH_AW_PROMPT_EOF } > "$GH_AW_PROMPT" diff --git a/.github/workflows/terminal-stylist.md b/.github/workflows/terminal-stylist.md index 35095dfc4a..6cf51d8be8 100644 --- a/.github/workflows/terminal-stylist.md +++ b/.github/workflows/terminal-stylist.md @@ -14,8 +14,10 @@ timeout-minutes: 10 strict: true +imports: + - shared/mcp/serena-go.md + tools: - serena: ["go"] github: toolsets: [repos] edit: diff --git a/.github/workflows/typist.lock.yml b/.github/workflows/typist.lock.yml index c09e96aded..0e6c1684bd 100644 --- a/.github/workflows/typist.lock.yml +++ b/.github/workflows/typist.lock.yml @@ -25,9 +25,10 @@ # # Resolved workflow manifest: # Imports: +# - shared/mcp/serena-go.md # - shared/reporting.md # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"4a503980ce77b740beb8eaa316edef00ef437b7e0788a1402afdb73e50b2ddec"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"a84f1d31ef089afc1ac4110815e97c8509584a617fb3384a318fe01d5e960c67"} name: "Typist - Go Type Analysis" "on": @@ -149,6 +150,9 @@ jobs: {{#runtime-import .github/workflows/shared/reporting.md}} GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' + {{#runtime-import .github/workflows/shared/mcp/serena-go.md}} + GH_AW_PROMPT_EOF + cat << 'GH_AW_PROMPT_EOF' {{#runtime-import .github/workflows/typist.md}} GH_AW_PROMPT_EOF } > "$GH_AW_PROMPT" diff --git a/.github/workflows/typist.md b/.github/workflows/typist.md index de34ff404c..ae5588f452 100644 --- a/.github/workflows/typist.md +++ b/.github/workflows/typist.md @@ -15,6 +15,7 @@ engine: claude imports: - shared/reporting.md + - shared/mcp/serena-go.md safe-outputs: create-discussion: @@ -24,7 +25,6 @@ safe-outputs: close-older-discussions: true tools: - serena: ["go"] github: toolsets: [default] edit: