Add Kernel-backed Harbor control arm with agent stop propagation and numeric verifier metrics - #1
Open
rgarcia wants to merge 6 commits into
Open
Add Kernel-backed Harbor control arm with agent stop propagation and numeric verifier metrics#1rgarcia wants to merge 6 commits into
rgarcia wants to merge 6 commits into
Conversation
rgarcia
force-pushed
the
hypeship/harbor-kernel-control
branch
from
August 23, 2026 23:13
6cf9dc5 to
2a1b2ac
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upstream TIGER-AI-Lab/ClawBench now ships the native Kernel browser runtime (TIGER-AI-Lab#311), so this PR is reduced to what upstream does not have: the Harbor integration. The branch is rebased on the current upstream main; the two runtime commits that upstream accepted are dropped as duplicates.
What remains:
clawbench-harbor-adapt(--browser-runtime kernel) that attaches ClawBench instrumentation to one pre-created Kernel browser per task, with headful stealth creation and no provider-default viewport override@playwright/mcp@0.0.79) through the credential-free CDP bridge; the Kernel API key never reaches the agentreward,intercepted,judge_match) and timestamped interception evidencerecording.mp4, delete the browser idempotently (including failure paths via a setup trap) and verify deletion through the provider APIValidation
uv run pytest -q— 219 passeduv run ruff check src/clawbench tests— cleanuv run ruff format --check src/clawbench tests— cleanuv run --frozen pyright src/clawbench tests— 0 errorsEnd-to-end Harbor runs recorded during development of these commits (patches unchanged by the rebase): 3/3 tasks with
intercepted=1,judge_match=1,reward=1on stealth Kernel browsers; median agent-start-to-interception 40.8s; median stop propagation 47ms; all replays retained and all browser deletions verified.