diff --git a/.github/workflows/ci-go.yml b/.github/workflows/ci-go.yml index 69c2507..b5fe097 100644 --- a/.github/workflows/ci-go.yml +++ b/.github/workflows/ci-go.yml @@ -84,7 +84,11 @@ jobs: done # Workflows must not invoke the Node toolchain (npm/npx/tsx/node). - if grep -rnE '(npm|npx|tsx|node) ' .github/workflows/*.yml; then + # Exception: app-build.yml drives the Tauri 2 webview UI (#181, + # FR-UI-01..09) — the Go single-implementation rule covers the + # DevAgent core; the app's UI stack is TS by the §20.4 decision. + if grep -rnE '(npm|npx|tsx|node) ' .github/workflows/*.yml \ + | grep -v '^\.github/workflows/app-build\.yml:'; then fail "Node toolchain invocation found in .github/workflows — CI runs the Go suite only (issues #205, #250)" fi diff --git a/internal/tui/polish_contract_test.go b/internal/tui/polish_contract_test.go index 68fa3ae..519db0e 100644 --- a/internal/tui/polish_contract_test.go +++ b/internal/tui/polish_contract_test.go @@ -320,7 +320,7 @@ func TestLoopRunSigwinchRepaintsPromptly(t *testing.T) { // Resize: narrower geometry, then fire SIGWINCH. drawLocked re-probes // Size and full-clears (the sanctioned reflow clear). - env.bufEnv.cols = 60 + env.cols = 60 env.winch <- os.Interrupt // any signal value wakes the repaint runWaitFor(t, func() bool { return strings.Contains(env.buf.String(), "\x1b[2J")