Repository navigation
fix(perf): isolate external evaluator from candidate runtime - #144162
Conversation
Run transported CLI samples and their temporary state through the explicit SUT transport while preserving native measurements. Reject unsupported transported runtime RSS and profiles before launching candidate code. Punchcard-Session: coral-orchard-orchard-d4
Add the standalone off-Actions harness with separate runner and candidate identities, bounded collection, and preserved workload receipts. Retain custom evaluator diagnostics without granting gate authority; leave workflow activation to the dependent change. Punchcard-Session: coral-orchard-orchard-d4
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. Reviewed September 11, 2026, 8:53 AM ET / 12:53 UTC (Revision 6). ClawSweeper reviewWhat this changesAdds an isolated performance runner that separates candidate execution from evaluation, bounds exported artifacts, and preserves failure receipts. Merge readiness⛔ Blocked before merge - 6 items remain The harness remains useful and is not implemented on current main. The prior finalization defect is addressed, and no new blocking code defect was established; the previously requested Linux authority-boundary proof remains outstanding. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s performance tooling runs candidate builds through Kova and OCM, then collects measurements for regression evaluation. This harness separates candidate processes from the evaluator and controls when their diagnostic files can be collected. flowchart TD
A[Trusted coordinator] --> B[Isolated Linux lease]
B --> C[Evaluator account]
C --> D[Candidate account]
D --> E[Candidate runtime and diagnostics]
E --> F[Stop candidate processes]
F --> G[Bounded artifact collection]
C --> G
G --> H[Evidence and failure receipts]
Before merge
Findings
Agent review detailsSecurityNeeds attention: No concrete exploit was established, but the new cross-principal execution and collection boundary still needs final-effect proof. PR surfaceTests +1154, Config +37, Other +926. Total +2117 across 4 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain one privileged isolation owner, qualify its allowed and forbidden final effects with the landed dependencies, and keep workflow activation gated on that evidence. Do we have a high-confidence way to reproduce the issue? No live reproduction was established in this read-only review. Source inspection confirms the affected evaluator/candidate boundary, while supplied tests substitute its OS operations. Is this the best way to solve the issue? Yes, separating evaluator authority from candidate execution is a coherent owner-level approach; readiness still depends on proving the actual Linux boundary and failure paths. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 66c7fad06385. LabelsLabel justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (5 earlier review cycles)
|
Record evaluator-owned execution identity per suite and enforce compatible modes in comparisons, budget checks, and source summaries while preserving independent RSS semantics. Punchcard-Session: coral-orchard-orchard-d4
Capture the complete custom collection, validation, and summary phase without disabling errexit. Preserve workload failure precedence and always reach the separate sealed-export and receipt finalizer. Punchcard-Session: coral-orchard-orchard-d4
Punchcard-Session: coral-orchard-orchard-d4
Punchcard-Session: coral-orchard-orchard-d4
Preserve the reviewed harness while incorporating the landed benchmark prerequisite. Punchcard-Session: coral-orchard-orchard-d4 * commit '4407ed19ac63b1c1c84a0cfe6eb4bbeca9c2322c': (1196 commits) fix(perf): isolate benchmark subprocess transport (#144159) refactor(auth): await Copilot cache persistence (#144810) refactor(web-fetch): exercise URL normalization through the public tool (#144887) fix(ollama): preserve hosted subdomain model context (#144891) fix(doctor): explain Codex plugin health failures (#144813) fix(channels): honor pinned accounts in Mattermost model menus (#144880) fix(update): failed-update records hide the triggering error behind the excerpt tail (#144729) fix(logging): preserve OpenClaw package references in diagnostics (#144808) fix: retain plugin detail tab selections while inspection loads (#144647) fix: keep discovered models when sign-in tokens renew (#144861) fix(update): preserve local package overrides (#89985) fix(update): resolve compatibility bridges within the runtime graph (#144831) chore(i18n): refresh native locales (#144856) fix: preserve child signal termination during CLI respawn (#144838) fix(text): hide encoded MiniMax tool envelopes (#126307) fix(subagents): deliver child replies that match the empty placeholder (#130647) fix(cli): reject blank message channel selectors (#144802) fix(telegram): preserve mixed text order and pending stop (#144839) fix(memory): restore FTS fallback for same-name view collisions (#144783) chore(release): close out 2026.9.4 on main (#144708) ...
|
Merged via squash.
|
…w#144162) * fix(perf): isolate benchmark subprocess transport Run transported CLI samples and their temporary state through the explicit SUT transport while preserving native measurements. Reject unsupported transported runtime RSS and profiles before launching candidate code. Punchcard-Session: coral-orchard-orchard-d4 * fix(perf): isolate external evaluator from candidate runtime Add the standalone off-Actions harness with separate runner and candidate identities, bounded collection, and preserved workload receipts. Retain custom evaluator diagnostics without granting gate authority; leave workflow activation to the dependent change. Punchcard-Session: coral-orchard-orchard-d4 * fix(perf): reject mixed benchmark execution modes Record evaluator-owned execution identity per suite and enforce compatible modes in comparisons, budget checks, and source summaries while preserving independent RSS semantics. Punchcard-Session: coral-orchard-orchard-d4 * fix(perf): retain receipts after custom diagnostic failures Capture the complete custom collection, validation, and summary phase without disabling errexit. Preserve workload failure precedence and always reach the separate sealed-export and receipt finalizer. Punchcard-Session: coral-orchard-orchard-d4 * test(ci): preserve fixed IMDS probe argument tuples Punchcard-Session: coral-orchard-orchard-d4
What Problem This Solves
Candidate execution must not control evaluator evidence, and custom-workload
finalization failures must not skip required receipt/export handling.
Why This Change Was Made
The harness separates evaluator/candidate identities, protects reports,
validates bounded evidence and retains quiescence and fail-closed cleanup.
It captures the entire custom finalization boundary. Original workload failure
retains precedence; finalization failures remain visible in mandatory
receipt/export status.
The evidence schema validates exported JSON artifacts, not a persistent-store/database migration.
Landed benchmark prerequisite: #144159.
Dependencies: openclaw/Kova#125 followed by
openclaw/Kova#123, and openclaw/ocm#171.
Activation: #127240.
User Impact
Native capabilities remain available. Custom Kova and candidate diagnostics gain
no evaluator authority; evaluator integrity does not authenticate candidate
behavior. Mandatory failure evidence is retained without clearing gate failures.
Workflow activation remains in the separate activation PR.
Evidence
1d3f1c6fc58c104149e86e8c765aa7945319a8f5: signed ancestry merge;all four harness files unchanged from
9f0ddbbaa7abd88233ec298b9c2c700ea12f2c8d.found zero P0-P2.
passed.
landed dependencies, not completed prerequisite proof.
Punchcard-Session: coral-orchard-orchard-d4