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
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
build-windows:
# CGO build smoke-test on native Windows. tree-sitter needs a C/C++
# compiler — the GitHub windows runner ships mingw-w64 on PATH, so no
# extra toolchain setup is required. Build-only: `go build ./...`
# compiles every production package without pulling in the
# platform-specific test files a full `go test` would.
# extra toolchain setup is required. `go build ./...` compiles every
# production package; the focused agents test also exercises Windows-only
# integration paths without opting into the unsupported full test suite.
runs-on: windows-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
Expand All @@ -53,6 +53,9 @@ jobs:
- name: Build all packages
run: go build ./...

- name: Test Windows agent integrations
run: go test -timeout=5m -count=1 ./internal/agents

lint:
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 2 additions & 1 deletion internal/agents/instructions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,12 @@ func TestBashInstructionsBodyUsesOnlyExplicitCLIMirror(t *testing.T) {
func TestGlobalPointerBody_ShapeAndSentinel(t *testing.T) {
const dir = "/home/user/.gortex/instructions"
body := GlobalPointerBody(dir)
activePath := filepath.Join(dir, "active.md")

if !strings.Contains(body, InstructionsSentinel) {
t.Error("pointer block lost the idempotency sentinel heading")
}
if !strings.Contains(body, "@"+dir+"/active.md") {
if !strings.Contains(body, "@"+activePath) {
t.Errorf("pointer block does not @-include the active profile: %q", body)
}
if !strings.Contains(body, "gortex instructions switch") {
Expand Down
Loading