Skip to content

fix: recognize the password-free JDBC fixture in two OCE test revisions - #2198

Merged
obviyus merged 1 commit into
mainfrom
fix/oce-5398-exact-jdbc-fixture
Nov 11, 2026
Merged

obviyus merged 1 commit into
mainfrom
fix/oce-5398-exact-jdbc-fixture

Conversation

@freeqaz-openai

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

Copy link
Copy Markdown
Contributor

What Problem This Solves

ClawSweeper refused the input scan for a configuration-save test because it encountered the same password-free JDBC fixture in two previously unreviewed file revisions. OCE PR 5398

User Impact

ClawSweeper can recognize the fixture in either revision. The merged OCE PR remains on hold. The hold has no expiry and survives source changes, deployment and close/reopen. A command-based retry requires a fresh verified request later than both the refusal and the failed command.

Why This Change Was Made

The enclosing test is byte-for-byte identical to the previously qualified test. Adding the two full-file hashes keeps qualification tied to the exact value, reported line, native metadata and committed file references. Each other finding still has to qualify independently. Classifier policy

Documentation Impact

The changelog records the two revisions. The diagnostics and scheduler guides still describe the refusal and retry behavior. The earlier JDBC proof documents its original captures. Diagnostics · Scheduler · Earlier fixture proof

Evidence

The existing fixture suite passed 570/570. The changelog check and git diff --check passed. Local pnpm run check exited 1 at the dashboard typecheck. TypeScript was missing, no matching local dependency graph was available, and automatic installation was disabled. Hosted CI passed for 2565d0833251304775cac9ec3a687345db3c7f79. CI run

Real Behavior Proof

TruffleHog 3.99.4 scanned the complete base and head files plus their full-index patch in a read-only Docker container with networking disabled. Verification was enabled. The scan finished with exit 183, two unverified findings and zero verified. On Node 24.22.1, the baseline classifier refused the unmodified scan with source_not_reviewed. The candidate classified one finding at each file’s witness line. Base, line 5430 · Head, line 5422

A second run fetched the two public files, checked their SHA-256 and Git blob IDs, and scanned only those two complete files. The script below passed the fresh native streams to the production classifiers from both ClawSweeper commits. The table gives the observed results. The controls used separate mutations of the inputs, native records or policy.

Portable run Result
Native scan Exit 183, two findings
Baseline → candidate refused/source_not_reviewed → classified, two findings
Changed-input and scanner-result controls 20 of 20 refused
Invalid policy tuples 4 of 4 threw

The portable result file has SHA-256 644c13f9355e1c0df30952aa86c24a31be9576fb32036edef9865676fc73948d. Both runs exercised local classification.

I’m deferring the optional scanAgentInput walkthrough because this change adds only two full-file hashes. The staging and admission code is unchanged. Replaying the native scanner output through the production classifier directly exercised the changed decision for both files, and a separate control confirmed that adding an unreviewed finding still caused refusal. Full OCE prompt admission remains unverified, and the existing OCE review hold is still in place.

ClawSweeper reviewed this head with the previously published body, reported zero findings and listed no before-merge items. This revised body requires a fresh hosted review. Previous hosted review

Reproduce the native scan and exact production classification

The run used a clean checkout, the retained scanner binary and a locally available pinned image. Node 24.22.1 ran the script directly on Linux amd64. Docker ran the scanner. The clone, scanner download and image pull below are setup instructions for a fresh machine. They were not executed in that run.

Use Linux amd64, Node 24.22.1, Git, curl, tar, sha256sum and a local Docker daemon that can bind-mount the scratch directory. Start a fresh shell after the candidate commit is available from the public repository. Stop if any setup command fails.

set -eu
proof_dir=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/openclaw/clawsweeper.git "$proof_dir/clawsweeper"
git -C "$proof_dir/clawsweeper" checkout --detach 2565d0833251304775cac9ec3a687345db3c7f79
curl --fail --silent --show-error --location   https://github.com/trufflesecurity/trufflehog/releases/download/v3.99.4/trufflehog_3.99.4_linux_amd64.tar.gz   --output "$proof_dir/trufflehog.tar.gz"
printf '%s  %s\n' 5ae9b313342d1bfa96404064c0f59e77a2cbd1824d797ca7b11e6655aa8fd9d1 "$proof_dir/trufflehog.tar.gz" | sha256sum --check
tar -xzf "$proof_dir/trufflehog.tar.gz" -C "$proof_dir" trufflehog
printf '%s  %s\n' 70b9108715250b19518b03acea56b2f4907a36dcfaaf77693444bdc007a761b1 "$proof_dir/trufflehog" | sha256sum --check
docker pull busybox@sha256:7aa3d3c53cc1ed823c6a5967ebaac87700a5b0766af45ff599dbca3506c8b072

Save the following bytes as $proof_dir/reproduce.mjs with a final newline. The script keeps native output in memory and removes its temporary source copies.

import assert from 'node:assert/strict';
import { createHash } from 'node:crypto';
import { execFileSync, spawnSync } from 'node:child_process';
import { mkdtempSync, mkdirSync, readFileSync, writeFileSync, rmSync } from 'node:fs';
import { stripTypeScriptTypes } from 'node:module';
import { tmpdir } from 'node:os';
import { join, resolve } from 'node:path';
import { pathToFileURL } from 'node:url';

const base = '35da1a845615c8eeb08970966314acbff1995785';
const head = '2565d0833251304775cac9ec3a687345db3c7f79';
const image = 'busybox@sha256:7aa3d3c53cc1ed823c6a5967ebaac87700a5b0766af45ff599dbca3506c8b072';
const sourcePath = 'tests/integration/configuration-controller.test.mjs';
const rows = [
  ['base', '5ee1a6b2650e988ddd2f03ded0142dba685ca504', '471a7041bd90b0348dd93dfb7a1edfc3ad2e909e', '210c27415aabb14a289aa94b6dab3ae2e872c33652e96a197496a2b0004eea0d', 5430],
  ['head', '31bab1a9e0574865a713efa3c9e5889581e674b8', 'f1e94bfe26308e05c3837cfe324ba068239a8a77', 'fbc5378e50acd82cec80c0841ac9d8486aaa5f8afed10a515d6a2a14a0ba6190', 5422],
];
const sha = value => createHash('sha256').update(value).digest('hex');
const encode = records => Buffer.from(records.map(record => JSON.stringify(record)).join('\n') + '\n');
const run = (command, args, options = {}) => execFileSync(command, args, { stdio: ['ignore', 'pipe', 'pipe'], timeout: 180000, maxBuffer: 16 * 1024 * 1024, ...options });
let work;
try {
  const repo = resolve(process.argv[2]);
  const scanner = resolve(process.argv[3]);
  assert.equal(run('git', ['rev-parse', 'HEAD'], { cwd: repo }).toString().trim(), head);
  assert.equal(run('git', ['status', '--porcelain'], { cwd: repo }).length, 0);
  assert.equal(sha(readFileSync(scanner)), '70b9108715250b19518b03acea56b2f4907a36dcfaaf77693444bdc007a761b1');
  process.umask(0o077);
  work = mkdtempSync(join(tmpdir(), 'oce-jdbc-proof-'));
  const inputDir = join(work, 'inputs');
  mkdirSync(inputDir);
  for (const [, revision, blob, hash] of rows) {
    const bytes = run('curl', ['--fail', '--silent', '--show-error', '--location', `https://raw.githubusercontent.com/openclaw/openclaw-enterprise/${revision}/${sourcePath}`]);
    assert.equal(sha(bytes), hash);
    assert.equal(createHash('sha1').update(`blob ${bytes.length}\0`).update(bytes).digest('hex'), blob);
    writeFileSync(join(inputDir, blob), bytes);
  }
  const classifiers = [];
  for (const revision of [base, head]) {
    const directory = join(work, revision);
    mkdirSync(directory);
    writeFileSync(join(directory, 'package.json'), '{"type":"module"}');
    for (const name of ['agent-input-scan-fixtures', 'agent-input-scan-patch', 'agent-input-scan-git-metadata', 'content-hash', 'review-tool-bootstrap']) {
      const source = run('git', ['show', `${revision}:src/${name}.ts`], { cwd: repo }).toString();
      writeFileSync(join(directory, `${name}.js`), stripTypeScriptTypes(source, { mode: 'transform' }));
    }
    classifiers.push(await import(pathToFileURL(join(directory, 'agent-input-scan-fixtures.js')).href));
  }
  const args = ['run', '--rm', '--pull=never', '--network=none', '--read-only', '--cap-drop=ALL', '--security-opt=no-new-privileges', '--user', `${process.getuid()}:${process.getgid()}`, '--tmpfs', '/tmp:rw,nosuid,nodev,size=64m', '--mount', `type=bind,src=${scanner},dst=/scanner,readonly`, '--mount', `type=bind,src=${inputDir},dst=/inputs,readonly`, '--env', 'HOME=/tmp', '--entrypoint', '/scanner', image, 'filesystem', '/inputs', '--results=verified,unknown', '--fail', '--fail-on-scan-errors', '--no-update', '--json', '--no-color'];
  const scan = spawnSync('docker', args, { timeout: 180000, maxBuffer: 16 * 1024 * 1024 });
  assert.equal(scan.status, 183);
  const findings = scan.stdout.toString().trim().split('\n').map(JSON.parse);
  assert.equal(findings.length, 2);
  const inputs = () => new Map(rows.map(([role, revision, blob, hash, line]) => {
    const bytes = readFileSync(join(inputDir, blob));
    assert.equal(sha(bytes), hash);
    const finding = findings.find(item => item.SourceMetadata.Data.Filesystem.file === `/inputs/${blob}`);
    assert.equal(finding.SourceMetadata.Data.Filesystem.line, line);
    assert.equal(sha(finding.Raw), '7f73c5b7c4cb379bbcc944971cff2c6a15ac0b0398b4c66ded6c8fb5db2c1833');
    assert.equal(sha(bytes.toString().split('\n')[line - 1]), 'c5ad319a5dfbb0625c064799b1b534ffaf3ae6f42552bcff67bff122bc30e5b5');
    return [`/inputs/${blob}`, { kind: 'blob', id: blob, bytes, references: [{ source: sourcePath, mode: '100644', revision, role }] }];
  }));
  const [baseline, candidate] = classifiers;
  candidate.validateReviewedAttributionPolicy();
  const before = baseline.classifyReviewedFixtureScan(183, scan.stdout, scan.stderr, inputs());
  assert.equal(before.kind, 'refused');
  assert.equal(before.diagnostic.reason, 'source_not_reviewed');
  const after = candidate.classifyReviewedFixtureScan(183, scan.stdout, scan.stderr, inputs());
  assert.equal(after.kind, 'classified');
  assert.equal(after.notices.flatMap(notice => notice.findings).length, 2);
  const negativeControls = [];
  for (const variant of ['raw', 'rawV2', 'source', 'line', 'content', 'mode', 'role', 'references', 'kind', 'decoder', 'detector', 'detectorName', 'verified', 'verificationError', 'parts', 'duplicate', 'unknown', 'incomplete', 'error', 'exit']) {
    const material = inputs();
    const observed = structuredClone(findings);
    const blob = material.get(`/inputs/${rows[0][2]}`);
    let logs = scan.stderr;
    let code = 183;
    if (variant === 'raw') observed[0].Raw += 'x';
    if (variant === 'rawV2') observed[0].RawV2 += 'x';
    if (variant === 'source') blob.references[0].source += 'x';
    if (variant === 'line') observed[0].SourceMetadata.Data.Filesystem.line++;
    if (variant === 'content') blob.bytes = Buffer.concat([blob.bytes, Buffer.from('\n')]);
    if (variant === 'mode') blob.references[0].mode = '100755';
    if (variant === 'role') blob.references[0].role = 'worktree';
    if (variant === 'references') blob.references = [];
    if (variant === 'kind') blob.kind = 'worktree';
    if (variant === 'decoder') observed[0].DecoderName = 'HTML';
    if (variant === 'detector') observed[0].DetectorType = 17;
    if (variant === 'detectorName') observed[0].DetectorName = 'URI';
    if (variant === 'verified') observed[0].Verified = true;
    if (variant === 'verificationError') delete observed[0].VerificationError;
    if (variant === 'parts') observed[0].SecretParts.password = 'synthetic';
    if (variant === 'duplicate') observed.push(structuredClone(observed[0]));
    if (variant === 'unknown') observed.push({ ...observed[0], Raw: observed[0].Raw + 'x' });
    if (['duplicate', 'unknown', 'verified'].includes(variant)) logs = encode(scan.stderr.toString().trim().split('\n').map(line => {
      const entry = JSON.parse(line);
      return entry.msg === 'finished scanning' ? { ...entry, verified_secrets: variant === 'verified' ? 1 : 0, unverified_secrets: variant === 'verified' ? 1 : 3 } : entry;
    }));
    if (variant === 'incomplete') logs = Buffer.alloc(0);
    if (variant === 'error') logs = Buffer.concat([logs, encode([{ level: 'error', logger: 'trufflehog', msg: 'detector failed' }])]);
    if (variant === 'exit') code = 0;
    assert.equal(candidate.classifyReviewedFixtureScan(code, encode(observed), logs, material).kind, 'refused');
    negativeControls.push(variant);
  }
  const policy = [10, 'JDBC', 'PLAIN', sha(findings[0].Raw), sha(''), 'c5ad319a5dfbb0625c064799b1b534ffaf3ae6f42552bcff67bff122bc30e5b5', sourcePath, '100644', ['4fb0781a6e0e4663293fe38f5cb2a8919d934f071f1c6d0e4087550aa3583248', 'e635d55d005c55600ef11b138a739497728bb5fcdd314ca5f064be6e76c57010', ...rows.map(row => row[3])]];
  const policyControls = [];
  for (const [variant, change] of [['source', { 6: 'test/other.ts' }], ['sourceHash', { 8: [...policy[8], sha('unknown')] }], ['rawHash', { 3: sha('other') }], ['decoder', { 2: 'HTML' }]]) {
    assert.throws(() => candidate.classifyReviewedFixtureScan(183, scan.stdout, scan.stderr, inputs(), [Object.assign([...policy], change)]), /invalid reviewed attribution policy/);
    policyControls.push(variant);
  }
  console.log(JSON.stringify({ base, head, baseline: before.kind, baselineReason: before.diagnostic.reason, candidate: after.kind, classifiedFindings: 2, nativeExit: scan.status, negativeControlsPassed: negativeControls.length, policyControlsPassed: policyControls.length, stdoutSha256: sha(scan.stdout), stderrSha256: sha(scan.stderr) }, null, 2));
} catch {
  console.error('Proof failed; raw findings and source bytes withheld.');
  process.exitCode = 1;
} finally {
  if (work) rmSync(work, { recursive: true, force: true });
}

In the same shell, verify the script digest and run it.

printf '%s  %s\n' 6f39bc7bb687044cf80807921cc37099d0ed916abf69465ecc7e27c681a86107 "$proof_dir/reproduce.mjs" | sha256sum --check
node "$proof_dir/reproduce.mjs" "$proof_dir/clawsweeper" "$proof_dir/trufflehog"

Compare the classifications and counts with the table above. The script also prints stream digests for that execution. Native timestamps can change the stderr digest. Node may emit a type-stripping warning.

@clawsweeper

clawsweeper Bot commented Nov 11, 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.

@freeqaz-openai
freeqaz-openai marked this pull request as ready for review November 11, 2026 04:48
@clawsweeper clawsweeper Bot added P2 Normal priority bug or improvement with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Nov 11, 2026
@clawsweeper

clawsweeper Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Recognize the password-free JDBC fixture in two additional exact Enterprise test-file revisions.

Example: Scan configuration-controller.test.mjs blob 471a7041bd90b0348dd93dfb7a1edfc3ad2e909e at line 5430.

  • Before: The existing JDBC finding is refused with source_not_reviewed.
  • After: The finding qualifies when the complete file, literal witness, native metadata and committed references match.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A minimal, source-verified repair with passing exact-head checks; supplied execution evidence reaches the production classifier through an in-process replay.
Proof confidence 🦐 gold shrimp (3/6) The ordinary proof gate does not apply under the supplied maintainer-authored designation; the body nevertheless reports Linux amd64 Docker scans with TruffleHog 3.99.4 and Node 24.22.1 production-classifier replay, showing baseline refusal, candidate classification and negative-control refusal, while explicitly excluding complete hosted admission and hold release.
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 unchanged password-free parser fixture causes review-input scanning to refuse two additional test-file revisions.
Reason: The supplied maintainer-authored designation establishes direction approval, and the verified hashes repair a concrete false positive within the existing policy.

Merge readiness

✅ Ready for maintainer review

This PR narrowly extends the existing fixture policy; no actionable defect was found, and the revised body adequately justifies deferring the optional walkthrough.

Priority: P2
Reviewed head: 2565d0833251304775cac9ec3a687345db3c7f79

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: No supplied run exercises complete scanAgentInput admission; the body explicitly justifies deferring that previously optional walkthrough.
Agent review details

How this fits together

Before model review, ClawSweeper scans staged source with TruffleHog and uses host-owned fixture policy to classify every finding or refuse admission.

flowchart LR
  A[Review source] --> B[Source staging]
  B --> C[Native TruffleHog]
  C --> D[Exact fixture classifier]
  D --> E[Refuse admission]
  D --> F[Continue review]
Loading

Technical review

Best possible solution:

Retain the two verified hashes in the existing exact-attribution policy while preserving every other refusal boundary.

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

Current main lacks these independently verified file hashes, so its complete-source check refuses the otherwise matching JDBC findings; the supplied native replay reports that same result.

Is this the best way to solve the issue?

Adding the exact source hashes is the smallest complete repair and preserves the established fixture contract without changing scanner invocation or admission mechanics.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • JDBC exact-source qualification keeps the original intent (35656eb: Recognize the password-free parser fixture only with exact complete-source, witness and native metadata checks.)
  • Whole-source qualification boundary keeps the original intent (f7c8c55: Prevent arbitrary modified files or copies from inheriting qualification merely because a fixture line matches.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Free Wortley: Raw commit 35656eb adds src/agent-input-scan-fixtures.ts:283 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 35656eb185f1; files: src/agent-input-scan-fixtures.ts)
  • Dallin Romney: Raw commit f7c8c55 adds src/agent-input-scan-fixtures.ts:1090 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: f7c8c55f33a2; files: src/agent-input-scan-fixtures.ts)
  • Vincent Koc: Raw commit c338967 adds src/agent-input-scan-fixtures.ts:511 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; 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:

No label changes.

Label justifications:

  • P2: A specific scanner false positive blocks review of exact source revisions, with limited scope.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

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.

History

Review history (1 earlier review cycle)
  • reviewed 2026-11-11T05:01:05.841Z sha 2565d08 :: needs maintainer review before merge. :: none

Reviewed November 11, 2026, 12:11 AM ET / 05:11 UTC (Revision 2).

@freeqaz-openai

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The source is unchanged. The revised PR body explains why I’m deferring the optional scanAgentInput walkthrough. Full OCE prompt admission remains unverified, and the existing OCE review hold is still in place.

@clawsweeper

clawsweeper Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@obviyus
obviyus merged commit 865a04e into main Nov 11, 2026
33 checks passed
@obviyus
obviyus deleted the fix/oce-5398-exact-jdbc-fixture branch November 11, 2026 06:18
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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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.

2 participants