From 397f339852c4b8a4f906c0574b3b1a33c8262b19 Mon Sep 17 00:00:00 2001 From: Jithin Date: Tue, 30 Jun 2026 11:21:29 +0530 Subject: [PATCH 1/3] test: suppress ai sdk warnings in smoke test --- core/tests/evaluators.judge.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/tests/evaluators.judge.test.ts b/core/tests/evaluators.judge.test.ts index 65672d69..2e3f1b58 100644 --- a/core/tests/evaluators.judge.test.ts +++ b/core/tests/evaluators.judge.test.ts @@ -1,3 +1,5 @@ +(globalThis as Record).AI_SDK_LOG_WARNINGS = false; + /** * Evaluator judge smoke tests. * From be6222468904b8ece3066b1cf91770e7b9fc8143 Mon Sep 17 00:00:00 2001 From: Jithin Date: Tue, 30 Jun 2026 12:00:34 +0530 Subject: [PATCH 2/3] chore: update pr template --- .github/pull_request_template.md | 29 +++++++++++++---------------- package-lock.json | 9 +++++++++ 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 77d88430..560ac885 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,26 +1,23 @@ ## Problem -Briefly describe the issue or feature being addressed. + ## Solution -Explain your approach and any important design decisions. + - +## Changes -## Checklist + -- [ ] `npm run build` passes -- [ ] `npm run typecheck` passes -- [ ] `npm run build:catalog:check` passes _(if evaluators or suites changed)_ -- [ ] Tested against a local target _(if evaluator added or changed)_ -- [ ] No secrets, `.env`, or `.opfor/` artifacts committed -- [ ] PR title follows `: ` — e.g. `feat: add SSRF evaluator` +## Issue -## Evaluator checklist _(skip if no evaluator added)_ + -- [ ] `id` is unique across all evaluators -- [ ] `pass_criteria` and `fail_criteria` are specific, not vague -- [ ] `severity` matches actual risk (`critical` = RCE / data breach) -- [ ] `standards` mapping is correct -- [ ] `.test.yaml` fixture included +## How to test + + + +## Screenshots + + diff --git a/package-lock.json b/package-lock.json index 5858c174..6d7e4201 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5752,6 +5752,9 @@ "esbuild": "^0.25.0", "tsx": "^4.20.0", "typescript": "^5.8.3" + }, + "engines": { + "node": ">=20" } }, "runners/cli/node_modules/@esbuild/aix-ppc64": { @@ -6758,6 +6761,9 @@ "esbuild": "^0.25.0", "tsx": "^4.20.0", "typescript": "^5.8.3" + }, + "engines": { + "node": ">=20" } }, "runners/mcp/node_modules/@esbuild/aix-ppc64": { @@ -7258,6 +7264,9 @@ "tsx": "^4.20.0", "typescript": "^5.8.3" }, + "engines": { + "node": ">=20" + }, "peerDependencies": { "typescript": ">=5.0.0" }, From 85ecb736f19d1aa682747516c6578bd98e1d3713 Mon Sep 17 00:00:00 2001 From: Jithin Date: Tue, 30 Jun 2026 12:12:27 +0530 Subject: [PATCH 3/3] chore: fix missing extension package name and commit-lint gaps Co-Authored-By: Claude Sonnet 4.6 --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- .github/workflows/commit-lint.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index a125c460..9c9dbacd 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -17,7 +17,7 @@ body: - CLI (`opfor run` / `opfor setup`) - CLI — Autonomous mode (`opfor hunt`) - MCP Server (`@keyvaluesystems/agent-opfor-mcp`) - - Browser Extension + - Browser Extension (`@keyvaluesystems/agent-opfor-extension`) - SDK (`@keyvaluesystems/agent-opfor-sdk`) - Evaluators / Suites - Judge (LLM-as-judge) diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml index dabfaf56..1e49e988 100644 --- a/.github/workflows/commit-lint.yml +++ b/.github/workflows/commit-lint.yml @@ -2,7 +2,7 @@ name: Commit Lint on: pull_request: - branches: [master] + branches: [master, main] jobs: branch-name: @@ -41,7 +41,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm - name: Install dependencies