Skip to content

fix(ci): accept profiled partial Kova gates - #119121

Merged
vincentkoc merged 9 commits into
mainfrom
fix/kova-profiled-partial-gate
Aug 4, 2026
Merged

vincentkoc merged 9 commits into
mainfrom
fix/kova-profiled-partial-gate

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 4, 2026 •

Copy link
Copy Markdown
Member

Related: openclaw/Kova#89

What Problem This Solves

Fixes an issue where OpenClaw's performance workflow would reject Kova deep-profile reports after Kova correctly marked profiler-affected thresholds as diagnostic, even when functional evidence remained clean and the report intentionally stayed non-approving.

Why This Change Was Made

The workflow now pins the profiler-aware Kova producer, passes the matching OpenClaw config-fixture contract, and validates the new assessment and warning-card contract before tolerating a filtered PARTIAL result. The adapter requires one-to-one evidence, derives profiler provenance from the actual instrumentation flags, and continues to reject malformed evidence, hidden failures, unsupported cards, and count drift.

Required incomplete instrumented evidence now remains a hard failure at the evaluator, CLI, and workflow status boundaries. Only explicitly advisory incomplete evidence can be normalized from the producer's nonzero PARTIAL status to a successful filtered result.

Known OpenClaw schemas select the canonical or legacy fixture contract automatically. Explicit historical Kova refs remain usable: schema inference is best-effort for them, and callers can provide kova_config_contract when the producer supports it.

User Impact

Deep-profile performance runs can preserve CPU, RSS, and latency diagnostics without turning profiler overhead into a false product regression. The workflow still cannot approve a release from incomplete instrumented evidence, and real functional, cleanup, baseline, or performance failures remain blocking.

Evidence

  • Exact current-main base: 6d88ec5248c91c4a7c2e911e6f29dcd6dd1b006c.
  • Exact OpenClaw head: 4ff6cf50d3fa3424d290501bee6130d3af7515de.
  • Exact Kova producer: 0f9e678e239b45db46d2bd930b7983203580df78.
  • Focused Vitest: 157/157 passed across the report adapter and workflow contract suites on the exact head.
  • Required/advisory boundary proof:
    • required incomplete instrumented evidence is rejected by the runtime evaluator and exits nonzero through the CLI
    • the workflow preserves the producer's raw status 17 for that required failure
    • explicitly advisory incomplete evidence remains accepted and normalizes to workflow status 0
  • Current-main integration proof: current main 6d88ec5248c91c4a7c2e911e6f29dcd6dd1b006c merged cleanly in signed commit 4ff6cf50d3fa3424d290501bee6130d3af7515de; the Kova workflow and adapter paths had no merge conflict.
  • Current normal report kova-260804-065059-4340fd:
    • OpenClaw 74d084e00c2de6279de4559ee84c481573d4fd26, mock auth, packaged local-build runtime.
    • One agent-cold-warm-message record passed; Kova returned filtered PARTIAL with no blocking or warning cards.
    • The strict adapter accepted it as filtered-partial.
    • Report SHA-256: e070041cba1ed3a3b9323ca0862e6e411f48bc3ad544c577409c4ee9ae376c11.
  • Current deep-profile report kova-260804-065210-f02720:
    • The record passed functional checks and carried kova.performanceThresholdAssessment.v1.
    • 15 profiler-affected thresholds were explicitly SKIPPED; the gate remained non-approving PARTIAL.
    • The strict adapter reconciled provenance, assessment, warning-card, and count evidence one-to-one and accepted it as filtered-partial.
    • Report SHA-256: 42f1d6c8d75e8252263d9ef521120eb401d2eb73be143fe5a86bfe0606f6304d.
  • Intentional negative report kova-260804-065327-b1705c:
    • Auth was intentionally skipped; the agent turn failed and Kova returned DO_NOT_SHIP.
    • The adapter also exited non-zero instead of tolerating the report.
    • Report SHA-256: e9ca6e325d50f5e752242a59352fe969d417582bfe9b33ae9aaad03f3033df9e.
  • Historical producer 283070760a16655b28835061774158b8b11b4aff emitted marker-free kova.report.v1 report kova-260804-065433-f6ac8d:
    • Automatic compatibility mode accepted it as filtered-partial.
    • Strict current-producer mode rejected it for missing provenance mirrors.
    • Report SHA-256: 2efb34e632f85f63c003e453b7be8e8847f502a4f7be0d36349cb7e4d5975304.
  • Security/trust audit of exact Kova 0f9e678e against branch base 9e52f321 and both prior workflow pins 283070760a16655b28835061774158b8b11b4aff and f3d037b5b8aacd6adf8ef1dd2ea4c1d778ec7c6c approved the workflow pin:
    • root package.json, package-lock.json, bin/kova.mjs, installer, auth, command-dispatch, external-auth, network-frontage, and live-auth files are byte-identical across both prior pins and 0f9e678e;
    • the root lockfile remains version 3 with 8 direct dependencies, 25 locked packages, zero install-script packages, and zero non-registry dependencies;
    • all five commits after 9e52f321 are signature-verified;
    • the changed mock-auth helper only selects canonical versus legacy fixture shapes and continues to use a mock key plus loopback provider URL;
    • no added outbound-network path, dynamic evaluation path, credential retrieval, or credential sink;
    • live credentials remain limited to reviewed immutable Kova refs;
    • npm audit --omit=dev reported zero vulnerabilities.
  • Producer landing: Kova PR Feature: support both @ mentions and DM's in discord #89 merged as a39dd641bef07fac10974f9277eba22556ad193f, preserving exact signed producer 0f9e678e239b45db46d2bd930b7983203580df78 as its second parent and making that SHA reachable from Kova main.
  • Exact-head branch autoreview of 4ff6cf50d3fa3424d290501bee6130d3af7515de: clean, no actionable findings at 0.99 confidence.
  • Script declaration contract: 251/251 matched.
  • git diff --check, oxfmt, and scoped oxlint: passed.
  • Fresh exact-head CI is running after the current-main merge; this PR remains blocked until the required checks and refreshed ClawSweeper Before merge and Rank-up moves: lists are clear.

Compatibility Decision

Owner sign-off: accept the additive SKIPPED, PARTIAL, and INCONCLUSIVE report contract. Pinned current producers are validated in strict mode. Historical kova.report.v1 producers remain compatible only when every new instrumented-performance marker is absent; mixed or partially erased contracts are rejected. Incomplete or cross-profile evidence remains non-approving.

As maintainer, I explicitly approve Kova 0f9e678e239b45db46d2bd930b7983203580df78 as the immutable executable for the live credential path after the direct audit above. Kova PR #89 has landed via merge commit a39dd641bef07fac10974f9277eba22556ad193f, preserving that exact signed producer on Kova main; the audited package and lockfile blobs remain byte-identical at the landed tip.

@vincentkoc vincentkoc self-assigned this Aug 4, 2026
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: L maintainer Maintainer-authored PR labels Aug 4, 2026
@vincentkoc
vincentkoc force-pushed the fix/kova-profiled-partial-gate branch from 7539818 to e1833ac Compare August 4, 2026 05:18
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Aug 4, 2026
@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 8:02 AM ET / 12:02 UTC.

ClawSweeper review

What this changes

Updates the performance workflow and Kova report validator so profiler-affected advisory partial reports can be accepted without allowing incomplete required evidence to pass.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

This PR remains necessary: current main lacks the strict instrumented-performance contract and required-evidence rejection. No blocking patch defect was found; retain it for normal maintainer merge once the exact-head CI finishes.

Priority: P1
Reviewed head: 4ff6cf50d3fa3424d290501bee6130d3af7515de

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The implementation is well-scoped and substantially tested, with no actionable correctness finding in this review.
Proof confidence 🌊 off-meta tidepool Not applicable: This member-authored CI PR is exempt from the external-contributor proof gate; its body nevertheless records after-fix normal, deep-profile, negative, and historical-report runs.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This member-authored CI PR is exempt from the external-contributor proof gate; its body nevertheless records after-fix normal, deep-profile, negative, and historical-report runs.
Evidence reviewed 5 items Current main lacks the new gate contract: Current main invokes the report gate with only the report path and its evaluator has no options or strict instrumented-contract path, so it does not implement this PR’s central behavior.
Adapter preserves the required/advisory boundary: The PR enables strict validation for pinned producers, reconciles contract evidence, and rejects PARTIAL reports containing incomplete required instrumented evidence.
Workflow applies strict validation only to reviewed defaults: The live lane rejects non-pinned Kova refs before install or secret-bearing setup; trusted pinned refs pass the strict adapter flag when a nonzero report is considered for normalization.
Findings None None.
Security None None.

How this fits together

OpenClaw’s performance workflow runs a pinned Kova evaluator and converts its report into a release-validation result. The changed adapter distinguishes diagnostic profiler evidence from incomplete required evidence before deciding the CI status.

flowchart LR
  A[Performance workflow input] --> B[Resolve pinned Kova revision]
  B --> C[Run Kova evaluator]
  C --> D[Validate report contract]
  D --> E{Required evidence complete?}
  E -->|No| F[Preserve failing CI status]
  E -->|Yes, advisory partial| G[Accept filtered diagnostic result]
  F --> H[Release validation]
  G --> H
Loading

Before merge

  • Resolve merge risk (P1) - The PR is mergeable but behind current main and has in-progress exact-head checks; merge only after those checks complete successfully and the final merge state remains clean.
  • Complete next step (P2) - This member-authored, maintainer-labeled PR has no mechanical repair finding; it needs normal exact-head CI completion and maintainer merge handling.
Agent review details

Security

None.

PR surface

Tests +621, Config +50, Other +223. Total +894 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 626 5 +621
Docs 0 0 0 0
Config 1 63 13 +50
Generated 0 0 0 0
Other 2 249 26 +223
Total 5 938 44 +894

Review metrics

Metric Value Why it matters
Workflow contract surface 1 workflow-dispatch input added; 2 Kova default refs changed The new producer-contract selection and immutable default pin affect manual performance dispatches and upgrade-safe report interpretation.
Production versus test delta production +312/-39 (net +273); tests +626/-5 (net +621) The production growth is justified by the report-contract and credential-boundary validation, with substantial focused regression coverage.

Merge-risk options

Maintainer options:

  1. Complete exact-head validation (recommended)
    Wait for the remaining required checks, then merge only if GitHub still reports a clean merge for this exact head.
  2. Re-audit any future producer pin
    Treat a change to the reviewed immutable Kova SHA as a new credential-boundary review rather than inheriting this approval.

Technical review

Best possible solution:

Keep the single workflow-to-adapter validation path, preserve strict validation for the reviewed Kova pin, and land after final exact-head CI confirms the reviewed behavior.

Do we have a high-confidence way to reproduce the issue?

Yes, source-reproducible: current main sends a nonzero Kova report to the legacy adapter, while the PR’s focused fixtures demonstrate the required-incomplete and advisory-incomplete outcomes at that same boundary.

Is this the best way to solve the issue?

Yes: validating producer facts at the workflow report-gate boundary is safer than suppressing a nonzero Kova status downstream, and the PR preserves required evidence as non-approving.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 4170e11be931.

Labels

Label justifications:

  • P1: This changes release-validation behavior, where a mistaken acceptance or rejection affects real release gates.
  • merge-risk: 🚨 compatibility: The workflow now interprets both historical and current Kova report contracts differently.
  • merge-risk: 🚨 security-boundary: A reviewed immutable external executable is selected for a lane that can later receive live OpenAI credentials.
  • merge-risk: 🚨 automation: The PR changes workflow-dispatch inputs, external revision resolution, and CI exit-status normalization.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member-authored CI PR is exempt from the external-contributor proof gate; its body nevertheless records after-fix normal, deep-profile, negative, and historical-report runs.

Evidence

What I checked:

  • Current main lacks the new gate contract: Current main invokes the report gate with only the report path and its evaluator has no options or strict instrumented-contract path, so it does not implement this PR’s central behavior. (.github/workflows/openclaw-performance.yml:498, 4170e11be931)
  • Adapter preserves the required/advisory boundary: The PR enables strict validation for pinned producers, reconciles contract evidence, and rejects PARTIAL reports containing incomplete required instrumented evidence. (scripts/lib/kova-report-gate.mjs:597, 4ff6cf50d3fa)
  • Workflow applies strict validation only to reviewed defaults: The live lane rejects non-pinned Kova refs before install or secret-bearing setup; trusted pinned refs pass the strict adapter flag when a nonzero report is considered for normalization. (.github/workflows/openclaw-performance.yml:254, 4ff6cf50d3fa)
  • Focused regression coverage: Tests cover malformed contract markers, one-to-one card/count reconciliation, required-versus-advisory status handling, strict historical-report rejection, and workflow invocation. (test/scripts/kova-report-gate.test.ts:1168, 4ff6cf50d3fa)
  • Feature-history provenance: Recent Kova workflow and performance maintenance appears repeatedly in Vincent Koc’s merged commits, while Peter Steinberger has adjacent CI and Kova-pin history. (.github/workflows/openclaw-performance.yml:75, a8d4642408c2)

Likely related people:

  • vincentkoc: Authored this PR and several recent merged Kova workflow and performance fixes. (role: recent performance-workflow contributor; confidence: high; commits: a8d4642408c2, 47bb0378eb1c, ace5d9ada7ad; files: .github/workflows/openclaw-performance.yml, scripts/lib/kova-report-gate.mjs)
  • steipete: Recent merged history includes beta-performance repair and Kova fixture-pin work. (role: adjacent CI and Kova contributor; confidence: medium; commits: fdb511f5a135, df551c10a160; files: .github/workflows/openclaw-performance.yml)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Let the remaining exact-head checks finish, then refresh mergeability before landing.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (13 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-04T08:12:46.272Z sha bf248c5 :: found issues before merge. :: [P1] Keep required instrumented evidence non-approving
  • reviewed 2026-08-04T08:33:26.875Z sha 75c7827 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T09:18:18.164Z sha 75c7827 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T10:17:45.443Z sha 75c7827 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T11:05:42.108Z sha 00c6ef7 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T11:12:11.103Z sha 00c6ef7 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T11:17:27.931Z sha 00c6ef7 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T11:30:30.986Z sha 00c6ef7 :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 4, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head: 58654d948334033db9258cb2643e2455fad4d157, paired producer Kova 0f9e678e239b45db46d2bd930b7983203580df78.

Prior P1 items are resolved:

  • The exact Kova trust root was audited: all branch commits are signed, package and lock files are unchanged, locked dependencies use registry integrity, npm audit --omit=dev reports zero vulnerabilities, and the delta adds no installer, workflow, credential, download, dynamic-eval, or outbound-network surface.
  • Historical marker-free kova.report.v1 reports remain compatible by default. The workflow requests strict instrumented-contract validation only for current pinned producer refs, and any present instrumented marker selects strict validation automatically. Mixed or partially erased current contracts still reject.

Proof at this head:

  • 154 focused adapter/workflow tests pass.
  • Scoped formatting, lint, and git diff --check pass.
  • Exact-commit autoreview reports no P0/P1 findings.
  • Fresh current normal/deep reports pass as filtered partials, an intentional auth-negative report blocks, and an actual historical Kova v1 report passes automatically but fails under strict mode.

The PR body now records exact report IDs, hashes, trust evidence, compatibility decision, and production/test deltas. Please refresh the durable exact-head verdict and Rank-up moves: list.

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head: 58654d948334033db9258cb2643e2455fad4d157.

All durable trust, stale-base, approval, and rollout items are now addressed:

  • I directly audited Kova 0f9e678e239b45db46d2bd930b7983203580df78 against both actual previous pins, 283070760a16655b28835061774158b8b11b4aff and f3d037b5b8aacd6adf8ef1dd2ea4c1d778ec7c6c.
  • Root package, lockfile, CLI entrypoint, installer, auth, command-dispatch, external-auth, network-frontage, and live-auth files are byte-identical across those pins. The root lock remains v3 with no install-script or non-registry dependency, all five post-base commits are signed, and npm audit --omit=dev reports zero vulnerabilities.
  • The changed mock-auth helper remains loopback-only with a mock key; it only selects canonical versus legacy fixture shapes.
  • As maintainer, I explicitly approve 0f9e678e as the immutable executable entering the live credential path.
  • A clean merge into current main 32c5f0205075b92b2333764a86086a4e56bc248f had zero conflicts/overlap and passed 154/154 focused tests, scoped lint, formatting, and git diff --check.
  • Producer/consumer order is explicit: merge Kova PR Feature: support both @ mentions and DM's in discord #89 first via merge commit so signed 0f9e678e remains on Kova main, then merge this OpenClaw consumer. Squashing Feature: support both @ mentions and DM's in discord #89 would require a new pin and full re-review, so it will not be used.

Please refresh the durable Before merge list. Neither paired PR will be merged while either durable review contains an unresolved item.

@vincentkoc
vincentkoc marked this pull request as ready for review August 4, 2026 07:26
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head bf248c55dd0229677aec8febb5c8c3269b851cae fixes the prior check-test-types failure by declaring the options parameter already accepted by all three runtime Kova gate evaluators. Focused report-gate tests pass 119/119, 251/251 script declaration contracts match, scoped lint/format/diff checks pass, and exact-commit P1 autoreview is clean. The PR body now carries the refreshed exact-head evidence.

@clawsweeper

clawsweeper Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head bf248c55dd0229677aec8febb5c8c3269b851cae now has refreshed current-base proof:

  • clean no-commit merge into current main 05c987ccec4cd0032aa7727d2de0644916bafa11;
  • zero conflicts and zero PR-path overlap with main changes since the prior proof base;
  • 154/154 producer/consumer contract tests passed in the merged GWT;
  • scoped lint, formatting, and git diff --cached --check passed;
  • exact-head CI has 82 successes and zero failures, including the formerly failing check-test-types lane.

The PR body contains the direct exact-Kova source, lockfile, entrypoint, dependency, signature, and credential-boundary audit plus explicit maintainer approval. Please refresh the durable trust-audit, security, current-base, Before merge, and Rank-up moves: verdicts.

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot removed the rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. label Aug 4, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head 00c6ef783a85813c05df0307424cae758b257ee8 resolves the current review's trust and current-main items:

  • rebased all seven commits onto current main 121c6c10423827ce8a65118600f3498e20b8f6e0; git range-diff reports every patch unchanged
  • all seven rewritten commits have valid signatures
  • Kova PR Feature: support both @ mentions and DM's in discord #89 landed via merge commit a39dd641bef07fac10974f9277eba22556ad193f, preserving audited producer 0f9e678e239b45db46d2bd930b7983203580df78 as a reachable signed parent
  • direct source, entrypoint, package, lockfile, signature, network, auth, and credential-boundary audit remains recorded in the PR body; landed package and lockfile blobs are byte-identical to the audited producer
  • focused adapter/workflow proof passes 157/157 on the rebased exact head
  • scoped formatting, lint, diff checks, and exact-head branch autoreview are clean

Fresh exact-head CI is running. The PR remains blocked until CI and this refreshed review are clear.

@clawsweeper

clawsweeper Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head 00c6ef783a85813c05df0307424cae758b257ee8.

All prior trust, current-main, and validation gates are resolved:

  • all seven patches were rebased unchanged onto 121c6c10423827ce8a65118600f3498e20b8f6e0, and every rewritten commit is signed
  • Kova merge commit a39dd641bef07fac10974f9277eba22556ad193f preserves audited producer 0f9e678e239b45db46d2bd930b7983203580df78 as a reachable signed parent
  • direct source, entrypoint, dependency, lockfile, network, auth, and credential-boundary audit is recorded in the PR body
  • landed Kova package and lockfile blobs are byte-identical to the audited producer
  • focused adapter/workflow proof passes 157/157
  • exact-head OpenClaw CI is fully green with 112 successes and zero attention checks

Please refresh the durable security, Before merge, and Rank-up moves: verdicts. This PR will not be merged until every item is clear.

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Connected maintainer audit completed for exact OpenClaw head 00c6ef783a85813c05df0307424cae758b257ee8 and pinned Kova producer 0f9e678e239b45db46d2bd930b7983203580df78.

Source and provenance

  • Kova 0f9e678e is reachable from current Kova main 56eef2bb49e239b137f0fface2335772426d97f2.
  • Kova PR Feature: support both @ mentions and DM's in discord #89 landed as merge commit a39dd641bef07fac10974f9277eba22556ad193f; its second parent is exactly 0f9e678e239b45db46d2bd930b7983203580df78.
  • The five commits from 9e52f321e6a3f8999249d16bb53b365759c3b33e through 0f9e678e all have valid ED25519 signatures:
    d557485f4940, 89a4393a4627, 07fecb5262be, 2bd33f51c9e1, 0f9e678e239b.
  • The full range was inspected, not only the tip commit. It changes report evaluation, profiling taxonomy, comparison/rendering, tests/docs, command profiler classification, and the mock-auth fixture contract.
  • Added-line review found no outbound-network path, credential retrieval or sink, dynamic evaluation, new process-launch path, package/install hook, or live-auth change.
  • The command-executor change centralizes the existing profiler eligibility predicate. The mock-auth change selects canonical versus legacy fixture shapes and retains the loopback provider URL and mock gateway token.

Immutable executable and dependency surface

The following blobs are byte-identical at both previously trusted pins (283070760a16655b28835061774158b8b11b4aff, f3d037b5b8aacd6adf8ef1dd2ea4c1d778ec7c6c) and at 0f9e678e:

  • package.json: 33c371c75df8203a221b1192f4895650c0f8f668
  • package-lock.json: 05969226ed438178ab7f1c6ac5c89aedbd2a08b6
  • bin/kova.mjs: e80e3302aff8f7a214cf3bfcb011e5634179df16
  • install.sh
  • scripts/install-ocm-ci.sh
  • src/auth.mjs
  • src/commands.mjs
  • src/external-cli-auth.mjs
  • src/network-frontage.mjs
  • support/configure-openclaw-live-auth.mjs

The lockfile is version 3 with 8 direct dependencies and 25 locked packages, zero install-script packages, and zero non-registry dependencies. A fresh npm audit --omit=dev reports zero vulnerabilities at every severity.

Gate resolution

Exact-head OpenClaw CI is complete with 83 successful checks, 29 skipped/neutral checks, zero pending checks, and zero failures.

This independently resolves both current Before merge items: the pinned source, package lock, signatures, and Kova-main reachability are verified, and the live credential trust-root decision is accepted with repeatable evidence. It also completes the existing Rank-up moves: request for a connected audit.

@vincentkoc

Copy link
Copy Markdown
Member Author

Maintainer decision: the exact Kova trust-root audit is accepted, and every current ClawSweeper Before merge item is resolved.

Direct audit evidence is recorded in #119121 (comment).

  • Security concern resolved: reviewed exact producer 0f9e678e239b45db46d2bd930b7983203580df78, its complete five-commit signed range, package manifest, lockfile, executable entrypoint, installer/auth/command paths, and live-auth/network frontage.
  • P1 merge risk resolved: the producer is the exact second parent of Kova merge a39dd641bef07fac10974f9277eba22556ad193f and is reachable from current Kova main; executable, package, lock, installer, auth, and command blobs match the trusted lineage.
  • Dependency proof complete: lockfile v3, eight direct dependencies, 25 locked packages, no install-script packages, no non-registry dependencies, and a fresh npm audit --omit=dev reported zero vulnerabilities.
  • Live-secret boundary accepted: the audited range adds no outbound network path, credential retrieval or sink, dynamic evaluation, process launch, install hook, or live-auth behavior. The mock-auth changes are limited to canonical/legacy config selection and loopback mock-token handling.
  • P2 maintainer judgment complete: I accept this immutable pin for the live credential-capable workflow lane.
  • Rank-up move complete: exact pin, lockfile, entrypoint, reachability, and live-secret boundary were all inspected directly.

The acting review environment's inability to fetch Kova does not invalidate the completed maintainer audit above.

@clawsweeper re-review

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 4, 2026
…tial-gate

* origin/main:
  fix(gateway): expose OAuth-backed tools to CLI agents (#119166)
  fix(plugins): preserve metadata reloads during models status (#119183)
  fix(test): bound direct gateway server runs (#119184)
@vincentkoc

Copy link
Copy Markdown
Member Author

Exact-head refresh: 6245b4e34a99ba0beecb922a381c9fad2aa716f0.

  • Merged current origin/main at 2a3a840aaf80dab40b0ba2bf9a02a5e2f5cc5015 with a signed merge commit.
  • The accepted Kova producer pin remains 0f9e678e239b45db46d2bd930b7983203580df78, now landed in fix: keep profiled performance evidence diagnostic Kova#89 with its signed producer commit preserved.
  • Focused proof: 157 tests passed across test/scripts/kova-report-gate.test.ts and test/scripts/openclaw-performance-workflow.test.ts.
  • oxfmt --check, scoped oxlint, git diff --check, privacy scan, and branch autoreview are clean.

Please review the new exact head and replace the stale-head checklist.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

…tial-gate

* origin/main:
  fix(agents): recover from invalid compaction summaries (#119137)
@vincentkoc

Copy link
Copy Markdown
Member Author

Exact current-main head is now 4ff6cf50d3fa3424d290501bee6130d3af7515de.

The prior durable Before merge items are addressed for this SHA:

  • the immutable Kova producer remains 0f9e678e239b45db46d2bd930b7983203580df78; its direct executable, dependency, signature, auth, network, and live-secret audit is unchanged and accepted
  • current OpenClaw main 6d88ec5248c91c4a7c2e911e6f29dcd6dd1b006c merged cleanly in the signed exact-head commit
  • 157 focused report-adapter and workflow-contract tests passed
  • scoped formatting, lint, and git diff --check passed
  • exact branch autoreview is clean with no accepted/actionable finding at 0.99 confidence

The PR body now records the exact base, head, and proof. Fresh exact-head GitHub CI is running. This PR will not merge until required CI and the refreshed ClawSweeper Before merge and Rank-up moves: lists are clear.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@vincentkoc

Copy link
Copy Markdown
Member Author

ClawSweeper's exact-head before-merge items and rank-up move are resolved for 4ff6cf50d3fa3424d290501bee6130d3af7515de:

  • Exact-head CI is complete. The commit status rollup is SUCCESS, openclaw/ci-gate passed, and there are no active or non-successful checks.
  • The earlier cancelled duplicate Real behavior proof was rerun only at the failed surface and passed on attempt 2; the later same-SHA proof also passed.
  • GitHub reports the PR MERGEABLE. OPENCLAW_PR_STRICT_DRIFT=1 scripts/pr merge-verify 119121 passed against current main 4170e11be93157bc4eb59223e43d58fa805a06c8; the only mainline drift is the two unrelated QQBot channel files, with no prepared-file overlap or merge-critical infrastructure drift.
  • The reviewed Kova producer remains the approved immutable 0f9e678e239b45db46d2bd930b7983203580df78; any future pin change still requires a fresh direct audit.
  • Repository review artifacts validate with zero findings, and OPENCLAW_TESTBOX=1 scripts/pr prepare-run 119121 completed without changing the reviewed head.

Proceeding through the normal pinned maintainer squash-merge path.

@vincentkoc
vincentkoc merged commit d3557ec into main Aug 4, 2026
110 of 111 checks passed
@vincentkoc
vincentkoc deleted the fix/kova-profiled-partial-gate branch August 4, 2026 12:07
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Aug 4, 2026
* origin/main:
  fix(ci): accept profiled partial Kova gates (#119121)
  fix(qqbot): keep channel API calls on the active account [AI] (#118575)
vincentkoc added a commit that referenced this pull request Aug 4, 2026
* origin/main: (208 commits)
  fix(telegram): route reactions to their originating forum topics
  test(gateway): isolate scheduled service timers (#119218)
  test(qa): cover Canvas agent and node controls (#119047)
  fix(cli): avoid repeated migration scans during local agent turns (#119051)
  fix(gateway): keep agents list on prepared model facts (#119208)
  fix(telegram): retry update offset persistence
  fix(ci): accept profiled partial Kova gates (#119121)
  fix(qqbot): keep channel API calls on the active account [AI] (#118575)
  fix(agents): recover from invalid compaction summaries (#119137)
  fix(gateway): expose OAuth-backed tools to CLI agents (#119166)
  fix(plugins): preserve metadata reloads during models status (#119183)
  fix(test): bound direct gateway server runs (#119184)
  test(tui): prove command surfaces through PTY (#119165)
  fix(testbox): restore claims across path aliases (#119170)
  fix(message): preserve sends with incidental Telegram locations
  fix(perf): give each concurrency sample a full deadline (#119164)
  fix(testbox): remove changed-gate sync residue (#119163)
  fix(telegram): preserve later chunks after rejected sends
  fix(tui): block terminal controls in system messages (#118998)
  fix(auto-reply): suppress false no-reply fallback during continuations (#119154)
  ...
vincentkoc added a commit that referenced this pull request Aug 4, 2026
* origin/main: (23 commits)
  chore(tui): add Gateway boundary PTY coverage (#119191)
  fix(telegram): route reactions to their originating forum topics
  test(gateway): isolate scheduled service timers (#119218)
  test(qa): cover Canvas agent and node controls (#119047)
  fix(cli): avoid repeated migration scans during local agent turns (#119051)
  fix(gateway): keep agents list on prepared model facts (#119208)
  fix(telegram): retry update offset persistence
  fix(ci): accept profiled partial Kova gates (#119121)
  fix(qqbot): keep channel API calls on the active account [AI] (#118575)
  fix(agents): recover from invalid compaction summaries (#119137)
  fix(gateway): expose OAuth-backed tools to CLI agents (#119166)
  fix(plugins): preserve metadata reloads during models status (#119183)
  fix(test): bound direct gateway server runs (#119184)
  test(tui): prove command surfaces through PTY (#119165)
  fix(testbox): restore claims across path aliases (#119170)
  fix(message): preserve sends with incidental Telegram locations
  fix(perf): give each concurrency sample a full deadline (#119164)
  fix(testbox): remove changed-gate sync residue (#119163)
  fix(telegram): preserve later chunks after rejected sends
  fix(tui): block terminal controls in system messages (#118998)
  ...
vincentkoc added a commit that referenced this pull request Aug 4, 2026
* origin/main:
  chore(tui): add Gateway boundary PTY coverage (#119191)
  fix(telegram): route reactions to their originating forum topics
  test(gateway): isolate scheduled service timers (#119218)
  test(qa): cover Canvas agent and node controls (#119047)
  fix(cli): avoid repeated migration scans during local agent turns (#119051)
  fix(gateway): keep agents list on prepared model facts (#119208)
  fix(telegram): retry update offset persistence
  fix(ci): accept profiled partial Kova gates (#119121)
vincentkoc added a commit that referenced this pull request Aug 4, 2026
…time

* origin/main: (177 commits)
  fix(telegram): route reactions to their originating forum topics
  test(gateway): isolate scheduled service timers (#119218)
  test(qa): cover Canvas agent and node controls (#119047)
  fix(cli): avoid repeated migration scans during local agent turns (#119051)
  fix(gateway): keep agents list on prepared model facts (#119208)
  fix(telegram): retry update offset persistence
  fix(ci): accept profiled partial Kova gates (#119121)
  fix(qqbot): keep channel API calls on the active account [AI] (#118575)
  fix(agents): recover from invalid compaction summaries (#119137)
  fix(gateway): expose OAuth-backed tools to CLI agents (#119166)
  fix(plugins): preserve metadata reloads during models status (#119183)
  fix(test): bound direct gateway server runs (#119184)
  test(tui): prove command surfaces through PTY (#119165)
  fix(testbox): restore claims across path aliases (#119170)
  fix(message): preserve sends with incidental Telegram locations
  fix(perf): give each concurrency sample a full deadline (#119164)
  fix(testbox): remove changed-gate sync residue (#119163)
  fix(telegram): preserve later chunks after rejected sends
  fix(tui): block terminal controls in system messages (#118998)
  fix(auto-reply): suppress false no-reply fallback during continuations (#119154)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 5, 2026
* fix(ci): accept profiled partial Kova gates

* fix(ci): scope Kova secrets to live runs

* fix(ci): require reviewed Kova refs for live runs

* fix(ci): pin cross-profile Kova repair

* fix(perf): preserve historical Kova report contracts

* fix(ci): declare Kova gate options

* fix(ci): preserve required Kova partial failures
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 6, 2026
* origin/main: (23 commits)
  chore(tui): add Gateway boundary PTY coverage (openclaw#119191)
  fix(telegram): route reactions to their originating forum topics
  test(gateway): isolate scheduled service timers (openclaw#119218)
  test(qa): cover Canvas agent and node controls (openclaw#119047)
  fix(cli): avoid repeated migration scans during local agent turns (openclaw#119051)
  fix(gateway): keep agents list on prepared model facts (openclaw#119208)
  fix(telegram): retry update offset persistence
  fix(ci): accept profiled partial Kova gates (openclaw#119121)
  fix(qqbot): keep channel API calls on the active account [AI] (openclaw#118575)
  fix(agents): recover from invalid compaction summaries (openclaw#119137)
  fix(gateway): expose OAuth-backed tools to CLI agents (openclaw#119166)
  fix(plugins): preserve metadata reloads during models status (openclaw#119183)
  fix(test): bound direct gateway server runs (openclaw#119184)
  test(tui): prove command surfaces through PTY (openclaw#119165)
  fix(testbox): restore claims across path aliases (openclaw#119170)
  fix(message): preserve sends with incidental Telegram locations
  fix(perf): give each concurrency sample a full deadline (openclaw#119164)
  fix(testbox): remove changed-gate sync residue (openclaw#119163)
  fix(telegram): preserve later chunks after rejected sends
  fix(tui): block terminal controls in system messages (openclaw#118998)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: L status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant