Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions .github/workflows/skill-drift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ on:
- 'internal/hooks/**'
- 'internal/mcp/**'
- 'cmd/gortex/**'
- 'Makefile'
- '.github/workflows/skill-drift.yml'
- '.github/workflows/publish-claude-plugin.yml'
workflow_dispatch:

jobs:
Expand All @@ -44,3 +46,9 @@ jobs:

- name: All-platform render structural check
run: ./gortex agents render --check

# publish-claude-plugin runs this target on every release, and nothing
# else exercises it, so a build change that breaks it would only show
# when a release tries to publish.
- name: Claude Code plugin bundle
run: make claude-plugin
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,13 @@ build-windows:
# no diff against what's checked in — drift means the bundle is stale
# vs the source-of-truth content in
# internal/agents/commands_bodies.go.
claude-plugin: build
#
# The emitter needs none of the optional backends, so it is built without
# `build`'s llama tag: the publish runner has no llama.cpp to link against.
# `go run` also leaves a locally built ./gortex untouched.
claude-plugin:
rm -rf ./claude-plugin
./$(BINARY) plugin emit --target ./claude-plugin --variant anthropic
go run -ldflags '$(LDFLAGS)' ./cmd/gortex/ plugin emit --target ./claude-plugin --variant anthropic
@echo "✓ Regenerated claude-plugin/ from internal/agents commands"

claude-plugin-check: claude-plugin
Expand Down
Loading