Skip to content

fix: OCE reviews stop on a historical harness test fixture - #2197

Merged
freeqaz-openai merged 3 commits into
mainfrom
fix/oce-5155-exact-fixture
Nov 10, 2026
Merged

freeqaz-openai merged 3 commits into
mainfrom
fix/oce-5155-exact-fixture

Conversation

@freeqaz-openai

@freeqaz-openai freeqaz-openai commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Input scanning stops an OCE review when it encounters a synthetic invalid-origin URL in a historical harness test and its removal.

User Impact

The classifier can attribute both findings to the reviewed test. The OCE input-safety hold remains until the accepted policy is deployed and a fresh canonical hosted review succeeds.

Why This Change Was Made

The scanner reported the same literal under two decoder labels. Both policy rows pin the native values, full source line, path, regular-file mode and complete file contents. Identical reviewed bytes can qualify at either committed endpoint.

Documentation Impact

The changelog records the fixture. The review and validation procedures in AGENTS.md and CONTRIBUTING.md still apply.

Evidence

Independent source review of 3a21c03eba6c1e8a5f67d84105ce7d6f096fc744 found no open P0–P3 issues. All 570 fixture tests passed on parent 37f1f7e0, including the corrected validator. The final commit changes one comment.

Hosted CI passed the equivalent of pnpm run check on test merge 65478f653290ced5f3f1438a823cf02e3df5ea85 (base bfcb27eb, head 3a21c03e). The fast checks and combined coverage thresholds passed. Across four shards, 7,139 tests passed, 22 were skipped, and none failed or were cancelled. Package consumers verified the reviewed head and tree. The hosted native review scan smoke job was skipped. Hosted CI run

The local pnpm run check exited 1. Registry 404s left the locked dependency graph incomplete, so static checks could not load TypeScript and markdown-it.

ClawSweeper has acknowledged the draft. Its review of the current head and PR body is pending. Landing still requires current proof, resolution of accepted findings, and explicit merge approval.

Real Behavior Proof

TruffleHog 3.99.4 ran filesystem <inputs> --results=verified,unknown --fail --fail-on-scan-errors --no-update --json --no-color on 40 committed inputs in a read-only container with networking disabled and no supplied credentials. It exited 183 with two unverified URI findings, each with a verification error.

After mandatory policy validation, Node 24 replayed the original records. The baseline refused the scan. The candidate classified the BASE64 finding at base line 825 and mapped the PLAIN finding at deleted patch line 1014 to that same line. All twelve deliberately mutated controls were refused. The trace covers this historical removal. Head-side additions and hidden hosted inputs were outside the run.

@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal priority bug or improvement with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 10, 2026
@clawsweeper

clawsweeper Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR qualifies two native scanner identities for one exact historical OpenClaw Enterprise harness-origin rejection fixture.

Example: Scanning the historical harness test with its invalid-origin fixture at line 825 and its deletion in the patch.

  • Before: The BASE64 blob finding and PLAIN patch finding refuse review admission.
  • After: The candidate can attribute both findings to the exact reviewed source while retaining the remaining scanner checks.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The patch is narrow and source-consistent, but the runtime claims lack inspectable supporting evidence.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: An OCE review stops before receiving a verdict because historical rejection-test data is treated as an unclassified secret finding.
Reason: The maintainer-authored direction follows the established exact-fixture policy and addresses the confirmed historical case without claiming to clear the separate hosted review hold.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: main lacks the exact fixture qualification, and the narrow change addresses a confirmed review-admission blocker without an identified code defect.

Priority: P2
Reviewed head: 3a21c03eba6c1e8a5f67d84105ce7d6f096fc744

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Supply an inspectable trace through scanAgentInput showing admission of this exact historical removal and refusal of altered-source controls.
Agent review details

How this fits together

The host-owned input scanner checks committed source and review material before provider execution; exact fixture attribution can clear known synthetic findings while unrelated findings still refuse admission.

flowchart TD
  A[Committed source and review inputs] --> B[Native secret scanner]
  B --> C[Exact fixture classifier]
  D[Host owned fixture policy] --> C
  C --> E[Source and patch witnesses]
  E --> F[Admit review or refuse input]
Loading

Technical review

Best possible solution:

Retain the exact fixture rows and existing attribution owner, with inspectable production-path evidence before landing.

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

Current main has no matching attribution, and the independently verified historical source matches the proposed file and line hashes; no target code was executed during this review.

Is this the best way to solve the issue?

The patch uses the existing exact-attribution mechanism and preserves its fail-closed checks, making it a suitably small fix for the stated historical removal.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against bfcb27eb6b25.

Provenance checked

  • Host-owned exact fixture attribution keeps the original intent (c338967: Recognize reviewed synthetic findings using exact native identities and source attribution while refusing unknown or partially authorized findings.)
  • Historical OCE complete-source binding keeps the original intent (f7c8c55: Bind retired OCE fixtures to inspected complete source blobs rather than allowing matching literals in arbitrary file contents.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Exact introduced change: The pinned diff adds two attribution rows, their validator branch, and one changelog bullet; it changes no scanner execution or classifier control flow. (src/agent-input-scan-fixtures.ts:306, 3a21c03eba6c)
  • Main still lacks this qualification: The main attribution table contains the earlier JDBC and sign-in fixtures but no harness-origin fixture; the new entries therefore provide distinct work. (src/agent-input-scan-fixtures.ts:304, bfcb27eb6b25)
  • Source oracle and dependency-policy scope: The PR's qualification depends on this committed test, making its fixture contract relevant. Inspection confirms an invalid-origin rejection test; independently computed complete-file, line-825, and native-authority hashes match all three policy identities. Its AGENTS.md requires synthetic URL helpers for new fixtures; this PR preserves historical bytes and edits no Enterprise source. (tests/conformance/openshell-harness-status.test.mjs:825, da31aa45a06a)
  • Existing fail-closed owner retained: Classification still requires matching native metadata, complete source hash, literal-line witnesses, committed base/head references, and regular-file mode; verified findings, unknown material, and duplicate findings remain refused. (src/agent-input-scan-fixtures.ts:1231, 3a21c03eba6c)
  • Proof inspected: The full current body describes native scanning and classifier replay, but supplies no inspectable trace or artifact for that replay. Both discussion comments are review-status notices. The linked CI run succeeded for the reviewed head and does not establish the claimed runtime admission behavior. (3a21c03eba6c)
  • Feature history and established approach: Earlier merged work establishes exact host-owned fixture attribution and complete-blob binding. fix: recognize both observed decoders for two OCE sign-in test fixtures #2168 documents native decoder variability for different OCE fixtures; it does not cover this historical harness fixture. File history identifies shared contributors; follow-history reaches an unavailable creation-parent blob, so no earlier introduction is inferred. (src/agent-input-scan-fixtures.ts, bfcb27eb6b25)

Likely related people:

  • Vincent Koc: Raw commit c338967 adds src/agent-input-scan-fixtures.ts:494 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: c33896727985; files: src/agent-input-scan-fixtures.ts)

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P2: A specific historical synthetic fixture blocks an affected repository review; the repair has a narrow admission-policy scope.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: A specific historical synthetic fixture blocks an affected repository review; the repair has a narrow admission-policy scope.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rank-up moves

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

  • Publish the production admission trace and negative-control results for the reviewed candidate.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 10, 2026, 4:09 AM ET / 09:09 UTC.

@freeqaz-openai
freeqaz-openai marked this pull request as ready for review November 10, 2026 09:11
@freeqaz-openai
freeqaz-openai merged commit 35da1a8 into main Nov 10, 2026
40 checks passed
@freeqaz-openai
freeqaz-openai deleted the fix/oce-5155-exact-fixture branch November 10, 2026 09:11
obviyus added a commit that referenced this pull request Nov 14, 2026
* fix(review): qualify exact push relay rejection fixture

* fix: report the real checkout inspection failure reason

- Lead the read-only checkout inspection failure message with the runner error when present.
- Keep a redacted 2000-character stdout/stderr tail as context; keep stderr || stdout when no error.
- OpenClaw prints a plugin trust warning to stderr on every run, which hid every inspection reason.
- Add runner tests for OpenClaw and Codex inspection failures.

* fix: qualify the historical OCE harness origin fixture (#2197)

* test: clear dashboard token watchdog after completion (#2196)

Co-authored-by: Ryan Saari <[email protected]>

* fix: qualify exact OCE 5398 JDBC fixture revisions (#2198)

* fix(dashboard): normalize dashboard strict paths to POSIX slashes (#2177)

* fix: use server-issued census observation windows (#2174)

* fix: bound census observations with server-issued query windows

Replace cross-host completion-clock comparisons for negotiated census producers with stored metadata and per-assignment observation windows. Preserve strict legacy fallback, lease/checkpoint/identity fences, stable witnesses, and capacity bounds. Include signed native temporal red/green and rolling-compatibility proof.

Co-authored-by: brokemac79 <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>

* fix: use server-issued census observation windows

Worked on by:
- @brokemac79

Co-authored-by: brokemac79 <[email protected]>
OpenClaw-Publication: 9c3c62ec-951b-43b0-98f9-511dba1829cf

* fix: preserve negotiated census authority across legacy upgrades

Add real workerd cold-restart proof that persisted deployed legacy-v2 checkpoints, cursors, identities and receipts load unchanged and safely continue through negotiated windows. Require the atomic lease mode before accepting any page, including legacy-shaped in-flight data before next issues a witness. Resolves the accepted data-model compatibility proof blocker without state reset or weakened legacy guards.

Co-authored-by: brokemac79 <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>

* Publish openclaw/coverage-observation-window-fix

Worked on by:
- @brokemac79

Co-authored-by: brokemac79 <[email protected]>
OpenClaw-Publication: 281f1b7a-6346-42af-b919-9fd25dd6b736

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: brokemac79 <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>

* fix(test): normalize test runner paths to POSIX slashes (#2176)

* fix: terminal acknowledgement test passes on a timeout instead of the real retry failure (#2199)

* test: exercise terminal acknowledgement retries without delay

* test: use the real retry helper with Retry-After: 0

The retry helper honors Retry-After, so the fixture no longer needs a
patched copy of the helper and request builder. The unchanged workflow
step and helper now run all six attempts without waiting.

Co-authored-by: Ryan Saari <[email protected]>
Co-authored-by: obviyus <[email protected]>

---------

Co-authored-by: Ryan Saari <[email protected]>
Co-authored-by: obviyus <[email protected]>

* improve: shorten reservation workflow test runtime (#2200)

* test: avoid reservation fixture retry waits

* test: record reservation retry waits with a PATH sleep shim

Replace the BASH_ENV sleep function and the hand-maintained per-scenario
attempt table with a sleep shim on the step's PATH. Every recorded delay
is still checked against the workflow's 2n + 0..3 backoff, and the
service-unavailable scenario must record all four waits.

Co-authored-by: Ryan Saari <[email protected]>
Co-authored-by: obviyus <[email protected]>

---------

Co-authored-by: Ryan Saari <[email protected]>
Co-authored-by: obviyus <[email protected]>

* fix(review): stop demanding proof for speculative races and in-flight revocation (#2202)

* fix(review): stop demanding proof for speculative races and in-flight revocation

Authority-chain review now triggers only on changed authorization
decisions; revocation applies to the next request; unproven authority is
no longer a merge gate. P3 findings are advisory, speculative race
machinery without recorded buy-in and preemptive single-use helpers become
findings, and AGENTS.md adopts the matching design rules.

Co-authored-by: obviyus <[email protected]>

* fix(review): keep advisory P3 findings out of the merge readiness gate

Co-authored-by: obviyus <[email protected]>

* fix(review): keep P3-only incorrect verdicts and queued repairs advisory

Co-authored-by: obviyus <[email protected]>

---------

Co-authored-by: obviyus <[email protected]>

* fix: reuse reviewed test credentials after surrounding edits (#2201)

Approve exact previously reviewed synthetic Raw/RawV2 value pairs while retaining detector, decoder, native metadata, verification, and completion checks. Remove hostname-based exemptions and keep normalized Postgres findings blocking.

Validation: full pnpm check, 32 focused tests, 28 native proof cases in an isolated UTM guest, and a clean final committed whole-branch Codex review. The maintainer explicitly waived the hosted ClawSweeper review and approved this merge in the task conversation.

* feat(review): read durable Gitcrawl cluster service context

* fix(review): validate service tokens without control regex

* fix: allow service-backed review-start reservations

* style: format service review-start reservation proof

* fix: allow service-backed review artifact publication

* feat: prepare service context before applying decisions

* fix: preserve parent identity during apply preparation

* fix: wire apply preparation to the shared relation policy

* test: cover service-backed apply and authority drift

* test: hold paired closes without prepared service context

* test: align service apply fixtures with live revision guards

* docs: explain apply preparation failure ownership

* fix: enforce apply retry guards without mutation receipts

* style: format service freshness assertion

* test: exercise service retries with a current review lease

* fix: refresh apply authority after ambiguous writes

* style: format service lease regression fixture

* test: reject exact-event retries after lease revocation

* style: format exact-event retry assertion

---------

Co-authored-by: Mitchell Etzel <[email protected]>
Co-authored-by: Free Wortley <[email protected]>
Co-authored-by: Ryan S <[email protected]>
Co-authored-by: Ryan Saari <[email protected]>
Co-authored-by: Saiyam Jain <[email protected]>
Co-authored-by: RoboClaw <[email protected]>
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: brokemac79 <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: Ayaan Zaidi <[email protected]>
Co-authored-by: obviyus <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal priority bug or improvement with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. 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