Skip to content

Commit 4353bc6

Browse files
authored
Merge pull request #16 from scalytics/novatechflow/chat-provider-enhancement
Finalize chat provider enhancements and align local commit checks
2 parents 0cb6c99 + 73ca389 commit 4353bc6

14 files changed

Lines changed: 1874 additions & 212 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ electron/dist/
3838
.DS_Store
3939

4040
# Local planning / scratch
41-
/task.md
41+
/_tasks/
4242
/.tmp/
4343

4444
# Keep Node version pins tracked

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
kafclaw.scalytics.io

Makefile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ NPM_MIN_VERSION := 11
1010
HOST_GOMODCACHE := $(shell go env GOMODCACHE)
1111
HOST_GOCACHE := $(shell go env GOCACHE)
1212

13-
.PHONY: help check bootstrap build run rerun test test-smoke test-critical test-fuzz code-ql test-classification test-subagents-e2e install \
13+
.PHONY: help check bootstrap build run rerun test vet race commit-check test-smoke test-critical test-fuzz code-ql test-classification test-subagents-e2e install \
1414
release release-major release-minor release-patch dist-go \
1515
docker-build docker-up docker-down docker-logs \
1616
run-standalone run-full run-headless \
@@ -102,6 +102,12 @@ check: ## Validate build prerequisites (Go, git, Node.js/npm)
102102
test: ## Run all tests
103103
go test ./...
104104

105+
vet: ## Run go vet across all packages
106+
go vet ./...
107+
108+
race: ## Run race-enabled tests across all packages
109+
go test -race ./...
110+
105111
test-smoke: ## Run fast critical-path smoke tests (bug-finding first)
106112
bash scripts/test_smoke.sh
107113

@@ -111,9 +117,12 @@ test-critical: ## Enforce 100% coverage on critical logic
111117
test-fuzz: ## Run fuzz tests for critical guard logic
112118
bash scripts/test_fuzz.sh
113119

114-
code-ql: ## Run local CodeQL (Go + JS/TS) and emit SARIF under .tmp/codeql/
120+
code-ql: ## Run local CodeQL (Go + JS/TS + Actions) and emit SARIF under .tmp/codeql/
115121
bash scripts/codeql_local.sh
116122

123+
commit-check: check vet race test-fuzz code-ql ## Run pre-commit quality gates (vet, race, fuzz, CodeQL)
124+
@echo "commit-check completed."
125+
117126
test-classification: ## Run internal/external message classification E2E test (verbose)
118127
go test -v -run "TestInternalExternalClassificationE2E|TestMessageTypeAccessorDefaults|TestPolicyTierGatingByMessageType" ./internal/agent/
119128

0 commit comments

Comments
 (0)